0s autopkgtest [09:24:43]: starting date and time: 2024-03-21 09:24:43+0000 0s autopkgtest [09:24:43]: git checkout: 4a1cd702 l/adt_testbed: don't blame the testbed for unsolvable build deps 0s autopkgtest [09:24:43]: host juju-7f2275-prod-proposed-migration-environment-3; command line: /home/ubuntu/autopkgtest/runner/autopkgtest --output-dir /tmp/autopkgtest-work.ie4enrv8/out --timeout-copy=6000 --setup-commands /home/ubuntu/autopkgtest-cloud/worker-config-production/setup-canonical.sh --setup-commands /home/ubuntu/autopkgtest/setup-commands/setup-testbed --apt-pocket=proposed=src:elfutils,src:curl,src:gnutls28,src:libarchive,src:libmicrohttpd,src:libpsl,src:nettle --apt-upgrade glib2.0 --timeout-short=300 --timeout-copy=20000 --timeout-build=20000 '--env=ADT_TEST_TRIGGERS=elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2' -- ssh -s /home/ubuntu/autopkgtest/ssh-setup/nova -- --flavor autopkgtest --security-groups autopkgtest-juju-7f2275-prod-proposed-migration-environment-3@bos01-s390x-14.secgroup --name adt-noble-s390x-glib2.0-20240321-092443-juju-7f2275-prod-proposed-migration-environment-3 --image adt/ubuntu-noble-s390x-server --keyname testbed-juju-7f2275-prod-proposed-migration-environment-3 --net-id=net_prod-proposed-migration -e TERM=linux -e ''"'"'http_proxy=http://squid.internal:3128'"'"'' -e ''"'"'https_proxy=http://squid.internal:3128'"'"'' -e ''"'"'no_proxy=127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com'"'"'' --mirror=http://us.ports.ubuntu.com/ubuntu-ports/ 715s Creating nova instance adt-noble-s390x-glib2.0-20240321-092443-juju-7f2275-prod-proposed-migration-environment-3 from image adt/ubuntu-noble-s390x-server-20240321.img (UUID a4b1c77c-a35e-4d28-a8d9-902a1febb465)... 715s nova boot failed (attempt #1): 715s DEBUG (extension:189) found extension EntryPoint.parse('v1password = swiftclient.authv1:PasswordLoader') 715s DEBUG (extension:189) found extension EntryPoint.parse('noauth = cinderclient.contrib.noauth:CinderNoAuthLoader') 715s DEBUG (extension:189) found extension EntryPoint.parse('admin_token = keystoneauth1.loading._plugins.admin_token:AdminToken') 715s DEBUG (extension:189) found extension EntryPoint.parse('none = keystoneauth1.loading._plugins.noauth:NoAuth') 715s DEBUG (extension:189) found extension EntryPoint.parse('password = keystoneauth1.loading._plugins.identity.generic:Password') 715s DEBUG (extension:189) found extension EntryPoint.parse('token = keystoneauth1.loading._plugins.identity.generic:Token') 715s DEBUG (extension:189) found extension EntryPoint.parse('v2password = keystoneauth1.loading._plugins.identity.v2:Password') 715s DEBUG (extension:189) found extension EntryPoint.parse('v2token = keystoneauth1.loading._plugins.identity.v2:Token') 715s DEBUG (extension:189) found extension EntryPoint.parse('v3adfspassword = keystoneauth1.extras._saml2._loading:ADFSPassword') 715s DEBUG (extension:189) found extension EntryPoint.parse('v3applicationcredential = keystoneauth1.loading._plugins.identity.v3:ApplicationCredential') 715s DEBUG (extension:189) found extension EntryPoint.parse('v3fedkerb = keystoneauth1.extras.kerberos._loading:MappedKerberos') 715s DEBUG (extension:189) found extension EntryPoint.parse('v3kerberos = keystoneauth1.extras.kerberos._loading:Kerberos') 715s DEBUG (extension:189) found extension EntryPoint.parse('v3multifactor = keystoneauth1.loading._plugins.identity.v3:MultiFactor') 715s DEBUG (extension:189) found extension EntryPoint.parse('v3oauth1 = keystoneauth1.extras.oauth1._loading:V3OAuth1') 715s DEBUG (extension:189) found extension EntryPoint.parse('v3oidcaccesstoken = keystoneauth1.loading._plugins.identity.v3:OpenIDConnectAccessToken') 715s DEBUG (extension:189) found extension EntryPoint.parse('v3oidcauthcode = keystoneauth1.loading._plugins.identity.v3:OpenIDConnectAuthorizationCode') 715s DEBUG (extension:189) found extension EntryPoint.parse('v3oidcclientcredentials = keystoneauth1.loading._plugins.identity.v3:OpenIDConnectClientCredentials') 715s DEBUG (extension:189) found extension EntryPoint.parse('v3oidcpassword = keystoneauth1.loading._plugins.identity.v3:OpenIDConnectPassword') 715s DEBUG (extension:189) found extension EntryPoint.parse('v3password = keystoneauth1.loading._plugins.identity.v3:Password') 715s DEBUG (extension:189) found extension EntryPoint.parse('v3samlpassword = keystoneauth1.extras._saml2._loading:Saml2Password') 715s DEBUG (extension:189) found extension EntryPoint.parse('v3token = keystoneauth1.loading._plugins.identity.v3:Token') 715s DEBUG (extension:189) found extension EntryPoint.parse('v3tokenlessauth = keystoneauth1.loading._plugins.identity.v3:TokenlessAuth') 715s DEBUG (extension:189) found extension EntryPoint.parse('v3totp = keystoneauth1.loading._plugins.identity.v3:TOTP') 715s DEBUG (session:517) REQ: curl -g -i -X GET http://keystone.infra.bos01.scalingstack:5000/v3/ -H "Accept: application/json" -H "User-Agent: nova keystoneauth1/4.0.0 python-requests/2.22.0 CPython/3.8.10" 715s DEBUG (connectionpool:222) Starting new HTTP connection (1): keystone.infra.bos01.scalingstack:5000 715s DEBUG (connectionpool:429) http://keystone.infra.bos01.scalingstack:5000 "GET /v3/ HTTP/1.1" 200 273 715s DEBUG (session:548) RESP: [200] Connection: Keep-Alive Content-Length: 273 Content-Type: application/json Date: Thu, 21 Mar 2024 09:25:22 GMT Keep-Alive: timeout=5, max=100 Server: Apache/2.4.18 (Ubuntu) Vary: X-Auth-Token X-Distribution: Ubuntu x-openstack-request-id: req-c22aabd0-f411-4a3e-89c1-b674eaa9ed93 715s DEBUG (session:580) RESP BODY: {"version": {"status": "stable", "updated": "2018-02-28T00:00:00Z", "media-types": [{"base": "application/json", "type": "application/vnd.openstack.identity-v3+json"}], "id": "v3.10", "links": [{"href": "http://keystone.infra.bos01.scalingstack:5000/v3/", "rel": "self"}]}} 715s DEBUG (session:946) GET call to http://keystone.infra.bos01.scalingstack:5000/v3/ used request id req-c22aabd0-f411-4a3e-89c1-b674eaa9ed93 715s DEBUG (base:182) Making authentication request to http://keystone.infra.bos01.scalingstack:5000/v3/auth/tokens 715s DEBUG (connectionpool:429) http://keystone.infra.bos01.scalingstack:5000 "POST /v3/auth/tokens HTTP/1.1" 201 4363 715s DEBUG (base:187) {"token": {"is_domain": false, "methods": ["password"], "roles": [{"id": "9fe2ff9ee4384b1894a90878d3e92bab", "name": "_member_"}], "is_admin_project": false, "project": {"domain": {"id": "default", "name": "Default"}, "id": "3f3b771a247746688951a4c90bf16631", "name": "prod-proposed-migration_project"}, "catalog": [{"endpoints": [{"url": "http://10.189.0.40", "interface": "public", "region": "scalingstack-bos01", "region_id": "scalingstack-bos01", "id": "7d31d2904b56461cb46c735fc00850b0"}, {"url": "http://10.189.0.40", "interface": "internal", "region": "scalingstack-bos01", "region_id": "scalingstack-bos01", "id": "931e03b1033c4992ac8d223599983801"}, {"url": "http://10.189.0.40", "interface": "admin", "region": "scalingstack-bos01", "region_id": "scalingstack-bos01", "id": "c703b3c5e7224cfd893f622a7def99d7"}], "type": "product-streams", "id": "6723640fcf314f1c84ab92b0b7b7d343", "name": "image-stream"}, {"endpoints": [{"url": "http://neutron-api.infra.bos01.scalingstack:9696", "interface": "public", "region": "scalingstack-bos01", "region_id": "scalingstack-bos01", "id": "13475a253aba4a63883ad9da9631b1d3"}, {"url": "http://10.189.0.22:9696", "interface": "internal", "region": "scalingstack-bos01", "region_id": "scalingstack-bos01", "id": "63b2334803a742048e95cd48d39f1674"}, {"url": "http://10.189.0.22:9696", "interface": "admin", "region": "scalingstack-bos01", "region_id": "scalingstack-bos01", "id": "9d19ce3dbfd544ef90e7694049018957"}], "type": "network", "id": "6a80a28849da43ce9839207bb1e98bfc", "name": "neutron"}, {"endpoints": [{"url": "http://10.189.0.20:5000/v3", "interface": "internal", "region": "scalingstack-bos01", "region_id": "scalingstack-bos01", "id": "51d5e1cea07c4644b44a8bf114268a27"}, {"url": "http://10.189.0.20:35357/v3", "interface": "admin", "region": "scalingstack-bos01", "region_id": "scalingstack-bos01", "id": "79c780094b2f40e5a70ee3a6353760a0"}, {"url": "http://keystone.infra.bos01.scalingstack:5000/v3", "interface": "public", "region": "scalingstack-bos01", "region_id": "scalingstack-bos01", "id": "9cdf3486e4a94ca0a181e87bc1ff344f"}], "type": "identity", "id": "ad3a88bc8df3470b938f685304ad3ae9", "name": "keystone"}, {"endpoints": [{"url": "http://nova-api.infra.bos01.scalingstack:8778", "interface": "public", "region": "scalingstack-bos01", "region_id": "scalingstack-bos01", "id": "83e5577919844e47bbf3dffc39f71e5f"}, {"url": "http://10.189.0.23:8778", "interface": "internal", "region": "scalingstack-bos01", "region_id": "scalingstack-bos01", "id": "86cd7636126b4214a0c0de3c50936bb9"}, {"url": "http://10.189.0.23:8778", "interface": "admin", "region": "scalingstack-bos01", "region_id": "scalingstack-bos01", "id": "eb918cef1bd546fcaafc28133e511d6c"}], "type": "placement", "id": "af7144bdc8404803a159883c31910f75", "name": "placement"}, {"endpoints": [{"url": "http://10.189.0.23:8774/v2.1", "interface": "internal", "region": "scalingstack-bos01", "region_id": "scalingstack-bos01", "id": "202b55f38ce646fe8ec9e2b956672f07"}, {"url": "http://10.189.0.23:8774/v2.1", "interface": "admin", "region": "scalingstack-bos01", "region_id": "scalingstack-bos01", "id": "b29375d70fd748e699859503279177e3"}, {"url": "http://nova-api.infra.bos01.scalingstack:8774/v2.1", "interface": "public", "region": "scalingstack-bos01", "region_id": "scalingstack-bos01", "id": "ff7b759bc23341fe911fedfc2cd9ae07"}], "type": "compute", "id": "e34360be9bc6484eb95832a381a2d650", "name": "nova"}, {"endpoints": [{"url": "http://glance.infra.bos01.scalingstack:9292", "interface": "public", "region": "scalingstack-bos01", "region_id": "scalingstack-bos01", "id": "0bacddbfbda545f087dab7ef5745707d"}, {"url": "http://10.189.0.19:9292", "interface": "admin", "region": "scalingstack-bos01", "region_id": "scalingstack-bos01", "id": "0f69442c439d471b9761ccd46fc6ca2e"}, {"url": "http://10.189.0.19:9292", "interface": "internal", "region": "scalingstack-bos01", "region_id": "scalingstack-bos01", "id": "9cd58aadc9e94eea8783da595c3474f3"}], "type": "image", "id": "f29a943021f34b6682d21957ddc8acac", "name": "glance"}], "expires_at": "2024-03-21T10:25:22.000000Z", "user": {"password_expires_at": null, "domain": {"id": "default", "name": "Default"}, "id": "3afbd64474684647986f8a196316be34", "name": "prod-proposed-migration-s390x"}, "audit_ids": ["ooad6ZTfTtmQMtKKpWvi7A"], "issued_at": "2024-03-21T09:25:22.000000Z"}} 715s REQ: curl -g -i -X GET http://nova-api.infra.bos01.scalingstack:8774/v2.1 -H "Accept: application/json" -H "User-Agent: python-novaclient" -H "X-Auth-Token: {SHA256}8c957d6143b5b73220b5052acd39032f4861c4e7ccad706257e8edcb858b6c94" 715s DEBUG (session:517) REQ: curl -g -i -X GET http://nova-api.infra.bos01.scalingstack:8774/v2.1 -H "Accept: application/json" -H "User-Agent: python-novaclient" -H "X-Auth-Token: {SHA256}8c957d6143b5b73220b5052acd39032f4861c4e7ccad706257e8edcb858b6c94" 715s DEBUG (connectionpool:222) Starting new HTTP connection (1): nova-api.infra.bos01.scalingstack:8774 715s DEBUG (connectionpool:429) http://nova-api.infra.bos01.scalingstack:8774 "GET /v2.1 HTTP/1.1" 302 0 715s RESP: [302] Connection: keep-alive Content-Length: 0 Content-Type: text/plain; charset=utf8 Date: Thu, 21 Mar 2024 09:25:27 GMT Location: http://nova-api.infra.bos01.scalingstack:8774/v2.1/ X-Compute-Request-Id: req-87b08ef4-1763-4e60-9f69-5d4dd00f07b6 X-Openstack-Request-Id: req-87b08ef4-1763-4e60-9f69-5d4dd00f07b6 715s DEBUG (session:548) RESP: [302] Connection: keep-alive Content-Length: 0 Content-Type: text/plain; charset=utf8 Date: Thu, 21 Mar 2024 09:25:27 GMT Location: http://nova-api.infra.bos01.scalingstack:8774/v2.1/ X-Compute-Request-Id: req-87b08ef4-1763-4e60-9f69-5d4dd00f07b6 X-Openstack-Request-Id: req-87b08ef4-1763-4e60-9f69-5d4dd00f07b6 715s RESP BODY: Omitted, Content-Type is set to text/plain; charset=utf8. Only application/json responses have their bodies logged. 715s DEBUG (session:580) RESP BODY: Omitted, Content-Type is set to text/plain; charset=utf8. Only application/json responses have their bodies logged. 715s DEBUG (connectionpool:429) http://nova-api.infra.bos01.scalingstack:8774 "GET /v2.1/ HTTP/1.1" 200 407 715s RESP: [200] Connection: keep-alive Content-Length: 407 Content-Type: application/json Date: Thu, 21 Mar 2024 09:25:27 GMT Openstack-Api-Version: compute 2.1 Vary: OpenStack-API-Version, X-OpenStack-Nova-API-Version X-Compute-Request-Id: req-a8d1ee78-dd6e-48ec-97c5-9eb8d518e2f9 X-Openstack-Nova-Api-Version: 2.1 X-Openstack-Request-Id: req-a8d1ee78-dd6e-48ec-97c5-9eb8d518e2f9 715s DEBUG (session:548) RESP: [200] Connection: keep-alive Content-Length: 407 Content-Type: application/json Date: Thu, 21 Mar 2024 09:25:27 GMT Openstack-Api-Version: compute 2.1 Vary: OpenStack-API-Version, X-OpenStack-Nova-API-Version X-Compute-Request-Id: req-a8d1ee78-dd6e-48ec-97c5-9eb8d518e2f9 X-Openstack-Nova-Api-Version: 2.1 X-Openstack-Request-Id: req-a8d1ee78-dd6e-48ec-97c5-9eb8d518e2f9 715s RESP BODY: {"version": {"status": "CURRENT", "updated": "2013-07-23T11:33:21Z", "links": [{"href": "http://nova-api.infra.bos01.scalingstack:8774/v2.1/", "rel": "self"}, {"href": "http://docs.openstack.org/", "type": "text/html", "rel": "describedby"}], "min_version": "2.1", "version": "2.60", "media-types": [{"base": "application/json", "type": "application/vnd.openstack.compute+json;version=2.1"}], "id": "v2.1"}} 715s DEBUG (session:580) RESP BODY: {"version": {"status": "CURRENT", "updated": "2013-07-23T11:33:21Z", "links": [{"href": "http://nova-api.infra.bos01.scalingstack:8774/v2.1/", "rel": "self"}, {"href": "http://docs.openstack.org/", "type": "text/html", "rel": "describedby"}], "min_version": "2.1", "version": "2.60", "media-types": [{"base": "application/json", "type": "application/vnd.openstack.compute+json;version=2.1"}], "id": "v2.1"}} 715s GET call to compute for http://nova-api.infra.bos01.scalingstack:8774/v2.1/ used request id req-a8d1ee78-dd6e-48ec-97c5-9eb8d518e2f9 715s DEBUG (session:936) GET call to compute for http://nova-api.infra.bos01.scalingstack:8774/v2.1/ used request id req-a8d1ee78-dd6e-48ec-97c5-9eb8d518e2f9 715s DEBUG (extension:189) found extension EntryPoint.parse('v1password = swiftclient.authv1:PasswordLoader') 715s DEBUG (extension:189) found extension EntryPoint.parse('noauth = cinderclient.contrib.noauth:CinderNoAuthLoader') 715s DEBUG (extension:189) found extension EntryPoint.parse('admin_token = keystoneauth1.loading._plugins.admin_token:AdminToken') 715s DEBUG (extension:189) found extension EntryPoint.parse('none = keystoneauth1.loading._plugins.noauth:NoAuth') 715s DEBUG (extension:189) found extension EntryPoint.parse('password = keystoneauth1.loading._plugins.identity.generic:Password') 715s DEBUG (extension:189) found extension EntryPoint.parse('token = keystoneauth1.loading._plugins.identity.generic:Token') 715s DEBUG (extension:189) found extension EntryPoint.parse('v2password = keystoneauth1.loading._plugins.identity.v2:Password') 715s DEBUG (extension:189) found extension EntryPoint.parse('v2token = keystoneauth1.loading._plugins.identity.v2:Token') 715s DEBUG (extension:189) found extension EntryPoint.parse('v3adfspassword = keystoneauth1.extras._saml2._loading:ADFSPassword') 715s DEBUG (extension:189) found extension EntryPoint.parse('v3applicationcredential = keystoneauth1.loading._plugins.identity.v3:ApplicationCredential') 715s DEBUG (extension:189) found extension EntryPoint.parse('v3fedkerb = keystoneauth1.extras.kerberos._loading:MappedKerberos') 715s DEBUG (extension:189) found extension EntryPoint.parse('v3kerberos = keystoneauth1.extras.kerberos._loading:Kerberos') 715s DEBUG (extension:189) found extension EntryPoint.parse('v3multifactor = keystoneauth1.loading._plugins.identity.v3:MultiFactor') 715s DEBUG (extension:189) found extension EntryPoint.parse('v3oauth1 = keystoneauth1.extras.oauth1._loading:V3OAuth1') 715s DEBUG (extension:189) found extension EntryPoint.parse('v3oidcaccesstoken = keystoneauth1.loading._plugins.identity.v3:OpenIDConnectAccessToken') 715s DEBUG (extension:189) found extension EntryPoint.parse('v3oidcauthcode = keystoneauth1.loading._plugins.identity.v3:OpenIDConnectAuthorizationCode') 715s DEBUG (extension:189) found extension EntryPoint.parse('v3oidcclientcredentials = keystoneauth1.loading._plugins.identity.v3:OpenIDConnectClientCredentials') 715s DEBUG (extension:189) found extension EntryPoint.parse('v3oidcpassword = keystoneauth1.loading._plugins.identity.v3:OpenIDConnectPassword') 715s DEBUG (extension:189) found extension EntryPoint.parse('v3password = keystoneauth1.loading._plugins.identity.v3:Password') 715s DEBUG (extension:189) found extension EntryPoint.parse('v3samlpassword = keystoneauth1.extras._saml2._loading:Saml2Password') 715s DEBUG (extension:189) found extension EntryPoint.parse('v3token = keystoneauth1.loading._plugins.identity.v3:Token') 715s DEBUG (extension:189) found extension EntryPoint.parse('v3tokenlessauth = keystoneauth1.loading._plugins.identity.v3:TokenlessAuth') 715s DEBUG (extension:189) found extension EntryPoint.parse('v3totp = keystoneauth1.loading._plugins.identity.v3:TOTP') 715s DEBUG (session:517) REQ: curl -g -i -X GET http://glance.infra.bos01.scalingstack:9292/v2/images/a4b1c77c-a35e-4d28-a8d9-902a1febb465 -H "Accept: application/json" -H "OpenStack-API-Version: compute 2.60" -H "User-Agent: python-novaclient" -H "X-Auth-Token: {SHA256}8c957d6143b5b73220b5052acd39032f4861c4e7ccad706257e8edcb858b6c94" -H "X-OpenStack-Nova-API-Version: 2.60" 715s DEBUG (connectionpool:222) Starting new HTTP connection (1): glance.infra.bos01.scalingstack:9292 715s DEBUG (connectionpool:429) http://glance.infra.bos01.scalingstack:9292 "GET /v2/images/a4b1c77c-a35e-4d28-a8d9-902a1febb465 HTTP/1.1" 200 1781 715s DEBUG (session:548) RESP: [200] Connection: keep-alive Content-Length: 1781 Content-Type: application/json Date: Thu, 21 Mar 2024 09:25:27 GMT X-Openstack-Request-Id: req-5bf71ebc-fb67-42d8-8996-9caafc7b0a9c 715s DEBUG (session:580) RESP BODY: {"image_state": "available", "container_format": "bare", "min_ram": 0, "updated_at": "2024-03-21T01:46:37Z", "hw_scsi_model": "virtio-scsi", "boot_roles": "_member_", "file": "/v2/images/a4b1c77c-a35e-4d28-a8d9-902a1febb465/file", "owner": "3f3b771a247746688951a4c90bf16631", "base_image_ref": "ae3c7648-2f35-40d3-9be5-cc7a60aa4f72", "simplestreams_metadata": "{\"aliases\": \"22.04,j,jammy\", \"arch\": \"s390x\", \"ftype\": \"disk1.img\", \"label\": \"daily\", \"md5\": \"aa9e26f2f82c680ea95be510d1c6af26\", \"os\": \"ubuntu\", \"pubname\": \"ubuntu-jammy-daily-s390x-server-20220712\", \"release\": \"jammy\", \"release_codename\": \"Jammy Jellyfis", "size": 1674379264, "os_distro": "ubuntu", "user_id": "3afbd64474684647986f8a196316be34", "image_type": "snapshot", "self": "/v2/images/a4b1c77c-a35e-4d28-a8d9-902a1febb465", "disk_format": "qcow2", "id": "a4b1c77c-a35e-4d28-a8d9-902a1febb465", "os_version": "22.04", "clean_attempts": "2", "owner_project_name": "prod-proposed-migration_project", "hw_disk_bus": "scsi", "schema": "/v2/schemas/image", "status": "active", "image_location": "snapshot", "tags": [], "owner_id": "3f3b771a247746688951a4c90bf16631", "visibility": "private", "owner_user_name": "prod-proposed-migration-s390x", "min_disk": 20, "version_name": "20220712", "virtual_size": null, "hw_architecture": "s390x", "source_content_id": "com.ubuntu.cloud:daily:download", "instance_uuid": "9460eb2f-4da3-4267-a6a9-abae3a530fe5", "name": "adt/ubuntu-noble-s390x-server-20240321.img", "hypervisor_type": "qemu", "created_at": "2024-03-21T01:44:40Z", "product_name": "com.ubuntu.cloud.daily:server:22.04:s390x", "item_name": "disk1.img", "protected": false, "architecture": "s390x", "checksum": "fdcfc402c5f50d0706019b5213025744", "content_id": "auto.sync.s390x"} 715s DEBUG (session:936) GET call to image for http://glance.infra.bos01.scalingstack:9292/v2/images/a4b1c77c-a35e-4d28-a8d9-902a1febb465 used request id req-5bf71ebc-fb67-42d8-8996-9caafc7b0a9c 715s DEBUG (session:517) REQ: curl -g -i -X GET http://nova-api.infra.bos01.scalingstack:8774/v2.1/flavors/autopkgtest -H "Accept: application/json" -H "OpenStack-API-Version: compute 2.60" -H "User-Agent: python-novaclient" -H "X-Auth-Token: {SHA256}8c957d6143b5b73220b5052acd39032f4861c4e7ccad706257e8edcb858b6c94" -H "X-OpenStack-Nova-API-Version: 2.60" 715s DEBUG (connectionpool:429) http://nova-api.infra.bos01.scalingstack:8774 "GET /v2.1/flavors/autopkgtest HTTP/1.1" 404 84 715s DEBUG (session:548) RESP: [404] Connection: keep-alive Content-Length: 84 Content-Type: application/json; charset=UTF-8 Date: Thu, 21 Mar 2024 09:25:28 GMT Openstack-Api-Version: compute 2.60 Vary: OpenStack-API-Version, X-OpenStack-Nova-API-Version X-Compute-Request-Id: req-986ec299-2b65-4fb1-984d-d7cb8e10a485 X-Openstack-Nova-Api-Version: 2.60 X-Openstack-Request-Id: req-986ec299-2b65-4fb1-984d-d7cb8e10a485 715s DEBUG (session:580) RESP BODY: {"itemNotFound": {"message": "Flavor autopkgtest could not be found.", "code": 404}} 715s DEBUG (session:936) GET call to compute for http://nova-api.infra.bos01.scalingstack:8774/v2.1/flavors/autopkgtest used request id req-986ec299-2b65-4fb1-984d-d7cb8e10a485 715s DEBUG (session:517) REQ: curl -g -i -X GET http://nova-api.infra.bos01.scalingstack:8774/v2.1/flavors?is_public=None -H "Accept: application/json" -H "OpenStack-API-Version: compute 2.60" -H "User-Agent: python-novaclient" -H "X-Auth-Token: {SHA256}8c957d6143b5b73220b5052acd39032f4861c4e7ccad706257e8edcb858b6c94" -H "X-OpenStack-Nova-API-Version: 2.60" 715s DEBUG (connectionpool:429) http://nova-api.infra.bos01.scalingstack:8774 "GET /v2.1/flavors?is_public=None HTTP/1.1" 200 24419 715s DEBUG (session:548) RESP: [200] Connection: keep-alive Content-Length: 24419 Content-Type: application/json Date: Thu, 21 Mar 2024 09:25:28 GMT Openstack-Api-Version: compute 2.60 Vary: OpenStack-API-Version, X-OpenStack-Nova-API-Version X-Compute-Request-Id: req-61392f27-8db9-4ecb-8e62-3a6625515f2d X-Openstack-Nova-Api-Version: 2.60 X-Openstack-Request-Id: req-61392f27-8db9-4ecb-8e62-3a6625515f2d 715s DEBUG (session:580) RESP BODY: {"flavors": [{"description": null, "id": "002c57f9-d774-48a3-bb1e-b611f83aea6d", "links": [{"href": "http://nova-api.infra.bos01.scalingstack:8774/v2.1/flavors/002c57f9-d774-48a3-bb1e-b611f83aea6d", "rel": "self"}, {"href": "http://nova-api.infra.bos01.scalingstack:8774/flavors/002c57f9-d774-48a3-bb1e-b611f83aea6d", "rel": "bookmark"}], "name": "cpu1-ram2-disk40"}, {"description": null, "id": "04554b91-81c6-4e6d-8bb8-783df2708827", "links": [{"href": "http://nova-api.infra.bos01.scalingstack:8774/v2.1/flavors/04554b91-81c6-4e6d-8bb8-783df2708827", "rel": "self"}, {"href": "http://nova-api.infra.bos01.scalingstack:8774/flavors/04554b91-81c6-4e6d-8bb8-783df2708827", "rel": "bookmark"}], "name": "jenkaas-slave-cpu8-ram8-disk100"}, {"description": null, "id": "089f6750-63bc-4dad-af77-4ab3b8921934", "links": [{"href": "http://nova-api.infra.bos01.scalingstack:8774/v2.1/flavors/089f6750-63bc-4dad-af77-4ab3b8921934", "rel": "self"}, {"href": "http://nova-api.infra.bos01.scalingstack:8774/flavors/089f6750-63bc-4dad-af77-4ab3b8921934", "rel": "bookmark"}], "name": "cpu1-ram4-disk50"}, {"description": null, "id": "0e3085e5-15a2-4759-8e55-7b541a9a2381", "links": [{"href": "http://nova-api.infra.bos01.scalingstack:8774/v2.1/flavors/0e3085e5-15a2-4759-8e55-7b541a9a2381", "rel": "self"}, {"href": "http://nova-api.infra.bos01.scalingstack:8774/flavors/0e3085e5-15a2-4759-8e55-7b541a9a2381", "rel": "bookmark"}], "name": "cpu1-ram8-disk40"}, {"description": null, "id": "130eef4f-dff8-408e-90d9-1f9584ce7b62", "links": [{"href": "http://nova-api.infra.bos01.scalingstack:8774/v2.1/flavors/130eef4f-dff8-408e-90d9-1f9584ce7b62", "rel": "self"}, {"href": "http://nova-api.infra.bos01.scalingstack:8774/flavors/130eef4f-dff8-408e-90d9-1f9584ce7b62", "rel": "bookmark"}], "name": "cpu2-ram4-disk20"}, {"description": null, "id": "16d72da2-2f39-4840-9f3a-719a69e913f9", "links": [{"href": "http://nova-api.infra.bos01.scalingstack:8774/v2.1/flavors/16d72da2-2f39-4840-9f3a-719a69e913f9", "rel": "self"}, {"href": "http://nova-api.infra.bos01.scalingstack:8774/flavors/16d72da2-2f39-4840-9f3a-719a69e913f9", "rel": "bookmark"}], "name": "cpu4-ram8-disk40"}, {"description": null, "id": "1a411090-1d77-4411-aae0-095cb176d49e", "links": [{"href": "http://nova-api.infra.bos01.scalingstack:8774/v2.1/flavors/1a411090-1d77-4411-aae0-095cb176d49e", "rel": "self"}, {"href": "http://nova-api.infra.bos01.scalingstack:8774/flavors/1a411090-1d77-4411-aae0-095cb176d49e", "rel": "bookmark"}], "name": "cpu1-ram2-disk20"}, {"description": null, "id": "1a55bacf-b2b2-4237-98dd-39bf4717c325", "links": [{"href": "http://nova-api.infra.bos01.scalingstack:8774/v2.1/flavors/1a55bacf-b2b2-4237-98dd-39bf4717c325", "rel": "self"}, {"href": "http://nova-api.infra.bos01.scalingstack:8774/flavors/1a55bacf-b2b2-4237-98dd-39bf4717c325", "rel": "bookmark"}], "name": "cpu2-ram4-disk30"}, {"description": null, "id": "1d703b3a-15dd-4c90-8214-56d8705d8178", "links": [{"href": "http://nova-api.infra.bos01.scalingstack:8774/v2.1/flavors/1d703b3a-15dd-4c90-8214-56d8705d8178", "rel": "self"}, {"href": "http://nova-api.infra.bos01.scalingstack:8774/flavors/1d703b3a-15dd-4c90-8214-56d8705d8178", "rel": "bookmark"}], "name": "cpu2-ram2-disk30"}, {"description": null, "id": "2", "links": [{"href": "http://nova-api.infra.bos01.scalingstack:8774/v2.1/flavors/2", "rel": "self"}, {"href": "http://nova-api.infra.bos01.scalingstack:8774/flavors/2", "rel": "bookmark"}], "name": "m1.small"}, {"description": null, "id": "21ab595c-d776-474f-89d0-0fbc97a64411", "links": [{"href": "http://nova-api.infra.bos01.scalingstack:8774/v2.1/flavors/21ab595c-d776-474f-89d0-0fbc97a64411", "rel": "self"}, {"href": "http://nova-api.infra.bos01.scalingstack:8774/flavors/21ab595c-d776-474f-89d0-0fbc97a64411", "rel": "bookmark"}], "name": "m1.xlarge"}, {"description": null, "id": "2a9440b6-a5fc-4456-bb03-27fc45d501b6", "links": [{"href": "http://nova-api.infra.bos01.scalingstack:8774/v2.1/flavors/2a9440b6-a5fc-4456-bb03-27fc45d501b6", "rel": "self"}, {"href": "http://nova-api.infra.bos01.scalingstack:8774/flavors/2a9440b6-a5fc-4456-bb03-27fc45d501b6", "rel": "bookmark"}], "name": "jenkaas-slave-cpu4-ram8-disk200"}, {"description": null, "id": "2ad80982-781e-4347-88b9-d957badfe9c0", "links": [{"href": "http://nova-api.infra.bos01.scalingstack:8774/v2.1/flavors/2ad80982-781e-4347-88b9-d957badfe9c0", "rel": "self"}, {"href": "http://nova-api.infra.bos01.scalingstack:8774/flavors/2ad80982-781e-4347-88b9-d957badfe9c0", "rel": "bookmark"}], "name": "cpu8-ram8-disk250"}, {"description": null, "id": "3046e1a0-5812-46aa-ad13-c3d729e32214", "links": [{"href": "http://nova-api.infra.bos01.scalingstack:8774/v2.1/flavors/3046e1a0-5812-46aa-ad13-c3d729e32214", "rel": "self"}, {"href": "http://nova-api.infra.bos01.scalingstack:8774/flavors/3046e1a0-5812-46aa-ad13-c3d729e32214", "rel": "bookmark"}], "name": "cpu4-ram4-disk40"}, {"description": null, "id": "35a35be4-7b7e-4a95-b6fa-6b9d9bed0a9c", "links": [{"href": "http://nova-api.infra.bos01.scalingstack:8774/v2.1/flavors/35a35be4-7b7e-4a95-b6fa-6b9d9bed0a9c", "rel": "self"}, {"href": "http://nova-api.infra.bos01.scalingstack:8774/flavors/35a35be4-7b7e-4a95-b6fa-6b9d9bed0a9c", "rel": "bookmark"}], "name": "cpu4-ram8-disk50"}, {"description": null, "id": "431bc453-290d-4770-ae43-1ad2fb3ba2d0", "links": [{"href": "http://nova-api.infra.bos01.scalingstack:8774/v2.1/flavors/431bc453-290d-4770-ae43-1ad2fb3ba2d0", "rel": "self"}, {"href": "http://nova-api.infra.bos01.scalingstack:8774/flavors/431bc453-290d-4770-ae43-1ad2fb3ba2d0", "rel": "bookmark"}], "name": "cpu4-ram16-disk50"}, {"description": null, "id": "444bef12-ddc6-426f-a2a6-b24c48682da4", "links": [{"href": "http://nova-api.infra.bos01.scalingstack:8774/v2.1/flavors/444bef12-ddc6-426f-a2a6-b24c48682da4", "rel": "self"}, {"href": "http://nova-api.infra.bos01.scalingstack:8774/flavors/444bef12-ddc6-426f-a2a6-b24c48682da4", "rel": "bookmark"}], "name": "cpu24-ram96-disk1200"}, {"description": null, "id": "4aba4bcb-8fc1-4ad0-86ed-f4fb1cbf016a", "links": [{"href": "http://nova-api.infra.bos01.scalingstack:8774/v2.1/flavors/4aba4bcb-8fc1-4ad0-86ed-f4fb1cbf016a", "rel": "self"}, {"href": "http://nova-api.infra.bos01.scalingstack:8774/flavors/4aba4bcb-8fc1-4ad0-86ed-f4fb1cbf016a", "rel": "bookmark"}], "name": "cpu3-ram8-disk40"}, {"description": null, "id": "508cb260-28af-489b-9fff-22bc13eef0ff", "links": [{"href": "http://nova-api.infra.bos01.scalingstack:8774/v2.1/flavors/508cb260-28af-489b-9fff-22bc13eef0ff", "rel": "self"}, {"href": "http://nova-api.infra.bos01.scalingstack:8774/flavors/508cb260-28af-489b-9fff-22bc13eef0ff", "rel": "bookmark"}], "name": "cpu1-ram4-disk20"}, {"description": null, "id": "54d69f5d-bdbd-467d-b3b3-55b012a7c780", "links": [{"href": "http://nova-api.infra.bos01.scalingstack:8774/v2.1/flavors/54d69f5d-bdbd-467d-b3b3-55b012a7c780", "rel": "self"}, {"href": "http://nova-api.infra.bos01.scalingstack:8774/flavors/54d69f5d-bdbd-467d-b3b3-55b012a7c780", "rel": "bookmark"}], "name": "cpu3-ram8-disk50"}, {"description": null, "id": "58760ced-fb15-4513-8478-ff6a6ce9c26c", "links": [{"href": "http://nova-api.infra.bos01.scalingstack:8774/v2.1/flavors/58760ced-fb15-4513-8478-ff6a6ce9c26c", "rel": "self"}, {"href": "http://nova-api.infra.bos01.scalingstack:8774/flavors/58760ced-fb15-4513-8478-ff6a6ce9c26c", "rel": "bookmark"}], "name": "cpu2-ram2-disk20"}, {"description": null, "id": "5e22e8ff-634a-403a-b605-8c96b43aad9e", "links": [{"href": "http://nova-api.infra.bos01.scalingstack:8774/v2.1/flavors/5e22e8ff-634a-403a-b605-8c96b43aad9e", "rel": "self"}, {"href": "http://nova-api.infra.bos01.scalingstack:8774/flavors/5e22e8ff-634a-403a-b605-8c96b43aad9e", "rel": "bookmark"}], "name": "cpu2-ram2-disk40"}, {"description": null, "id": "63478477-49a0-453f-8aca-5c8e99f66fbd", "links": [{"href": "http://nova-api.infra.bos01.scalingstack:8774/v2.1/flavors/63478477-49a0-453f-8aca-5c8e99f66fbd", "rel": "self"}, {"href": "http://nova-api.infra.bos01.scalingstack:8774/flavors/63478477-49a0-453f-8aca-5c8e99f66fbd", "rel": "bookmark"}], "name": "cpu4-ram2-disk30"}, {"description": null, "id": "63b1c33a-d1bc-48dc-81f5-11b141b50a8e", "links": [{"href": "http://nova-api.infra.bos01.scalingstack:8774/v2.1/flavors/63b1c33a-d1bc-48dc-81f5-11b141b50a8e", "rel": "self"}, {"href": "http://nova-api.infra.bos01.scalingstack:8774/flavors/63b1c33a-d1bc-48dc-81f5-11b141b50a8e", "rel": "bookmark"}], "name": "cpu1-ram4-disk30"}, {"description": null, "id": "64058615-c59f-44f8-8d6d-25984a4b2af1", "links": [{"href": "http://nova-api.infra.bos01.scalingstack:8774/v2.1/flavors/64058615-c59f-44f8-8d6d-25984a4b2af1", "rel": "self"}, {"href": "http://nova-api.infra.bos01.scalingstack:8774/flavors/64058615-c59f-44f8-8d6d-25984a4b2af1", "rel": "bookmark"}], "name": "cpu3-ram2-disk50"}, {"description": null, "id": "65edec3a-9aef-4f32-9689-e1ae4e9b04e0", "links": [{"href": "http://nova-api.infra.bos01.scalingstack:8774/v2.1/flavors/65edec3a-9aef-4f32-9689-e1ae4e9b04e0", "rel": "self"}, {"href": "http://nova-api.infra.bos01.scalingstack:8774/flavors/65edec3a-9aef-4f32-9689-e1ae4e9b04e0", "rel": "bookmark"}], "name": "cpu3-ram4-disk30"}, {"description": null, "id": "669b13e4-093e-40b0-9452-85d49bbefa14", "links": [{"href": "http://nova-api.infra.bos01.scalingstack:8774/v2.1/flavors/669b13e4-093e-40b0-9452-85d49bbefa14", "rel": "self"}, {"href": "http://nova-api.infra.bos01.scalingstack:8774/flavors/669b13e4-093e-40b0-9452-85d49bbefa14", "rel": "bookmark"}], "name": "cpu4-ram2-disk40"}, {"description": null, "id": "69e2fec2-2b55-4cca-bae8-42ed8b8201d7", "links": [{"href": "http://nova-api.infra.bos01.scalingstack:8774/v2.1/flavors/69e2fec2-2b55-4cca-bae8-42ed8b8201d7", "rel": "self"}, {"href": "http://nova-api.infra.bos01.scalingstack:8774/flavors/69e2fec2-2b55-4cca-bae8-42ed8b8201d7", "rel": "bookmark"}], "name": "m1.tiny"}, {"description": null, "id": "69ea33ec-947c-43b1-bd31-b16ed0347a8e", "links": [{"href": "http://nova-api.infra.bos01.scalingstack:8774/v2.1/flavors/69ea33ec-947c-43b1-bd31-b16ed0347a8e", "rel": "self"}, {"href": "http://nova-api.infra.bos01.scalingstack:8774/flavors/69ea33ec-947c-43b1-bd31-b16ed0347a8e", "rel": "bookmark"}], "name": "cpu2-ram2-disk50"}, {"description": null, "id": "6bf8000d-461d-42b0-8b5a-6dd328ab5cf1", "links": [{"href": "http://nova-api.infra.bos01.scalingstack:8774/v2.1/flavors/6bf8000d-461d-42b0-8b5a-6dd328ab5cf1", "rel": "self"}, {"href": "http://nova-api.infra.bos01.scalingstack:8774/flavors/6bf8000d-461d-42b0-8b5a-6dd328ab5cf1", "rel": "bookmark"}], "name": "cpu2-ram8-disk30"}, {"description": null, "id": "6c4f17fe-d4a3-4dfb-b2aa-bf15f3d1b0a8", "links": [{"href": "http://nova-api.infra.bos01.scalingstack:8774/v2.1/flavors/6c4f17fe-d4a3-4dfb-b2aa-bf15f3d1b0a8", "rel": "self"}, {"href": "http://nova-api.infra.bos01.scalingstack:8774/flavors/6c4f17fe-d4a3-4dfb-b2aa-bf15f3d1b0a8", "rel": "bookmark"}], "name": "cpu3-ram2-disk40"}, {"description": null, "id": "6c837b14-251c-4a01-a2cc-88a854daf79e", "links": [{"href": "http://nova-api.infra.bos01.scalingstack:8774/v2.1/flavors/6c837b14-251c-4a01-a2cc-88a854daf79e", "rel": "self"}, {"href": "http://nova-api.infra.bos01.scalingstack:8774/flavors/6c837b14-251c-4a01-a2cc-88a854daf79e", "rel": "bookmark"}], "name": "cpu4-ram8-disk20"}, {"description": null, "id": "7107a19b-15b9-4feb-81d2-0dcad7ef41de", "links": [{"href": "http://nova-api.infra.bos01.scalingstack:8774/v2.1/flavors/7107a19b-15b9-4feb-81d2-0dcad7ef41de", "rel": "self"}, {"href": "http://nova-api.infra.bos01.scalingstack:8774/flavors/7107a19b-15b9-4feb-81d2-0dcad7ef41de", "rel": "bookmark"}], "name": "cpu1-ram8-disk30"}, {"description": null, "id": "732fe763-bef9-483b-97b5-fa39f0be6414", "links": [{"href": "http://nova-api.infra.bos01.scalingstack:8774/v2.1/flavors/732fe763-bef9-483b-97b5-fa39f0be6414", "rel": "self"}, {"href": "http://nova-api.infra.bos01.scalingstack:8774/flavors/732fe763-bef9-483b-97b5-fa39f0be6414", "rel": "bookmark"}], "name": "jenkaas-slave-cpu4-ram8-disk50"}, {"description": null, "id": "74e5591b-76dc-42d0-b5cc-a818f47a3d15", "links": [{"href": "http://nova-api.infra.bos01.scalingstack:8774/v2.1/flavors/74e5591b-76dc-42d0-b5cc-a818f47a3d15", "rel": "self"}, {"href": "http://nova-api.infra.bos01.scalingstack:8774/flavors/74e5591b-76dc-42d0-b5cc-a818f47a3d15", "rel": "bookmark"}], "name": "vbuilder"}, {"description": null, "id": "7bbbcad2-5340-4882-95cb-5c5fe0006d27", "links": [{"href": "http://nova-api.infra.bos01.scalingstack:8774/v2.1/flavors/7bbbcad2-5340-4882-95cb-5c5fe0006d27", "rel": "self"}, {"href": "http://nova-api.infra.bos01.scalingstack:8774/flavors/7bbbcad2-5340-4882-95cb-5c5fe0006d27", "rel": "bookmark"}], "name": "m1.large"}, {"description": null, "id": "7d15359d-58b4-43c5-8afe-ea7b5c68cd79", "links": [{"href": "http://nova-api.infra.bos01.scalingstack:8774/v2.1/flavors/7d15359d-58b4-43c5-8afe-ea7b5c68cd79", "rel": "self"}, {"href": "http://nova-api.infra.bos01.scalingstack:8774/flavors/7d15359d-58b4-43c5-8afe-ea7b5c68cd79", "rel": "bookmark"}], "name": "cpu24-ram24-disk1000"}, {"description": null, "id": "7d452a92-dfed-448e-a10f-00718c6d53b0", "links": [{"href": "http://nova-api.infra.bos01.scalingstack:8774/v2.1/flavors/7d452a92-dfed-448e-a10f-00718c6d53b0", "rel": "self"}, {"href": "http://nova-api.infra.bos01.scalingstack:8774/flavors/7d452a92-dfed-448e-a10f-00718c6d53b0", "rel": "bookmark"}], "name": "m1.medium"}, {"description": null, "id": "7f0397e0-6463-482b-ab10-f427ea20791a", "links": [{"href": "http://nova-api.infra.bos01.scalingstack:8774/v2.1/flavors/7f0397e0-6463-482b-ab10-f427ea20791a", "rel": "self"}, {"href": "http://nova-api.infra.bos01.scalingstack:8774/flavors/7f0397e0-6463-482b-ab10-f427ea20791a", "rel": "bookmark"}], "name": "cpu8-ram8-disk100"}, {"description": null, "id": "80053340-f38b-4c04-af0a-578177620ba1", "links": [{"href": "http://nova-api.infra.bos01.scalingstack:8774/v2.1/flavors/80053340-f38b-4c04-af0a-578177620ba1", "rel": "self"}, {"href": "http://nova-api.infra.bos01.scalingstack:8774/flavors/80053340-f38b-4c04-af0a-578177620ba1", "rel": "bookmark"}], "name": "cpu3-ram2-disk20"}, {"description": null, "id": "832a5940-a3fc-4f4b-80ac-ce89bb70e523", "links": [{"href": "http://nova-api.infra.bos01.scalingstack:8774/v2.1/flavors/832a5940-a3fc-4f4b-80ac-ce89bb70e523", "rel": "self"}, {"href": "http://nova-api.infra.bos01.scalingstack:8774/flavors/832a5940-a3fc-4f4b-80ac-ce89bb70e523", "rel": "bookmark"}], "name": "jenkaas-slave-cpu2-ram8-disk50"}, {"description": null, "id": "84982947-c7ca-4c59-91db-747bc1cb9d0c", "links": [{"href": "http://nova-api.infra.bos01.scalingstack:8774/v2.1/flavors/84982947-c7ca-4c59-91db-747bc1cb9d0c", "rel": "self"}, {"href": "http://nova-api.infra.bos01.scalingstack:8774/flavors/84982947-c7ca-4c59-91db-747bc1cb9d0c", "rel": "bookmark"}], "name": "cpu3-ram8-disk20"}, {"description": null, "id": "8802164b-4669-4c77-9718-6ea05ebda067", "links": [{"href": "http://nova-api.infra.bos01.scalingstack:8774/v2.1/flavors/8802164b-4669-4c77-9718-6ea05ebda067", "rel": "self"}, {"href": "http://nova-api.infra.bos01.scalingstack:8774/flavors/8802164b-4669-4c77-9718-6ea05ebda067", "rel": "bookmark"}], "name": "cpu2-ram4-disk40"}, {"description": null, "id": "8f7c0130-365e-4834-940d-6fe2211727ad", "links": [{"href": "http://nova-api.infra.bos01.scalingstack:8774/v2.1/flavors/8f7c0130-365e-4834-940d-6fe2211727ad", "rel": "self"}, {"href": "http://nova-api.infra.bos01.scalingstack:8774/flavors/8f7c0130-365e-4834-940d-6fe2211727ad", "rel": "bookmark"}], "name": "cpu3-ram4-disk40"}, {"description": null, "id": "95403030-87b4-4d0a-906e-56d86482ea9e", "links": [{"href": "http://nova-api.infra.bos01.scalingstack:8774/v2.1/flavors/95403030-87b4-4d0a-906e-56d86482ea9e", "rel": "self"}, {"href": "http://nova-api.infra.bos01.scalingstack:8774/flavors/95403030-87b4-4d0a-906e-56d86482ea9e", "rel": "bookmark"}], "name": "vbuilder-gpu"}, {"description": null, "id": "96ef6696-b5d1-41ac-aa5c-abadbf1ac723", "links": [{"href": "http://nova-api.infra.bos01.scalingstack:8774/v2.1/flavors/96ef6696-b5d1-41ac-aa5c-abadbf1ac723", "rel": "self"}, {"href": "http://nova-api.infra.bos01.scalingstack:8774/flavors/96ef6696-b5d1-41ac-aa5c-abadbf1ac723", "rel": "bookmark"}], "name": "cpu4-ram2-disk20"}, {"description": null, "id": "a4d4a34d-d18b-44d3-a48f-ee37f54a91e4", "links": [{"href": "http://nova-api.infra.bos01.scalingstack:8774/v2.1/flavors/a4d4a34d-d18b-44d3-a48f-ee37f54a91e4", "rel": "self"}, {"href": "http://nova-api.infra.bos01.scalingstack:8774/flavors/a4d4a34d-d18b-44d3-a48f-ee37f54a91e4", "rel": "bookmark"}], "name": "vbuilder-nvidia-l4"}, {"description": null, "id": "b564f978-0cb3-478b-a221-c4fb068ac82a", "links": [{"href": "http://nova-api.infra.bos01.scalingstack:8774/v2.1/flavors/b564f978-0cb3-478b-a221-c4fb068ac82a", "rel": "self"}, {"href": "http://nova-api.infra.bos01.scalingstack:8774/flavors/b564f978-0cb3-478b-a221-c4fb068ac82a", "rel": "bookmark"}], "name": "cpu1-ram4-disk40"}, {"description": null, "id": "b635f2c9-0e51-43d8-8684-f928789a70c2", "links": [{"href": "http://nova-api.infra.bos01.scalingstack:8774/v2.1/flavors/b635f2c9-0e51-43d8-8684-f928789a70c2", "rel": "self"}, {"href": "http://nova-api.infra.bos01.scalingstack:8774/flavors/b635f2c9-0e51-43d8-8684-f928789a70c2", "rel": "bookmark"}], "name": "cpu1-ram8-disk50"}, {"description": null, "id": "b63650b4-b80b-4cc3-bf35-e482f1f034ab", "links": [{"href": "http://nova-api.infra.bos01.scalingstack:8774/v2.1/flavors/b63650b4-b80b-4cc3-bf35-e482f1f034ab", "rel": "self"}, {"href": "http://nova-api.infra.bos01.scalingstack:8774/flavors/b63650b4-b80b-4cc3-bf35-e482f1f034ab", "rel": "bookmark"}], "name": "cpu1-ram2-disk30"}, {"description": null, "id": "b6cc2a18-fb5d-47ca-82a3-4d33316f6256", "links": [{"href": "http://nova-api.infra.bos01.scalingstack:8774/v2.1/flavors/b6cc2a18-fb5d-47ca-82a3-4d33316f6256", "rel": "self"}, {"href": "http://nova-api.infra.bos01.scalingstack:8774/flavors/b6cc2a18-fb5d-47ca-82a3-4d33316f6256", "rel": "bookmark"}], "name": "cpu2-ram4-disk50"}, {"description": null, "id": "bd265603-fca7-49c7-9e70-649ef5cca864", "links": [{"href": "http://nova-api.infra.bos01.scalingstack:8774/v2.1/flavors/bd265603-fca7-49c7-9e70-649ef5cca864", "rel": "self"}, {"href": "http://nova-api.infra.bos01.scalingstack:8774/flavors/bd265603-fca7-49c7-9e70-649ef5cca864", "rel": "bookmark"}], "name": "cpu4-ram8-disk30"}, {"description": null, "id": "bde04686-0dd3-46ab-b755-b1b147c5becf", "links": [{"href": "http://nova-api.infra.bos01.scalingstack:8774/v2.1/flavors/bde04686-0dd3-46ab-b755-b1b147c5becf", "rel": "self"}, {"href": "http://nova-api.infra.bos01.scalingstack:8774/flavors/bde04686-0dd3-46ab-b755-b1b147c5becf", "rel": "bookmark"}], "name": "cpu3-ram8-disk30"}, {"description": null, "id": "c985393d-0b31-4c82-9a63-e977805ad49a", "links": [{"href": "http://nova-api.infra.bos01.scalingstack:8774/v2.1/flavors/c985393d-0b31-4c82-9a63-e977805ad49a", "rel": "self"}, {"href": "http://nova-api.infra.bos01.scalingstack:8774/flavors/c985393d-0b31-4c82-9a63-e977805ad49a", "rel": "bookmark"}], "name": "lxd-image-build"}, {"description": null, "id": "d0ad5623-5421-4f6e-b3b4-2e2c654a5342", "links": [{"href": "http://nova-api.infra.bos01.scalingstack:8774/v2.1/flavors/d0ad5623-5421-4f6e-b3b4-2e2c654a5342", "rel": "self"}, {"href": "http://nova-api.infra.bos01.scalingstack:8774/flavors/d0ad5623-5421-4f6e-b3b4-2e2c654a5342", "rel": "bookmark"}], "name": "cpu1-ram8-disk20"}, {"description": null, "id": "d6a2e3e7-316c-457e-9a1d-fa6a41fbbbea", "links": [{"href": "http://nova-api.infra.bos01.scalingstack:8774/v2.1/flavors/d6a2e3e7-316c-457e-9a1d-fa6a41fbbbea", "rel": "self"}, {"href": "http://nova-api.infra.bos01.scalingstack:8774/flavors/d6a2e3e7-316c-457e-9a1d-fa6a41fbbbea", "rel": "bookmark"}], "name": "cpu2-ram8-disk50"}, {"description": null, "id": "d93384c5-a6e8-4282-a97d-485f7df3102d", "links": [{"href": "http://nova-api.infra.bos01.scalingstack:8774/v2.1/flavors/d93384c5-a6e8-4282-a97d-485f7df3102d", "rel": "self"}, {"href": "http://nova-api.infra.bos01.scalingstack:8774/flavors/d93384c5-a6e8-4282-a97d-485f7df3102d", "rel": "bookmark"}], "name": "cpu3-ram2-disk30"}, {"description": null, "id": "d954ff2f-cd12-4fb8-8c72-89780288650a", "links": [{"href": "http://nova-api.infra.bos01.scalingstack:8774/v2.1/flavors/d954ff2f-cd12-4fb8-8c72-89780288650a", "rel": "self"}, {"href": "http://nova-api.infra.bos01.scalingstack:8774/flavors/d954ff2f-cd12-4fb8-8c72-89780288650a", "rel": "bookmark"}], "name": "cpu24-ram24-disk600"}, {"description": null, "id": "dba12101-85ff-45a0-932a-7b21c12297f7", "links": [{"href": "http://nova-api.infra.bos01.scalingstack:8774/v2.1/flavors/dba12101-85ff-45a0-932a-7b21c12297f7", "rel": "self"}, {"href": "http://nova-api.infra.bos01.scalingstack:8774/flavors/dba12101-85ff-45a0-932a-7b21c12297f7", "rel": "bookmark"}], "name": "cpu4-ram4-disk30"}, {"description": null, "id": "dbf8e4ab-78c7-4477-8b31-4b75b9042712", "links": [{"href": "http://nova-api.infra.bos01.scalingstack:8774/v2.1/flavors/dbf8e4ab-78c7-4477-8b31-4b75b9042712", "rel": "self"}, {"href": "http://nova-api.infra.bos01.scalingstack:8774/flavors/dbf8e4ab-78c7-4477-8b31-4b75b9042712", "rel": "bookmark"}], "name": "cpu3-ram4-disk20"}, {"description": null, "id": "de5a0357-0395-401d-b4ac-c91fdf30a694", "links": [{"href": "http://nova-api.infra.bos01.scalingstack:8774/v2.1/flavors/de5a0357-0395-401d-b4ac-c91fdf30a694", "rel": "self"}, {"href": "http://nova-api.infra.bos01.scalingstack:8774/flavors/de5a0357-0395-401d-b4ac-c91fdf30a694", "rel": "bookmark"}], "name": "cpu4-ram2-disk50"}, {"description": null, "id": "e2e946d7-1076-4753-be7b-594658f97519", "links": [{"href": "http://nova-api.infra.bos01.scalingstack:8774/v2.1/flavors/e2e946d7-1076-4753-be7b-594658f97519", "rel": "self"}, {"href": "http://nova-api.infra.bos01.scalingstack:8774/flavors/e2e946d7-1076-4753-be7b-594658f97519", "rel": "bookmark"}], "name": "cpu4-ram4-disk50"}, {"description": null, "id": "e3777021-2a08-4248-b197-329f6af0fcc7", "links": [{"href": "http://nova-api.infra.bos01.scalingstack:8774/v2.1/flavors/e3777021-2a08-4248-b197-329f6af0fcc7", "rel": "self"}, {"href": "http://nova-api.infra.bos01.scalingstack:8774/flavors/e3777021-2a08-4248-b197-329f6af0fcc7", "rel": "bookmark"}], "name": "cpu3-ram4-disk50"}, {"description": null, "id": "e5c55daf-52fb-438f-8709-c7f9161d5912", "links": [{"href": "http://nova-api.infra.bos01.scalingstack:8774/v2.1/flavors/e5c55daf-52fb-438f-8709-c7f9161d5912", "rel": "self"}, {"href": "http://nova-api.infra.bos01.scalingstack:8774/flavors/e5c55daf-52fb-438f-8709-c7f9161d5912", "rel": "bookmark"}], "name": "cpu1-ram2-disk50"}, {"description": null, "id": "ec3f0e69-0c83-445d-9140-a5f534714022", "links": [{"href": "http://nova-api.infra.bos01.scalingstack:8774/v2.1/flavors/ec3f0e69-0c83-445d-9140-a5f534714022", "rel": "self"}, {"href": "http://nova-api.infra.bos01.scalingstack:8774/flavors/ec3f0e69-0c83-445d-9140-a5f534714022", "rel": "bookmark"}], "name": "cpu4-ram4-disk20"}, {"description": null, "id": "f8f06b66-a3b6-4204-9614-88e232e77d88", "links": [{"href": "http://nova-api.infra.bos01.scalingstack:8774/v2.1/flavors/f8f06b66-a3b6-4204-9614-88e232e77d88", "rel": "self"}, {"href": "http://nova-api.infra.bos01.scalingstack:8774/flavors/f8f06b66-a3b6-4204-9614-88e232e77d88", "rel": "bookmark"}], "name": "cpu2-ram8-disk20"}, {"description": null, "id": "f9fab3c1-a7d2-4c4e-b989-39b268424acb", "links": [{"href": "http://nova-api.infra.bos01.scalingstack:8774/v2.1/flavors/f9fab3c1-a7d2-4c4e-b989-39b268424acb", "rel": "self"}, {"href": "http://nova-api.infra.bos01.scalingstack:8774/flavors/f9fab3c1-a7d2-4c4e-b989-39b268424acb", "rel": "bookmark"}], "name": "autopkgtest"}, {"description": null, "id": "fbcde9d0-b04b-46f4-b8fc-4e6c679ab8f0", "links": [{"href": "http://nova-api.infra.bos01.scalingstack:8774/v2.1/flavors/fbcde9d0-b04b-46f4-b8fc-4e6c679ab8f0", "rel": "self"}, {"href": "http://nova-api.infra.bos01.scalingstack:8774/flavors/fbcde9d0-b04b-46f4-b8fc-4e6c679ab8f0", "rel": "bookmark"}], "name": "cpu2-ram8-disk40"}, {"description": null, "id": "fd66f287-b501-4b8d-ac68-bdb3c3fd3308", "links": [{"href": "http://nova-api.infra.bos01.scalingstack:8774/v2.1/flavors/fd66f287-b501-4b8d-ac68-bdb3c3fd3308", "rel": "self"}, {"href": "http://nova-api.infra.bos01.scalingstack:8774/flavors/fd66f287-b501-4b8d-ac68-bdb3c3fd3308", "rel": "bookmark"}], "name": "autopkgtest-big"}]} 715s DEBUG (session:936) GET call to compute for http://nova-api.infra.bos01.scalingstack:8774/v2.1/flavors?is_public=None used request id req-61392f27-8db9-4ecb-8e62-3a6625515f2d 715s DEBUG (session:517) REQ: curl -g -i -X GET http://nova-api.infra.bos01.scalingstack:8774/v2.1/flavors/f9fab3c1-a7d2-4c4e-b989-39b268424acb -H "Accept: application/json" -H "OpenStack-API-Version: compute 2.60" -H "User-Agent: python-novaclient" -H "X-Auth-Token: {SHA256}8c957d6143b5b73220b5052acd39032f4861c4e7ccad706257e8edcb858b6c94" -H "X-OpenStack-Nova-API-Version: 2.60" 715s DEBUG (connectionpool:429) http://nova-api.infra.bos01.scalingstack:8774 "GET /v2.1/flavors/f9fab3c1-a7d2-4c4e-b989-39b268424acb HTTP/1.1" 200 532 715s DEBUG (session:548) RESP: [200] Connection: keep-alive Content-Length: 532 Content-Type: application/json Date: Thu, 21 Mar 2024 09:25:28 GMT Openstack-Api-Version: compute 2.60 Vary: OpenStack-API-Version, X-OpenStack-Nova-API-Version X-Compute-Request-Id: req-179113c4-56df-4fb3-8942-d12816f55af9 X-Openstack-Nova-Api-Version: 2.60 X-Openstack-Request-Id: req-179113c4-56df-4fb3-8942-d12816f55af9 715s DEBUG (session:580) RESP BODY: {"flavor": {"name": "autopkgtest", "links": [{"href": "http://nova-api.infra.bos01.scalingstack:8774/v2.1/flavors/f9fab3c1-a7d2-4c4e-b989-39b268424acb", "rel": "self"}, {"href": "http://nova-api.infra.bos01.scalingstack:8774/flavors/f9fab3c1-a7d2-4c4e-b989-39b268424acb", "rel": "bookmark"}], "ram": 1536, "OS-FLV-DISABLED:disabled": false, "vcpus": 1, "swap": "", "os-flavor-access:is_public": true, "rxtx_factor": 1.0, "OS-FLV-EXT-DATA:ephemeral": 0, "disk": 20, "id": "f9fab3c1-a7d2-4c4e-b989-39b268424acb", "description": null}} 715s DEBUG (session:936) GET call to compute for http://nova-api.infra.bos01.scalingstack:8774/v2.1/flavors/f9fab3c1-a7d2-4c4e-b989-39b268424acb used request id req-179113c4-56df-4fb3-8942-d12816f55af9 715s DEBUG (session:517) REQ: curl -g -i -X POST http://nova-api.infra.bos01.scalingstack:8774/v2.1/servers -H "Accept: application/json" -H "Content-Type: application/json" -H "OpenStack-API-Version: compute 2.60" -H "User-Agent: python-novaclient" -H "X-Auth-Token: {SHA256}8c957d6143b5b73220b5052acd39032f4861c4e7ccad706257e8edcb858b6c94" -H "X-OpenStack-Nova-API-Version: 2.60" -d '{"server": {"name": "adt-noble-s390x-glib2.0-20240321-092443-juju-7f2275-prod-proposed-migration-environment-3", "imageRef": "a4b1c77c-a35e-4d28-a8d9-902a1febb465", "flavorRef": "f9fab3c1-a7d2-4c4e-b989-39b268424acb", "user_data": "I2Nsb3VkLWNvbmZpZwpob3N0bmFtZTogYXV0b3BrZ3Rlc3QKbWFuYWdlX2V0Y19ob3N0czogdHJ1ZQphcHRfdXBkYXRlOiB0cnVlCmFwdF91cGdyYWRlOiBmYWxzZQphcHRfbWlycm9yOiBodHRwOi8vdXMucG9ydHMudWJ1bnR1LmNvbS91YnVudHUtcG9ydHMvCgpydW5jbWQ6CiAtIGVjaG8gJ0FjcXVpcmU6Okxhbmd1YWdlcyAibm9uZSI7JyA+IC9ldGMvYXB0L2FwdC5jb25mLmQvOTBub2xhbmd1YWdlcwogLSBlY2hvICdmb3JjZS11bnNhZmUtaW8nID4gL2V0Yy9kcGtnL2Rwa2cuY2ZnLmQvYXV0b3BrZ3Rlc3QKIC0gcHJpbnRmICdcblRFUk09bGludXhcbidodHRwX3Byb3h5PWh0dHA6Ly9zcXVpZC5pbnRlcm5hbDozMTI4J1xuJ2h0dHBzX3Byb3h5PWh0dHA6Ly9zcXVpZC5pbnRlcm5hbDozMTI4J1xuJ25vX3Byb3h5PTEyNy4wLjAuMSwxMjcuMC4xLjEsbG9naW4udWJ1bnR1LmNvbSxsb2NhbGhvc3QsbG9jYWxkb21haW4sbm92YWxvY2FsLGludGVybmFsLGFyY2hpdmUudWJ1bnR1LmNvbSxwb3J0cy51YnVudHUuY29tLHNlY3VyaXR5LnVidW50dS5jb20sZGRlYnMudWJ1bnR1LmNvbSxjaGFuZ2Vsb2dzLnVidW50dS5jb20sbGF1bmNocGFkbGlicmFyaWFuLm5ldCxsYXVuY2hwYWRjb250ZW50Lm5ldCxsYXVuY2hwYWQubmV0LDEwLjI0LjAuMC8yNCxrZXlzdG9uZS5wczUuY2Fub25pY2FsLmNvbSxvYmplY3RzdG9yYWdlLnByb2RzdGFjazUuY2Fub25pY2FsLmNvbSdcbicgPj4gL2V0Yy9lbnZpcm9ubWVudAogLSBzZWQgLWkgLXIgJy9eMTI3LjAuMS4xLyBzL2F1dG9wa2d0ZXN0LVteIF0rXC4vYXV0b3BrZ3Rlc3RcLi8nIC9ldGMvaG9zdHMK", "key_name": "testbed-juju-7f2275-prod-proposed-migration-environment-3", "min_count": 1, "max_count": 1, "security_groups": [{"name": "autopkgtest-juju-7f2275-prod-proposed-migration-environment-3@bos01-s390x-14.secgroup"}], "networks": [{"uuid": "0f3f546a-b3dd-49c1-bcc5-a4e894d3ceac"}]}}' 715s DEBUG (connectionpool:429) http://nova-api.infra.bos01.scalingstack:8774 "POST /v2.1/servers HTTP/1.1" 202 496 715s DEBUG (session:548) RESP: [202] Connection: keep-alive Content-Length: 496 Content-Type: application/json Date: Thu, 21 Mar 2024 09:25:30 GMT Location: http://nova-api.infra.bos01.scalingstack:8774/v2.1/servers/01c56dd0-cb2d-4bb0-8d72-09109596cb75 Openstack-Api-Version: compute 2.60 Vary: OpenStack-API-Version, X-OpenStack-Nova-API-Version X-Compute-Request-Id: req-481f8f71-de57-4a75-af7f-6dd7617832e6 X-Openstack-Nova-Api-Version: 2.60 X-Openstack-Request-Id: req-481f8f71-de57-4a75-af7f-6dd7617832e6 715s DEBUG (session:580) RESP BODY: {"server": {"security_groups": [{"name": "autopkgtest-juju-7f2275-prod-proposed-migration-environment-3@bos01-s390x-14.secgroup"}], "OS-DCF:diskConfig": "MANUAL", "id": "01c56dd0-cb2d-4bb0-8d72-09109596cb75", "links": [{"href": "http://nova-api.infra.bos01.scalingstack:8774/v2.1/servers/01c56dd0-cb2d-4bb0-8d72-09109596cb75", "rel": "self"}, {"href": "http://nova-api.infra.bos01.scalingstack:8774/servers/01c56dd0-cb2d-4bb0-8d72-09109596cb75", "rel": "bookmark"}], "adminPass": "KG23xdfXudPF"}} 715s DEBUG (session:936) POST call to compute for http://nova-api.infra.bos01.scalingstack:8774/v2.1/servers used request id req-481f8f71-de57-4a75-af7f-6dd7617832e6 715s DEBUG (session:517) REQ: curl -g -i -X GET http://nova-api.infra.bos01.scalingstack:8774/v2.1/servers/01c56dd0-cb2d-4bb0-8d72-09109596cb75 -H "Accept: application/json" -H "OpenStack-API-Version: compute 2.60" -H "User-Agent: python-novaclient" -H "X-Auth-Token: {SHA256}8c957d6143b5b73220b5052acd39032f4861c4e7ccad706257e8edcb858b6c94" -H "X-OpenStack-Nova-API-Version: 2.60" 715s DEBUG (connectionpool:429) http://nova-api.infra.bos01.scalingstack:8774 "GET /v2.1/servers/01c56dd0-cb2d-4bb0-8d72-09109596cb75 HTTP/1.1" 200 2987 715s DEBUG (session:548) RESP: [200] Connection: keep-alive Content-Length: 2987 Content-Type: application/json Date: Thu, 21 Mar 2024 09:25:31 GMT Openstack-Api-Version: compute 2.60 Vary: OpenStack-API-Version, X-OpenStack-Nova-API-Version X-Compute-Request-Id: req-93b22d8d-6c64-4ebb-b95b-5fce8a12585e X-Openstack-Nova-Api-Version: 2.60 X-Openstack-Request-Id: req-93b22d8d-6c64-4ebb-b95b-5fce8a12585e 715s DEBUG (session:580) RESP BODY: {"server": {"OS-EXT-STS:task_state": "scheduling", "addresses": {}, "links": [{"href": "http://nova-api.infra.bos01.scalingstack:8774/v2.1/servers/01c56dd0-cb2d-4bb0-8d72-09109596cb75", "rel": "self"}, {"href": "http://nova-api.infra.bos01.scalingstack:8774/servers/01c56dd0-cb2d-4bb0-8d72-09109596cb75", "rel": "bookmark"}], "image": {"id": "a4b1c77c-a35e-4d28-a8d9-902a1febb465", "links": [{"href": "http://nova-api.infra.bos01.scalingstack:8774/images/a4b1c77c-a35e-4d28-a8d9-902a1febb465", "rel": "bookmark"}]}, "OS-EXT-SRV-ATTR:user_data": "I2Nsb3VkLWNvbmZpZwpob3N0bmFtZTogYXV0b3BrZ3Rlc3QKbWFuYWdlX2V0Y19ob3N0czogdHJ1ZQphcHRfdXBkYXRlOiB0cnVlCmFwdF91cGdyYWRlOiBmYWxzZQphcHRfbWlycm9yOiBodHRwOi8vdXMucG9ydHMudWJ1bnR1LmNvbS91YnVudHUtcG9ydHMvCgpydW5jbWQ6CiAtIGVjaG8gJ0FjcXVpcmU6Okxhbmd1YWdlcyAibm9uZSI7JyA+IC9ldGMvYXB0L2FwdC5jb25mLmQvOTBub2xhbmd1YWdlcwogLSBlY2hvICdmb3JjZS11bnNhZmUtaW8nID4gL2V0Yy9kcGtnL2Rwa2cuY2ZnLmQvYXV0b3BrZ3Rlc3QKIC0gcHJpbnRmICdcblRFUk09bGludXhcbidodHRwX3Byb3h5PWh0dHA6Ly9zcXVpZC5pbnRlcm5hbDozMTI4J1xuJ2h0dHBzX3Byb3h5PWh0dHA6Ly9zcXVpZC5pbnRlcm5hbDozMTI4J1xuJ25vX3Byb3h5PTEyNy4wLjAuMSwxMjcuMC4xLjEsbG9naW4udWJ1bnR1LmNvbSxsb2NhbGhvc3QsbG9jYWxkb21haW4sbm92YWxvY2FsLGludGVybmFsLGFyY2hpdmUudWJ1bnR1LmNvbSxwb3J0cy51YnVudHUuY29tLHNlY3VyaXR5LnVidW50dS5jb20sZGRlYnMudWJ1bnR1LmNvbSxjaGFuZ2Vsb2dzLnVidW50dS5jb20sbGF1bmNocGFkbGlicmFyaWFuLm5ldCxsYXVuY2hwYWRjb250ZW50Lm5ldCxsYXVuY2hwYWQubmV0LDEwLjI0LjAuMC8yNCxrZXlzdG9uZS5wczUuY2Fub25pY2FsLmNvbSxvYmplY3RzdG9yYWdlLnByb2RzdGFjazUuY2Fub25pY2FsLmNvbSdcbicgPj4gL2V0Yy9lbnZpcm9ubWVudAogLSBzZWQgLWkgLXIgJy9eMTI3LjAuMS4xLyBzL2F1dG9wa2d0ZXN0LVteIF0rXC4vYXV0b3BrZ3Rlc3RcLi8nIC9ldGMvaG9zdHMK", "OS-EXT-STS:vm_state": "building", "OS-EXT-SRV-ATTR:instance_name": "", "OS-EXT-SRV-ATTR:root_device_name": null, "OS-SRV-USG:launched_at": null, "flavor": {"ephemeral": 0, "ram": 1536, "original_name": "autopkgtest", "vcpus": 1, "extra_specs": {"hw_rng:allowed": "True"}, "swap": 0, "disk": 20}, "id": "01c56dd0-cb2d-4bb0-8d72-09109596cb75", "OS-SRV-USG:terminated_at": null, "user_id": "3afbd64474684647986f8a196316be34", "OS-EXT-SRV-ATTR:hostname": "adt-noble-s390x-glib2.0-20240321-092443-juju-7f2275-prod-propos", "OS-DCF:diskConfig": "MANUAL", "accessIPv4": "", "accessIPv6": "", "OS-EXT-SRV-ATTR:reservation_id": "r-bbsibmpk", "progress": 0, "OS-EXT-STS:power_state": 0, "OS-EXT-AZ:availability_zone": "", "config_drive": "", "status": "BUILD", "OS-EXT-SRV-ATTR:ramdisk_id": "", "updated": "2024-03-21T09:25:30Z", "hostId": "", "OS-EXT-SRV-ATTR:host": null, "description": null, "tags": [], "key_name": "testbed-juju-7f2275-prod-proposed-migration-environment-3", "OS-EXT-SRV-ATTR:kernel_id": "", "OS-EXT-SRV-ATTR:hypervisor_hostname": null, "locked": false, "name": "adt-noble-s390x-glib2.0-20240321-092443-juju-7f2275-prod-proposed-migration-environment-3", "OS-EXT-SRV-ATTR:launch_index": 0, "created": "2024-03-21T09:25:30Z", "tenant_id": "3f3b771a247746688951a4c90bf16631", "os-extended-volumes:volumes_attached": [], "metadata": {}}} 715s DEBUG (session:936) GET call to compute for http://nova-api.infra.bos01.scalingstack:8774/v2.1/servers/01c56dd0-cb2d-4bb0-8d72-09109596cb75 used request id req-93b22d8d-6c64-4ebb-b95b-5fce8a12585e 715s DEBUG (session:517) REQ: curl -g -i -X GET http://glance.infra.bos01.scalingstack:9292/v2/images/a4b1c77c-a35e-4d28-a8d9-902a1febb465 -H "Accept: application/json" -H "OpenStack-API-Version: compute 2.60" -H "User-Agent: python-novaclient" -H "X-Auth-Token: {SHA256}8c957d6143b5b73220b5052acd39032f4861c4e7ccad706257e8edcb858b6c94" -H "X-OpenStack-Nova-API-Version: 2.60" 715s DEBUG (connectionpool:429) http://glance.infra.bos01.scalingstack:9292 "GET /v2/images/a4b1c77c-a35e-4d28-a8d9-902a1febb465 HTTP/1.1" 200 1781 715s DEBUG (session:548) RESP: [200] Connection: keep-alive Content-Length: 1781 Content-Type: application/json Date: Thu, 21 Mar 2024 09:25:31 GMT X-Openstack-Request-Id: req-87b782a7-d10b-4ee0-aa4b-b770b77b876b 715s DEBUG (session:580) RESP BODY: {"image_state": "available", "container_format": "bare", "min_ram": 0, "updated_at": "2024-03-21T01:46:37Z", "hw_scsi_model": "virtio-scsi", "boot_roles": "_member_", "file": "/v2/images/a4b1c77c-a35e-4d28-a8d9-902a1febb465/file", "owner": "3f3b771a247746688951a4c90bf16631", "base_image_ref": "ae3c7648-2f35-40d3-9be5-cc7a60aa4f72", "simplestreams_metadata": "{\"aliases\": \"22.04,j,jammy\", \"arch\": \"s390x\", \"ftype\": \"disk1.img\", \"label\": \"daily\", \"md5\": \"aa9e26f2f82c680ea95be510d1c6af26\", \"os\": \"ubuntu\", \"pubname\": \"ubuntu-jammy-daily-s390x-server-20220712\", \"release\": \"jammy\", \"release_codename\": \"Jammy Jellyfis", "size": 1674379264, "os_distro": "ubuntu", "user_id": "3afbd64474684647986f8a196316be34", "image_type": "snapshot", "self": "/v2/images/a4b1c77c-a35e-4d28-a8d9-902a1febb465", "disk_format": "qcow2", "id": "a4b1c77c-a35e-4d28-a8d9-902a1febb465", "os_version": "22.04", "clean_attempts": "2", "owner_project_name": "prod-proposed-migration_project", "hw_disk_bus": "scsi", "schema": "/v2/schemas/image", "status": "active", "image_location": "snapshot", "tags": [], "owner_id": "3f3b771a247746688951a4c90bf16631", "visibility": "private", "owner_user_name": "prod-proposed-migration-s390x", "min_disk": 20, "version_name": "20220712", "virtual_size": null, "hw_architecture": "s390x", "source_content_id": "com.ubuntu.cloud:daily:download", "instance_uuid": "9460eb2f-4da3-4267-a6a9-abae3a530fe5", "name": "adt/ubuntu-noble-s390x-server-20240321.img", "hypervisor_type": "qemu", "created_at": "2024-03-21T01:44:40Z", "product_name": "com.ubuntu.cloud.daily:server:22.04:s390x", "item_name": "disk1.img", "protected": false, "architecture": "s390x", "checksum": "fdcfc402c5f50d0706019b5213025744", "content_id": "auto.sync.s390x"} 715s DEBUG (session:936) GET call to image for http://glance.infra.bos01.scalingstack:9292/v2/images/a4b1c77c-a35e-4d28-a8d9-902a1febb465 used request id req-87b782a7-d10b-4ee0-aa4b-b770b77b876b 715s DEBUG (session:517) REQ: curl -g -i -X GET http://nova-api.infra.bos01.scalingstack:8774/v2.1/servers/01c56dd0-cb2d-4bb0-8d72-09109596cb75 -H "Accept: application/json" -H "OpenStack-API-Version: compute 2.60" -H "User-Agent: python-novaclient" -H "X-Auth-Token: {SHA256}8c957d6143b5b73220b5052acd39032f4861c4e7ccad706257e8edcb858b6c94" -H "X-OpenStack-Nova-API-Version: 2.60" 715s DEBUG (connectionpool:429) http://nova-api.infra.bos01.scalingstack:8774 "GET /v2.1/servers/01c56dd0-cb2d-4bb0-8d72-09109596cb75 HTTP/1.1" 200 2987 715s DEBUG (session:548) RESP: [200] Connection: keep-alive Content-Length: 2987 Content-Type: application/json Date: Thu, 21 Mar 2024 09:25:31 GMT Openstack-Api-Version: compute 2.60 Vary: OpenStack-API-Version, X-OpenStack-Nova-API-Version X-Compute-Request-Id: req-dc265b3c-4cf9-4579-9569-f25831f08140 X-Openstack-Nova-Api-Version: 2.60 X-Openstack-Request-Id: req-dc265b3c-4cf9-4579-9569-f25831f08140 715s DEBUG (session:580) RESP BODY: {"server": {"OS-EXT-STS:task_state": "scheduling", "addresses": {}, "links": [{"href": "http://nova-api.infra.bos01.scalingstack:8774/v2.1/servers/01c56dd0-cb2d-4bb0-8d72-09109596cb75", "rel": "self"}, {"href": "http://nova-api.infra.bos01.scalingstack:8774/servers/01c56dd0-cb2d-4bb0-8d72-09109596cb75", "rel": "bookmark"}], "image": {"id": "a4b1c77c-a35e-4d28-a8d9-902a1febb465", "links": [{"href": "http://nova-api.infra.bos01.scalingstack:8774/images/a4b1c77c-a35e-4d28-a8d9-902a1febb465", "rel": "bookmark"}]}, "OS-EXT-SRV-ATTR:user_data": "I2Nsb3VkLWNvbmZpZwpob3N0bmFtZTogYXV0b3BrZ3Rlc3QKbWFuYWdlX2V0Y19ob3N0czogdHJ1ZQphcHRfdXBkYXRlOiB0cnVlCmFwdF91cGdyYWRlOiBmYWxzZQphcHRfbWlycm9yOiBodHRwOi8vdXMucG9ydHMudWJ1bnR1LmNvbS91YnVudHUtcG9ydHMvCgpydW5jbWQ6CiAtIGVjaG8gJ0FjcXVpcmU6Okxhbmd1YWdlcyAibm9uZSI7JyA+IC9ldGMvYXB0L2FwdC5jb25mLmQvOTBub2xhbmd1YWdlcwogLSBlY2hvICdmb3JjZS11bnNhZmUtaW8nID4gL2V0Yy9kcGtnL2Rwa2cuY2ZnLmQvYXV0b3BrZ3Rlc3QKIC0gcHJpbnRmICdcblRFUk09bGludXhcbidodHRwX3Byb3h5PWh0dHA6Ly9zcXVpZC5pbnRlcm5hbDozMTI4J1xuJ2h0dHBzX3Byb3h5PWh0dHA6Ly9zcXVpZC5pbnRlcm5hbDozMTI4J1xuJ25vX3Byb3h5PTEyNy4wLjAuMSwxMjcuMC4xLjEsbG9naW4udWJ1bnR1LmNvbSxsb2NhbGhvc3QsbG9jYWxkb21haW4sbm92YWxvY2FsLGludGVybmFsLGFyY2hpdmUudWJ1bnR1LmNvbSxwb3J0cy51YnVudHUuY29tLHNlY3VyaXR5LnVidW50dS5jb20sZGRlYnMudWJ1bnR1LmNvbSxjaGFuZ2Vsb2dzLnVidW50dS5jb20sbGF1bmNocGFkbGlicmFyaWFuLm5ldCxsYXVuY2hwYWRjb250ZW50Lm5ldCxsYXVuY2hwYWQubmV0LDEwLjI0LjAuMC8yNCxrZXlzdG9uZS5wczUuY2Fub25pY2FsLmNvbSxvYmplY3RzdG9yYWdlLnByb2RzdGFjazUuY2Fub25pY2FsLmNvbSdcbicgPj4gL2V0Yy9lbnZpcm9ubWVudAogLSBzZWQgLWkgLXIgJy9eMTI3LjAuMS4xLyBzL2F1dG9wa2d0ZXN0LVteIF0rXC4vYXV0b3BrZ3Rlc3RcLi8nIC9ldGMvaG9zdHMK", "OS-EXT-STS:vm_state": "building", "OS-EXT-SRV-ATTR:instance_name": "", "OS-EXT-SRV-ATTR:root_device_name": null, "OS-SRV-USG:launched_at": null, "flavor": {"ephemeral": 0, "ram": 1536, "original_name": "autopkgtest", "vcpus": 1, "extra_specs": {"hw_rng:allowed": "True"}, "swap": 0, "disk": 20}, "id": "01c56dd0-cb2d-4bb0-8d72-09109596cb75", "OS-SRV-USG:terminated_at": null, "user_id": "3afbd64474684647986f8a196316be34", "OS-EXT-SRV-ATTR:hostname": "adt-noble-s390x-glib2.0-20240321-092443-juju-7f2275-prod-propos", "OS-DCF:diskConfig": "MANUAL", "accessIPv4": "", "accessIPv6": "", "OS-EXT-SRV-ATTR:reservation_id": "r-bbsibmpk", "progress": 0, "OS-EXT-STS:power_state": 0, "OS-EXT-AZ:availability_zone": "", "config_drive": "", "status": "BUILD", "OS-EXT-SRV-ATTR:ramdisk_id": "", "updated": "2024-03-21T09:25:31Z", "hostId": "", "OS-EXT-SRV-ATTR:host": null, "description": null, "tags": [], "key_name": "testbed-juju-7f2275-prod-proposed-migration-environment-3", "OS-EXT-SRV-ATTR:kernel_id": "", "OS-EXT-SRV-ATTR:hypervisor_hostname": null, "locked": false, "name": "adt-noble-s390x-glib2.0-20240321-092443-juju-7f2275-prod-proposed-migration-environment-3", "OS-EXT-SRV-ATTR:launch_index": 0, "created": "2024-03-21T09:25:30Z", "tenant_id": "3f3b771a247746688951a4c90bf16631", "os-extended-volumes:volumes_attached": [], "metadata": {}}} 715s DEBUG (session:936) GET call to compute for http://nova-api.infra.bos01.scalingstack:8774/v2.1/servers/01c56dd0-cb2d-4bb0-8d72-09109596cb75 used request id req-dc265b3c-4cf9-4579-9569-f25831f08140 715s +--------------------------------------+-------------------------------------------------------------------------------------------+ 715s | Property | Value | 715s +--------------------------------------+-------------------------------------------------------------------------------------------+ 715s | OS-DCF:diskConfig | MANUAL | 715s | OS-EXT-AZ:availability_zone | | 715s | OS-EXT-SRV-ATTR:host | - | 715s | OS-EXT-SRV-ATTR:hostname | adt-noble-s390x-glib2.0-20240321-092443-juju-7f2275-prod-propos | 715s | OS-EXT-SRV-ATTR:hypervisor_hostname | - | 715s | OS-EXT-SRV-ATTR:instance_name | | 715s | OS-EXT-SRV-ATTR:kernel_id | | 715s | OS-EXT-SRV-ATTR:launch_index | 0 | 715s | OS-EXT-SRV-ATTR:ramdisk_id | | 715s | OS-EXT-SRV-ATTR:reservation_id | r-bbsibmpk | 715s | OS-EXT-SRV-ATTR:root_device_name | - | 715s | OS-EXT-STS:power_state | 0 | 715s | OS-EXT-STS:task_state | scheduling | 715s | OS-EXT-STS:vm_state | building | 715s | OS-SRV-USG:launched_at | - | 715s | OS-SRV-USG:terminated_at | - | 715s | accessIPv4 | | 715s | accessIPv6 | | 715s | adminPass | KG23xdfXudPF | 715s | config_drive | | 715s | created | 2024-03-21T09:25:30Z | 715s | description | - | 715s | flavor:disk | 20 | 715s | flavor:ephemeral | 0 | 715s | flavor:extra_specs | {"hw_rng:allowed": "True"} | 715s | flavor:original_name | autopkgtest | 715s | flavor:ram | 1536 | 715s | flavor:swap | 0 | 715s | flavor:vcpus | 1 | 715s | hostId | | 715s | id | 01c56dd0-cb2d-4bb0-8d72-09109596cb75 | 715s | image | adt/ubuntu-noble-s390x-server-20240321.img (a4b1c77c-a35e-4d28-a8d9-902a1febb465) | 715s | key_name | testbed-juju-7f2275-prod-proposed-migration-environment-3 | 715s | locked | False | 715s | metadata | {} | 715s | name | adt-noble-s390x-glib2.0-20240321-092443-juju-7f2275-prod-proposed-migration-environment-3 | 715s | os-extended-volumes:volumes_attached | [] | 715s | progress | 0 | 715s | security_groups | autopkgtest-juju-7f2275-prod-proposed-migration-environment-3@bos01-s390x-14.secgroup | 715s | status | BUILD | 715s | tags | [] | 715s | tenant_id | 3f3b771a247746688951a4c90bf16631 | 715s | updated | 2024-03-21T09:25:30Z | 715s | user_id | 3afbd64474684647986f8a196316be34 | 715s +--------------------------------------+-------------------------------------------------------------------------------------------+ 715s 715s Server building... 0% completeDEBUG (session:517) REQ: curl -g -i -X GET http://nova-api.infra.bos01.scalingstack:8774/v2.1/servers/01c56dd0-cb2d-4bb0-8d72-09109596cb75 -H "Accept: application/json" -H "OpenStack-API-Version: compute 2.60" -H "User-Agent: python-novaclient" -H "X-Auth-Token: {SHA256}8c957d6143b5b73220b5052acd39032f4861c4e7ccad706257e8edcb858b6c94" -H "X-OpenStack-Nova-API-Version: 2.60" 715s DEBUG (connectionpool:429) http://nova-api.infra.bos01.scalingstack:8774 "GET /v2.1/servers/01c56dd0-cb2d-4bb0-8d72-09109596cb75 HTTP/1.1" 200 3000 715s DEBUG (session:548) RESP: [200] Connection: keep-alive Content-Length: 3000 Content-Type: application/json Date: Thu, 21 Mar 2024 09:25:36 GMT Openstack-Api-Version: compute 2.60 Vary: OpenStack-API-Version, X-OpenStack-Nova-API-Version X-Compute-Request-Id: req-97dcfeac-1b8e-4085-8ac6-e09d66a793c9 X-Openstack-Nova-Api-Version: 2.60 X-Openstack-Request-Id: req-97dcfeac-1b8e-4085-8ac6-e09d66a793c9 715s DEBUG (session:580) RESP BODY: {"server": {"OS-EXT-STS:task_state": null, "addresses": {}, "links": [{"href": "http://nova-api.infra.bos01.scalingstack:8774/v2.1/servers/01c56dd0-cb2d-4bb0-8d72-09109596cb75", "rel": "self"}, {"href": "http://nova-api.infra.bos01.scalingstack:8774/servers/01c56dd0-cb2d-4bb0-8d72-09109596cb75", "rel": "bookmark"}], "image": {"id": "a4b1c77c-a35e-4d28-a8d9-902a1febb465", "links": [{"href": "http://nova-api.infra.bos01.scalingstack:8774/images/a4b1c77c-a35e-4d28-a8d9-902a1febb465", "rel": "bookmark"}]}, "OS-EXT-SRV-ATTR:user_data": "I2Nsb3VkLWNvbmZpZwpob3N0bmFtZTogYXV0b3BrZ3Rlc3QKbWFuYWdlX2V0Y19ob3N0czogdHJ1ZQphcHRfdXBkYXRlOiB0cnVlCmFwdF91cGdyYWRlOiBmYWxzZQphcHRfbWlycm9yOiBodHRwOi8vdXMucG9ydHMudWJ1bnR1LmNvbS91YnVudHUtcG9ydHMvCgpydW5jbWQ6CiAtIGVjaG8gJ0FjcXVpcmU6Okxhbmd1YWdlcyAibm9uZSI7JyA+IC9ldGMvYXB0L2FwdC5jb25mLmQvOTBub2xhbmd1YWdlcwogLSBlY2hvICdmb3JjZS11bnNhZmUtaW8nID4gL2V0Yy9kcGtnL2Rwa2cuY2ZnLmQvYXV0b3BrZ3Rlc3QKIC0gcHJpbnRmICdcblRFUk09bGludXhcbidodHRwX3Byb3h5PWh0dHA6Ly9zcXVpZC5pbnRlcm5hbDozMTI4J1xuJ2h0dHBzX3Byb3h5PWh0dHA6Ly9zcXVpZC5pbnRlcm5hbDozMTI4J1xuJ25vX3Byb3h5PTEyNy4wLjAuMSwxMjcuMC4xLjEsbG9naW4udWJ1bnR1LmNvbSxsb2NhbGhvc3QsbG9jYWxkb21haW4sbm92YWxvY2FsLGludGVybmFsLGFyY2hpdmUudWJ1bnR1LmNvbSxwb3J0cy51YnVudHUuY29tLHNlY3VyaXR5LnVidW50dS5jb20sZGRlYnMudWJ1bnR1LmNvbSxjaGFuZ2Vsb2dzLnVidW50dS5jb20sbGF1bmNocGFkbGlicmFyaWFuLm5ldCxsYXVuY2hwYWRjb250ZW50Lm5ldCxsYXVuY2hwYWQubmV0LDEwLjI0LjAuMC8yNCxrZXlzdG9uZS5wczUuY2Fub25pY2FsLmNvbSxvYmplY3RzdG9yYWdlLnByb2RzdGFjazUuY2Fub25pY2FsLmNvbSdcbicgPj4gL2V0Yy9lbnZpcm9ubWVudAogLSBzZWQgLWkgLXIgJy9eMTI3LjAuMS4xLyBzL2F1dG9wa2d0ZXN0LVteIF0rXC4vYXV0b3BrZ3Rlc3RcLi8nIC9ldGMvaG9zdHMK", "OS-EXT-STS:vm_state": "building", "OS-EXT-SRV-ATTR:instance_name": "instance-00d536d0", "OS-EXT-SRV-ATTR:root_device_name": null, "OS-SRV-USG:launched_at": null, "flavor": {"ephemeral": 0, "ram": 1536, "original_name": "autopkgtest", "vcpus": 1, "extra_specs": {"hw_rng:allowed": "True"}, "swap": 0, "disk": 20}, "id": "01c56dd0-cb2d-4bb0-8d72-09109596cb75", "OS-SRV-USG:terminated_at": null, "user_id": "3afbd64474684647986f8a196316be34", "OS-EXT-SRV-ATTR:hostname": "adt-noble-s390x-glib2.0-20240321-092443-juju-7f2275-prod-propos", "OS-DCF:diskConfig": "MANUAL", "accessIPv4": "", "accessIPv6": "", "OS-EXT-SRV-ATTR:reservation_id": "r-bbsibmpk", "progress": 0, "OS-EXT-STS:power_state": 0, "OS-EXT-AZ:availability_zone": "nova", "config_drive": "", "status": "BUILD", "OS-EXT-SRV-ATTR:ramdisk_id": "", "updated": "2024-03-21T09:25:36Z", "hostId": "", "OS-EXT-SRV-ATTR:host": null, "description": null, "tags": [], "key_name": "testbed-juju-7f2275-prod-proposed-migration-environment-3", "OS-EXT-SRV-ATTR:kernel_id": "", "OS-EXT-SRV-ATTR:hypervisor_hostname": null, "locked": false, "name": "adt-noble-s390x-glib2.0-20240321-092443-juju-7f2275-prod-proposed-migration-environment-3", "OS-EXT-SRV-ATTR:launch_index": 0, "created": "2024-03-21T09:25:30Z", "tenant_id": "3f3b771a247746688951a4c90bf16631", "os-extended-volumes:volumes_attached": [], "metadata": {}}} 715s DEBUG (session:936) GET call to compute for http://nova-api.infra.bos01.scalingstack:8774/v2.1/servers/01c56dd0-cb2d-4bb0-8d72-09109596cb75 used request id req-97dcfeac-1b8e-4085-8ac6-e09d66a793c9 715s Server building... 0% completeDEBUG (session:517) REQ: curl -g -i -X GET http://nova-api.infra.bos01.scalingstack:8774/v2.1/servers/01c56dd0-cb2d-4bb0-8d72-09109596cb75 -H "Accept: application/json" -H "OpenStack-API-Version: compute 2.60" -H "User-Agent: python-novaclient" -H "X-Auth-Token: {SHA256}8c957d6143b5b73220b5052acd39032f4861c4e7ccad706257e8edcb858b6c94" -H "X-OpenStack-Nova-API-Version: 2.60" 715s DEBUG (connectionpool:429) http://nova-api.infra.bos01.scalingstack:8774 "GET /v2.1/servers/01c56dd0-cb2d-4bb0-8d72-09109596cb75 HTTP/1.1" 200 3101 715s DEBUG (session:548) RESP: [200] Connection: keep-alive Content-Length: 3101 Content-Type: application/json Date: Thu, 21 Mar 2024 09:25:42 GMT Openstack-Api-Version: compute 2.60 Vary: OpenStack-API-Version, X-OpenStack-Nova-API-Version X-Compute-Request-Id: req-40ffc454-c13a-4758-94f9-6378ca80b10e X-Openstack-Nova-Api-Version: 2.60 X-Openstack-Request-Id: req-40ffc454-c13a-4758-94f9-6378ca80b10e 715s DEBUG (session:580) RESP BODY: {"server": {"OS-EXT-STS:task_state": "spawning", "addresses": {}, "links": [{"href": "http://nova-api.infra.bos01.scalingstack:8774/v2.1/servers/01c56dd0-cb2d-4bb0-8d72-09109596cb75", "rel": "self"}, {"href": "http://nova-api.infra.bos01.scalingstack:8774/servers/01c56dd0-cb2d-4bb0-8d72-09109596cb75", "rel": "bookmark"}], "image": {"id": "a4b1c77c-a35e-4d28-a8d9-902a1febb465", "links": [{"href": "http://nova-api.infra.bos01.scalingstack:8774/images/a4b1c77c-a35e-4d28-a8d9-902a1febb465", "rel": "bookmark"}]}, "OS-EXT-SRV-ATTR:user_data": "I2Nsb3VkLWNvbmZpZwpob3N0bmFtZTogYXV0b3BrZ3Rlc3QKbWFuYWdlX2V0Y19ob3N0czogdHJ1ZQphcHRfdXBkYXRlOiB0cnVlCmFwdF91cGdyYWRlOiBmYWxzZQphcHRfbWlycm9yOiBodHRwOi8vdXMucG9ydHMudWJ1bnR1LmNvbS91YnVudHUtcG9ydHMvCgpydW5jbWQ6CiAtIGVjaG8gJ0FjcXVpcmU6Okxhbmd1YWdlcyAibm9uZSI7JyA+IC9ldGMvYXB0L2FwdC5jb25mLmQvOTBub2xhbmd1YWdlcwogLSBlY2hvICdmb3JjZS11bnNhZmUtaW8nID4gL2V0Yy9kcGtnL2Rwa2cuY2ZnLmQvYXV0b3BrZ3Rlc3QKIC0gcHJpbnRmICdcblRFUk09bGludXhcbidodHRwX3Byb3h5PWh0dHA6Ly9zcXVpZC5pbnRlcm5hbDozMTI4J1xuJ2h0dHBzX3Byb3h5PWh0dHA6Ly9zcXVpZC5pbnRlcm5hbDozMTI4J1xuJ25vX3Byb3h5PTEyNy4wLjAuMSwxMjcuMC4xLjEsbG9naW4udWJ1bnR1LmNvbSxsb2NhbGhvc3QsbG9jYWxkb21haW4sbm92YWxvY2FsLGludGVybmFsLGFyY2hpdmUudWJ1bnR1LmNvbSxwb3J0cy51YnVudHUuY29tLHNlY3VyaXR5LnVidW50dS5jb20sZGRlYnMudWJ1bnR1LmNvbSxjaGFuZ2Vsb2dzLnVidW50dS5jb20sbGF1bmNocGFkbGlicmFyaWFuLm5ldCxsYXVuY2hwYWRjb250ZW50Lm5ldCxsYXVuY2hwYWQubmV0LDEwLjI0LjAuMC8yNCxrZXlzdG9uZS5wczUuY2Fub25pY2FsLmNvbSxvYmplY3RzdG9yYWdlLnByb2RzdGFjazUuY2Fub25pY2FsLmNvbSdcbicgPj4gL2V0Yy9lbnZpcm9ubWVudAogLSBzZWQgLWkgLXIgJy9eMTI3LjAuMS4xLyBzL2F1dG9wa2d0ZXN0LVteIF0rXC4vYXV0b3BrZ3Rlc3RcLi8nIC9ldGMvaG9zdHMK", "OS-EXT-STS:vm_state": "building", "OS-EXT-SRV-ATTR:instance_name": "instance-00d536d0", "OS-EXT-SRV-ATTR:root_device_name": "/dev/sda", "OS-SRV-USG:launched_at": null, "flavor": {"ephemeral": 0, "ram": 1536, "original_name": "autopkgtest", "vcpus": 1, "extra_specs": {"hw_rng:allowed": "True"}, "swap": 0, "disk": 20}, "id": "01c56dd0-cb2d-4bb0-8d72-09109596cb75", "OS-SRV-USG:terminated_at": null, "user_id": "3afbd64474684647986f8a196316be34", "OS-EXT-SRV-ATTR:hostname": "adt-noble-s390x-glib2.0-20240321-092443-juju-7f2275-prod-propos", "OS-DCF:diskConfig": "MANUAL", "accessIPv4": "", "accessIPv6": "", "OS-EXT-SRV-ATTR:reservation_id": "r-bbsibmpk", "progress": 0, "OS-EXT-STS:power_state": 0, "OS-EXT-AZ:availability_zone": "nova", "config_drive": "", "status": "BUILD", "OS-EXT-SRV-ATTR:ramdisk_id": "", "updated": "2024-03-21T09:25:40Z", "hostId": "3afd60b01155ece6c99cde37d631237dcd1798c930b1de8694837ca2", "OS-EXT-SRV-ATTR:host": "swirlix15", "description": null, "tags": [], "key_name": "testbed-juju-7f2275-prod-proposed-migration-environment-3", "OS-EXT-SRV-ATTR:kernel_id": "", "OS-EXT-SRV-ATTR:hypervisor_hostname": "swirlix15.bos01.scalingstack", "locked": false, "name": "adt-noble-s390x-glib2.0-20240321-092443-juju-7f2275-prod-proposed-migration-environment-3", "OS-EXT-SRV-ATTR:launch_index": 0, "created": "2024-03-21T09:25:30Z", "tenant_id": "3f3b771a247746688951a4c90bf16631", "os-extended-volumes:volumes_attached": [], "metadata": {}}} 715s DEBUG (session:936) GET call to compute for http://nova-api.infra.bos01.scalingstack:8774/v2.1/servers/01c56dd0-cb2d-4bb0-8d72-09109596cb75 used request id req-40ffc454-c13a-4758-94f9-6378ca80b10e 715s Server building... 0% completeDEBUG (session:517) REQ: curl -g -i -X GET http://nova-api.infra.bos01.scalingstack:8774/v2.1/servers/01c56dd0-cb2d-4bb0-8d72-09109596cb75 -H "Accept: application/json" -H "OpenStack-API-Version: compute 2.60" -H "User-Agent: python-novaclient" -H "X-Auth-Token: {SHA256}8c957d6143b5b73220b5052acd39032f4861c4e7ccad706257e8edcb858b6c94" -H "X-OpenStack-Nova-API-Version: 2.60" 715s DEBUG (connectionpool:429) http://nova-api.infra.bos01.scalingstack:8774 "GET /v2.1/servers/01c56dd0-cb2d-4bb0-8d72-09109596cb75 HTTP/1.1" 200 3101 715s DEBUG (session:548) RESP: [200] Connection: keep-alive Content-Length: 3101 Content-Type: application/json Date: Thu, 21 Mar 2024 09:25:47 GMT Openstack-Api-Version: compute 2.60 Vary: OpenStack-API-Version, X-OpenStack-Nova-API-Version X-Compute-Request-Id: req-436eb7aa-2937-4d86-a3f4-efcfe521308a X-Openstack-Nova-Api-Version: 2.60 X-Openstack-Request-Id: req-436eb7aa-2937-4d86-a3f4-efcfe521308a 715s DEBUG (session:580) RESP BODY: {"server": {"OS-EXT-STS:task_state": "spawning", "addresses": {}, "links": [{"href": "http://nova-api.infra.bos01.scalingstack:8774/v2.1/servers/01c56dd0-cb2d-4bb0-8d72-09109596cb75", "rel": "self"}, {"href": "http://nova-api.infra.bos01.scalingstack:8774/servers/01c56dd0-cb2d-4bb0-8d72-09109596cb75", "rel": "bookmark"}], "image": {"id": "a4b1c77c-a35e-4d28-a8d9-902a1febb465", "links": [{"href": "http://nova-api.infra.bos01.scalingstack:8774/images/a4b1c77c-a35e-4d28-a8d9-902a1febb465", "rel": "bookmark"}]}, "OS-EXT-SRV-ATTR:user_data": "I2Nsb3VkLWNvbmZpZwpob3N0bmFtZTogYXV0b3BrZ3Rlc3QKbWFuYWdlX2V0Y19ob3N0czogdHJ1ZQphcHRfdXBkYXRlOiB0cnVlCmFwdF91cGdyYWRlOiBmYWxzZQphcHRfbWlycm9yOiBodHRwOi8vdXMucG9ydHMudWJ1bnR1LmNvbS91YnVudHUtcG9ydHMvCgpydW5jbWQ6CiAtIGVjaG8gJ0FjcXVpcmU6Okxhbmd1YWdlcyAibm9uZSI7JyA+IC9ldGMvYXB0L2FwdC5jb25mLmQvOTBub2xhbmd1YWdlcwogLSBlY2hvICdmb3JjZS11bnNhZmUtaW8nID4gL2V0Yy9kcGtnL2Rwa2cuY2ZnLmQvYXV0b3BrZ3Rlc3QKIC0gcHJpbnRmICdcblRFUk09bGludXhcbidodHRwX3Byb3h5PWh0dHA6Ly9zcXVpZC5pbnRlcm5hbDozMTI4J1xuJ2h0dHBzX3Byb3h5PWh0dHA6Ly9zcXVpZC5pbnRlcm5hbDozMTI4J1xuJ25vX3Byb3h5PTEyNy4wLjAuMSwxMjcuMC4xLjEsbG9naW4udWJ1bnR1LmNvbSxsb2NhbGhvc3QsbG9jYWxkb21haW4sbm92YWxvY2FsLGludGVybmFsLGFyY2hpdmUudWJ1bnR1LmNvbSxwb3J0cy51YnVudHUuY29tLHNlY3VyaXR5LnVidW50dS5jb20sZGRlYnMudWJ1bnR1LmNvbSxjaGFuZ2Vsb2dzLnVidW50dS5jb20sbGF1bmNocGFkbGlicmFyaWFuLm5ldCxsYXVuY2hwYWRjb250ZW50Lm5ldCxsYXVuY2hwYWQubmV0LDEwLjI0LjAuMC8yNCxrZXlzdG9uZS5wczUuY2Fub25pY2FsLmNvbSxvYmplY3RzdG9yYWdlLnByb2RzdGFjazUuY2Fub25pY2FsLmNvbSdcbicgPj4gL2V0Yy9lbnZpcm9ubWVudAogLSBzZWQgLWkgLXIgJy9eMTI3LjAuMS4xLyBzL2F1dG9wa2d0ZXN0LVteIF0rXC4vYXV0b3BrZ3Rlc3RcLi8nIC9ldGMvaG9zdHMK", "OS-EXT-STS:vm_state": "building", "OS-EXT-SRV-ATTR:instance_name": "instance-00d536d0", "OS-EXT-SRV-ATTR:root_device_name": "/dev/sda", "OS-SRV-USG:launched_at": null, "flavor": {"ephemeral": 0, "ram": 1536, "original_name": "autopkgtest", "vcpus": 1, "extra_specs": {"hw_rng:allowed": "True"}, "swap": 0, "disk": 20}, "id": "01c56dd0-cb2d-4bb0-8d72-09109596cb75", "OS-SRV-USG:terminated_at": null, "user_id": "3afbd64474684647986f8a196316be34", "OS-EXT-SRV-ATTR:hostname": "adt-noble-s390x-glib2.0-20240321-092443-juju-7f2275-prod-propos", "OS-DCF:diskConfig": "MANUAL", "accessIPv4": "", "accessIPv6": "", "OS-EXT-SRV-ATTR:reservation_id": "r-bbsibmpk", "progress": 0, "OS-EXT-STS:power_state": 0, "OS-EXT-AZ:availability_zone": "nova", "config_drive": "", "status": "BUILD", "OS-EXT-SRV-ATTR:ramdisk_id": "", "updated": "2024-03-21T09:25:40Z", "hostId": "3afd60b01155ece6c99cde37d631237dcd1798c930b1de8694837ca2", "OS-EXT-SRV-ATTR:host": "swirlix15", "description": null, "tags": [], "key_name": "testbed-juju-7f2275-prod-proposed-migration-environment-3", "OS-EXT-SRV-ATTR:kernel_id": "", "OS-EXT-SRV-ATTR:hypervisor_hostname": "swirlix15.bos01.scalingstack", "locked": false, "name": "adt-noble-s390x-glib2.0-20240321-092443-juju-7f2275-prod-proposed-migration-environment-3", "OS-EXT-SRV-ATTR:launch_index": 0, "created": "2024-03-21T09:25:30Z", "tenant_id": "3f3b771a247746688951a4c90bf16631", "os-extended-volumes:volumes_attached": [], "metadata": {}}} 715s DEBUG (session:936) GET call to compute for http://nova-api.infra.bos01.scalingstack:8774/v2.1/servers/01c56dd0-cb2d-4bb0-8d72-09109596cb75 used request id req-436eb7aa-2937-4d86-a3f4-efcfe521308a 715s Server building... 0% completeDEBUG (session:517) REQ: curl -g -i -X GET http://nova-api.infra.bos01.scalingstack:8774/v2.1/servers/01c56dd0-cb2d-4bb0-8d72-09109596cb75 -H "Accept: application/json" -H "OpenStack-API-Version: compute 2.60" -H "User-Agent: python-novaclient" -H "X-Auth-Token: {SHA256}8c957d6143b5b73220b5052acd39032f4861c4e7ccad706257e8edcb858b6c94" -H "X-OpenStack-Nova-API-Version: 2.60" 715s DEBUG (connectionpool:429) http://nova-api.infra.bos01.scalingstack:8774 "GET /v2.1/servers/01c56dd0-cb2d-4bb0-8d72-09109596cb75 HTTP/1.1" 200 3221 715s DEBUG (session:548) RESP: [200] Connection: keep-alive Content-Length: 3221 Content-Type: application/json Date: Thu, 21 Mar 2024 09:25:53 GMT Openstack-Api-Version: compute 2.60 Vary: OpenStack-API-Version, X-OpenStack-Nova-API-Version X-Compute-Request-Id: req-824f5256-54db-419b-96fd-f5d743a254d9 X-Openstack-Nova-Api-Version: 2.60 X-Openstack-Request-Id: req-824f5256-54db-419b-96fd-f5d743a254d9 715s DEBUG (session:580) RESP BODY: {"server": {"OS-EXT-STS:task_state": "spawning", "addresses": {}, "links": [{"href": "http://nova-api.infra.bos01.scalingstack:8774/v2.1/servers/01c56dd0-cb2d-4bb0-8d72-09109596cb75", "rel": "self"}, {"href": "http://nova-api.infra.bos01.scalingstack:8774/servers/01c56dd0-cb2d-4bb0-8d72-09109596cb75", "rel": "bookmark"}], "image": {"id": "a4b1c77c-a35e-4d28-a8d9-902a1febb465", "links": [{"href": "http://nova-api.infra.bos01.scalingstack:8774/images/a4b1c77c-a35e-4d28-a8d9-902a1febb465", "rel": "bookmark"}]}, "OS-EXT-SRV-ATTR:user_data": "I2Nsb3VkLWNvbmZpZwpob3N0bmFtZTogYXV0b3BrZ3Rlc3QKbWFuYWdlX2V0Y19ob3N0czogdHJ1ZQphcHRfdXBkYXRlOiB0cnVlCmFwdF91cGdyYWRlOiBmYWxzZQphcHRfbWlycm9yOiBodHRwOi8vdXMucG9ydHMudWJ1bnR1LmNvbS91YnVudHUtcG9ydHMvCgpydW5jbWQ6CiAtIGVjaG8gJ0FjcXVpcmU6Okxhbmd1YWdlcyAibm9uZSI7JyA+IC9ldGMvYXB0L2FwdC5jb25mLmQvOTBub2xhbmd1YWdlcwogLSBlY2hvICdmb3JjZS11bnNhZmUtaW8nID4gL2V0Yy9kcGtnL2Rwa2cuY2ZnLmQvYXV0b3BrZ3Rlc3QKIC0gcHJpbnRmICdcblRFUk09bGludXhcbidodHRwX3Byb3h5PWh0dHA6Ly9zcXVpZC5pbnRlcm5hbDozMTI4J1xuJ2h0dHBzX3Byb3h5PWh0dHA6Ly9zcXVpZC5pbnRlcm5hbDozMTI4J1xuJ25vX3Byb3h5PTEyNy4wLjAuMSwxMjcuMC4xLjEsbG9naW4udWJ1bnR1LmNvbSxsb2NhbGhvc3QsbG9jYWxkb21haW4sbm92YWxvY2FsLGludGVybmFsLGFyY2hpdmUudWJ1bnR1LmNvbSxwb3J0cy51YnVudHUuY29tLHNlY3VyaXR5LnVidW50dS5jb20sZGRlYnMudWJ1bnR1LmNvbSxjaGFuZ2Vsb2dzLnVidW50dS5jb20sbGF1bmNocGFkbGlicmFyaWFuLm5ldCxsYXVuY2hwYWRjb250ZW50Lm5ldCxsYXVuY2hwYWQubmV0LDEwLjI0LjAuMC8yNCxrZXlzdG9uZS5wczUuY2Fub25pY2FsLmNvbSxvYmplY3RzdG9yYWdlLnByb2RzdGFjazUuY2Fub25pY2FsLmNvbSdcbicgPj4gL2V0Yy9lbnZpcm9ubWVudAogLSBzZWQgLWkgLXIgJy9eMTI3LjAuMS4xLyBzL2F1dG9wa2d0ZXN0LVteIF0rXC4vYXV0b3BrZ3Rlc3RcLi8nIC9ldGMvaG9zdHMK", "OS-EXT-STS:vm_state": "building", "OS-EXT-SRV-ATTR:instance_name": "instance-00d536d0", "OS-EXT-SRV-ATTR:root_device_name": "/dev/sda", "OS-SRV-USG:launched_at": null, "flavor": {"ephemeral": 0, "ram": 1536, "original_name": "autopkgtest", "vcpus": 1, "extra_specs": {"hw_rng:allowed": "True"}, "swap": 0, "disk": 20}, "id": "01c56dd0-cb2d-4bb0-8d72-09109596cb75", "security_groups": [{"name": "autopkgtest-juju-7f2275-prod-proposed-migration-environment-3@bos01-s390x-14.secgroup"}], "OS-SRV-USG:terminated_at": null, "user_id": "3afbd64474684647986f8a196316be34", "OS-EXT-SRV-ATTR:hostname": "adt-noble-s390x-glib2.0-20240321-092443-juju-7f2275-prod-propos", "OS-DCF:diskConfig": "MANUAL", "accessIPv4": "", "accessIPv6": "", "OS-EXT-SRV-ATTR:reservation_id": "r-bbsibmpk", "progress": 0, "OS-EXT-STS:power_state": 0, "OS-EXT-AZ:availability_zone": "nova", "config_drive": "", "status": "BUILD", "OS-EXT-SRV-ATTR:ramdisk_id": "", "updated": "2024-03-21T09:25:40Z", "hostId": "3afd60b01155ece6c99cde37d631237dcd1798c930b1de8694837ca2", "OS-EXT-SRV-ATTR:host": "swirlix15", "description": null, "tags": [], "key_name": "testbed-juju-7f2275-prod-proposed-migration-environment-3", "OS-EXT-SRV-ATTR:kernel_id": "", "OS-EXT-SRV-ATTR:hypervisor_hostname": "swirlix15.bos01.scalingstack", "locked": false, "name": "adt-noble-s390x-glib2.0-20240321-092443-juju-7f2275-prod-proposed-migration-environment-3", "OS-EXT-SRV-ATTR:launch_index": 0, "created": "2024-03-21T09:25:30Z", "tenant_id": "3f3b771a247746688951a4c90bf16631", "os-extended-volumes:volumes_attached": [], "metadata": {}}} 715s DEBUG (session:936) GET call to compute for http://nova-api.infra.bos01.scalingstack:8774/v2.1/servers/01c56dd0-cb2d-4bb0-8d72-09109596cb75 used request id req-824f5256-54db-419b-96fd-f5d743a254d9 715s Server building... 0% completeDEBUG (session:517) REQ: curl -g -i -X GET http://nova-api.infra.bos01.scalingstack:8774/v2.1/servers/01c56dd0-cb2d-4bb0-8d72-09109596cb75 -H "Accept: application/json" -H "OpenStack-API-Version: compute 2.60" -H "User-Agent: python-novaclient" -H "X-Auth-Token: {SHA256}8c957d6143b5b73220b5052acd39032f4861c4e7ccad706257e8edcb858b6c94" -H "X-OpenStack-Nova-API-Version: 2.60" 715s DEBUG (connectionpool:429) http://nova-api.infra.bos01.scalingstack:8774 "GET /v2.1/servers/01c56dd0-cb2d-4bb0-8d72-09109596cb75 HTTP/1.1" 200 3221 715s DEBUG (session:548) RESP: [200] Connection: keep-alive Content-Length: 3221 Content-Type: application/json Date: Thu, 21 Mar 2024 09:25:58 GMT Openstack-Api-Version: compute 2.60 Vary: OpenStack-API-Version, X-OpenStack-Nova-API-Version X-Compute-Request-Id: req-e003f1bd-33fa-4cb7-be3e-2904779f0dfb X-Openstack-Nova-Api-Version: 2.60 X-Openstack-Request-Id: req-e003f1bd-33fa-4cb7-be3e-2904779f0dfb 715s DEBUG (session:580) RESP BODY: {"server": {"OS-EXT-STS:task_state": "spawning", "addresses": {}, "links": [{"href": "http://nova-api.infra.bos01.scalingstack:8774/v2.1/servers/01c56dd0-cb2d-4bb0-8d72-09109596cb75", "rel": "self"}, {"href": "http://nova-api.infra.bos01.scalingstack:8774/servers/01c56dd0-cb2d-4bb0-8d72-09109596cb75", "rel": "bookmark"}], "image": {"id": "a4b1c77c-a35e-4d28-a8d9-902a1febb465", "links": [{"href": "http://nova-api.infra.bos01.scalingstack:8774/images/a4b1c77c-a35e-4d28-a8d9-902a1febb465", "rel": "bookmark"}]}, "OS-EXT-SRV-ATTR:user_data": "I2Nsb3VkLWNvbmZpZwpob3N0bmFtZTogYXV0b3BrZ3Rlc3QKbWFuYWdlX2V0Y19ob3N0czogdHJ1ZQphcHRfdXBkYXRlOiB0cnVlCmFwdF91cGdyYWRlOiBmYWxzZQphcHRfbWlycm9yOiBodHRwOi8vdXMucG9ydHMudWJ1bnR1LmNvbS91YnVudHUtcG9ydHMvCgpydW5jbWQ6CiAtIGVjaG8gJ0FjcXVpcmU6Okxhbmd1YWdlcyAibm9uZSI7JyA+IC9ldGMvYXB0L2FwdC5jb25mLmQvOTBub2xhbmd1YWdlcwogLSBlY2hvICdmb3JjZS11bnNhZmUtaW8nID4gL2V0Yy9kcGtnL2Rwa2cuY2ZnLmQvYXV0b3BrZ3Rlc3QKIC0gcHJpbnRmICdcblRFUk09bGludXhcbidodHRwX3Byb3h5PWh0dHA6Ly9zcXVpZC5pbnRlcm5hbDozMTI4J1xuJ2h0dHBzX3Byb3h5PWh0dHA6Ly9zcXVpZC5pbnRlcm5hbDozMTI4J1xuJ25vX3Byb3h5PTEyNy4wLjAuMSwxMjcuMC4xLjEsbG9naW4udWJ1bnR1LmNvbSxsb2NhbGhvc3QsbG9jYWxkb21haW4sbm92YWxvY2FsLGludGVybmFsLGFyY2hpdmUudWJ1bnR1LmNvbSxwb3J0cy51YnVudHUuY29tLHNlY3VyaXR5LnVidW50dS5jb20sZGRlYnMudWJ1bnR1LmNvbSxjaGFuZ2Vsb2dzLnVidW50dS5jb20sbGF1bmNocGFkbGlicmFyaWFuLm5ldCxsYXVuY2hwYWRjb250ZW50Lm5ldCxsYXVuY2hwYWQubmV0LDEwLjI0LjAuMC8yNCxrZXlzdG9uZS5wczUuY2Fub25pY2FsLmNvbSxvYmplY3RzdG9yYWdlLnByb2RzdGFjazUuY2Fub25pY2FsLmNvbSdcbicgPj4gL2V0Yy9lbnZpcm9ubWVudAogLSBzZWQgLWkgLXIgJy9eMTI3LjAuMS4xLyBzL2F1dG9wa2d0ZXN0LVteIF0rXC4vYXV0b3BrZ3Rlc3RcLi8nIC9ldGMvaG9zdHMK", "OS-EXT-STS:vm_state": "building", "OS-EXT-SRV-ATTR:instance_name": "instance-00d536d0", "OS-EXT-SRV-ATTR:root_device_name": "/dev/sda", "OS-SRV-USG:launched_at": null, "flavor": {"ephemeral": 0, "ram": 1536, "original_name": "autopkgtest", "vcpus": 1, "extra_specs": {"hw_rng:allowed": "True"}, "swap": 0, "disk": 20}, "id": "01c56dd0-cb2d-4bb0-8d72-09109596cb75", "security_groups": [{"name": "autopkgtest-juju-7f2275-prod-proposed-migration-environment-3@bos01-s390x-14.secgroup"}], "OS-SRV-USG:terminated_at": null, "user_id": "3afbd64474684647986f8a196316be34", "OS-EXT-SRV-ATTR:hostname": "adt-noble-s390x-glib2.0-20240321-092443-juju-7f2275-prod-propos", "OS-DCF:diskConfig": "MANUAL", "accessIPv4": "", "accessIPv6": "", "OS-EXT-SRV-ATTR:reservation_id": "r-bbsibmpk", "progress": 0, "OS-EXT-STS:power_state": 0, "OS-EXT-AZ:availability_zone": "nova", "config_drive": "", "status": "BUILD", "OS-EXT-SRV-ATTR:ramdisk_id": "", "updated": "2024-03-21T09:25:40Z", "hostId": "3afd60b01155ece6c99cde37d631237dcd1798c930b1de8694837ca2", "OS-EXT-SRV-ATTR:host": "swirlix15", "description": null, "tags": [], "key_name": "testbed-juju-7f2275-prod-proposed-migration-environment-3", "OS-EXT-SRV-ATTR:kernel_id": "", "OS-EXT-SRV-ATTR:hypervisor_hostname": "swirlix15.bos01.scalingstack", "locked": false, "name": "adt-noble-s390x-glib2.0-20240321-092443-juju-7f2275-prod-proposed-migration-environment-3", "OS-EXT-SRV-ATTR:launch_index": 0, "created": "2024-03-21T09:25:30Z", "tenant_id": "3f3b771a247746688951a4c90bf16631", "os-extended-volumes:volumes_attached": [], "metadata": {}}} 715s DEBUG (session:936) GET call to compute for http://nova-api.infra.bos01.scalingstack:8774/v2.1/servers/01c56dd0-cb2d-4bb0-8d72-09109596cb75 used request id req-e003f1bd-33fa-4cb7-be3e-2904779f0dfb 715s Server building... 0% completeDEBUG (session:517) REQ: curl -g -i -X GET http://nova-api.infra.bos01.scalingstack:8774/v2.1/servers/01c56dd0-cb2d-4bb0-8d72-09109596cb75 -H "Accept: application/json" -H "OpenStack-API-Version: compute 2.60" -H "User-Agent: python-novaclient" -H "X-Auth-Token: {SHA256}8c957d6143b5b73220b5052acd39032f4861c4e7ccad706257e8edcb858b6c94" -H "X-OpenStack-Nova-API-Version: 2.60" 715s DEBUG (connectionpool:429) http://nova-api.infra.bos01.scalingstack:8774 "GET /v2.1/servers/01c56dd0-cb2d-4bb0-8d72-09109596cb75 HTTP/1.1" 200 3221 715s DEBUG (session:548) RESP: [200] Connection: keep-alive Content-Length: 3221 Content-Type: application/json Date: Thu, 21 Mar 2024 09:26:04 GMT Openstack-Api-Version: compute 2.60 Vary: OpenStack-API-Version, X-OpenStack-Nova-API-Version X-Compute-Request-Id: req-418eb9c9-8ada-428e-ada8-266a7709cb3c X-Openstack-Nova-Api-Version: 2.60 X-Openstack-Request-Id: req-418eb9c9-8ada-428e-ada8-266a7709cb3c 715s DEBUG (session:580) RESP BODY: {"server": {"OS-EXT-STS:task_state": "spawning", "addresses": {}, "links": [{"href": "http://nova-api.infra.bos01.scalingstack:8774/v2.1/servers/01c56dd0-cb2d-4bb0-8d72-09109596cb75", "rel": "self"}, {"href": "http://nova-api.infra.bos01.scalingstack:8774/servers/01c56dd0-cb2d-4bb0-8d72-09109596cb75", "rel": "bookmark"}], "image": {"id": "a4b1c77c-a35e-4d28-a8d9-902a1febb465", "links": [{"href": "http://nova-api.infra.bos01.scalingstack:8774/images/a4b1c77c-a35e-4d28-a8d9-902a1febb465", "rel": "bookmark"}]}, "OS-EXT-SRV-ATTR:user_data": "I2Nsb3VkLWNvbmZpZwpob3N0bmFtZTogYXV0b3BrZ3Rlc3QKbWFuYWdlX2V0Y19ob3N0czogdHJ1ZQphcHRfdXBkYXRlOiB0cnVlCmFwdF91cGdyYWRlOiBmYWxzZQphcHRfbWlycm9yOiBodHRwOi8vdXMucG9ydHMudWJ1bnR1LmNvbS91YnVudHUtcG9ydHMvCgpydW5jbWQ6CiAtIGVjaG8gJ0FjcXVpcmU6Okxhbmd1YWdlcyAibm9uZSI7JyA+IC9ldGMvYXB0L2FwdC5jb25mLmQvOTBub2xhbmd1YWdlcwogLSBlY2hvICdmb3JjZS11bnNhZmUtaW8nID4gL2V0Yy9kcGtnL2Rwa2cuY2ZnLmQvYXV0b3BrZ3Rlc3QKIC0gcHJpbnRmICdcblRFUk09bGludXhcbidodHRwX3Byb3h5PWh0dHA6Ly9zcXVpZC5pbnRlcm5hbDozMTI4J1xuJ2h0dHBzX3Byb3h5PWh0dHA6Ly9zcXVpZC5pbnRlcm5hbDozMTI4J1xuJ25vX3Byb3h5PTEyNy4wLjAuMSwxMjcuMC4xLjEsbG9naW4udWJ1bnR1LmNvbSxsb2NhbGhvc3QsbG9jYWxkb21haW4sbm92YWxvY2FsLGludGVybmFsLGFyY2hpdmUudWJ1bnR1LmNvbSxwb3J0cy51YnVudHUuY29tLHNlY3VyaXR5LnVidW50dS5jb20sZGRlYnMudWJ1bnR1LmNvbSxjaGFuZ2Vsb2dzLnVidW50dS5jb20sbGF1bmNocGFkbGlicmFyaWFuLm5ldCxsYXVuY2hwYWRjb250ZW50Lm5ldCxsYXVuY2hwYWQubmV0LDEwLjI0LjAuMC8yNCxrZXlzdG9uZS5wczUuY2Fub25pY2FsLmNvbSxvYmplY3RzdG9yYWdlLnByb2RzdGFjazUuY2Fub25pY2FsLmNvbSdcbicgPj4gL2V0Yy9lbnZpcm9ubWVudAogLSBzZWQgLWkgLXIgJy9eMTI3LjAuMS4xLyBzL2F1dG9wa2d0ZXN0LVteIF0rXC4vYXV0b3BrZ3Rlc3RcLi8nIC9ldGMvaG9zdHMK", "OS-EXT-STS:vm_state": "building", "OS-EXT-SRV-ATTR:instance_name": "instance-00d536d0", "OS-EXT-SRV-ATTR:root_device_name": "/dev/sda", "OS-SRV-USG:launched_at": null, "flavor": {"ephemeral": 0, "ram": 1536, "original_name": "autopkgtest", "vcpus": 1, "extra_specs": {"hw_rng:allowed": "True"}, "swap": 0, "disk": 20}, "id": "01c56dd0-cb2d-4bb0-8d72-09109596cb75", "security_groups": [{"name": "autopkgtest-juju-7f2275-prod-proposed-migration-environment-3@bos01-s390x-14.secgroup"}], "OS-SRV-USG:terminated_at": null, "user_id": "3afbd64474684647986f8a196316be34", "OS-EXT-SRV-ATTR:hostname": "adt-noble-s390x-glib2.0-20240321-092443-juju-7f2275-prod-propos", "OS-DCF:diskConfig": "MANUAL", "accessIPv4": "", "accessIPv6": "", "OS-EXT-SRV-ATTR:reservation_id": "r-bbsibmpk", "progress": 0, "OS-EXT-STS:power_state": 0, "OS-EXT-AZ:availability_zone": "nova", "config_drive": "", "status": "BUILD", "OS-EXT-SRV-ATTR:ramdisk_id": "", "updated": "2024-03-21T09:25:40Z", "hostId": "3afd60b01155ece6c99cde37d631237dcd1798c930b1de8694837ca2", "OS-EXT-SRV-ATTR:host": "swirlix15", "description": null, "tags": [], "key_name": "testbed-juju-7f2275-prod-proposed-migration-environment-3", "OS-EXT-SRV-ATTR:kernel_id": "", "OS-EXT-SRV-ATTR:hypervisor_hostname": "swirlix15.bos01.scalingstack", "locked": false, "name": "adt-noble-s390x-glib2.0-20240321-092443-juju-7f2275-prod-proposed-migration-environment-3", "OS-EXT-SRV-ATTR:launch_index": 0, "created": "2024-03-21T09:25:30Z", "tenant_id": "3f3b771a247746688951a4c90bf16631", "os-extended-volumes:volumes_attached": [], "metadata": {}}} 715s DEBUG (session:936) GET call to compute for http://nova-api.infra.bos01.scalingstack:8774/v2.1/servers/01c56dd0-cb2d-4bb0-8d72-09109596cb75 used request id req-418eb9c9-8ada-428e-ada8-266a7709cb3c 715s Server building... 0% completeDEBUG (session:517) REQ: curl -g -i -X GET http://nova-api.infra.bos01.scalingstack:8774/v2.1/servers/01c56dd0-cb2d-4bb0-8d72-09109596cb75 -H "Accept: application/json" -H "OpenStack-API-Version: compute 2.60" -H "User-Agent: python-novaclient" -H "X-Auth-Token: {SHA256}8c957d6143b5b73220b5052acd39032f4861c4e7ccad706257e8edcb858b6c94" -H "X-OpenStack-Nova-API-Version: 2.60" 715s DEBUG (connectionpool:429) http://nova-api.infra.bos01.scalingstack:8774 "GET /v2.1/servers/01c56dd0-cb2d-4bb0-8d72-09109596cb75 HTTP/1.1" 200 3221 715s DEBUG (session:548) RESP: [200] Connection: keep-alive Content-Length: 3221 Content-Type: application/json Date: Thu, 21 Mar 2024 09:26:10 GMT Openstack-Api-Version: compute 2.60 Vary: OpenStack-API-Version, X-OpenStack-Nova-API-Version X-Compute-Request-Id: req-d5c52883-6ef8-4219-b71d-cdea7c6a3bad X-Openstack-Nova-Api-Version: 2.60 X-Openstack-Request-Id: req-d5c52883-6ef8-4219-b71d-cdea7c6a3bad 715s DEBUG (session:580) RESP BODY: {"server": {"OS-EXT-STS:task_state": "spawning", "addresses": {}, "links": [{"href": "http://nova-api.infra.bos01.scalingstack:8774/v2.1/servers/01c56dd0-cb2d-4bb0-8d72-09109596cb75", "rel": "self"}, {"href": "http://nova-api.infra.bos01.scalingstack:8774/servers/01c56dd0-cb2d-4bb0-8d72-09109596cb75", "rel": "bookmark"}], "image": {"id": "a4b1c77c-a35e-4d28-a8d9-902a1febb465", "links": [{"href": "http://nova-api.infra.bos01.scalingstack:8774/images/a4b1c77c-a35e-4d28-a8d9-902a1febb465", "rel": "bookmark"}]}, "OS-EXT-SRV-ATTR:user_data": "I2Nsb3VkLWNvbmZpZwpob3N0bmFtZTogYXV0b3BrZ3Rlc3QKbWFuYWdlX2V0Y19ob3N0czogdHJ1ZQphcHRfdXBkYXRlOiB0cnVlCmFwdF91cGdyYWRlOiBmYWxzZQphcHRfbWlycm9yOiBodHRwOi8vdXMucG9ydHMudWJ1bnR1LmNvbS91YnVudHUtcG9ydHMvCgpydW5jbWQ6CiAtIGVjaG8gJ0FjcXVpcmU6Okxhbmd1YWdlcyAibm9uZSI7JyA+IC9ldGMvYXB0L2FwdC5jb25mLmQvOTBub2xhbmd1YWdlcwogLSBlY2hvICdmb3JjZS11bnNhZmUtaW8nID4gL2V0Yy9kcGtnL2Rwa2cuY2ZnLmQvYXV0b3BrZ3Rlc3QKIC0gcHJpbnRmICdcblRFUk09bGludXhcbidodHRwX3Byb3h5PWh0dHA6Ly9zcXVpZC5pbnRlcm5hbDozMTI4J1xuJ2h0dHBzX3Byb3h5PWh0dHA6Ly9zcXVpZC5pbnRlcm5hbDozMTI4J1xuJ25vX3Byb3h5PTEyNy4wLjAuMSwxMjcuMC4xLjEsbG9naW4udWJ1bnR1LmNvbSxsb2NhbGhvc3QsbG9jYWxkb21haW4sbm92YWxvY2FsLGludGVybmFsLGFyY2hpdmUudWJ1bnR1LmNvbSxwb3J0cy51YnVudHUuY29tLHNlY3VyaXR5LnVidW50dS5jb20sZGRlYnMudWJ1bnR1LmNvbSxjaGFuZ2Vsb2dzLnVidW50dS5jb20sbGF1bmNocGFkbGlicmFyaWFuLm5ldCxsYXVuY2hwYWRjb250ZW50Lm5ldCxsYXVuY2hwYWQubmV0LDEwLjI0LjAuMC8yNCxrZXlzdG9uZS5wczUuY2Fub25pY2FsLmNvbSxvYmplY3RzdG9yYWdlLnByb2RzdGFjazUuY2Fub25pY2FsLmNvbSdcbicgPj4gL2V0Yy9lbnZpcm9ubWVudAogLSBzZWQgLWkgLXIgJy9eMTI3LjAuMS4xLyBzL2F1dG9wa2d0ZXN0LVteIF0rXC4vYXV0b3BrZ3Rlc3RcLi8nIC9ldGMvaG9zdHMK", "OS-EXT-STS:vm_state": "building", "OS-EXT-SRV-ATTR:instance_name": "instance-00d536d0", "OS-EXT-SRV-ATTR:root_device_name": "/dev/sda", "OS-SRV-USG:launched_at": null, "flavor": {"ephemeral": 0, "ram": 1536, "original_name": "autopkgtest", "vcpus": 1, "extra_specs": {"hw_rng:allowed": "True"}, "swap": 0, "disk": 20}, "id": "01c56dd0-cb2d-4bb0-8d72-09109596cb75", "security_groups": [{"name": "autopkgtest-juju-7f2275-prod-proposed-migration-environment-3@bos01-s390x-14.secgroup"}], "OS-SRV-USG:terminated_at": null, "user_id": "3afbd64474684647986f8a196316be34", "OS-EXT-SRV-ATTR:hostname": "adt-noble-s390x-glib2.0-20240321-092443-juju-7f2275-prod-propos", "OS-DCF:diskConfig": "MANUAL", "accessIPv4": "", "accessIPv6": "", "OS-EXT-SRV-ATTR:reservation_id": "r-bbsibmpk", "progress": 0, "OS-EXT-STS:power_state": 0, "OS-EXT-AZ:availability_zone": "nova", "config_drive": "", "status": "BUILD", "OS-EXT-SRV-ATTR:ramdisk_id": "", "updated": "2024-03-21T09:25:40Z", "hostId": "3afd60b01155ece6c99cde37d631237dcd1798c930b1de8694837ca2", "OS-EXT-SRV-ATTR:host": "swirlix15", "description": null, "tags": [], "key_name": "testbed-juju-7f2275-prod-proposed-migration-environment-3", "OS-EXT-SRV-ATTR:kernel_id": "", "OS-EXT-SRV-ATTR:hypervisor_hostname": "swirlix15.bos01.scalingstack", "locked": false, "name": "adt-noble-s390x-glib2.0-20240321-092443-juju-7f2275-prod-proposed-migration-environment-3", "OS-EXT-SRV-ATTR:launch_index": 0, "created": "2024-03-21T09:25:30Z", "tenant_id": "3f3b771a247746688951a4c90bf16631", "os-extended-volumes:volumes_attached": [], "metadata": {}}} 715s DEBUG (session:936) GET call to compute for http://nova-api.infra.bos01.scalingstack:8774/v2.1/servers/01c56dd0-cb2d-4bb0-8d72-09109596cb75 used request id req-d5c52883-6ef8-4219-b71d-cdea7c6a3bad 715s Server building... 0% completeDEBUG (session:517) REQ: curl -g -i -X GET http://nova-api.infra.bos01.scalingstack:8774/v2.1/servers/01c56dd0-cb2d-4bb0-8d72-09109596cb75 -H "Accept: application/json" -H "OpenStack-API-Version: compute 2.60" -H "User-Agent: python-novaclient" -H "X-Auth-Token: {SHA256}8c957d6143b5b73220b5052acd39032f4861c4e7ccad706257e8edcb858b6c94" -H "X-OpenStack-Nova-API-Version: 2.60" 715s DEBUG (connectionpool:429) http://nova-api.infra.bos01.scalingstack:8774 "GET /v2.1/servers/01c56dd0-cb2d-4bb0-8d72-09109596cb75 HTTP/1.1" 200 3221 715s DEBUG (session:548) RESP: [200] Connection: keep-alive Content-Length: 3221 Content-Type: application/json Date: Thu, 21 Mar 2024 09:26:16 GMT Openstack-Api-Version: compute 2.60 Vary: OpenStack-API-Version, X-OpenStack-Nova-API-Version X-Compute-Request-Id: req-5ce88769-4051-40ec-83ff-8ba57a254e58 X-Openstack-Nova-Api-Version: 2.60 X-Openstack-Request-Id: req-5ce88769-4051-40ec-83ff-8ba57a254e58 715s DEBUG (session:580) RESP BODY: {"server": {"OS-EXT-STS:task_state": "spawning", "addresses": {}, "links": [{"href": "http://nova-api.infra.bos01.scalingstack:8774/v2.1/servers/01c56dd0-cb2d-4bb0-8d72-09109596cb75", "rel": "self"}, {"href": "http://nova-api.infra.bos01.scalingstack:8774/servers/01c56dd0-cb2d-4bb0-8d72-09109596cb75", "rel": "bookmark"}], "image": {"id": "a4b1c77c-a35e-4d28-a8d9-902a1febb465", "links": [{"href": "http://nova-api.infra.bos01.scalingstack:8774/images/a4b1c77c-a35e-4d28-a8d9-902a1febb465", "rel": "bookmark"}]}, "OS-EXT-SRV-ATTR:user_data": "I2Nsb3VkLWNvbmZpZwpob3N0bmFtZTogYXV0b3BrZ3Rlc3QKbWFuYWdlX2V0Y19ob3N0czogdHJ1ZQphcHRfdXBkYXRlOiB0cnVlCmFwdF91cGdyYWRlOiBmYWxzZQphcHRfbWlycm9yOiBodHRwOi8vdXMucG9ydHMudWJ1bnR1LmNvbS91YnVudHUtcG9ydHMvCgpydW5jbWQ6CiAtIGVjaG8gJ0FjcXVpcmU6Okxhbmd1YWdlcyAibm9uZSI7JyA+IC9ldGMvYXB0L2FwdC5jb25mLmQvOTBub2xhbmd1YWdlcwogLSBlY2hvICdmb3JjZS11bnNhZmUtaW8nID4gL2V0Yy9kcGtnL2Rwa2cuY2ZnLmQvYXV0b3BrZ3Rlc3QKIC0gcHJpbnRmICdcblRFUk09bGludXhcbidodHRwX3Byb3h5PWh0dHA6Ly9zcXVpZC5pbnRlcm5hbDozMTI4J1xuJ2h0dHBzX3Byb3h5PWh0dHA6Ly9zcXVpZC5pbnRlcm5hbDozMTI4J1xuJ25vX3Byb3h5PTEyNy4wLjAuMSwxMjcuMC4xLjEsbG9naW4udWJ1bnR1LmNvbSxsb2NhbGhvc3QsbG9jYWxkb21haW4sbm92YWxvY2FsLGludGVybmFsLGFyY2hpdmUudWJ1bnR1LmNvbSxwb3J0cy51YnVudHUuY29tLHNlY3VyaXR5LnVidW50dS5jb20sZGRlYnMudWJ1bnR1LmNvbSxjaGFuZ2Vsb2dzLnVidW50dS5jb20sbGF1bmNocGFkbGlicmFyaWFuLm5ldCxsYXVuY2hwYWRjb250ZW50Lm5ldCxsYXVuY2hwYWQubmV0LDEwLjI0LjAuMC8yNCxrZXlzdG9uZS5wczUuY2Fub25pY2FsLmNvbSxvYmplY3RzdG9yYWdlLnByb2RzdGFjazUuY2Fub25pY2FsLmNvbSdcbicgPj4gL2V0Yy9lbnZpcm9ubWVudAogLSBzZWQgLWkgLXIgJy9eMTI3LjAuMS4xLyBzL2F1dG9wa2d0ZXN0LVteIF0rXC4vYXV0b3BrZ3Rlc3RcLi8nIC9ldGMvaG9zdHMK", "OS-EXT-STS:vm_state": "building", "OS-EXT-SRV-ATTR:instance_name": "instance-00d536d0", "OS-EXT-SRV-ATTR:root_device_name": "/dev/sda", "OS-SRV-USG:launched_at": null, "flavor": {"ephemeral": 0, "ram": 1536, "original_name": "autopkgtest", "vcpus": 1, "extra_specs": {"hw_rng:allowed": "True"}, "swap": 0, "disk": 20}, "id": "01c56dd0-cb2d-4bb0-8d72-09109596cb75", "security_groups": [{"name": "autopkgtest-juju-7f2275-prod-proposed-migration-environment-3@bos01-s390x-14.secgroup"}], "OS-SRV-USG:terminated_at": null, "user_id": "3afbd64474684647986f8a196316be34", "OS-EXT-SRV-ATTR:hostname": "adt-noble-s390x-glib2.0-20240321-092443-juju-7f2275-prod-propos", "OS-DCF:diskConfig": "MANUAL", "accessIPv4": "", "accessIPv6": "", "OS-EXT-SRV-ATTR:reservation_id": "r-bbsibmpk", "progress": 0, "OS-EXT-STS:power_state": 0, "OS-EXT-AZ:availability_zone": "nova", "config_drive": "", "status": "BUILD", "OS-EXT-SRV-ATTR:ramdisk_id": "", "updated": "2024-03-21T09:25:40Z", "hostId": "3afd60b01155ece6c99cde37d631237dcd1798c930b1de8694837ca2", "OS-EXT-SRV-ATTR:host": "swirlix15", "description": null, "tags": [], "key_name": "testbed-juju-7f2275-prod-proposed-migration-environment-3", "OS-EXT-SRV-ATTR:kernel_id": "", "OS-EXT-SRV-ATTR:hypervisor_hostname": "swirlix15.bos01.scalingstack", "locked": false, "name": "adt-noble-s390x-glib2.0-20240321-092443-juju-7f2275-prod-proposed-migration-environment-3", "OS-EXT-SRV-ATTR:launch_index": 0, "created": "2024-03-21T09:25:30Z", "tenant_id": "3f3b771a247746688951a4c90bf16631", "os-extended-volumes:volumes_attached": [], "metadata": {}}} 715s DEBUG (session:936) GET call to compute for http://nova-api.infra.bos01.scalingstack:8774/v2.1/servers/01c56dd0-cb2d-4bb0-8d72-09109596cb75 used request id req-5ce88769-4051-40ec-83ff-8ba57a254e58 715s Server building... 0% completeDEBUG (session:517) REQ: curl -g -i -X GET http://nova-api.infra.bos01.scalingstack:8774/v2.1/servers/01c56dd0-cb2d-4bb0-8d72-09109596cb75 -H "Accept: application/json" -H "OpenStack-API-Version: compute 2.60" -H "User-Agent: python-novaclient" -H "X-Auth-Token: {SHA256}8c957d6143b5b73220b5052acd39032f4861c4e7ccad706257e8edcb858b6c94" -H "X-OpenStack-Nova-API-Version: 2.60" 715s DEBUG (connectionpool:429) http://nova-api.infra.bos01.scalingstack:8774 "GET /v2.1/servers/01c56dd0-cb2d-4bb0-8d72-09109596cb75 HTTP/1.1" 200 3132 715s DEBUG (session:548) RESP: [200] Connection: keep-alive Content-Length: 3132 Content-Type: application/json Date: Thu, 21 Mar 2024 09:26:21 GMT Openstack-Api-Version: compute 2.60 Vary: OpenStack-API-Version, X-OpenStack-Nova-API-Version X-Compute-Request-Id: req-c5299274-f5fb-4699-9de9-388a3cab5ea0 X-Openstack-Nova-Api-Version: 2.60 X-Openstack-Request-Id: req-c5299274-f5fb-4699-9de9-388a3cab5ea0 715s DEBUG (session:580) RESP BODY: {"server": {"OS-EXT-STS:task_state": "spawning", "addresses": {}, "links": [{"href": "http://nova-api.infra.bos01.scalingstack:8774/v2.1/servers/01c56dd0-cb2d-4bb0-8d72-09109596cb75", "rel": "self"}, {"href": "http://nova-api.infra.bos01.scalingstack:8774/servers/01c56dd0-cb2d-4bb0-8d72-09109596cb75", "rel": "bookmark"}], "image": {"id": "a4b1c77c-a35e-4d28-a8d9-902a1febb465", "links": [{"href": "http://nova-api.infra.bos01.scalingstack:8774/images/a4b1c77c-a35e-4d28-a8d9-902a1febb465", "rel": "bookmark"}]}, "OS-EXT-SRV-ATTR:user_data": "I2Nsb3VkLWNvbmZpZwpob3N0bmFtZTogYXV0b3BrZ3Rlc3QKbWFuYWdlX2V0Y19ob3N0czogdHJ1ZQphcHRfdXBkYXRlOiB0cnVlCmFwdF91cGdyYWRlOiBmYWxzZQphcHRfbWlycm9yOiBodHRwOi8vdXMucG9ydHMudWJ1bnR1LmNvbS91YnVudHUtcG9ydHMvCgpydW5jbWQ6CiAtIGVjaG8gJ0FjcXVpcmU6Okxhbmd1YWdlcyAibm9uZSI7JyA+IC9ldGMvYXB0L2FwdC5jb25mLmQvOTBub2xhbmd1YWdlcwogLSBlY2hvICdmb3JjZS11bnNhZmUtaW8nID4gL2V0Yy9kcGtnL2Rwa2cuY2ZnLmQvYXV0b3BrZ3Rlc3QKIC0gcHJpbnRmICdcblRFUk09bGludXhcbidodHRwX3Byb3h5PWh0dHA6Ly9zcXVpZC5pbnRlcm5hbDozMTI4J1xuJ2h0dHBzX3Byb3h5PWh0dHA6Ly9zcXVpZC5pbnRlcm5hbDozMTI4J1xuJ25vX3Byb3h5PTEyNy4wLjAuMSwxMjcuMC4xLjEsbG9naW4udWJ1bnR1LmNvbSxsb2NhbGhvc3QsbG9jYWxkb21haW4sbm92YWxvY2FsLGludGVybmFsLGFyY2hpdmUudWJ1bnR1LmNvbSxwb3J0cy51YnVudHUuY29tLHNlY3VyaXR5LnVidW50dS5jb20sZGRlYnMudWJ1bnR1LmNvbSxjaGFuZ2Vsb2dzLnVidW50dS5jb20sbGF1bmNocGFkbGlicmFyaWFuLm5ldCxsYXVuY2hwYWRjb250ZW50Lm5ldCxsYXVuY2hwYWQubmV0LDEwLjI0LjAuMC8yNCxrZXlzdG9uZS5wczUuY2Fub25pY2FsLmNvbSxvYmplY3RzdG9yYWdlLnByb2RzdGFjazUuY2Fub25pY2FsLmNvbSdcbicgPj4gL2V0Yy9lbnZpcm9ubWVudAogLSBzZWQgLWkgLXIgJy9eMTI3LjAuMS4xLyBzL2F1dG9wa2d0ZXN0LVteIF0rXC4vYXV0b3BrZ3Rlc3RcLi8nIC9ldGMvaG9zdHMK", "OS-EXT-STS:vm_state": "building", "OS-EXT-SRV-ATTR:instance_name": "instance-00d536d0", "OS-EXT-SRV-ATTR:root_device_name": "/dev/sda", "OS-SRV-USG:launched_at": null, "flavor": {"ephemeral": 0, "ram": 1536, "original_name": "autopkgtest", "vcpus": 1, "extra_specs": {"hw_rng:allowed": "True"}, "swap": 0, "disk": 20}, "id": "01c56dd0-cb2d-4bb0-8d72-09109596cb75", "security_groups": [{"name": "autopkgtest-juju-7f2275-prod-proposed-migration-environment-3@bos01-s390x-14.secgroup"}], "OS-SRV-USG:terminated_at": null, "user_id": "3afbd64474684647986f8a196316be34", "OS-EXT-SRV-ATTR:hostname": "adt-noble-s390x-glib2.0-20240321-092443-juju-7f2275-prod-propos", "OS-DCF:diskConfig": "MANUAL", "accessIPv4": "", "accessIPv6": "", "OS-EXT-SRV-ATTR:reservation_id": "r-bbsibmpk", "progress": 0, "OS-EXT-STS:power_state": 0, "OS-EXT-AZ:availability_zone": "nova", "config_drive": "", "status": "BUILD", "OS-EXT-SRV-ATTR:ramdisk_id": "", "updated": "2024-03-21T09:26:21Z", "hostId": "", "OS-EXT-SRV-ATTR:host": null, "description": null, "tags": [], "key_name": "testbed-juju-7f2275-prod-proposed-migration-environment-3", "OS-EXT-SRV-ATTR:kernel_id": "", "OS-EXT-SRV-ATTR:hypervisor_hostname": null, "locked": false, "name": "adt-noble-s390x-glib2.0-20240321-092443-juju-7f2275-prod-proposed-migration-environment-3", "OS-EXT-SRV-ATTR:launch_index": 0, "created": "2024-03-21T09:25:30Z", "tenant_id": "3f3b771a247746688951a4c90bf16631", "os-extended-volumes:volumes_attached": [], "metadata": {}}} 715s DEBUG (session:936) GET call to compute for http://nova-api.infra.bos01.scalingstack:8774/v2.1/servers/01c56dd0-cb2d-4bb0-8d72-09109596cb75 used request id req-c5299274-f5fb-4699-9de9-388a3cab5ea0 715s Server building... 0% completeDEBUG (session:517) REQ: curl -g -i -X GET http://nova-api.infra.bos01.scalingstack:8774/v2.1/servers/01c56dd0-cb2d-4bb0-8d72-09109596cb75 -H "Accept: application/json" -H "OpenStack-API-Version: compute 2.60" -H "User-Agent: python-novaclient" -H "X-Auth-Token: {SHA256}8c957d6143b5b73220b5052acd39032f4861c4e7ccad706257e8edcb858b6c94" -H "X-OpenStack-Nova-API-Version: 2.60" 715s DEBUG (connectionpool:429) http://nova-api.infra.bos01.scalingstack:8774 "GET /v2.1/servers/01c56dd0-cb2d-4bb0-8d72-09109596cb75 HTTP/1.1" 200 3012 715s DEBUG (session:548) RESP: [200] Connection: keep-alive Content-Length: 3012 Content-Type: application/json Date: Thu, 21 Mar 2024 09:26:27 GMT Openstack-Api-Version: compute 2.60 Vary: OpenStack-API-Version, X-OpenStack-Nova-API-Version X-Compute-Request-Id: req-8cdda4f6-44d0-406b-a8e1-b979bee12550 X-Openstack-Nova-Api-Version: 2.60 X-Openstack-Request-Id: req-8cdda4f6-44d0-406b-a8e1-b979bee12550 715s DEBUG (session:580) RESP BODY: {"server": {"OS-EXT-STS:task_state": "spawning", "addresses": {}, "links": [{"href": "http://nova-api.infra.bos01.scalingstack:8774/v2.1/servers/01c56dd0-cb2d-4bb0-8d72-09109596cb75", "rel": "self"}, {"href": "http://nova-api.infra.bos01.scalingstack:8774/servers/01c56dd0-cb2d-4bb0-8d72-09109596cb75", "rel": "bookmark"}], "image": {"id": "a4b1c77c-a35e-4d28-a8d9-902a1febb465", "links": [{"href": "http://nova-api.infra.bos01.scalingstack:8774/images/a4b1c77c-a35e-4d28-a8d9-902a1febb465", "rel": "bookmark"}]}, "OS-EXT-SRV-ATTR:user_data": "I2Nsb3VkLWNvbmZpZwpob3N0bmFtZTogYXV0b3BrZ3Rlc3QKbWFuYWdlX2V0Y19ob3N0czogdHJ1ZQphcHRfdXBkYXRlOiB0cnVlCmFwdF91cGdyYWRlOiBmYWxzZQphcHRfbWlycm9yOiBodHRwOi8vdXMucG9ydHMudWJ1bnR1LmNvbS91YnVudHUtcG9ydHMvCgpydW5jbWQ6CiAtIGVjaG8gJ0FjcXVpcmU6Okxhbmd1YWdlcyAibm9uZSI7JyA+IC9ldGMvYXB0L2FwdC5jb25mLmQvOTBub2xhbmd1YWdlcwogLSBlY2hvICdmb3JjZS11bnNhZmUtaW8nID4gL2V0Yy9kcGtnL2Rwa2cuY2ZnLmQvYXV0b3BrZ3Rlc3QKIC0gcHJpbnRmICdcblRFUk09bGludXhcbidodHRwX3Byb3h5PWh0dHA6Ly9zcXVpZC5pbnRlcm5hbDozMTI4J1xuJ2h0dHBzX3Byb3h5PWh0dHA6Ly9zcXVpZC5pbnRlcm5hbDozMTI4J1xuJ25vX3Byb3h5PTEyNy4wLjAuMSwxMjcuMC4xLjEsbG9naW4udWJ1bnR1LmNvbSxsb2NhbGhvc3QsbG9jYWxkb21haW4sbm92YWxvY2FsLGludGVybmFsLGFyY2hpdmUudWJ1bnR1LmNvbSxwb3J0cy51YnVudHUuY29tLHNlY3VyaXR5LnVidW50dS5jb20sZGRlYnMudWJ1bnR1LmNvbSxjaGFuZ2Vsb2dzLnVidW50dS5jb20sbGF1bmNocGFkbGlicmFyaWFuLm5ldCxsYXVuY2hwYWRjb250ZW50Lm5ldCxsYXVuY2hwYWQubmV0LDEwLjI0LjAuMC8yNCxrZXlzdG9uZS5wczUuY2Fub25pY2FsLmNvbSxvYmplY3RzdG9yYWdlLnByb2RzdGFjazUuY2Fub25pY2FsLmNvbSdcbicgPj4gL2V0Yy9lbnZpcm9ubWVudAogLSBzZWQgLWkgLXIgJy9eMTI3LjAuMS4xLyBzL2F1dG9wa2d0ZXN0LVteIF0rXC4vYXV0b3BrZ3Rlc3RcLi8nIC9ldGMvaG9zdHMK", "OS-EXT-STS:vm_state": "building", "OS-EXT-SRV-ATTR:instance_name": "instance-00d536d0", "OS-EXT-SRV-ATTR:root_device_name": "/dev/sda", "OS-SRV-USG:launched_at": null, "flavor": {"ephemeral": 0, "ram": 1536, "original_name": "autopkgtest", "vcpus": 1, "extra_specs": {"hw_rng:allowed": "True"}, "swap": 0, "disk": 20}, "id": "01c56dd0-cb2d-4bb0-8d72-09109596cb75", "OS-SRV-USG:terminated_at": null, "user_id": "3afbd64474684647986f8a196316be34", "OS-EXT-SRV-ATTR:hostname": "adt-noble-s390x-glib2.0-20240321-092443-juju-7f2275-prod-propos", "OS-DCF:diskConfig": "MANUAL", "accessIPv4": "", "accessIPv6": "", "OS-EXT-SRV-ATTR:reservation_id": "r-bbsibmpk", "progress": 0, "OS-EXT-STS:power_state": 0, "OS-EXT-AZ:availability_zone": "nova", "config_drive": "", "status": "BUILD", "OS-EXT-SRV-ATTR:ramdisk_id": "", "updated": "2024-03-21T09:26:27Z", "hostId": "", "OS-EXT-SRV-ATTR:host": null, "description": null, "tags": [], "key_name": "testbed-juju-7f2275-prod-proposed-migration-environment-3", "OS-EXT-SRV-ATTR:kernel_id": "", "OS-EXT-SRV-ATTR:hypervisor_hostname": null, "locked": false, "name": "adt-noble-s390x-glib2.0-20240321-092443-juju-7f2275-prod-proposed-migration-environment-3", "OS-EXT-SRV-ATTR:launch_index": 0, "created": "2024-03-21T09:25:30Z", "tenant_id": "3f3b771a247746688951a4c90bf16631", "os-extended-volumes:volumes_attached": [], "metadata": {}}} 715s DEBUG (session:936) GET call to compute for http://nova-api.infra.bos01.scalingstack:8774/v2.1/servers/01c56dd0-cb2d-4bb0-8d72-09109596cb75 used request id req-8cdda4f6-44d0-406b-a8e1-b979bee12550 715s Server building... 0% completeDEBUG (session:517) REQ: curl -g -i -X GET http://nova-api.infra.bos01.scalingstack:8774/v2.1/servers/01c56dd0-cb2d-4bb0-8d72-09109596cb75 -H "Accept: application/json" -H "OpenStack-API-Version: compute 2.60" -H "User-Agent: python-novaclient" -H "X-Auth-Token: {SHA256}8c957d6143b5b73220b5052acd39032f4861c4e7ccad706257e8edcb858b6c94" -H "X-OpenStack-Nova-API-Version: 2.60" 715s DEBUG (connectionpool:429) http://nova-api.infra.bos01.scalingstack:8774 "GET /v2.1/servers/01c56dd0-cb2d-4bb0-8d72-09109596cb75 HTTP/1.1" 200 3095 715s DEBUG (session:548) RESP: [200] Connection: keep-alive Content-Length: 3095 Content-Type: application/json Date: Thu, 21 Mar 2024 09:26:32 GMT Openstack-Api-Version: compute 2.60 Vary: OpenStack-API-Version, X-OpenStack-Nova-API-Version X-Compute-Request-Id: req-95ba4123-aca9-486a-ae27-dd5c35702e0f X-Openstack-Nova-Api-Version: 2.60 X-Openstack-Request-Id: req-95ba4123-aca9-486a-ae27-dd5c35702e0f 715s DEBUG (session:580) RESP BODY: {"server": {"OS-EXT-STS:task_state": null, "addresses": {}, "links": [{"href": "http://nova-api.infra.bos01.scalingstack:8774/v2.1/servers/01c56dd0-cb2d-4bb0-8d72-09109596cb75", "rel": "self"}, {"href": "http://nova-api.infra.bos01.scalingstack:8774/servers/01c56dd0-cb2d-4bb0-8d72-09109596cb75", "rel": "bookmark"}], "image": {"id": "a4b1c77c-a35e-4d28-a8d9-902a1febb465", "links": [{"href": "http://nova-api.infra.bos01.scalingstack:8774/images/a4b1c77c-a35e-4d28-a8d9-902a1febb465", "rel": "bookmark"}]}, "OS-EXT-SRV-ATTR:user_data": "I2Nsb3VkLWNvbmZpZwpob3N0bmFtZTogYXV0b3BrZ3Rlc3QKbWFuYWdlX2V0Y19ob3N0czogdHJ1ZQphcHRfdXBkYXRlOiB0cnVlCmFwdF91cGdyYWRlOiBmYWxzZQphcHRfbWlycm9yOiBodHRwOi8vdXMucG9ydHMudWJ1bnR1LmNvbS91YnVudHUtcG9ydHMvCgpydW5jbWQ6CiAtIGVjaG8gJ0FjcXVpcmU6Okxhbmd1YWdlcyAibm9uZSI7JyA+IC9ldGMvYXB0L2FwdC5jb25mLmQvOTBub2xhbmd1YWdlcwogLSBlY2hvICdmb3JjZS11bnNhZmUtaW8nID4gL2V0Yy9kcGtnL2Rwa2cuY2ZnLmQvYXV0b3BrZ3Rlc3QKIC0gcHJpbnRmICdcblRFUk09bGludXhcbidodHRwX3Byb3h5PWh0dHA6Ly9zcXVpZC5pbnRlcm5hbDozMTI4J1xuJ2h0dHBzX3Byb3h5PWh0dHA6Ly9zcXVpZC5pbnRlcm5hbDozMTI4J1xuJ25vX3Byb3h5PTEyNy4wLjAuMSwxMjcuMC4xLjEsbG9naW4udWJ1bnR1LmNvbSxsb2NhbGhvc3QsbG9jYWxkb21haW4sbm92YWxvY2FsLGludGVybmFsLGFyY2hpdmUudWJ1bnR1LmNvbSxwb3J0cy51YnVudHUuY29tLHNlY3VyaXR5LnVidW50dS5jb20sZGRlYnMudWJ1bnR1LmNvbSxjaGFuZ2Vsb2dzLnVidW50dS5jb20sbGF1bmNocGFkbGlicmFyaWFuLm5ldCxsYXVuY2hwYWRjb250ZW50Lm5ldCxsYXVuY2hwYWQubmV0LDEwLjI0LjAuMC8yNCxrZXlzdG9uZS5wczUuY2Fub25pY2FsLmNvbSxvYmplY3RzdG9yYWdlLnByb2RzdGFjazUuY2Fub25pY2FsLmNvbSdcbicgPj4gL2V0Yy9lbnZpcm9ubWVudAogLSBzZWQgLWkgLXIgJy9eMTI3LjAuMS4xLyBzL2F1dG9wa2d0ZXN0LVteIF0rXC4vYXV0b3BrZ3Rlc3RcLi8nIC9ldGMvaG9zdHMK", "OS-EXT-STS:vm_state": "building", "OS-EXT-SRV-ATTR:instance_name": "instance-00d536d0", "OS-EXT-SRV-ATTR:root_device_name": "/dev/sda", "OS-SRV-USG:launched_at": null, "flavor": {"ephemeral": 0, "ram": 1536, "original_name": "autopkgtest", "vcpus": 1, "extra_specs": {"hw_rng:allowed": "True"}, "swap": 0, "disk": 20}, "id": "01c56dd0-cb2d-4bb0-8d72-09109596cb75", "OS-SRV-USG:terminated_at": null, "user_id": "3afbd64474684647986f8a196316be34", "OS-EXT-SRV-ATTR:hostname": "adt-noble-s390x-glib2.0-20240321-092443-juju-7f2275-prod-propos", "OS-DCF:diskConfig": "MANUAL", "accessIPv4": "", "accessIPv6": "", "OS-EXT-SRV-ATTR:reservation_id": "r-bbsibmpk", "progress": 0, "OS-EXT-STS:power_state": 0, "OS-EXT-AZ:availability_zone": "nova", "config_drive": "", "status": "BUILD", "OS-EXT-SRV-ATTR:ramdisk_id": "", "updated": "2024-03-21T09:26:31Z", "hostId": "e86e4255ccc62e3906c0ee1ba48805f4dc4d30fe2fd576ed7b2bb89e", "OS-EXT-SRV-ATTR:host": "swirlix13", "description": null, "tags": [], "key_name": "testbed-juju-7f2275-prod-proposed-migration-environment-3", "OS-EXT-SRV-ATTR:kernel_id": "", "OS-EXT-SRV-ATTR:hypervisor_hostname": "swirlix13.bos01.scalingstack", "locked": false, "name": "adt-noble-s390x-glib2.0-20240321-092443-juju-7f2275-prod-proposed-migration-environment-3", "OS-EXT-SRV-ATTR:launch_index": 0, "created": "2024-03-21T09:25:30Z", "tenant_id": "3f3b771a247746688951a4c90bf16631", "os-extended-volumes:volumes_attached": [], "metadata": {}}} 715s DEBUG (session:936) GET call to compute for http://nova-api.infra.bos01.scalingstack:8774/v2.1/servers/01c56dd0-cb2d-4bb0-8d72-09109596cb75 used request id req-95ba4123-aca9-486a-ae27-dd5c35702e0f 715s Server building... 0% completeDEBUG (session:517) REQ: curl -g -i -X GET http://nova-api.infra.bos01.scalingstack:8774/v2.1/servers/01c56dd0-cb2d-4bb0-8d72-09109596cb75 -H "Accept: application/json" -H "OpenStack-API-Version: compute 2.60" -H "User-Agent: python-novaclient" -H "X-Auth-Token: {SHA256}8c957d6143b5b73220b5052acd39032f4861c4e7ccad706257e8edcb858b6c94" -H "X-OpenStack-Nova-API-Version: 2.60" 715s DEBUG (connectionpool:429) http://nova-api.infra.bos01.scalingstack:8774 "GET /v2.1/servers/01c56dd0-cb2d-4bb0-8d72-09109596cb75 HTTP/1.1" 200 3113 715s DEBUG (session:548) RESP: [200] Connection: keep-alive Content-Length: 3113 Content-Type: application/json Date: Thu, 21 Mar 2024 09:26:38 GMT Openstack-Api-Version: compute 2.60 Vary: OpenStack-API-Version, X-OpenStack-Nova-API-Version X-Compute-Request-Id: req-2515ce02-df41-4032-a95b-bb056db348dc X-Openstack-Nova-Api-Version: 2.60 X-Openstack-Request-Id: req-2515ce02-df41-4032-a95b-bb056db348dc 715s DEBUG (session:580) RESP BODY: {"server": {"OS-EXT-STS:task_state": "block_device_mapping", "addresses": {}, "links": [{"href": "http://nova-api.infra.bos01.scalingstack:8774/v2.1/servers/01c56dd0-cb2d-4bb0-8d72-09109596cb75", "rel": "self"}, {"href": "http://nova-api.infra.bos01.scalingstack:8774/servers/01c56dd0-cb2d-4bb0-8d72-09109596cb75", "rel": "bookmark"}], "image": {"id": "a4b1c77c-a35e-4d28-a8d9-902a1febb465", "links": [{"href": "http://nova-api.infra.bos01.scalingstack:8774/images/a4b1c77c-a35e-4d28-a8d9-902a1febb465", "rel": "bookmark"}]}, "OS-EXT-SRV-ATTR:user_data": "I2Nsb3VkLWNvbmZpZwpob3N0bmFtZTogYXV0b3BrZ3Rlc3QKbWFuYWdlX2V0Y19ob3N0czogdHJ1ZQphcHRfdXBkYXRlOiB0cnVlCmFwdF91cGdyYWRlOiBmYWxzZQphcHRfbWlycm9yOiBodHRwOi8vdXMucG9ydHMudWJ1bnR1LmNvbS91YnVudHUtcG9ydHMvCgpydW5jbWQ6CiAtIGVjaG8gJ0FjcXVpcmU6Okxhbmd1YWdlcyAibm9uZSI7JyA+IC9ldGMvYXB0L2FwdC5jb25mLmQvOTBub2xhbmd1YWdlcwogLSBlY2hvICdmb3JjZS11bnNhZmUtaW8nID4gL2V0Yy9kcGtnL2Rwa2cuY2ZnLmQvYXV0b3BrZ3Rlc3QKIC0gcHJpbnRmICdcblRFUk09bGludXhcbidodHRwX3Byb3h5PWh0dHA6Ly9zcXVpZC5pbnRlcm5hbDozMTI4J1xuJ2h0dHBzX3Byb3h5PWh0dHA6Ly9zcXVpZC5pbnRlcm5hbDozMTI4J1xuJ25vX3Byb3h5PTEyNy4wLjAuMSwxMjcuMC4xLjEsbG9naW4udWJ1bnR1LmNvbSxsb2NhbGhvc3QsbG9jYWxkb21haW4sbm92YWxvY2FsLGludGVybmFsLGFyY2hpdmUudWJ1bnR1LmNvbSxwb3J0cy51YnVudHUuY29tLHNlY3VyaXR5LnVidW50dS5jb20sZGRlYnMudWJ1bnR1LmNvbSxjaGFuZ2Vsb2dzLnVidW50dS5jb20sbGF1bmNocGFkbGlicmFyaWFuLm5ldCxsYXVuY2hwYWRjb250ZW50Lm5ldCxsYXVuY2hwYWQubmV0LDEwLjI0LjAuMC8yNCxrZXlzdG9uZS5wczUuY2Fub25pY2FsLmNvbSxvYmplY3RzdG9yYWdlLnByb2RzdGFjazUuY2Fub25pY2FsLmNvbSdcbicgPj4gL2V0Yy9lbnZpcm9ubWVudAogLSBzZWQgLWkgLXIgJy9eMTI3LjAuMS4xLyBzL2F1dG9wa2d0ZXN0LVteIF0rXC4vYXV0b3BrZ3Rlc3RcLi8nIC9ldGMvaG9zdHMK", "OS-EXT-STS:vm_state": "building", "OS-EXT-SRV-ATTR:instance_name": "instance-00d536d0", "OS-EXT-SRV-ATTR:root_device_name": "/dev/sda", "OS-SRV-USG:launched_at": null, "flavor": {"ephemeral": 0, "ram": 1536, "original_name": "autopkgtest", "vcpus": 1, "extra_specs": {"hw_rng:allowed": "True"}, "swap": 0, "disk": 20}, "id": "01c56dd0-cb2d-4bb0-8d72-09109596cb75", "OS-SRV-USG:terminated_at": null, "user_id": "3afbd64474684647986f8a196316be34", "OS-EXT-SRV-ATTR:hostname": "adt-noble-s390x-glib2.0-20240321-092443-juju-7f2275-prod-propos", "OS-DCF:diskConfig": "MANUAL", "accessIPv4": "", "accessIPv6": "", "OS-EXT-SRV-ATTR:reservation_id": "r-bbsibmpk", "progress": 0, "OS-EXT-STS:power_state": 0, "OS-EXT-AZ:availability_zone": "nova", "config_drive": "", "status": "BUILD", "OS-EXT-SRV-ATTR:ramdisk_id": "", "updated": "2024-03-21T09:26:38Z", "hostId": "e86e4255ccc62e3906c0ee1ba48805f4dc4d30fe2fd576ed7b2bb89e", "OS-EXT-SRV-ATTR:host": "swirlix13", "description": null, "tags": [], "key_name": "testbed-juju-7f2275-prod-proposed-migration-environment-3", "OS-EXT-SRV-ATTR:kernel_id": "", "OS-EXT-SRV-ATTR:hypervisor_hostname": "swirlix13.bos01.scalingstack", "locked": false, "name": "adt-noble-s390x-glib2.0-20240321-092443-juju-7f2275-prod-proposed-migration-environment-3", "OS-EXT-SRV-ATTR:launch_index": 0, "created": "2024-03-21T09:25:30Z", "tenant_id": "3f3b771a247746688951a4c90bf16631", "os-extended-volumes:volumes_attached": [], "metadata": {}}} 715s DEBUG (session:936) GET call to compute for http://nova-api.infra.bos01.scalingstack:8774/v2.1/servers/01c56dd0-cb2d-4bb0-8d72-09109596cb75 used request id req-2515ce02-df41-4032-a95b-bb056db348dc 715s Server building... 0% completeDEBUG (session:517) REQ: curl -g -i -X GET http://nova-api.infra.bos01.scalingstack:8774/v2.1/servers/01c56dd0-cb2d-4bb0-8d72-09109596cb75 -H "Accept: application/json" -H "OpenStack-API-Version: compute 2.60" -H "User-Agent: python-novaclient" -H "X-Auth-Token: {SHA256}8c957d6143b5b73220b5052acd39032f4861c4e7ccad706257e8edcb858b6c94" -H "X-OpenStack-Nova-API-Version: 2.60" 715s DEBUG (connectionpool:429) http://nova-api.infra.bos01.scalingstack:8774 "GET /v2.1/servers/01c56dd0-cb2d-4bb0-8d72-09109596cb75 HTTP/1.1" 200 3101 715s DEBUG (session:548) RESP: [200] Connection: keep-alive Content-Length: 3101 Content-Type: application/json Date: Thu, 21 Mar 2024 09:26:46 GMT Openstack-Api-Version: compute 2.60 Vary: OpenStack-API-Version, X-OpenStack-Nova-API-Version X-Compute-Request-Id: req-80c2d474-ae8b-4b0f-b1a7-67550350ae44 X-Openstack-Nova-Api-Version: 2.60 X-Openstack-Request-Id: req-80c2d474-ae8b-4b0f-b1a7-67550350ae44 715s DEBUG (session:580) RESP BODY: {"server": {"OS-EXT-STS:task_state": "spawning", "addresses": {}, "links": [{"href": "http://nova-api.infra.bos01.scalingstack:8774/v2.1/servers/01c56dd0-cb2d-4bb0-8d72-09109596cb75", "rel": "self"}, {"href": "http://nova-api.infra.bos01.scalingstack:8774/servers/01c56dd0-cb2d-4bb0-8d72-09109596cb75", "rel": "bookmark"}], "image": {"id": "a4b1c77c-a35e-4d28-a8d9-902a1febb465", "links": [{"href": "http://nova-api.infra.bos01.scalingstack:8774/images/a4b1c77c-a35e-4d28-a8d9-902a1febb465", "rel": "bookmark"}]}, "OS-EXT-SRV-ATTR:user_data": "I2Nsb3VkLWNvbmZpZwpob3N0bmFtZTogYXV0b3BrZ3Rlc3QKbWFuYWdlX2V0Y19ob3N0czogdHJ1ZQphcHRfdXBkYXRlOiB0cnVlCmFwdF91cGdyYWRlOiBmYWxzZQphcHRfbWlycm9yOiBodHRwOi8vdXMucG9ydHMudWJ1bnR1LmNvbS91YnVudHUtcG9ydHMvCgpydW5jbWQ6CiAtIGVjaG8gJ0FjcXVpcmU6Okxhbmd1YWdlcyAibm9uZSI7JyA+IC9ldGMvYXB0L2FwdC5jb25mLmQvOTBub2xhbmd1YWdlcwogLSBlY2hvICdmb3JjZS11bnNhZmUtaW8nID4gL2V0Yy9kcGtnL2Rwa2cuY2ZnLmQvYXV0b3BrZ3Rlc3QKIC0gcHJpbnRmICdcblRFUk09bGludXhcbidodHRwX3Byb3h5PWh0dHA6Ly9zcXVpZC5pbnRlcm5hbDozMTI4J1xuJ2h0dHBzX3Byb3h5PWh0dHA6Ly9zcXVpZC5pbnRlcm5hbDozMTI4J1xuJ25vX3Byb3h5PTEyNy4wLjAuMSwxMjcuMC4xLjEsbG9naW4udWJ1bnR1LmNvbSxsb2NhbGhvc3QsbG9jYWxkb21haW4sbm92YWxvY2FsLGludGVybmFsLGFyY2hpdmUudWJ1bnR1LmNvbSxwb3J0cy51YnVudHUuY29tLHNlY3VyaXR5LnVidW50dS5jb20sZGRlYnMudWJ1bnR1LmNvbSxjaGFuZ2Vsb2dzLnVidW50dS5jb20sbGF1bmNocGFkbGlicmFyaWFuLm5ldCxsYXVuY2hwYWRjb250ZW50Lm5ldCxsYXVuY2hwYWQubmV0LDEwLjI0LjAuMC8yNCxrZXlzdG9uZS5wczUuY2Fub25pY2FsLmNvbSxvYmplY3RzdG9yYWdlLnByb2RzdGFjazUuY2Fub25pY2FsLmNvbSdcbicgPj4gL2V0Yy9lbnZpcm9ubWVudAogLSBzZWQgLWkgLXIgJy9eMTI3LjAuMS4xLyBzL2F1dG9wa2d0ZXN0LVteIF0rXC4vYXV0b3BrZ3Rlc3RcLi8nIC9ldGMvaG9zdHMK", "OS-EXT-STS:vm_state": "building", "OS-EXT-SRV-ATTR:instance_name": "instance-00d536d0", "OS-EXT-SRV-ATTR:root_device_name": "/dev/sda", "OS-SRV-USG:launched_at": null, "flavor": {"ephemeral": 0, "ram": 1536, "original_name": "autopkgtest", "vcpus": 1, "extra_specs": {"hw_rng:allowed": "True"}, "swap": 0, "disk": 20}, "id": "01c56dd0-cb2d-4bb0-8d72-09109596cb75", "OS-SRV-USG:terminated_at": null, "user_id": "3afbd64474684647986f8a196316be34", "OS-EXT-SRV-ATTR:hostname": "adt-noble-s390x-glib2.0-20240321-092443-juju-7f2275-prod-propos", "OS-DCF:diskConfig": "MANUAL", "accessIPv4": "", "accessIPv6": "", "OS-EXT-SRV-ATTR:reservation_id": "r-bbsibmpk", "progress": 0, "OS-EXT-STS:power_state": 0, "OS-EXT-AZ:availability_zone": "nova", "config_drive": "", "status": "BUILD", "OS-EXT-SRV-ATTR:ramdisk_id": "", "updated": "2024-03-21T09:26:38Z", "hostId": "e86e4255ccc62e3906c0ee1ba48805f4dc4d30fe2fd576ed7b2bb89e", "OS-EXT-SRV-ATTR:host": "swirlix13", "description": null, "tags": [], "key_name": "testbed-juju-7f2275-prod-proposed-migration-environment-3", "OS-EXT-SRV-ATTR:kernel_id": "", "OS-EXT-SRV-ATTR:hypervisor_hostname": "swirlix13.bos01.scalingstack", "locked": false, "name": "adt-noble-s390x-glib2.0-20240321-092443-juju-7f2275-prod-proposed-migration-environment-3", "OS-EXT-SRV-ATTR:launch_index": 0, "created": "2024-03-21T09:25:30Z", "tenant_id": "3f3b771a247746688951a4c90bf16631", "os-extended-volumes:volumes_attached": [], "metadata": {}}} 715s DEBUG (session:936) GET call to compute for http://nova-api.infra.bos01.scalingstack:8774/v2.1/servers/01c56dd0-cb2d-4bb0-8d72-09109596cb75 used request id req-80c2d474-ae8b-4b0f-b1a7-67550350ae44 715s Server building... 0% completeDEBUG (session:517) REQ: curl -g -i -X GET http://nova-api.infra.bos01.scalingstack:8774/v2.1/servers/01c56dd0-cb2d-4bb0-8d72-09109596cb75 -H "Accept: application/json" -H "OpenStack-API-Version: compute 2.60" -H "User-Agent: python-novaclient" -H "X-Auth-Token: {SHA256}8c957d6143b5b73220b5052acd39032f4861c4e7ccad706257e8edcb858b6c94" -H "X-OpenStack-Nova-API-Version: 2.60" 715s DEBUG (connectionpool:429) http://nova-api.infra.bos01.scalingstack:8774 "GET /v2.1/servers/01c56dd0-cb2d-4bb0-8d72-09109596cb75 HTTP/1.1" 200 3221 715s DEBUG (session:548) RESP: [200] Connection: keep-alive Content-Length: 3221 Content-Type: application/json Date: Thu, 21 Mar 2024 09:26:51 GMT Openstack-Api-Version: compute 2.60 Vary: OpenStack-API-Version, X-OpenStack-Nova-API-Version X-Compute-Request-Id: req-086e5d43-6648-41d1-8593-1f1470b3b4ae X-Openstack-Nova-Api-Version: 2.60 X-Openstack-Request-Id: req-086e5d43-6648-41d1-8593-1f1470b3b4ae 715s DEBUG (session:580) RESP BODY: {"server": {"OS-EXT-STS:task_state": "spawning", "addresses": {}, "links": [{"href": "http://nova-api.infra.bos01.scalingstack:8774/v2.1/servers/01c56dd0-cb2d-4bb0-8d72-09109596cb75", "rel": "self"}, {"href": "http://nova-api.infra.bos01.scalingstack:8774/servers/01c56dd0-cb2d-4bb0-8d72-09109596cb75", "rel": "bookmark"}], "image": {"id": "a4b1c77c-a35e-4d28-a8d9-902a1febb465", "links": [{"href": "http://nova-api.infra.bos01.scalingstack:8774/images/a4b1c77c-a35e-4d28-a8d9-902a1febb465", "rel": "bookmark"}]}, "OS-EXT-SRV-ATTR:user_data": "I2Nsb3VkLWNvbmZpZwpob3N0bmFtZTogYXV0b3BrZ3Rlc3QKbWFuYWdlX2V0Y19ob3N0czogdHJ1ZQphcHRfdXBkYXRlOiB0cnVlCmFwdF91cGdyYWRlOiBmYWxzZQphcHRfbWlycm9yOiBodHRwOi8vdXMucG9ydHMudWJ1bnR1LmNvbS91YnVudHUtcG9ydHMvCgpydW5jbWQ6CiAtIGVjaG8gJ0FjcXVpcmU6Okxhbmd1YWdlcyAibm9uZSI7JyA+IC9ldGMvYXB0L2FwdC5jb25mLmQvOTBub2xhbmd1YWdlcwogLSBlY2hvICdmb3JjZS11bnNhZmUtaW8nID4gL2V0Yy9kcGtnL2Rwa2cuY2ZnLmQvYXV0b3BrZ3Rlc3QKIC0gcHJpbnRmICdcblRFUk09bGludXhcbidodHRwX3Byb3h5PWh0dHA6Ly9zcXVpZC5pbnRlcm5hbDozMTI4J1xuJ2h0dHBzX3Byb3h5PWh0dHA6Ly9zcXVpZC5pbnRlcm5hbDozMTI4J1xuJ25vX3Byb3h5PTEyNy4wLjAuMSwxMjcuMC4xLjEsbG9naW4udWJ1bnR1LmNvbSxsb2NhbGhvc3QsbG9jYWxkb21haW4sbm92YWxvY2FsLGludGVybmFsLGFyY2hpdmUudWJ1bnR1LmNvbSxwb3J0cy51YnVudHUuY29tLHNlY3VyaXR5LnVidW50dS5jb20sZGRlYnMudWJ1bnR1LmNvbSxjaGFuZ2Vsb2dzLnVidW50dS5jb20sbGF1bmNocGFkbGlicmFyaWFuLm5ldCxsYXVuY2hwYWRjb250ZW50Lm5ldCxsYXVuY2hwYWQubmV0LDEwLjI0LjAuMC8yNCxrZXlzdG9uZS5wczUuY2Fub25pY2FsLmNvbSxvYmplY3RzdG9yYWdlLnByb2RzdGFjazUuY2Fub25pY2FsLmNvbSdcbicgPj4gL2V0Yy9lbnZpcm9ubWVudAogLSBzZWQgLWkgLXIgJy9eMTI3LjAuMS4xLyBzL2F1dG9wa2d0ZXN0LVteIF0rXC4vYXV0b3BrZ3Rlc3RcLi8nIC9ldGMvaG9zdHMK", "OS-EXT-STS:vm_state": "building", "OS-EXT-SRV-ATTR:instance_name": "instance-00d536d0", "OS-EXT-SRV-ATTR:root_device_name": "/dev/sda", "OS-SRV-USG:launched_at": null, "flavor": {"ephemeral": 0, "ram": 1536, "original_name": "autopkgtest", "vcpus": 1, "extra_specs": {"hw_rng:allowed": "True"}, "swap": 0, "disk": 20}, "id": "01c56dd0-cb2d-4bb0-8d72-09109596cb75", "security_groups": [{"name": "autopkgtest-juju-7f2275-prod-proposed-migration-environment-3@bos01-s390x-14.secgroup"}], "OS-SRV-USG:terminated_at": null, "user_id": "3afbd64474684647986f8a196316be34", "OS-EXT-SRV-ATTR:hostname": "adt-noble-s390x-glib2.0-20240321-092443-juju-7f2275-prod-propos", "OS-DCF:diskConfig": "MANUAL", "accessIPv4": "", "accessIPv6": "", "OS-EXT-SRV-ATTR:reservation_id": "r-bbsibmpk", "progress": 0, "OS-EXT-STS:power_state": 0, "OS-EXT-AZ:availability_zone": "nova", "config_drive": "", "status": "BUILD", "OS-EXT-SRV-ATTR:ramdisk_id": "", "updated": "2024-03-21T09:26:38Z", "hostId": "e86e4255ccc62e3906c0ee1ba48805f4dc4d30fe2fd576ed7b2bb89e", "OS-EXT-SRV-ATTR:host": "swirlix13", "description": null, "tags": [], "key_name": "testbed-juju-7f2275-prod-proposed-migration-environment-3", "OS-EXT-SRV-ATTR:kernel_id": "", "OS-EXT-SRV-ATTR:hypervisor_hostname": "swirlix13.bos01.scalingstack", "locked": false, "name": "adt-noble-s390x-glib2.0-20240321-092443-juju-7f2275-prod-proposed-migration-environment-3", "OS-EXT-SRV-ATTR:launch_index": 0, "created": "2024-03-21T09:25:30Z", "tenant_id": "3f3b771a247746688951a4c90bf16631", "os-extended-volumes:volumes_attached": [], "metadata": {}}} 715s DEBUG (session:936) GET call to compute for http://nova-api.infra.bos01.scalingstack:8774/v2.1/servers/01c56dd0-cb2d-4bb0-8d72-09109596cb75 used request id req-086e5d43-6648-41d1-8593-1f1470b3b4ae 715s Server building... 0% completeDEBUG (session:517) REQ: curl -g -i -X GET http://nova-api.infra.bos01.scalingstack:8774/v2.1/servers/01c56dd0-cb2d-4bb0-8d72-09109596cb75 -H "Accept: application/json" -H "OpenStack-API-Version: compute 2.60" -H "User-Agent: python-novaclient" -H "X-Auth-Token: {SHA256}8c957d6143b5b73220b5052acd39032f4861c4e7ccad706257e8edcb858b6c94" -H "X-OpenStack-Nova-API-Version: 2.60" 715s DEBUG (connectionpool:429) http://nova-api.infra.bos01.scalingstack:8774 "GET /v2.1/servers/01c56dd0-cb2d-4bb0-8d72-09109596cb75 HTTP/1.1" 200 3221 715s DEBUG (session:548) RESP: [200] Connection: keep-alive Content-Length: 3221 Content-Type: application/json Date: Thu, 21 Mar 2024 09:26:57 GMT Openstack-Api-Version: compute 2.60 Vary: OpenStack-API-Version, X-OpenStack-Nova-API-Version X-Compute-Request-Id: req-b180ae1f-5641-488b-ae71-c8d76478d076 X-Openstack-Nova-Api-Version: 2.60 X-Openstack-Request-Id: req-b180ae1f-5641-488b-ae71-c8d76478d076 715s DEBUG (session:580) RESP BODY: {"server": {"OS-EXT-STS:task_state": "spawning", "addresses": {}, "links": [{"href": "http://nova-api.infra.bos01.scalingstack:8774/v2.1/servers/01c56dd0-cb2d-4bb0-8d72-09109596cb75", "rel": "self"}, {"href": "http://nova-api.infra.bos01.scalingstack:8774/servers/01c56dd0-cb2d-4bb0-8d72-09109596cb75", "rel": "bookmark"}], "image": {"id": "a4b1c77c-a35e-4d28-a8d9-902a1febb465", "links": [{"href": "http://nova-api.infra.bos01.scalingstack:8774/images/a4b1c77c-a35e-4d28-a8d9-902a1febb465", "rel": "bookmark"}]}, "OS-EXT-SRV-ATTR:user_data": "I2Nsb3VkLWNvbmZpZwpob3N0bmFtZTogYXV0b3BrZ3Rlc3QKbWFuYWdlX2V0Y19ob3N0czogdHJ1ZQphcHRfdXBkYXRlOiB0cnVlCmFwdF91cGdyYWRlOiBmYWxzZQphcHRfbWlycm9yOiBodHRwOi8vdXMucG9ydHMudWJ1bnR1LmNvbS91YnVudHUtcG9ydHMvCgpydW5jbWQ6CiAtIGVjaG8gJ0FjcXVpcmU6Okxhbmd1YWdlcyAibm9uZSI7JyA+IC9ldGMvYXB0L2FwdC5jb25mLmQvOTBub2xhbmd1YWdlcwogLSBlY2hvICdmb3JjZS11bnNhZmUtaW8nID4gL2V0Yy9kcGtnL2Rwa2cuY2ZnLmQvYXV0b3BrZ3Rlc3QKIC0gcHJpbnRmICdcblRFUk09bGludXhcbidodHRwX3Byb3h5PWh0dHA6Ly9zcXVpZC5pbnRlcm5hbDozMTI4J1xuJ2h0dHBzX3Byb3h5PWh0dHA6Ly9zcXVpZC5pbnRlcm5hbDozMTI4J1xuJ25vX3Byb3h5PTEyNy4wLjAuMSwxMjcuMC4xLjEsbG9naW4udWJ1bnR1LmNvbSxsb2NhbGhvc3QsbG9jYWxkb21haW4sbm92YWxvY2FsLGludGVybmFsLGFyY2hpdmUudWJ1bnR1LmNvbSxwb3J0cy51YnVudHUuY29tLHNlY3VyaXR5LnVidW50dS5jb20sZGRlYnMudWJ1bnR1LmNvbSxjaGFuZ2Vsb2dzLnVidW50dS5jb20sbGF1bmNocGFkbGlicmFyaWFuLm5ldCxsYXVuY2hwYWRjb250ZW50Lm5ldCxsYXVuY2hwYWQubmV0LDEwLjI0LjAuMC8yNCxrZXlzdG9uZS5wczUuY2Fub25pY2FsLmNvbSxvYmplY3RzdG9yYWdlLnByb2RzdGFjazUuY2Fub25pY2FsLmNvbSdcbicgPj4gL2V0Yy9lbnZpcm9ubWVudAogLSBzZWQgLWkgLXIgJy9eMTI3LjAuMS4xLyBzL2F1dG9wa2d0ZXN0LVteIF0rXC4vYXV0b3BrZ3Rlc3RcLi8nIC9ldGMvaG9zdHMK", "OS-EXT-STS:vm_state": "building", "OS-EXT-SRV-ATTR:instance_name": "instance-00d536d0", "OS-EXT-SRV-ATTR:root_device_name": "/dev/sda", "OS-SRV-USG:launched_at": null, "flavor": {"ephemeral": 0, "ram": 1536, "original_name": "autopkgtest", "vcpus": 1, "extra_specs": {"hw_rng:allowed": "True"}, "swap": 0, "disk": 20}, "id": "01c56dd0-cb2d-4bb0-8d72-09109596cb75", "security_groups": [{"name": "autopkgtest-juju-7f2275-prod-proposed-migration-environment-3@bos01-s390x-14.secgroup"}], "OS-SRV-USG:terminated_at": null, "user_id": "3afbd64474684647986f8a196316be34", "OS-EXT-SRV-ATTR:hostname": "adt-noble-s390x-glib2.0-20240321-092443-juju-7f2275-prod-propos", "OS-DCF:diskConfig": "MANUAL", "accessIPv4": "", "accessIPv6": "", "OS-EXT-SRV-ATTR:reservation_id": "r-bbsibmpk", "progress": 0, "OS-EXT-STS:power_state": 0, "OS-EXT-AZ:availability_zone": "nova", "config_drive": "", "status": "BUILD", "OS-EXT-SRV-ATTR:ramdisk_id": "", "updated": "2024-03-21T09:26:38Z", "hostId": "e86e4255ccc62e3906c0ee1ba48805f4dc4d30fe2fd576ed7b2bb89e", "OS-EXT-SRV-ATTR:host": "swirlix13", "description": null, "tags": [], "key_name": "testbed-juju-7f2275-prod-proposed-migration-environment-3", "OS-EXT-SRV-ATTR:kernel_id": "", "OS-EXT-SRV-ATTR:hypervisor_hostname": "swirlix13.bos01.scalingstack", "locked": false, "name": "adt-noble-s390x-glib2.0-20240321-092443-juju-7f2275-prod-proposed-migration-environment-3", "OS-EXT-SRV-ATTR:launch_index": 0, "created": "2024-03-21T09:25:30Z", "tenant_id": "3f3b771a247746688951a4c90bf16631", "os-extended-volumes:volumes_attached": [], "metadata": {}}} 715s DEBUG (session:936) GET call to compute for http://nova-api.infra.bos01.scalingstack:8774/v2.1/servers/01c56dd0-cb2d-4bb0-8d72-09109596cb75 used request id req-b180ae1f-5641-488b-ae71-c8d76478d076 715s Server building... 0% completeDEBUG (session:517) REQ: curl -g -i -X GET http://nova-api.infra.bos01.scalingstack:8774/v2.1/servers/01c56dd0-cb2d-4bb0-8d72-09109596cb75 -H "Accept: application/json" -H "OpenStack-API-Version: compute 2.60" -H "User-Agent: python-novaclient" -H "X-Auth-Token: {SHA256}8c957d6143b5b73220b5052acd39032f4861c4e7ccad706257e8edcb858b6c94" -H "X-OpenStack-Nova-API-Version: 2.60" 715s DEBUG (connectionpool:429) http://nova-api.infra.bos01.scalingstack:8774 "GET /v2.1/servers/01c56dd0-cb2d-4bb0-8d72-09109596cb75 HTTP/1.1" 200 3221 715s DEBUG (session:548) RESP: [200] Connection: keep-alive Content-Length: 3221 Content-Type: application/json Date: Thu, 21 Mar 2024 09:27:03 GMT Openstack-Api-Version: compute 2.60 Vary: OpenStack-API-Version, X-OpenStack-Nova-API-Version X-Compute-Request-Id: req-66b4144f-e9d5-48e5-8b74-da4cd47cf7c2 X-Openstack-Nova-Api-Version: 2.60 X-Openstack-Request-Id: req-66b4144f-e9d5-48e5-8b74-da4cd47cf7c2 715s DEBUG (session:580) RESP BODY: {"server": {"OS-EXT-STS:task_state": "spawning", "addresses": {}, "links": [{"href": "http://nova-api.infra.bos01.scalingstack:8774/v2.1/servers/01c56dd0-cb2d-4bb0-8d72-09109596cb75", "rel": "self"}, {"href": "http://nova-api.infra.bos01.scalingstack:8774/servers/01c56dd0-cb2d-4bb0-8d72-09109596cb75", "rel": "bookmark"}], "image": {"id": "a4b1c77c-a35e-4d28-a8d9-902a1febb465", "links": [{"href": "http://nova-api.infra.bos01.scalingstack:8774/images/a4b1c77c-a35e-4d28-a8d9-902a1febb465", "rel": "bookmark"}]}, "OS-EXT-SRV-ATTR:user_data": "I2Nsb3VkLWNvbmZpZwpob3N0bmFtZTogYXV0b3BrZ3Rlc3QKbWFuYWdlX2V0Y19ob3N0czogdHJ1ZQphcHRfdXBkYXRlOiB0cnVlCmFwdF91cGdyYWRlOiBmYWxzZQphcHRfbWlycm9yOiBodHRwOi8vdXMucG9ydHMudWJ1bnR1LmNvbS91YnVudHUtcG9ydHMvCgpydW5jbWQ6CiAtIGVjaG8gJ0FjcXVpcmU6Okxhbmd1YWdlcyAibm9uZSI7JyA+IC9ldGMvYXB0L2FwdC5jb25mLmQvOTBub2xhbmd1YWdlcwogLSBlY2hvICdmb3JjZS11bnNhZmUtaW8nID4gL2V0Yy9kcGtnL2Rwa2cuY2ZnLmQvYXV0b3BrZ3Rlc3QKIC0gcHJpbnRmICdcblRFUk09bGludXhcbidodHRwX3Byb3h5PWh0dHA6Ly9zcXVpZC5pbnRlcm5hbDozMTI4J1xuJ2h0dHBzX3Byb3h5PWh0dHA6Ly9zcXVpZC5pbnRlcm5hbDozMTI4J1xuJ25vX3Byb3h5PTEyNy4wLjAuMSwxMjcuMC4xLjEsbG9naW4udWJ1bnR1LmNvbSxsb2NhbGhvc3QsbG9jYWxkb21haW4sbm92YWxvY2FsLGludGVybmFsLGFyY2hpdmUudWJ1bnR1LmNvbSxwb3J0cy51YnVudHUuY29tLHNlY3VyaXR5LnVidW50dS5jb20sZGRlYnMudWJ1bnR1LmNvbSxjaGFuZ2Vsb2dzLnVidW50dS5jb20sbGF1bmNocGFkbGlicmFyaWFuLm5ldCxsYXVuY2hwYWRjb250ZW50Lm5ldCxsYXVuY2hwYWQubmV0LDEwLjI0LjAuMC8yNCxrZXlzdG9uZS5wczUuY2Fub25pY2FsLmNvbSxvYmplY3RzdG9yYWdlLnByb2RzdGFjazUuY2Fub25pY2FsLmNvbSdcbicgPj4gL2V0Yy9lbnZpcm9ubWVudAogLSBzZWQgLWkgLXIgJy9eMTI3LjAuMS4xLyBzL2F1dG9wa2d0ZXN0LVteIF0rXC4vYXV0b3BrZ3Rlc3RcLi8nIC9ldGMvaG9zdHMK", "OS-EXT-STS:vm_state": "building", "OS-EXT-SRV-ATTR:instance_name": "instance-00d536d0", "OS-EXT-SRV-ATTR:root_device_name": "/dev/sda", "OS-SRV-USG:launched_at": null, "flavor": {"ephemeral": 0, "ram": 1536, "original_name": "autopkgtest", "vcpus": 1, "extra_specs": {"hw_rng:allowed": "True"}, "swap": 0, "disk": 20}, "id": "01c56dd0-cb2d-4bb0-8d72-09109596cb75", "security_groups": [{"name": "autopkgtest-juju-7f2275-prod-proposed-migration-environment-3@bos01-s390x-14.secgroup"}], "OS-SRV-USG:terminated_at": null, "user_id": "3afbd64474684647986f8a196316be34", "OS-EXT-SRV-ATTR:hostname": "adt-noble-s390x-glib2.0-20240321-092443-juju-7f2275-prod-propos", "OS-DCF:diskConfig": "MANUAL", "accessIPv4": "", "accessIPv6": "", "OS-EXT-SRV-ATTR:reservation_id": "r-bbsibmpk", "progress": 0, "OS-EXT-STS:power_state": 0, "OS-EXT-AZ:availability_zone": "nova", "config_drive": "", "status": "BUILD", "OS-EXT-SRV-ATTR:ramdisk_id": "", "updated": "2024-03-21T09:26:38Z", "hostId": "e86e4255ccc62e3906c0ee1ba48805f4dc4d30fe2fd576ed7b2bb89e", "OS-EXT-SRV-ATTR:host": "swirlix13", "description": null, "tags": [], "key_name": "testbed-juju-7f2275-prod-proposed-migration-environment-3", "OS-EXT-SRV-ATTR:kernel_id": "", "OS-EXT-SRV-ATTR:hypervisor_hostname": "swirlix13.bos01.scalingstack", "locked": false, "name": "adt-noble-s390x-glib2.0-20240321-092443-juju-7f2275-prod-proposed-migration-environment-3", "OS-EXT-SRV-ATTR:launch_index": 0, "created": "2024-03-21T09:25:30Z", "tenant_id": "3f3b771a247746688951a4c90bf16631", "os-extended-volumes:volumes_attached": [], "metadata": {}}} 715s DEBUG (session:936) GET call to compute for http://nova-api.infra.bos01.scalingstack:8774/v2.1/servers/01c56dd0-cb2d-4bb0-8d72-09109596cb75 used request id req-66b4144f-e9d5-48e5-8b74-da4cd47cf7c2 715s Server building... 0% completeDEBUG (session:517) REQ: curl -g -i -X GET http://nova-api.infra.bos01.scalingstack:8774/v2.1/servers/01c56dd0-cb2d-4bb0-8d72-09109596cb75 -H "Accept: application/json" -H "OpenStack-API-Version: compute 2.60" -H "User-Agent: python-novaclient" -H "X-Auth-Token: {SHA256}8c957d6143b5b73220b5052acd39032f4861c4e7ccad706257e8edcb858b6c94" -H "X-OpenStack-Nova-API-Version: 2.60" 715s DEBUG (connectionpool:429) http://nova-api.infra.bos01.scalingstack:8774 "GET /v2.1/servers/01c56dd0-cb2d-4bb0-8d72-09109596cb75 HTTP/1.1" 200 3221 715s DEBUG (session:548) RESP: [200] Connection: keep-alive Content-Length: 3221 Content-Type: application/json Date: Thu, 21 Mar 2024 09:27:08 GMT Openstack-Api-Version: compute 2.60 Vary: OpenStack-API-Version, X-OpenStack-Nova-API-Version X-Compute-Request-Id: req-9b79d15d-fe53-47a5-a8a9-3d78a894a136 X-Openstack-Nova-Api-Version: 2.60 X-Openstack-Request-Id: req-9b79d15d-fe53-47a5-a8a9-3d78a894a136 715s DEBUG (session:580) RESP BODY: {"server": {"OS-EXT-STS:task_state": "spawning", "addresses": {}, "links": [{"href": "http://nova-api.infra.bos01.scalingstack:8774/v2.1/servers/01c56dd0-cb2d-4bb0-8d72-09109596cb75", "rel": "self"}, {"href": "http://nova-api.infra.bos01.scalingstack:8774/servers/01c56dd0-cb2d-4bb0-8d72-09109596cb75", "rel": "bookmark"}], "image": {"id": "a4b1c77c-a35e-4d28-a8d9-902a1febb465", "links": [{"href": "http://nova-api.infra.bos01.scalingstack:8774/images/a4b1c77c-a35e-4d28-a8d9-902a1febb465", "rel": "bookmark"}]}, "OS-EXT-SRV-ATTR:user_data": "I2Nsb3VkLWNvbmZpZwpob3N0bmFtZTogYXV0b3BrZ3Rlc3QKbWFuYWdlX2V0Y19ob3N0czogdHJ1ZQphcHRfdXBkYXRlOiB0cnVlCmFwdF91cGdyYWRlOiBmYWxzZQphcHRfbWlycm9yOiBodHRwOi8vdXMucG9ydHMudWJ1bnR1LmNvbS91YnVudHUtcG9ydHMvCgpydW5jbWQ6CiAtIGVjaG8gJ0FjcXVpcmU6Okxhbmd1YWdlcyAibm9uZSI7JyA+IC9ldGMvYXB0L2FwdC5jb25mLmQvOTBub2xhbmd1YWdlcwogLSBlY2hvICdmb3JjZS11bnNhZmUtaW8nID4gL2V0Yy9kcGtnL2Rwa2cuY2ZnLmQvYXV0b3BrZ3Rlc3QKIC0gcHJpbnRmICdcblRFUk09bGludXhcbidodHRwX3Byb3h5PWh0dHA6Ly9zcXVpZC5pbnRlcm5hbDozMTI4J1xuJ2h0dHBzX3Byb3h5PWh0dHA6Ly9zcXVpZC5pbnRlcm5hbDozMTI4J1xuJ25vX3Byb3h5PTEyNy4wLjAuMSwxMjcuMC4xLjEsbG9naW4udWJ1bnR1LmNvbSxsb2NhbGhvc3QsbG9jYWxkb21haW4sbm92YWxvY2FsLGludGVybmFsLGFyY2hpdmUudWJ1bnR1LmNvbSxwb3J0cy51YnVudHUuY29tLHNlY3VyaXR5LnVidW50dS5jb20sZGRlYnMudWJ1bnR1LmNvbSxjaGFuZ2Vsb2dzLnVidW50dS5jb20sbGF1bmNocGFkbGlicmFyaWFuLm5ldCxsYXVuY2hwYWRjb250ZW50Lm5ldCxsYXVuY2hwYWQubmV0LDEwLjI0LjAuMC8yNCxrZXlzdG9uZS5wczUuY2Fub25pY2FsLmNvbSxvYmplY3RzdG9yYWdlLnByb2RzdGFjazUuY2Fub25pY2FsLmNvbSdcbicgPj4gL2V0Yy9lbnZpcm9ubWVudAogLSBzZWQgLWkgLXIgJy9eMTI3LjAuMS4xLyBzL2F1dG9wa2d0ZXN0LVteIF0rXC4vYXV0b3BrZ3Rlc3RcLi8nIC9ldGMvaG9zdHMK", "OS-EXT-STS:vm_state": "building", "OS-EXT-SRV-ATTR:instance_name": "instance-00d536d0", "OS-EXT-SRV-ATTR:root_device_name": "/dev/sda", "OS-SRV-USG:launched_at": null, "flavor": {"ephemeral": 0, "ram": 1536, "original_name": "autopkgtest", "vcpus": 1, "extra_specs": {"hw_rng:allowed": "True"}, "swap": 0, "disk": 20}, "id": "01c56dd0-cb2d-4bb0-8d72-09109596cb75", "security_groups": [{"name": "autopkgtest-juju-7f2275-prod-proposed-migration-environment-3@bos01-s390x-14.secgroup"}], "OS-SRV-USG:terminated_at": null, "user_id": "3afbd64474684647986f8a196316be34", "OS-EXT-SRV-ATTR:hostname": "adt-noble-s390x-glib2.0-20240321-092443-juju-7f2275-prod-propos", "OS-DCF:diskConfig": "MANUAL", "accessIPv4": "", "accessIPv6": "", "OS-EXT-SRV-ATTR:reservation_id": "r-bbsibmpk", "progress": 0, "OS-EXT-STS:power_state": 0, "OS-EXT-AZ:availability_zone": "nova", "config_drive": "", "status": "BUILD", "OS-EXT-SRV-ATTR:ramdisk_id": "", "updated": "2024-03-21T09:26:38Z", "hostId": "e86e4255ccc62e3906c0ee1ba48805f4dc4d30fe2fd576ed7b2bb89e", "OS-EXT-SRV-ATTR:host": "swirlix13", "description": null, "tags": [], "key_name": "testbed-juju-7f2275-prod-proposed-migration-environment-3", "OS-EXT-SRV-ATTR:kernel_id": "", "OS-EXT-SRV-ATTR:hypervisor_hostname": "swirlix13.bos01.scalingstack", "locked": false, "name": "adt-noble-s390x-glib2.0-20240321-092443-juju-7f2275-prod-proposed-migration-environment-3", "OS-EXT-SRV-ATTR:launch_index": 0, "created": "2024-03-21T09:25:30Z", "tenant_id": "3f3b771a247746688951a4c90bf16631", "os-extended-volumes:volumes_attached": [], "metadata": {}}} 715s DEBUG (session:936) GET call to compute for http://nova-api.infra.bos01.scalingstack:8774/v2.1/servers/01c56dd0-cb2d-4bb0-8d72-09109596cb75 used request id req-9b79d15d-fe53-47a5-a8a9-3d78a894a136 715s Server building... 0% completeDEBUG (session:517) REQ: curl -g -i -X GET http://nova-api.infra.bos01.scalingstack:8774/v2.1/servers/01c56dd0-cb2d-4bb0-8d72-09109596cb75 -H "Accept: application/json" -H "OpenStack-API-Version: compute 2.60" -H "User-Agent: python-novaclient" -H "X-Auth-Token: {SHA256}8c957d6143b5b73220b5052acd39032f4861c4e7ccad706257e8edcb858b6c94" -H "X-OpenStack-Nova-API-Version: 2.60" 715s DEBUG (connectionpool:429) http://nova-api.infra.bos01.scalingstack:8774 "GET /v2.1/servers/01c56dd0-cb2d-4bb0-8d72-09109596cb75 HTTP/1.1" 200 3221 715s DEBUG (session:548) RESP: [200] Connection: keep-alive Content-Length: 3221 Content-Type: application/json Date: Thu, 21 Mar 2024 09:27:14 GMT Openstack-Api-Version: compute 2.60 Vary: OpenStack-API-Version, X-OpenStack-Nova-API-Version X-Compute-Request-Id: req-80c64fe1-d97f-4858-8c89-ad4dff1314ea X-Openstack-Nova-Api-Version: 2.60 X-Openstack-Request-Id: req-80c64fe1-d97f-4858-8c89-ad4dff1314ea 715s DEBUG (session:580) RESP BODY: {"server": {"OS-EXT-STS:task_state": "spawning", "addresses": {}, "links": [{"href": "http://nova-api.infra.bos01.scalingstack:8774/v2.1/servers/01c56dd0-cb2d-4bb0-8d72-09109596cb75", "rel": "self"}, {"href": "http://nova-api.infra.bos01.scalingstack:8774/servers/01c56dd0-cb2d-4bb0-8d72-09109596cb75", "rel": "bookmark"}], "image": {"id": "a4b1c77c-a35e-4d28-a8d9-902a1febb465", "links": [{"href": "http://nova-api.infra.bos01.scalingstack:8774/images/a4b1c77c-a35e-4d28-a8d9-902a1febb465", "rel": "bookmark"}]}, "OS-EXT-SRV-ATTR:user_data": "I2Nsb3VkLWNvbmZpZwpob3N0bmFtZTogYXV0b3BrZ3Rlc3QKbWFuYWdlX2V0Y19ob3N0czogdHJ1ZQphcHRfdXBkYXRlOiB0cnVlCmFwdF91cGdyYWRlOiBmYWxzZQphcHRfbWlycm9yOiBodHRwOi8vdXMucG9ydHMudWJ1bnR1LmNvbS91YnVudHUtcG9ydHMvCgpydW5jbWQ6CiAtIGVjaG8gJ0FjcXVpcmU6Okxhbmd1YWdlcyAibm9uZSI7JyA+IC9ldGMvYXB0L2FwdC5jb25mLmQvOTBub2xhbmd1YWdlcwogLSBlY2hvICdmb3JjZS11bnNhZmUtaW8nID4gL2V0Yy9kcGtnL2Rwa2cuY2ZnLmQvYXV0b3BrZ3Rlc3QKIC0gcHJpbnRmICdcblRFUk09bGludXhcbidodHRwX3Byb3h5PWh0dHA6Ly9zcXVpZC5pbnRlcm5hbDozMTI4J1xuJ2h0dHBzX3Byb3h5PWh0dHA6Ly9zcXVpZC5pbnRlcm5hbDozMTI4J1xuJ25vX3Byb3h5PTEyNy4wLjAuMSwxMjcuMC4xLjEsbG9naW4udWJ1bnR1LmNvbSxsb2NhbGhvc3QsbG9jYWxkb21haW4sbm92YWxvY2FsLGludGVybmFsLGFyY2hpdmUudWJ1bnR1LmNvbSxwb3J0cy51YnVudHUuY29tLHNlY3VyaXR5LnVidW50dS5jb20sZGRlYnMudWJ1bnR1LmNvbSxjaGFuZ2Vsb2dzLnVidW50dS5jb20sbGF1bmNocGFkbGlicmFyaWFuLm5ldCxsYXVuY2hwYWRjb250ZW50Lm5ldCxsYXVuY2hwYWQubmV0LDEwLjI0LjAuMC8yNCxrZXlzdG9uZS5wczUuY2Fub25pY2FsLmNvbSxvYmplY3RzdG9yYWdlLnByb2RzdGFjazUuY2Fub25pY2FsLmNvbSdcbicgPj4gL2V0Yy9lbnZpcm9ubWVudAogLSBzZWQgLWkgLXIgJy9eMTI3LjAuMS4xLyBzL2F1dG9wa2d0ZXN0LVteIF0rXC4vYXV0b3BrZ3Rlc3RcLi8nIC9ldGMvaG9zdHMK", "OS-EXT-STS:vm_state": "building", "OS-EXT-SRV-ATTR:instance_name": "instance-00d536d0", "OS-EXT-SRV-ATTR:root_device_name": "/dev/sda", "OS-SRV-USG:launched_at": null, "flavor": {"ephemeral": 0, "ram": 1536, "original_name": "autopkgtest", "vcpus": 1, "extra_specs": {"hw_rng:allowed": "True"}, "swap": 0, "disk": 20}, "id": "01c56dd0-cb2d-4bb0-8d72-09109596cb75", "security_groups": [{"name": "autopkgtest-juju-7f2275-prod-proposed-migration-environment-3@bos01-s390x-14.secgroup"}], "OS-SRV-USG:terminated_at": null, "user_id": "3afbd64474684647986f8a196316be34", "OS-EXT-SRV-ATTR:hostname": "adt-noble-s390x-glib2.0-20240321-092443-juju-7f2275-prod-propos", "OS-DCF:diskConfig": "MANUAL", "accessIPv4": "", "accessIPv6": "", "OS-EXT-SRV-ATTR:reservation_id": "r-bbsibmpk", "progress": 0, "OS-EXT-STS:power_state": 0, "OS-EXT-AZ:availability_zone": "nova", "config_drive": "", "status": "BUILD", "OS-EXT-SRV-ATTR:ramdisk_id": "", "updated": "2024-03-21T09:26:38Z", "hostId": "e86e4255ccc62e3906c0ee1ba48805f4dc4d30fe2fd576ed7b2bb89e", "OS-EXT-SRV-ATTR:host": "swirlix13", "description": null, "tags": [], "key_name": "testbed-juju-7f2275-prod-proposed-migration-environment-3", "OS-EXT-SRV-ATTR:kernel_id": "", "OS-EXT-SRV-ATTR:hypervisor_hostname": "swirlix13.bos01.scalingstack", "locked": false, "name": "adt-noble-s390x-glib2.0-20240321-092443-juju-7f2275-prod-proposed-migration-environment-3", "OS-EXT-SRV-ATTR:launch_index": 0, "created": "2024-03-21T09:25:30Z", "tenant_id": "3f3b771a247746688951a4c90bf16631", "os-extended-volumes:volumes_attached": [], "metadata": {}}} 715s DEBUG (session:936) GET call to compute for http://nova-api.infra.bos01.scalingstack:8774/v2.1/servers/01c56dd0-cb2d-4bb0-8d72-09109596cb75 used request id req-80c64fe1-d97f-4858-8c89-ad4dff1314ea 715s Server building... 0% completeDEBUG (session:517) REQ: curl -g -i -X GET http://nova-api.infra.bos01.scalingstack:8774/v2.1/servers/01c56dd0-cb2d-4bb0-8d72-09109596cb75 -H "Accept: application/json" -H "OpenStack-API-Version: compute 2.60" -H "User-Agent: python-novaclient" -H "X-Auth-Token: {SHA256}8c957d6143b5b73220b5052acd39032f4861c4e7ccad706257e8edcb858b6c94" -H "X-OpenStack-Nova-API-Version: 2.60" 715s DEBUG (connectionpool:429) http://nova-api.infra.bos01.scalingstack:8774 "GET /v2.1/servers/01c56dd0-cb2d-4bb0-8d72-09109596cb75 HTTP/1.1" 200 3221 715s DEBUG (session:548) RESP: [200] Connection: keep-alive Content-Length: 3221 Content-Type: application/json Date: Thu, 21 Mar 2024 09:27:19 GMT Openstack-Api-Version: compute 2.60 Vary: OpenStack-API-Version, X-OpenStack-Nova-API-Version X-Compute-Request-Id: req-7a848f4c-71a0-4dc8-845c-2a7c3931fa15 X-Openstack-Nova-Api-Version: 2.60 X-Openstack-Request-Id: req-7a848f4c-71a0-4dc8-845c-2a7c3931fa15 715s DEBUG (session:580) RESP BODY: {"server": {"OS-EXT-STS:task_state": "spawning", "addresses": {}, "links": [{"href": "http://nova-api.infra.bos01.scalingstack:8774/v2.1/servers/01c56dd0-cb2d-4bb0-8d72-09109596cb75", "rel": "self"}, {"href": "http://nova-api.infra.bos01.scalingstack:8774/servers/01c56dd0-cb2d-4bb0-8d72-09109596cb75", "rel": "bookmark"}], "image": {"id": "a4b1c77c-a35e-4d28-a8d9-902a1febb465", "links": [{"href": "http://nova-api.infra.bos01.scalingstack:8774/images/a4b1c77c-a35e-4d28-a8d9-902a1febb465", "rel": "bookmark"}]}, "OS-EXT-SRV-ATTR:user_data": "I2Nsb3VkLWNvbmZpZwpob3N0bmFtZTogYXV0b3BrZ3Rlc3QKbWFuYWdlX2V0Y19ob3N0czogdHJ1ZQphcHRfdXBkYXRlOiB0cnVlCmFwdF91cGdyYWRlOiBmYWxzZQphcHRfbWlycm9yOiBodHRwOi8vdXMucG9ydHMudWJ1bnR1LmNvbS91YnVudHUtcG9ydHMvCgpydW5jbWQ6CiAtIGVjaG8gJ0FjcXVpcmU6Okxhbmd1YWdlcyAibm9uZSI7JyA+IC9ldGMvYXB0L2FwdC5jb25mLmQvOTBub2xhbmd1YWdlcwogLSBlY2hvICdmb3JjZS11bnNhZmUtaW8nID4gL2V0Yy9kcGtnL2Rwa2cuY2ZnLmQvYXV0b3BrZ3Rlc3QKIC0gcHJpbnRmICdcblRFUk09bGludXhcbidodHRwX3Byb3h5PWh0dHA6Ly9zcXVpZC5pbnRlcm5hbDozMTI4J1xuJ2h0dHBzX3Byb3h5PWh0dHA6Ly9zcXVpZC5pbnRlcm5hbDozMTI4J1xuJ25vX3Byb3h5PTEyNy4wLjAuMSwxMjcuMC4xLjEsbG9naW4udWJ1bnR1LmNvbSxsb2NhbGhvc3QsbG9jYWxkb21haW4sbm92YWxvY2FsLGludGVybmFsLGFyY2hpdmUudWJ1bnR1LmNvbSxwb3J0cy51YnVudHUuY29tLHNlY3VyaXR5LnVidW50dS5jb20sZGRlYnMudWJ1bnR1LmNvbSxjaGFuZ2Vsb2dzLnVidW50dS5jb20sbGF1bmNocGFkbGlicmFyaWFuLm5ldCxsYXVuY2hwYWRjb250ZW50Lm5ldCxsYXVuY2hwYWQubmV0LDEwLjI0LjAuMC8yNCxrZXlzdG9uZS5wczUuY2Fub25pY2FsLmNvbSxvYmplY3RzdG9yYWdlLnByb2RzdGFjazUuY2Fub25pY2FsLmNvbSdcbicgPj4gL2V0Yy9lbnZpcm9ubWVudAogLSBzZWQgLWkgLXIgJy9eMTI3LjAuMS4xLyBzL2F1dG9wa2d0ZXN0LVteIF0rXC4vYXV0b3BrZ3Rlc3RcLi8nIC9ldGMvaG9zdHMK", "OS-EXT-STS:vm_state": "building", "OS-EXT-SRV-ATTR:instance_name": "instance-00d536d0", "OS-EXT-SRV-ATTR:root_device_name": "/dev/sda", "OS-SRV-USG:launched_at": null, "flavor": {"ephemeral": 0, "ram": 1536, "original_name": "autopkgtest", "vcpus": 1, "extra_specs": {"hw_rng:allowed": "True"}, "swap": 0, "disk": 20}, "id": "01c56dd0-cb2d-4bb0-8d72-09109596cb75", "security_groups": [{"name": "autopkgtest-juju-7f2275-prod-proposed-migration-environment-3@bos01-s390x-14.secgroup"}], "OS-SRV-USG:terminated_at": null, "user_id": "3afbd64474684647986f8a196316be34", "OS-EXT-SRV-ATTR:hostname": "adt-noble-s390x-glib2.0-20240321-092443-juju-7f2275-prod-propos", "OS-DCF:diskConfig": "MANUAL", "accessIPv4": "", "accessIPv6": "", "OS-EXT-SRV-ATTR:reservation_id": "r-bbsibmpk", "progress": 0, "OS-EXT-STS:power_state": 0, "OS-EXT-AZ:availability_zone": "nova", "config_drive": "", "status": "BUILD", "OS-EXT-SRV-ATTR:ramdisk_id": "", "updated": "2024-03-21T09:26:38Z", "hostId": "e86e4255ccc62e3906c0ee1ba48805f4dc4d30fe2fd576ed7b2bb89e", "OS-EXT-SRV-ATTR:host": "swirlix13", "description": null, "tags": [], "key_name": "testbed-juju-7f2275-prod-proposed-migration-environment-3", "OS-EXT-SRV-ATTR:kernel_id": "", "OS-EXT-SRV-ATTR:hypervisor_hostname": "swirlix13.bos01.scalingstack", "locked": false, "name": "adt-noble-s390x-glib2.0-20240321-092443-juju-7f2275-prod-proposed-migration-environment-3", "OS-EXT-SRV-ATTR:launch_index": 0, "created": "2024-03-21T09:25:30Z", "tenant_id": "3f3b771a247746688951a4c90bf16631", "os-extended-volumes:volumes_attached": [], "metadata": {}}} 715s DEBUG (session:936) GET call to compute for http://nova-api.infra.bos01.scalingstack:8774/v2.1/servers/01c56dd0-cb2d-4bb0-8d72-09109596cb75 used request id req-7a848f4c-71a0-4dc8-845c-2a7c3931fa15 715s Server building... 0% completeDEBUG (session:517) REQ: curl -g -i -X GET http://nova-api.infra.bos01.scalingstack:8774/v2.1/servers/01c56dd0-cb2d-4bb0-8d72-09109596cb75 -H "Accept: application/json" -H "OpenStack-API-Version: compute 2.60" -H "User-Agent: python-novaclient" -H "X-Auth-Token: {SHA256}8c957d6143b5b73220b5052acd39032f4861c4e7ccad706257e8edcb858b6c94" -H "X-OpenStack-Nova-API-Version: 2.60" 715s DEBUG (connectionpool:429) http://nova-api.infra.bos01.scalingstack:8774 "GET /v2.1/servers/01c56dd0-cb2d-4bb0-8d72-09109596cb75 HTTP/1.1" 200 3221 715s DEBUG (session:548) RESP: [200] Connection: keep-alive Content-Length: 3221 Content-Type: application/json Date: Thu, 21 Mar 2024 09:27:27 GMT Openstack-Api-Version: compute 2.60 Vary: OpenStack-API-Version, X-OpenStack-Nova-API-Version X-Compute-Request-Id: req-34fbf91e-03fe-4dad-9424-ebfb8deec473 X-Openstack-Nova-Api-Version: 2.60 X-Openstack-Request-Id: req-34fbf91e-03fe-4dad-9424-ebfb8deec473 715s DEBUG (session:580) RESP BODY: {"server": {"OS-EXT-STS:task_state": "spawning", "addresses": {}, "links": [{"href": "http://nova-api.infra.bos01.scalingstack:8774/v2.1/servers/01c56dd0-cb2d-4bb0-8d72-09109596cb75", "rel": "self"}, {"href": "http://nova-api.infra.bos01.scalingstack:8774/servers/01c56dd0-cb2d-4bb0-8d72-09109596cb75", "rel": "bookmark"}], "image": {"id": "a4b1c77c-a35e-4d28-a8d9-902a1febb465", "links": [{"href": "http://nova-api.infra.bos01.scalingstack:8774/images/a4b1c77c-a35e-4d28-a8d9-902a1febb465", "rel": "bookmark"}]}, "OS-EXT-SRV-ATTR:user_data": "I2Nsb3VkLWNvbmZpZwpob3N0bmFtZTogYXV0b3BrZ3Rlc3QKbWFuYWdlX2V0Y19ob3N0czogdHJ1ZQphcHRfdXBkYXRlOiB0cnVlCmFwdF91cGdyYWRlOiBmYWxzZQphcHRfbWlycm9yOiBodHRwOi8vdXMucG9ydHMudWJ1bnR1LmNvbS91YnVudHUtcG9ydHMvCgpydW5jbWQ6CiAtIGVjaG8gJ0FjcXVpcmU6Okxhbmd1YWdlcyAibm9uZSI7JyA+IC9ldGMvYXB0L2FwdC5jb25mLmQvOTBub2xhbmd1YWdlcwogLSBlY2hvICdmb3JjZS11bnNhZmUtaW8nID4gL2V0Yy9kcGtnL2Rwa2cuY2ZnLmQvYXV0b3BrZ3Rlc3QKIC0gcHJpbnRmICdcblRFUk09bGludXhcbidodHRwX3Byb3h5PWh0dHA6Ly9zcXVpZC5pbnRlcm5hbDozMTI4J1xuJ2h0dHBzX3Byb3h5PWh0dHA6Ly9zcXVpZC5pbnRlcm5hbDozMTI4J1xuJ25vX3Byb3h5PTEyNy4wLjAuMSwxMjcuMC4xLjEsbG9naW4udWJ1bnR1LmNvbSxsb2NhbGhvc3QsbG9jYWxkb21haW4sbm92YWxvY2FsLGludGVybmFsLGFyY2hpdmUudWJ1bnR1LmNvbSxwb3J0cy51YnVudHUuY29tLHNlY3VyaXR5LnVidW50dS5jb20sZGRlYnMudWJ1bnR1LmNvbSxjaGFuZ2Vsb2dzLnVidW50dS5jb20sbGF1bmNocGFkbGlicmFyaWFuLm5ldCxsYXVuY2hwYWRjb250ZW50Lm5ldCxsYXVuY2hwYWQubmV0LDEwLjI0LjAuMC8yNCxrZXlzdG9uZS5wczUuY2Fub25pY2FsLmNvbSxvYmplY3RzdG9yYWdlLnByb2RzdGFjazUuY2Fub25pY2FsLmNvbSdcbicgPj4gL2V0Yy9lbnZpcm9ubWVudAogLSBzZWQgLWkgLXIgJy9eMTI3LjAuMS4xLyBzL2F1dG9wa2d0ZXN0LVteIF0rXC4vYXV0b3BrZ3Rlc3RcLi8nIC9ldGMvaG9zdHMK", "OS-EXT-STS:vm_state": "building", "OS-EXT-SRV-ATTR:instance_name": "instance-00d536d0", "OS-EXT-SRV-ATTR:root_device_name": "/dev/sda", "OS-SRV-USG:launched_at": null, "flavor": {"ephemeral": 0, "ram": 1536, "original_name": "autopkgtest", "vcpus": 1, "extra_specs": {"hw_rng:allowed": "True"}, "swap": 0, "disk": 20}, "id": "01c56dd0-cb2d-4bb0-8d72-09109596cb75", "security_groups": [{"name": "autopkgtest-juju-7f2275-prod-proposed-migration-environment-3@bos01-s390x-14.secgroup"}], "OS-SRV-USG:terminated_at": null, "user_id": "3afbd64474684647986f8a196316be34", "OS-EXT-SRV-ATTR:hostname": "adt-noble-s390x-glib2.0-20240321-092443-juju-7f2275-prod-propos", "OS-DCF:diskConfig": "MANUAL", "accessIPv4": "", "accessIPv6": "", "OS-EXT-SRV-ATTR:reservation_id": "r-bbsibmpk", "progress": 0, "OS-EXT-STS:power_state": 0, "OS-EXT-AZ:availability_zone": "nova", "config_drive": "", "status": "BUILD", "OS-EXT-SRV-ATTR:ramdisk_id": "", "updated": "2024-03-21T09:26:38Z", "hostId": "e86e4255ccc62e3906c0ee1ba48805f4dc4d30fe2fd576ed7b2bb89e", "OS-EXT-SRV-ATTR:host": "swirlix13", "description": null, "tags": [], "key_name": "testbed-juju-7f2275-prod-proposed-migration-environment-3", "OS-EXT-SRV-ATTR:kernel_id": "", "OS-EXT-SRV-ATTR:hypervisor_hostname": "swirlix13.bos01.scalingstack", "locked": false, "name": "adt-noble-s390x-glib2.0-20240321-092443-juju-7f2275-prod-proposed-migration-environment-3", "OS-EXT-SRV-ATTR:launch_index": 0, "created": "2024-03-21T09:25:30Z", "tenant_id": "3f3b771a247746688951a4c90bf16631", "os-extended-volumes:volumes_attached": [], "metadata": {}}} 715s DEBUG (session:936) GET call to compute for http://nova-api.infra.bos01.scalingstack:8774/v2.1/servers/01c56dd0-cb2d-4bb0-8d72-09109596cb75 used request id req-34fbf91e-03fe-4dad-9424-ebfb8deec473 715s Server building... 0% completeDEBUG (session:517) REQ: curl -g -i -X GET http://nova-api.infra.bos01.scalingstack:8774/v2.1/servers/01c56dd0-cb2d-4bb0-8d72-09109596cb75 -H "Accept: application/json" -H "OpenStack-API-Version: compute 2.60" -H "User-Agent: python-novaclient" -H "X-Auth-Token: {SHA256}8c957d6143b5b73220b5052acd39032f4861c4e7ccad706257e8edcb858b6c94" -H "X-OpenStack-Nova-API-Version: 2.60" 715s DEBUG (connectionpool:429) http://nova-api.infra.bos01.scalingstack:8774 "GET /v2.1/servers/01c56dd0-cb2d-4bb0-8d72-09109596cb75 HTTP/1.1" 200 3221 715s DEBUG (session:548) RESP: [200] Connection: keep-alive Content-Length: 3221 Content-Type: application/json Date: Thu, 21 Mar 2024 09:27:36 GMT Openstack-Api-Version: compute 2.60 Vary: OpenStack-API-Version, X-OpenStack-Nova-API-Version X-Compute-Request-Id: req-38729ee7-0ed9-4348-a517-f1d899fb538a X-Openstack-Nova-Api-Version: 2.60 X-Openstack-Request-Id: req-38729ee7-0ed9-4348-a517-f1d899fb538a 715s DEBUG (session:580) RESP BODY: {"server": {"OS-EXT-STS:task_state": "spawning", "addresses": {}, "links": [{"href": "http://nova-api.infra.bos01.scalingstack:8774/v2.1/servers/01c56dd0-cb2d-4bb0-8d72-09109596cb75", "rel": "self"}, {"href": "http://nova-api.infra.bos01.scalingstack:8774/servers/01c56dd0-cb2d-4bb0-8d72-09109596cb75", "rel": "bookmark"}], "image": {"id": "a4b1c77c-a35e-4d28-a8d9-902a1febb465", "links": [{"href": "http://nova-api.infra.bos01.scalingstack:8774/images/a4b1c77c-a35e-4d28-a8d9-902a1febb465", "rel": "bookmark"}]}, "OS-EXT-SRV-ATTR:user_data": "I2Nsb3VkLWNvbmZpZwpob3N0bmFtZTogYXV0b3BrZ3Rlc3QKbWFuYWdlX2V0Y19ob3N0czogdHJ1ZQphcHRfdXBkYXRlOiB0cnVlCmFwdF91cGdyYWRlOiBmYWxzZQphcHRfbWlycm9yOiBodHRwOi8vdXMucG9ydHMudWJ1bnR1LmNvbS91YnVudHUtcG9ydHMvCgpydW5jbWQ6CiAtIGVjaG8gJ0FjcXVpcmU6Okxhbmd1YWdlcyAibm9uZSI7JyA+IC9ldGMvYXB0L2FwdC5jb25mLmQvOTBub2xhbmd1YWdlcwogLSBlY2hvICdmb3JjZS11bnNhZmUtaW8nID4gL2V0Yy9kcGtnL2Rwa2cuY2ZnLmQvYXV0b3BrZ3Rlc3QKIC0gcHJpbnRmICdcblRFUk09bGludXhcbidodHRwX3Byb3h5PWh0dHA6Ly9zcXVpZC5pbnRlcm5hbDozMTI4J1xuJ2h0dHBzX3Byb3h5PWh0dHA6Ly9zcXVpZC5pbnRlcm5hbDozMTI4J1xuJ25vX3Byb3h5PTEyNy4wLjAuMSwxMjcuMC4xLjEsbG9naW4udWJ1bnR1LmNvbSxsb2NhbGhvc3QsbG9jYWxkb21haW4sbm92YWxvY2FsLGludGVybmFsLGFyY2hpdmUudWJ1bnR1LmNvbSxwb3J0cy51YnVudHUuY29tLHNlY3VyaXR5LnVidW50dS5jb20sZGRlYnMudWJ1bnR1LmNvbSxjaGFuZ2Vsb2dzLnVidW50dS5jb20sbGF1bmNocGFkbGlicmFyaWFuLm5ldCxsYXVuY2hwYWRjb250ZW50Lm5ldCxsYXVuY2hwYWQubmV0LDEwLjI0LjAuMC8yNCxrZXlzdG9uZS5wczUuY2Fub25pY2FsLmNvbSxvYmplY3RzdG9yYWdlLnByb2RzdGFjazUuY2Fub25pY2FsLmNvbSdcbicgPj4gL2V0Yy9lbnZpcm9ubWVudAogLSBzZWQgLWkgLXIgJy9eMTI3LjAuMS4xLyBzL2F1dG9wa2d0ZXN0LVteIF0rXC4vYXV0b3BrZ3Rlc3RcLi8nIC9ldGMvaG9zdHMK", "OS-EXT-STS:vm_state": "building", "OS-EXT-SRV-ATTR:instance_name": "instance-00d536d0", "OS-EXT-SRV-ATTR:root_device_name": "/dev/sda", "OS-SRV-USG:launched_at": null, "flavor": {"ephemeral": 0, "ram": 1536, "original_name": "autopkgtest", "vcpus": 1, "extra_specs": {"hw_rng:allowed": "True"}, "swap": 0, "disk": 20}, "id": "01c56dd0-cb2d-4bb0-8d72-09109596cb75", "security_groups": [{"name": "autopkgtest-juju-7f2275-prod-proposed-migration-environment-3@bos01-s390x-14.secgroup"}], "OS-SRV-USG:terminated_at": null, "user_id": "3afbd64474684647986f8a196316be34", "OS-EXT-SRV-ATTR:hostname": "adt-noble-s390x-glib2.0-20240321-092443-juju-7f2275-prod-propos", "OS-DCF:diskConfig": "MANUAL", "accessIPv4": "", "accessIPv6": "", "OS-EXT-SRV-ATTR:reservation_id": "r-bbsibmpk", "progress": 0, "OS-EXT-STS:power_state": 0, "OS-EXT-AZ:availability_zone": "nova", "config_drive": "", "status": "BUILD", "OS-EXT-SRV-ATTR:ramdisk_id": "", "updated": "2024-03-21T09:26:38Z", "hostId": "e86e4255ccc62e3906c0ee1ba48805f4dc4d30fe2fd576ed7b2bb89e", "OS-EXT-SRV-ATTR:host": "swirlix13", "description": null, "tags": [], "key_name": "testbed-juju-7f2275-prod-proposed-migration-environment-3", "OS-EXT-SRV-ATTR:kernel_id": "", "OS-EXT-SRV-ATTR:hypervisor_hostname": "swirlix13.bos01.scalingstack", "locked": false, "name": "adt-noble-s390x-glib2.0-20240321-092443-juju-7f2275-prod-proposed-migration-environment-3", "OS-EXT-SRV-ATTR:launch_index": 0, "created": "2024-03-21T09:25:30Z", "tenant_id": "3f3b771a247746688951a4c90bf16631", "os-extended-volumes:volumes_attached": [], "metadata": {}}} 715s DEBUG (session:936) GET call to compute for http://nova-api.infra.bos01.scalingstack:8774/v2.1/servers/01c56dd0-cb2d-4bb0-8d72-09109596cb75 used request id req-38729ee7-0ed9-4348-a517-f1d899fb538a 715s Server building... 0% completeDEBUG (session:517) REQ: curl -g -i -X GET http://nova-api.infra.bos01.scalingstack:8774/v2.1/servers/01c56dd0-cb2d-4bb0-8d72-09109596cb75 -H "Accept: application/json" -H "OpenStack-API-Version: compute 2.60" -H "User-Agent: python-novaclient" -H "X-Auth-Token: {SHA256}8c957d6143b5b73220b5052acd39032f4861c4e7ccad706257e8edcb858b6c94" -H "X-OpenStack-Nova-API-Version: 2.60" 715s DEBUG (connectionpool:429) http://nova-api.infra.bos01.scalingstack:8774 "GET /v2.1/servers/01c56dd0-cb2d-4bb0-8d72-09109596cb75 HTTP/1.1" 200 3221 715s DEBUG (session:548) RESP: [200] Connection: keep-alive Content-Length: 3221 Content-Type: application/json Date: Thu, 21 Mar 2024 09:27:42 GMT Openstack-Api-Version: compute 2.60 Vary: OpenStack-API-Version, X-OpenStack-Nova-API-Version X-Compute-Request-Id: req-0c066b24-abb6-44ad-aa48-77cda7daefb1 X-Openstack-Nova-Api-Version: 2.60 X-Openstack-Request-Id: req-0c066b24-abb6-44ad-aa48-77cda7daefb1 715s DEBUG (session:580) RESP BODY: {"server": {"OS-EXT-STS:task_state": "spawning", "addresses": {}, "links": [{"href": "http://nova-api.infra.bos01.scalingstack:8774/v2.1/servers/01c56dd0-cb2d-4bb0-8d72-09109596cb75", "rel": "self"}, {"href": "http://nova-api.infra.bos01.scalingstack:8774/servers/01c56dd0-cb2d-4bb0-8d72-09109596cb75", "rel": "bookmark"}], "image": {"id": "a4b1c77c-a35e-4d28-a8d9-902a1febb465", "links": [{"href": "http://nova-api.infra.bos01.scalingstack:8774/images/a4b1c77c-a35e-4d28-a8d9-902a1febb465", "rel": "bookmark"}]}, "OS-EXT-SRV-ATTR:user_data": "I2Nsb3VkLWNvbmZpZwpob3N0bmFtZTogYXV0b3BrZ3Rlc3QKbWFuYWdlX2V0Y19ob3N0czogdHJ1ZQphcHRfdXBkYXRlOiB0cnVlCmFwdF91cGdyYWRlOiBmYWxzZQphcHRfbWlycm9yOiBodHRwOi8vdXMucG9ydHMudWJ1bnR1LmNvbS91YnVudHUtcG9ydHMvCgpydW5jbWQ6CiAtIGVjaG8gJ0FjcXVpcmU6Okxhbmd1YWdlcyAibm9uZSI7JyA+IC9ldGMvYXB0L2FwdC5jb25mLmQvOTBub2xhbmd1YWdlcwogLSBlY2hvICdmb3JjZS11bnNhZmUtaW8nID4gL2V0Yy9kcGtnL2Rwa2cuY2ZnLmQvYXV0b3BrZ3Rlc3QKIC0gcHJpbnRmICdcblRFUk09bGludXhcbidodHRwX3Byb3h5PWh0dHA6Ly9zcXVpZC5pbnRlcm5hbDozMTI4J1xuJ2h0dHBzX3Byb3h5PWh0dHA6Ly9zcXVpZC5pbnRlcm5hbDozMTI4J1xuJ25vX3Byb3h5PTEyNy4wLjAuMSwxMjcuMC4xLjEsbG9naW4udWJ1bnR1LmNvbSxsb2NhbGhvc3QsbG9jYWxkb21haW4sbm92YWxvY2FsLGludGVybmFsLGFyY2hpdmUudWJ1bnR1LmNvbSxwb3J0cy51YnVudHUuY29tLHNlY3VyaXR5LnVidW50dS5jb20sZGRlYnMudWJ1bnR1LmNvbSxjaGFuZ2Vsb2dzLnVidW50dS5jb20sbGF1bmNocGFkbGlicmFyaWFuLm5ldCxsYXVuY2hwYWRjb250ZW50Lm5ldCxsYXVuY2hwYWQubmV0LDEwLjI0LjAuMC8yNCxrZXlzdG9uZS5wczUuY2Fub25pY2FsLmNvbSxvYmplY3RzdG9yYWdlLnByb2RzdGFjazUuY2Fub25pY2FsLmNvbSdcbicgPj4gL2V0Yy9lbnZpcm9ubWVudAogLSBzZWQgLWkgLXIgJy9eMTI3LjAuMS4xLyBzL2F1dG9wa2d0ZXN0LVteIF0rXC4vYXV0b3BrZ3Rlc3RcLi8nIC9ldGMvaG9zdHMK", "OS-EXT-STS:vm_state": "building", "OS-EXT-SRV-ATTR:instance_name": "instance-00d536d0", "OS-EXT-SRV-ATTR:root_device_name": "/dev/sda", "OS-SRV-USG:launched_at": null, "flavor": {"ephemeral": 0, "ram": 1536, "original_name": "autopkgtest", "vcpus": 1, "extra_specs": {"hw_rng:allowed": "True"}, "swap": 0, "disk": 20}, "id": "01c56dd0-cb2d-4bb0-8d72-09109596cb75", "security_groups": [{"name": "autopkgtest-juju-7f2275-prod-proposed-migration-environment-3@bos01-s390x-14.secgroup"}], "OS-SRV-USG:terminated_at": null, "user_id": "3afbd64474684647986f8a196316be34", "OS-EXT-SRV-ATTR:hostname": "adt-noble-s390x-glib2.0-20240321-092443-juju-7f2275-prod-propos", "OS-DCF:diskConfig": "MANUAL", "accessIPv4": "", "accessIPv6": "", "OS-EXT-SRV-ATTR:reservation_id": "r-bbsibmpk", "progress": 0, "OS-EXT-STS:power_state": 0, "OS-EXT-AZ:availability_zone": "nova", "config_drive": "", "status": "BUILD", "OS-EXT-SRV-ATTR:ramdisk_id": "", "updated": "2024-03-21T09:26:38Z", "hostId": "e86e4255ccc62e3906c0ee1ba48805f4dc4d30fe2fd576ed7b2bb89e", "OS-EXT-SRV-ATTR:host": "swirlix13", "description": null, "tags": [], "key_name": "testbed-juju-7f2275-prod-proposed-migration-environment-3", "OS-EXT-SRV-ATTR:kernel_id": "", "OS-EXT-SRV-ATTR:hypervisor_hostname": "swirlix13.bos01.scalingstack", "locked": false, "name": "adt-noble-s390x-glib2.0-20240321-092443-juju-7f2275-prod-proposed-migration-environment-3", "OS-EXT-SRV-ATTR:launch_index": 0, "created": "2024-03-21T09:25:30Z", "tenant_id": "3f3b771a247746688951a4c90bf16631", "os-extended-volumes:volumes_attached": [], "metadata": {}}} 715s DEBUG (session:936) GET call to compute for http://nova-api.infra.bos01.scalingstack:8774/v2.1/servers/01c56dd0-cb2d-4bb0-8d72-09109596cb75 used request id req-0c066b24-abb6-44ad-aa48-77cda7daefb1 715s Server building... 0% completeDEBUG (session:517) REQ: curl -g -i -X GET http://nova-api.infra.bos01.scalingstack:8774/v2.1/servers/01c56dd0-cb2d-4bb0-8d72-09109596cb75 -H "Accept: application/json" -H "OpenStack-API-Version: compute 2.60" -H "User-Agent: python-novaclient" -H "X-Auth-Token: {SHA256}8c957d6143b5b73220b5052acd39032f4861c4e7ccad706257e8edcb858b6c94" -H "X-OpenStack-Nova-API-Version: 2.60" 715s DEBUG (connectionpool:429) http://nova-api.infra.bos01.scalingstack:8774 "GET /v2.1/servers/01c56dd0-cb2d-4bb0-8d72-09109596cb75 HTTP/1.1" 200 3221 715s DEBUG (session:548) RESP: [200] Connection: keep-alive Content-Length: 3221 Content-Type: application/json Date: Thu, 21 Mar 2024 09:27:47 GMT Openstack-Api-Version: compute 2.60 Vary: OpenStack-API-Version, X-OpenStack-Nova-API-Version X-Compute-Request-Id: req-72c465d8-debf-4adc-b6b2-0bbcc99ff202 X-Openstack-Nova-Api-Version: 2.60 X-Openstack-Request-Id: req-72c465d8-debf-4adc-b6b2-0bbcc99ff202 715s DEBUG (session:580) RESP BODY: {"server": {"OS-EXT-STS:task_state": "spawning", "addresses": {}, "links": [{"href": "http://nova-api.infra.bos01.scalingstack:8774/v2.1/servers/01c56dd0-cb2d-4bb0-8d72-09109596cb75", "rel": "self"}, {"href": "http://nova-api.infra.bos01.scalingstack:8774/servers/01c56dd0-cb2d-4bb0-8d72-09109596cb75", "rel": "bookmark"}], "image": {"id": "a4b1c77c-a35e-4d28-a8d9-902a1febb465", "links": [{"href": "http://nova-api.infra.bos01.scalingstack:8774/images/a4b1c77c-a35e-4d28-a8d9-902a1febb465", "rel": "bookmark"}]}, "OS-EXT-SRV-ATTR:user_data": "I2Nsb3VkLWNvbmZpZwpob3N0bmFtZTogYXV0b3BrZ3Rlc3QKbWFuYWdlX2V0Y19ob3N0czogdHJ1ZQphcHRfdXBkYXRlOiB0cnVlCmFwdF91cGdyYWRlOiBmYWxzZQphcHRfbWlycm9yOiBodHRwOi8vdXMucG9ydHMudWJ1bnR1LmNvbS91YnVudHUtcG9ydHMvCgpydW5jbWQ6CiAtIGVjaG8gJ0FjcXVpcmU6Okxhbmd1YWdlcyAibm9uZSI7JyA+IC9ldGMvYXB0L2FwdC5jb25mLmQvOTBub2xhbmd1YWdlcwogLSBlY2hvICdmb3JjZS11bnNhZmUtaW8nID4gL2V0Yy9kcGtnL2Rwa2cuY2ZnLmQvYXV0b3BrZ3Rlc3QKIC0gcHJpbnRmICdcblRFUk09bGludXhcbidodHRwX3Byb3h5PWh0dHA6Ly9zcXVpZC5pbnRlcm5hbDozMTI4J1xuJ2h0dHBzX3Byb3h5PWh0dHA6Ly9zcXVpZC5pbnRlcm5hbDozMTI4J1xuJ25vX3Byb3h5PTEyNy4wLjAuMSwxMjcuMC4xLjEsbG9naW4udWJ1bnR1LmNvbSxsb2NhbGhvc3QsbG9jYWxkb21haW4sbm92YWxvY2FsLGludGVybmFsLGFyY2hpdmUudWJ1bnR1LmNvbSxwb3J0cy51YnVudHUuY29tLHNlY3VyaXR5LnVidW50dS5jb20sZGRlYnMudWJ1bnR1LmNvbSxjaGFuZ2Vsb2dzLnVidW50dS5jb20sbGF1bmNocGFkbGlicmFyaWFuLm5ldCxsYXVuY2hwYWRjb250ZW50Lm5ldCxsYXVuY2hwYWQubmV0LDEwLjI0LjAuMC8yNCxrZXlzdG9uZS5wczUuY2Fub25pY2FsLmNvbSxvYmplY3RzdG9yYWdlLnByb2RzdGFjazUuY2Fub25pY2FsLmNvbSdcbicgPj4gL2V0Yy9lbnZpcm9ubWVudAogLSBzZWQgLWkgLXIgJy9eMTI3LjAuMS4xLyBzL2F1dG9wa2d0ZXN0LVteIF0rXC4vYXV0b3BrZ3Rlc3RcLi8nIC9ldGMvaG9zdHMK", "OS-EXT-STS:vm_state": "building", "OS-EXT-SRV-ATTR:instance_name": "instance-00d536d0", "OS-EXT-SRV-ATTR:root_device_name": "/dev/sda", "OS-SRV-USG:launched_at": null, "flavor": {"ephemeral": 0, "ram": 1536, "original_name": "autopkgtest", "vcpus": 1, "extra_specs": {"hw_rng:allowed": "True"}, "swap": 0, "disk": 20}, "id": "01c56dd0-cb2d-4bb0-8d72-09109596cb75", "security_groups": [{"name": "autopkgtest-juju-7f2275-prod-proposed-migration-environment-3@bos01-s390x-14.secgroup"}], "OS-SRV-USG:terminated_at": null, "user_id": "3afbd64474684647986f8a196316be34", "OS-EXT-SRV-ATTR:hostname": "adt-noble-s390x-glib2.0-20240321-092443-juju-7f2275-prod-propos", "OS-DCF:diskConfig": "MANUAL", "accessIPv4": "", "accessIPv6": "", "OS-EXT-SRV-ATTR:reservation_id": "r-bbsibmpk", "progress": 0, "OS-EXT-STS:power_state": 0, "OS-EXT-AZ:availability_zone": "nova", "config_drive": "", "status": "BUILD", "OS-EXT-SRV-ATTR:ramdisk_id": "", "updated": "2024-03-21T09:26:38Z", "hostId": "e86e4255ccc62e3906c0ee1ba48805f4dc4d30fe2fd576ed7b2bb89e", "OS-EXT-SRV-ATTR:host": "swirlix13", "description": null, "tags": [], "key_name": "testbed-juju-7f2275-prod-proposed-migration-environment-3", "OS-EXT-SRV-ATTR:kernel_id": "", "OS-EXT-SRV-ATTR:hypervisor_hostname": "swirlix13.bos01.scalingstack", "locked": false, "name": "adt-noble-s390x-glib2.0-20240321-092443-juju-7f2275-prod-proposed-migration-environment-3", "OS-EXT-SRV-ATTR:launch_index": 0, "created": "2024-03-21T09:25:30Z", "tenant_id": "3f3b771a247746688951a4c90bf16631", "os-extended-volumes:volumes_attached": [], "metadata": {}}} 715s DEBUG (session:936) GET call to compute for http://nova-api.infra.bos01.scalingstack:8774/v2.1/servers/01c56dd0-cb2d-4bb0-8d72-09109596cb75 used request id req-72c465d8-debf-4adc-b6b2-0bbcc99ff202 715s Server building... 0% completeDEBUG (session:517) REQ: curl -g -i -X GET http://nova-api.infra.bos01.scalingstack:8774/v2.1/servers/01c56dd0-cb2d-4bb0-8d72-09109596cb75 -H "Accept: application/json" -H "OpenStack-API-Version: compute 2.60" -H "User-Agent: python-novaclient" -H "X-Auth-Token: {SHA256}8c957d6143b5b73220b5052acd39032f4861c4e7ccad706257e8edcb858b6c94" -H "X-OpenStack-Nova-API-Version: 2.60" 715s DEBUG (connectionpool:429) http://nova-api.infra.bos01.scalingstack:8774 "GET /v2.1/servers/01c56dd0-cb2d-4bb0-8d72-09109596cb75 HTTP/1.1" 200 3221 715s DEBUG (session:548) RESP: [200] Connection: keep-alive Content-Length: 3221 Content-Type: application/json Date: Thu, 21 Mar 2024 09:27:57 GMT Openstack-Api-Version: compute 2.60 Vary: OpenStack-API-Version, X-OpenStack-Nova-API-Version X-Compute-Request-Id: req-4c7333d5-ab6b-4ee8-ac75-a659bb37ea61 X-Openstack-Nova-Api-Version: 2.60 X-Openstack-Request-Id: req-4c7333d5-ab6b-4ee8-ac75-a659bb37ea61 715s DEBUG (session:580) RESP BODY: {"server": {"OS-EXT-STS:task_state": "spawning", "addresses": {}, "links": [{"href": "http://nova-api.infra.bos01.scalingstack:8774/v2.1/servers/01c56dd0-cb2d-4bb0-8d72-09109596cb75", "rel": "self"}, {"href": "http://nova-api.infra.bos01.scalingstack:8774/servers/01c56dd0-cb2d-4bb0-8d72-09109596cb75", "rel": "bookmark"}], "image": {"id": "a4b1c77c-a35e-4d28-a8d9-902a1febb465", "links": [{"href": "http://nova-api.infra.bos01.scalingstack:8774/images/a4b1c77c-a35e-4d28-a8d9-902a1febb465", "rel": "bookmark"}]}, "OS-EXT-SRV-ATTR:user_data": "I2Nsb3VkLWNvbmZpZwpob3N0bmFtZTogYXV0b3BrZ3Rlc3QKbWFuYWdlX2V0Y19ob3N0czogdHJ1ZQphcHRfdXBkYXRlOiB0cnVlCmFwdF91cGdyYWRlOiBmYWxzZQphcHRfbWlycm9yOiBodHRwOi8vdXMucG9ydHMudWJ1bnR1LmNvbS91YnVudHUtcG9ydHMvCgpydW5jbWQ6CiAtIGVjaG8gJ0FjcXVpcmU6Okxhbmd1YWdlcyAibm9uZSI7JyA+IC9ldGMvYXB0L2FwdC5jb25mLmQvOTBub2xhbmd1YWdlcwogLSBlY2hvICdmb3JjZS11bnNhZmUtaW8nID4gL2V0Yy9kcGtnL2Rwa2cuY2ZnLmQvYXV0b3BrZ3Rlc3QKIC0gcHJpbnRmICdcblRFUk09bGludXhcbidodHRwX3Byb3h5PWh0dHA6Ly9zcXVpZC5pbnRlcm5hbDozMTI4J1xuJ2h0dHBzX3Byb3h5PWh0dHA6Ly9zcXVpZC5pbnRlcm5hbDozMTI4J1xuJ25vX3Byb3h5PTEyNy4wLjAuMSwxMjcuMC4xLjEsbG9naW4udWJ1bnR1LmNvbSxsb2NhbGhvc3QsbG9jYWxkb21haW4sbm92YWxvY2FsLGludGVybmFsLGFyY2hpdmUudWJ1bnR1LmNvbSxwb3J0cy51YnVudHUuY29tLHNlY3VyaXR5LnVidW50dS5jb20sZGRlYnMudWJ1bnR1LmNvbSxjaGFuZ2Vsb2dzLnVidW50dS5jb20sbGF1bmNocGFkbGlicmFyaWFuLm5ldCxsYXVuY2hwYWRjb250ZW50Lm5ldCxsYXVuY2hwYWQubmV0LDEwLjI0LjAuMC8yNCxrZXlzdG9uZS5wczUuY2Fub25pY2FsLmNvbSxvYmplY3RzdG9yYWdlLnByb2RzdGFjazUuY2Fub25pY2FsLmNvbSdcbicgPj4gL2V0Yy9lbnZpcm9ubWVudAogLSBzZWQgLWkgLXIgJy9eMTI3LjAuMS4xLyBzL2F1dG9wa2d0ZXN0LVteIF0rXC4vYXV0b3BrZ3Rlc3RcLi8nIC9ldGMvaG9zdHMK", "OS-EXT-STS:vm_state": "building", "OS-EXT-SRV-ATTR:instance_name": "instance-00d536d0", "OS-EXT-SRV-ATTR:root_device_name": "/dev/sda", "OS-SRV-USG:launched_at": null, "flavor": {"ephemeral": 0, "ram": 1536, "original_name": "autopkgtest", "vcpus": 1, "extra_specs": {"hw_rng:allowed": "True"}, "swap": 0, "disk": 20}, "id": "01c56dd0-cb2d-4bb0-8d72-09109596cb75", "security_groups": [{"name": "autopkgtest-juju-7f2275-prod-proposed-migration-environment-3@bos01-s390x-14.secgroup"}], "OS-SRV-USG:terminated_at": null, "user_id": "3afbd64474684647986f8a196316be34", "OS-EXT-SRV-ATTR:hostname": "adt-noble-s390x-glib2.0-20240321-092443-juju-7f2275-prod-propos", "OS-DCF:diskConfig": "MANUAL", "accessIPv4": "", "accessIPv6": "", "OS-EXT-SRV-ATTR:reservation_id": "r-bbsibmpk", "progress": 0, "OS-EXT-STS:power_state": 0, "OS-EXT-AZ:availability_zone": "nova", "config_drive": "", "status": "BUILD", "OS-EXT-SRV-ATTR:ramdisk_id": "", "updated": "2024-03-21T09:26:38Z", "hostId": "e86e4255ccc62e3906c0ee1ba48805f4dc4d30fe2fd576ed7b2bb89e", "OS-EXT-SRV-ATTR:host": "swirlix13", "description": null, "tags": [], "key_name": "testbed-juju-7f2275-prod-proposed-migration-environment-3", "OS-EXT-SRV-ATTR:kernel_id": "", "OS-EXT-SRV-ATTR:hypervisor_hostname": "swirlix13.bos01.scalingstack", "locked": false, "name": "adt-noble-s390x-glib2.0-20240321-092443-juju-7f2275-prod-proposed-migration-environment-3", "OS-EXT-SRV-ATTR:launch_index": 0, "created": "2024-03-21T09:25:30Z", "tenant_id": "3f3b771a247746688951a4c90bf16631", "os-extended-volumes:volumes_attached": [], "metadata": {}}} 715s DEBUG (session:936) GET call to compute for http://nova-api.infra.bos01.scalingstack:8774/v2.1/servers/01c56dd0-cb2d-4bb0-8d72-09109596cb75 used request id req-4c7333d5-ab6b-4ee8-ac75-a659bb37ea61 715s Server building... 0% completeDEBUG (session:517) REQ: curl -g -i -X GET http://nova-api.infra.bos01.scalingstack:8774/v2.1/servers/01c56dd0-cb2d-4bb0-8d72-09109596cb75 -H "Accept: application/json" -H "OpenStack-API-Version: compute 2.60" -H "User-Agent: python-novaclient" -H "X-Auth-Token: {SHA256}8c957d6143b5b73220b5052acd39032f4861c4e7ccad706257e8edcb858b6c94" -H "X-OpenStack-Nova-API-Version: 2.60" 715s DEBUG (connectionpool:429) http://nova-api.infra.bos01.scalingstack:8774 "GET /v2.1/servers/01c56dd0-cb2d-4bb0-8d72-09109596cb75 HTTP/1.1" 200 3221 715s DEBUG (session:548) RESP: [200] Connection: keep-alive Content-Length: 3221 Content-Type: application/json Date: Thu, 21 Mar 2024 09:28:04 GMT Openstack-Api-Version: compute 2.60 Vary: OpenStack-API-Version, X-OpenStack-Nova-API-Version X-Compute-Request-Id: req-47331285-805c-4d98-8b23-01c580585a8e X-Openstack-Nova-Api-Version: 2.60 X-Openstack-Request-Id: req-47331285-805c-4d98-8b23-01c580585a8e 715s DEBUG (session:580) RESP BODY: {"server": {"OS-EXT-STS:task_state": "spawning", "addresses": {}, "links": [{"href": "http://nova-api.infra.bos01.scalingstack:8774/v2.1/servers/01c56dd0-cb2d-4bb0-8d72-09109596cb75", "rel": "self"}, {"href": "http://nova-api.infra.bos01.scalingstack:8774/servers/01c56dd0-cb2d-4bb0-8d72-09109596cb75", "rel": "bookmark"}], "image": {"id": "a4b1c77c-a35e-4d28-a8d9-902a1febb465", "links": [{"href": "http://nova-api.infra.bos01.scalingstack:8774/images/a4b1c77c-a35e-4d28-a8d9-902a1febb465", "rel": "bookmark"}]}, "OS-EXT-SRV-ATTR:user_data": "I2Nsb3VkLWNvbmZpZwpob3N0bmFtZTogYXV0b3BrZ3Rlc3QKbWFuYWdlX2V0Y19ob3N0czogdHJ1ZQphcHRfdXBkYXRlOiB0cnVlCmFwdF91cGdyYWRlOiBmYWxzZQphcHRfbWlycm9yOiBodHRwOi8vdXMucG9ydHMudWJ1bnR1LmNvbS91YnVudHUtcG9ydHMvCgpydW5jbWQ6CiAtIGVjaG8gJ0FjcXVpcmU6Okxhbmd1YWdlcyAibm9uZSI7JyA+IC9ldGMvYXB0L2FwdC5jb25mLmQvOTBub2xhbmd1YWdlcwogLSBlY2hvICdmb3JjZS11bnNhZmUtaW8nID4gL2V0Yy9kcGtnL2Rwa2cuY2ZnLmQvYXV0b3BrZ3Rlc3QKIC0gcHJpbnRmICdcblRFUk09bGludXhcbidodHRwX3Byb3h5PWh0dHA6Ly9zcXVpZC5pbnRlcm5hbDozMTI4J1xuJ2h0dHBzX3Byb3h5PWh0dHA6Ly9zcXVpZC5pbnRlcm5hbDozMTI4J1xuJ25vX3Byb3h5PTEyNy4wLjAuMSwxMjcuMC4xLjEsbG9naW4udWJ1bnR1LmNvbSxsb2NhbGhvc3QsbG9jYWxkb21haW4sbm92YWxvY2FsLGludGVybmFsLGFyY2hpdmUudWJ1bnR1LmNvbSxwb3J0cy51YnVudHUuY29tLHNlY3VyaXR5LnVidW50dS5jb20sZGRlYnMudWJ1bnR1LmNvbSxjaGFuZ2Vsb2dzLnVidW50dS5jb20sbGF1bmNocGFkbGlicmFyaWFuLm5ldCxsYXVuY2hwYWRjb250ZW50Lm5ldCxsYXVuY2hwYWQubmV0LDEwLjI0LjAuMC8yNCxrZXlzdG9uZS5wczUuY2Fub25pY2FsLmNvbSxvYmplY3RzdG9yYWdlLnByb2RzdGFjazUuY2Fub25pY2FsLmNvbSdcbicgPj4gL2V0Yy9lbnZpcm9ubWVudAogLSBzZWQgLWkgLXIgJy9eMTI3LjAuMS4xLyBzL2F1dG9wa2d0ZXN0LVteIF0rXC4vYXV0b3BrZ3Rlc3RcLi8nIC9ldGMvaG9zdHMK", "OS-EXT-STS:vm_state": "building", "OS-EXT-SRV-ATTR:instance_name": "instance-00d536d0", "OS-EXT-SRV-ATTR:root_device_name": "/dev/sda", "OS-SRV-USG:launched_at": null, "flavor": {"ephemeral": 0, "ram": 1536, "original_name": "autopkgtest", "vcpus": 1, "extra_specs": {"hw_rng:allowed": "True"}, "swap": 0, "disk": 20}, "id": "01c56dd0-cb2d-4bb0-8d72-09109596cb75", "security_groups": [{"name": "autopkgtest-juju-7f2275-prod-proposed-migration-environment-3@bos01-s390x-14.secgroup"}], "OS-SRV-USG:terminated_at": null, "user_id": "3afbd64474684647986f8a196316be34", "OS-EXT-SRV-ATTR:hostname": "adt-noble-s390x-glib2.0-20240321-092443-juju-7f2275-prod-propos", "OS-DCF:diskConfig": "MANUAL", "accessIPv4": "", "accessIPv6": "", "OS-EXT-SRV-ATTR:reservation_id": "r-bbsibmpk", "progress": 0, "OS-EXT-STS:power_state": 0, "OS-EXT-AZ:availability_zone": "nova", "config_drive": "", "status": "BUILD", "OS-EXT-SRV-ATTR:ramdisk_id": "", "updated": "2024-03-21T09:26:38Z", "hostId": "e86e4255ccc62e3906c0ee1ba48805f4dc4d30fe2fd576ed7b2bb89e", "OS-EXT-SRV-ATTR:host": "swirlix13", "description": null, "tags": [], "key_name": "testbed-juju-7f2275-prod-proposed-migration-environment-3", "OS-EXT-SRV-ATTR:kernel_id": "", "OS-EXT-SRV-ATTR:hypervisor_hostname": "swirlix13.bos01.scalingstack", "locked": false, "name": "adt-noble-s390x-glib2.0-20240321-092443-juju-7f2275-prod-proposed-migration-environment-3", "OS-EXT-SRV-ATTR:launch_index": 0, "created": "2024-03-21T09:25:30Z", "tenant_id": "3f3b771a247746688951a4c90bf16631", "os-extended-volumes:volumes_attached": [], "metadata": {}}} 715s DEBUG (session:936) GET call to compute for http://nova-api.infra.bos01.scalingstack:8774/v2.1/servers/01c56dd0-cb2d-4bb0-8d72-09109596cb75 used request id req-47331285-805c-4d98-8b23-01c580585a8e 715s Server building... 0% completeDEBUG (session:517) REQ: curl -g -i -X GET http://nova-api.infra.bos01.scalingstack:8774/v2.1/servers/01c56dd0-cb2d-4bb0-8d72-09109596cb75 -H "Accept: application/json" -H "OpenStack-API-Version: compute 2.60" -H "User-Agent: python-novaclient" -H "X-Auth-Token: {SHA256}8c957d6143b5b73220b5052acd39032f4861c4e7ccad706257e8edcb858b6c94" -H "X-OpenStack-Nova-API-Version: 2.60" 715s DEBUG (connectionpool:429) http://nova-api.infra.bos01.scalingstack:8774 "GET /v2.1/servers/01c56dd0-cb2d-4bb0-8d72-09109596cb75 HTTP/1.1" 200 3221 715s DEBUG (session:548) RESP: [200] Connection: keep-alive Content-Length: 3221 Content-Type: application/json Date: Thu, 21 Mar 2024 09:28:10 GMT Openstack-Api-Version: compute 2.60 Vary: OpenStack-API-Version, X-OpenStack-Nova-API-Version X-Compute-Request-Id: req-4b90a1b3-47f5-4c82-ac7c-01f9fdbf3e74 X-Openstack-Nova-Api-Version: 2.60 X-Openstack-Request-Id: req-4b90a1b3-47f5-4c82-ac7c-01f9fdbf3e74 715s DEBUG (session:580) RESP BODY: {"server": {"OS-EXT-STS:task_state": "spawning", "addresses": {}, "links": [{"href": "http://nova-api.infra.bos01.scalingstack:8774/v2.1/servers/01c56dd0-cb2d-4bb0-8d72-09109596cb75", "rel": "self"}, {"href": "http://nova-api.infra.bos01.scalingstack:8774/servers/01c56dd0-cb2d-4bb0-8d72-09109596cb75", "rel": "bookmark"}], "image": {"id": "a4b1c77c-a35e-4d28-a8d9-902a1febb465", "links": [{"href": "http://nova-api.infra.bos01.scalingstack:8774/images/a4b1c77c-a35e-4d28-a8d9-902a1febb465", "rel": "bookmark"}]}, "OS-EXT-SRV-ATTR:user_data": "I2Nsb3VkLWNvbmZpZwpob3N0bmFtZTogYXV0b3BrZ3Rlc3QKbWFuYWdlX2V0Y19ob3N0czogdHJ1ZQphcHRfdXBkYXRlOiB0cnVlCmFwdF91cGdyYWRlOiBmYWxzZQphcHRfbWlycm9yOiBodHRwOi8vdXMucG9ydHMudWJ1bnR1LmNvbS91YnVudHUtcG9ydHMvCgpydW5jbWQ6CiAtIGVjaG8gJ0FjcXVpcmU6Okxhbmd1YWdlcyAibm9uZSI7JyA+IC9ldGMvYXB0L2FwdC5jb25mLmQvOTBub2xhbmd1YWdlcwogLSBlY2hvICdmb3JjZS11bnNhZmUtaW8nID4gL2V0Yy9kcGtnL2Rwa2cuY2ZnLmQvYXV0b3BrZ3Rlc3QKIC0gcHJpbnRmICdcblRFUk09bGludXhcbidodHRwX3Byb3h5PWh0dHA6Ly9zcXVpZC5pbnRlcm5hbDozMTI4J1xuJ2h0dHBzX3Byb3h5PWh0dHA6Ly9zcXVpZC5pbnRlcm5hbDozMTI4J1xuJ25vX3Byb3h5PTEyNy4wLjAuMSwxMjcuMC4xLjEsbG9naW4udWJ1bnR1LmNvbSxsb2NhbGhvc3QsbG9jYWxkb21haW4sbm92YWxvY2FsLGludGVybmFsLGFyY2hpdmUudWJ1bnR1LmNvbSxwb3J0cy51YnVudHUuY29tLHNlY3VyaXR5LnVidW50dS5jb20sZGRlYnMudWJ1bnR1LmNvbSxjaGFuZ2Vsb2dzLnVidW50dS5jb20sbGF1bmNocGFkbGlicmFyaWFuLm5ldCxsYXVuY2hwYWRjb250ZW50Lm5ldCxsYXVuY2hwYWQubmV0LDEwLjI0LjAuMC8yNCxrZXlzdG9uZS5wczUuY2Fub25pY2FsLmNvbSxvYmplY3RzdG9yYWdlLnByb2RzdGFjazUuY2Fub25pY2FsLmNvbSdcbicgPj4gL2V0Yy9lbnZpcm9ubWVudAogLSBzZWQgLWkgLXIgJy9eMTI3LjAuMS4xLyBzL2F1dG9wa2d0ZXN0LVteIF0rXC4vYXV0b3BrZ3Rlc3RcLi8nIC9ldGMvaG9zdHMK", "OS-EXT-STS:vm_state": "building", "OS-EXT-SRV-ATTR:instance_name": "instance-00d536d0", "OS-EXT-SRV-ATTR:root_device_name": "/dev/sda", "OS-SRV-USG:launched_at": null, "flavor": {"ephemeral": 0, "ram": 1536, "original_name": "autopkgtest", "vcpus": 1, "extra_specs": {"hw_rng:allowed": "True"}, "swap": 0, "disk": 20}, "id": "01c56dd0-cb2d-4bb0-8d72-09109596cb75", "security_groups": [{"name": "autopkgtest-juju-7f2275-prod-proposed-migration-environment-3@bos01-s390x-14.secgroup"}], "OS-SRV-USG:terminated_at": null, "user_id": "3afbd64474684647986f8a196316be34", "OS-EXT-SRV-ATTR:hostname": "adt-noble-s390x-glib2.0-20240321-092443-juju-7f2275-prod-propos", "OS-DCF:diskConfig": "MANUAL", "accessIPv4": "", "accessIPv6": "", "OS-EXT-SRV-ATTR:reservation_id": "r-bbsibmpk", "progress": 0, "OS-EXT-STS:power_state": 0, "OS-EXT-AZ:availability_zone": "nova", "config_drive": "", "status": "BUILD", "OS-EXT-SRV-ATTR:ramdisk_id": "", "updated": "2024-03-21T09:26:38Z", "hostId": "e86e4255ccc62e3906c0ee1ba48805f4dc4d30fe2fd576ed7b2bb89e", "OS-EXT-SRV-ATTR:host": "swirlix13", "description": null, "tags": [], "key_name": "testbed-juju-7f2275-prod-proposed-migration-environment-3", "OS-EXT-SRV-ATTR:kernel_id": "", "OS-EXT-SRV-ATTR:hypervisor_hostname": "swirlix13.bos01.scalingstack", "locked": false, "name": "adt-noble-s390x-glib2.0-20240321-092443-juju-7f2275-prod-proposed-migration-environment-3", "OS-EXT-SRV-ATTR:launch_index": 0, "created": "2024-03-21T09:25:30Z", "tenant_id": "3f3b771a247746688951a4c90bf16631", "os-extended-volumes:volumes_attached": [], "metadata": {}}} 715s DEBUG (session:936) GET call to compute for http://nova-api.infra.bos01.scalingstack:8774/v2.1/servers/01c56dd0-cb2d-4bb0-8d72-09109596cb75 used request id req-4b90a1b3-47f5-4c82-ac7c-01f9fdbf3e74 715s Server building... 0% completeDEBUG (session:517) REQ: curl -g -i -X GET http://nova-api.infra.bos01.scalingstack:8774/v2.1/servers/01c56dd0-cb2d-4bb0-8d72-09109596cb75 -H "Accept: application/json" -H "OpenStack-API-Version: compute 2.60" -H "User-Agent: python-novaclient" -H "X-Auth-Token: {SHA256}8c957d6143b5b73220b5052acd39032f4861c4e7ccad706257e8edcb858b6c94" -H "X-OpenStack-Nova-API-Version: 2.60" 715s DEBUG (connectionpool:429) http://nova-api.infra.bos01.scalingstack:8774 "GET /v2.1/servers/01c56dd0-cb2d-4bb0-8d72-09109596cb75 HTTP/1.1" 200 3012 715s DEBUG (session:548) RESP: [200] Connection: keep-alive Content-Length: 3012 Content-Type: application/json Date: Thu, 21 Mar 2024 09:28:16 GMT Openstack-Api-Version: compute 2.60 Vary: OpenStack-API-Version, X-OpenStack-Nova-API-Version X-Compute-Request-Id: req-7b70a57d-2282-4483-818f-fc8f721c2bc2 X-Openstack-Nova-Api-Version: 2.60 X-Openstack-Request-Id: req-7b70a57d-2282-4483-818f-fc8f721c2bc2 715s DEBUG (session:580) RESP BODY: {"server": {"OS-EXT-STS:task_state": "spawning", "addresses": {}, "links": [{"href": "http://nova-api.infra.bos01.scalingstack:8774/v2.1/servers/01c56dd0-cb2d-4bb0-8d72-09109596cb75", "rel": "self"}, {"href": "http://nova-api.infra.bos01.scalingstack:8774/servers/01c56dd0-cb2d-4bb0-8d72-09109596cb75", "rel": "bookmark"}], "image": {"id": "a4b1c77c-a35e-4d28-a8d9-902a1febb465", "links": [{"href": "http://nova-api.infra.bos01.scalingstack:8774/images/a4b1c77c-a35e-4d28-a8d9-902a1febb465", "rel": "bookmark"}]}, "OS-EXT-SRV-ATTR:user_data": "I2Nsb3VkLWNvbmZpZwpob3N0bmFtZTogYXV0b3BrZ3Rlc3QKbWFuYWdlX2V0Y19ob3N0czogdHJ1ZQphcHRfdXBkYXRlOiB0cnVlCmFwdF91cGdyYWRlOiBmYWxzZQphcHRfbWlycm9yOiBodHRwOi8vdXMucG9ydHMudWJ1bnR1LmNvbS91YnVudHUtcG9ydHMvCgpydW5jbWQ6CiAtIGVjaG8gJ0FjcXVpcmU6Okxhbmd1YWdlcyAibm9uZSI7JyA+IC9ldGMvYXB0L2FwdC5jb25mLmQvOTBub2xhbmd1YWdlcwogLSBlY2hvICdmb3JjZS11bnNhZmUtaW8nID4gL2V0Yy9kcGtnL2Rwa2cuY2ZnLmQvYXV0b3BrZ3Rlc3QKIC0gcHJpbnRmICdcblRFUk09bGludXhcbidodHRwX3Byb3h5PWh0dHA6Ly9zcXVpZC5pbnRlcm5hbDozMTI4J1xuJ2h0dHBzX3Byb3h5PWh0dHA6Ly9zcXVpZC5pbnRlcm5hbDozMTI4J1xuJ25vX3Byb3h5PTEyNy4wLjAuMSwxMjcuMC4xLjEsbG9naW4udWJ1bnR1LmNvbSxsb2NhbGhvc3QsbG9jYWxkb21haW4sbm92YWxvY2FsLGludGVybmFsLGFyY2hpdmUudWJ1bnR1LmNvbSxwb3J0cy51YnVudHUuY29tLHNlY3VyaXR5LnVidW50dS5jb20sZGRlYnMudWJ1bnR1LmNvbSxjaGFuZ2Vsb2dzLnVidW50dS5jb20sbGF1bmNocGFkbGlicmFyaWFuLm5ldCxsYXVuY2hwYWRjb250ZW50Lm5ldCxsYXVuY2hwYWQubmV0LDEwLjI0LjAuMC8yNCxrZXlzdG9uZS5wczUuY2Fub25pY2FsLmNvbSxvYmplY3RzdG9yYWdlLnByb2RzdGFjazUuY2Fub25pY2FsLmNvbSdcbicgPj4gL2V0Yy9lbnZpcm9ubWVudAogLSBzZWQgLWkgLXIgJy9eMTI3LjAuMS4xLyBzL2F1dG9wa2d0ZXN0LVteIF0rXC4vYXV0b3BrZ3Rlc3RcLi8nIC9ldGMvaG9zdHMK", "OS-EXT-STS:vm_state": "building", "OS-EXT-SRV-ATTR:instance_name": "instance-00d536d0", "OS-EXT-SRV-ATTR:root_device_name": "/dev/sda", "OS-SRV-USG:launched_at": null, "flavor": {"ephemeral": 0, "ram": 1536, "original_name": "autopkgtest", "vcpus": 1, "extra_specs": {"hw_rng:allowed": "True"}, "swap": 0, "disk": 20}, "id": "01c56dd0-cb2d-4bb0-8d72-09109596cb75", "OS-SRV-USG:terminated_at": null, "user_id": "3afbd64474684647986f8a196316be34", "OS-EXT-SRV-ATTR:hostname": "adt-noble-s390x-glib2.0-20240321-092443-juju-7f2275-prod-propos", "OS-DCF:diskConfig": "MANUAL", "accessIPv4": "", "accessIPv6": "", "OS-EXT-SRV-ATTR:reservation_id": "r-bbsibmpk", "progress": 0, "OS-EXT-STS:power_state": 0, "OS-EXT-AZ:availability_zone": "nova", "config_drive": "", "status": "BUILD", "OS-EXT-SRV-ATTR:ramdisk_id": "", "updated": "2024-03-21T09:28:12Z", "hostId": "", "OS-EXT-SRV-ATTR:host": null, "description": null, "tags": [], "key_name": "testbed-juju-7f2275-prod-proposed-migration-environment-3", "OS-EXT-SRV-ATTR:kernel_id": "", "OS-EXT-SRV-ATTR:hypervisor_hostname": null, "locked": false, "name": "adt-noble-s390x-glib2.0-20240321-092443-juju-7f2275-prod-proposed-migration-environment-3", "OS-EXT-SRV-ATTR:launch_index": 0, "created": "2024-03-21T09:25:30Z", "tenant_id": "3f3b771a247746688951a4c90bf16631", "os-extended-volumes:volumes_attached": [], "metadata": {}}} 715s DEBUG (session:936) GET call to compute for http://nova-api.infra.bos01.scalingstack:8774/v2.1/servers/01c56dd0-cb2d-4bb0-8d72-09109596cb75 used request id req-7b70a57d-2282-4483-818f-fc8f721c2bc2 715s Server building... 0% completeDEBUG (session:517) REQ: curl -g -i -X GET http://nova-api.infra.bos01.scalingstack:8774/v2.1/servers/01c56dd0-cb2d-4bb0-8d72-09109596cb75 -H "Accept: application/json" -H "OpenStack-API-Version: compute 2.60" -H "User-Agent: python-novaclient" -H "X-Auth-Token: {SHA256}8c957d6143b5b73220b5052acd39032f4861c4e7ccad706257e8edcb858b6c94" -H "X-OpenStack-Nova-API-Version: 2.60" 715s DEBUG (connectionpool:429) http://nova-api.infra.bos01.scalingstack:8774 "GET /v2.1/servers/01c56dd0-cb2d-4bb0-8d72-09109596cb75 HTTP/1.1" 200 3202 715s DEBUG (session:548) RESP: [200] Connection: keep-alive Content-Length: 3202 Content-Type: application/json Date: Thu, 21 Mar 2024 09:28:21 GMT Openstack-Api-Version: compute 2.60 Vary: OpenStack-API-Version, X-OpenStack-Nova-API-Version X-Compute-Request-Id: req-5f5361c8-8683-4cb8-b780-0cc9d195c31d X-Openstack-Nova-Api-Version: 2.60 X-Openstack-Request-Id: req-5f5361c8-8683-4cb8-b780-0cc9d195c31d 715s DEBUG (session:580) RESP BODY: {"server": {"OS-EXT-STS:task_state": null, "addresses": {}, "links": [{"href": "http://nova-api.infra.bos01.scalingstack:8774/v2.1/servers/01c56dd0-cb2d-4bb0-8d72-09109596cb75", "rel": "self"}, {"href": "http://nova-api.infra.bos01.scalingstack:8774/servers/01c56dd0-cb2d-4bb0-8d72-09109596cb75", "rel": "bookmark"}], "image": {"id": "a4b1c77c-a35e-4d28-a8d9-902a1febb465", "links": [{"href": "http://nova-api.infra.bos01.scalingstack:8774/images/a4b1c77c-a35e-4d28-a8d9-902a1febb465", "rel": "bookmark"}]}, "OS-EXT-SRV-ATTR:user_data": "I2Nsb3VkLWNvbmZpZwpob3N0bmFtZTogYXV0b3BrZ3Rlc3QKbWFuYWdlX2V0Y19ob3N0czogdHJ1ZQphcHRfdXBkYXRlOiB0cnVlCmFwdF91cGdyYWRlOiBmYWxzZQphcHRfbWlycm9yOiBodHRwOi8vdXMucG9ydHMudWJ1bnR1LmNvbS91YnVudHUtcG9ydHMvCgpydW5jbWQ6CiAtIGVjaG8gJ0FjcXVpcmU6Okxhbmd1YWdlcyAibm9uZSI7JyA+IC9ldGMvYXB0L2FwdC5jb25mLmQvOTBub2xhbmd1YWdlcwogLSBlY2hvICdmb3JjZS11bnNhZmUtaW8nID4gL2V0Yy9kcGtnL2Rwa2cuY2ZnLmQvYXV0b3BrZ3Rlc3QKIC0gcHJpbnRmICdcblRFUk09bGludXhcbidodHRwX3Byb3h5PWh0dHA6Ly9zcXVpZC5pbnRlcm5hbDozMTI4J1xuJ2h0dHBzX3Byb3h5PWh0dHA6Ly9zcXVpZC5pbnRlcm5hbDozMTI4J1xuJ25vX3Byb3h5PTEyNy4wLjAuMSwxMjcuMC4xLjEsbG9naW4udWJ1bnR1LmNvbSxsb2NhbGhvc3QsbG9jYWxkb21haW4sbm92YWxvY2FsLGludGVybmFsLGFyY2hpdmUudWJ1bnR1LmNvbSxwb3J0cy51YnVudHUuY29tLHNlY3VyaXR5LnVidW50dS5jb20sZGRlYnMudWJ1bnR1LmNvbSxjaGFuZ2Vsb2dzLnVidW50dS5jb20sbGF1bmNocGFkbGlicmFyaWFuLm5ldCxsYXVuY2hwYWRjb250ZW50Lm5ldCxsYXVuY2hwYWQubmV0LDEwLjI0LjAuMC8yNCxrZXlzdG9uZS5wczUuY2Fub25pY2FsLmNvbSxvYmplY3RzdG9yYWdlLnByb2RzdGFjazUuY2Fub25pY2FsLmNvbSdcbicgPj4gL2V0Yy9lbnZpcm9ubWVudAogLSBzZWQgLWkgLXIgJy9eMTI3LjAuMS4xLyBzL2F1dG9wa2d0ZXN0LVteIF0rXC4vYXV0b3BrZ3Rlc3RcLi8nIC9ldGMvaG9zdHMK", "OS-EXT-STS:vm_state": "error", "OS-EXT-SRV-ATTR:instance_name": "instance-00d536d0", "OS-EXT-SRV-ATTR:root_device_name": "/dev/sda", "OS-SRV-USG:launched_at": null, "flavor": {"ephemeral": 0, "ram": 1536, "original_name": "autopkgtest", "vcpus": 1, "extra_specs": {"hw_rng:allowed": "True"}, "swap": 0, "disk": 20}, "id": "01c56dd0-cb2d-4bb0-8d72-09109596cb75", "OS-SRV-USG:terminated_at": null, "user_id": "3afbd64474684647986f8a196316be34", "OS-EXT-SRV-ATTR:hostname": "adt-noble-s390x-glib2.0-20240321-092443-juju-7f2275-prod-propos", "OS-DCF:diskConfig": "MANUAL", "accessIPv4": "", "accessIPv6": "", "OS-EXT-SRV-ATTR:reservation_id": "r-bbsibmpk", "OS-EXT-STS:power_state": 0, "OS-EXT-AZ:availability_zone": "", "config_drive": "", "status": "ERROR", "OS-EXT-SRV-ATTR:ramdisk_id": "", "updated": "2024-03-21T09:28:16Z", "hostId": "", "OS-EXT-SRV-ATTR:host": null, "description": null, "tags": [], "key_name": "testbed-juju-7f2275-prod-proposed-migration-environment-3", "OS-EXT-SRV-ATTR:kernel_id": "", "OS-EXT-SRV-ATTR:hypervisor_hostname": null, "locked": false, "name": "adt-noble-s390x-glib2.0-20240321-092443-juju-7f2275-prod-proposed-migration-environment-3", "OS-EXT-SRV-ATTR:launch_index": 0, "created": "2024-03-21T09:25:30Z", "tenant_id": "3f3b771a247746688951a4c90bf16631", "os-extended-volumes:volumes_attached": [], "fault": {"message": "Exceeded maximum number of retries. Exhausted all hosts available for retrying build failures for instance 01c56dd0-cb2d-4bb0-8d72-09109596cb75.", "code": 500, "created": "2024-03-21T09:28:17Z"}, "metadata": {}}} 715s DEBUG (session:936) GET call to compute for http://nova-api.infra.bos01.scalingstack:8774/v2.1/servers/01c56dd0-cb2d-4bb0-8d72-09109596cb75 used request id req-5f5361c8-8683-4cb8-b780-0cc9d195c31d 715s DEBUG (shell:822) 715s Traceback (most recent call last): 715s File "/usr/lib/python3/dist-packages/novaclient/shell.py", line 820, in main 715s OpenStackComputeShell().main(argv) 715s File "/usr/lib/python3/dist-packages/novaclient/shell.py", line 742, in main 715s args.func(self.cs, args) 715s File "/usr/lib/python3/dist-packages/novaclient/v2/shell.py", line 980, in do_boot 715s _poll_for_status(cs.servers.get, server.id, 'building', ['active']) 715s File "/usr/lib/python3/dist-packages/novaclient/v2/shell.py", line 1019, in _poll_for_status 715s raise exceptions.ResourceInErrorState(obj) 715s novaclient.exceptions.ResourceInErrorState: 715s ERROR (ResourceInErrorState): 715s 715s Error building server 717s autopkgtest [09:36:40]: testbed dpkg architecture: s390x 717s autopkgtest [09:36:40]: testbed apt version: 2.7.12 717s autopkgtest [09:36:40]: @@@@@@@@@@@@@@@@@@@@ test bed setup 718s Get:1 http://ftpmaster.internal/ubuntu noble-proposed InRelease [117 kB] 719s Get:2 http://ftpmaster.internal/ubuntu noble-proposed/universe Sources [3802 kB] 719s Get:3 http://ftpmaster.internal/ubuntu noble-proposed/multiverse Sources [53.9 kB] 719s Get:4 http://ftpmaster.internal/ubuntu noble-proposed/restricted Sources [6540 B] 719s Get:5 http://ftpmaster.internal/ubuntu noble-proposed/main Sources [492 kB] 719s Get:6 http://ftpmaster.internal/ubuntu noble-proposed/main s390x Packages [664 kB] 719s Get:7 http://ftpmaster.internal/ubuntu noble-proposed/main s390x c-n-f Metadata [3032 B] 719s Get:8 http://ftpmaster.internal/ubuntu noble-proposed/restricted s390x Packages [1372 B] 719s Get:9 http://ftpmaster.internal/ubuntu noble-proposed/restricted s390x c-n-f Metadata [116 B] 719s Get:10 http://ftpmaster.internal/ubuntu noble-proposed/universe s390x Packages [3984 kB] 719s Get:11 http://ftpmaster.internal/ubuntu noble-proposed/universe s390x c-n-f Metadata [7292 B] 719s Get:12 http://ftpmaster.internal/ubuntu noble-proposed/multiverse s390x Packages [45.1 kB] 719s Get:13 http://ftpmaster.internal/ubuntu noble-proposed/multiverse s390x c-n-f Metadata [116 B] 721s Fetched 9176 kB in 3s (3478 kB/s) 721s Reading package lists... 724s Reading package lists... 724s Building dependency tree... 724s Reading state information... 725s Calculating upgrade... 725s The following packages have been kept back: 725s curl 725s 0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded. 725s Reading package lists... 725s Building dependency tree... 725s Reading state information... 726s 0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded. 726s Unknown architecture, assuming PC-style ttyS0 726s sh: Attempting to set up Debian/Ubuntu apt sources automatically 726s sh: Distribution appears to be Ubuntu 727s Reading package lists... 727s Building dependency tree... 727s Reading state information... 727s eatmydata is already the newest version (131-1). 727s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 727s Reading package lists... 728s Building dependency tree... 728s Reading state information... 728s dbus is already the newest version (1.14.10-4ubuntu1). 728s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 728s Reading package lists... 728s Building dependency tree... 728s Reading state information... 729s rng-tools-debian is already the newest version (2.4). 729s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 729s Reading package lists... 729s Building dependency tree... 729s Reading state information... 729s The following packages will be REMOVED: 729s cloud-init* python3-configobj* python3-debconf* 730s 0 upgraded, 0 newly installed, 3 to remove and 0 not upgraded. 730s After this operation, 3252 kB disk space will be freed. 730s (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 ... 51778 files and directories currently installed.) 730s Removing cloud-init (24.1.1-0ubuntu1) ... 730s Removing python3-configobj (5.0.8-3) ... 730s Removing python3-debconf (1.5.86) ... 730s Processing triggers for man-db (2.12.0-3) ... 731s (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 ... 51389 files and directories currently installed.) 731s Purging configuration files for cloud-init (24.1.1-0ubuntu1) ... 732s dpkg: warning: while removing cloud-init, directory '/etc/cloud/cloud.cfg.d' not empty so not removed 732s Processing triggers for rsyslog (8.2312.0-3ubuntu3) ... 732s invoke-rc.d: policy-rc.d denied execution of try-restart. 732s Reading package lists... 732s Building dependency tree... 732s Reading state information... 732s linux-generic is already the newest version (6.8.0-11.11+1). 732s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 733s Get:1 http://ftpmaster.internal/ubuntu noble InRelease [255 kB] 733s Hit:2 http://ftpmaster.internal/ubuntu noble-updates InRelease 733s Hit:3 http://ftpmaster.internal/ubuntu noble-security InRelease 733s Get:4 http://ftpmaster.internal/ubuntu noble/universe Sources [19.8 MB] 736s Get:5 http://ftpmaster.internal/ubuntu noble/main Sources [1380 kB] 736s Get:6 http://ftpmaster.internal/ubuntu noble/main s390x Packages [1364 kB] 736s Get:7 http://ftpmaster.internal/ubuntu noble/universe s390x Packages [14.4 MB] 736s Get:8 http://ftpmaster.internal/ubuntu noble/multiverse s390x Packages [167 kB] 744s Fetched 37.4 MB in 10s (3840 kB/s) 744s Reading package lists... 744s Reading package lists... 745s Building dependency tree... 745s Reading state information... 745s Calculating upgrade... 745s The following packages will be upgraded: 745s debianutils 745s 1 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 745s Need to get 90.1 kB of archives. 745s After this operation, 1024 B of additional disk space will be used. 745s Get:1 http://ftpmaster.internal/ubuntu noble/main s390x debianutils s390x 5.17 [90.1 kB] 746s Fetched 90.1 kB in 0s (331 kB/s) 746s (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 ... 51332 files and directories currently installed.) 746s Preparing to unpack .../debianutils_5.17_s390x.deb ... 746s Unpacking debianutils (5.17) over (5.16) ... 746s Setting up debianutils (5.17) ... 746s Processing triggers for man-db (2.12.0-3) ... 747s Reading package lists... 747s Building dependency tree... 747s Reading state information... 747s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 747s autopkgtest [09:37:10]: rebooting testbed after setup commands that affected boot 764s autopkgtest [09:37:27]: testbed running kernel: Linux 6.8.0-11-generic #11-Ubuntu SMP Tue Feb 13 23:45:46 UTC 2024 767s autopkgtest [09:37:30]: @@@@@@@@@@@@@@@@@@@@ apt-source glib2.0 777s Get:1 http://ftpmaster.internal/ubuntu noble/main glib2.0 2.79.2-1~ubuntu1 (dsc) [4332 B] 777s Get:2 http://ftpmaster.internal/ubuntu noble/main glib2.0 2.79.2-1~ubuntu1 (tar) [263 kB] 777s Get:3 http://ftpmaster.internal/ubuntu noble/main glib2.0 2.79.2-1~ubuntu1 (tar) [5488 kB] 777s Get:4 http://ftpmaster.internal/ubuntu noble/main glib2.0 2.79.2-1~ubuntu1 (diff) [126 kB] 777s gpgv: Signature made Mon Feb 26 20:17:53 2024 UTC 777s gpgv: using RSA key 92FE4F8B40CADC4ECCD60C1F5961FDBE9C619809 777s gpgv: Can't check signature: No public key 777s dpkg-source: warning: cannot verify inline signature for ./glib2.0_2.79.2-1~ubuntu1.dsc: no acceptable signature found 778s autopkgtest [09:37:41]: testing package glib2.0 version 2.79.2-1~ubuntu1 779s autopkgtest [09:37:42]: build not needed 802s autopkgtest [09:38:05]: test build: preparing testbed 806s Reading package lists... 806s Building dependency tree... 806s Reading state information... 807s Starting pkgProblemResolver with broken count: 0 807s Starting 2 pkgProblemResolver with broken count: 0 807s Done 807s The following additional packages will be installed: 807s build-essential cpp cpp-13 cpp-13-s390x-linux-gnu cpp-s390x-linux-gnu g++ 807s g++-13 g++-13-s390x-linux-gnu g++-s390x-linux-gnu gcc gcc-13 gcc-13-base 807s gcc-13-s390x-linux-gnu gcc-s390x-linux-gnu libasan8 libatomic1 libblkid-dev 807s libc-dev-bin libc6-dev libcc1-0 libcrypt-dev libffi-dev libgcc-13-dev 807s libgirepository-2.0-0 libglib2.0-bin libglib2.0-dev libglib2.0-dev-bin 807s libgomp1 libisl23 libitm1 libmount-dev libmpc3 libnsl-dev libpcre2-16-0 807s libpcre2-32-0 libpcre2-dev libpcre2-posix3 libpkgconf3 libselinux1-dev 807s libsepol-dev libstdc++-13-dev libtirpc-dev libubsan1 linux-libc-dev pkgconf 807s pkgconf-bin python3-packaging rpcsvc-proto uuid-dev zlib1g-dev 807s Suggested packages: 807s cpp-doc gcc-13-locales cpp-13-doc g++-multilib g++-13-multilib gcc-13-doc 807s gcc-multilib manpages-dev autoconf automake libtool flex bison gdb gcc-doc 807s gcc-13-multilib gdb-s390x-linux-gnu glibc-doc libgirepository1.0-dev 807s libglib2.0-doc libgdk-pixbuf2.0-bin libxml2-utils libstdc++-13-doc 807s Recommended packages: 807s manpages manpages-dev libc-devtools 807s The following NEW packages will be installed: 807s autopkgtest-satdep build-essential cpp cpp-13 cpp-13-s390x-linux-gnu 807s cpp-s390x-linux-gnu g++ g++-13 g++-13-s390x-linux-gnu g++-s390x-linux-gnu 807s gcc gcc-13 gcc-13-base gcc-13-s390x-linux-gnu gcc-s390x-linux-gnu libasan8 807s libatomic1 libblkid-dev libc-dev-bin libc6-dev libcc1-0 libcrypt-dev 807s libffi-dev libgcc-13-dev libgirepository-2.0-0 libglib2.0-bin libglib2.0-dev 807s libglib2.0-dev-bin libgomp1 libisl23 libitm1 libmount-dev libmpc3 libnsl-dev 807s libpcre2-16-0 libpcre2-32-0 libpcre2-dev libpcre2-posix3 libpkgconf3 807s libselinux1-dev libsepol-dev libstdc++-13-dev libtirpc-dev libubsan1 807s linux-libc-dev pkgconf pkgconf-bin python3-packaging rpcsvc-proto uuid-dev 807s zlib1g-dev 807s 0 upgraded, 51 newly installed, 0 to remove and 0 not upgraded. 807s Need to get 58.6 MB/58.6 MB of archives. 807s After this operation, 202 MB of additional disk space will be used. 807s Get:1 /tmp/autopkgtest.YcZbqk/1-autopkgtest-satdep.deb autopkgtest-satdep s390x 0 [720 B] 807s Get:2 http://ftpmaster.internal/ubuntu noble/main s390x gcc-13-base s390x 13.2.0-17ubuntu2 [47.4 kB] 807s Get:3 http://ftpmaster.internal/ubuntu noble/main s390x libc-dev-bin s390x 2.39-0ubuntu2 [20.2 kB] 807s Get:4 http://ftpmaster.internal/ubuntu noble/main s390x linux-libc-dev s390x 6.8.0-11.11 [1590 kB] 808s Get:5 http://ftpmaster.internal/ubuntu noble/main s390x libcrypt-dev s390x 1:4.4.36-4 [135 kB] 808s Get:6 http://ftpmaster.internal/ubuntu noble/main s390x libtirpc-dev s390x 1.3.4+ds-1build1 [225 kB] 808s Get:7 http://ftpmaster.internal/ubuntu noble/main s390x libnsl-dev s390x 1.3.0-3 [73.5 kB] 808s Get:8 http://ftpmaster.internal/ubuntu noble/main s390x rpcsvc-proto s390x 1.4.2-0ubuntu6 [64.7 kB] 808s Get:9 http://ftpmaster.internal/ubuntu noble/main s390x libc6-dev s390x 2.39-0ubuntu2 [1629 kB] 808s Get:10 http://ftpmaster.internal/ubuntu noble/main s390x libisl23 s390x 0.26-3 [722 kB] 808s Get:11 http://ftpmaster.internal/ubuntu noble/main s390x libmpc3 s390x 1.3.1-1 [54.9 kB] 808s Get:12 http://ftpmaster.internal/ubuntu noble/main s390x cpp-13-s390x-linux-gnu s390x 13.2.0-17ubuntu2 [9929 kB] 809s Get:13 http://ftpmaster.internal/ubuntu noble/main s390x cpp-13 s390x 13.2.0-17ubuntu2 [1026 B] 809s Get:14 http://ftpmaster.internal/ubuntu noble/main s390x cpp-s390x-linux-gnu s390x 4:13.2.0-7ubuntu1 [5308 B] 809s Get:15 http://ftpmaster.internal/ubuntu noble/main s390x cpp s390x 4:13.2.0-7ubuntu1 [22.4 kB] 809s Get:16 http://ftpmaster.internal/ubuntu noble/main s390x libcc1-0 s390x 14-20240303-1ubuntu1 [49.9 kB] 809s Get:17 http://ftpmaster.internal/ubuntu noble/main s390x libgomp1 s390x 14-20240303-1ubuntu1 [151 kB] 809s Get:18 http://ftpmaster.internal/ubuntu noble/main s390x libitm1 s390x 14-20240303-1ubuntu1 [31.1 kB] 809s Get:19 http://ftpmaster.internal/ubuntu noble/main s390x libatomic1 s390x 14-20240303-1ubuntu1 [9392 B] 809s Get:20 http://ftpmaster.internal/ubuntu noble/main s390x libasan8 s390x 14-20240303-1ubuntu1 [2998 kB] 809s Get:21 http://ftpmaster.internal/ubuntu noble/main s390x libubsan1 s390x 14-20240303-1ubuntu1 [1186 kB] 810s Get:22 http://ftpmaster.internal/ubuntu noble/main s390x libgcc-13-dev s390x 13.2.0-17ubuntu2 [1003 kB] 810s Get:23 http://ftpmaster.internal/ubuntu noble/main s390x gcc-13-s390x-linux-gnu s390x 13.2.0-17ubuntu2 [19.1 MB] 810s Get:24 http://ftpmaster.internal/ubuntu noble/main s390x gcc-13 s390x 13.2.0-17ubuntu2 [467 kB] 810s Get:25 http://ftpmaster.internal/ubuntu noble/main s390x gcc-s390x-linux-gnu s390x 4:13.2.0-7ubuntu1 [1208 B] 810s Get:26 http://ftpmaster.internal/ubuntu noble/main s390x gcc s390x 4:13.2.0-7ubuntu1 [5014 B] 810s Get:27 http://ftpmaster.internal/ubuntu noble/main s390x libstdc++-13-dev s390x 13.2.0-17ubuntu2 [2430 kB] 810s Get:28 http://ftpmaster.internal/ubuntu noble/main s390x g++-13-s390x-linux-gnu s390x 13.2.0-17ubuntu2 [11.3 MB] 810s Get:29 http://ftpmaster.internal/ubuntu noble/main s390x g++-13 s390x 13.2.0-17ubuntu2 [14.4 kB] 810s Get:30 http://ftpmaster.internal/ubuntu noble/main s390x g++-s390x-linux-gnu s390x 4:13.2.0-7ubuntu1 [956 B] 810s Get:31 http://ftpmaster.internal/ubuntu noble/main s390x g++ s390x 4:13.2.0-7ubuntu1 [1096 B] 810s Get:32 http://ftpmaster.internal/ubuntu noble/main s390x build-essential s390x 12.10ubuntu1 [4930 B] 810s Get:33 http://ftpmaster.internal/ubuntu noble/main s390x libgirepository-2.0-0 s390x 2.79.2-1~ubuntu1 [75.5 kB] 810s Get:34 http://ftpmaster.internal/ubuntu noble/main s390x libglib2.0-bin s390x 2.79.2-1~ubuntu1 [101 kB] 810s Get:35 http://ftpmaster.internal/ubuntu noble/main s390x libffi-dev s390x 3.4.6-1 [58.8 kB] 810s Get:36 http://ftpmaster.internal/ubuntu noble/main s390x python3-packaging all 23.2-1 [40.6 kB] 810s Get:37 http://ftpmaster.internal/ubuntu noble/main s390x libglib2.0-dev-bin s390x 2.79.2-1~ubuntu1 [221 kB] 811s Get:38 http://ftpmaster.internal/ubuntu noble/main s390x uuid-dev s390x 2.39.3-6ubuntu2 [34.2 kB] 811s Get:39 http://ftpmaster.internal/ubuntu noble/main s390x libblkid-dev s390x 2.39.3-6ubuntu2 [213 kB] 811s Get:40 http://ftpmaster.internal/ubuntu noble/main s390x libsepol-dev s390x 3.5-2 [395 kB] 811s Get:41 http://ftpmaster.internal/ubuntu noble/main s390x libpcre2-16-0 s390x 10.42-4ubuntu1 [229 kB] 811s Get:42 http://ftpmaster.internal/ubuntu noble/main s390x libpcre2-32-0 s390x 10.42-4ubuntu1 [217 kB] 811s Get:43 http://ftpmaster.internal/ubuntu noble/main s390x libpcre2-posix3 s390x 10.42-4ubuntu1 [6704 B] 811s Get:44 http://ftpmaster.internal/ubuntu noble/main s390x libpcre2-dev s390x 10.42-4ubuntu1 [805 kB] 811s Get:45 http://ftpmaster.internal/ubuntu noble/main s390x libselinux1-dev s390x 3.5-2build1 [168 kB] 811s Get:46 http://ftpmaster.internal/ubuntu noble/main s390x libmount-dev s390x 2.39.3-6ubuntu2 [14.9 kB] 811s Get:47 http://ftpmaster.internal/ubuntu noble/main s390x libpkgconf3 s390x 1.8.1-2 [30.4 kB] 811s Get:48 http://ftpmaster.internal/ubuntu noble/main s390x pkgconf-bin s390x 1.8.1-2 [20.8 kB] 811s Get:49 http://ftpmaster.internal/ubuntu noble/main s390x pkgconf s390x 1.8.1-2 [16.7 kB] 811s Get:50 http://ftpmaster.internal/ubuntu noble/main s390x zlib1g-dev s390x 1:1.3.dfsg-3ubuntu1 [905 kB] 811s Get:51 http://ftpmaster.internal/ubuntu noble/main s390x libglib2.0-dev s390x 2.79.2-1~ubuntu1 [1820 kB] 811s Fetched 58.6 MB in 4s (16.0 MB/s) 811s Selecting previously unselected package gcc-13-base:s390x. 811s (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 ... 51332 files and directories currently installed.) 811s Preparing to unpack .../00-gcc-13-base_13.2.0-17ubuntu2_s390x.deb ... 811s Unpacking gcc-13-base:s390x (13.2.0-17ubuntu2) ... 811s Selecting previously unselected package libc-dev-bin. 811s Preparing to unpack .../01-libc-dev-bin_2.39-0ubuntu2_s390x.deb ... 811s Unpacking libc-dev-bin (2.39-0ubuntu2) ... 811s Selecting previously unselected package linux-libc-dev:s390x. 811s Preparing to unpack .../02-linux-libc-dev_6.8.0-11.11_s390x.deb ... 811s Unpacking linux-libc-dev:s390x (6.8.0-11.11) ... 812s Selecting previously unselected package libcrypt-dev:s390x. 812s Preparing to unpack .../03-libcrypt-dev_1%3a4.4.36-4_s390x.deb ... 812s Unpacking libcrypt-dev:s390x (1:4.4.36-4) ... 812s Selecting previously unselected package libtirpc-dev:s390x. 812s Preparing to unpack .../04-libtirpc-dev_1.3.4+ds-1build1_s390x.deb ... 812s Unpacking libtirpc-dev:s390x (1.3.4+ds-1build1) ... 812s Selecting previously unselected package libnsl-dev:s390x. 812s Preparing to unpack .../05-libnsl-dev_1.3.0-3_s390x.deb ... 812s Unpacking libnsl-dev:s390x (1.3.0-3) ... 812s Selecting previously unselected package rpcsvc-proto. 812s Preparing to unpack .../06-rpcsvc-proto_1.4.2-0ubuntu6_s390x.deb ... 812s Unpacking rpcsvc-proto (1.4.2-0ubuntu6) ... 812s Selecting previously unselected package libc6-dev:s390x. 812s Preparing to unpack .../07-libc6-dev_2.39-0ubuntu2_s390x.deb ... 812s Unpacking libc6-dev:s390x (2.39-0ubuntu2) ... 812s Selecting previously unselected package libisl23:s390x. 812s Preparing to unpack .../08-libisl23_0.26-3_s390x.deb ... 812s Unpacking libisl23:s390x (0.26-3) ... 812s Selecting previously unselected package libmpc3:s390x. 812s Preparing to unpack .../09-libmpc3_1.3.1-1_s390x.deb ... 812s Unpacking libmpc3:s390x (1.3.1-1) ... 812s Selecting previously unselected package cpp-13-s390x-linux-gnu. 812s Preparing to unpack .../10-cpp-13-s390x-linux-gnu_13.2.0-17ubuntu2_s390x.deb ... 812s Unpacking cpp-13-s390x-linux-gnu (13.2.0-17ubuntu2) ... 812s Selecting previously unselected package cpp-13. 812s Preparing to unpack .../11-cpp-13_13.2.0-17ubuntu2_s390x.deb ... 812s Unpacking cpp-13 (13.2.0-17ubuntu2) ... 812s Selecting previously unselected package cpp-s390x-linux-gnu. 812s Preparing to unpack .../12-cpp-s390x-linux-gnu_4%3a13.2.0-7ubuntu1_s390x.deb ... 812s Unpacking cpp-s390x-linux-gnu (4:13.2.0-7ubuntu1) ... 812s Selecting previously unselected package cpp. 812s Preparing to unpack .../13-cpp_4%3a13.2.0-7ubuntu1_s390x.deb ... 812s Unpacking cpp (4:13.2.0-7ubuntu1) ... 812s Selecting previously unselected package libcc1-0:s390x. 812s Preparing to unpack .../14-libcc1-0_14-20240303-1ubuntu1_s390x.deb ... 812s Unpacking libcc1-0:s390x (14-20240303-1ubuntu1) ... 812s Selecting previously unselected package libgomp1:s390x. 812s Preparing to unpack .../15-libgomp1_14-20240303-1ubuntu1_s390x.deb ... 812s Unpacking libgomp1:s390x (14-20240303-1ubuntu1) ... 812s Selecting previously unselected package libitm1:s390x. 812s Preparing to unpack .../16-libitm1_14-20240303-1ubuntu1_s390x.deb ... 812s Unpacking libitm1:s390x (14-20240303-1ubuntu1) ... 812s Selecting previously unselected package libatomic1:s390x. 812s Preparing to unpack .../17-libatomic1_14-20240303-1ubuntu1_s390x.deb ... 812s Unpacking libatomic1:s390x (14-20240303-1ubuntu1) ... 812s Selecting previously unselected package libasan8:s390x. 812s Preparing to unpack .../18-libasan8_14-20240303-1ubuntu1_s390x.deb ... 812s Unpacking libasan8:s390x (14-20240303-1ubuntu1) ... 812s Selecting previously unselected package libubsan1:s390x. 812s Preparing to unpack .../19-libubsan1_14-20240303-1ubuntu1_s390x.deb ... 812s Unpacking libubsan1:s390x (14-20240303-1ubuntu1) ... 812s Selecting previously unselected package libgcc-13-dev:s390x. 812s Preparing to unpack .../20-libgcc-13-dev_13.2.0-17ubuntu2_s390x.deb ... 812s Unpacking libgcc-13-dev:s390x (13.2.0-17ubuntu2) ... 812s Selecting previously unselected package gcc-13-s390x-linux-gnu. 812s Preparing to unpack .../21-gcc-13-s390x-linux-gnu_13.2.0-17ubuntu2_s390x.deb ... 812s Unpacking gcc-13-s390x-linux-gnu (13.2.0-17ubuntu2) ... 813s Selecting previously unselected package gcc-13. 813s Preparing to unpack .../22-gcc-13_13.2.0-17ubuntu2_s390x.deb ... 813s Unpacking gcc-13 (13.2.0-17ubuntu2) ... 813s Selecting previously unselected package gcc-s390x-linux-gnu. 813s Preparing to unpack .../23-gcc-s390x-linux-gnu_4%3a13.2.0-7ubuntu1_s390x.deb ... 813s Unpacking gcc-s390x-linux-gnu (4:13.2.0-7ubuntu1) ... 813s Selecting previously unselected package gcc. 813s Preparing to unpack .../24-gcc_4%3a13.2.0-7ubuntu1_s390x.deb ... 813s Unpacking gcc (4:13.2.0-7ubuntu1) ... 813s Selecting previously unselected package libstdc++-13-dev:s390x. 813s Preparing to unpack .../25-libstdc++-13-dev_13.2.0-17ubuntu2_s390x.deb ... 813s Unpacking libstdc++-13-dev:s390x (13.2.0-17ubuntu2) ... 813s Selecting previously unselected package g++-13-s390x-linux-gnu. 813s Preparing to unpack .../26-g++-13-s390x-linux-gnu_13.2.0-17ubuntu2_s390x.deb ... 813s Unpacking g++-13-s390x-linux-gnu (13.2.0-17ubuntu2) ... 813s Selecting previously unselected package g++-13. 813s Preparing to unpack .../27-g++-13_13.2.0-17ubuntu2_s390x.deb ... 813s Unpacking g++-13 (13.2.0-17ubuntu2) ... 813s Selecting previously unselected package g++-s390x-linux-gnu. 813s Preparing to unpack .../28-g++-s390x-linux-gnu_4%3a13.2.0-7ubuntu1_s390x.deb ... 813s Unpacking g++-s390x-linux-gnu (4:13.2.0-7ubuntu1) ... 813s Selecting previously unselected package g++. 813s Preparing to unpack .../29-g++_4%3a13.2.0-7ubuntu1_s390x.deb ... 813s Unpacking g++ (4:13.2.0-7ubuntu1) ... 813s Selecting previously unselected package build-essential. 813s Preparing to unpack .../30-build-essential_12.10ubuntu1_s390x.deb ... 813s Unpacking build-essential (12.10ubuntu1) ... 814s Selecting previously unselected package libgirepository-2.0-0:s390x. 814s Preparing to unpack .../31-libgirepository-2.0-0_2.79.2-1~ubuntu1_s390x.deb ... 814s Unpacking libgirepository-2.0-0:s390x (2.79.2-1~ubuntu1) ... 814s Selecting previously unselected package libglib2.0-bin. 814s Preparing to unpack .../32-libglib2.0-bin_2.79.2-1~ubuntu1_s390x.deb ... 814s Unpacking libglib2.0-bin (2.79.2-1~ubuntu1) ... 814s Selecting previously unselected package libffi-dev:s390x. 814s Preparing to unpack .../33-libffi-dev_3.4.6-1_s390x.deb ... 814s Unpacking libffi-dev:s390x (3.4.6-1) ... 814s Selecting previously unselected package python3-packaging. 814s Preparing to unpack .../34-python3-packaging_23.2-1_all.deb ... 814s Unpacking python3-packaging (23.2-1) ... 814s Selecting previously unselected package libglib2.0-dev-bin. 814s Preparing to unpack .../35-libglib2.0-dev-bin_2.79.2-1~ubuntu1_s390x.deb ... 814s Unpacking libglib2.0-dev-bin (2.79.2-1~ubuntu1) ... 814s Selecting previously unselected package uuid-dev:s390x. 814s Preparing to unpack .../36-uuid-dev_2.39.3-6ubuntu2_s390x.deb ... 814s Unpacking uuid-dev:s390x (2.39.3-6ubuntu2) ... 814s Selecting previously unselected package libblkid-dev:s390x. 814s Preparing to unpack .../37-libblkid-dev_2.39.3-6ubuntu2_s390x.deb ... 814s Unpacking libblkid-dev:s390x (2.39.3-6ubuntu2) ... 814s Selecting previously unselected package libsepol-dev:s390x. 814s Preparing to unpack .../38-libsepol-dev_3.5-2_s390x.deb ... 814s Unpacking libsepol-dev:s390x (3.5-2) ... 814s Selecting previously unselected package libpcre2-16-0:s390x. 814s Preparing to unpack .../39-libpcre2-16-0_10.42-4ubuntu1_s390x.deb ... 814s Unpacking libpcre2-16-0:s390x (10.42-4ubuntu1) ... 814s Selecting previously unselected package libpcre2-32-0:s390x. 814s Preparing to unpack .../40-libpcre2-32-0_10.42-4ubuntu1_s390x.deb ... 814s Unpacking libpcre2-32-0:s390x (10.42-4ubuntu1) ... 814s Selecting previously unselected package libpcre2-posix3:s390x. 814s Preparing to unpack .../41-libpcre2-posix3_10.42-4ubuntu1_s390x.deb ... 814s Unpacking libpcre2-posix3:s390x (10.42-4ubuntu1) ... 814s Selecting previously unselected package libpcre2-dev:s390x. 814s Preparing to unpack .../42-libpcre2-dev_10.42-4ubuntu1_s390x.deb ... 814s Unpacking libpcre2-dev:s390x (10.42-4ubuntu1) ... 814s Selecting previously unselected package libselinux1-dev:s390x. 814s Preparing to unpack .../43-libselinux1-dev_3.5-2build1_s390x.deb ... 814s Unpacking libselinux1-dev:s390x (3.5-2build1) ... 814s Selecting previously unselected package libmount-dev:s390x. 814s Preparing to unpack .../44-libmount-dev_2.39.3-6ubuntu2_s390x.deb ... 814s Unpacking libmount-dev:s390x (2.39.3-6ubuntu2) ... 814s Selecting previously unselected package libpkgconf3:s390x. 814s Preparing to unpack .../45-libpkgconf3_1.8.1-2_s390x.deb ... 814s Unpacking libpkgconf3:s390x (1.8.1-2) ... 814s Selecting previously unselected package pkgconf-bin. 814s Preparing to unpack .../46-pkgconf-bin_1.8.1-2_s390x.deb ... 814s Unpacking pkgconf-bin (1.8.1-2) ... 814s Selecting previously unselected package pkgconf:s390x. 814s Preparing to unpack .../47-pkgconf_1.8.1-2_s390x.deb ... 814s Unpacking pkgconf:s390x (1.8.1-2) ... 814s Selecting previously unselected package zlib1g-dev:s390x. 814s Preparing to unpack .../48-zlib1g-dev_1%3a1.3.dfsg-3ubuntu1_s390x.deb ... 814s Unpacking zlib1g-dev:s390x (1:1.3.dfsg-3ubuntu1) ... 814s Selecting previously unselected package libglib2.0-dev:s390x. 814s Preparing to unpack .../49-libglib2.0-dev_2.79.2-1~ubuntu1_s390x.deb ... 814s Unpacking libglib2.0-dev:s390x (2.79.2-1~ubuntu1) ... 814s Selecting previously unselected package autopkgtest-satdep. 814s Preparing to unpack .../50-1-autopkgtest-satdep.deb ... 814s Unpacking autopkgtest-satdep (0) ... 814s Setting up libgirepository-2.0-0:s390x (2.79.2-1~ubuntu1) ... 814s Setting up linux-libc-dev:s390x (6.8.0-11.11) ... 814s Setting up libglib2.0-bin (2.79.2-1~ubuntu1) ... 814s Setting up libgomp1:s390x (14-20240303-1ubuntu1) ... 814s Setting up libffi-dev:s390x (3.4.6-1) ... 814s Setting up libpcre2-16-0:s390x (10.42-4ubuntu1) ... 814s Setting up libpcre2-32-0:s390x (10.42-4ubuntu1) ... 814s Setting up python3-packaging (23.2-1) ... 814s Setting up libtirpc-dev:s390x (1.3.4+ds-1build1) ... 814s Setting up libpkgconf3:s390x (1.8.1-2) ... 814s Setting up rpcsvc-proto (1.4.2-0ubuntu6) ... 814s Setting up gcc-13-base:s390x (13.2.0-17ubuntu2) ... 814s Setting up libmpc3:s390x (1.3.1-1) ... 814s Setting up libatomic1:s390x (14-20240303-1ubuntu1) ... 814s Setting up libsepol-dev:s390x (3.5-2) ... 814s Setting up pkgconf-bin (1.8.1-2) ... 814s Setting up libubsan1:s390x (14-20240303-1ubuntu1) ... 814s Setting up libpcre2-posix3:s390x (10.42-4ubuntu1) ... 814s Setting up libnsl-dev:s390x (1.3.0-3) ... 814s Setting up libcrypt-dev:s390x (1:4.4.36-4) ... 814s Setting up libasan8:s390x (14-20240303-1ubuntu1) ... 814s Setting up libisl23:s390x (0.26-3) ... 814s Setting up libc-dev-bin (2.39-0ubuntu2) ... 814s Setting up libcc1-0:s390x (14-20240303-1ubuntu1) ... 814s Setting up libitm1:s390x (14-20240303-1ubuntu1) ... 814s Setting up libglib2.0-dev-bin (2.79.2-1~ubuntu1) ... 814s Setting up pkgconf:s390x (1.8.1-2) ... 814s Setting up cpp-13-s390x-linux-gnu (13.2.0-17ubuntu2) ... 814s Setting up libgcc-13-dev:s390x (13.2.0-17ubuntu2) ... 814s Setting up libc6-dev:s390x (2.39-0ubuntu2) ... 814s Setting up libstdc++-13-dev:s390x (13.2.0-17ubuntu2) ... 814s Setting up libpcre2-dev:s390x (10.42-4ubuntu1) ... 814s Setting up cpp-13 (13.2.0-17ubuntu2) ... 814s Setting up cpp-s390x-linux-gnu (4:13.2.0-7ubuntu1) ... 814s Setting up libselinux1-dev:s390x (3.5-2build1) ... 814s Setting up gcc-13-s390x-linux-gnu (13.2.0-17ubuntu2) ... 814s Setting up gcc-s390x-linux-gnu (4:13.2.0-7ubuntu1) ... 815s Setting up uuid-dev:s390x (2.39.3-6ubuntu2) ... 815s Setting up g++-13-s390x-linux-gnu (13.2.0-17ubuntu2) ... 815s Setting up gcc-13 (13.2.0-17ubuntu2) ... 815s Setting up zlib1g-dev:s390x (1:1.3.dfsg-3ubuntu1) ... 815s Setting up cpp (4:13.2.0-7ubuntu1) ... 815s Setting up libblkid-dev:s390x (2.39.3-6ubuntu2) ... 815s Setting up g++-13 (13.2.0-17ubuntu2) ... 815s Setting up g++-s390x-linux-gnu (4:13.2.0-7ubuntu1) ... 815s Setting up gcc (4:13.2.0-7ubuntu1) ... 815s Setting up g++ (4:13.2.0-7ubuntu1) ... 815s update-alternatives: using /usr/bin/g++ to provide /usr/bin/c++ (c++) in auto mode 815s Setting up build-essential (12.10ubuntu1) ... 815s Setting up libmount-dev:s390x (2.39.3-6ubuntu2) ... 815s Setting up libglib2.0-dev:s390x (2.79.2-1~ubuntu1) ... 815s Processing triggers for libc-bin (2.39-0ubuntu2) ... 815s Processing triggers for man-db (2.12.0-3) ... 815s Processing triggers for install-info (7.1-3) ... 815s Processing triggers for libglib2.0-0:s390x (2.79.2-1~ubuntu1) ... 815s No schema files found: doing nothing. 815s Setting up autopkgtest-satdep (0) ... 818s (Reading database ... 55121 files and directories currently installed.) 818s Removing autopkgtest-satdep (0) ... 819s autopkgtest [09:38:22]: test build: [----------------------- 819s + mode=dynamic 819s + getopt -o --long static -n debian/tests/build -- 819s + getopt_temp= -- 819s + eval set -- -- 819s + set -- -- 819s + true 819s + shift 819s + break 819s + mktemp -d 819s + WORKDIR=/tmp/tmp.kwI7Jj2FJe 819s + trap rm -rf "${WORKDIR}" 0 INT QUIT ABRT PIPE TERM 819s + cd /tmp/tmp.kwI7Jj2FJe 819s + [ -n ] 819s + CROSS_COMPILE= 819s + cat 819s + cat 819s + cat 819s + cat 819s + cat 819s + cat 819s + cflags= 819s + pcflags= 819s + packages=glib-2.0 819s + pkg-config --cflags --libs glib-2.0 819s + gcc -o glib-dynamic glib.c -I/usr/include/glib-2.0 -I/usr/lib/s390x-linux-gnu/glib-2.0/include -lglib-2.0 819s + echo build (glib, dynamic): OK 819s + [ -xbuild (glib, dynamic): OK 819s glib-dynamic ] 819s + foo=bar ./glib-dynamic 819s + echo run (glib, dynamic): OK 819s + cflags= 819s + pcflags= 819s + packages=gobject-2.0 819s run (glib, dynamic): OK 819s + pkg-config --cflags --libs gobject-2.0 819s + gcc -o gobject-dynamic gobject.c -I/usr/include/glib-2.0 -I/usr/lib/s390x-linux-gnu/glib-2.0/include -lgobject-2.0 -lglib-2.0 819s + echo build (gobject, dynamic): OK 819s + [ -x gobject-dynamic ] 819s + foo=bar ./gobject-dynamic 819s build (gobject, dynamic): OK 819s + echo run (gobject, dynamic): OK 819s + cflags= 819s + pcflags= 819s + packages=gio-2.0 819s + pkg-config --cflagsrun (gobject, dynamic): OK 819s --libs gio-2.0 819s + gcc -o gio-dynamic gio.c -I/usr/include/glib-2.0 -I/usr/lib/s390x-linux-gnu/glib-2.0/include -pthread -I/usr/include/libmount -I/usr/include/blkid -lgio-2.0 -lgobject-2.0 -lglib-2.0 819s build (gio, dynamic): OK 819s + echo build (gio, dynamic): OK 819s + [ -x gio-dynamic ] 819s + foo=bar ./gio-dynamic 819s + echo run (gio, dynamic): OK 819s + cflags= 819s + pcflags= 819s + packages=gio-unix-2.0 819s run (gio, dynamic): OK 819s + pkg-config --cflags --libs gio-unix-2.0 819s + gcc -o gio-unix-dynamic gio-unix.c -I/usr/include/gio-unix-2.0 -I/usr/include/glib-2.0 -I/usr/lib/s390x-linux-gnu/glib-2.0/include -pthread -I/usr/include/libmount -I/usr/include/blkid -lgio-2.0 -lgobject-2.0 -lglib-2.0 819s build (gio-unix, dynamic): OK 819s + echo build (gio-unix, dynamic): OK 819s + [ -x gio-unix-dynamic ] 819s + foo=bar ./gio-unix-dynamic 819s + echo run (gio-unix, dynamic): OK 819s + cflags= 819s + pcflags= 819s + packages=gmodule-2.0 819s + pkg-config --cflags --libs gmodule-2.0 819s run (gio-unix, dynamic): OK 819s + gcc -o gmodule-dynamic gmodule.c -pthread -I/usr/include/glib-2.0 -I/usr/lib/s390x-linux-gnu/glib-2.0/include -Wl,--export-dynamic -lgmodule-2.0 -pthread -lglib-2.0 -lglib-2.0 819s build (gmodule, dynamic): OK 819s run (gmodule, dynamic): OK 819s + echo build (gmodule, dynamic): OK 819s + [ -x gmodule-dynamic ] 819s + foo=bar ./gmodule-dynamic 819s + echo run (gmodule, dynamic): OK 819s + cflags= 819s + pcflags= 819s + packages=gthread-2.0 819s + pkg-config --cflags --libs gthread-2.0 819s + gcc -o gthread-dynamic gthread.c -pthread -I/usr/include/glib-2.0 -I/usr/lib/s390x-linux-gnu/glib-2.0/include -lgthread-2.0 -pthread -lglib-2.0 820s build (gthread, dynamic): OK 820s run (gthread, dynamic): OK 820s + echo build (gthread, dynamic): OK 820s + [ -x gthread-dynamic ] 820s + foo=bar ./gthread-dynamic 820s + echo run (gthread, dynamic): OK 820s + rm -rf /tmp/tmp.kwI7Jj2FJe 820s autopkgtest [09:38:23]: test build: -----------------------] 820s build PASS (superficial) 820s autopkgtest [09:38:23]: test build: - - - - - - - - - - results - - - - - - - - - - 821s autopkgtest [09:38:24]: test build-static: preparing testbed 822s Reading package lists... 822s Building dependency tree... 822s Reading state information... 822s Starting pkgProblemResolver with broken count: 0 822s Starting 2 pkgProblemResolver with broken count: 0 822s Done 823s The following NEW packages will be installed: 823s autopkgtest-satdep 823s 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. 823s Need to get 0 B/720 B of archives. 823s After this operation, 0 B of additional disk space will be used. 823s Get:1 /tmp/autopkgtest.YcZbqk/2-autopkgtest-satdep.deb autopkgtest-satdep s390x 0 [720 B] 823s Selecting previously unselected package autopkgtest-satdep. 823s (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 ... 55121 files and directories currently installed.) 823s Preparing to unpack .../2-autopkgtest-satdep.deb ... 823s Unpacking autopkgtest-satdep (0) ... 823s Setting up autopkgtest-satdep (0) ... 825s (Reading database ... 55121 files and directories currently installed.) 825s Removing autopkgtest-satdep (0) ... 826s autopkgtest [09:38:29]: test build-static: [----------------------- 826s + mode=dynamic 826s + getopt -o --long static -n debian/tests/build -- --static 826s + getopt_temp= --static -- 826s + eval set -- --static -- 826s + set -- --static -- 826s + true 826s + mode=static 826s + shift 826s + continue 826s + true 826s + shift 826s + break 826s + mktemp -d 826s + WORKDIR=/tmp/tmp.NBEBa5ueU8 826s + trap rm -rf "${WORKDIR}" 0 INT QUIT ABRT PIPE TERM 826s + cd /tmp/tmp.NBEBa5ueU8 826s + [ -n ] 826s + CROSS_COMPILE= 826s + cat 826s + cat 826s + cat 826s + cat 826s + cat 826s + cat 826s + cflags= 826s + pcflags= 826s + packages=glib-2.0 826s + cflags=-static 826s + pcflags=--static 826s + pkg-config --static --cflags --libs glib-2.0 826s + gcc -static -o glib-static glib.c -I/usr/include/glib-2.0 -I/usr/lib/s390x-linux-gnu/glib-2.0/include -lglib-2.0 -lm -pthread -lpcre2-8 826s /usr/bin/ld: /usr/lib/gcc/s390x-linux-gnu/13/../../../s390x-linux-gnu/libglib-2.0.a(gutils.c.o): in function `g_get_user_database_entry': 826s (.text+0xfc): warning: Using 'getpwnam_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 826s /usr/bin/ld: (.text+0x2ba): warning: Using 'getpwuid' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 826s /usr/bin/ld: (.text+0x13a): warning: Using 'getpwuid_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 826s + echo build (glib, static): OK 826s + [ -x glib-static ] 826s + foo=bar ./glib-static 826s + echo run (glib, static): OK 826s + cflags= 826s + pcflags= 826s + packages=gobject-2.0 826s + cflags=-static 826s + pcflags=--static 826s + pkg-config --static --cflags --libs gobject-2.0 826s + gcc -static -o gobject-static gobject.c -I/usr/include/glib-2.0 -I/usr/lib/s390x-linux-gnu/glib-2.0/include -lgobject-2.0 -lglib-2.0 -lm -pthread -lpcre2-8 -lffi 826s build (glib, static): OK 826s run (glib, static): OK 826s /usr/bin/ld: /usr/lib/gcc/s390x-linux-gnu/13/../../../s390x-linux-gnu/libglib-2.0.a(gutils.c.o): in function `g_get_user_database_entry': 826s (.text+0xfc): warning: Using 'getpwnam_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 826s /usr/bin/ld: (.text+0x2ba): warning: Using 'getpwuid' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 826s /usr/bin/ld: (.text+0x13a): warning: Using 'getpwuid_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 826s build (gobject, static): OK 826s + echo build (gobject, static): OK 826s + [ -x gobject-static ] 826s + foo=bar ./gobject-static 826s + echo run (gobject, static): OK 826s + cflags= 826s + pcflags= 826s + run (gobject, static): OK 826s packages=gio-2.0 826s + cflags=-static 826s + pcflags=--static 826s + continue 826s + cflags= 826s + pcflags= 826s + packages=gio-unix-2.0 826s + cflags=-static 826s + pcflags=--static 826s + continue 826s + cflags= 826s + pcflags= 826s + packages=gmodule-2.0 826s + cflags=-static 826s + pcflags=--static 826s + pkg-config --static --cflags --libs gmodule-2.0 826s + gcc -static -o gmodule-static gmodule.c -pthread -I/usr/include/glib-2.0 -I/usr/lib/s390x-linux-gnu/glib-2.0/include -Wl,--export-dynamic -lgmodule-2.0 -pthread -lglib-2.0 -lm -pthread -lpcre2-8 -lglib-2.0 -lm -pthread -lpcre2-8 826s /usr/bin/ld: /usr/lib/gcc/s390x-linux-gnu/13/../../../s390x-linux-gnu/libgmodule-2.0.a(gmodule.c.o): in function `g_module_open_full': 826s (.text+0x6b4): warning: Using 'dlopen' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 826s /usr/bin/ld: /usr/lib/gcc/s390x-linux-gnu/13/../../../s390x-linux-gnu/libglib-2.0.a(gutils.c.o): in function `g_get_user_database_entry': 826s (.text+0xfc): warning: Using 'getpwnam_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 826s /usr/bin/ld: (.text+0x2ba): warning: Using 'getpwuid' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 826s /usr/bin/ld: (.text+0x13a): warning: Using 'getpwuid_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 826s + echo build (gmodule, static): OK 826s + [ -x gmodule-static ] 826s + foo=bar ./gmodule-static 826s build (gmodule, static): OK 826s run (gmodule, static): OK 826s + echo run (gmodule, static): OK 826s + cflags= 826s + pcflags= 826s + packages=gthread-2.0 826s + cflags=-static 826s + pcflags=--static 826s + pkg-config --static --cflags --libs gthread-2.0 826s + gcc -static -o gthread-static gthread.c -pthread -I/usr/include/glib-2.0 -I/usr/lib/s390x-linux-gnu/glib-2.0/include -lgthread-2.0 -pthread -lglib-2.0 -lm -pthread -lpcre2-8 827s /usr/bin/ld: /usr/lib/gcc/s390x-linux-gnu/13/../../../s390x-linux-gnu/libglib-2.0.a(gutils.c.o): in function `g_get_user_database_entry': 827s (.text+0xfc): warning: Using 'getpwnam_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 827s /usr/bin/ld: (.text+0x2ba): warning: Using 'getpwuid' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 827s /usr/bin/ld: (.text+0x13a): warning: Using 'getpwuid_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 827s + echo build (gthread, static): OK 827s + [ -x gthread-static ] 827s + foo=bar ./gthread-static 827s build (gthread, static): OK 827s + echo run (gthread, static): OK 827s + rm -rf /tmp/tmp.NBEBa5ueU8 827s run (gthread, static): OK 827s autopkgtest [09:38:30]: test build-static: -----------------------] 827s autopkgtest [09:38:30]: test build-static: - - - - - - - - - - results - - - - - - - - - - 827s build-static PASS (superficial) 828s autopkgtest [09:38:31]: test installed-tests: preparing testbed 1185s autopkgtest [09:44:28]: testbed dpkg architecture: s390x 1185s autopkgtest [09:44:28]: testbed apt version: 2.7.12 1185s autopkgtest [09:44:28]: @@@@@@@@@@@@@@@@@@@@ test bed setup 1186s Get:1 http://ftpmaster.internal/ubuntu noble-proposed InRelease [117 kB] 1186s Get:2 http://ftpmaster.internal/ubuntu noble-proposed/multiverse Sources [53.9 kB] 1186s Get:3 http://ftpmaster.internal/ubuntu noble-proposed/universe Sources [3758 kB] 1187s Get:4 http://ftpmaster.internal/ubuntu noble-proposed/main Sources [493 kB] 1187s Get:5 http://ftpmaster.internal/ubuntu noble-proposed/restricted Sources [6540 B] 1187s Get:6 http://ftpmaster.internal/ubuntu noble-proposed/main s390x Packages [660 kB] 1187s Get:7 http://ftpmaster.internal/ubuntu noble-proposed/main s390x c-n-f Metadata [3032 B] 1187s Get:8 http://ftpmaster.internal/ubuntu noble-proposed/restricted s390x Packages [1372 B] 1187s Get:9 http://ftpmaster.internal/ubuntu noble-proposed/restricted s390x c-n-f Metadata [116 B] 1187s Get:10 http://ftpmaster.internal/ubuntu noble-proposed/universe s390x Packages [3981 kB] 1187s Get:11 http://ftpmaster.internal/ubuntu noble-proposed/universe s390x c-n-f Metadata [7292 B] 1187s Get:12 http://ftpmaster.internal/ubuntu noble-proposed/multiverse s390x Packages [45.1 kB] 1187s Get:13 http://ftpmaster.internal/ubuntu noble-proposed/multiverse s390x c-n-f Metadata [116 B] 1189s Fetched 9126 kB in 3s (3056 kB/s) 1190s Reading package lists... 1192s Reading package lists... 1193s Building dependency tree... 1193s Reading state information... 1193s Calculating upgrade... 1193s The following packages have been kept back: 1193s curl 1193s 0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded. 1193s Reading package lists... 1193s Building dependency tree... 1193s Reading state information... 1193s 0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded. 1194s Unknown architecture, assuming PC-style ttyS0 1194s sh: Attempting to set up Debian/Ubuntu apt sources automatically 1194s sh: Distribution appears to be Ubuntu 1195s Reading package lists... 1195s Building dependency tree... 1195s Reading state information... 1195s eatmydata is already the newest version (131-1). 1195s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 1195s Reading package lists... 1195s Building dependency tree... 1195s Reading state information... 1195s dbus is already the newest version (1.14.10-4ubuntu1). 1195s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 1195s Reading package lists... 1196s Building dependency tree... 1196s Reading state information... 1196s rng-tools-debian is already the newest version (2.4). 1196s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 1196s Reading package lists... 1196s Building dependency tree... 1196s Reading state information... 1196s The following packages will be REMOVED: 1196s cloud-init* python3-configobj* python3-debconf* 1196s 0 upgraded, 0 newly installed, 3 to remove and 0 not upgraded. 1196s After this operation, 3252 kB disk space will be freed. 1197s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 51778 files and directories currently installed.) 1197s Removing cloud-init (24.1.1-0ubuntu1) ... 1197s Removing python3-configobj (5.0.8-3) ... 1197s Removing python3-debconf (1.5.86) ... 1197s Processing triggers for man-db (2.12.0-3) ... 1198s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 51389 files and directories currently installed.) 1198s Purging configuration files for cloud-init (24.1.1-0ubuntu1) ... 1198s dpkg: warning: while removing cloud-init, directory '/etc/cloud/cloud.cfg.d' not empty so not removed 1198s Processing triggers for rsyslog (8.2312.0-3ubuntu3) ... 1198s invoke-rc.d: policy-rc.d denied execution of try-restart. 1199s Reading package lists... 1199s Building dependency tree... 1199s Reading state information... 1199s linux-generic is already the newest version (6.8.0-11.11+1). 1199s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 1199s Get:1 http://ftpmaster.internal/ubuntu noble InRelease [255 kB] 1200s Hit:2 http://ftpmaster.internal/ubuntu noble-updates InRelease 1200s Hit:3 http://ftpmaster.internal/ubuntu noble-security InRelease 1200s Get:4 http://ftpmaster.internal/ubuntu noble/main Sources [1374 kB] 1200s Get:5 http://ftpmaster.internal/ubuntu noble/universe Sources [19.8 MB] 1201s Get:6 http://ftpmaster.internal/ubuntu noble/main s390x Packages [1364 kB] 1201s Get:7 http://ftpmaster.internal/ubuntu noble/universe s390x Packages [14.4 MB] 1202s Get:8 http://ftpmaster.internal/ubuntu noble/multiverse s390x Packages [167 kB] 1209s Fetched 37.4 MB in 8s (4410 kB/s) 1210s Reading package lists... 1210s Reading package lists... 1210s Building dependency tree... 1210s Reading state information... 1210s Calculating upgrade... 1210s The following packages will be upgraded: 1210s debianutils 1210s 1 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 1210s Need to get 90.1 kB of archives. 1210s After this operation, 1024 B of additional disk space will be used. 1210s Get:1 http://ftpmaster.internal/ubuntu noble/main s390x debianutils s390x 5.17 [90.1 kB] 1211s Fetched 90.1 kB in 0s (330 kB/s) 1211s (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 ... 51332 files and directories currently installed.) 1211s Preparing to unpack .../debianutils_5.17_s390x.deb ... 1211s Unpacking debianutils (5.17) over (5.16) ... 1211s Setting up debianutils (5.17) ... 1211s Processing triggers for man-db (2.12.0-3) ... 1212s Reading package lists... 1212s Building dependency tree... 1212s Reading state information... 1212s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 1212s autopkgtest [09:44:55]: rebooting testbed after setup commands that affected boot 1246s Reading package lists... 1246s Building dependency tree... 1246s Reading state information... 1246s Starting pkgProblemResolver with broken count: 0 1246s Starting 2 pkgProblemResolver with broken count: 0 1246s Done 1246s The following additional packages will be installed: 1246s dbus-x11 desktop-file-utils gnome-desktop-testing libdrm-amdgpu1 1246s libdrm-nouveau2 libdrm-radeon1 libfontenc1 libfreetype6 1246s libgirepository-2.0-0 libgl1 libgl1-mesa-dri libglapi-mesa libglib2.0-bin 1246s libglib2.0-dev-bin libglib2.0-tests libglvnd0 libglx-mesa0 libglx0 libice6 1246s libllvm17 libpixman-1-0 libsm6 libvulkan1 libx11-xcb1 libxaw7 libxcb-dri2-0 1246s libxcb-dri3-0 libxcb-glx0 libxcb-present0 libxcb-randr0 libxcb-shm0 1246s libxcb-sync1 libxcb-xfixes0 libxfixes3 libxfont2 libxkbfile1 libxmu6 libxpm4 1246s libxrandr2 libxrender1 libxshmfence1 libxt6 libxxf86vm1 python3-dbusmock 1246s python3-packaging x11-common x11-xkb-utils xserver-common xvfb 1246s Suggested packages: 1246s libgdk-pixbuf2.0-bin libxml2-utils python3-pytest 1246s Recommended packages: 1246s libgl1-amber-dri xdg-desktop-portal mesa-vulkan-drivers | vulkan-icd 1246s xfonts-base 1246s The following NEW packages will be installed: 1247s autopkgtest-satdep dbus-x11 desktop-file-utils gnome-desktop-testing 1247s libdrm-amdgpu1 libdrm-nouveau2 libdrm-radeon1 libfontenc1 libfreetype6 1247s libgirepository-2.0-0 libgl1 libgl1-mesa-dri libglapi-mesa libglib2.0-bin 1247s libglib2.0-dev-bin libglib2.0-tests libglvnd0 libglx-mesa0 libglx0 libice6 1247s libllvm17 libpixman-1-0 libsm6 libvulkan1 libx11-xcb1 libxaw7 libxcb-dri2-0 1247s libxcb-dri3-0 libxcb-glx0 libxcb-present0 libxcb-randr0 libxcb-shm0 1247s libxcb-sync1 libxcb-xfixes0 libxfixes3 libxfont2 libxkbfile1 libxmu6 libxpm4 1247s libxrandr2 libxrender1 libxshmfence1 libxt6 libxxf86vm1 python3-dbusmock 1247s python3-packaging x11-common x11-xkb-utils xserver-common xvfb 1247s 0 upgraded, 50 newly installed, 0 to remove and 0 not upgraded. 1247s Need to get 44.6 MB/44.6 MB of archives. 1247s After this operation, 214 MB of additional disk space will be used. 1247s Get:1 /tmp/autopkgtest.YcZbqk/3-autopkgtest-satdep.deb autopkgtest-satdep s390x 0 [772 B] 1247s Get:2 http://ftpmaster.internal/ubuntu noble/main s390x dbus-x11 s390x 1.14.10-4ubuntu1 [24.0 kB] 1247s Get:3 http://ftpmaster.internal/ubuntu noble/main s390x desktop-file-utils s390x 0.26-1ubuntu5 [54.4 kB] 1247s Get:4 http://ftpmaster.internal/ubuntu noble/universe s390x gnome-desktop-testing s390x 2021.1-3 [15.9 kB] 1247s Get:5 http://ftpmaster.internal/ubuntu noble/main s390x libdrm-amdgpu1 s390x 2.4.120-2 [21.1 kB] 1247s Get:6 http://ftpmaster.internal/ubuntu noble/main s390x libdrm-nouveau2 s390x 2.4.120-2 [18.5 kB] 1247s Get:7 http://ftpmaster.internal/ubuntu noble/main s390x libdrm-radeon1 s390x 2.4.120-2 [22.7 kB] 1247s Get:8 http://ftpmaster.internal/ubuntu noble/main s390x libfontenc1 s390x 1:1.1.8-1 [14.8 kB] 1247s Get:9 http://ftpmaster.internal/ubuntu noble/main s390x libfreetype6 s390x 2.13.2+dfsg-1 [431 kB] 1247s Get:10 http://ftpmaster.internal/ubuntu noble/main s390x libgirepository-2.0-0 s390x 2.79.2-1~ubuntu1 [75.5 kB] 1247s Get:11 http://ftpmaster.internal/ubuntu noble/main s390x libvulkan1 s390x 1.3.275.0-1 [155 kB] 1247s Get:12 http://ftpmaster.internal/ubuntu noble/main s390x libglapi-mesa s390x 24.0.1-1ubuntu1 [68.7 kB] 1247s Get:13 http://ftpmaster.internal/ubuntu noble/main s390x libllvm17 s390x 1:17.0.6-5build1 [31.2 MB] 1248s Get:14 http://ftpmaster.internal/ubuntu noble/main s390x libxcb-dri3-0 s390x 1.15-1 [7270 B] 1248s Get:15 http://ftpmaster.internal/ubuntu noble/main s390x libgl1-mesa-dri s390x 24.0.1-1ubuntu1 [7184 kB] 1248s Get:16 http://ftpmaster.internal/ubuntu noble/main s390x libglib2.0-bin s390x 2.79.2-1~ubuntu1 [101 kB] 1248s Get:17 http://ftpmaster.internal/ubuntu noble/main s390x python3-packaging all 23.2-1 [40.6 kB] 1248s Get:18 http://ftpmaster.internal/ubuntu noble/main s390x libglib2.0-dev-bin s390x 2.79.2-1~ubuntu1 [221 kB] 1248s Get:19 http://ftpmaster.internal/ubuntu noble/universe s390x python3-dbusmock all 0.31.1-1 [85.5 kB] 1248s Get:20 http://ftpmaster.internal/ubuntu noble/universe s390x libglib2.0-tests s390x 2.79.2-1~ubuntu1 [2162 kB] 1248s Get:21 http://ftpmaster.internal/ubuntu noble/main s390x libx11-xcb1 s390x 2:1.8.7-1 [7778 B] 1248s Get:22 http://ftpmaster.internal/ubuntu noble/main s390x libxcb-dri2-0 s390x 1.15-1 [7426 B] 1248s Get:23 http://ftpmaster.internal/ubuntu noble/main s390x libxcb-glx0 s390x 1.15-1 [25.8 kB] 1248s Get:24 http://ftpmaster.internal/ubuntu noble/main s390x libxcb-present0 s390x 1.15-1 [5752 B] 1248s Get:25 http://ftpmaster.internal/ubuntu noble/main s390x libxcb-randr0 s390x 1.15-1 [19.0 kB] 1248s Get:26 http://ftpmaster.internal/ubuntu noble/main s390x libxcb-shm0 s390x 1.15-1 [5782 B] 1248s Get:27 http://ftpmaster.internal/ubuntu noble/main s390x libxcb-sync1 s390x 1.15-1 [9392 B] 1248s Get:28 http://ftpmaster.internal/ubuntu noble/main s390x libxcb-xfixes0 s390x 1.15-1 [10.5 kB] 1248s Get:29 http://ftpmaster.internal/ubuntu noble/main s390x libxfixes3 s390x 1:6.0.0-2 [10.6 kB] 1249s Get:30 http://ftpmaster.internal/ubuntu noble/main s390x libxshmfence1 s390x 1.3-1build4 [5334 B] 1249s Get:31 http://ftpmaster.internal/ubuntu noble/main s390x libxxf86vm1 s390x 1:1.1.4-1build3 [9900 B] 1249s Get:32 http://ftpmaster.internal/ubuntu noble/main s390x libglx-mesa0 s390x 24.0.1-1ubuntu1 [182 kB] 1249s Get:33 http://ftpmaster.internal/ubuntu noble/main s390x x11-common all 1:7.7+23ubuntu2 [23.4 kB] 1249s Get:34 http://ftpmaster.internal/ubuntu noble/main s390x libice6 s390x 2:1.0.10-1build2 [40.8 kB] 1249s Get:35 http://ftpmaster.internal/ubuntu noble/main s390x libpixman-1-0 s390x 0.42.2-1 [173 kB] 1249s Get:36 http://ftpmaster.internal/ubuntu noble/main s390x libsm6 s390x 2:1.2.3-1build2 [16.9 kB] 1249s Get:37 http://ftpmaster.internal/ubuntu noble/main s390x libxt6 s390x 1:1.2.1-1.1 [166 kB] 1249s Get:38 http://ftpmaster.internal/ubuntu noble/main s390x libxmu6 s390x 2:1.1.3-3 [49.3 kB] 1249s Get:39 http://ftpmaster.internal/ubuntu noble/main s390x libxpm4 s390x 1:3.5.17-1 [40.9 kB] 1249s Get:40 http://ftpmaster.internal/ubuntu noble/main s390x libxaw7 s390x 2:1.0.14-1 [186 kB] 1249s Get:41 http://ftpmaster.internal/ubuntu noble/main s390x libxfont2 s390x 1:2.0.6-1 [89.7 kB] 1249s Get:42 http://ftpmaster.internal/ubuntu noble/main s390x libxkbfile1 s390x 1:1.1.0-1build3 [74.0 kB] 1249s Get:43 http://ftpmaster.internal/ubuntu noble/main s390x libxrender1 s390x 1:0.9.10-1.1 [19.4 kB] 1249s Get:44 http://ftpmaster.internal/ubuntu noble/main s390x libxrandr2 s390x 2:1.5.2-2 [19.5 kB] 1249s Get:45 http://ftpmaster.internal/ubuntu noble/main s390x x11-xkb-utils s390x 7.7+8 [170 kB] 1249s Get:46 http://ftpmaster.internal/ubuntu noble/main s390x xserver-common all 2:21.1.11-2ubuntu1 [32.6 kB] 1249s Get:47 http://ftpmaster.internal/ubuntu noble/main s390x libglvnd0 s390x 1.7.0-1 [106 kB] 1249s Get:48 http://ftpmaster.internal/ubuntu noble/main s390x libglx0 s390x 1.7.0-1 [31.4 kB] 1249s Get:49 http://ftpmaster.internal/ubuntu noble/main s390x libgl1 s390x 1.7.0-1 [137 kB] 1249s Get:50 http://ftpmaster.internal/ubuntu noble/universe s390x xvfb s390x 2:21.1.11-2ubuntu1 [956 kB] 1249s Fetched 44.6 MB in 2s (19.3 MB/s) 1249s Selecting previously unselected package dbus-x11. 1249s (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 ... 51332 files and directories currently installed.) 1249s Preparing to unpack .../00-dbus-x11_1.14.10-4ubuntu1_s390x.deb ... 1249s Unpacking dbus-x11 (1.14.10-4ubuntu1) ... 1249s Selecting previously unselected package desktop-file-utils. 1249s Preparing to unpack .../01-desktop-file-utils_0.26-1ubuntu5_s390x.deb ... 1249s Unpacking desktop-file-utils (0.26-1ubuntu5) ... 1249s Selecting previously unselected package gnome-desktop-testing. 1249s Preparing to unpack .../02-gnome-desktop-testing_2021.1-3_s390x.deb ... 1249s Unpacking gnome-desktop-testing (2021.1-3) ... 1249s Selecting previously unselected package libdrm-amdgpu1:s390x. 1249s Preparing to unpack .../03-libdrm-amdgpu1_2.4.120-2_s390x.deb ... 1249s Unpacking libdrm-amdgpu1:s390x (2.4.120-2) ... 1249s Selecting previously unselected package libdrm-nouveau2:s390x. 1249s Preparing to unpack .../04-libdrm-nouveau2_2.4.120-2_s390x.deb ... 1249s Unpacking libdrm-nouveau2:s390x (2.4.120-2) ... 1249s Selecting previously unselected package libdrm-radeon1:s390x. 1249s Preparing to unpack .../05-libdrm-radeon1_2.4.120-2_s390x.deb ... 1249s Unpacking libdrm-radeon1:s390x (2.4.120-2) ... 1249s Selecting previously unselected package libfontenc1:s390x. 1249s Preparing to unpack .../06-libfontenc1_1%3a1.1.8-1_s390x.deb ... 1249s Unpacking libfontenc1:s390x (1:1.1.8-1) ... 1249s Selecting previously unselected package libfreetype6:s390x. 1249s Preparing to unpack .../07-libfreetype6_2.13.2+dfsg-1_s390x.deb ... 1249s Unpacking libfreetype6:s390x (2.13.2+dfsg-1) ... 1250s Selecting previously unselected package libgirepository-2.0-0:s390x. 1250s Preparing to unpack .../08-libgirepository-2.0-0_2.79.2-1~ubuntu1_s390x.deb ... 1250s Unpacking libgirepository-2.0-0:s390x (2.79.2-1~ubuntu1) ... 1250s Selecting previously unselected package libvulkan1:s390x. 1250s Preparing to unpack .../09-libvulkan1_1.3.275.0-1_s390x.deb ... 1250s Unpacking libvulkan1:s390x (1.3.275.0-1) ... 1250s Selecting previously unselected package libglapi-mesa:s390x. 1250s Preparing to unpack .../10-libglapi-mesa_24.0.1-1ubuntu1_s390x.deb ... 1250s Unpacking libglapi-mesa:s390x (24.0.1-1ubuntu1) ... 1250s Selecting previously unselected package libllvm17:s390x. 1250s Preparing to unpack .../11-libllvm17_1%3a17.0.6-5build1_s390x.deb ... 1250s Unpacking libllvm17:s390x (1:17.0.6-5build1) ... 1251s Selecting previously unselected package libxcb-dri3-0:s390x. 1251s Preparing to unpack .../12-libxcb-dri3-0_1.15-1_s390x.deb ... 1251s Unpacking libxcb-dri3-0:s390x (1.15-1) ... 1251s Selecting previously unselected package libgl1-mesa-dri:s390x. 1251s Preparing to unpack .../13-libgl1-mesa-dri_24.0.1-1ubuntu1_s390x.deb ... 1251s Unpacking libgl1-mesa-dri:s390x (24.0.1-1ubuntu1) ... 1251s Selecting previously unselected package libglib2.0-bin. 1251s Preparing to unpack .../14-libglib2.0-bin_2.79.2-1~ubuntu1_s390x.deb ... 1251s Unpacking libglib2.0-bin (2.79.2-1~ubuntu1) ... 1251s Selecting previously unselected package python3-packaging. 1251s Preparing to unpack .../15-python3-packaging_23.2-1_all.deb ... 1251s Unpacking python3-packaging (23.2-1) ... 1251s Selecting previously unselected package libglib2.0-dev-bin. 1251s Preparing to unpack .../16-libglib2.0-dev-bin_2.79.2-1~ubuntu1_s390x.deb ... 1251s Unpacking libglib2.0-dev-bin (2.79.2-1~ubuntu1) ... 1251s Selecting previously unselected package python3-dbusmock. 1251s Preparing to unpack .../17-python3-dbusmock_0.31.1-1_all.deb ... 1251s Unpacking python3-dbusmock (0.31.1-1) ... 1251s Selecting previously unselected package libglib2.0-tests. 1251s Preparing to unpack .../18-libglib2.0-tests_2.79.2-1~ubuntu1_s390x.deb ... 1251s Unpacking libglib2.0-tests (2.79.2-1~ubuntu1) ... 1251s Selecting previously unselected package libx11-xcb1:s390x. 1251s Preparing to unpack .../19-libx11-xcb1_2%3a1.8.7-1_s390x.deb ... 1251s Unpacking libx11-xcb1:s390x (2:1.8.7-1) ... 1251s Selecting previously unselected package libxcb-dri2-0:s390x. 1251s Preparing to unpack .../20-libxcb-dri2-0_1.15-1_s390x.deb ... 1251s Unpacking libxcb-dri2-0:s390x (1.15-1) ... 1251s Selecting previously unselected package libxcb-glx0:s390x. 1251s Preparing to unpack .../21-libxcb-glx0_1.15-1_s390x.deb ... 1251s Unpacking libxcb-glx0:s390x (1.15-1) ... 1251s Selecting previously unselected package libxcb-present0:s390x. 1251s Preparing to unpack .../22-libxcb-present0_1.15-1_s390x.deb ... 1251s Unpacking libxcb-present0:s390x (1.15-1) ... 1251s Selecting previously unselected package libxcb-randr0:s390x. 1251s Preparing to unpack .../23-libxcb-randr0_1.15-1_s390x.deb ... 1251s Unpacking libxcb-randr0:s390x (1.15-1) ... 1251s Selecting previously unselected package libxcb-shm0:s390x. 1251s Preparing to unpack .../24-libxcb-shm0_1.15-1_s390x.deb ... 1251s Unpacking libxcb-shm0:s390x (1.15-1) ... 1251s Selecting previously unselected package libxcb-sync1:s390x. 1251s Preparing to unpack .../25-libxcb-sync1_1.15-1_s390x.deb ... 1251s Unpacking libxcb-sync1:s390x (1.15-1) ... 1251s Selecting previously unselected package libxcb-xfixes0:s390x. 1251s Preparing to unpack .../26-libxcb-xfixes0_1.15-1_s390x.deb ... 1251s Unpacking libxcb-xfixes0:s390x (1.15-1) ... 1251s Selecting previously unselected package libxfixes3:s390x. 1251s Preparing to unpack .../27-libxfixes3_1%3a6.0.0-2_s390x.deb ... 1251s Unpacking libxfixes3:s390x (1:6.0.0-2) ... 1251s Selecting previously unselected package libxshmfence1:s390x. 1251s Preparing to unpack .../28-libxshmfence1_1.3-1build4_s390x.deb ... 1251s Unpacking libxshmfence1:s390x (1.3-1build4) ... 1251s Selecting previously unselected package libxxf86vm1:s390x. 1251s Preparing to unpack .../29-libxxf86vm1_1%3a1.1.4-1build3_s390x.deb ... 1251s Unpacking libxxf86vm1:s390x (1:1.1.4-1build3) ... 1251s Selecting previously unselected package libglx-mesa0:s390x. 1251s Preparing to unpack .../30-libglx-mesa0_24.0.1-1ubuntu1_s390x.deb ... 1251s Unpacking libglx-mesa0:s390x (24.0.1-1ubuntu1) ... 1251s Selecting previously unselected package x11-common. 1251s Preparing to unpack .../31-x11-common_1%3a7.7+23ubuntu2_all.deb ... 1251s Unpacking x11-common (1:7.7+23ubuntu2) ... 1251s Selecting previously unselected package libice6:s390x. 1251s Preparing to unpack .../32-libice6_2%3a1.0.10-1build2_s390x.deb ... 1251s Unpacking libice6:s390x (2:1.0.10-1build2) ... 1251s Selecting previously unselected package libpixman-1-0:s390x. 1251s Preparing to unpack .../33-libpixman-1-0_0.42.2-1_s390x.deb ... 1251s Unpacking libpixman-1-0:s390x (0.42.2-1) ... 1251s Selecting previously unselected package libsm6:s390x. 1251s Preparing to unpack .../34-libsm6_2%3a1.2.3-1build2_s390x.deb ... 1251s Unpacking libsm6:s390x (2:1.2.3-1build2) ... 1251s Selecting previously unselected package libxt6:s390x. 1251s Preparing to unpack .../35-libxt6_1%3a1.2.1-1.1_s390x.deb ... 1251s Unpacking libxt6:s390x (1:1.2.1-1.1) ... 1251s Selecting previously unselected package libxmu6:s390x. 1251s Preparing to unpack .../36-libxmu6_2%3a1.1.3-3_s390x.deb ... 1251s Unpacking libxmu6:s390x (2:1.1.3-3) ... 1251s Selecting previously unselected package libxpm4:s390x. 1251s Preparing to unpack .../37-libxpm4_1%3a3.5.17-1_s390x.deb ... 1251s Unpacking libxpm4:s390x (1:3.5.17-1) ... 1251s Selecting previously unselected package libxaw7:s390x. 1251s Preparing to unpack .../38-libxaw7_2%3a1.0.14-1_s390x.deb ... 1251s Unpacking libxaw7:s390x (2:1.0.14-1) ... 1251s Selecting previously unselected package libxfont2:s390x. 1251s Preparing to unpack .../39-libxfont2_1%3a2.0.6-1_s390x.deb ... 1251s Unpacking libxfont2:s390x (1:2.0.6-1) ... 1251s Selecting previously unselected package libxkbfile1:s390x. 1251s Preparing to unpack .../40-libxkbfile1_1%3a1.1.0-1build3_s390x.deb ... 1251s Unpacking libxkbfile1:s390x (1:1.1.0-1build3) ... 1251s Selecting previously unselected package libxrender1:s390x. 1251s Preparing to unpack .../41-libxrender1_1%3a0.9.10-1.1_s390x.deb ... 1251s Unpacking libxrender1:s390x (1:0.9.10-1.1) ... 1251s Selecting previously unselected package libxrandr2:s390x. 1251s Preparing to unpack .../42-libxrandr2_2%3a1.5.2-2_s390x.deb ... 1251s Unpacking libxrandr2:s390x (2:1.5.2-2) ... 1251s Selecting previously unselected package x11-xkb-utils. 1251s Preparing to unpack .../43-x11-xkb-utils_7.7+8_s390x.deb ... 1251s Unpacking x11-xkb-utils (7.7+8) ... 1251s Selecting previously unselected package xserver-common. 1251s Preparing to unpack .../44-xserver-common_2%3a21.1.11-2ubuntu1_all.deb ... 1251s Unpacking xserver-common (2:21.1.11-2ubuntu1) ... 1252s Selecting previously unselected package libglvnd0:s390x. 1252s Preparing to unpack .../45-libglvnd0_1.7.0-1_s390x.deb ... 1252s Unpacking libglvnd0:s390x (1.7.0-1) ... 1252s Selecting previously unselected package libglx0:s390x. 1252s Preparing to unpack .../46-libglx0_1.7.0-1_s390x.deb ... 1252s Unpacking libglx0:s390x (1.7.0-1) ... 1252s Selecting previously unselected package libgl1:s390x. 1252s Preparing to unpack .../47-libgl1_1.7.0-1_s390x.deb ... 1252s Unpacking libgl1:s390x (1.7.0-1) ... 1252s Selecting previously unselected package xvfb. 1252s Preparing to unpack .../48-xvfb_2%3a21.1.11-2ubuntu1_s390x.deb ... 1252s Unpacking xvfb (2:21.1.11-2ubuntu1) ... 1252s Selecting previously unselected package autopkgtest-satdep. 1252s Preparing to unpack .../49-3-autopkgtest-satdep.deb ... 1252s Unpacking autopkgtest-satdep (0) ... 1252s Setting up gnome-desktop-testing (2021.1-3) ... 1252s Setting up libxcb-dri3-0:s390x (1.15-1) ... 1252s Setting up libpixman-1-0:s390x (0.42.2-1) ... 1252s Setting up libx11-xcb1:s390x (2:1.8.7-1) ... 1252s Setting up libdrm-nouveau2:s390x (2.4.120-2) ... 1252s Setting up libxcb-xfixes0:s390x (1.15-1) ... 1252s Setting up desktop-file-utils (0.26-1ubuntu5) ... 1252s Setting up libxpm4:s390x (1:3.5.17-1) ... 1252s Setting up libxrender1:s390x (1:0.9.10-1.1) ... 1252s Setting up libgirepository-2.0-0:s390x (2.79.2-1~ubuntu1) ... 1252s Setting up libdrm-radeon1:s390x (2.4.120-2) ... 1252s Setting up libglvnd0:s390x (1.7.0-1) ... 1252s Setting up libxcb-glx0:s390x (1.15-1) ... 1252s Setting up x11-common (1:7.7+23ubuntu2) ... 1252s Setting up libglib2.0-bin (2.79.2-1~ubuntu1) ... 1252s Setting up libxcb-shm0:s390x (1.15-1) ... 1252s Setting up libxxf86vm1:s390x (1:1.1.4-1build3) ... 1252s Setting up libxcb-present0:s390x (1.15-1) ... 1252s Setting up libfontenc1:s390x (1:1.1.8-1) ... 1252s Setting up python3-packaging (23.2-1) ... 1252s Setting up libfreetype6:s390x (2.13.2+dfsg-1) ... 1252s Setting up libxfixes3:s390x (1:6.0.0-2) ... 1252s Setting up libxcb-sync1:s390x (1.15-1) ... 1252s Setting up libxrandr2:s390x (2:1.5.2-2) ... 1252s Setting up libglapi-mesa:s390x (24.0.1-1ubuntu1) ... 1252s Setting up libvulkan1:s390x (1.3.275.0-1) ... 1252s Setting up libxcb-dri2-0:s390x (1.15-1) ... 1252s Setting up libxshmfence1:s390x (1.3-1build4) ... 1252s Setting up dbus-x11 (1.14.10-4ubuntu1) ... 1252s Setting up libxcb-randr0:s390x (1.15-1) ... 1252s Setting up libxkbfile1:s390x (1:1.1.0-1build3) ... 1252s Setting up libllvm17:s390x (1:17.0.6-5build1) ... 1252s Setting up libxfont2:s390x (1:2.0.6-1) ... 1252s Setting up libdrm-amdgpu1:s390x (2.4.120-2) ... 1252s Setting up libglib2.0-dev-bin (2.79.2-1~ubuntu1) ... 1252s Setting up libice6:s390x (2:1.0.10-1build2) ... 1252s Setting up libgl1-mesa-dri:s390x (24.0.1-1ubuntu1) ... 1252s Setting up python3-dbusmock (0.31.1-1) ... 1252s Setting up libglib2.0-tests (2.79.2-1~ubuntu1) ... 1253s Setting up libsm6:s390x (2:1.2.3-1build2) ... 1253s Setting up libglx-mesa0:s390x (24.0.1-1ubuntu1) ... 1253s Setting up libglx0:s390x (1.7.0-1) ... 1253s Setting up libgl1:s390x (1.7.0-1) ... 1253s Setting up libxt6:s390x (1:1.2.1-1.1) ... 1253s Setting up libxmu6:s390x (2:1.1.3-3) ... 1253s Setting up libxaw7:s390x (2:1.0.14-1) ... 1253s Setting up x11-xkb-utils (7.7+8) ... 1253s Setting up xserver-common (2:21.1.11-2ubuntu1) ... 1253s Setting up xvfb (2:21.1.11-2ubuntu1) ... 1253s Setting up autopkgtest-satdep (0) ... 1253s Processing triggers for man-db (2.12.0-3) ... 1253s Processing triggers for libc-bin (2.39-0ubuntu2) ... 1256s (Reading database ... 52768 files and directories currently installed.) 1256s Removing autopkgtest-satdep (0) ... 1266s autopkgtest [09:45:49]: test installed-tests: [----------------------- 1266s Running as: uid=1000(ubuntu) gid=1000(ubuntu) groups=1000(ubuntu),4(adm),20(dialout),24(cdrom),25(floppy),27(sudo),29(audio),30(dip),44(video),46(plugdev),116(cpacfstats),120(netdev),121(lxd) 1266s passwd entry: ubuntu:x:1000:1000:Ubuntu:/home/ubuntu:/bin/bash 1266s group entry: ubuntu:x:1000: 1266s Environment: 1266s ADTTMP=/tmp/autopkgtest.YcZbqk/autopkgtest_tmp 1266s ADT_ARTIFACTS=/tmp/autopkgtest.YcZbqk/installed-tests-artifacts 1266s ADT_TEST_TRIGGERS=elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2 1266s AUTOPKGTEST_ARTIFACTS=/tmp/autopkgtest.YcZbqk/installed-tests-artifacts 1266s AUTOPKGTEST_TESTBED_ARCH=s390x 1266s AUTOPKGTEST_TEST_ARCH=s390x 1266s AUTOPKGTEST_TMP=/tmp/autopkgtest.YcZbqk/autopkgtest_tmp 1266s DEBIAN_FRONTEND=noninteractive 1266s DEB_BUILD_OPTIONS=parallel=1 1266s GIO_USE_VFS=local 1266s GIO_USE_VOLUME_MONITOR=unix 1266s HOME=/home/ubuntu 1266s LANG=C.UTF-8 1266s LOGNAME=ubuntu 1266s MAIL=/var/mail/ubuntu 1266s OLDPWD=/home/ubuntu 1266s PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin 1266s PWD=/tmp/autopkgtest.YcZbqk/build.S0E/src 1266s SHELL=/bin/bash 1266s SHLVL=1 1266s SUDO_COMMAND=/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.YcZbqk/wrapper.sh --artifacts=/tmp/autopkgtest.YcZbqk/installed-tests-artifacts --chdir=/tmp/autopkgtest.YcZbqk/build.S0E/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.YcZbqk/installed-tests-stderr --stdout=/tmp/autopkgtest.YcZbqk/installed-tests-stdout --tmp=/tmp/autopkgtest.YcZbqk/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2' --make-executable=/tmp/autopkgtest.YcZbqk/build.S0E/src/debian/tests/installed-tests -- /tmp/autopkgtest.YcZbqk/build.S0E/src/debian/tests/installed-tests 1266s SUDO_GID=1000 1266s SUDO_UID=1000 1266s SUDO_USER=ubuntu 1266s TERM=unknown 1266s USER=ubuntu 1266s XDG_RUNTIME_DIR=/tmp/autopkgtest.YcZbqk/autopkgtest_tmp 1266s run-with-locales: de_DE=ISO-8859-1... 1266s Character set: ISO-8859-1 1266s Source file: de_DE 1266s Output: /tmp/tmp.sVTVMp0Db0/de_DE 1266s run-with-locales: de_DE.utf8... 1266s Character set: UTF-8 1266s Source file: de_DE 1266s Output: /tmp/tmp.sVTVMp0Db0/de_DE.utf8 1268s run-with-locales: de_DE@euro.utf8... 1268s Character set: UTF-8 1268s Source file: de_DE@euro 1268s Output: /tmp/tmp.sVTVMp0Db0/de_DE@euro.utf8 1270s run-with-locales: el_GR.utf8... 1270s Character set: UTF-8 1270s Source file: el_GR 1270s Output: /tmp/tmp.sVTVMp0Db0/el_GR.utf8 1271s run-with-locales: en_GB=ISO-8859-1... 1271s Character set: ISO-8859-1 1271s Source file: en_GB 1271s Output: /tmp/tmp.sVTVMp0Db0/en_GB 1271s run-with-locales: en_GB.utf8... 1271s Character set: UTF-8 1271s Source file: en_GB 1271s Output: /tmp/tmp.sVTVMp0Db0/en_GB.utf8 1273s run-with-locales: en_US=ISO-8859-1... 1273s Character set: ISO-8859-1 1273s Source file: en_US 1273s Output: /tmp/tmp.sVTVMp0Db0/en_US 1273s run-with-locales: en_US.utf8... 1273s Character set: UTF-8 1273s Source file: en_US 1273s Output: /tmp/tmp.sVTVMp0Db0/en_US.utf8 1275s run-with-locales: es_ES.utf8... 1275s Character set: UTF-8 1275s Source file: es_ES 1275s Output: /tmp/tmp.sVTVMp0Db0/es_ES.utf8 1276s run-with-locales: fa_IR=UTF-8... 1276s Character set: UTF-8 1276s Source file: fa_IR 1276s Output: /tmp/tmp.sVTVMp0Db0/fa_IR 1277s run-with-locales: fa_IR.utf8... 1277s Character set: UTF-8 1277s Source file: fa_IR 1277s Output: /tmp/tmp.sVTVMp0Db0/fa_IR.utf8 1279s run-with-locales: fr_FR.utf8... 1279s Character set: UTF-8 1279s Source file: fr_FR 1279s Output: /tmp/tmp.sVTVMp0Db0/fr_FR.utf8 1280s run-with-locales: hr_HR.utf8... 1280s Character set: UTF-8 1280s Source file: hr_HR 1280s Output: /tmp/tmp.sVTVMp0Db0/hr_HR.utf8 1282s run-with-locales: ja_JP.utf8... 1282s Character set: UTF-8 1282s Source file: ja_JP 1282s Output: /tmp/tmp.sVTVMp0Db0/ja_JP.utf8 1283s run-with-locales: ja_JP.EUC-JP... 1283s Character set: EUC-JP 1283s Source file: ja_JP 1283s Output: /tmp/tmp.sVTVMp0Db0/ja_JP.eucjp 1283s run-with-locales: lt_LT.utf8... 1283s Character set: UTF-8 1283s Source file: lt_LT 1283s Output: /tmp/tmp.sVTVMp0Db0/lt_LT.utf8 1285s run-with-locales: pl_PL=ISO-8859-2... 1285s Character set: ISO-8859-2 1285s Source file: pl_PL 1285s Output: /tmp/tmp.sVTVMp0Db0/pl_PL 1285s run-with-locales: pl_PL.ISO-8859-2... 1285s Character set: ISO-8859-2 1285s Source file: pl_PL 1285s Output: /tmp/tmp.sVTVMp0Db0/pl_PL.iso88592 1286s run-with-locales: pl_PL.utf8... 1286s Character set: UTF-8 1286s Source file: pl_PL 1286s Output: /tmp/tmp.sVTVMp0Db0/pl_PL.utf8 1288s run-with-locales: ru_RU=ISO-8859-5... 1288s Character set: ISO-8859-5 1288s Source file: ru_RU 1288s Output: /tmp/tmp.sVTVMp0Db0/ru_RU 1288s run-with-locales: ru_RU.utf8... 1288s Character set: UTF-8 1288s Source file: ru_RU 1288s Output: /tmp/tmp.sVTVMp0Db0/ru_RU.utf8 1290s run-with-locales: sr_RS=UTF-8... 1290s Character set: UTF-8 1290s Source file: sr_RS 1290s Output: /tmp/tmp.sVTVMp0Db0/sr_RS 1292s run-with-locales: sr_RS@latin=UTF-8... 1292s Character set: UTF-8 1292s Source file: sr_RS@latin 1292s Output: /tmp/tmp.sVTVMp0Db0/sr_RS@latin 1293s run-with-locales: sv_SE=ISO-8859-1... 1293s Character set: ISO-8859-1 1293s Source file: sv_SE 1293s Output: /tmp/tmp.sVTVMp0Db0/sv_SE 1294s run-with-locales: sv_SE.utf8... 1294s Character set: UTF-8 1294s Source file: sv_SE 1294s Output: /tmp/tmp.sVTVMp0Db0/sv_SE.utf8 1295s run-with-locales: tr_TR=ISO-8859-9... 1295s Character set: ISO-8859-9 1295s Source file: tr_TR 1295s Output: /tmp/tmp.sVTVMp0Db0/tr_TR 1296s run-with-locales: tr_TR.utf8... 1296s Character set: UTF-8 1296s Source file: tr_TR 1296s Output: /tmp/tmp.sVTVMp0Db0/tr_TR.utf8 1297s run-with-locales: tt_RU=UTF-8... 1297s Character set: UTF-8 1297s Source file: tt_RU 1297s Output: /tmp/tmp.sVTVMp0Db0/tt_RU 1299s run-with-locales: tt_RU.utf8... 1299s Character set: UTF-8 1299s Source file: tt_RU 1299s Output: /tmp/tmp.sVTVMp0Db0/tt_RU.utf8 1300s run-with-locales: tt_RU@iqtelif=UTF-8... 1300s Character set: UTF-8 1300s Source file: tt_RU@iqtelif 1300s Output: /tmp/tmp.sVTVMp0Db0/tt_RU@iqtelif 1302s /tmp/tmp.sVTVMp0Db0 1302s /tmp/tmp.sVTVMp0Db0/es_ES.utf8 1302s /tmp/tmp.sVTVMp0Db0/es_ES.utf8/LC_MONETARY 1302s /tmp/tmp.sVTVMp0Db0/es_ES.utf8/LC_ADDRESS 1302s /tmp/tmp.sVTVMp0Db0/es_ES.utf8/LC_CTYPE 1302s /tmp/tmp.sVTVMp0Db0/es_ES.utf8/LC_COLLATE 1302s /tmp/tmp.sVTVMp0Db0/es_ES.utf8/LC_TIME 1302s /tmp/tmp.sVTVMp0Db0/es_ES.utf8/LC_NAME 1302s /tmp/tmp.sVTVMp0Db0/es_ES.utf8/LC_MEASUREMENT 1302s /tmp/tmp.sVTVMp0Db0/es_ES.utf8/LC_NUMERIC 1302s /tmp/tmp.sVTVMp0Db0/es_ES.utf8/LC_TELEPHONE 1302s /tmp/tmp.sVTVMp0Db0/es_ES.utf8/LC_PAPER 1302s /tmp/tmp.sVTVMp0Db0/es_ES.utf8/LC_IDENTIFICATION 1302s /tmp/tmp.sVTVMp0Db0/es_ES.utf8/LC_MESSAGES 1302s /tmp/tmp.sVTVMp0Db0/es_ES.utf8/LC_MESSAGES/SYS_LC_MESSAGES 1302s /tmp/tmp.sVTVMp0Db0/tr_TR 1302s /tmp/tmp.sVTVMp0Db0/tr_TR/LC_MONETARY 1302s /tmp/tmp.sVTVMp0Db0/tr_TR/LC_ADDRESS 1302s /tmp/tmp.sVTVMp0Db0/tr_TR/LC_CTYPE 1302s /tmp/tmp.sVTVMp0Db0/tr_TR/LC_COLLATE 1302s /tmp/tmp.sVTVMp0Db0/tr_TR/LC_TIME 1302s /tmp/tmp.sVTVMp0Db0/tr_TR/LC_NAME 1302s /tmp/tmp.sVTVMp0Db0/tr_TR/LC_MEASUREMENT 1302s /tmp/tmp.sVTVMp0Db0/tr_TR/LC_NUMERIC 1302s /tmp/tmp.sVTVMp0Db0/tr_TR/LC_TELEPHONE 1302s /tmp/tmp.sVTVMp0Db0/tr_TR/LC_PAPER 1302s /tmp/tmp.sVTVMp0Db0/tr_TR/LC_IDENTIFICATION 1302s /tmp/tmp.sVTVMp0Db0/tr_TR/LC_MESSAGES 1302s /tmp/tmp.sVTVMp0Db0/tr_TR/LC_MESSAGES/SYS_LC_MESSAGES 1302s /tmp/tmp.sVTVMp0Db0/pl_PL.iso88592 1302s /tmp/tmp.sVTVMp0Db0/pl_PL.iso88592/LC_MONETARY 1302s /tmp/tmp.sVTVMp0Db0/pl_PL.iso88592/LC_ADDRESS 1302s /tmp/tmp.sVTVMp0Db0/pl_PL.iso88592/LC_CTYPE 1302s /tmp/tmp.sVTVMp0Db0/pl_PL.iso88592/LC_COLLATE 1302s /tmp/tmp.sVTVMp0Db0/pl_PL.iso88592/LC_TIME 1302s /tmp/tmp.sVTVMp0Db0/pl_PL.iso88592/LC_NAME 1302s /tmp/tmp.sVTVMp0Db0/pl_PL.iso88592/LC_MEASUREMENT 1302s /tmp/tmp.sVTVMp0Db0/pl_PL.iso88592/LC_NUMERIC 1302s /tmp/tmp.sVTVMp0Db0/pl_PL.iso88592/LC_TELEPHONE 1302s /tmp/tmp.sVTVMp0Db0/pl_PL.iso88592/LC_PAPER 1302s /tmp/tmp.sVTVMp0Db0/pl_PL.iso88592/LC_IDENTIFICATION 1302s /tmp/tmp.sVTVMp0Db0/pl_PL.iso88592/LC_MESSAGES 1302s /tmp/tmp.sVTVMp0Db0/pl_PL.iso88592/LC_MESSAGES/SYS_LC_MESSAGES 1302s /tmp/tmp.sVTVMp0Db0/fa_IR.utf8 1302s /tmp/tmp.sVTVMp0Db0/fa_IR.utf8/LC_MONETARY 1302s /tmp/tmp.sVTVMp0Db0/fa_IR.utf8/LC_ADDRESS 1302s /tmp/tmp.sVTVMp0Db0/fa_IR.utf8/LC_CTYPE 1302s /tmp/tmp.sVTVMp0Db0/fa_IR.utf8/LC_COLLATE 1302s /tmp/tmp.sVTVMp0Db0/fa_IR.utf8/LC_TIME 1302s /tmp/tmp.sVTVMp0Db0/fa_IR.utf8/LC_NAME 1302s /tmp/tmp.sVTVMp0Db0/fa_IR.utf8/LC_MEASUREMENT 1302s /tmp/tmp.sVTVMp0Db0/fa_IR.utf8/LC_NUMERIC 1302s /tmp/tmp.sVTVMp0Db0/fa_IR.utf8/LC_TELEPHONE 1302s /tmp/tmp.sVTVMp0Db0/fa_IR.utf8/LC_PAPER 1302s /tmp/tmp.sVTVMp0Db0/fa_IR.utf8/LC_IDENTIFICATION 1302s /tmp/tmp.sVTVMp0Db0/fa_IR.utf8/LC_MESSAGES 1302s /tmp/tmp.sVTVMp0Db0/fa_IR.utf8/LC_MESSAGES/SYS_LC_MESSAGES 1302s /tmp/tmp.sVTVMp0Db0/de_DE 1302s /tmp/tmp.sVTVMp0Db0/de_DE/LC_MONETARY 1302s /tmp/tmp.sVTVMp0Db0/de_DE/LC_ADDRESS 1302s /tmp/tmp.sVTVMp0Db0/de_DE/LC_CTYPE 1302s /tmp/tmp.sVTVMp0Db0/de_DE/LC_COLLATE 1302s /tmp/tmp.sVTVMp0Db0/de_DE/LC_TIME 1302s /tmp/tmp.sVTVMp0Db0/de_DE/LC_NAME 1302s /tmp/tmp.sVTVMp0Db0/de_DE/LC_MEASUREMENT 1302s /tmp/tmp.sVTVMp0Db0/de_DE/LC_NUMERIC 1302s /tmp/tmp.sVTVMp0Db0/de_DE/LC_TELEPHONE 1302s /tmp/tmp.sVTVMp0Db0/de_DE/LC_PAPER 1302s /tmp/tmp.sVTVMp0Db0/de_DE/LC_IDENTIFICATION 1302s /tmp/tmp.sVTVMp0Db0/de_DE/LC_MESSAGES 1302s /tmp/tmp.sVTVMp0Db0/de_DE/LC_MESSAGES/SYS_LC_MESSAGES 1302s /tmp/tmp.sVTVMp0Db0/de_DE@euro.utf8 1302s /tmp/tmp.sVTVMp0Db0/de_DE@euro.utf8/LC_MONETARY 1302s /tmp/tmp.sVTVMp0Db0/de_DE@euro.utf8/LC_ADDRESS 1302s /tmp/tmp.sVTVMp0Db0/de_DE@euro.utf8/LC_CTYPE 1302s /tmp/tmp.sVTVMp0Db0/de_DE@euro.utf8/LC_COLLATE 1302s /tmp/tmp.sVTVMp0Db0/de_DE@euro.utf8/LC_TIME 1302s /tmp/tmp.sVTVMp0Db0/de_DE@euro.utf8/LC_NAME 1302s /tmp/tmp.sVTVMp0Db0/de_DE@euro.utf8/LC_MEASUREMENT 1302s /tmp/tmp.sVTVMp0Db0/de_DE@euro.utf8/LC_NUMERIC 1302s /tmp/tmp.sVTVMp0Db0/de_DE@euro.utf8/LC_TELEPHONE 1302s /tmp/tmp.sVTVMp0Db0/de_DE@euro.utf8/LC_PAPER 1302s /tmp/tmp.sVTVMp0Db0/de_DE@euro.utf8/LC_IDENTIFICATION 1302s /tmp/tmp.sVTVMp0Db0/de_DE@euro.utf8/LC_MESSAGES 1302s /tmp/tmp.sVTVMp0Db0/de_DE@euro.utf8/LC_MESSAGES/SYS_LC_MESSAGES 1302s /tmp/tmp.sVTVMp0Db0/en_GB.utf8 1302s /tmp/tmp.sVTVMp0Db0/en_GB.utf8/LC_MONETARY 1302s /tmp/tmp.sVTVMp0Db0/en_GB.utf8/LC_ADDRESS 1302s /tmp/tmp.sVTVMp0Db0/en_GB.utf8/LC_CTYPE 1302s /tmp/tmp.sVTVMp0Db0/en_GB.utf8/LC_COLLATE 1302s /tmp/tmp.sVTVMp0Db0/en_GB.utf8/LC_TIME 1302s /tmp/tmp.sVTVMp0Db0/en_GB.utf8/LC_NAME 1302s /tmp/tmp.sVTVMp0Db0/en_GB.utf8/LC_MEASUREMENT 1302s /tmp/tmp.sVTVMp0Db0/en_GB.utf8/LC_NUMERIC 1302s /tmp/tmp.sVTVMp0Db0/en_GB.utf8/LC_TELEPHONE 1302s /tmp/tmp.sVTVMp0Db0/en_GB.utf8/LC_PAPER 1302s /tmp/tmp.sVTVMp0Db0/en_GB.utf8/LC_IDENTIFICATION 1302s /tmp/tmp.sVTVMp0Db0/en_GB.utf8/LC_MESSAGES 1302s /tmp/tmp.sVTVMp0Db0/en_GB.utf8/LC_MESSAGES/SYS_LC_MESSAGES 1302s /tmp/tmp.sVTVMp0Db0/tt_RU.utf8 1302s /tmp/tmp.sVTVMp0Db0/tt_RU.utf8/LC_MONETARY 1302s /tmp/tmp.sVTVMp0Db0/tt_RU.utf8/LC_ADDRESS 1302s /tmp/tmp.sVTVMp0Db0/tt_RU.utf8/LC_CTYPE 1302s /tmp/tmp.sVTVMp0Db0/tt_RU.utf8/LC_COLLATE 1302s /tmp/tmp.sVTVMp0Db0/tt_RU.utf8/LC_TIME 1302s /tmp/tmp.sVTVMp0Db0/tt_RU.utf8/LC_NAME 1302s /tmp/tmp.sVTVMp0Db0/tt_RU.utf8/LC_MEASUREMENT 1302s /tmp/tmp.sVTVMp0Db0/tt_RU.utf8/LC_NUMERIC 1302s /tmp/tmp.sVTVMp0Db0/tt_RU.utf8/LC_TELEPHONE 1302s /tmp/tmp.sVTVMp0Db0/tt_RU.utf8/LC_PAPER 1302s /tmp/tmp.sVTVMp0Db0/tt_RU.utf8/LC_IDENTIFICATION 1302s /tmp/tmp.sVTVMp0Db0/tt_RU.utf8/LC_MESSAGES 1302s /tmp/tmp.sVTVMp0Db0/tt_RU.utf8/LC_MESSAGES/SYS_LC_MESSAGES 1302s /tmp/tmp.sVTVMp0Db0/en_GB 1302s /tmp/tmp.sVTVMp0Db0/en_GB/LC_MONETARY 1302s /tmp/tmp.sVTVMp0Db0/en_GB/LC_ADDRESS 1302s /tmp/tmp.sVTVMp0Db0/en_GB/LC_CTYPE 1302s /tmp/tmp.sVTVMp0Db0/en_GB/LC_COLLATE 1302s /tmp/tmp.sVTVMp0Db0/en_GB/LC_TIME 1302s /tmp/tmp.sVTVMp0Db0/en_GB/LC_NAME 1302s /tmp/tmp.sVTVMp0Db0/en_GB/LC_MEASUREMENT 1302s /tmp/tmp.sVTVMp0Db0/en_GB/LC_NUMERIC 1302s /tmp/tmp.sVTVMp0Db0/en_GB/LC_TELEPHONE 1302s /tmp/tmp.sVTVMp0Db0/en_GB/LC_PAPER 1302s /tmp/tmp.sVTVMp0Db0/en_GB/LC_IDENTIFICATION 1302s /tmp/tmp.sVTVMp0Db0/en_GB/LC_MESSAGES 1302s /tmp/tmp.sVTVMp0Db0/en_GB/LC_MESSAGES/SYS_LC_MESSAGES 1302s /tmp/tmp.sVTVMp0Db0/tt_RU@iqtelif 1302s /tmp/tmp.sVTVMp0Db0/tt_RU@iqtelif/LC_MONETARY 1302s /tmp/tmp.sVTVMp0Db0/tt_RU@iqtelif/LC_ADDRESS 1302s /tmp/tmp.sVTVMp0Db0/tt_RU@iqtelif/LC_CTYPE 1302s /tmp/tmp.sVTVMp0Db0/tt_RU@iqtelif/LC_COLLATE 1302s /tmp/tmp.sVTVMp0Db0/tt_RU@iqtelif/LC_TIME 1302s /tmp/tmp.sVTVMp0Db0/tt_RU@iqtelif/LC_NAME 1302s /tmp/tmp.sVTVMp0Db0/tt_RU@iqtelif/LC_MEASUREMENT 1302s /tmp/tmp.sVTVMp0Db0/tt_RU@iqtelif/LC_NUMERIC 1302s /tmp/tmp.sVTVMp0Db0/tt_RU@iqtelif/LC_TELEPHONE 1302s /tmp/tmp.sVTVMp0Db0/tt_RU@iqtelif/LC_PAPER 1302s /tmp/tmp.sVTVMp0Db0/tt_RU@iqtelif/LC_IDENTIFICATION 1302s /tmp/tmp.sVTVMp0Db0/tt_RU@iqtelif/LC_MESSAGES 1302s /tmp/tmp.sVTVMp0Db0/tt_RU@iqtelif/LC_MESSAGES/SYS_LC_MESSAGES 1302s /tmp/tmp.sVTVMp0Db0/de_DE.utf8 1302s /tmp/tmp.sVTVMp0Db0/de_DE.utf8/LC_MONETARY 1302s /tmp/tmp.sVTVMp0Db0/de_DE.utf8/LC_ADDRESS 1302s /tmp/tmp.sVTVMp0Db0/de_DE.utf8/LC_CTYPE 1302s /tmp/tmp.sVTVMp0Db0/de_DE.utf8/LC_COLLATE 1302s /tmp/tmp.sVTVMp0Db0/de_DE.utf8/LC_TIME 1302s /tmp/tmp.sVTVMp0Db0/de_DE.utf8/LC_NAME 1302s /tmp/tmp.sVTVMp0Db0/de_DE.utf8/LC_MEASUREMENT 1302s /tmp/tmp.sVTVMp0Db0/de_DE.utf8/LC_NUMERIC 1302s /tmp/tmp.sVTVMp0Db0/de_DE.utf8/LC_TELEPHONE 1302s /tmp/tmp.sVTVMp0Db0/de_DE.utf8/LC_PAPER 1302s /tmp/tmp.sVTVMp0Db0/de_DE.utf8/LC_IDENTIFICATION 1302s /tmp/tmp.sVTVMp0Db0/de_DE.utf8/LC_MESSAGES 1302s /tmp/tmp.sVTVMp0Db0/de_DE.utf8/LC_MESSAGES/SYS_LC_MESSAGES 1302s /tmp/tmp.sVTVMp0Db0/el_GR.utf8 1302s /tmp/tmp.sVTVMp0Db0/el_GR.utf8/LC_MONETARY 1302s /tmp/tmp.sVTVMp0Db0/el_GR.utf8/LC_ADDRESS 1302s /tmp/tmp.sVTVMp0Db0/el_GR.utf8/LC_CTYPE 1302s /tmp/tmp.sVTVMp0Db0/el_GR.utf8/LC_COLLATE 1302s /tmp/tmp.sVTVMp0Db0/el_GR.utf8/LC_TIME 1302s /tmp/tmp.sVTVMp0Db0/el_GR.utf8/LC_NAME 1302s /tmp/tmp.sVTVMp0Db0/el_GR.utf8/LC_MEASUREMENT 1302s /tmp/tmp.sVTVMp0Db0/el_GR.utf8/LC_NUMERIC 1302s /tmp/tmp.sVTVMp0Db0/el_GR.utf8/LC_TELEPHONE 1302s /tmp/tmp.sVTVMp0Db0/el_GR.utf8/LC_PAPER 1302s /tmp/tmp.sVTVMp0Db0/el_GR.utf8/LC_IDENTIFICATION 1302s /tmp/tmp.sVTVMp0Db0/el_GR.utf8/LC_MESSAGES 1302s /tmp/tmp.sVTVMp0Db0/el_GR.utf8/LC_MESSAGES/SYS_LC_MESSAGES 1302s /tmp/tmp.sVTVMp0Db0/sr_RS@latin 1302s /tmp/tmp.sVTVMp0Db0/sr_RS@latin/LC_MONETARY 1302s /tmp/tmp.sVTVMp0Db0/sr_RS@latin/LC_ADDRESS 1302s /tmp/tmp.sVTVMp0Db0/sr_RS@latin/LC_CTYPE 1302s /tmp/tmp.sVTVMp0Db0/sr_RS@latin/LC_COLLATE 1302s /tmp/tmp.sVTVMp0Db0/sr_RS@latin/LC_TIME 1302s /tmp/tmp.sVTVMp0Db0/sr_RS@latin/LC_NAME 1302s /tmp/tmp.sVTVMp0Db0/sr_RS@latin/LC_MEASUREMENT 1302s /tmp/tmp.sVTVMp0Db0/sr_RS@latin/LC_NUMERIC 1302s /tmp/tmp.sVTVMp0Db0/sr_RS@latin/LC_TELEPHONE 1302s /tmp/tmp.sVTVMp0Db0/sr_RS@latin/LC_PAPER 1302s /tmp/tmp.sVTVMp0Db0/sr_RS@latin/LC_IDENTIFICATION 1302s /tmp/tmp.sVTVMp0Db0/sr_RS@latin/LC_MESSAGES 1302s /tmp/tmp.sVTVMp0Db0/sr_RS@latin/LC_MESSAGES/SYS_LC_MESSAGES 1302s /tmp/tmp.sVTVMp0Db0/fa_IR 1302s /tmp/tmp.sVTVMp0Db0/fa_IR/LC_MONETARY 1302s /tmp/tmp.sVTVMp0Db0/fa_IR/LC_ADDRESS 1302s /tmp/tmp.sVTVMp0Db0/fa_IR/LC_CTYPE 1302s /tmp/tmp.sVTVMp0Db0/fa_IR/LC_COLLATE 1302s /tmp/tmp.sVTVMp0Db0/fa_IR/LC_TIME 1302s /tmp/tmp.sVTVMp0Db0/fa_IR/LC_NAME 1302s /tmp/tmp.sVTVMp0Db0/fa_IR/LC_MEASUREMENT 1302s /tmp/tmp.sVTVMp0Db0/fa_IR/LC_NUMERIC 1302s /tmp/tmp.sVTVMp0Db0/fa_IR/LC_TELEPHONE 1302s /tmp/tmp.sVTVMp0Db0/fa_IR/LC_PAPER 1302s /tmp/tmp.sVTVMp0Db0/fa_IR/LC_IDENTIFICATION 1302s /tmp/tmp.sVTVMp0Db0/fa_IR/LC_MESSAGES 1302s /tmp/tmp.sVTVMp0Db0/fa_IR/LC_MESSAGES/SYS_LC_MESSAGES 1302s /tmp/tmp.sVTVMp0Db0/lt_LT.utf8 1302s /tmp/tmp.sVTVMp0Db0/lt_LT.utf8/LC_MONETARY 1302s /tmp/tmp.sVTVMp0Db0/lt_LT.utf8/LC_ADDRESS 1302s /tmp/tmp.sVTVMp0Db0/lt_LT.utf8/LC_CTYPE 1302s /tmp/tmp.sVTVMp0Db0/lt_LT.utf8/LC_COLLATE 1302s /tmp/tmp.sVTVMp0Db0/lt_LT.utf8/LC_TIME 1302s /tmp/tmp.sVTVMp0Db0/lt_LT.utf8/LC_NAME 1302s /tmp/tmp.sVTVMp0Db0/lt_LT.utf8/LC_MEASUREMENT 1302s /tmp/tmp.sVTVMp0Db0/lt_LT.utf8/LC_NUMERIC 1302s /tmp/tmp.sVTVMp0Db0/lt_LT.utf8/LC_TELEPHONE 1302s /tmp/tmp.sVTVMp0Db0/lt_LT.utf8/LC_PAPER 1302s /tmp/tmp.sVTVMp0Db0/lt_LT.utf8/LC_IDENTIFICATION 1302s /tmp/tmp.sVTVMp0Db0/lt_LT.utf8/LC_MESSAGES 1302s /tmp/tmp.sVTVMp0Db0/lt_LT.utf8/LC_MESSAGES/SYS_LC_MESSAGES 1302s /tmp/tmp.sVTVMp0Db0/ja_JP.utf8 1302s /tmp/tmp.sVTVMp0Db0/ja_JP.utf8/LC_MONETARY 1302s /tmp/tmp.sVTVMp0Db0/ja_JP.utf8/LC_ADDRESS 1302s /tmp/tmp.sVTVMp0Db0/ja_JP.utf8/LC_CTYPE 1302s /tmp/tmp.sVTVMp0Db0/ja_JP.utf8/LC_COLLATE 1302s /tmp/tmp.sVTVMp0Db0/ja_JP.utf8/LC_TIME 1302s /tmp/tmp.sVTVMp0Db0/ja_JP.utf8/LC_NAME 1302s /tmp/tmp.sVTVMp0Db0/ja_JP.utf8/LC_MEASUREMENT 1302s /tmp/tmp.sVTVMp0Db0/ja_JP.utf8/LC_NUMERIC 1302s /tmp/tmp.sVTVMp0Db0/ja_JP.utf8/LC_TELEPHONE 1302s /tmp/tmp.sVTVMp0Db0/ja_JP.utf8/LC_PAPER 1302s /tmp/tmp.sVTVMp0Db0/ja_JP.utf8/LC_IDENTIFICATION 1302s /tmp/tmp.sVTVMp0Db0/ja_JP.utf8/LC_MESSAGES 1302s /tmp/tmp.sVTVMp0Db0/ja_JP.utf8/LC_MESSAGES/SYS_LC_MESSAGES 1302s /tmp/tmp.sVTVMp0Db0/sv_SE.utf8 1302s /tmp/tmp.sVTVMp0Db0/sv_SE.utf8/LC_MONETARY 1302s /tmp/tmp.sVTVMp0Db0/sv_SE.utf8/LC_ADDRESS 1302s /tmp/tmp.sVTVMp0Db0/sv_SE.utf8/LC_CTYPE 1302s /tmp/tmp.sVTVMp0Db0/sv_SE.utf8/LC_COLLATE 1302s /tmp/tmp.sVTVMp0Db0/sv_SE.utf8/LC_TIME 1302s /tmp/tmp.sVTVMp0Db0/sv_SE.utf8/LC_NAME 1302s /tmp/tmp.sVTVMp0Db0/sv_SE.utf8/LC_MEASUREMENT 1302s /tmp/tmp.sVTVMp0Db0/sv_SE.utf8/LC_NUMERIC 1302s /tmp/tmp.sVTVMp0Db0/sv_SE.utf8/LC_TELEPHONE 1302s /tmp/tmp.sVTVMp0Db0/sv_SE.utf8/LC_PAPER 1302s /tmp/tmp.sVTVMp0Db0/sv_SE.utf8/LC_IDENTIFICATION 1302s /tmp/tmp.sVTVMp0Db0/sv_SE.utf8/LC_MESSAGES 1302s /tmp/tmp.sVTVMp0Db0/sv_SE.utf8/LC_MESSAGES/SYS_LC_MESSAGES 1302s /tmp/tmp.sVTVMp0Db0/en_US 1302s /tmp/tmp.sVTVMp0Db0/en_US/LC_MONETARY 1302s /tmp/tmp.sVTVMp0Db0/en_US/LC_ADDRESS 1302s /tmp/tmp.sVTVMp0Db0/en_US/LC_CTYPE 1302s /tmp/tmp.sVTVMp0Db0/en_US/LC_COLLATE 1302s /tmp/tmp.sVTVMp0Db0/en_US/LC_TIME 1302s /tmp/tmp.sVTVMp0Db0/en_US/LC_NAME 1302s /tmp/tmp.sVTVMp0Db0/en_US/LC_MEASUREMENT 1302s /tmp/tmp.sVTVMp0Db0/en_US/LC_NUMERIC 1302s /tmp/tmp.sVTVMp0Db0/en_US/LC_TELEPHONE 1302s /tmp/tmp.sVTVMp0Db0/en_US/LC_PAPER 1302s /tmp/tmp.sVTVMp0Db0/en_US/LC_IDENTIFICATION 1302s /tmp/tmp.sVTVMp0Db0/en_US/LC_MESSAGES 1302s /tmp/tmp.sVTVMp0Db0/en_US/LC_MESSAGES/SYS_LC_MESSAGES 1302s /tmp/tmp.sVTVMp0Db0/tt_RU 1302s /tmp/tmp.sVTVMp0Db0/tt_RU/LC_MONETARY 1302s /tmp/tmp.sVTVMp0Db0/tt_RU/LC_ADDRESS 1302s /tmp/tmp.sVTVMp0Db0/tt_RU/LC_CTYPE 1302s /tmp/tmp.sVTVMp0Db0/tt_RU/LC_COLLATE 1302s /tmp/tmp.sVTVMp0Db0/tt_RU/LC_TIME 1302s /tmp/tmp.sVTVMp0Db0/tt_RU/LC_NAME 1302s /tmp/tmp.sVTVMp0Db0/tt_RU/LC_MEASUREMENT 1302s /tmp/tmp.sVTVMp0Db0/tt_RU/LC_NUMERIC 1302s /tmp/tmp.sVTVMp0Db0/tt_RU/LC_TELEPHONE 1302s /tmp/tmp.sVTVMp0Db0/tt_RU/LC_PAPER 1302s /tmp/tmp.sVTVMp0Db0/tt_RU/LC_IDENTIFICATION 1302s /tmp/tmp.sVTVMp0Db0/tt_RU/LC_MESSAGES 1302s /tmp/tmp.sVTVMp0Db0/tt_RU/LC_MESSAGES/SYS_LC_MESSAGES 1302s /tmp/tmp.sVTVMp0Db0/ru_RU 1302s /tmp/tmp.sVTVMp0Db0/ru_RU/LC_MONETARY 1302s /tmp/tmp.sVTVMp0Db0/ru_RU/LC_ADDRESS 1302s /tmp/tmp.sVTVMp0Db0/ru_RU/LC_CTYPE 1302s /tmp/tmp.sVTVMp0Db0/ru_RU/LC_COLLATE 1302s /tmp/tmp.sVTVMp0Db0/ru_RU/LC_TIME 1302s /tmp/tmp.sVTVMp0Db0/ru_RU/LC_NAME 1302s /tmp/tmp.sVTVMp0Db0/ru_RU/LC_MEASUREMENT 1302s /tmp/tmp.sVTVMp0Db0/ru_RU/LC_NUMERIC 1302s /tmp/tmp.sVTVMp0Db0/ru_RU/LC_TELEPHONE 1302s /tmp/tmp.sVTVMp0Db0/ru_RU/LC_PAPER 1302s /tmp/tmp.sVTVMp0Db0/ru_RU/LC_IDENTIFICATION 1302s /tmp/tmp.sVTVMp0Db0/ru_RU/LC_MESSAGES 1302s /tmp/tmp.sVTVMp0Db0/ru_RU/LC_MESSAGES/SYS_LC_MESSAGES 1302s /tmp/tmp.sVTVMp0Db0/tr_TR.utf8 1302s /tmp/tmp.sVTVMp0Db0/tr_TR.utf8/LC_MONETARY 1302s /tmp/tmp.sVTVMp0Db0/tr_TR.utf8/LC_ADDRESS 1302s /tmp/tmp.sVTVMp0Db0/tr_TR.utf8/LC_CTYPE 1302s /tmp/tmp.sVTVMp0Db0/tr_TR.utf8/LC_COLLATE 1302s /tmp/tmp.sVTVMp0Db0/tr_TR.utf8/LC_TIME 1302s /tmp/tmp.sVTVMp0Db0/tr_TR.utf8/LC_NAME 1302s /tmp/tmp.sVTVMp0Db0/tr_TR.utf8/LC_MEASUREMENT 1302s /tmp/tmp.sVTVMp0Db0/tr_TR.utf8/LC_NUMERIC 1302s /tmp/tmp.sVTVMp0Db0/tr_TR.utf8/LC_TELEPHONE 1302s /tmp/tmp.sVTVMp0Db0/tr_TR.utf8/LC_PAPER 1302s /tmp/tmp.sVTVMp0Db0/tr_TR.utf8/LC_IDENTIFICATION 1302s /tmp/tmp.sVTVMp0Db0/tr_TR.utf8/LC_MESSAGES 1302s /tmp/tmp.sVTVMp0Db0/tr_TR.utf8/LC_MESSAGES/SYS_LC_MESSAGES 1302s /tmp/tmp.sVTVMp0Db0/ru_RU.utf8 1302s /tmp/tmp.sVTVMp0Db0/ru_RU.utf8/LC_MONETARY 1302s /tmp/tmp.sVTVMp0Db0/ru_RU.utf8/LC_ADDRESS 1302s /tmp/tmp.sVTVMp0Db0/ru_RU.utf8/LC_CTYPE 1302s /tmp/tmp.sVTVMp0Db0/ru_RU.utf8/LC_COLLATE 1302s /tmp/tmp.sVTVMp0Db0/ru_RU.utf8/LC_TIME 1302s /tmp/tmp.sVTVMp0Db0/ru_RU.utf8/LC_NAME 1302s /tmp/tmp.sVTVMp0Db0/ru_RU.utf8/LC_MEASUREMENT 1302s /tmp/tmp.sVTVMp0Db0/ru_RU.utf8/LC_NUMERIC 1302s /tmp/tmp.sVTVMp0Db0/ru_RU.utf8/LC_TELEPHONE 1302s /tmp/tmp.sVTVMp0Db0/ru_RU.utf8/LC_PAPER 1302s /tmp/tmp.sVTVMp0Db0/ru_RU.utf8/LC_IDENTIFICATION 1302s /tmp/tmp.sVTVMp0Db0/ru_RU.utf8/LC_MESSAGES 1302s /tmp/tmp.sVTVMp0Db0/ru_RU.utf8/LC_MESSAGES/SYS_LC_MESSAGES 1302s /tmp/tmp.sVTVMp0Db0/ja_JP.eucjp 1302s /tmp/tmp.sVTVMp0Db0/ja_JP.eucjp/LC_MONETARY 1302s /tmp/tmp.sVTVMp0Db0/ja_JP.eucjp/LC_ADDRESS 1302s /tmp/tmp.sVTVMp0Db0/ja_JP.eucjp/LC_CTYPE 1302s /tmp/tmp.sVTVMp0Db0/ja_JP.eucjp/LC_COLLATE 1302s /tmp/tmp.sVTVMp0Db0/ja_JP.eucjp/LC_TIME 1302s /tmp/tmp.sVTVMp0Db0/ja_JP.eucjp/LC_NAME 1302s /tmp/tmp.sVTVMp0Db0/ja_JP.eucjp/LC_MEASUREMENT 1302s /tmp/tmp.sVTVMp0Db0/ja_JP.eucjp/LC_NUMERIC 1302s /tmp/tmp.sVTVMp0Db0/ja_JP.eucjp/LC_TELEPHONE 1302s /tmp/tmp.sVTVMp0Db0/ja_JP.eucjp/LC_PAPER 1302s /tmp/tmp.sVTVMp0Db0/ja_JP.eucjp/LC_IDENTIFICATION 1302s /tmp/tmp.sVTVMp0Db0/ja_JP.eucjp/LC_MESSAGES 1302s /tmp/tmp.sVTVMp0Db0/ja_JP.eucjp/LC_MESSAGES/SYS_LC_MESSAGES 1302s /tmp/tmp.sVTVMp0Db0/sv_SE 1302s /tmp/tmp.sVTVMp0Db0/sv_SE/LC_MONETARY 1302s /tmp/tmp.sVTVMp0Db0/sv_SE/LC_ADDRESS 1302s /tmp/tmp.sVTVMp0Db0/sv_SE/LC_CTYPE 1302s /tmp/tmp.sVTVMp0Db0/sv_SE/LC_COLLATE 1302s /tmp/tmp.sVTVMp0Db0/sv_SE/LC_TIME 1302s /tmp/tmp.sVTVMp0Db0/sv_SE/LC_NAME 1302s /tmp/tmp.sVTVMp0Db0/sv_SE/LC_MEASUREMENT 1302s /tmp/tmp.sVTVMp0Db0/sv_SE/LC_NUMERIC 1302s /tmp/tmp.sVTVMp0Db0/sv_SE/LC_TELEPHONE 1302s /tmp/tmp.sVTVMp0Db0/sv_SE/LC_PAPER 1302s /tmp/tmp.sVTVMp0Db0/sv_SE/LC_IDENTIFICATION 1302s /tmp/tmp.sVTVMp0Db0/sv_SE/LC_MESSAGES 1302s /tmp/tmp.sVTVMp0Db0/sv_SE/LC_MESSAGES/SYS_LC_MESSAGES 1302s /tmp/tmp.sVTVMp0Db0/fr_FR.utf8 1302s /tmp/tmp.sVTVMp0Db0/fr_FR.utf8/LC_MONETARY 1302s /tmp/tmp.sVTVMp0Db0/fr_FR.utf8/LC_ADDRESS 1302s /tmp/tmp.sVTVMp0Db0/fr_FR.utf8/LC_CTYPE 1302s /tmp/tmp.sVTVMp0Db0/fr_FR.utf8/LC_COLLATE 1302s /tmp/tmp.sVTVMp0Db0/fr_FR.utf8/LC_TIME 1302s /tmp/tmp.sVTVMp0Db0/fr_FR.utf8/LC_NAME 1302s /tmp/tmp.sVTVMp0Db0/fr_FR.utf8/LC_MEASUREMENT 1302s /tmp/tmp.sVTVMp0Db0/fr_FR.utf8/LC_NUMERIC 1302s /tmp/tmp.sVTVMp0Db0/fr_FR.utf8/LC_TELEPHONE 1302s /tmp/tmp.sVTVMp0Db0/fr_FR.utf8/LC_PAPER 1302s /tmp/tmp.sVTVMp0Db0/fr_FR.utf8/LC_IDENTIFICATION 1302s /tmp/tmp.sVTVMp0Db0/fr_FR.utf8/LC_MESSAGES 1302s /tmp/tmp.sVTVMp0Db0/fr_FR.utf8/LC_MESSAGES/SYS_LC_MESSAGES 1302s /tmp/tmp.sVTVMp0Db0/pl_PL 1302s /tmp/tmp.sVTVMp0Db0/pl_PL/LC_MONETARY 1302s /tmp/tmp.sVTVMp0Db0/pl_PL/LC_ADDRESS 1302s /tmp/tmp.sVTVMp0Db0/pl_PL/LC_CTYPE 1302s /tmp/tmp.sVTVMp0Db0/pl_PL/LC_COLLATE 1302s /tmp/tmp.sVTVMp0Db0/pl_PL/LC_TIME 1302s /tmp/tmp.sVTVMp0Db0/pl_PL/LC_NAME 1302s /tmp/tmp.sVTVMp0Db0/pl_PL/LC_MEASUREMENT 1302s /tmp/tmp.sVTVMp0Db0/pl_PL/LC_NUMERIC 1302s /tmp/tmp.sVTVMp0Db0/pl_PL/LC_TELEPHONE 1302s /tmp/tmp.sVTVMp0Db0/pl_PL/LC_PAPER 1302s /tmp/tmp.sVTVMp0Db0/pl_PL/LC_IDENTIFICATION 1302s /tmp/tmp.sVTVMp0Db0/pl_PL/LC_MESSAGES 1302s /tmp/tmp.sVTVMp0Db0/pl_PL/LC_MESSAGES/SYS_LC_MESSAGES 1302s /tmp/tmp.sVTVMp0Db0/sr_RS 1302s /tmp/tmp.sVTVMp0Db0/sr_RS/LC_MONETARY 1302s /tmp/tmp.sVTVMp0Db0/sr_RS/LC_ADDRESS 1302s /tmp/tmp.sVTVMp0Db0/sr_RS/LC_CTYPE 1302s /tmp/tmp.sVTVMp0Db0/sr_RS/LC_COLLATE 1302s /tmp/tmp.sVTVMp0Db0/sr_RS/LC_TIME 1302s /tmp/tmp.sVTVMp0Db0/sr_RS/LC_NAME 1302s /tmp/tmp.sVTVMp0Db0/sr_RS/LC_MEASUREMENT 1302s /tmp/tmp.sVTVMp0Db0/sr_RS/LC_NUMERIC 1302s /tmp/tmp.sVTVMp0Db0/sr_RS/LC_TELEPHONE 1302s /tmp/tmp.sVTVMp0Db0/sr_RS/LC_PAPER 1302s /tmp/tmp.sVTVMp0Db0/sr_RS/LC_IDENTIFICATION 1302s /tmp/tmp.sVTVMp0Db0/sr_RS/LC_MESSAGES 1302s /tmp/tmp.sVTVMp0Db0/sr_RS/LC_MESSAGES/SYS_LC_MESSAGES 1302s /tmp/tmp.sVTVMp0Db0/en_US.utf8 1302s /tmp/tmp.sVTVMp0Db0/en_US.utf8/LC_MONETARY 1302s /tmp/tmp.sVTVMp0Db0/en_US.utf8/LC_ADDRESS 1302s /tmp/tmp.sVTVMp0Db0/en_US.utf8/LC_CTYPE 1302s /tmp/tmp.sVTVMp0Db0/en_US.utf8/LC_COLLATE 1302s /tmp/tmp.sVTVMp0Db0/en_US.utf8/LC_TIME 1302s /tmp/tmp.sVTVMp0Db0/en_US.utf8/LC_NAME 1302s /tmp/tmp.sVTVMp0Db0/en_US.utf8/LC_MEASUREMENT 1302s /tmp/tmp.sVTVMp0Db0/en_US.utf8/LC_NUMERIC 1302s /tmp/tmp.sVTVMp0Db0/en_US.utf8/LC_TELEPHONE 1302s /tmp/tmp.sVTVMp0Db0/en_US.utf8/LC_PAPER 1302s /tmp/tmp.sVTVMp0Db0/en_US.utf8/LC_IDENTIFICATION 1302s /tmp/tmp.sVTVMp0Db0/en_US.utf8/LC_MESSAGES 1302s /tmp/tmp.sVTVMp0Db0/en_US.utf8/LC_MESSAGES/SYS_LC_MESSAGES 1302s /tmp/tmp.sVTVMp0Db0/pl_PL.utf8 1302s /tmp/tmp.sVTVMp0Db0/pl_PL.utf8/LC_MONETARY 1302s /tmp/tmp.sVTVMp0Db0/pl_PL.utf8/LC_ADDRESS 1302s /tmp/tmp.sVTVMp0Db0/pl_PL.utf8/LC_CTYPE 1302s /tmp/tmp.sVTVMp0Db0/pl_PL.utf8/LC_COLLATE 1302s /tmp/tmp.sVTVMp0Db0/pl_PL.utf8/LC_TIME 1302s /tmp/tmp.sVTVMp0Db0/pl_PL.utf8/LC_NAME 1302s /tmp/tmp.sVTVMp0Db0/pl_PL.utf8/LC_MEASUREMENT 1302s /tmp/tmp.sVTVMp0Db0/pl_PL.utf8/LC_NUMERIC 1302s /tmp/tmp.sVTVMp0Db0/pl_PL.utf8/LC_TELEPHONE 1302s /tmp/tmp.sVTVMp0Db0/pl_PL.utf8/LC_PAPER 1302s /tmp/tmp.sVTVMp0Db0/pl_PL.utf8/LC_IDENTIFICATION 1302s /tmp/tmp.sVTVMp0Db0/pl_PL.utf8/LC_MESSAGES 1302s /tmp/tmp.sVTVMp0Db0/pl_PL.utf8/LC_MESSAGES/SYS_LC_MESSAGES 1302s /tmp/tmp.sVTVMp0Db0/hr_HR.utf8 1302s /tmp/tmp.sVTVMp0Db0/hr_HR.utf8/LC_MONETARY 1302s /tmp/tmp.sVTVMp0Db0/hr_HR.utf8/LC_ADDRESS 1302s /tmp/tmp.sVTVMp0Db0/hr_HR.utf8/LC_CTYPE 1302s /tmp/tmp.sVTVMp0Db0/hr_HR.utf8/LC_COLLATE 1302s /tmp/tmp.sVTVMp0Db0/hr_HR.utf8/LC_TIME 1302s /tmp/tmp.sVTVMp0Db0/hr_HR.utf8/LC_NAME 1302s /tmp/tmp.sVTVMp0Db0/hr_HR.utf8/LC_MEASUREMENT 1302s /tmp/tmp.sVTVMp0Db0/hr_HR.utf8/LC_NUMERIC 1302s /tmp/tmp.sVTVMp0Db0/hr_HR.utf8/LC_TELEPHONE 1302s /tmp/tmp.sVTVMp0Db0/hr_HR.utf8/LC_PAPER 1302s /tmp/tmp.sVTVMp0Db0/hr_HR.utf8/LC_IDENTIFICATION 1302s /tmp/tmp.sVTVMp0Db0/hr_HR.utf8/LC_MESSAGES 1302s /tmp/tmp.sVTVMp0Db0/hr_HR.utf8/LC_MESSAGES/SYS_LC_MESSAGES 1302s 1..315 1302s # Running test: glib/gdbus-addresses.test 1302s TAP version 13 1302s # random seed: R02Saa40ff19ebd73bf52e8f58e9763b631a 1302s 1..9 1302s # Start of gdbus tests 1302s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-addresses_6C12K2/gdbus/empty-address/.dirs/home 1302s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-addresses_6C12K2/gdbus/empty-address/.dirs/cache 1302s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-addresses_6C12K2/gdbus/empty-address/.dirs/system-config1:/tmp/test_gdbus-addresses_6C12K2/gdbus/empty-address/.dirs/system-config2 1302s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-addresses_6C12K2/gdbus/empty-address/.dirs/config 1302s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-addresses_6C12K2/gdbus/empty-address/.dirs/system-data1:/tmp/test_gdbus-addresses_6C12K2/gdbus/empty-address/.dirs/system-data2 1302s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-addresses_6C12K2/gdbus/empty-address/.dirs/data 1302s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-addresses_6C12K2/gdbus/empty-address/.dirs/state 1302s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-addresses_6C12K2/gdbus/empty-address/.dirs/runtime 1302s ok 1 /gdbus/empty-address 1302s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-addresses_6C12K2/gdbus/unsupported-address/.dirs/home 1302s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-addresses_6C12K2/gdbus/unsupported-address/.dirs/cache 1302s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-addresses_6C12K2/gdbus/unsupported-address/.dirs/system-config1:/tmp/test_gdbus-addresses_6C12K2/gdbus/unsupported-address/.dirs/system-config2 1302s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-addresses_6C12K2/gdbus/unsupported-address/.dirs/config 1302s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-addresses_6C12K2/gdbus/unsupported-address/.dirs/system-data1:/tmp/test_gdbus-addresses_6C12K2/gdbus/unsupported-address/.dirs/system-data2 1302s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-addresses_6C12K2/gdbus/unsupported-address/.dirs/data 1302s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-addresses_6C12K2/gdbus/unsupported-address/.dirs/state 1302s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-addresses_6C12K2/gdbus/unsupported-address/.dirs/runtime 1302s ok 2 /gdbus/unsupported-address 1302s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-addresses_6C12K2/gdbus/address-parsing/.dirs/home 1302s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-addresses_6C12K2/gdbus/address-parsing/.dirs/cache 1302s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-addresses_6C12K2/gdbus/address-parsing/.dirs/system-config1:/tmp/test_gdbus-addresses_6C12K2/gdbus/address-parsing/.dirs/system-config2 1302s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-addresses_6C12K2/gdbus/address-parsing/.dirs/config 1302s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-addresses_6C12K2/gdbus/address-parsing/.dirs/system-data1:/tmp/test_gdbus-addresses_6C12K2/gdbus/address-parsing/.dirs/system-data2 1302s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-addresses_6C12K2/gdbus/address-parsing/.dirs/data 1302s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-addresses_6C12K2/gdbus/address-parsing/.dirs/state 1302s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-addresses_6C12K2/gdbus/address-parsing/.dirs/runtime 1302s ok 3 /gdbus/address-parsing 1302s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-addresses_6C12K2/gdbus/unix-address/.dirs/home 1302s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-addresses_6C12K2/gdbus/unix-address/.dirs/cache 1302s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-addresses_6C12K2/gdbus/unix-address/.dirs/system-config1:/tmp/test_gdbus-addresses_6C12K2/gdbus/unix-address/.dirs/system-config2 1302s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-addresses_6C12K2/gdbus/unix-address/.dirs/config 1302s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-addresses_6C12K2/gdbus/unix-address/.dirs/system-data1:/tmp/test_gdbus-addresses_6C12K2/gdbus/unix-address/.dirs/system-data2 1302s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-addresses_6C12K2/gdbus/unix-address/.dirs/data 1302s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-addresses_6C12K2/gdbus/unix-address/.dirs/state 1302s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-addresses_6C12K2/gdbus/unix-address/.dirs/runtime 1302s ok 4 /gdbus/unix-address 1302s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-addresses_6C12K2/gdbus/nonce-tcp-address/.dirs/home 1302s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-addresses_6C12K2/gdbus/nonce-tcp-address/.dirs/cache 1302s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-addresses_6C12K2/gdbus/nonce-tcp-address/.dirs/system-config1:/tmp/test_gdbus-addresses_6C12K2/gdbus/nonce-tcp-address/.dirs/system-config2 1302s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-addresses_6C12K2/gdbus/nonce-tcp-address/.dirs/config 1302s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-addresses_6C12K2/gdbus/nonce-tcp-address/.dirs/system-data1:/tmp/test_gdbus-addresses_6C12K2/gdbus/nonce-tcp-address/.dirs/system-data2 1302s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-addresses_6C12K2/gdbus/nonce-tcp-address/.dirs/data 1302s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-addresses_6C12K2/gdbus/nonce-tcp-address/.dirs/state 1302s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-addresses_6C12K2/gdbus/nonce-tcp-address/.dirs/runtime 1302s ok 5 /gdbus/nonce-tcp-address 1302s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-addresses_6C12K2/gdbus/tcp-address/.dirs/home 1302s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-addresses_6C12K2/gdbus/tcp-address/.dirs/cache 1302s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-addresses_6C12K2/gdbus/tcp-address/.dirs/system-config1:/tmp/test_gdbus-addresses_6C12K2/gdbus/tcp-address/.dirs/system-config2 1302s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-addresses_6C12K2/gdbus/tcp-address/.dirs/config 1302s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-addresses_6C12K2/gdbus/tcp-address/.dirs/system-data1:/tmp/test_gdbus-addresses_6C12K2/gdbus/tcp-address/.dirs/system-data2 1302s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-addresses_6C12K2/gdbus/tcp-address/.dirs/data 1302s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-addresses_6C12K2/gdbus/tcp-address/.dirs/state 1302s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-addresses_6C12K2/gdbus/tcp-address/.dirs/runtime 1302s ok 6 /gdbus/tcp-address 1302s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-addresses_6C12K2/gdbus/autolaunch-address/.dirs/home 1302s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-addresses_6C12K2/gdbus/autolaunch-address/.dirs/cache 1302s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-addresses_6C12K2/gdbus/autolaunch-address/.dirs/system-config1:/tmp/test_gdbus-addresses_6C12K2/gdbus/autolaunch-address/.dirs/system-config2 1302s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-addresses_6C12K2/gdbus/autolaunch-address/.dirs/config 1302s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-addresses_6C12K2/gdbus/autolaunch-address/.dirs/system-data1:/tmp/test_gdbus-addresses_6C12K2/gdbus/autolaunch-address/.dirs/system-data2 1302s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-addresses_6C12K2/gdbus/autolaunch-address/.dirs/data 1302s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-addresses_6C12K2/gdbus/autolaunch-address/.dirs/state 1302s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-addresses_6C12K2/gdbus/autolaunch-address/.dirs/runtime 1302s ok 7 /gdbus/autolaunch-address 1302s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-addresses_6C12K2/gdbus/mixed-address/.dirs/home 1302s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-addresses_6C12K2/gdbus/mixed-address/.dirs/cache 1302s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-addresses_6C12K2/gdbus/mixed-address/.dirs/system-config1:/tmp/test_gdbus-addresses_6C12K2/gdbus/mixed-address/.dirs/system-config2 1302s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-addresses_6C12K2/gdbus/mixed-address/.dirs/config 1302s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-addresses_6C12K2/gdbus/mixed-address/.dirs/system-data1:/tmp/test_gdbus-addresses_6C12K2/gdbus/mixed-address/.dirs/system-data2 1302s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-addresses_6C12K2/gdbus/mixed-address/.dirs/data 1302s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-addresses_6C12K2/gdbus/mixed-address/.dirs/state 1302s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-addresses_6C12K2/gdbus/mixed-address/.dirs/runtime 1302s ok 8 /gdbus/mixed-address 1302s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-addresses_6C12K2/gdbus/escape-address/.dirs/home 1302s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-addresses_6C12K2/gdbus/escape-address/.dirs/cache 1302s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-addresses_6C12K2/gdbus/escape-address/.dirs/system-config1:/tmp/test_gdbus-addresses_6C12K2/gdbus/escape-address/.dirs/system-config2 1302s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-addresses_6C12K2/gdbus/escape-address/.dirs/config 1302s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-addresses_6C12K2/gdbus/escape-address/.dirs/system-data1:/tmp/test_gdbus-addresses_6C12K2/gdbus/escape-address/.dirs/system-data2 1302s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-addresses_6C12K2/gdbus/escape-address/.dirs/data 1302s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-addresses_6C12K2/gdbus/escape-address/.dirs/state 1302s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-addresses_6C12K2/gdbus/escape-address/.dirs/runtime 1302s ok 9 /gdbus/escape-address 1302s # End of gdbus tests 1302s ok - glib/gdbus-addresses.test 1302s # Running test: glib/live-g-file.test 1302s TAP version 13 1302s # random seed: R02Scb9c1ac18b00140a01929f50a2f6b76c 1302s 1..13 1302s # Start of live-g-file tests 1302s # Cleaning target testing structure in 'testdir_live-g-file'... 1302s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 1302s ok 1 /live-g-file/prep_clean_structure 1302s # 1302s # Going to create testing structure in 'testdir_live-g-file'... 1302s # Creating directory 'dir1'... 1302s # Creating directory 'dir1/subdir'... 1302s # Creating directory 'dir2'... 1302s # Creating directory 'dir-target'... 1302s # Creating directory 'dir_no-access'... 1302s # Creating directory 'dir_no-write'... 1302s # Creating file 'target-file'... 1302s # Creating file 'normal_file'... 1302s # Creating symlink 'normal_file-symlink' --> 'normal_file'... 1302s # Creating file 'executable_file'... 1302s # Creating file 'private_file'... 1302s # Creating file 'normal_file2'... 1302s # Creating file 'readonly_file'... 1302s # Creating file 'UTF_pr?i?lis? z'... 1302s # Creating directory 'dir_pr?i?lis? z'... 1302s # Creating symlink 'lost_symlink' --> 'nowhere'... 1302s # Creating directory 'dir_hidden'... 1302s # Creating file 'dir_hidden/.a-hidden-file'... 1302s # Creating file 'dir_hidden/file-in-.hidden1'... 1302s # Creating file 'dir_hidden/file-in-.hidden2'... 1302s # Creating pattern file... 1302s # done. 1302s ok 2 /live-g-file/create_structure 1302s # Testing sample structure in 'testdir_live-g-file'... 1302s # Testing file 'dir1'... 1302s # Testing file 'dir1/subdir'... 1302s # Testing file 'dir2'... 1302s # Testing file 'dir-target'... 1302s # Testing file 'dir_no-access'... 1302s # Testing file 'dir_no-write'... 1302s # Testing file 'target-file'... 1302s # Testing file 'normal_file'... 1302s # Testing file 'normal_file-symlink'... 1302s # Testing file 'executable_file'... 1302s # Testing file 'private_file'... 1302s # Testing file 'normal_file2'... 1302s # Testing file 'readonly_file'... 1302s # Testing file 'UTF_pr?i?lis? z'... 1302s # Testing file 'dir_pr?i?lis? z'... 1302s # Testing file 'lost_symlink'... 1302s # Testing file 'dir_hidden'... 1302s # Testing file 'dir_hidden/.a-hidden-file'... 1302s # Testing file 'dir_hidden/file-in-.hidden1'... 1302s # Testing file 'dir_hidden/file-in-.hidden2'... 1302s # Testing pattern file... 1302s # read 65536 bytes, total = 65536 of 65536. 1302s ok 3 /live-g-file/test_initial_structure 1302s # Traversing through the sample structure in 'testdir_live-g-file'... 1302s # Found file dir1, relative to root: dir1 1302s # Found file subdir, relative to root: dir1/subdir 1302s # Found file dir2, relative to root: dir2 1302s # Found file dir-target, relative to root: dir-target 1302s # Found file dir_no-access, relative to root: dir_no-access 1302s # Found file dir_no-write, relative to root: dir_no-write 1302s # Found file target-file, relative to root: target-file 1302s # Found file normal_file, relative to root: normal_file 1302s # Found file normal_file-symlink, relative to root: normal_file-symlink 1302s # Found file executable_file, relative to root: executable_file 1302s # Found file private_file, relative to root: private_file 1302s # Found file normal_file2, relative to root: normal_file2 1302s # Found file readonly_file, relative to root: readonly_file 1302s # Found file UTF_pr?i?lis? z, relative to root: UTF_pr?i?lis? z 1302s # Found file dir_pr?i?lis? z, relative to root: dir_pr?i?lis? z 1302s # Found file lost_symlink, relative to root: lost_symlink 1302s # Found file dir_hidden, relative to root: dir_hidden 1302s # Found file .a-hidden-file, relative to root: dir_hidden/.a-hidden-file 1302s # Found file file-in-.hidden1, relative to root: dir_hidden/file-in-.hidden1 1302s # Found file .hidden, relative to root: dir_hidden/.hidden 1302s # Found file file-in-.hidden2, relative to root: dir_hidden/file-in-.hidden2 1302s # Found file pattern_file, relative to root: pattern_file 1302s ok 4 /live-g-file/test_traverse_structure 1302s # Test enumerate 'testdir_live-g-file'... 1302s # Testing file 'dir_no-access' 1302s # Testing file 'normal_file' 1302s # Testing file 'normal_file-symlink' 1302s # Testing file 'not_exists' 1302s # Testing file 'not_exists' 1302s # Testing file 'not_exists2' 1302s # Testing file 'not_exists3' 1302s # Testing file 'not_exists4' 1302s # Testing file 'dir_no-execute/file' 1302s ok 5 /live-g-file/test_enumerate 1302s # test_open: 'dir1' 1302s # test_open: 'dir_no-access' 1302s # test_open: 'target-file' 1302s # test_open: 'normal_file-symlink' 1302s # test_open: 'executable_file' 1302s # test_open: 'private_file' 1302s # test_open: 'readonly_file' 1302s # test_open: 'UTF_pr?i?lis? z' 1302s # test_open: 'pattern_file' 1302s # test_open: 'not_exists' 1302s # test_open: 'dir_no-execute/file' 1302s # test_open: 'lost_symlink' 1302s ok 6 /live-g-file/test_open 1302s # test_create: 'dir1' 1302s # error code 3 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-YF62K2/testdir_live-g-file/dir1?: Is a directory 1302s # test_create: 'dir1/subdir' 1302s # error code 3 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-YF62K2/testdir_live-g-file/dir1/subdir?: Is a directory 1302s # test_create: 'dir2' 1302s # error code 2 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-YF62K2/testdir_live-g-file/dir2?: File exists 1302s # test_create: 'normal_file' 1302s # error code 2 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-YF62K2/testdir_live-g-file/normal_file?: File exists 1302s # test_create: 'executable_file' 1302s # test_create: 'private_file' 1302s # test_create: 'normal_file2' 1302s # test_create: 'UTF_pr?i?lis? z' 1302s # error code 2 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-YF62K2/testdir_live-g-file/UTF_pr?i?lis? z?: File exists 1302s # test_create: 'dir_pr?i?lis? z' 1302s # error code 2 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-YF62K2/testdir_live-g-file/dir_pr?i?lis? z?: File exists 1302s # test_create: 'pattern_file' 1302s # test_create: 'not_exists2' 1302s # test_create: 'not_exists3' 1302s # test_create: 'not_exists4' 1302s ok 7 /live-g-file/test_create 1302s # We do not have CAP_DAC_OVERRIDE or equivalent 1302s # do_copy_move: 'dir1/subdir' --> 'dir-target' 1302s # res = 0, error code 25 = Can?t recursively copy directory 1302s # We do not have CAP_DAC_OVERRIDE or equivalent 1302s # do_copy_move: 'dir1/subdir' --> '.' 1302s # res = 0, error code 2 = Target file exists 1302s # We do not have CAP_DAC_OVERRIDE or equivalent 1302s # do_copy_move: 'dir1/subdir' --> 'target-file' 1302s # res = 0, error code 4 = Error when getting information for file ?/tmp/test-tmp-glib_live-g-file.test-YF62K2/testdir_live-g-file/target-file/dir1/subdir?: Not a directory 1302s # We do not have CAP_DAC_OVERRIDE or equivalent 1302s # do_copy_move: 'dir1/subdir' --> 'not_exists' 1302s # res = 0, error code 25 = Can?t recursively copy directory 1302s # We do not have CAP_DAC_OVERRIDE or equivalent 1302s # do_copy_move: 'dir1/subdir' --> 'dir_no-access' 1302s # res = 0, error code 25 = Can?t recursively copy directory 1302s # We do not have CAP_DAC_OVERRIDE or equivalent 1302s # do_copy_move: 'dir1/subdir' --> 'dir_no-write' 1302s # res = 0, error code 25 = Can?t recursively copy directory 1302s # We do not have CAP_DAC_OVERRIDE or equivalent 1302s # do_copy_move: 'dir2' --> 'dir-target' 1302s # We do not have CAP_DAC_OVERRIDE or equivalent 1302s # do_copy_move: 'dir-target' --> 'dir-target' 1302s # res = 0, error code 25 = Can?t recursively copy directory 1302s # We do not have CAP_DAC_OVERRIDE or equivalent 1302s # do_copy_move: 'dir-target' --> '.' 1302s # res = 0, error code 2 = Target file exists 1302s # We do not have CAP_DAC_OVERRIDE or equivalent 1302s # do_copy_move: 'dir-target' --> 'target-file' 1302s # res = 0, error code 4 = Error when getting information for file ?/tmp/test-tmp-glib_live-g-file.test-YF62K2/testdir_live-g-file/target-file/dir-target?: Not a directory 1302s # We do not have CAP_DAC_OVERRIDE or equivalent 1302s # do_copy_move: 'dir-target' --> 'not_exists' 1302s # res = 0, error code 25 = Can?t recursively copy directory 1302s # We do not have CAP_DAC_OVERRIDE or equivalent 1302s # do_copy_move: 'dir-target' --> 'dir_no-access' 1302s # res = 0, error code 25 = Can?t recursively copy directory 1302s # We do not have CAP_DAC_OVERRIDE or equivalent 1302s # do_copy_move: 'dir-target' --> 'dir_no-write' 1302s # res = 0, error code 25 = Can?t recursively copy directory 1302s # We do not have CAP_DAC_OVERRIDE or equivalent 1302s # do_copy_move: 'target-file' --> 'dir-target' 1302s # We do not have CAP_DAC_OVERRIDE or equivalent 1302s # do_copy_move: 'target-file' --> '.' 1302s # res = 0, error code 2 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-YF62K2/testdir_live-g-file/target-file?: File exists 1302s # We do not have CAP_DAC_OVERRIDE or equivalent 1302s # do_copy_move: 'target-file' --> 'target-file' 1302s # res = 0, error code 4 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-YF62K2/testdir_live-g-file/target-file/target-file?: Not a directory 1302s # We do not have CAP_DAC_OVERRIDE or equivalent 1302s # do_copy_move: 'target-file' --> 'not_exists' 1302s # res = 0, error code 1 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-YF62K2/testdir_live-g-file/not_exists/target-file?: No such file or directory 1302s # We do not have CAP_DAC_OVERRIDE or equivalent 1302s # do_copy_move: 'target-file' --> 'dir_no-access' 1302s # res = 0, error code 14 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-YF62K2/testdir_live-g-file/dir_no-access/target-file?: Permission denied 1302s # We do not have CAP_DAC_OVERRIDE or equivalent 1302s # do_copy_move: 'target-file' --> 'dir_no-write' 1302s # res = 0, error code 14 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-YF62K2/testdir_live-g-file/dir_no-write/target-file?: Permission denied 1302s # We do not have CAP_DAC_OVERRIDE or equivalent 1302s # do_copy_move: 'normal_file-symlink' --> 'dir-target' 1302s # We do not have CAP_DAC_OVERRIDE or equivalent 1302s # do_copy_move: 'normal_file-symlink' --> '.' 1302s # res = 0, error code 2 = Error making symbolic link /tmp/test-tmp-glib_live-g-file.test-YF62K2/testdir_live-g-file/normal_file-symlink: File exists 1302s # We do not have CAP_DAC_OVERRIDE or equivalent 1302s # do_copy_move: 'normal_file-symlink' --> 'target-file' 1302s # res = 0, error code 4 = Error making symbolic link /tmp/test-tmp-glib_live-g-file.test-YF62K2/testdir_live-g-file/target-file/normal_file-symlink: Not a directory 1302s # We do not have CAP_DAC_OVERRIDE or equivalent 1302s # do_copy_move: 'normal_file-symlink' --> 'not_exists' 1302s # res = 0, error code 1 = Error making symbolic link /tmp/test-tmp-glib_live-g-file.test-YF62K2/testdir_live-g-file/not_exists/normal_file-symlink: No such file or directory 1302s # We do not have CAP_DAC_OVERRIDE or equivalent 1302s # do_copy_move: 'normal_file-symlink' --> 'dir_no-access' 1302s # res = 0, error code 14 = Error making symbolic link /tmp/test-tmp-glib_live-g-file.test-YF62K2/testdir_live-g-file/dir_no-access/normal_file-symlink: Permission denied 1302s # We do not have CAP_DAC_OVERRIDE or equivalent 1302s # do_copy_move: 'normal_file-symlink' --> 'dir_no-write' 1302s # res = 0, error code 14 = Error making symbolic link /tmp/test-tmp-glib_live-g-file.test-YF62K2/testdir_live-g-file/dir_no-write/normal_file-symlink: Permission denied 1302s # We do not have CAP_DAC_OVERRIDE or equivalent 1302s # do_copy_move: 'executable_file' --> 'dir-target' 1302s # We do not have CAP_DAC_OVERRIDE or equivalent 1302s # do_copy_move: 'executable_file' --> 'dir-target' 1302s # We do not have CAP_DAC_OVERRIDE or equivalent 1302s # do_copy_move: 'executable_file' --> '.' 1302s # res = 0, error code 2 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-YF62K2/testdir_live-g-file/executable_file?: File exists 1302s # We do not have CAP_DAC_OVERRIDE or equivalent 1302s # do_copy_move: 'executable_file' --> 'target-file' 1302s # res = 0, error code 4 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-YF62K2/testdir_live-g-file/target-file/executable_file?: Not a directory 1302s # We do not have CAP_DAC_OVERRIDE or equivalent 1302s # do_copy_move: 'executable_file' --> 'not_exists' 1302s # res = 0, error code 1 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-YF62K2/testdir_live-g-file/not_exists/executable_file?: No such file or directory 1302s # We do not have CAP_DAC_OVERRIDE or equivalent 1302s # do_copy_move: 'executable_file' --> 'dir_no-access' 1302s # res = 0, error code 14 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-YF62K2/testdir_live-g-file/dir_no-access/executable_file?: Permission denied 1302s # We do not have CAP_DAC_OVERRIDE or equivalent 1302s # do_copy_move: 'executable_file' --> 'dir_no-write' 1302s # res = 0, error code 14 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-YF62K2/testdir_live-g-file/dir_no-write/executable_file?: Permission denied 1302s # We do not have CAP_DAC_OVERRIDE or equivalent 1302s # do_copy_move: 'private_file' --> 'dir-target' 1302s # We do not have CAP_DAC_OVERRIDE or equivalent 1302s # do_copy_move: 'private_file' --> 'dir-target' 1302s # We do not have CAP_DAC_OVERRIDE or equivalent 1302s # do_copy_move: 'private_file' --> '.' 1302s # res = 0, error code 2 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-YF62K2/testdir_live-g-file/private_file?: File exists 1302s # We do not have CAP_DAC_OVERRIDE or equivalent 1302s # do_copy_move: 'private_file' --> 'target-file' 1302s # res = 0, error code 4 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-YF62K2/testdir_live-g-file/target-file/private_file?: Not a directory 1302s # We do not have CAP_DAC_OVERRIDE or equivalent 1302s # do_copy_move: 'private_file' --> 'not_exists' 1302s # res = 0, error code 1 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-YF62K2/testdir_live-g-file/not_exists/private_file?: No such file or directory 1302s # We do not have CAP_DAC_OVERRIDE or equivalent 1302s # do_copy_move: 'private_file' --> 'dir_no-access' 1302s # res = 0, error code 14 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-YF62K2/testdir_live-g-file/dir_no-access/private_file?: Permission denied 1302s # We do not have CAP_DAC_OVERRIDE or equivalent 1302s # do_copy_move: 'private_file' --> 'dir_no-write' 1302s # res = 0, error code 14 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-YF62K2/testdir_live-g-file/dir_no-write/private_file?: Permission denied 1302s # We do not have CAP_DAC_OVERRIDE or equivalent 1302s # do_copy_move: 'normal_file2' --> 'dir-target' 1302s # We do not have CAP_DAC_OVERRIDE or equivalent 1302s # do_copy_move: 'normal_file2' --> 'dir-target' 1302s # We do not have CAP_DAC_OVERRIDE or equivalent 1302s # do_copy_move: 'normal_file2' --> '.' 1302s # res = 0, error code 2 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-YF62K2/testdir_live-g-file/normal_file2?: File exists 1302s # We do not have CAP_DAC_OVERRIDE or equivalent 1302s # do_copy_move: 'normal_file2' --> 'target-file' 1302s # res = 0, error code 4 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-YF62K2/testdir_live-g-file/target-file/normal_file2?: Not a directory 1302s # We do not have CAP_DAC_OVERRIDE or equivalent 1302s # do_copy_move: 'normal_file2' --> 'not_exists' 1302s # res = 0, error code 1 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-YF62K2/testdir_live-g-file/not_exists/normal_file2?: No such file or directory 1302s # We do not have CAP_DAC_OVERRIDE or equivalent 1302s # do_copy_move: 'normal_file2' --> 'dir_no-access' 1302s # res = 0, error code 14 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-YF62K2/testdir_live-g-file/dir_no-access/normal_file2?: Permission denied 1302s # We do not have CAP_DAC_OVERRIDE or equivalent 1302s # do_copy_move: 'normal_file2' --> 'dir_no-write' 1302s # res = 0, error code 14 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-YF62K2/testdir_live-g-file/dir_no-write/normal_file2?: Permission denied 1302s # We do not have CAP_DAC_OVERRIDE or equivalent 1302s # do_copy_move: 'UTF_pr?i?lis? z' --> 'dir-target' 1302s # We do not have CAP_DAC_OVERRIDE or equivalent 1302s # do_copy_move: 'UTF_pr?i?lis? z' --> 'dir-target' 1302s # We do not have CAP_DAC_OVERRIDE or equivalent 1302s # do_copy_move: 'UTF_pr?i?lis? z' --> '.' 1302s # res = 0, error code 2 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-YF62K2/testdir_live-g-file/UTF_pr?i?lis? z?: File exists 1302s # We do not have CAP_DAC_OVERRIDE or equivalent 1302s # do_copy_move: 'UTF_pr?i?lis? z' --> 'target-file' 1302s # res = 0, error code 4 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-YF62K2/testdir_live-g-file/target-file/UTF_pr?i?lis? z?: Not a directory 1302s # We do not have CAP_DAC_OVERRIDE or equivalent 1302s # do_copy_move: 'UTF_pr?i?lis? z' --> 'not_exists' 1302s # res = 0, error code 1 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-YF62K2/testdir_live-g-file/not_exists/UTF_pr?i?lis? z?: No such file or directory 1302s # We do not have CAP_DAC_OVERRIDE or equivalent 1302s # do_copy_move: 'UTF_pr?i?lis? z' --> 'dir_no-access' 1302s # res = 0, error code 14 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-YF62K2/testdir_live-g-file/dir_no-access/UTF_pr?i?lis? z?: Permission denied 1302s # We do not have CAP_DAC_OVERRIDE or equivalent 1302s # do_copy_move: 'UTF_pr?i?lis? z' --> 'dir_no-write' 1302s # res = 0, error code 14 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-YF62K2/testdir_live-g-file/dir_no-write/UTF_pr?i?lis? z?: Permission denied 1302s # We do not have CAP_DAC_OVERRIDE or equivalent 1302s # do_copy_move: 'pattern_file' --> 'dir-target' 1302s # We do not have CAP_DAC_OVERRIDE or equivalent 1302s # do_copy_move: 'pattern_file' --> '.' 1302s # res = 0, error code 2 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-YF62K2/testdir_live-g-file/pattern_file?: File exists 1302s # We do not have CAP_DAC_OVERRIDE or equivalent 1302s # do_copy_move: 'pattern_file' --> 'target-file' 1302s # res = 0, error code 4 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-YF62K2/testdir_live-g-file/target-file/pattern_file?: Not a directory 1302s # We do not have CAP_DAC_OVERRIDE or equivalent 1302s # do_copy_move: 'pattern_file' --> 'not_exists' 1302s # res = 0, error code 1 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-YF62K2/testdir_live-g-file/not_exists/pattern_file?: No such file or directory 1302s # We do not have CAP_DAC_OVERRIDE or equivalent 1302s # do_copy_move: 'pattern_file' --> 'dir_no-access' 1302s # res = 0, error code 14 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-YF62K2/testdir_live-g-file/dir_no-access/pattern_file?: Permission denied 1302s # We do not have CAP_DAC_OVERRIDE or equivalent 1302s # do_copy_move: 'pattern_file' --> 'dir_no-write' 1302s # res = 0, error code 14 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-YF62K2/testdir_live-g-file/dir_no-write/pattern_file?: Permission denied 1302s # We do not have CAP_DAC_OVERRIDE or equivalent 1302s # do_copy_move: 'not_exists' --> 'dir-target' 1302s # res = 0, error code 1 = Error when getting information for file ?/tmp/test-tmp-glib_live-g-file.test-YF62K2/testdir_live-g-file/not_exists?: No such file or directory 1302s # We do not have CAP_DAC_OVERRIDE or equivalent 1302s # do_copy_move: 'not_exists' --> '.' 1302s # res = 0, error code 1 = Error when getting information for file ?/tmp/test-tmp-glib_live-g-file.test-YF62K2/testdir_live-g-file/not_exists?: No such file or directory 1302s # We do not have CAP_DAC_OVERRIDE or equivalent 1302s # do_copy_move: 'not_exists' --> 'target-file' 1302s # res = 0, error code 1 = Error when getting information for file ?/tmp/test-tmp-glib_live-g-file.test-YF62K2/testdir_live-g-file/not_exists?: No such file or directory 1302s # We do not have CAP_DAC_OVERRIDE or equivalent 1302s # do_copy_move: 'not_exists' --> 'not_exists' 1302s # res = 0, error code 1 = Error when getting information for file ?/tmp/test-tmp-glib_live-g-file.test-YF62K2/testdir_live-g-file/not_exists?: No such file or directory 1302s # We do not have CAP_DAC_OVERRIDE or equivalent 1302s # do_copy_move: 'not_exists' --> 'dir_no-access' 1302s # res = 0, error code 1 = Error when getting information for file ?/tmp/test-tmp-glib_live-g-file.test-YF62K2/testdir_live-g-file/not_exists?: No such file or directory 1302s # We do not have CAP_DAC_OVERRIDE or equivalent 1302s # do_copy_move: 'not_exists' --> 'dir_no-write' 1302s # res = 0, error code 1 = Error when getting information for file ?/tmp/test-tmp-glib_live-g-file.test-YF62K2/testdir_live-g-file/not_exists?: No such file or directory 1302s # We do not have CAP_DAC_OVERRIDE or equivalent 1302s # do_copy_move: 'not_exists' --> 'dir-target' 1302s # res = 0, error code 1 = Error moving file /tmp/test-tmp-glib_live-g-file.test-YF62K2/testdir_live-g-file/not_exists: No such file or directory 1302s # We do not have CAP_DAC_OVERRIDE or equivalent 1302s # do_copy_move: 'lost_symlink' --> 'dir-target' 1302s # We do not have CAP_DAC_OVERRIDE or equivalent 1302s # do_copy_move: 'lost_symlink' --> '.' 1302s # res = 0, error code 2 = Error making symbolic link /tmp/test-tmp-glib_live-g-file.test-YF62K2/testdir_live-g-file/lost_symlink: File exists 1302s # We do not have CAP_DAC_OVERRIDE or equivalent 1302s # do_copy_move: 'lost_symlink' --> 'target-file' 1302s # res = 0, error code 4 = Error making symbolic link /tmp/test-tmp-glib_live-g-file.test-YF62K2/testdir_live-g-file/target-file/lost_symlink: Not a directory 1302s # We do not have CAP_DAC_OVERRIDE or equivalent 1302s # do_copy_move: 'lost_symlink' --> 'not_exists' 1302s # res = 0, error code 1 = Error making symbolic link /tmp/test-tmp-glib_live-g-file.test-YF62K2/testdir_live-g-file/not_exists/lost_symlink: No such file or directory 1302s # We do not have CAP_DAC_OVERRIDE or equivalent 1302s # do_copy_move: 'lost_symlink' --> 'dir_no-access' 1302s # res = 0, error code 14 = Error making symbolic link /tmp/test-tmp-glib_live-g-file.test-YF62K2/testdir_live-g-file/dir_no-access/lost_symlink: Permission denied 1302s # We do not have CAP_DAC_OVERRIDE or equivalent 1302s # do_copy_move: 'lost_symlink' --> 'dir_no-write' 1302s # res = 0, error code 14 = Error making symbolic link /tmp/test-tmp-glib_live-g-file.test-YF62K2/testdir_live-g-file/dir_no-write/lost_symlink: Permission denied 1302s ok 8 /live-g-file/test_copy_move 1302s # Deleting dir1, path = /tmp/test-tmp-glib_live-g-file.test-YF62K2/testdir_live-g-file/dir1 1302s # result = 0, error = Error removing file /tmp/test-tmp-glib_live-g-file.test-YF62K2/testdir_live-g-file/dir1: Directory not empty 1302s # Deleting dir2, path = /tmp/test-tmp-glib_live-g-file.test-YF62K2/testdir_live-g-file/dir2 1302s # result = 0, error = Error removing file /tmp/test-tmp-glib_live-g-file.test-YF62K2/testdir_live-g-file/dir2: No such file or directory 1302s # Deleting executable_file, path = /tmp/test-tmp-glib_live-g-file.test-YF62K2/testdir_live-g-file/executable_file 1302s # Deleting readonly_file, path = /tmp/test-tmp-glib_live-g-file.test-YF62K2/testdir_live-g-file/readonly_file 1302s # Deleting dir_pr?i?lis? z, path = /tmp/test-tmp-glib_live-g-file.test-YF62K2/testdir_live-g-file/dir_pr?i?lis? z 1302s # Deleting not_exists, path = /tmp/test-tmp-glib_live-g-file.test-YF62K2/testdir_live-g-file/not_exists 1302s # result = 0, error = Error removing file /tmp/test-tmp-glib_live-g-file.test-YF62K2/testdir_live-g-file/not_exists: No such file or directory 1302s # Deleting not_exists, path = /tmp/test-tmp-glib_live-g-file.test-YF62K2/testdir_live-g-file/not_exists 1302s # result = 0, error = Error trashing file /tmp/test-tmp-glib_live-g-file.test-YF62K2/testdir_live-g-file/not_exists: No such file or directory 1302s # Deleting dir_no-execute/file, path = /tmp/test-tmp-glib_live-g-file.test-YF62K2/testdir_live-g-file/dir_no-execute/file 1302s # result = 0, error = Error removing file /tmp/test-tmp-glib_live-g-file.test-YF62K2/testdir_live-g-file/dir_no-execute/file: No such file or directory 1302s # Deleting lost_symlink, path = /tmp/test-tmp-glib_live-g-file.test-YF62K2/testdir_live-g-file/lost_symlink 1302s ok 9 /live-g-file/test_delete 1302s # We do not have CAP_DAC_OVERRIDE or equivalent 1302s ok 10 /live-g-file/test_make_directory_with_parents 1302s # Cleaning target testing structure in 'testdir_live-g-file'... 1302s # deleting 'dir1' 1302s # deleting 'subdir' 1302s # deleting 'dir-target' 1302s # deleting 'dir2' 1302s # deleting 'target-file' 1302s # deleting 'normal_file-symlink' 1302s # deleting 'pattern_file' 1302s # deleting 'executable_file' 1302s # deleting 'private_file' 1302s # deleting 'normal_file2' 1302s # deleting 'UTF_pr?i?lis? z' 1302s # deleting 'lost_symlink' 1302s # deleting 'dir_no-access' 1302s # deleting 'dir_no-write' 1302s # deleting 'target-file' 1302s # deleting 'normal_file' 1302s # deleting 'normal_file-symlink' 1302s # deleting 'executable_file~' 1302s # deleting 'private_file' 1302s # deleting 'normal_file2~' 1302s # deleting 'a' 1302s # deleting 'UTF_pr?i?lis? z' 1302s # deleting 'dir_hidden' 1302s # deleting '.a-hidden-file' 1302s # deleting 'file-in-.hidden1' 1302s # deleting '.hidden' 1302s # deleting 'file-in-.hidden2' 1302s # deleting 'pattern_file' 1302s # deleting 'normal_file2' 1302s # deleting 'not_exists2' 1302s # deleting 'not_exists3' 1302s # deleting 'not_exists4' 1302s ok 11 /live-g-file/final_clean 1302s # Start of test_unix_is_mountpoint tests 1302s ok 12 /live-g-file/test_unix_is_mountpoint/sysroot 1302s ok 13 /live-g-file/test_unix_is_mountpoint/proc 1302s # End of test_unix_is_mountpoint tests 1302s # End of live-g-file tests 1302s ok - glib/live-g-file.test 1302s # Running test: glib/search-utils.test 1302s TAP version 13 1302s # random seed: R02Sdbc8a5fae8f6f9d72b22754a76768bc9 1302s # GLib-DEBUG: Current user locale: C.UTF-8 1302s 1..6 1302s # Start of search tests 1302s # GLib-DEBUG: Started 1302s # GLib-DEBUG: 'he' - 'Hello World' should match: OK 1302s # GLib-DEBUG: 'wo' - 'Hello World' should match: OK 1302s # GLib-DEBUG: 'lo' - 'Hello World' should NOT match: OK 1302s # GLib-DEBUG: 'ld' - 'Hello World' should NOT match: OK 1302s # GLib-DEBUG: 'wo' - 'Hello-World' should match: OK 1302s # GLib-DEBUG: 'wo' - 'HelloWorld' should NOT match: OK 1302s ok 1 /search/basic 1302s # GLib-DEBUG: Started 1302s # GLib-DEBUG: 'jor' - 'Jörgen' should match: OK 1302s # GLib-DEBUG: 'gaetan' - 'Gaëtan' should match: OK 1302s # GLib-DEBUG: 'ele' - 'élève' should match: OK 1302s # GLib-DEBUG: 'AzaÏs' - 'Azais' should NOT match: OK 1302s # GLib-DEBUG: 'Azais' - 'AzaÏs' should match: OK 1302s ok 2 /search/composed 1302s # GLib-DEBUG: Started 1302s # GLib-DEBUG: 'Jör' - 'Jorgen' should NOT match: OK 1302s # GLib-DEBUG: 'jor' - 'Jörgen' should match: OK 1302s ok 3 /search/decomposed 1302s # GLib-DEBUG: Started 1302s # GLib-DEBUG: 'ist' - 'İstanbul' should match: OK 1302s # GLib-DEBUG: 'diyarbakir' - 'Diyarbakır' should match: OK 1302s ok 4 /search/turkish 1302s # GLib-DEBUG: Started 1302s # GLib-DEBUG: 'jor' - 'J?rgen' should match: OK 1302s # GLib-DEBUG: 'Jo?r' - 'Jorgen' should NOT match: OK 1302s # GLib-DEBUG: 'jor' - 'Jo?rgen' should match: OK 1302s ok 5 /search/c_locale_unicode 1302s # GLib-DEBUG: Started 1302s # GLib-DEBUG: 'Xav Cla' - 'Xavier Claessens' should match: OK 1302s # GLib-DEBUG: 'Cla Xav' - 'Xavier Claessens' should match: OK 1302s # GLib-DEBUG: ' b ' - 'Foo Bar Baz' should match: OK 1302s # GLib-DEBUG: 'bar bazz' - 'Foo Bar Baz' should NOT match: OK 1302s ok 6 /search/multi_words 1302s # End of search tests 1302s ok - glib/search-utils.test 1302s # Running test: glib/gvariant.test 1302s TAP version 13 1302s # random seed: R02S0a5ba64b6b94fa53be0d9c9b8ad585e0 1302s 1..64 1302s # Start of gvariant tests 1302s ok 1 /gvariant/type 1302s ok 2 /gvariant/typeinfo 1302s ok 3 /gvariant/string 1302s ok 4 /gvariant/utf8 1307s ok 5 /gvariant/containers 1307s # slow test /gvariant/containers executed in 4.49 secs 1307s ok 6 /gvariant/format-strings 1307s ok 7 /gvariant/invalid-varargs 1307s ok 8 /gvariant/varargs 1307s ok 9 /gvariant/valist 1307s ok 10 /gvariant/builder-memory 1307s ok 11 /gvariant/hashing 1307s ok 12 /gvariant/byteswap 1307s # Executing: glib/gvariant.test 1307s ok 13 /gvariant/parser 1307s ok 14 /gvariant/parse-failures 1307s ok 15 /gvariant/parse-positional 1307s ok 16 /gvariant/floating 1307s ok 17 /gvariant/bytestring 1307s ok 18 /gvariant/lookup-value 1307s ok 19 /gvariant/lookup 1307s ok 20 /gvariant/compare 1307s ok 21 /gvariant/equal 1307s ok 22 /gvariant/fixed-array 1307s ok 23 /gvariant/check-format-string 1307s ok 24 /gvariant/checksum-basic 1307s ok 25 /gvariant/checksum-nested 1307s ok 26 /gvariant/gbytes 1307s ok 27 /gvariant/print-context 1307s ok 28 /gvariant/error-quark 1307s ok 29 /gvariant/stack-builder-init 1307s ok 30 /gvariant/stack-dict-init 1307s ok 31 /gvariant/unaligned-construction 1307s # Start of type tests 1307s # Start of string-scan tests 1307s # Start of recursion tests 1307s ok 32 /gvariant/type/string-scan/recursion/tuple 1307s ok 33 /gvariant/type/string-scan/recursion/array 1307s # End of recursion tests 1307s # End of string-scan tests 1307s # End of type tests 1307s # Start of serialiser tests 1307s ok 34 /gvariant/serialiser/maybe 1307s ok 35 /gvariant/serialiser/array 1307s ok 36 /gvariant/serialiser/tuple 1307s ok 37 /gvariant/serialiser/variant 1307s ok 38 /gvariant/serialiser/strings 1308s ok 39 /gvariant/serialiser/byteswap 1308s # slow test /gvariant/serialiser/byteswap executed in 0.61 secs 1308s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1865 1308s # /gvariant/serialiser/children summary: Test that getting a child variant before and after serialisation of the parent works 1308s ok 40 /gvariant/serialiser/children 1308s # Start of fuzz tests 1308s ok 41 /gvariant/serialiser/fuzz/1% 1309s ok 42 /gvariant/serialiser/fuzz/5% 1309s ok 43 /gvariant/serialiser/fuzz/9% 1312s # Executing: glib/gvariant.test 1314s ok 44 /gvariant/serialiser/fuzz/13% 1314s # slow test /gvariant/serialiser/fuzz/13% executed in 3.49 secs 1314s ok 45 /gvariant/serialiser/fuzz/17% 1314s # End of fuzz tests 1314s # End of serialiser tests 1314s # Start of varargs tests 1314s # Start of subprocess tests 1314s # End of subprocess tests 1314s # End of varargs tests 1314s # Start of byteswap tests 1314s # /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. 1314s ok 46 /gvariant/byteswap/non-normal-non-aligned 1314s # End of byteswap tests 1314s # Start of parser tests 1314s ok 47 /gvariant/parser/integer-bounds 1314s ok 48 /gvariant/parser/recursion 1314s # Start of recursion tests 1314s ok 49 /gvariant/parser/recursion/typedecls 1314s # /gvariant/parser/recursion/maybes summary: Test that nested maybes are handled correctly when parsing text-form variants 1314s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2782 1314s # Text form 0: @mmmu 5 1314s # Text form 1: @mmmas ['hello'] 1314s # Text form 2: @mmmu just just nothing 1314s # Text form 3: @mmmas just just nothing 1314s # Text form 4: @mmmu just nothing 1314s # Text form 5: @mmmas just nothing 1314s # Text form 6: @mmmu nothing 1314s # Text form 7: @mmmas nothing 1314s ok 50 /gvariant/parser/recursion/maybes 1314s # End of recursion tests 1314s # End of parser tests 1314s # Start of parse tests 1314s # Start of subprocess tests 1314s # End of subprocess tests 1314s # End of parse tests 1314s # Start of normal-checking tests 1314s ok 51 /gvariant/normal-checking/tuples 1314s ok 52 /gvariant/normal-checking/array-offsets 1314s ok 53 /gvariant/normal-checking/array-offsets2 1314s ok 54 /gvariant/normal-checking/tuple-offsets 1314s ok 55 /gvariant/normal-checking/tuple-offsets2 1314s ok 56 /gvariant/normal-checking/tuple-offsets3 1314s ok 57 /gvariant/normal-checking/tuple-offsets4 1314s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2840 1314s ok 58 /gvariant/normal-checking/tuple-offsets5 1314s ok 59 /gvariant/normal-checking/empty-object-path 1314s # Start of array-offsets tests 1314s ok 60 /gvariant/normal-checking/array-offsets/overlapped 1314s ok 61 /gvariant/normal-checking/array-offsets/minimal-sized 1314s # End of array-offsets tests 1314s # Start of tuple-offsets tests 1314s ok 62 /gvariant/normal-checking/tuple-offsets/minimal-sized 1314s # End of tuple-offsets tests 1314s # End of normal-checking tests 1314s # Start of recursion-limits tests 1314s ok 63 /gvariant/recursion-limits/variant-in-variant 1314s ok 64 /gvariant/recursion-limits/array-in-variant 1314s # End of recursion-limits tests 1314s # End of gvariant tests 1314s ok - glib/gvariant.test 1314s # Running test: glib/gdbus-auth.test 1314s TAP version 13 1314s # random seed: R02Scac2dfcaa89bcb32d533a9843521c08a 1314s 1..5 1314s # Start of gdbus tests 1314s # Start of auth tests 1314s # Start of client tests 1314s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-auth_57X3K2/gdbus/auth/client/EXTERNAL/.dirs/home 1314s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-auth_57X3K2/gdbus/auth/client/EXTERNAL/.dirs/cache 1314s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-auth_57X3K2/gdbus/auth/client/EXTERNAL/.dirs/system-config1:/tmp/test_gdbus-auth_57X3K2/gdbus/auth/client/EXTERNAL/.dirs/system-config2 1314s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-auth_57X3K2/gdbus/auth/client/EXTERNAL/.dirs/config 1314s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-auth_57X3K2/gdbus/auth/client/EXTERNAL/.dirs/system-data1:/tmp/test_gdbus-auth_57X3K2/gdbus/auth/client/EXTERNAL/.dirs/system-data2 1314s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-auth_57X3K2/gdbus/auth/client/EXTERNAL/.dirs/data 1314s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-auth_57X3K2/gdbus/auth/client/EXTERNAL/.dirs/state 1314s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-auth_57X3K2/gdbus/auth/client/EXTERNAL/.dirs/runtime 1314s ok 1 /gdbus/auth/client/EXTERNAL 1314s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-auth_57X3K2/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/home 1314s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-auth_57X3K2/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/cache 1314s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-auth_57X3K2/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/system-config1:/tmp/test_gdbus-auth_57X3K2/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/system-config2 1314s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-auth_57X3K2/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/config 1314s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-auth_57X3K2/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/system-data1:/tmp/test_gdbus-auth_57X3K2/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/system-data2 1314s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-auth_57X3K2/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/data 1314s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-auth_57X3K2/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/state 1314s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-auth_57X3K2/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/runtime 1314s ok 2 /gdbus/auth/client/DBUS_COOKIE_SHA1 1314s # End of client tests 1314s # Start of server tests 1314s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-auth_57X3K2/gdbus/auth/server/ANONYMOUS/.dirs/home 1314s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-auth_57X3K2/gdbus/auth/server/ANONYMOUS/.dirs/cache 1314s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-auth_57X3K2/gdbus/auth/server/ANONYMOUS/.dirs/system-config1:/tmp/test_gdbus-auth_57X3K2/gdbus/auth/server/ANONYMOUS/.dirs/system-config2 1314s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-auth_57X3K2/gdbus/auth/server/ANONYMOUS/.dirs/config 1314s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-auth_57X3K2/gdbus/auth/server/ANONYMOUS/.dirs/system-data1:/tmp/test_gdbus-auth_57X3K2/gdbus/auth/server/ANONYMOUS/.dirs/system-data2 1314s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-auth_57X3K2/gdbus/auth/server/ANONYMOUS/.dirs/data 1314s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-auth_57X3K2/gdbus/auth/server/ANONYMOUS/.dirs/state 1314s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-auth_57X3K2/gdbus/auth/server/ANONYMOUS/.dirs/runtime 1314s ok 3 /gdbus/auth/server/ANONYMOUS 1314s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-auth_57X3K2/gdbus/auth/server/EXTERNAL/.dirs/home 1314s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-auth_57X3K2/gdbus/auth/server/EXTERNAL/.dirs/cache 1314s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-auth_57X3K2/gdbus/auth/server/EXTERNAL/.dirs/system-config1:/tmp/test_gdbus-auth_57X3K2/gdbus/auth/server/EXTERNAL/.dirs/system-config2 1314s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-auth_57X3K2/gdbus/auth/server/EXTERNAL/.dirs/config 1314s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-auth_57X3K2/gdbus/auth/server/EXTERNAL/.dirs/system-data1:/tmp/test_gdbus-auth_57X3K2/gdbus/auth/server/EXTERNAL/.dirs/system-data2 1314s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-auth_57X3K2/gdbus/auth/server/EXTERNAL/.dirs/data 1314s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-auth_57X3K2/gdbus/auth/server/EXTERNAL/.dirs/state 1314s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-auth_57X3K2/gdbus/auth/server/EXTERNAL/.dirs/runtime 1314s ok 4 /gdbus/auth/server/EXTERNAL 1314s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-auth_57X3K2/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/home 1314s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-auth_57X3K2/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/cache 1314s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-auth_57X3K2/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/system-config1:/tmp/test_gdbus-auth_57X3K2/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/system-config2 1314s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-auth_57X3K2/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/config 1314s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-auth_57X3K2/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/system-data1:/tmp/test_gdbus-auth_57X3K2/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/system-data2 1314s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-auth_57X3K2/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/data 1314s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-auth_57X3K2/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/state 1314s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-auth_57X3K2/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/runtime 1314s ok 5 /gdbus/auth/server/DBUS_COOKIE_SHA1 1314s # End of server tests 1314s # End of auth tests 1314s # End of gdbus tests 1314s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1314s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1314s ok - glib/gdbus-auth.test 1314s # Running test: glib/cancellable.test 1314s TAP version 13 1314s # random seed: R02Sc0e5c7986cfe8eaec6d2d8c244fdd057 1314s 1..10 1314s # Start of cancellable tests 1314s ok 1 /cancellable/multiple-concurrent # SKIP Not running timing heavy test 1314s ok 2 /cancellable/null 1314s # /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 1314s ok 3 /cancellable/disconnect-on-cancelled-callback-hangs 1314s # /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 1314s ok 4 /cancellable/resets-on-cancel-callback-hangs 1314s ok 5 /cancellable/poll-fd 1314s # /cancellable/poll-fd-cancelled summary: Tests that cancellation wakes up a pollable FD on creation 1314s ok 6 /cancellable/poll-fd-cancelled 1314s # /cancellable/poll-fd-cancelled-threaded summary: Tests that a cancellation wakes up a pollable FD 1314s ok 7 /cancellable/poll-fd-cancelled-threaded 1314s # /cancellable/cancel-reset-races summary: Tests threads racing for cancelling and resetting a GCancellable 1314s ok 8 /cancellable/cancel-reset-races 1314s # /cancellable/cancel-reset-connect-races summary: Tests threads racing for cancelling, connecting and disconnecting and resetting a GCancellable 1314s ok 9 /cancellable/cancel-reset-connect-races 1314s # End of cancellable tests 1314s # Start of cancellable-source tests 1314s # /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) 1314s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1841 1314s ok 10 /cancellable-source/threaded-dispose 1314s # End of cancellable-source tests 1314s ok - glib/cancellable.test 1314s # Running test: glib/value.test 1314s TAP version 13 1314s # random seed: R02Se58506c224007cc6235dc92268bfcdb4 1314s 1..8 1314s # Start of value tests 1314s ok 1 /value/basic 1314s ok 2 /value/collection 1314s ok 3 /value/copying 1314s ok 4 /value/enum-transformation 1314s ok 5 /value/gtype 1314s # /value/string summary: Test that G_TYPE_STRING GValue copy properly 1314s ok 6 /value/string 1314s # Next: GObject object in GValue of GObject to GValue of GObject 1314s # Next: GObject object in GValue of GObject to GValue of TestInterface 1314s # Next: GObject object in GValue of GObject to GValue of TestObjectA 1314s # Next: GObject object in GValue of GObject to GValue of TestObjectB 1314s # Next: GObject object in GValue of GObject to GValue of TestObjectA1 1314s # Next: GObject object in GValue of GObject to GValue of TestObjectA2 1314s # Next: TestObjectA object in GValue of GObject to GValue of GObject 1314s # Next: TestObjectA object in GValue of GObject to GValue of TestInterface 1314s # Next: TestObjectA object in GValue of GObject to GValue of TestObjectA 1314s # Next: TestObjectA object in GValue of GObject to GValue of TestObjectB 1314s # Next: TestObjectA object in GValue of GObject to GValue of TestObjectA1 1314s # Next: TestObjectA object in GValue of GObject to GValue of TestObjectA2 1314s # Next: TestObjectA object in GValue of TestObjectA to GValue of GObject 1314s # Next: TestObjectA object in GValue of TestObjectA to GValue of TestInterface 1314s # Next: TestObjectA object in GValue of TestObjectA to GValue of TestObjectA 1314s # Next: TestObjectA object in GValue of TestObjectA to GValue of TestObjectB 1314s # Next: TestObjectA object in GValue of TestObjectA to GValue of TestObjectA1 1314s # Next: TestObjectA object in GValue of TestObjectA to GValue of TestObjectA2 1314s # Next: TestObjectB object in GValue of GObject to GValue of GObject 1314s # Next: TestObjectB object in GValue of GObject to GValue of TestInterface 1314s # Next: TestObjectB object in GValue of GObject to GValue of TestObjectA 1314s # Next: TestObjectB object in GValue of GObject to GValue of TestObjectB 1314s # Next: TestObjectB object in GValue of GObject to GValue of TestObjectA1 1314s # Next: TestObjectB object in GValue of GObject to GValue of TestObjectA2 1314s # Next: TestObjectB object in GValue of TestInterface to GValue of GObject 1314s # Next: TestObjectB object in GValue of TestInterface to GValue of TestInterface 1314s # Next: TestObjectB object in GValue of TestInterface to GValue of TestObjectA 1314s # Next: TestObjectB object in GValue of TestInterface to GValue of TestObjectB 1314s # Next: TestObjectB object in GValue of TestInterface to GValue of TestObjectA1 1314s # Next: TestObjectB object in GValue of TestInterface to GValue of TestObjectA2 1314s # Next: TestObjectB object in GValue of TestObjectB to GValue of GObject 1314s # Next: TestObjectB object in GValue of TestObjectB to GValue of TestInterface 1314s # Next: TestObjectB object in GValue of TestObjectB to GValue of TestObjectA 1314s # Next: TestObjectB object in GValue of TestObjectB to GValue of TestObjectB 1314s # Next: TestObjectB object in GValue of TestObjectB to GValue of TestObjectA1 1314s # Next: TestObjectB object in GValue of TestObjectB to GValue of TestObjectA2 1314s # Next: TestObjectA1 object in GValue of GObject to GValue of GObject 1314s # Next: TestObjectA1 object in GValue of GObject to GValue of TestInterface 1314s # Next: TestObjectA1 object in GValue of GObject to GValue of TestObjectA 1314s # Next: TestObjectA1 object in GValue of GObject to GValue of TestObjectB 1314s # Next: TestObjectA1 object in GValue of GObject to GValue of TestObjectA1 1314s # Next: TestObjectA1 object in GValue of GObject to GValue of TestObjectA2 1314s # Next: TestObjectA1 object in GValue of TestObjectA to GValue of GObject 1314s # Next: TestObjectA1 object in GValue of TestObjectA to GValue of TestInterface 1314s # Next: TestObjectA1 object in GValue of TestObjectA to GValue of TestObjectA 1314s # Next: TestObjectA1 object in GValue of TestObjectA to GValue of TestObjectB 1314s # Next: TestObjectA1 object in GValue of TestObjectA to GValue of TestObjectA1 1314s # Next: TestObjectA1 object in GValue of TestObjectA to GValue of TestObjectA2 1314s # Next: TestObjectA1 object in GValue of TestObjectA1 to GValue of GObject 1314s # Next: TestObjectA1 object in GValue of TestObjectA1 to GValue of TestInterface 1314s # Next: TestObjectA1 object in GValue of TestObjectA1 to GValue of TestObjectA 1314s # Next: TestObjectA1 object in GValue of TestObjectA1 to GValue of TestObjectB 1314s # Next: TestObjectA1 object in GValue of TestObjectA1 to GValue of TestObjectA1 1314s # Next: TestObjectA1 object in GValue of TestObjectA1 to GValue of TestObjectA2 1314s # Next: TestObjectA2 object in GValue of GObject to GValue of GObject 1314s # Next: TestObjectA2 object in GValue of GObject to GValue of TestInterface 1314s # Next: TestObjectA2 object in GValue of GObject to GValue of TestObjectA 1314s # Next: TestObjectA2 object in GValue of GObject to GValue of TestObjectB 1314s # Next: TestObjectA2 object in GValue of GObject to GValue of TestObjectA1 1314s # Next: TestObjectA2 object in GValue of GObject to GValue of TestObjectA2 1314s # Next: TestObjectA2 object in GValue of TestInterface to GValue of GObject 1314s # Next: TestObjectA2 object in GValue of TestInterface to GValue of TestInterface 1314s # Next: TestObjectA2 object in GValue of TestInterface to GValue of TestObjectA 1314s # Next: TestObjectA2 object in GValue of TestInterface to GValue of TestObjectB 1314s # Next: TestObjectA2 object in GValue of TestInterface to GValue of TestObjectA1 1314s # Next: TestObjectA2 object in GValue of TestInterface to GValue of TestObjectA2 1314s # Next: TestObjectA2 object in GValue of TestObjectA to GValue of GObject 1314s # Next: TestObjectA2 object in GValue of TestObjectA to GValue of TestInterface 1314s # Next: TestObjectA2 object in GValue of TestObjectA to GValue of TestObjectA 1314s # Next: TestObjectA2 object in GValue of TestObjectA to GValue of TestObjectB 1314s # Next: TestObjectA2 object in GValue of TestObjectA to GValue of TestObjectA1 1314s # Next: TestObjectA2 object in GValue of TestObjectA to GValue of TestObjectA2 1314s # Next: TestObjectA2 object in GValue of TestObjectA2 to GValue of GObject 1314s # Next: TestObjectA2 object in GValue of TestObjectA2 to GValue of TestInterface 1314s # Next: TestObjectA2 object in GValue of TestObjectA2 to GValue of TestObjectA 1314s # Next: TestObjectA2 object in GValue of TestObjectA2 to GValue of TestObjectB 1314s # Next: TestObjectA2 object in GValue of TestObjectA2 to GValue of TestObjectA1 1314s # Next: TestObjectA2 object in GValue of TestObjectA2 to GValue of TestObjectA2 1314s ok 7 /value/transform-object 1314s # Start of array tests 1314s ok 8 /value/array/basic 1314s # End of array tests 1314s # End of value tests 1314s ok - glib/value.test 1314s # Running test: glib/null-settings-backend.test 1314s TAP version 13 1314s # random seed: R02S72ec2b6d10f7f9bddb86f953d6d69ca4 1314s 1..1 1314s # Start of null-settings-backend tests 1314s ok 1 /null-settings-backend/extension-point-registered 1314s # End of null-settings-backend tests 1314s ok - glib/null-settings-backend.test 1314s # Running test: glib/tls-certificate.test 1314s TAP version 13 1314s # random seed: R02Sc8aa93603317ef7326cef38a217ee76e 1314s 1..19 1314s # Start of tls-certificate tests 1314s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation test (GTestTlsBackend) for ?gio-tls-backend? 1314s ok 1 /tls-certificate/pem-parser 1314s ok 2 /tls-certificate/pem-parser-handles-chain 1314s ok 3 /tls-certificate/from_file 1314s ok 4 /tls-certificate/from_files 1314s ok 5 /tls-certificate/from_files_crlf 1314s ok 6 /tls-certificate/from_files_pkcs8 1314s ok 7 /tls-certificate/from_files_pkcs8enc 1314s ok 8 /tls-certificate/list_from_file 1314s ok 9 /tls-certificate/pkcs11-uri 1314s ok 10 /tls-certificate/pkcs11-uri-unsupported 1314s ok 11 /tls-certificate/from_pkcs12 1314s ok 12 /tls-certificate/from_pkcs12_file 1314s ok 13 /tls-certificate/not-valid-before 1314s ok 14 /tls-certificate/not-valid-after 1314s ok 15 /tls-certificate/subject-name 1314s ok 16 /tls-certificate/issuer-name 1314s ok 17 /tls-certificate/dns-names 1314s ok 18 /tls-certificate/ip-addresses 1314s ok 19 /tls-certificate/pem-parser-no-sentinel 1314s # End of tls-certificate tests 1314s ok - glib/tls-certificate.test 1314s # Running test: glib/sleepy-stream.test 1314s TAP version 13 1314s # random seed: R02S74f396fcec644279dd1e1851ca5270b7 1314s 1..2 1314s # Start of filter-stream tests 1314s ok 1 /filter-stream/input 1314s ok 2 /filter-stream/async 1314s # End of filter-stream tests 1314s ok - glib/sleepy-stream.test 1314s # Running test: glib/rwlock.test 1314s TAP version 13 1314s # random seed: R02S075fb11e786cab3561bce6db4abae34f 1314s 1..8 1314s # Start of thread tests 1314s ok 1 /thread/rwlock1 1314s ok 2 /thread/rwlock2 1314s ok 3 /thread/rwlock3 1314s ok 4 /thread/rwlock4 1314s ok 5 /thread/rwlock5 1314s ok 6 /thread/rwlock6 1317s # Executing: glib/rwlock.test 1321s ok 7 /thread/rwlock7 1321s # slow test /thread/rwlock7 executed in 7.07 secs 1321s ok 8 /thread/rwlock8 1321s # End of thread tests 1321s ok - glib/rwlock.test 1321s # Running test: glib/refcount.test 1321s TAP version 13 1321s # random seed: R02S794060d93fb6956dab23d5f1a0628687 1321s 1..4 1321s # Start of refcount tests 1321s ok 1 /refcount/grefcount 1321s ok 2 /refcount/gatomicrefcount 1321s # Start of grefcount tests 1321s ok 3 /refcount/grefcount/saturation 1321s # End of grefcount tests 1321s # Start of gatomicrefcount tests 1321s ok 4 /refcount/gatomicrefcount/saturation 1321s # End of gatomicrefcount tests 1321s # End of refcount tests 1321s ok - glib/refcount.test 1321s # Running test: glib/dir.test 1321s TAP version 13 1321s # random seed: R02S94e729d006b5cc078f5a56e1c3c35c88 1321s 1..3 1321s # Start of dir tests 1321s ok 1 /dir/read 1321s ok 2 /dir/nonexisting 1321s # /dir/refcounting summary: Test refcounting interactions with g_dir_close() 1321s ok 3 /dir/refcounting 1321s # End of dir tests 1321s ok - glib/dir.test 1321s # Running test: glib/thread.test 1321s TAP version 13 1321s # random seed: R02S2b77f69190c212b3b36894d96e25c7ac 1321s 1..7 1321s # Start of thread tests 1321s ok 1 /thread/thread1 1321s ok 2 /thread/thread2 1321s ok 3 /thread/thread3 1321s ok 4 /thread/thread4 1321s ok 5 /thread/thread5 1321s ok 6 /thread/thread6 1321s ok 7 /thread/thread7 1321s # End of thread tests 1321s ok - glib/thread.test 1321s # Running test: glib/markup-escape.test 1321s TAP version 13 1321s # random seed: R02S7c3f5318a3866acd5462c6cc3e768db4 1321s 1..41 1321s # Start of markup tests 1321s ok 1 /markup/format 1321s # Start of escape-text tests 1321s ok 2 /markup/escape-text/0 1321s ok 3 /markup/escape-text/1 1321s ok 4 /markup/escape-text/2 1321s ok 5 /markup/escape-text/3 1321s ok 6 /markup/escape-text/4 1321s ok 7 /markup/escape-text/5 1321s ok 8 /markup/escape-text/6 1321s ok 9 /markup/escape-text/7 1321s ok 10 /markup/escape-text/8 1321s ok 11 /markup/escape-text/9 1321s ok 12 /markup/escape-text/10 1321s ok 13 /markup/escape-text/11 1321s ok 14 /markup/escape-text/12 1321s ok 15 /markup/escape-text/13 1321s ok 16 /markup/escape-text/14 1321s ok 17 /markup/escape-text/15 1321s ok 18 /markup/escape-text/16 1321s ok 19 /markup/escape-text/17 1321s ok 20 /markup/escape-text/18 1321s ok 21 /markup/escape-text/19 1321s ok 22 /markup/escape-text/20 1321s ok 23 /markup/escape-text/21 1321s ok 24 /markup/escape-text/22 1321s # End of escape-text tests 1321s # Start of escape-unichar tests 1321s ok 25 /markup/escape-unichar/0 1321s ok 26 /markup/escape-unichar/1 1321s ok 27 /markup/escape-unichar/2 1321s ok 28 /markup/escape-unichar/3 1321s ok 29 /markup/escape-unichar/4 1321s ok 30 /markup/escape-unichar/5 1321s ok 31 /markup/escape-unichar/6 1321s ok 32 /markup/escape-unichar/7 1321s ok 33 /markup/escape-unichar/8 1321s ok 34 /markup/escape-unichar/9 1321s ok 35 /markup/escape-unichar/10 1321s ok 36 /markup/escape-unichar/11 1321s ok 37 /markup/escape-unichar/12 1321s ok 38 /markup/escape-unichar/13 1321s ok 39 /markup/escape-unichar/14 1321s ok 40 /markup/escape-unichar/15 1321s ok 41 /markup/escape-unichar/16 1321s # End of escape-unichar tests 1321s # End of markup tests 1321s ok - glib/markup-escape.test 1321s # Running test: glib/unicode-encoding.test 1321s TAP version 13 1321s # random seed: R02Sc76b52bfdac207819d36204ff5d7b8b3 1321s 1..1 1321s # Start of unicode tests 1321s ok 1 /unicode/encoding 1321s # End of unicode tests 1321s ok - glib/unicode-encoding.test 1321s # Running test: glib/network-monitor.test 1321s TAP version 13 1321s # random seed: R02S82f3c6c9d29907dd197ba82f7ed06575 1321s 1..4 1321s # Start of network-monitor tests 1321s # GLib-GIO-DEBUG: Failed to initialize portal (GNetworkMonitorPortal) for gio-network-monitor: Not using portals 1321s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1321s # GLib-GIO-DEBUG: Failed to initialize networkmanager (GNetworkMonitorNM) for gio-network-monitor: NetworkManager not running 1321s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation netlink (GNetworkMonitorNetlink) for ?gio-network-monitor? 1321s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation dummy (GDummyProxyResolver) for ?gio-proxy-resolver? 1321s ok 1 /network-monitor/default 1321s ok 2 /network-monitor/remove_default 1321s ok 3 /network-monitor/add_networks 1321s ok 4 /network-monitor/remove_networks 1321s # End of network-monitor tests 1321s ok - glib/network-monitor.test 1321s # Running test: glib/task.test 1321s TAP version 13 1321s # random seed: R02S890d60e1f5cb5f5c480f2666cf9b70f5 1321s 1..36 1321s # Start of gtask tests 1321s ok 1 /gtask/basic 1321s ok 2 /gtask/error 1321s ok 3 /gtask/error-literal 1321s ok 4 /gtask/error-literal-from-variable 1321s ok 5 /gtask/return-from-same-iteration 1321s ok 6 /gtask/return-from-toplevel 1321s ok 7 /gtask/return-from-anon-thread 1321s ok 8 /gtask/return-from-wrong-thread 1321s ok 9 /gtask/no-callback 1321s ok 10 /gtask/report-error 1321s ok 11 /gtask/priority 1321s ok 12 /gtask/name 1321s ok 13 /gtask/static-name 1321s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1608 1321s ok 14 /gtask/asynchronous-cancellation 1321s ok 15 /gtask/check-cancellable 1321s ok 16 /gtask/return-if-cancelled 1321s ok 17 /gtask/run-in-thread 1321s ok 18 /gtask/run-in-thread-sync 1321s ok 19 /gtask/run-in-thread-priority 1321s ok 20 /gtask/run-in-thread-nested 1322s ok 21 /gtask/run-in-thread-overflow 1322s # slow test /gtask/run-in-thread-overflow executed in 0.51 secs 1322s # GLib-GIO-DEBUG: GTask 0x2aa076bc4d0 (source object: (nil), source tag: (nil)) finalized without ever returning (using g_task_return_*()). This potentially indicates a bug in the program. 1322s # GLib-GIO-DEBUG: GTask 0x2aa076bc0f0 (source object: (nil), source tag: (nil)) finalized without ever returning (using g_task_return_*()). This potentially indicates a bug in the program. 1322s ok 22 /gtask/return-on-cancel 1322s # GLib-GIO-DEBUG: GTask 0x2aa0772ae40 (source object: (nil), source tag: (nil)) finalized without ever returning (using g_task_return_*()). This potentially indicates a bug in the program. 1322s # GLib-GIO-DEBUG: GTask 0x2aa076bc820 (source object: (nil), source tag: (nil)) finalized without ever returning (using g_task_return_*()). This potentially indicates a bug in the program. 1322s ok 23 /gtask/return-on-cancel-sync 1322s ok 24 /gtask/return-on-cancel-atomic 1322s ok 25 /gtask/return-pointer 1322s ok 26 /gtask/return-value 1322s ok 27 /gtask/return-prefixed-error 1322s ok 28 /gtask/object-keepalive 1322s ok 29 /gtask/legacy-error 1322s ok 30 /gtask/finalize-without-return 1322s # Start of name tests 1322s ok 31 /gtask/name/macro-wrapper 1322s # End of name tests 1322s # Start of return tests 1322s ok 32 /gtask/return/error-first 1322s ok 33 /gtask/return/value-first 1322s # Start of in-idle tests 1322s ok 34 /gtask/return/in-idle/error-first 1322s ok 35 /gtask/return/in-idle/value-first 1322s # End of in-idle tests 1322s # End of return tests 1322s # Start of attach-source tests 1322s # /gtask/attach-source/set-name summary: Test that attaching a source to a task will set the source?s name if unset 1322s ok 36 /gtask/attach-source/set-name 1322s # End of attach-source tests 1322s # End of gtask tests 1322s ok - glib/task.test 1322s # Running test: glib/cxx-17.test 1322s TAP version 13 1322s # random seed: R02Sdf4b269e39ccd70dd4b9203e3c65e457 1322s 1..2 1322s # Start of gtask tests 1322s # 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. 1322s ok 1 /gtask/name 1322s # Start of name tests 1322s # 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. 1322s ok 2 /gtask/name/macro-wrapper 1322s # End of name tests 1322s # End of gtask tests 1322s ok - glib/cxx-17.test 1322s # Running test: glib/test-printf.test 1322s TAP version 13 1322s # random seed: R02Se073a5cb9d8be728f61bfa205cf51efa 1322s 1..22 1322s # Start of snprintf tests 1322s ok 1 /snprintf/retval-and-trunc 1322s ok 2 /snprintf/%d 1322s ok 3 /snprintf/%d-invalid 1322s ok 4 /snprintf/%o 1322s ok 5 /snprintf/%u 1322s ok 6 /snprintf/%x 1322s ok 7 /snprintf/%X 1322s ok 8 /snprintf/%f 1322s ok 9 /snprintf/%e 1322s ok 10 /snprintf/%c 1322s ok 11 /snprintf/%s 1322s ok 12 /snprintf/%n 1322s ok 13 /snprintf/test-percent 1322s ok 14 /snprintf/test-positional-params 1322s ok 15 /snprintf/test-64bit 1322s # End of snprintf tests 1322s # Start of printf tests 1322s ok 16 /printf/test-percent 1322s ok 17 /printf/test-positional-params 1322s ok 18 /printf/test-64bit 1322s # Start of test-64bit tests 1322s # Start of subprocess tests 1322s # End of subprocess tests 1322s # End of test-64bit tests 1322s # End of printf tests 1322s # Start of sprintf tests 1322s ok 19 /sprintf/test-positional-params 1322s ok 20 /sprintf/upper-bound 1322s # End of sprintf tests 1322s # Start of vasprintf tests 1322s # /vasprintf/invalid-format-placeholder summary: Test error handling for invalid format placeholder in g_vasprintf() 1322s ok 21 /vasprintf/invalid-format-placeholder 1322s # /vasprintf/invalid-wide-string summary: Test error handling for invalid wide strings in g_vasprintf() 1322s ok 22 /vasprintf/invalid-wide-string 1322s # End of vasprintf tests 1322s ok - glib/test-printf.test 1322s # Running test: glib/srvtarget.test 1322s TAP version 13 1322s # random seed: R02S925a01816df464fa42b2966ea8c6ebe4 1322s 1..1 1322s # Start of srvtarget tests 1322s # Executing: glib/srvtarget.test 1323s ok 1 /srvtarget/srv-target-ordering 1323s # slow test /srvtarget/srv-target-ordering executed in 0.92 secs 1323s # End of srvtarget tests 1323s ok - glib/srvtarget.test 1323s # Running test: glib/dynamictests.test 1323s TAP version 13 1323s # random seed: R02S9635733ca048e96bdb8f107720180d15 1323s 1..2 1323s # Start of GObject tests 1323s ok 1 /GObject/threaded-dynamic-ref-unref-init 1323s ok 2 /GObject/dynamic-interface-properties 1323s # End of GObject tests 1323s ok - glib/dynamictests.test 1323s # Running test: glib/once.test 1323s TAP version 13 1323s # random seed: R02S33237d8173200b2ed8b40506d2e6888c 1323s 1..5 1323s # Start of once tests 1323s # /once/single-threaded summary: Test g_once() usage from a single thread 1323s ok 1 /once/single-threaded 1323s # /once/multi-threaded summary: Test g_once() usage from multiple threads 1323s ok 2 /once/multi-threaded 1323s # End of once tests 1323s # Start of once-init tests 1323s # /once-init/single-threaded summary: Test g_once_init_{enter,leave}() usage from a single thread 1323s ok 3 /once-init/single-threaded 1323s # /once-init/multi-threaded summary: Test g_once_init_{enter,leave}() usage from multiple threads 1323s ok 4 /once-init/multi-threaded 1323s # /once-init/string summary: Test g_once_init_{enter,leave}() usage with a string 1323s ok 5 /once-init/string 1323s # End of once-init tests 1323s ok - glib/once.test 1323s # Running test: glib/performance.test 1323s Running test simple-construction 1327s # Executing: glib/performance.test 1329s Millions of constructed objects per second: 17.063 1329s Running test simple-construction1 1332s # Executing: glib/performance.test 1332s Millions of constructed objects per second: 59.718 1332s Running test complex-construction 1336s Millions of constructed objects per second: 6.338 1336s Running test complex-construction1 1337s # Executing: glib/performance.test 1342s Millions of constructed objects per second: 11.166 1342s Running test complex-construction2 1342s # Executing: glib/performance.test 1347s # Executing: glib/performance.test 1347s Millions of constructed objects per second: 12.695 1347s Running test finalization 1349s Millions of finalized objects per second: 3.251 1349s Running test type-check 1349s Million type checks per second: inf 1349s Running test emit-unhandled 1350s Emissions per second: 6275853 1350s Running test emit-unhandled-empty 1351s Emissions per second: 41658743 1351s Running test emit-unhandled-generic 1352s # Executing: glib/performance.test 1352s Emissions per second: 10342013 1352s Running test emit-unhandled-generic-empty 1353s Emissions per second: 42036364 1353s Running test emit-unhandled-args 1354s Emissions per second: 5228447 1354s Running test emit-handled 1355s Emissions per second: 4099129 1355s Running test emit-handled-empty 1357s Emissions per second: 4611776 1357s Running test emit-handled-generic 1357s # Executing: glib/performance.test 1358s Emissions per second: 4494925 1358s Running test emit-handled-generic-empty 1359s Emissions per second: 8446406 1359s Running test emit-handled-args 1360s Emissions per second: 3857840 1360s Running test notify-unhandled 1361s Notify (unhandled) per second: 26785994 1361s Running test notify-by-pspec-unhandled 1362s # Executing: glib/performance.test 1362s Notify (unhandled) per second: 97726960 1362s Running test notify-handled 1364s Notify per second: 2393285 1364s Running test notify-by-pspec-handled 1365s Notify per second: 2560942 1365s Running test property-set 1366s Property set per second: 11490658 1366s Running test property-get 1367s # Executing: glib/performance.test 1367s Property get per second: 10697121 1367s Running test refcount 1369s Million refs+unref per second: 36.17 1369s ok - glib/performance.test 1369s # Running test: glib/vfs.test 1369s TAP version 13 1369s # random seed: R02S567399bec66674bf2f1e1b4d0c1a1729 1369s 1..3 1369s # Start of gvfs tests 1369s ok 1 /gvfs/local 1369s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 1369s ok 2 /gvfs/register-scheme 1369s # Start of resource tests 1369s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3090 1369s # /gvfs/resource/malformed-escaping summary: Test that g_vfs_get_file_for_uri() returns an invalid file for an invalid URI 1369s ok 3 /gvfs/resource/malformed-escaping 1369s # End of resource tests 1369s # End of gvfs tests 1369s ok - glib/vfs.test 1369s # Running test: glib/socket.test 1369s TAP version 13 1369s # random seed: R02S7105b02b796cec43a79c575b14d1c806 1369s 1..28 1369s # Start of socket tests 1370s ok 1 /socket/ipv4_sync 1370s # slow test /socket/ipv4_sync executed in 1.00 secs 1371s ok 2 /socket/ipv4_async 1371s # slow test /socket/ipv4_async executed in 1.00 secs 1371s ok 3 /socket/ipv6_sync 1371s ok 4 /socket/ipv6_async 1371s ok 5 /socket/ipv6_v4mapped 1372s # Executing: glib/socket.test 1372s ok 6 /socket/close_graceful 1372s # slow test /socket/close_graceful executed in 1.00 secs 1372s ok 7 /socket/timed_wait # SKIP Not running timing heavy test 1372s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=741707 1372s ok 8 /socket/fd_reuse 1372s ok 9 /socket/address 1372s ok 10 /socket/unix-from-fd 1372s ok 11 /socket/unix-connection 1372s ok 12 /socket/unix-connection-ancillary-data 1372s ok 13 /socket/source-postmortem 1372s ok 14 /socket/read_write 1372s ok 15 /socket/read_writev 1372s # /socket/receive_bytes summary: Test basic functionality of g_socket_receive_bytes() 1372s ok 16 /socket/receive_bytes 1372s # /socket/receive_bytes_from summary: Test basic functionality of g_socket_receive_bytes_from() 1372s ok 17 /socket/receive_bytes_from 1372s # Start of ipv4_sync tests 1372s ok 18 /socket/ipv4_sync/datagram 1372s # Start of datagram tests 1373s ok 19 /socket/ipv4_sync/datagram/timeouts 1373s # slow test /socket/ipv4_sync/datagram/timeouts executed in 1.10 secs 1373s # End of datagram tests 1373s # End of ipv4_sync tests 1373s # Start of ipv6_sync tests 1373s ok 20 /socket/ipv6_sync/datagram 1373s # Start of datagram tests 1374s ok 21 /socket/ipv6_sync/datagram/timeouts 1374s # slow test /socket/ipv6_sync/datagram/timeouts executed in 1.10 secs 1374s # End of datagram tests 1374s # End of ipv6_sync tests 1374s # Start of reuse tests 1374s ok 22 /socket/reuse/tcp 1374s ok 23 /socket/reuse/udp 1374s # End of reuse tests 1374s # Start of get_available tests 1374s ok 24 /socket/get_available/datagram 1374s ok 25 /socket/get_available/stream 1374s # End of get_available tests 1374s # Start of credentials tests 1374s # Supported on this OS: GCredentials:linux-ucred:pid=0 1374s ok 26 /socket/credentials/tcp_client 1374s # Supported on this OS: GCredentials:linux-ucred:pid=0 1374s ok 27 /socket/credentials/tcp_server 1374s # Supported on this OS: GCredentials:linux-ucred:pid=2479,uid=1000,gid=1000 1374s ok 28 /socket/credentials/unix_socketpair 1374s # End of credentials tests 1374s # End of socket tests 1374s ok - glib/socket.test 1374s # Running test: glib/charset.test 1374s TAP version 13 1374s # random seed: R02S8073f24b03b979b30e6a0ca608c9c44e 1374s 1..2 1374s # Start of charset tests 1374s # Test 0 1374s # Test 1 1374s # Test 2 1374s # Test 3 1374s ok 1 /charset/language_names_with_category 1374s ok 2 /charset/language_names_with_category_async 1374s # End of charset tests 1374s ok - glib/charset.test 1374s # Running test: glib/utils-c-99.test 1374s TAP version 13 1374s # random seed: R02S1e91a00eb52fe161079ee6767f8f1c28 1374s 1..40 1374s # Start of utils tests 1374s ok 1 /utils/language-names 1374s ok 2 /utils/locale-variants 1374s ok 3 /utils/version 1374s ok 4 /utils/appname 1374s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/847 1374s # /utils/prgname-thread-safety summary: Test that threads racing to get and set the program name always receive a valid program name. 1374s ok 5 /utils/prgname-thread-safety 1374s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=627969 1374s # /utils/tmpdir summary: Test that g_get_tmp_dir() returns a correct default if TMPDIR is set to the empty string 1374s ok 6 /utils/tmpdir 1374s ok 7 /utils/basic_bits 1374s ok 8 /utils/bits 1374s ok 9 /utils/swap 1374s ok 10 /utils/find-program 1374s ok 11 /utils/find-program-for-path 1374s ok 12 /utils/debug 1374s ok 13 /utils/codeset 1374s ok 14 /utils/codeset2 1374s ok 15 /utils/console-charset 1374s ok 16 /utils/gettext 1374s ok 17 /utils/username 1374s ok 18 /utils/realname 1374s ok 19 /utils/hostname 1374s ok 20 /utils/xdgdirs 1374s ok 21 /utils/specialdir 1374s # NAME: Ubuntu 1374s ok 22 /utils/os-info 1374s ok 23 /utils/clear-pointer 1374s ok 24 /utils/clear-pointer-cast 1374s ok 25 /utils/take-pointer 1374s ok 26 /utils/clear-source 1374s ok 27 /utils/misc-mem 1374s # /utils/aligned-mem summary: Aligned memory allocator 1374s # Alignment must not be zero 1374s # Alignment must be a power of two 1374s # Alignment must be a multiple of sizeof(void*) 1374s ok 28 /utils/aligned-mem 1374s # /utils/free-sized summary: Check that g_free_sized() works 1374s ok 29 /utils/free-sized 1374s ok 30 /utils/nullify 1374s ok 31 /utils/atexit 1374s ok 32 /utils/check-setuid 1374s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1663 1374s ok 33 /utils/int-limits 1374s ok 34 /utils/clear-list 1374s ok 35 /utils/clear-slist 1374s # Start of specialdir tests 1374s ok 36 /utils/specialdir/desktop 1374s # End of specialdir tests 1374s # Start of clear-pointer tests 1374s ok 37 /utils/clear-pointer/side-effects 1374s # End of clear-pointer tests 1374s # Start of aligned-mem tests 1374s # /utils/aligned-mem/alignment summary: Check that g_aligned_alloc() returns a correctly aligned pointer 1374s ok 38 /utils/aligned-mem/alignment 1374s # /utils/aligned-mem/zeroed summary: Check that g_aligned_alloc0() zeroes out its allocation 1374s ok 39 /utils/aligned-mem/zeroed 1374s # /utils/aligned-mem/free-sized summary: Check that g_aligned_free_sized() works 1374s ok 40 /utils/aligned-mem/free-sized 1374s # Start of subprocess tests 1374s # End of subprocess tests 1374s # End of aligned-mem tests 1374s # End of utils tests 1374s ok - glib/utils-c-99.test 1374s # Running test: glib/queue.test 1374s TAP version 13 1374s # random seed: R02Sf02b69cf8aa6655099f24ee56c3be9b5 1374s 1..12 1374s # Start of queue tests 1374s ok 1 /queue/basic 1374s ok 2 /queue/copy 1374s ok 3 /queue/off-by-one 1374s ok 4 /queue/find-custom 1374s ok 5 /queue/static 1374s ok 6 /queue/clear 1374s ok 7 /queue/free-full 1374s ok 8 /queue/clear-full 1374s ok 9 /queue/insert-sibling-link 1374s ok 10 /queue/push-nth-link 1374s # Start of clear-full tests 1374s ok 11 /queue/clear-full/noop 1374s # End of clear-full tests 1374s # Start of random tests 1375s ok 12 /queue/random/seed:1023087793 1375s # End of random tests 1375s # End of queue tests 1375s ok - glib/queue.test 1375s # Running test: glib/utils-isolated.test 1375s TAP version 13 1375s # random seed: R02Sd56f3e56a7842e2bd090979610913b53 1375s 1..9 1375s # Start of utils-isolated tests 1375s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_KIS0K2/utils-isolated/tmp-dir/.dirs/home 1375s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_KIS0K2/utils-isolated/tmp-dir/.dirs/cache 1375s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_KIS0K2/utils-isolated/tmp-dir/.dirs/system-config1:/tmp/test_utils-isolated_KIS0K2/utils-isolated/tmp-dir/.dirs/system-config2 1375s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_KIS0K2/utils-isolated/tmp-dir/.dirs/config 1375s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_KIS0K2/utils-isolated/tmp-dir/.dirs/system-data1:/tmp/test_utils-isolated_KIS0K2/utils-isolated/tmp-dir/.dirs/system-data2 1375s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_KIS0K2/utils-isolated/tmp-dir/.dirs/data 1375s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_KIS0K2/utils-isolated/tmp-dir/.dirs/state 1375s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_KIS0K2/utils-isolated/tmp-dir/.dirs/runtime 1375s ok 1 /utils-isolated/tmp-dir 1375s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_KIS0K2/utils-isolated/home-dir/.dirs/home 1375s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_KIS0K2/utils-isolated/home-dir/.dirs/cache 1375s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_KIS0K2/utils-isolated/home-dir/.dirs/system-config1:/tmp/test_utils-isolated_KIS0K2/utils-isolated/home-dir/.dirs/system-config2 1375s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_KIS0K2/utils-isolated/home-dir/.dirs/config 1375s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_KIS0K2/utils-isolated/home-dir/.dirs/system-data1:/tmp/test_utils-isolated_KIS0K2/utils-isolated/home-dir/.dirs/system-data2 1375s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_KIS0K2/utils-isolated/home-dir/.dirs/data 1375s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_KIS0K2/utils-isolated/home-dir/.dirs/state 1375s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_KIS0K2/utils-isolated/home-dir/.dirs/runtime 1375s ok 2 /utils-isolated/home-dir 1375s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_KIS0K2/utils-isolated/user-cache-dir/.dirs/home 1375s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_KIS0K2/utils-isolated/user-cache-dir/.dirs/cache 1375s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_KIS0K2/utils-isolated/user-cache-dir/.dirs/system-config1:/tmp/test_utils-isolated_KIS0K2/utils-isolated/user-cache-dir/.dirs/system-config2 1375s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_KIS0K2/utils-isolated/user-cache-dir/.dirs/config 1375s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_KIS0K2/utils-isolated/user-cache-dir/.dirs/system-data1:/tmp/test_utils-isolated_KIS0K2/utils-isolated/user-cache-dir/.dirs/system-data2 1375s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_KIS0K2/utils-isolated/user-cache-dir/.dirs/data 1375s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_KIS0K2/utils-isolated/user-cache-dir/.dirs/state 1375s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_KIS0K2/utils-isolated/user-cache-dir/.dirs/runtime 1375s ok 3 /utils-isolated/user-cache-dir 1375s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_KIS0K2/utils-isolated/system-config-dirs/.dirs/home 1375s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_KIS0K2/utils-isolated/system-config-dirs/.dirs/cache 1375s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_KIS0K2/utils-isolated/system-config-dirs/.dirs/system-config1:/tmp/test_utils-isolated_KIS0K2/utils-isolated/system-config-dirs/.dirs/system-config2 1375s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_KIS0K2/utils-isolated/system-config-dirs/.dirs/config 1375s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_KIS0K2/utils-isolated/system-config-dirs/.dirs/system-data1:/tmp/test_utils-isolated_KIS0K2/utils-isolated/system-config-dirs/.dirs/system-data2 1375s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_KIS0K2/utils-isolated/system-config-dirs/.dirs/data 1375s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_KIS0K2/utils-isolated/system-config-dirs/.dirs/state 1375s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_KIS0K2/utils-isolated/system-config-dirs/.dirs/runtime 1375s ok 4 /utils-isolated/system-config-dirs 1375s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_KIS0K2/utils-isolated/user-config-dir/.dirs/home 1375s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_KIS0K2/utils-isolated/user-config-dir/.dirs/cache 1375s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_KIS0K2/utils-isolated/user-config-dir/.dirs/system-config1:/tmp/test_utils-isolated_KIS0K2/utils-isolated/user-config-dir/.dirs/system-config2 1375s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_KIS0K2/utils-isolated/user-config-dir/.dirs/config 1375s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_KIS0K2/utils-isolated/user-config-dir/.dirs/system-data1:/tmp/test_utils-isolated_KIS0K2/utils-isolated/user-config-dir/.dirs/system-data2 1375s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_KIS0K2/utils-isolated/user-config-dir/.dirs/data 1375s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_KIS0K2/utils-isolated/user-config-dir/.dirs/state 1375s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_KIS0K2/utils-isolated/user-config-dir/.dirs/runtime 1375s ok 5 /utils-isolated/user-config-dir 1375s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_KIS0K2/utils-isolated/system-data-dirs/.dirs/home 1375s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_KIS0K2/utils-isolated/system-data-dirs/.dirs/cache 1375s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_KIS0K2/utils-isolated/system-data-dirs/.dirs/system-config1:/tmp/test_utils-isolated_KIS0K2/utils-isolated/system-data-dirs/.dirs/system-config2 1375s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_KIS0K2/utils-isolated/system-data-dirs/.dirs/config 1375s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_KIS0K2/utils-isolated/system-data-dirs/.dirs/system-data1:/tmp/test_utils-isolated_KIS0K2/utils-isolated/system-data-dirs/.dirs/system-data2 1375s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_KIS0K2/utils-isolated/system-data-dirs/.dirs/data 1375s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_KIS0K2/utils-isolated/system-data-dirs/.dirs/state 1375s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_KIS0K2/utils-isolated/system-data-dirs/.dirs/runtime 1375s ok 6 /utils-isolated/system-data-dirs 1375s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_KIS0K2/utils-isolated/user-data-dir/.dirs/home 1375s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_KIS0K2/utils-isolated/user-data-dir/.dirs/cache 1375s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_KIS0K2/utils-isolated/user-data-dir/.dirs/system-config1:/tmp/test_utils-isolated_KIS0K2/utils-isolated/user-data-dir/.dirs/system-config2 1375s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_KIS0K2/utils-isolated/user-data-dir/.dirs/config 1375s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_KIS0K2/utils-isolated/user-data-dir/.dirs/system-data1:/tmp/test_utils-isolated_KIS0K2/utils-isolated/user-data-dir/.dirs/system-data2 1375s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_KIS0K2/utils-isolated/user-data-dir/.dirs/data 1375s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_KIS0K2/utils-isolated/user-data-dir/.dirs/state 1375s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_KIS0K2/utils-isolated/user-data-dir/.dirs/runtime 1375s ok 7 /utils-isolated/user-data-dir 1375s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_KIS0K2/utils-isolated/user-state-dir/.dirs/home 1375s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_KIS0K2/utils-isolated/user-state-dir/.dirs/cache 1375s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_KIS0K2/utils-isolated/user-state-dir/.dirs/system-config1:/tmp/test_utils-isolated_KIS0K2/utils-isolated/user-state-dir/.dirs/system-config2 1375s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_KIS0K2/utils-isolated/user-state-dir/.dirs/config 1375s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_KIS0K2/utils-isolated/user-state-dir/.dirs/system-data1:/tmp/test_utils-isolated_KIS0K2/utils-isolated/user-state-dir/.dirs/system-data2 1375s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_KIS0K2/utils-isolated/user-state-dir/.dirs/data 1375s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_KIS0K2/utils-isolated/user-state-dir/.dirs/state 1375s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_KIS0K2/utils-isolated/user-state-dir/.dirs/runtime 1375s ok 8 /utils-isolated/user-state-dir 1375s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_KIS0K2/utils-isolated/user-runtime-dir/.dirs/home 1375s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_KIS0K2/utils-isolated/user-runtime-dir/.dirs/cache 1375s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_KIS0K2/utils-isolated/user-runtime-dir/.dirs/system-config1:/tmp/test_utils-isolated_KIS0K2/utils-isolated/user-runtime-dir/.dirs/system-config2 1375s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_KIS0K2/utils-isolated/user-runtime-dir/.dirs/config 1375s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_KIS0K2/utils-isolated/user-runtime-dir/.dirs/system-data1:/tmp/test_utils-isolated_KIS0K2/utils-isolated/user-runtime-dir/.dirs/system-data2 1375s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_KIS0K2/utils-isolated/user-runtime-dir/.dirs/data 1375s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_KIS0K2/utils-isolated/user-runtime-dir/.dirs/state 1375s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_KIS0K2/utils-isolated/user-runtime-dir/.dirs/runtime 1375s ok 9 /utils-isolated/user-runtime-dir 1375s # End of utils-isolated tests 1375s ok - glib/utils-isolated.test 1375s # Running test: glib/messages-low-memory.py.test 1375s TAP version 13 1375s ok 1 __main__.TestMessagesLowMemory.test_message_memory_allocation_failure 1375s # messages-low-memory: /usr/libexec/installed-tests/glib/messages-low-memory 1375s # Running: /usr/libexec/installed-tests/glib/messages-low-memory 1375s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-baqskmurxn,guid=fbaffe99d0ccb1f6e1beb84865fc01cd', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.YcZbqk/autopkgtest_tmp', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.YcZbqk/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.YcZbqk/autopkgtest_tmp', 'TERM': 'unknown', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.YcZbqk/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.sVTVMp0Db0', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.rqZsJO/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.YcZbqk/wrapper.sh --artifacts=/tmp/autopkgtest.YcZbqk/installed-tests-artifacts --chdir=/tmp/autopkgtest.YcZbqk/build.S0E/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.YcZbqk/installed-tests-stderr --stdout=/tmp/autopkgtest.YcZbqk/installed-tests-stdout --tmp=/tmp/autopkgtest.YcZbqk/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2' --make-executable=/tmp/autopkgtest.YcZbqk/build.S0E/src/debian/tests/installed-tests -- /tmp/autopkgtest.YcZbqk/build.S0E/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.YcZbqk/build.S0E/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.YcZbqk/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1375s # Return code: -6 1375s # Output: 1375s # Error: GLib-Message: 09:47:38.124: Simulates a situation in which we were crashing because of low-memory, leading malloc to fail instead of aborting 1375s # GLib-Message: 09:47:38.124: bug: https://gitlab.gnome.org/GNOME/glib/-/issues/2753 1375s # ../../../glib/gprintf.c:350: failed to allocate memory 1375s 1..1 1375s ok - glib/messages-low-memory.py.test 1375s # Running test: glib/genmarshal.py.test 1375s TAP version 13 1375s ok 1 __main__.TestGenmarshal.test_empty_list 1375s # tmpdir: /tmp/tmpi9i6ej4b 1375s # genmarshal: /usr/bin/glib-genmarshal 1375s # /tmp/tmpi9i6ej4b/tmpp1fzqiw0.list: 1375s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmpi9i6ej4b/tmpp1fzqiw0.list', '--header', '--quiet'] 1375s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-baqskmurxn,guid=fbaffe99d0ccb1f6e1beb84865fc01cd', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.YcZbqk/autopkgtest_tmp', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.YcZbqk/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.YcZbqk/autopkgtest_tmp', 'TERM': 'unknown', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.YcZbqk/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.sVTVMp0Db0', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.rqZsJO/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.YcZbqk/wrapper.sh --artifacts=/tmp/autopkgtest.YcZbqk/installed-tests-artifacts --chdir=/tmp/autopkgtest.YcZbqk/build.S0E/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.YcZbqk/installed-tests-stderr --stdout=/tmp/autopkgtest.YcZbqk/installed-tests-stdout --tmp=/tmp/autopkgtest.YcZbqk/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2' --make-executable=/tmp/autopkgtest.YcZbqk/build.S0E/src/debian/tests/installed-tests -- /tmp/autopkgtest.YcZbqk/build.S0E/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.YcZbqk/build.S0E/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.YcZbqk/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1375s # 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. */ 1375s # #ifndef __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 1375s # #define __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 1375s # 1375s # #include 1375s # 1375s # G_BEGIN_DECLS 1375s # 1375s # 1375s # G_END_DECLS 1375s # 1375s # #endif /* __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ */ 1375s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmpi9i6ej4b/tmpp1fzqiw0.list', '--body', '--quiet'] 1375s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-baqskmurxn,guid=fbaffe99d0ccb1f6e1beb84865fc01cd', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.YcZbqk/autopkgtest_tmp', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.YcZbqk/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.YcZbqk/autopkgtest_tmp', 'TERM': 'unknown', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.YcZbqk/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.sVTVMp0Db0', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.rqZsJO/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.YcZbqk/wrapper.sh --artifacts=/tmp/autopkgtest.YcZbqk/installed-tests-artifacts --chdir=/tmp/autopkgtest.YcZbqk/build.S0E/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.YcZbqk/installed-tests-stderr --stdout=/tmp/autopkgtest.YcZbqk/installed-tests-stdout --tmp=/tmp/autopkgtest.YcZbqk/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2' --make-executable=/tmp/autopkgtest.YcZbqk/build.S0E/src/debian/tests/installed-tests -- /tmp/autopkgtest.YcZbqk/build.S0E/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.YcZbqk/build.S0E/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.YcZbqk/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1375s # 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. */ 1375s # #include 1375s # 1375s # #ifdef G_ENABLE_DEBUG 1375s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1375s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1375s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1375s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1375s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1375s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1375s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1375s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1375s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1375s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1375s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1375s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1375s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1375s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1375s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1375s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1375s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1375s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1375s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1375s # #else /* !G_ENABLE_DEBUG */ 1375s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1375s # * Do not access GValues directly in your code. Instead, use the 1375s # * g_value_get_*() functions 1375s # */ 1375s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1375s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1375s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1375s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1375s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1375s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1375s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1375s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1375s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1375s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1375s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1375s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1375s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1375s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1375s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1375s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1375s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1375s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1375s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1375s # #endif /* !G_ENABLE_DEBUG */ 1375s ok 2 __main__.TestGenmarshal.test_help 1375s # tmpdir: /tmp/tmpt1sdbb8r 1375s # genmarshal: /usr/bin/glib-genmarshal 1375s # Running: ['/usr/bin/glib-genmarshal', '--help'] 1375s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-baqskmurxn,guid=fbaffe99d0ccb1f6e1beb84865fc01cd', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.YcZbqk/autopkgtest_tmp', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.YcZbqk/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.YcZbqk/autopkgtest_tmp', 'TERM': 'unknown', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.YcZbqk/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.sVTVMp0Db0', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.rqZsJO/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.YcZbqk/wrapper.sh --artifacts=/tmp/autopkgtest.YcZbqk/installed-tests-artifacts --chdir=/tmp/autopkgtest.YcZbqk/build.S0E/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.YcZbqk/installed-tests-stderr --stdout=/tmp/autopkgtest.YcZbqk/installed-tests-stdout --tmp=/tmp/autopkgtest.YcZbqk/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2' --make-executable=/tmp/autopkgtest.YcZbqk/build.S0E/src/debian/tests/installed-tests -- /tmp/autopkgtest.YcZbqk/build.S0E/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.YcZbqk/build.S0E/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.YcZbqk/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1375s # Output: usage: glib-genmarshal [-h] [--prefix STRING] [--output FILE] [--skip-source] 1375s # [--internal] [--valist-marshallers] [-v] 1375s # [--g-fatal-warnings] [--include-header [HEADER]] 1375s # [--pragma-once] [-D CPP_DEFINES] [-U CPP_UNDEFINES] 1375s # [--prototypes] [--header] [--body] 1375s # [--stdinc | --nostdinc] [--quiet | --verbose] 1375s # [FILE ...] 1375s # 1375s # Generate signal marshallers for GObject 1375s # 1375s # positional arguments: 1375s # FILE Files with lists of marshallers to generate, or "-" 1375s # for standard input 1375s # 1375s # options: 1375s # -h, --help show this help message and exit 1375s # --prefix STRING Specify marshaller prefix 1375s # --output FILE Write output into the specified file 1375s # --skip-source Skip source location comments 1375s # --internal Mark generated functions as internal 1375s # --valist-marshallers Generate va_list marshallers 1375s # -v, --version Print version information, and exit 1375s # --g-fatal-warnings Make warnings fatal 1375s # --include-header [HEADER] 1375s # Include the specified header in the body 1375s # --pragma-once Use "pragma once" as the inclusion guard 1375s # -D CPP_DEFINES Pre-processor define 1375s # -U CPP_UNDEFINES Pre-processor undefine 1375s # --prototypes Generate the marshallers prototype in the C code 1375s # --header Generate C headers 1375s # --body Generate C code 1375s # --stdinc Include standard marshallers 1375s # --nostdinc Use standard marshallers 1375s # --quiet Only print warnings and errors 1375s # --verbose Be verbose, and include debugging information 1375s ok 3 __main__.TestGenmarshal.test_no_args 1375s # tmpdir: /tmp/tmpt997lvqk 1375s # genmarshal: /usr/bin/glib-genmarshal 1375s # Running: ['/usr/bin/glib-genmarshal'] 1375s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-baqskmurxn,guid=fbaffe99d0ccb1f6e1beb84865fc01cd', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.YcZbqk/autopkgtest_tmp', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.YcZbqk/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.YcZbqk/autopkgtest_tmp', 'TERM': 'unknown', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.YcZbqk/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.sVTVMp0Db0', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.rqZsJO/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.YcZbqk/wrapper.sh --artifacts=/tmp/autopkgtest.YcZbqk/installed-tests-artifacts --chdir=/tmp/autopkgtest.YcZbqk/build.S0E/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.YcZbqk/installed-tests-stderr --stdout=/tmp/autopkgtest.YcZbqk/installed-tests-stdout --tmp=/tmp/autopkgtest.YcZbqk/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2' --make-executable=/tmp/autopkgtest.YcZbqk/build.S0E/src/debian/tests/installed-tests -- /tmp/autopkgtest.YcZbqk/build.S0E/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.YcZbqk/build.S0E/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.YcZbqk/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1375s # Output: 1375s ok 4 __main__.TestGenmarshal.test_void_boolean 1375s # tmpdir: /tmp/tmp_8k12upz 1375s # genmarshal: /usr/bin/glib-genmarshal 1375s # /tmp/tmp_8k12upz/tmpbxigydsf.list: VOID:BOOLEAN 1375s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmp_8k12upz/tmpbxigydsf.list', '--header', '--quiet'] 1375s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-baqskmurxn,guid=fbaffe99d0ccb1f6e1beb84865fc01cd', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.YcZbqk/autopkgtest_tmp', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.YcZbqk/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.YcZbqk/autopkgtest_tmp', 'TERM': 'unknown', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.YcZbqk/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.sVTVMp0Db0', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.rqZsJO/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.YcZbqk/wrapper.sh --artifacts=/tmp/autopkgtest.YcZbqk/installed-tests-artifacts --chdir=/tmp/autopkgtest.YcZbqk/build.S0E/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.YcZbqk/installed-tests-stderr --stdout=/tmp/autopkgtest.YcZbqk/installed-tests-stdout --tmp=/tmp/autopkgtest.YcZbqk/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2' --make-executable=/tmp/autopkgtest.YcZbqk/build.S0E/src/debian/tests/installed-tests -- /tmp/autopkgtest.YcZbqk/build.S0E/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.YcZbqk/build.S0E/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.YcZbqk/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1375s # 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. */ 1375s # #ifndef __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 1375s # #define __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 1375s # 1375s # #include 1375s # 1375s # G_BEGIN_DECLS 1375s # 1375s # /* VOID:BOOLEAN (/tmp/tmp_8k12upz/tmpbxigydsf.list:1) */ 1375s # #define g_cclosure_user_marshal_VOID__BOOLEAN g_cclosure_marshal_VOID__BOOLEAN 1375s # 1375s # 1375s # G_END_DECLS 1375s # 1375s # #endif /* __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ */ 1375s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmp_8k12upz/tmpbxigydsf.list', '--body', '--quiet'] 1375s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-baqskmurxn,guid=fbaffe99d0ccb1f6e1beb84865fc01cd', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.YcZbqk/autopkgtest_tmp', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.YcZbqk/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.YcZbqk/autopkgtest_tmp', 'TERM': 'unknown', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.YcZbqk/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.sVTVMp0Db0', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.rqZsJO/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.YcZbqk/wrapper.sh --artifacts=/tmp/autopkgtest.YcZbqk/installed-tests-artifacts --chdir=/tmp/autopkgtest.YcZbqk/build.S0E/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.YcZbqk/installed-tests-stderr --stdout=/tmp/autopkgtest.YcZbqk/installed-tests-stdout --tmp=/tmp/autopkgtest.YcZbqk/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2' --make-executable=/tmp/autopkgtest.YcZbqk/build.S0E/src/debian/tests/installed-tests -- /tmp/autopkgtest.YcZbqk/build.S0E/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.YcZbqk/build.S0E/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.YcZbqk/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1375s # 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. */ 1375s # #include 1375s # 1375s # #ifdef G_ENABLE_DEBUG 1375s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1375s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1375s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1375s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1375s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1375s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1375s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1375s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1375s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1375s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1375s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1375s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1375s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1375s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1375s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1375s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1375s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1375s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1375s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1375s # #else /* !G_ENABLE_DEBUG */ 1375s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1375s # * Do not access GValues directly in your code. Instead, use the 1375s # * g_value_get_*() functions 1375s # */ 1375s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1375s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1375s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1375s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1375s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1375s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1375s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1375s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1375s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1375s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1375s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1375s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1375s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1375s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1375s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1375s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1375s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1375s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1375s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1375s # #endif /* !G_ENABLE_DEBUG */ 1375s ok 5 __main__.TestGenmarshal.test_void_boolean_int64 1375s # tmpdir: /tmp/tmp1aivq1oy 1375s # genmarshal: /usr/bin/glib-genmarshal 1375s # /tmp/tmp1aivq1oy/tmp8jm9tujg.list: VOID:BOOLEAN,INT64 1375s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmp1aivq1oy/tmp8jm9tujg.list', '--header', '--quiet'] 1375s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-baqskmurxn,guid=fbaffe99d0ccb1f6e1beb84865fc01cd', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.YcZbqk/autopkgtest_tmp', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.YcZbqk/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.YcZbqk/autopkgtest_tmp', 'TERM': 'unknown', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.YcZbqk/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.sVTVMp0Db0', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.rqZsJO/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.YcZbqk/wrapper.sh --artifacts=/tmp/autopkgtest.YcZbqk/installed-tests-artifacts --chdir=/tmp/autopkgtest.YcZbqk/build.S0E/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.YcZbqk/installed-tests-stderr --stdout=/tmp/autopkgtest.YcZbqk/installed-tests-stdout --tmp=/tmp/autopkgtest.YcZbqk/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2' --make-executable=/tmp/autopkgtest.YcZbqk/build.S0E/src/debian/tests/installed-tests -- /tmp/autopkgtest.YcZbqk/build.S0E/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.YcZbqk/build.S0E/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.YcZbqk/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1375s # 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. */ 1375s # #ifndef __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 1375s # #define __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 1375s # 1375s # #include 1375s # 1375s # G_BEGIN_DECLS 1375s # 1375s # /* VOID:BOOLEAN,INT64 (/tmp/tmp1aivq1oy/tmp8jm9tujg.list:1) */ 1375s # extern 1375s # void g_cclosure_user_marshal_VOID__BOOLEAN_INT64 (GClosure *closure, 1375s # GValue *return_value, 1375s # guint n_param_values, 1375s # const GValue *param_values, 1375s # gpointer invocation_hint, 1375s # gpointer marshal_data); 1375s # 1375s # 1375s # G_END_DECLS 1375s # 1375s # #endif /* __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ */ 1375s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmp1aivq1oy/tmp8jm9tujg.list', '--body', '--quiet'] 1375s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-baqskmurxn,guid=fbaffe99d0ccb1f6e1beb84865fc01cd', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.YcZbqk/autopkgtest_tmp', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.YcZbqk/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.YcZbqk/autopkgtest_tmp', 'TERM': 'unknown', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.YcZbqk/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.sVTVMp0Db0', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.rqZsJO/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.YcZbqk/wrapper.sh --artifacts=/tmp/autopkgtest.YcZbqk/installed-tests-artifacts --chdir=/tmp/autopkgtest.YcZbqk/build.S0E/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.YcZbqk/installed-tests-stderr --stdout=/tmp/autopkgtest.YcZbqk/installed-tests-stdout --tmp=/tmp/autopkgtest.YcZbqk/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2' --make-executable=/tmp/autopkgtest.YcZbqk/build.S0E/src/debian/tests/installed-tests -- /tmp/autopkgtest.YcZbqk/build.S0E/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.YcZbqk/build.S0E/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.YcZbqk/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1375s # 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. */ 1375s # #include 1375s # 1375s # #ifdef G_ENABLE_DEBUG 1375s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1375s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1375s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1375s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1375s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1375s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1375s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1375s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1375s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1375s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1375s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1375s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1375s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1375s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1375s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1375s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1375s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1375s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1375s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1375s # #else /* !G_ENABLE_DEBUG */ 1375s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1375s # * Do not access GValues directly in your code. Instead, use the 1375s # * g_value_get_*() functions 1375s # */ 1375s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1375s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1375s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1375s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1375s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1375s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1375s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1375s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1375s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1375s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1375s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1375s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1375s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1375s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1375s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1375s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1375s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1375s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1375s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1375s # #endif /* !G_ENABLE_DEBUG */ 1375s # 1375s # /* VOID:BOOLEAN,INT64 (/tmp/tmp1aivq1oy/tmp8jm9tujg.list:1) */ 1375s # void 1375s # g_cclosure_user_marshal_VOID__BOOLEAN_INT64 (GClosure *closure, 1375s # GValue *return_value G_GNUC_UNUSED, 1375s # guint n_param_values, 1375s # const GValue *param_values, 1375s # gpointer invocation_hint G_GNUC_UNUSED, 1375s # gpointer marshal_data) 1375s # { 1375s # typedef void (*GMarshalFunc_VOID__BOOLEAN_INT64) (gpointer data1, 1375s # gboolean arg1, 1375s # gint64 arg2, 1375s # gpointer data2); 1375s # GCClosure *cc = (GCClosure *) closure; 1375s # gpointer data1, data2; 1375s # GMarshalFunc_VOID__BOOLEAN_INT64 callback; 1375s # 1375s # g_return_if_fail (n_param_values == 3); 1375s # 1375s # if (G_CCLOSURE_SWAP_DATA (closure)) 1375s # { 1375s # data1 = closure->data; 1375s # data2 = g_value_peek_pointer (param_values + 0); 1375s # } 1375s # else 1375s # { 1375s # data1 = g_value_peek_pointer (param_values + 0); 1375s # data2 = closure->data; 1375s # } 1375s # callback = (GMarshalFunc_VOID__BOOLEAN_INT64) (marshal_data ? marshal_data : cc->callback); 1375s # 1375s # callback (data1, 1375s # g_marshal_value_peek_boolean (param_values + 1), 1375s # g_marshal_value_peek_int64 (param_values + 2), 1375s # data2); 1375s # } 1375s ok 6 __main__.TestGenmarshal.test_void_param_nostdinc 1375s # tmpdir: /tmp/tmpstz93y5m 1375s # genmarshal: /usr/bin/glib-genmarshal 1375s # /tmp/tmpstz93y5m/tmp24292rj_.list: VOID:PARAM 1375s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmpstz93y5m/tmp24292rj_.list', '--header', '--quiet', '--nostdinc', '--valist-marshaller'] 1375s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-baqskmurxn,guid=fbaffe99d0ccb1f6e1beb84865fc01cd', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.YcZbqk/autopkgtest_tmp', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.YcZbqk/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.YcZbqk/autopkgtest_tmp', 'TERM': 'unknown', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.YcZbqk/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.sVTVMp0Db0', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.rqZsJO/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.YcZbqk/wrapper.sh --artifacts=/tmp/autopkgtest.YcZbqk/installed-tests-artifacts --chdir=/tmp/autopkgtest.YcZbqk/build.S0E/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.YcZbqk/installed-tests-stderr --stdout=/tmp/autopkgtest.YcZbqk/installed-tests-stdout --tmp=/tmp/autopkgtest.YcZbqk/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2' --make-executable=/tmp/autopkgtest.YcZbqk/build.S0E/src/debian/tests/installed-tests -- /tmp/autopkgtest.YcZbqk/build.S0E/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.YcZbqk/build.S0E/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.YcZbqk/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1375s # 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. */ 1375s # #ifndef __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 1375s # #define __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 1375s # 1375s # G_BEGIN_DECLS 1375s # 1375s # /* VOID:PARAM (/tmp/tmpstz93y5m/tmp24292rj_.list:1) */ 1375s # extern 1375s # void g_cclosure_user_marshal_VOID__PARAM (GClosure *closure, 1375s # GValue *return_value, 1375s # guint n_param_values, 1375s # const GValue *param_values, 1375s # gpointer invocation_hint, 1375s # gpointer marshal_data); 1375s # extern 1375s # void g_cclosure_user_marshal_VOID__PARAMv (GClosure *closure, 1375s # GValue *return_value, 1375s # gpointer instance, 1375s # va_list args, 1375s # gpointer marshal_data, 1375s # int n_params, 1375s # GType *param_types); 1375s # 1375s # 1375s # G_END_DECLS 1375s # 1375s # #endif /* __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ */ 1375s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmpstz93y5m/tmp24292rj_.list', '--body', '--quiet', '--nostdinc', '--valist-marshaller'] 1375s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-baqskmurxn,guid=fbaffe99d0ccb1f6e1beb84865fc01cd', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.YcZbqk/autopkgtest_tmp', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.YcZbqk/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.YcZbqk/autopkgtest_tmp', 'TERM': 'unknown', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.YcZbqk/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.sVTVMp0Db0', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.rqZsJO/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.YcZbqk/wrapper.sh --artifacts=/tmp/autopkgtest.YcZbqk/installed-tests-artifacts --chdir=/tmp/autopkgtest.YcZbqk/build.S0E/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.YcZbqk/installed-tests-stderr --stdout=/tmp/autopkgtest.YcZbqk/installed-tests-stdout --tmp=/tmp/autopkgtest.YcZbqk/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2' --make-executable=/tmp/autopkgtest.YcZbqk/build.S0E/src/debian/tests/installed-tests -- /tmp/autopkgtest.YcZbqk/build.S0E/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.YcZbqk/build.S0E/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.YcZbqk/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1375s # 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. */ 1375s # #ifdef G_ENABLE_DEBUG 1375s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1375s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1375s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1375s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1375s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1375s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1375s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1375s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1375s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1375s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1375s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1375s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1375s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1375s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1375s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1375s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1375s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1375s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1375s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1375s # #else /* !G_ENABLE_DEBUG */ 1375s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1375s # * Do not access GValues directly in your code. Instead, use the 1375s # * g_value_get_*() functions 1375s # */ 1375s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1375s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1375s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1375s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1375s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1375s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1375s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1375s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1375s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1375s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1375s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1375s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1375s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1375s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1375s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1375s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1375s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1375s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1375s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1375s # #endif /* !G_ENABLE_DEBUG */ 1375s # 1375s # /* VOID:PARAM (/tmp/tmpstz93y5m/tmp24292rj_.list:1) */ 1375s # void 1375s # g_cclosure_user_marshal_VOID__PARAM (GClosure *closure, 1375s # GValue *return_value G_GNUC_UNUSED, 1375s # guint n_param_values, 1375s # const GValue *param_values, 1375s # gpointer invocation_hint G_GNUC_UNUSED, 1375s # gpointer marshal_data) 1375s # { 1375s # typedef void (*GMarshalFunc_VOID__PARAM) (gpointer data1, 1375s # gpointer arg1, 1375s # gpointer data2); 1375s # GCClosure *cc = (GCClosure *) closure; 1375s # gpointer data1, data2; 1375s # GMarshalFunc_VOID__PARAM callback; 1375s # 1375s # g_return_if_fail (n_param_values == 2); 1375s # 1375s # if (G_CCLOSURE_SWAP_DATA (closure)) 1375s # { 1375s # data1 = closure->data; 1375s # data2 = g_value_peek_pointer (param_values + 0); 1375s # } 1375s # else 1375s # { 1375s # data1 = g_value_peek_pointer (param_values + 0); 1375s # data2 = closure->data; 1375s # } 1375s # callback = (GMarshalFunc_VOID__PARAM) (marshal_data ? marshal_data : cc->callback); 1375s # 1375s # callback (data1, 1375s # g_marshal_value_peek_param (param_values + 1), 1375s # data2); 1375s # } 1375s # 1375s # void 1375s # g_cclosure_user_marshal_VOID__PARAMv (GClosure *closure, 1375s # GValue *return_value G_GNUC_UNUSED, 1375s # gpointer instance, 1375s # va_list args, 1375s # gpointer marshal_data, 1375s # int n_params, 1375s # GType *param_types) 1375s # { 1375s # typedef void (*GMarshalFunc_VOID__PARAM) (gpointer data1, 1375s # gpointer arg1, 1375s # gpointer data2); 1375s # GCClosure *cc = (GCClosure *) closure; 1375s # gpointer data1, data2; 1375s # GMarshalFunc_VOID__PARAM callback; 1375s # gpointer arg0; 1375s # va_list args_copy; 1375s # 1375s # va_copy (args_copy, args); 1375s # arg0 = (gpointer) va_arg (args_copy, gpointer); 1375s # if ((param_types[0] & G_SIGNAL_TYPE_STATIC_SCOPE) == 0 && arg0 != NULL) 1375s # arg0 = g_param_spec_ref (arg0); 1375s # va_end (args_copy); 1375s # 1375s # 1375s # if (G_CCLOSURE_SWAP_DATA (closure)) 1375s # { 1375s # data1 = closure->data; 1375s # data2 = instance; 1375s # } 1375s # else 1375s # { 1375s # data1 = instance; 1375s # data2 = closure->data; 1375s # } 1375s # callback = (GMarshalFunc_VOID__PARAM) (marshal_data ? marshal_data : cc->callback); 1375s # 1375s # callback (data1, 1375s # arg0, 1375s # data2); 1375s # if ((param_types[0] & G_SIGNAL_TYPE_STATIC_SCOPE) == 0 && arg0 != NULL) 1375s # g_param_spec_unref (arg0); 1375s # } 1375s ok 7 __main__.TestGenmarshal.test_void_string_nostdinc 1375s # tmpdir: /tmp/tmpq_006k17 1375s # genmarshal: /usr/bin/glib-genmarshal 1375s # /tmp/tmpq_006k17/tmpeqsdrw99.list: VOID:STRING 1375s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmpq_006k17/tmpeqsdrw99.list', '--header', '--quiet', '--nostdinc', '--valist-marshaller'] 1375s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-baqskmurxn,guid=fbaffe99d0ccb1f6e1beb84865fc01cd', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.YcZbqk/autopkgtest_tmp', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.YcZbqk/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.YcZbqk/autopkgtest_tmp', 'TERM': 'unknown', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.YcZbqk/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.sVTVMp0Db0', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.rqZsJO/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.YcZbqk/wrapper.sh --artifacts=/tmp/autopkgtest.YcZbqk/installed-tests-artifacts --chdir=/tmp/autopkgtest.YcZbqk/build.S0E/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.YcZbqk/installed-tests-stderr --stdout=/tmp/autopkgtest.YcZbqk/installed-tests-stdout --tmp=/tmp/autopkgtest.YcZbqk/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2' --make-executable=/tmp/autopkgtest.YcZbqk/build.S0E/src/debian/tests/installed-tests -- /tmp/autopkgtest.YcZbqk/build.S0E/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.YcZbqk/build.S0E/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.YcZbqk/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1375s # 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. */ 1375s # #ifndef __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 1375s # #define __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 1375s # 1375s # G_BEGIN_DECLS 1375s # 1375s # /* VOID:STRING (/tmp/tmpq_006k17/tmpeqsdrw99.list:1) */ 1375s # extern 1375s # void g_cclosure_user_marshal_VOID__STRING (GClosure *closure, 1375s # GValue *return_value, 1375s # guint n_param_values, 1375s # const GValue *param_values, 1375s # gpointer invocation_hint, 1375s # gpointer marshal_data); 1375s # extern 1375s # void g_cclosure_user_marshal_VOID__STRINGv (GClosure *closure, 1375s # GValue *return_value, 1375s # gpointer instance, 1375s # va_list args, 1375s # gpointer marshal_data, 1375s # int n_params, 1375s # GType *param_types); 1375s # 1375s # 1375s # G_END_DECLS 1375s # 1375s # #endif /* __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ */ 1375s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmpq_006k17/tmpeqsdrw99.list', '--body', '--quiet', '--nostdinc', '--valist-marshaller'] 1375s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-baqskmurxn,guid=fbaffe99d0ccb1f6e1beb84865fc01cd', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.YcZbqk/autopkgtest_tmp', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.YcZbqk/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.YcZbqk/autopkgtest_tmp', 'TERM': 'unknown', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.YcZbqk/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.sVTVMp0Db0', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.rqZsJO/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.YcZbqk/wrapper.sh --artifacts=/tmp/autopkgtest.YcZbqk/installed-tests-artifacts --chdir=/tmp/autopkgtest.YcZbqk/build.S0E/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.YcZbqk/installed-tests-stderr --stdout=/tmp/autopkgtest.YcZbqk/installed-tests-stdout --tmp=/tmp/autopkgtest.YcZbqk/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2' --make-executable=/tmp/autopkgtest.YcZbqk/build.S0E/src/debian/tests/installed-tests -- /tmp/autopkgtest.YcZbqk/build.S0E/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.YcZbqk/build.S0E/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.YcZbqk/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1375s # 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. */ 1375s # #ifdef G_ENABLE_DEBUG 1375s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1375s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1375s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1375s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1375s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1375s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1375s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1375s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1375s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1375s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1375s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1375s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1375s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1375s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1375s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1375s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1375s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1375s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1375s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1375s # #else /* !G_ENABLE_DEBUG */ 1375s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1375s # * Do not access GValues directly in your code. Instead, use the 1375s # * g_value_get_*() functions 1375s # */ 1375s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1375s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1375s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1375s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1375s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1375s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1375s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1375s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1375s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1375s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1375s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1375s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1375s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1375s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1375s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1375s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1375s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1375s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1375s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1375s # #endif /* !G_ENABLE_DEBUG */ 1375s # 1375s # /* VOID:STRING (/tmp/tmpq_006k17/tmpeqsdrw99.list:1) */ 1375s # void 1375s # g_cclosure_user_marshal_VOID__STRING (GClosure *closure, 1375s # GValue *return_value G_GNUC_UNUSED, 1375s # guint n_param_values, 1375s # const GValue *param_values, 1375s # gpointer invocation_hint G_GNUC_UNUSED, 1375s # gpointer marshal_data) 1375s # { 1375s # typedef void (*GMarshalFunc_VOID__STRING) (gpointer data1, 1375s # gpointer arg1, 1375s # gpointer data2); 1375s # GCClosure *cc = (GCClosure *) closure; 1375s # gpointer data1, data2; 1375s # GMarshalFunc_VOID__STRING callback; 1375s # 1375s # g_return_if_fail (n_param_values == 2); 1375s # 1375s # if (G_CCLOSURE_SWAP_DATA (closure)) 1375s # { 1375s # data1 = closure->data; 1375s # data2 = g_value_peek_pointer (param_values + 0); 1375s # } 1375s # else 1375s # { 1375s # data1 = g_value_peek_pointer (param_values + 0); 1375s # data2 = closure->data; 1375s # } 1375s # callback = (GMarshalFunc_VOID__STRING) (marshal_data ? marshal_data : cc->callback); 1375s # 1375s # callback (data1, 1375s # g_marshal_value_peek_string (param_values + 1), 1375s # data2); 1375s # } 1375s # 1375s # void 1375s # g_cclosure_user_marshal_VOID__STRINGv (GClosure *closure, 1375s # GValue *return_value G_GNUC_UNUSED, 1375s # gpointer instance, 1375s # va_list args, 1375s # gpointer marshal_data, 1375s # int n_params, 1375s # GType *param_types) 1375s # { 1375s # typedef void (*GMarshalFunc_VOID__STRING) (gpointer data1, 1375s # gpointer arg1, 1375s # gpointer data2); 1375s # GCClosure *cc = (GCClosure *) closure; 1375s # gpointer data1, data2; 1375s # GMarshalFunc_VOID__STRING callback; 1375s # gpointer arg0; 1375s # va_list args_copy; 1375s # 1375s # va_copy (args_copy, args); 1375s # arg0 = (gpointer) va_arg (args_copy, gpointer); 1375s # if ((param_types[0] & G_SIGNAL_TYPE_STATIC_SCOPE) == 0 && arg0 != NULL) 1375s # arg0 = g_strdup (arg0); 1375s # va_end (args_copy); 1375s # 1375s # 1375s # if (G_CCLOSURE_SWAP_DATA (closure)) 1375s # { 1375s # data1 = closure->data; 1375s # data2 = instance; 1375s # } 1375s # else 1375s # { 1375s # data1 = instance; 1375s # data2 = closure->data; 1375s # } 1375s # callback = (GMarshalFunc_VOID__STRING) (marshal_data ? marshal_data : cc->callback); 1375s # 1375s # callback (data1, 1375s # arg0, 1375s # data2); 1375s # if ((param_types[0] & G_SIGNAL_TYPE_STATIC_SCOPE) == 0 && arg0 != NULL) 1375s # g_free (arg0); 1375s # } 1375s ok 8 __main__.TestGenmarshal.test_void_variant_nostdinc_valist_marshaller 1375s # tmpdir: /tmp/tmpwxzxmwz0 1375s # genmarshal: /usr/bin/glib-genmarshal 1375s # /tmp/tmpwxzxmwz0/tmpg23x5zr6.list: VOID:VARIANT 1375s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmpwxzxmwz0/tmpg23x5zr6.list', '--header', '--quiet', '--nostdinc', '--valist-marshaller'] 1375s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-baqskmurxn,guid=fbaffe99d0ccb1f6e1beb84865fc01cd', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.YcZbqk/autopkgtest_tmp', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.YcZbqk/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.YcZbqk/autopkgtest_tmp', 'TERM': 'unknown', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.YcZbqk/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.sVTVMp0Db0', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.rqZsJO/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.YcZbqk/wrapper.sh --artifacts=/tmp/autopkgtest.YcZbqk/installed-tests-artifacts --chdir=/tmp/autopkgtest.YcZbqk/build.S0E/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.YcZbqk/installed-tests-stderr --stdout=/tmp/autopkgtest.YcZbqk/installed-tests-stdout --tmp=/tmp/autopkgtest.YcZbqk/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2' --make-executable=/tmp/autopkgtest.YcZbqk/build.S0E/src/debian/tests/installed-tests -- /tmp/autopkgtest.YcZbqk/build.S0E/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.YcZbqk/build.S0E/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.YcZbqk/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1375s # 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. */ 1375s # #ifndef __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 1375s # #define __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 1375s # 1375s # G_BEGIN_DECLS 1375s # 1375s # /* VOID:VARIANT (/tmp/tmpwxzxmwz0/tmpg23x5zr6.list:1) */ 1375s # extern 1375s # void g_cclosure_user_marshal_VOID__VARIANT (GClosure *closure, 1375s # GValue *return_value, 1375s # guint n_param_values, 1375s # const GValue *param_values, 1375s # gpointer invocation_hint, 1375s # gpointer marshal_data); 1375s # extern 1375s # void g_cclosure_user_marshal_VOID__VARIANTv (GClosure *closure, 1375s # GValue *return_value, 1375s # gpointer instance, 1375s # va_list args, 1375s # gpointer marshal_data, 1375s # int n_params, 1375s # GType *param_types); 1375s # 1375s # 1375s # G_END_DECLS 1375s # 1375s # #endif /* __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ */ 1375s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmpwxzxmwz0/tmpg23x5zr6.list', '--body', '--quiet', '--nostdinc', '--valist-marshaller'] 1375s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-baqskmurxn,guid=fbaffe99d0ccb1f6e1beb84865fc01cd', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.YcZbqk/autopkgtest_tmp', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.YcZbqk/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.YcZbqk/autopkgtest_tmp', 'TERM': 'unknown', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.YcZbqk/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.sVTVMp0Db0', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.rqZsJO/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.YcZbqk/wrapper.sh --artifacts=/tmp/autopkgtest.YcZbqk/installed-tests-artifacts --chdir=/tmp/autopkgtest.YcZbqk/build.S0E/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.YcZbqk/installed-tests-stderr --stdout=/tmp/autopkgtest.YcZbqk/installed-tests-stdout --tmp=/tmp/autopkgtest.YcZbqk/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2' --make-executable=/tmp/autopkgtest.YcZbqk/build.S0E/src/debian/tests/installed-tests -- /tmp/autopkgtest.YcZbqk/build.S0E/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.YcZbqk/build.S0E/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.YcZbqk/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1375s # 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. */ 1375s # #ifdef G_ENABLE_DEBUG 1375s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1375s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1375s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1375s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1375s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1375s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1375s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1375s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1375s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1375s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1375s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1375s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1375s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1375s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1375s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1375s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1375s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1375s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1375s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1375s # #else /* !G_ENABLE_DEBUG */ 1375s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1375s # * Do not access GValues directly in your code. Instead, use the 1375s # * g_value_get_*() functions 1375s # */ 1375s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1375s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1375s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1375s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1375s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1375s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1375s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1375s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1375s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1375s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1375s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1375s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1375s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1375s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1375s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1375s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1375s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1375s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1375s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1375s # #endif /* !G_ENABLE_DEBUG */ 1375s # 1375s # /* VOID:VARIANT (/tmp/tmpwxzxmwz0/tmpg23x5zr6.list:1) */ 1375s # void 1375s # g_cclosure_user_marshal_VOID__VARIANT (GClosure *closure, 1375s # GValue *return_value G_GNUC_UNUSED, 1375s # guint n_param_values, 1375s # const GValue *param_values, 1375s # gpointer invocation_hint G_GNUC_UNUSED, 1375s # gpointer marshal_data) 1375s # { 1375s # typedef void (*GMarshalFunc_VOID__VARIANT) (gpointer data1, 1375s # gpointer arg1, 1375s # gpointer data2); 1375s # GCClosure *cc = (GCClosure *) closure; 1375s # gpointer data1, data2; 1375s # GMarshalFunc_VOID__VARIANT callback; 1375s # 1375s # g_return_if_fail (n_param_values == 2); 1375s # 1375s # if (G_CCLOSURE_SWAP_DATA (closure)) 1375s # { 1375s # data1 = closure->data; 1375s # data2 = g_value_peek_pointer (param_values + 0); 1375s # } 1375s # else 1375s # { 1375s # data1 = g_value_peek_pointer (param_values + 0); 1375s # data2 = closure->data; 1375s # } 1375s # callback = (GMarshalFunc_VOID__VARIANT) (marshal_data ? marshal_data : cc->callback); 1375s # 1375s # callback (data1, 1375s # g_marshal_value_peek_variant (param_values + 1), 1375s # data2); 1375s # } 1375s # 1375s # void 1375s # g_cclosure_user_marshal_VOID__VARIANTv (GClosure *closure, 1375s # GValue *return_value G_GNUC_UNUSED, 1375s # gpointer instance, 1375s # va_list args, 1375s # gpointer marshal_data, 1375s # int n_params, 1375s # GType *param_types) 1375s # { 1375s # typedef void (*GMarshalFunc_VOID__VARIANT) (gpointer data1, 1375s # gpointer arg1, 1375s # gpointer data2); 1375s # GCClosure *cc = (GCClosure *) closure; 1375s # gpointer data1, data2; 1375s # GMarshalFunc_VOID__VARIANT callback; 1375s # gpointer arg0; 1375s # va_list args_copy; 1375s # 1375s # va_copy (args_copy, args); 1375s # arg0 = (gpointer) va_arg (args_copy, gpointer); 1375s # if ((param_types[0] & G_SIGNAL_TYPE_STATIC_SCOPE) == 0 && arg0 != NULL) 1375s # arg0 = g_variant_ref_sink (arg0); 1375s # va_end (args_copy); 1375s # 1375s # 1375s # if (G_CCLOSURE_SWAP_DATA (closure)) 1375s # { 1375s # data1 = closure->data; 1375s # data2 = instance; 1375s # } 1375s # else 1375s # { 1375s # data1 = instance; 1375s # data2 = closure->data; 1375s # } 1375s # callback = (GMarshalFunc_VOID__VARIANT) (marshal_data ? marshal_data : cc->callback); 1375s # 1375s # callback (data1, 1375s # arg0, 1375s # data2); 1375s # if ((param_types[0] & G_SIGNAL_TYPE_STATIC_SCOPE) == 0 && arg0 != NULL) 1375s # g_variant_unref (arg0); 1375s # } 1375s 1..8 1375s ok - glib/genmarshal.py.test 1375s # Running test: glib/binding.test 1375s TAP version 13 1375s # random seed: R02S616d7695c8e36e93b7d563e75e8285d4 1375s 1..19 1375s # Start of binding tests 1375s ok 1 /binding/default 1375s # /binding/canonicalisation summary: Test that bindings set up with non-canonical property names work 1375s ok 2 /binding/canonicalisation 1375s ok 3 /binding/bidirectional 1375s ok 4 /binding/transform 1375s ok 5 /binding/transform-default 1375s ok 6 /binding/transform-closure 1375s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=621782 1375s ok 7 /binding/chain 1375s ok 8 /binding/sync-create 1375s ok 9 /binding/invert-boolean 1375s ok 10 /binding/same-object 1375s ok 11 /binding/unbind 1375s ok 12 /binding/unbind-weak 1375s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1373 1375s ok 13 /binding/unbind-multiple 1375s ok 14 /binding/fail 1375s ok 15 /binding/interface 1375s # /binding/concurrent-unbind summary: Test that unbinding from multiple threads concurrently works correctly 1375s ok 16 /binding/concurrent-unbind 1375s # /binding/concurrent-finalizing summary: Test that finalizing source/target from multiple threads concurrently works correctly 1375s ok 17 /binding/concurrent-finalizing 1375s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2676 1375s ok 18 /binding/dispose-source 1375s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2676 1375s ok 19 /binding/dispose-target 1375s # End of binding tests 1375s ok - glib/binding.test 1375s # Running test: glib/bytes.test 1375s TAP version 13 1375s # random seed: R02Sdf8b8762eae23c38a93858904602e5e3 1375s 1..21 1375s # Start of bytes tests 1375s ok 1 /bytes/new 1375s ok 2 /bytes/new-take 1375s ok 3 /bytes/new-static 1375s ok 4 /bytes/new-with-free-func 1375s ok 5 /bytes/new-from-bytes 1375s ok 6 /bytes/new-from-bytes-slice 1375s ok 7 /bytes/new-from-bytes-shared-ref 1375s ok 8 /bytes/hash 1375s ok 9 /bytes/equal 1375s ok 10 /bytes/compare 1375s ok 11 /bytes/null 1375s ok 12 /bytes/get-region 1375s # /bytes/unref-null summary: Test that calling g_bytes_unref() on NULL is a no-op 1375s ok 13 /bytes/unref-null 1375s # Start of to-data tests 1375s ok 14 /bytes/to-data/transferred 1375s ok 15 /bytes/to-data/two-refs 1375s ok 16 /bytes/to-data/non-malloc 1375s ok 17 /bytes/to-data/different-free-func 1375s # End of to-data tests 1375s # Start of to-array tests 1375s ok 18 /bytes/to-array/transferred 1375s ok 19 /bytes/to-array/two-refs 1375s ok 20 /bytes/to-array/non-malloc 1375s # Start of transferred tests 1375s # g_bytes_unref_to_array() can only take GBytes up to G_MAXUINT in length; test that longer ones are rejected 1375s ok 21 /bytes/to-array/transferred/oversize 1375s # End of transferred tests 1375s # End of to-array tests 1375s # End of bytes tests 1375s ok - glib/bytes.test 1375s # Running test: glib/sandbox.test 1375s TAP version 13 1375s # random seed: R02S146835ad96f9f616fde55bc176a89423 1375s 1..4 1375s # Start of sandbox tests 1375s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_sandbox_JCQRK2/sandbox/none/.dirs/home 1375s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_sandbox_JCQRK2/sandbox/none/.dirs/cache 1375s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_sandbox_JCQRK2/sandbox/none/.dirs/system-config1:/tmp/test_sandbox_JCQRK2/sandbox/none/.dirs/system-config2 1375s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_sandbox_JCQRK2/sandbox/none/.dirs/config 1375s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_sandbox_JCQRK2/sandbox/none/.dirs/system-data1:/tmp/test_sandbox_JCQRK2/sandbox/none/.dirs/system-data2 1375s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_sandbox_JCQRK2/sandbox/none/.dirs/data 1375s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_sandbox_JCQRK2/sandbox/none/.dirs/state 1375s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_sandbox_JCQRK2/sandbox/none/.dirs/runtime 1375s ok 1 /sandbox/none 1375s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_sandbox_JCQRK2/sandbox/snap/.dirs/home 1375s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_sandbox_JCQRK2/sandbox/snap/.dirs/cache 1375s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_sandbox_JCQRK2/sandbox/snap/.dirs/system-config1:/tmp/test_sandbox_JCQRK2/sandbox/snap/.dirs/system-config2 1375s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_sandbox_JCQRK2/sandbox/snap/.dirs/config 1375s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_sandbox_JCQRK2/sandbox/snap/.dirs/system-data1:/tmp/test_sandbox_JCQRK2/sandbox/snap/.dirs/system-data2 1375s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_sandbox_JCQRK2/sandbox/snap/.dirs/data 1375s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_sandbox_JCQRK2/sandbox/snap/.dirs/state 1375s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_sandbox_JCQRK2/sandbox/snap/.dirs/runtime 1375s # Created snap.yaml in /tmp/test_sandbox_JCQRK2/snap/current/meta/snap.yaml 1375s ok 2 /sandbox/snap 1375s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_sandbox_JCQRK2/sandbox/classic-snap/.dirs/home 1375s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_sandbox_JCQRK2/sandbox/classic-snap/.dirs/cache 1375s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_sandbox_JCQRK2/sandbox/classic-snap/.dirs/system-config1:/tmp/test_sandbox_JCQRK2/sandbox/classic-snap/.dirs/system-config2 1375s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_sandbox_JCQRK2/sandbox/classic-snap/.dirs/config 1375s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_sandbox_JCQRK2/sandbox/classic-snap/.dirs/system-data1:/tmp/test_sandbox_JCQRK2/sandbox/classic-snap/.dirs/system-data2 1375s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_sandbox_JCQRK2/sandbox/classic-snap/.dirs/data 1375s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_sandbox_JCQRK2/sandbox/classic-snap/.dirs/state 1375s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_sandbox_JCQRK2/sandbox/classic-snap/.dirs/runtime 1375s # Created snap.yaml in /tmp/test_sandbox_JCQRK2/snap/current/meta/snap.yaml 1375s ok 3 /sandbox/classic-snap 1375s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_sandbox_JCQRK2/sandbox/flatpak/.dirs/home 1375s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_sandbox_JCQRK2/sandbox/flatpak/.dirs/cache 1375s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_sandbox_JCQRK2/sandbox/flatpak/.dirs/system-config1:/tmp/test_sandbox_JCQRK2/sandbox/flatpak/.dirs/system-config2 1375s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_sandbox_JCQRK2/sandbox/flatpak/.dirs/config 1375s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_sandbox_JCQRK2/sandbox/flatpak/.dirs/system-data1:/tmp/test_sandbox_JCQRK2/sandbox/flatpak/.dirs/system-data2 1375s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_sandbox_JCQRK2/sandbox/flatpak/.dirs/data 1375s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_sandbox_JCQRK2/sandbox/flatpak/.dirs/state 1375s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_sandbox_JCQRK2/sandbox/flatpak/.dirs/runtime 1375s # Creating .flatpak-info in /tmp/test_sandbox_JCQRK2/sandbox/flatpak/.dirs/runtime/.flatpak-info 1375s ok 4 /sandbox/flatpak 1375s # End of sandbox tests 1375s ok - glib/sandbox.test 1375s # Running test: glib/portal-support-snap-classic.test 1375s TAP version 13 1375s # random seed: R02Seb03016669d4df9c57a62e61ae5ab8c6 1375s 1..3 1375s # Start of portal-support tests 1375s # Start of snap-classic tests 1375s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap-classic_LSXRK2/portal-support/snap-classic/no-snapctl/.dirs/home 1375s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap-classic_LSXRK2/portal-support/snap-classic/no-snapctl/.dirs/cache 1375s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap-classic_LSXRK2/portal-support/snap-classic/no-snapctl/.dirs/system-config1:/tmp/test_portal-support-snap-classic_LSXRK2/portal-support/snap-classic/no-snapctl/.dirs/system-config2 1375s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap-classic_LSXRK2/portal-support/snap-classic/no-snapctl/.dirs/config 1375s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap-classic_LSXRK2/portal-support/snap-classic/no-snapctl/.dirs/system-data1:/tmp/test_portal-support-snap-classic_LSXRK2/portal-support/snap-classic/no-snapctl/.dirs/system-data2 1375s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap-classic_LSXRK2/portal-support/snap-classic/no-snapctl/.dirs/data 1375s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap-classic_LSXRK2/portal-support/snap-classic/no-snapctl/.dirs/state 1375s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap-classic_LSXRK2/portal-support/snap-classic/no-snapctl/.dirs/runtime 1375s ok 1 /portal-support/snap-classic/no-snapctl 1375s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap-classic_LSXRK2/portal-support/snap-classic/none/.dirs/home 1375s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap-classic_LSXRK2/portal-support/snap-classic/none/.dirs/cache 1375s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap-classic_LSXRK2/portal-support/snap-classic/none/.dirs/system-config1:/tmp/test_portal-support-snap-classic_LSXRK2/portal-support/snap-classic/none/.dirs/system-config2 1375s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap-classic_LSXRK2/portal-support/snap-classic/none/.dirs/config 1375s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap-classic_LSXRK2/portal-support/snap-classic/none/.dirs/system-data1:/tmp/test_portal-support-snap-classic_LSXRK2/portal-support/snap-classic/none/.dirs/system-data2 1375s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap-classic_LSXRK2/portal-support/snap-classic/none/.dirs/data 1375s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap-classic_LSXRK2/portal-support/snap-classic/none/.dirs/state 1375s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap-classic_LSXRK2/portal-support/snap-classic/none/.dirs/runtime 1375s # Created snap.yaml in /tmp/test_portal-support-snap-classic_LSXRK2/meta/snap.yaml 1375s # Created snapctl in /tmp/test_portal-support-snap-classic_LSXRK2/portal-support/snap-classic/none/.dirs/runtime/snapctl 1375s ok 2 /portal-support/snap-classic/none 1375s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap-classic_LSXRK2/portal-support/snap-classic/all/.dirs/home 1375s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap-classic_LSXRK2/portal-support/snap-classic/all/.dirs/cache 1375s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap-classic_LSXRK2/portal-support/snap-classic/all/.dirs/system-config1:/tmp/test_portal-support-snap-classic_LSXRK2/portal-support/snap-classic/all/.dirs/system-config2 1375s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap-classic_LSXRK2/portal-support/snap-classic/all/.dirs/config 1375s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap-classic_LSXRK2/portal-support/snap-classic/all/.dirs/system-data1:/tmp/test_portal-support-snap-classic_LSXRK2/portal-support/snap-classic/all/.dirs/system-data2 1375s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap-classic_LSXRK2/portal-support/snap-classic/all/.dirs/data 1375s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap-classic_LSXRK2/portal-support/snap-classic/all/.dirs/state 1375s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap-classic_LSXRK2/portal-support/snap-classic/all/.dirs/runtime 1375s # Created snap.yaml in /tmp/test_portal-support-snap-classic_LSXRK2/meta/snap.yaml 1375s # Created snapctl in /tmp/test_portal-support-snap-classic_LSXRK2/portal-support/snap-classic/all/.dirs/runtime/snapctl 1375s ok 3 /portal-support/snap-classic/all 1375s # End of snap-classic tests 1375s # End of portal-support tests 1375s ok - glib/portal-support-snap-classic.test 1375s # Running test: glib/io-channel.test 1375s TAP version 13 1375s # random seed: R02Se658aa715803a9761d22016053b2b506 1375s 1..2 1375s # Start of io-channel tests 1375s # Line one 1375s # 1375s # Line two 1375s # 1375s # Line three 1375s # 1375s # /* Hello */ 1375s # 1375s # \x1234\x567890\x6666 1375s # 1375s # read 62 bytes, wrote 62 bytes 1375s ok 1 /io-channel/read-write 1375s # Start of read-line tests 1375s # /io-channel/read-line/embedded-nuls summary: Test that reading a line containing embedded nuls works when using non-standard line terminators. 1375s ok 2 /io-channel/read-line/embedded-nuls 1375s # End of read-line tests 1375s # End of io-channel tests 1375s ok - glib/io-channel.test 1375s # Running test: glib/qdata.test 1375s TAP version 13 1375s # random seed: R02Sd138d6630a243678f7a54e92bece791c 1375s 1..2 1375s # Start of qdata tests 1375s ok 1 /qdata/threaded 1375s ok 2 /qdata/dup 1375s # End of qdata tests 1375s ok - glib/qdata.test 1375s # Running test: glib/node.test 1375s TAP version 13 1375s # random seed: R02Sc9a897ba54ad4252f07382c9273f881f 1375s 1..6 1375s # Start of node tests 1375s ok 1 /node/allocation 1375s ok 2 /node/construction 1375s ok 3 /node/traversal 1375s ok 4 /node/misc 1375s ok 5 /node/unlink 1375s ok 6 /node/copy 1375s # End of node tests 1375s ok - glib/node.test 1375s # Running test: glib/module-test-library.test 1375s TAP version 13 1375s # random seed: R02Sf83048ea306361ce563454203c31725e 1375s 1..2 1375s # Start of module tests 1375s ok 1 /module/basics 1375s # /module/invalid-libtool-archive summary: Test that opening an invalid .la file fails 1375s ok 2 /module/invalid-libtool-archive 1375s # End of module tests 1375s ok - glib/module-test-library.test 1375s # Running test: glib/flags.test 1375s TAP version 13 1375s # random seed: R02S8609617be1cfdba1dfed67595dcc067c 1375s 1..1 1375s # Start of gobject tests 1375s # Start of flags tests 1375s ok 1 /gobject/flags/validate 1375s # End of flags tests 1375s # End of gobject tests 1375s ok - glib/flags.test 1375s # Running test: glib/gdbus-test-codegen-min-required-2-64.test 1375s TAP version 13 1375s # random seed: R02Sf26e292605d9408a3d0a000e6c8b495c 1375s 1..8 1375s # Start of gdbus tests 1375s # Start of codegen tests 1375s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_UAVKK2/gdbus/codegen/annotations/.dirs/home 1375s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_UAVKK2/gdbus/codegen/annotations/.dirs/cache 1375s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_UAVKK2/gdbus/codegen/annotations/.dirs/system-config1:/tmp/test_gdbus-test-codegen-min-required-2-64_UAVKK2/gdbus/codegen/annotations/.dirs/system-config2 1375s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_UAVKK2/gdbus/codegen/annotations/.dirs/config 1375s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_UAVKK2/gdbus/codegen/annotations/.dirs/system-data1:/tmp/test_gdbus-test-codegen-min-required-2-64_UAVKK2/gdbus/codegen/annotations/.dirs/system-data2 1375s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_UAVKK2/gdbus/codegen/annotations/.dirs/data 1375s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_UAVKK2/gdbus/codegen/annotations/.dirs/state 1375s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-min-required-2-64_UAVKK2/gdbus/codegen/annotations/.dirs/runtime 1375s ok 1 /gdbus/codegen/annotations 1375s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_UAVKK2/gdbus/codegen/interface_stability/.dirs/home 1375s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_UAVKK2/gdbus/codegen/interface_stability/.dirs/cache 1375s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_UAVKK2/gdbus/codegen/interface_stability/.dirs/system-config1:/tmp/test_gdbus-test-codegen-min-required-2-64_UAVKK2/gdbus/codegen/interface_stability/.dirs/system-config2 1375s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_UAVKK2/gdbus/codegen/interface_stability/.dirs/config 1375s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_UAVKK2/gdbus/codegen/interface_stability/.dirs/system-data1:/tmp/test_gdbus-test-codegen-min-required-2-64_UAVKK2/gdbus/codegen/interface_stability/.dirs/system-data2 1375s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_UAVKK2/gdbus/codegen/interface_stability/.dirs/data 1375s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_UAVKK2/gdbus/codegen/interface_stability/.dirs/state 1375s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-min-required-2-64_UAVKK2/gdbus/codegen/interface_stability/.dirs/runtime 1375s ok 2 /gdbus/codegen/interface_stability 1375s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_UAVKK2/gdbus/codegen/object-manager/.dirs/home 1375s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_UAVKK2/gdbus/codegen/object-manager/.dirs/cache 1375s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_UAVKK2/gdbus/codegen/object-manager/.dirs/system-config1:/tmp/test_gdbus-test-codegen-min-required-2-64_UAVKK2/gdbus/codegen/object-manager/.dirs/system-config2 1375s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_UAVKK2/gdbus/codegen/object-manager/.dirs/config 1375s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_UAVKK2/gdbus/codegen/object-manager/.dirs/system-data1:/tmp/test_gdbus-test-codegen-min-required-2-64_UAVKK2/gdbus/codegen/object-manager/.dirs/system-data2 1375s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_UAVKK2/gdbus/codegen/object-manager/.dirs/data 1375s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_UAVKK2/gdbus/codegen/object-manager/.dirs/state 1375s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-min-required-2-64_UAVKK2/gdbus/codegen/object-manager/.dirs/runtime 1375s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1375s ok 3 /gdbus/codegen/object-manager 1375s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_UAVKK2/gdbus/codegen/property-naming/.dirs/home 1375s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_UAVKK2/gdbus/codegen/property-naming/.dirs/cache 1375s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_UAVKK2/gdbus/codegen/property-naming/.dirs/system-config1:/tmp/test_gdbus-test-codegen-min-required-2-64_UAVKK2/gdbus/codegen/property-naming/.dirs/system-config2 1375s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_UAVKK2/gdbus/codegen/property-naming/.dirs/config 1375s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_UAVKK2/gdbus/codegen/property-naming/.dirs/system-data1:/tmp/test_gdbus-test-codegen-min-required-2-64_UAVKK2/gdbus/codegen/property-naming/.dirs/system-data2 1375s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_UAVKK2/gdbus/codegen/property-naming/.dirs/data 1375s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_UAVKK2/gdbus/codegen/property-naming/.dirs/state 1375s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-min-required-2-64_UAVKK2/gdbus/codegen/property-naming/.dirs/runtime 1375s ok 4 /gdbus/codegen/property-naming 1375s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_UAVKK2/gdbus/codegen/autocleanups/.dirs/home 1375s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_UAVKK2/gdbus/codegen/autocleanups/.dirs/cache 1375s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_UAVKK2/gdbus/codegen/autocleanups/.dirs/system-config1:/tmp/test_gdbus-test-codegen-min-required-2-64_UAVKK2/gdbus/codegen/autocleanups/.dirs/system-config2 1375s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_UAVKK2/gdbus/codegen/autocleanups/.dirs/config 1375s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_UAVKK2/gdbus/codegen/autocleanups/.dirs/system-data1:/tmp/test_gdbus-test-codegen-min-required-2-64_UAVKK2/gdbus/codegen/autocleanups/.dirs/system-data2 1375s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_UAVKK2/gdbus/codegen/autocleanups/.dirs/data 1375s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_UAVKK2/gdbus/codegen/autocleanups/.dirs/state 1375s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-min-required-2-64_UAVKK2/gdbus/codegen/autocleanups/.dirs/runtime 1375s ok 5 /gdbus/codegen/autocleanups 1375s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_UAVKK2/gdbus/codegen/deprecations/.dirs/home 1375s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_UAVKK2/gdbus/codegen/deprecations/.dirs/cache 1375s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_UAVKK2/gdbus/codegen/deprecations/.dirs/system-config1:/tmp/test_gdbus-test-codegen-min-required-2-64_UAVKK2/gdbus/codegen/deprecations/.dirs/system-config2 1375s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_UAVKK2/gdbus/codegen/deprecations/.dirs/config 1375s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_UAVKK2/gdbus/codegen/deprecations/.dirs/system-data1:/tmp/test_gdbus-test-codegen-min-required-2-64_UAVKK2/gdbus/codegen/deprecations/.dirs/system-data2 1375s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_UAVKK2/gdbus/codegen/deprecations/.dirs/data 1375s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_UAVKK2/gdbus/codegen/deprecations/.dirs/state 1375s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-min-required-2-64_UAVKK2/gdbus/codegen/deprecations/.dirs/runtime 1375s ok 6 /gdbus/codegen/deprecations 1375s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_UAVKK2/gdbus/codegen/standalone-interface-info/.dirs/home 1375s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_UAVKK2/gdbus/codegen/standalone-interface-info/.dirs/cache 1375s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_UAVKK2/gdbus/codegen/standalone-interface-info/.dirs/system-config1:/tmp/test_gdbus-test-codegen-min-required-2-64_UAVKK2/gdbus/codegen/standalone-interface-info/.dirs/system-config2 1375s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_UAVKK2/gdbus/codegen/standalone-interface-info/.dirs/config 1375s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_UAVKK2/gdbus/codegen/standalone-interface-info/.dirs/system-data1:/tmp/test_gdbus-test-codegen-min-required-2-64_UAVKK2/gdbus/codegen/standalone-interface-info/.dirs/system-data2 1375s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_UAVKK2/gdbus/codegen/standalone-interface-info/.dirs/data 1375s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_UAVKK2/gdbus/codegen/standalone-interface-info/.dirs/state 1375s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-min-required-2-64_UAVKK2/gdbus/codegen/standalone-interface-info/.dirs/runtime 1375s ok 7 /gdbus/codegen/standalone-interface-info 1375s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_UAVKK2/gdbus/codegen/unix-fd-list/.dirs/home 1375s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_UAVKK2/gdbus/codegen/unix-fd-list/.dirs/cache 1375s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_UAVKK2/gdbus/codegen/unix-fd-list/.dirs/system-config1:/tmp/test_gdbus-test-codegen-min-required-2-64_UAVKK2/gdbus/codegen/unix-fd-list/.dirs/system-config2 1375s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_UAVKK2/gdbus/codegen/unix-fd-list/.dirs/config 1375s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_UAVKK2/gdbus/codegen/unix-fd-list/.dirs/system-data1:/tmp/test_gdbus-test-codegen-min-required-2-64_UAVKK2/gdbus/codegen/unix-fd-list/.dirs/system-data2 1375s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_UAVKK2/gdbus/codegen/unix-fd-list/.dirs/data 1375s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_UAVKK2/gdbus/codegen/unix-fd-list/.dirs/state 1375s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-min-required-2-64_UAVKK2/gdbus/codegen/unix-fd-list/.dirs/runtime 1375s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1726 1375s ok 8 /gdbus/codegen/unix-fd-list 1375s # End of codegen tests 1375s # End of gdbus tests 1375s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1375s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1375s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1375s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1375s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1375s ok - glib/gdbus-test-codegen-min-required-2-64.test 1375s # Running test: glib/power-profile-monitor-dbus.test 1376s TAP version 13 1376s ok 1 __main__.TestPowerProfileMonitor.test_power_profile_power_saver_enabled 1376s 1..1 1376s ok - glib/power-profile-monitor-dbus.test 1376s # Running test: glib/macros-c-11.test 1376s TAP version 13 1376s # random seed: R02Sce94399bce004568fe440aa63f57e58b 1376s 1..4 1376s # Start of C tests 1376s ok 1 /C/standard-11 1376s # End of C tests 1376s # Start of alignof tests 1376s ok 2 /alignof/fallback 1376s # End of alignof tests 1376s # Start of assert tests 1376s ok 3 /assert/static 1376s # End of assert tests 1376s # Start of struct tests 1376s ok 4 /struct/sizeof_member 1376s # End of struct tests 1376s ok - glib/macros-c-11.test 1376s # Running test: glib/642026.test 1376s TAP version 13 1376s # random seed: R02S437b3279da19c39193de787b70848068 1376s 1..1 1376s # Start of glib tests 1376s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=642026 1376s ok 1 /glib/642026 1376s # End of glib tests 1376s ok - glib/642026.test 1376s # Running test: glib/sort.test 1376s TAP version 13 1376s # random seed: R02S8d5100940e8c2ec3090487100199872a 1376s 1..4 1376s # Start of sort tests 1376s ok 1 /sort/basic 1376s ok 2 /sort/zero-elements 1376s ok 3 /sort/stable 1376s ok 4 /sort/big 1376s # End of sort tests 1376s ok - glib/sort.test 1376s # Running test: glib/param.test 1376s TAP version 13 1376s # random seed: R02Sa826a4b4584faf5038720db814e2fbf4 1376s 1..32 1376s # Start of param tests 1376s ok 1 /param/value 1376s ok 2 /param/strings 1376s ok 3 /param/qdata 1376s ok 4 /param/validate 1376s ok 5 /param/convert 1376s ok 6 /param/implement # SKIP Skipping slow /param/implement test 1376s ok 7 /param/default 1376s ok 8 /param/is-valid-name 1376s # Start of invalid-name tests 1376s # /param/invalid-name/colon summary: Test that properties cannot be created with invalid names 1376s ok 9 /param/invalid-name/colon 1376s # /param/invalid-name/first-char summary: Test that properties cannot be created with invalid names 1376s ok 10 /param/invalid-name/first-char 1376s # /param/invalid-name/empty summary: Test that properties cannot be created with invalid names 1376s ok 11 /param/invalid-name/empty 1376s # End of invalid-name tests 1376s # Start of implement tests 1376s # Start of subprocess tests 1376s # End of subprocess tests 1376s # End of implement tests 1376s # End of param tests 1376s # Start of value tests 1376s ok 12 /value/transform 1376s # End of value tests 1376s # Start of paramspec tests 1376s ok 13 /paramspec/char 1376s ok 14 /paramspec/uchar 1376s ok 15 /paramspec/int 1376s ok 16 /paramspec/uint 1376s ok 17 /paramspec/long 1376s ok 18 /paramspec/ulong 1376s ok 19 /paramspec/int64 1376s ok 20 /paramspec/uint64 1376s ok 21 /paramspec/float 1376s ok 22 /paramspec/double 1376s ok 23 /paramspec/unichar 1376s ok 24 /paramspec/param 1376s ok 25 /paramspec/null-param 1376s ok 26 /paramspec/string 1376s ok 27 /paramspec/override 1376s ok 28 /paramspec/gtype 1376s ok 29 /paramspec/variant 1376s ok 30 /paramspec/custom 1376s ok 31 /paramspec/pool 1376s # Start of variant tests 1376s ok 32 /paramspec/variant/cmp 1376s # End of variant tests 1376s # End of paramspec tests 1376s ok - glib/param.test 1376s # Running test: glib/gdbus-message.test 1376s TAP version 13 1376s # random seed: R02Sb9f769ac05869406fec24612fcaa3849 1376s 1..3 1376s # Start of gdbus tests 1376s # Start of message tests 1376s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-message_1AISK2/gdbus/message/lock/.dirs/home 1376s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-message_1AISK2/gdbus/message/lock/.dirs/cache 1376s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-message_1AISK2/gdbus/message/lock/.dirs/system-config1:/tmp/test_gdbus-message_1AISK2/gdbus/message/lock/.dirs/system-config2 1376s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-message_1AISK2/gdbus/message/lock/.dirs/config 1376s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-message_1AISK2/gdbus/message/lock/.dirs/system-data1:/tmp/test_gdbus-message_1AISK2/gdbus/message/lock/.dirs/system-data2 1376s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-message_1AISK2/gdbus/message/lock/.dirs/data 1376s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-message_1AISK2/gdbus/message/lock/.dirs/state 1376s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-message_1AISK2/gdbus/message/lock/.dirs/runtime 1376s ok 1 /gdbus/message/lock 1376s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-message_1AISK2/gdbus/message/copy/.dirs/home 1376s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-message_1AISK2/gdbus/message/copy/.dirs/cache 1376s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-message_1AISK2/gdbus/message/copy/.dirs/system-config1:/tmp/test_gdbus-message_1AISK2/gdbus/message/copy/.dirs/system-config2 1376s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-message_1AISK2/gdbus/message/copy/.dirs/config 1376s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-message_1AISK2/gdbus/message/copy/.dirs/system-data1:/tmp/test_gdbus-message_1AISK2/gdbus/message/copy/.dirs/system-data2 1376s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-message_1AISK2/gdbus/message/copy/.dirs/data 1376s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-message_1AISK2/gdbus/message/copy/.dirs/state 1376s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-message_1AISK2/gdbus/message/copy/.dirs/runtime 1376s ok 2 /gdbus/message/copy 1376s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-message_1AISK2/gdbus/message/bytes-needed/.dirs/home 1376s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-message_1AISK2/gdbus/message/bytes-needed/.dirs/cache 1376s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-message_1AISK2/gdbus/message/bytes-needed/.dirs/system-config1:/tmp/test_gdbus-message_1AISK2/gdbus/message/bytes-needed/.dirs/system-config2 1376s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-message_1AISK2/gdbus/message/bytes-needed/.dirs/config 1376s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-message_1AISK2/gdbus/message/bytes-needed/.dirs/system-data1:/tmp/test_gdbus-message_1AISK2/gdbus/message/bytes-needed/.dirs/system-data2 1376s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-message_1AISK2/gdbus/message/bytes-needed/.dirs/data 1376s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-message_1AISK2/gdbus/message/bytes-needed/.dirs/state 1376s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-message_1AISK2/gdbus/message/bytes-needed/.dirs/runtime 1376s # Vector: 0 1376s # Vector: 1 1376s # Vector: 2 1376s # Vector: 3 1376s # Vector: 4 1376s # Vector: 5 1376s ok 3 /gdbus/message/bytes-needed 1376s # End of message tests 1376s # End of gdbus tests 1376s ok - glib/gdbus-message.test 1376s # Running test: glib/portal-support-snap.test 1376s TAP version 13 1376s # random seed: R02Se805bb1abda6f36e74ad459ebddcc4cc 1376s 1..7 1376s # Start of portal-support tests 1376s # Start of snap tests 1376s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap_6LLSK2/portal-support/snap/no-snapctl/.dirs/home 1376s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap_6LLSK2/portal-support/snap/no-snapctl/.dirs/cache 1376s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap_6LLSK2/portal-support/snap/no-snapctl/.dirs/system-config1:/tmp/test_portal-support-snap_6LLSK2/portal-support/snap/no-snapctl/.dirs/system-config2 1376s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap_6LLSK2/portal-support/snap/no-snapctl/.dirs/config 1376s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap_6LLSK2/portal-support/snap/no-snapctl/.dirs/system-data1:/tmp/test_portal-support-snap_6LLSK2/portal-support/snap/no-snapctl/.dirs/system-data2 1376s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap_6LLSK2/portal-support/snap/no-snapctl/.dirs/data 1376s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap_6LLSK2/portal-support/snap/no-snapctl/.dirs/state 1376s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap_6LLSK2/portal-support/snap/no-snapctl/.dirs/runtime 1376s # Created snap.yaml in /tmp/test_portal-support-snap_6LLSK2/meta/snap.yaml 1376s ok 1 /portal-support/snap/no-snapctl 1376s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap_6LLSK2/portal-support/snap/none/.dirs/home 1376s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap_6LLSK2/portal-support/snap/none/.dirs/cache 1376s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap_6LLSK2/portal-support/snap/none/.dirs/system-config1:/tmp/test_portal-support-snap_6LLSK2/portal-support/snap/none/.dirs/system-config2 1376s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap_6LLSK2/portal-support/snap/none/.dirs/config 1376s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap_6LLSK2/portal-support/snap/none/.dirs/system-data1:/tmp/test_portal-support-snap_6LLSK2/portal-support/snap/none/.dirs/system-data2 1376s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap_6LLSK2/portal-support/snap/none/.dirs/data 1376s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap_6LLSK2/portal-support/snap/none/.dirs/state 1376s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap_6LLSK2/portal-support/snap/none/.dirs/runtime 1376s # Created snap.yaml in /tmp/test_portal-support-snap_6LLSK2/meta/snap.yaml 1376s # Created snapctl in /tmp/test_portal-support-snap_6LLSK2/portal-support/snap/none/.dirs/runtime/snapctl 1376s ok 2 /portal-support/snap/none 1376s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap_6LLSK2/portal-support/snap/all/.dirs/home 1376s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap_6LLSK2/portal-support/snap/all/.dirs/cache 1376s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap_6LLSK2/portal-support/snap/all/.dirs/system-config1:/tmp/test_portal-support-snap_6LLSK2/portal-support/snap/all/.dirs/system-config2 1376s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap_6LLSK2/portal-support/snap/all/.dirs/config 1376s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap_6LLSK2/portal-support/snap/all/.dirs/system-data1:/tmp/test_portal-support-snap_6LLSK2/portal-support/snap/all/.dirs/system-data2 1376s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap_6LLSK2/portal-support/snap/all/.dirs/data 1376s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap_6LLSK2/portal-support/snap/all/.dirs/state 1376s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap_6LLSK2/portal-support/snap/all/.dirs/runtime 1376s # Created snap.yaml in /tmp/test_portal-support-snap_6LLSK2/meta/snap.yaml 1376s # Created snapctl in /tmp/test_portal-support-snap_6LLSK2/portal-support/snap/all/.dirs/runtime/snapctl 1376s ok 3 /portal-support/snap/all 1376s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap_6LLSK2/portal-support/snap/desktop-only/.dirs/home 1376s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap_6LLSK2/portal-support/snap/desktop-only/.dirs/cache 1376s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap_6LLSK2/portal-support/snap/desktop-only/.dirs/system-config1:/tmp/test_portal-support-snap_6LLSK2/portal-support/snap/desktop-only/.dirs/system-config2 1376s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap_6LLSK2/portal-support/snap/desktop-only/.dirs/config 1376s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap_6LLSK2/portal-support/snap/desktop-only/.dirs/system-data1:/tmp/test_portal-support-snap_6LLSK2/portal-support/snap/desktop-only/.dirs/system-data2 1376s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap_6LLSK2/portal-support/snap/desktop-only/.dirs/data 1376s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap_6LLSK2/portal-support/snap/desktop-only/.dirs/state 1376s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap_6LLSK2/portal-support/snap/desktop-only/.dirs/runtime 1376s # Created snap.yaml in /tmp/test_portal-support-snap_6LLSK2/meta/snap.yaml 1376s # Created snapctl in /tmp/test_portal-support-snap_6LLSK2/portal-support/snap/desktop-only/.dirs/runtime/snapctl 1376s ok 4 /portal-support/snap/desktop-only 1376s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap_6LLSK2/portal-support/snap/network-only/.dirs/home 1376s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap_6LLSK2/portal-support/snap/network-only/.dirs/cache 1376s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap_6LLSK2/portal-support/snap/network-only/.dirs/system-config1:/tmp/test_portal-support-snap_6LLSK2/portal-support/snap/network-only/.dirs/system-config2 1376s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap_6LLSK2/portal-support/snap/network-only/.dirs/config 1376s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap_6LLSK2/portal-support/snap/network-only/.dirs/system-data1:/tmp/test_portal-support-snap_6LLSK2/portal-support/snap/network-only/.dirs/system-data2 1376s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap_6LLSK2/portal-support/snap/network-only/.dirs/data 1376s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap_6LLSK2/portal-support/snap/network-only/.dirs/state 1376s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap_6LLSK2/portal-support/snap/network-only/.dirs/runtime 1376s # Created snap.yaml in /tmp/test_portal-support-snap_6LLSK2/meta/snap.yaml 1376s # Created snapctl in /tmp/test_portal-support-snap_6LLSK2/portal-support/snap/network-only/.dirs/runtime/snapctl 1376s ok 5 /portal-support/snap/network-only 1376s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap_6LLSK2/portal-support/snap/gsettings-only/.dirs/home 1376s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap_6LLSK2/portal-support/snap/gsettings-only/.dirs/cache 1376s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap_6LLSK2/portal-support/snap/gsettings-only/.dirs/system-config1:/tmp/test_portal-support-snap_6LLSK2/portal-support/snap/gsettings-only/.dirs/system-config2 1376s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap_6LLSK2/portal-support/snap/gsettings-only/.dirs/config 1376s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap_6LLSK2/portal-support/snap/gsettings-only/.dirs/system-data1:/tmp/test_portal-support-snap_6LLSK2/portal-support/snap/gsettings-only/.dirs/system-data2 1376s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap_6LLSK2/portal-support/snap/gsettings-only/.dirs/data 1376s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap_6LLSK2/portal-support/snap/gsettings-only/.dirs/state 1376s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap_6LLSK2/portal-support/snap/gsettings-only/.dirs/runtime 1376s # Created snap.yaml in /tmp/test_portal-support-snap_6LLSK2/meta/snap.yaml 1376s # Created snapctl in /tmp/test_portal-support-snap_6LLSK2/portal-support/snap/gsettings-only/.dirs/runtime/snapctl 1376s ok 6 /portal-support/snap/gsettings-only 1376s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap_6LLSK2/portal-support/snap/updates-dynamically/.dirs/home 1376s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap_6LLSK2/portal-support/snap/updates-dynamically/.dirs/cache 1376s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap_6LLSK2/portal-support/snap/updates-dynamically/.dirs/system-config1:/tmp/test_portal-support-snap_6LLSK2/portal-support/snap/updates-dynamically/.dirs/system-config2 1376s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap_6LLSK2/portal-support/snap/updates-dynamically/.dirs/config 1376s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap_6LLSK2/portal-support/snap/updates-dynamically/.dirs/system-data1:/tmp/test_portal-support-snap_6LLSK2/portal-support/snap/updates-dynamically/.dirs/system-data2 1376s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap_6LLSK2/portal-support/snap/updates-dynamically/.dirs/data 1376s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap_6LLSK2/portal-support/snap/updates-dynamically/.dirs/state 1376s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap_6LLSK2/portal-support/snap/updates-dynamically/.dirs/runtime 1376s # Created snap.yaml in /tmp/test_portal-support-snap_6LLSK2/meta/snap.yaml 1376s # Created snapctl in /tmp/test_portal-support-snap_6LLSK2/portal-support/snap/updates-dynamically/.dirs/runtime/snapctl 1376s # Created snapctl in /tmp/test_portal-support-snap_6LLSK2/portal-support/snap/updates-dynamically/.dirs/runtime/snapctl 1376s # Created snapctl in /tmp/test_portal-support-snap_6LLSK2/portal-support/snap/updates-dynamically/.dirs/runtime/snapctl 1376s # Created snapctl in /tmp/test_portal-support-snap_6LLSK2/portal-support/snap/updates-dynamically/.dirs/runtime/snapctl 1376s # Created snapctl in /tmp/test_portal-support-snap_6LLSK2/portal-support/snap/updates-dynamically/.dirs/runtime/snapctl 1376s # Created snapctl in /tmp/test_portal-support-snap_6LLSK2/portal-support/snap/updates-dynamically/.dirs/runtime/snapctl 1376s # Created snapctl in /tmp/test_portal-support-snap_6LLSK2/portal-support/snap/updates-dynamically/.dirs/runtime/snapctl 1376s ok 7 /portal-support/snap/updates-dynamically 1376s # End of snap tests 1376s # End of portal-support tests 1376s ok - glib/portal-support-snap.test 1376s # Running test: glib/signals-refcount2.test 1376s TAP version 13 1376s # random seed: R02S4a4adcc124628bcea8c7bed5ae00492a 1376s 1..1 1376s # Start of gobject tests 1376s # Start of refcount tests 1376s # init 0x2aa0355a2f0 1376s # 1376s # init 0x2aa0355a490 1376s # 1377s # Executing: glib/signals-refcount2.test 1381s # dispose 0x2aa0355a2f0! 1381s # 1381s # dispose 0x2aa0355a490! 1381s # 1381s ok 1 /gobject/refcount/signals 1381s # slow test /gobject/refcount/signals executed in 5.00 secs 1381s # End of refcount tests 1381s # End of gobject tests 1381s ok - glib/signals-refcount2.test 1381s # Running test: glib/signals-refcount3.test 1381s TAP version 13 1381s # random seed: R02S34fc861431f83d34446b9cdf195e7383 1381s 1..1 1381s # Start of gobject tests 1381s # Start of refcount tests 1381s # init 0x2aa3e9a72f0 1381s # 1381s # init 0x2aa3e9a7490 1381s # 1382s # Executing: glib/signals-refcount3.test 1386s # dispose 0x2aa3e9a72f0! 1386s # 1386s # dispose 0x2aa3e9a7490! 1386s # 1386s ok 1 /gobject/refcount/signals 1386s # slow test /gobject/refcount/signals executed in 5.00 secs 1386s # End of refcount tests 1386s # End of gobject tests 1386s ok - glib/signals-refcount3.test 1386s # Running test: glib/gdbus-export.test 1386s TAP version 13 1386s # random seed: R02S63338fd9a680ba6c9f170fb02a91a860 1386s 1..6 1386s # Start of gdbus tests 1386s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-export_8MHIK2/gdbus/object-registration/.dirs/home 1386s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-export_8MHIK2/gdbus/object-registration/.dirs/cache 1386s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-export_8MHIK2/gdbus/object-registration/.dirs/system-config1:/tmp/test_gdbus-export_8MHIK2/gdbus/object-registration/.dirs/system-config2 1386s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-export_8MHIK2/gdbus/object-registration/.dirs/config 1386s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-export_8MHIK2/gdbus/object-registration/.dirs/system-data1:/tmp/test_gdbus-export_8MHIK2/gdbus/object-registration/.dirs/system-data2 1386s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-export_8MHIK2/gdbus/object-registration/.dirs/data 1386s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-export_8MHIK2/gdbus/object-registration/.dirs/state 1386s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-export_8MHIK2/gdbus/object-registration/.dirs/runtime 1386s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1386s ok 1 /gdbus/object-registration 1386s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-export_8MHIK2/gdbus/object-registration-with-closures/.dirs/home 1386s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-export_8MHIK2/gdbus/object-registration-with-closures/.dirs/cache 1386s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-export_8MHIK2/gdbus/object-registration-with-closures/.dirs/system-config1:/tmp/test_gdbus-export_8MHIK2/gdbus/object-registration-with-closures/.dirs/system-config2 1386s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-export_8MHIK2/gdbus/object-registration-with-closures/.dirs/config 1386s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-export_8MHIK2/gdbus/object-registration-with-closures/.dirs/system-data1:/tmp/test_gdbus-export_8MHIK2/gdbus/object-registration-with-closures/.dirs/system-data2 1386s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-export_8MHIK2/gdbus/object-registration-with-closures/.dirs/data 1386s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-export_8MHIK2/gdbus/object-registration-with-closures/.dirs/state 1386s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-export_8MHIK2/gdbus/object-registration-with-closures/.dirs/runtime 1386s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1386s ok 2 /gdbus/object-registration-with-closures 1386s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-export_8MHIK2/gdbus/registered-interfaces/.dirs/home 1386s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-export_8MHIK2/gdbus/registered-interfaces/.dirs/cache 1386s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-export_8MHIK2/gdbus/registered-interfaces/.dirs/system-config1:/tmp/test_gdbus-export_8MHIK2/gdbus/registered-interfaces/.dirs/system-config2 1386s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-export_8MHIK2/gdbus/registered-interfaces/.dirs/config 1386s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-export_8MHIK2/gdbus/registered-interfaces/.dirs/system-data1:/tmp/test_gdbus-export_8MHIK2/gdbus/registered-interfaces/.dirs/system-data2 1386s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-export_8MHIK2/gdbus/registered-interfaces/.dirs/data 1386s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-export_8MHIK2/gdbus/registered-interfaces/.dirs/state 1386s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-export_8MHIK2/gdbus/registered-interfaces/.dirs/runtime 1386s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1386s ok 3 /gdbus/registered-interfaces 1386s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-export_8MHIK2/gdbus/async-properties/.dirs/home 1386s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-export_8MHIK2/gdbus/async-properties/.dirs/cache 1386s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-export_8MHIK2/gdbus/async-properties/.dirs/system-config1:/tmp/test_gdbus-export_8MHIK2/gdbus/async-properties/.dirs/system-config2 1386s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-export_8MHIK2/gdbus/async-properties/.dirs/config 1386s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-export_8MHIK2/gdbus/async-properties/.dirs/system-data1:/tmp/test_gdbus-export_8MHIK2/gdbus/async-properties/.dirs/system-data2 1386s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-export_8MHIK2/gdbus/async-properties/.dirs/data 1386s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-export_8MHIK2/gdbus/async-properties/.dirs/state 1386s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-export_8MHIK2/gdbus/async-properties/.dirs/runtime 1386s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1386s ok 4 /gdbus/async-properties 1386s # Start of threaded-unregistration tests 1386s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-export_8MHIK2/gdbus/threaded-unregistration/object/.dirs/home 1386s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-export_8MHIK2/gdbus/threaded-unregistration/object/.dirs/cache 1386s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-export_8MHIK2/gdbus/threaded-unregistration/object/.dirs/system-config1:/tmp/test_gdbus-export_8MHIK2/gdbus/threaded-unregistration/object/.dirs/system-config2 1386s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-export_8MHIK2/gdbus/threaded-unregistration/object/.dirs/config 1386s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-export_8MHIK2/gdbus/threaded-unregistration/object/.dirs/system-data1:/tmp/test_gdbus-export_8MHIK2/gdbus/threaded-unregistration/object/.dirs/system-data2 1386s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-export_8MHIK2/gdbus/threaded-unregistration/object/.dirs/data 1386s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-export_8MHIK2/gdbus/threaded-unregistration/object/.dirs/state 1386s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-export_8MHIK2/gdbus/threaded-unregistration/object/.dirs/runtime 1386s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2400 1386s # /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 1386s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1386s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1386s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1386s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1386s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1386s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1386s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1386s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1386s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1386s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1386s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1386s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1386s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1386s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1386s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1386s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1386s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1386s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1386s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1386s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1386s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1386s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1386s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1386s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1386s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1386s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1386s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1386s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1386s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1386s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1386s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1386s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1386s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1386s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1386s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1386s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1386s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1386s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1386s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1386s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1386s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1386s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1386s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1386s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1386s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1386s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1386s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1386s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1386s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1386s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1386s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1386s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1386s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1386s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1386s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1386s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1386s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1386s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1386s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1386s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1386s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1386s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1386s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1386s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1386s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1386s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1386s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1386s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1386s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1386s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1386s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1386s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1386s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1386s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1386s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1386s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1386s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1386s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1386s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1386s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1386s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1386s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1386s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1386s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1386s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1386s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1386s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1386s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1386s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1386s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1386s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1386s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1386s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1386s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1386s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1386s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1386s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1386s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1386s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1386s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1386s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1386s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1386s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1386s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1386s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1386s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1386s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1386s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1386s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1386s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1386s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1386s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1386s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1386s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1386s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1386s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1386s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1386s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1386s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1386s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1386s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1386s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1386s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1386s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1386s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1386s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # Executing: glib/gdbus-export.test 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s ok 5 /gdbus/threaded-unregistration/object # SKIP Failed to reproduce race (2 iterations with unregistration first, 998 with call first); skipping test 1388s # slow test /gdbus/threaded-unregistration/object executed in 1.20 secs 1388s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-export_8MHIK2/gdbus/threaded-unregistration/subtree/.dirs/home 1388s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-export_8MHIK2/gdbus/threaded-unregistration/subtree/.dirs/cache 1388s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-export_8MHIK2/gdbus/threaded-unregistration/subtree/.dirs/system-config1:/tmp/test_gdbus-export_8MHIK2/gdbus/threaded-unregistration/subtree/.dirs/system-config2 1388s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-export_8MHIK2/gdbus/threaded-unregistration/subtree/.dirs/config 1388s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-export_8MHIK2/gdbus/threaded-unregistration/subtree/.dirs/system-data1:/tmp/test_gdbus-export_8MHIK2/gdbus/threaded-unregistration/subtree/.dirs/system-data2 1388s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-export_8MHIK2/gdbus/threaded-unregistration/subtree/.dirs/data 1388s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-export_8MHIK2/gdbus/threaded-unregistration/subtree/.dirs/state 1388s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-export_8MHIK2/gdbus/threaded-unregistration/subtree/.dirs/runtime 1388s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2400 1388s # /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 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1389s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1389s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1389s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1389s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1389s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1389s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1389s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1389s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1389s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1389s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1389s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1389s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1389s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1389s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1389s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1389s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1389s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1389s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1389s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1389s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1389s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1389s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1389s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1389s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1389s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1389s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1389s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1389s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1389s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1389s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1389s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1389s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1389s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1389s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1389s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1389s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1389s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1389s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1389s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1389s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1389s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1389s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1389s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1389s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1389s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1389s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1389s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1389s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1389s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1389s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1389s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1389s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1389s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1389s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1389s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1389s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1389s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1389s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1389s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1389s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1389s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1389s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1389s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1389s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1389s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1389s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1389s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1389s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1389s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1389s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1389s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1389s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1389s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1389s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1389s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1389s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1389s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1389s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1389s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1389s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1389s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1389s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1389s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1389s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1389s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1389s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1389s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1389s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1389s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1389s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1389s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1389s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1389s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1389s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1389s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1389s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1389s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1389s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1389s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1389s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1389s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1389s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1389s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1389s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1389s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1389s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1389s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1389s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1389s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1389s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1389s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1389s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1389s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1389s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1389s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1389s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1389s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1389s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1389s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1389s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1389s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1389s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1389s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1389s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1389s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1389s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1389s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1389s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1389s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1389s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1389s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1389s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1389s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1389s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1389s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1389s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1389s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1389s ok 6 /gdbus/threaded-unregistration/subtree # SKIP Failed to reproduce race (2 iterations with unregistration first, 998 with call first); skipping test 1389s # slow test /gdbus/threaded-unregistration/subtree executed in 1.09 secs 1389s # End of threaded-unregistration tests 1389s # End of gdbus tests 1389s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1389s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1389s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1389s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1389s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1389s ok - glib/gdbus-export.test 1389s # Running test: glib/gdbus-names.test 1389s TAP version 13 1389s # random seed: R02Sb6e1cba2425a87e1779ec492e1a0914d 1389s 1..10 1389s # Start of gdbus tests 1389s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_NUZ1K2/gdbus/validate-names/.dirs/home 1389s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_NUZ1K2/gdbus/validate-names/.dirs/cache 1389s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_NUZ1K2/gdbus/validate-names/.dirs/system-config1:/tmp/test_gdbus-names_NUZ1K2/gdbus/validate-names/.dirs/system-config2 1389s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_NUZ1K2/gdbus/validate-names/.dirs/config 1389s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_NUZ1K2/gdbus/validate-names/.dirs/system-data1:/tmp/test_gdbus-names_NUZ1K2/gdbus/validate-names/.dirs/system-data2 1389s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_NUZ1K2/gdbus/validate-names/.dirs/data 1389s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_NUZ1K2/gdbus/validate-names/.dirs/state 1389s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_NUZ1K2/gdbus/validate-names/.dirs/runtime 1389s ok 1 /gdbus/validate-names 1389s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_NUZ1K2/gdbus/bus-own-name/.dirs/home 1389s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_NUZ1K2/gdbus/bus-own-name/.dirs/cache 1389s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_NUZ1K2/gdbus/bus-own-name/.dirs/system-config1:/tmp/test_gdbus-names_NUZ1K2/gdbus/bus-own-name/.dirs/system-config2 1389s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_NUZ1K2/gdbus/bus-own-name/.dirs/config 1389s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_NUZ1K2/gdbus/bus-own-name/.dirs/system-data1:/tmp/test_gdbus-names_NUZ1K2/gdbus/bus-own-name/.dirs/system-data2 1389s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_NUZ1K2/gdbus/bus-own-name/.dirs/data 1389s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_NUZ1K2/gdbus/bus-own-name/.dirs/state 1389s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_NUZ1K2/gdbus/bus-own-name/.dirs/runtime 1389s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1389s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1389s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1389s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1389s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1389s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1389s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1389s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1389s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1389s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1389s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1389s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1389s ok 2 /gdbus/bus-own-name 1389s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_NUZ1K2/gdbus/bus-watch-name/.dirs/home 1389s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_NUZ1K2/gdbus/bus-watch-name/.dirs/cache 1389s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_NUZ1K2/gdbus/bus-watch-name/.dirs/system-config1:/tmp/test_gdbus-names_NUZ1K2/gdbus/bus-watch-name/.dirs/system-config2 1389s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_NUZ1K2/gdbus/bus-watch-name/.dirs/config 1389s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_NUZ1K2/gdbus/bus-watch-name/.dirs/system-data1:/tmp/test_gdbus-names_NUZ1K2/gdbus/bus-watch-name/.dirs/system-data2 1389s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_NUZ1K2/gdbus/bus-watch-name/.dirs/data 1389s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_NUZ1K2/gdbus/bus-watch-name/.dirs/state 1389s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_NUZ1K2/gdbus/bus-watch-name/.dirs/runtime 1389s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1389s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1389s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1389s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1389s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1389s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1389s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1389s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1389s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1389s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1389s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1389s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1389s ok 3 /gdbus/bus-watch-name 1389s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_NUZ1K2/gdbus/bus-watch-name-auto-start/.dirs/home 1389s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_NUZ1K2/gdbus/bus-watch-name-auto-start/.dirs/cache 1389s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_NUZ1K2/gdbus/bus-watch-name-auto-start/.dirs/system-config1:/tmp/test_gdbus-names_NUZ1K2/gdbus/bus-watch-name-auto-start/.dirs/system-config2 1389s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_NUZ1K2/gdbus/bus-watch-name-auto-start/.dirs/config 1389s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_NUZ1K2/gdbus/bus-watch-name-auto-start/.dirs/system-data1:/tmp/test_gdbus-names_NUZ1K2/gdbus/bus-watch-name-auto-start/.dirs/system-data2 1389s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_NUZ1K2/gdbus/bus-watch-name-auto-start/.dirs/data 1389s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_NUZ1K2/gdbus/bus-watch-name-auto-start/.dirs/state 1389s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_NUZ1K2/gdbus/bus-watch-name-auto-start/.dirs/runtime 1389s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1389s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1389s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1389s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1389s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1389s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1389s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1389s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1389s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1389s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1389s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1389s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1389s ok 4 /gdbus/bus-watch-name-auto-start 1389s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_NUZ1K2/gdbus/bus-watch-name-auto-start-service-exist/.dirs/home 1389s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_NUZ1K2/gdbus/bus-watch-name-auto-start-service-exist/.dirs/cache 1389s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_NUZ1K2/gdbus/bus-watch-name-auto-start-service-exist/.dirs/system-config1:/tmp/test_gdbus-names_NUZ1K2/gdbus/bus-watch-name-auto-start-service-exist/.dirs/system-config2 1389s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_NUZ1K2/gdbus/bus-watch-name-auto-start-service-exist/.dirs/config 1389s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_NUZ1K2/gdbus/bus-watch-name-auto-start-service-exist/.dirs/system-data1:/tmp/test_gdbus-names_NUZ1K2/gdbus/bus-watch-name-auto-start-service-exist/.dirs/system-data2 1389s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_NUZ1K2/gdbus/bus-watch-name-auto-start-service-exist/.dirs/data 1389s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_NUZ1K2/gdbus/bus-watch-name-auto-start-service-exist/.dirs/state 1389s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_NUZ1K2/gdbus/bus-watch-name-auto-start-service-exist/.dirs/runtime 1389s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1389s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1389s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1389s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1389s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1389s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1389s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1389s dbus-daemon[6274]: [session uid=1000 pid=6274] Activating service name='org.gtk.GDBus.FakeService' requested by ':1.0' (uid=1000 pid=6265 comm="/usr/libexec/installed-tests/glib/gdbus-names" label="unconfined") 1389s # Acquired a message bus connection 1389s dbus-daemon[6274]: [session uid=1000 pid=6274] Successfully activated service 'org.gtk.GDBus.FakeService' 1389s # Acquired the name org.gtk.GDBus.FakeService 1389s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1389s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1389s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1389s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1389s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1389s ok 5 /gdbus/bus-watch-name-auto-start-service-exist 1389s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_NUZ1K2/gdbus/bus-watch-name-closures/.dirs/home 1389s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_NUZ1K2/gdbus/bus-watch-name-closures/.dirs/cache 1389s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_NUZ1K2/gdbus/bus-watch-name-closures/.dirs/system-config1:/tmp/test_gdbus-names_NUZ1K2/gdbus/bus-watch-name-closures/.dirs/system-config2 1389s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_NUZ1K2/gdbus/bus-watch-name-closures/.dirs/config 1389s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_NUZ1K2/gdbus/bus-watch-name-closures/.dirs/system-data1:/tmp/test_gdbus-names_NUZ1K2/gdbus/bus-watch-name-closures/.dirs/system-data2 1389s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_NUZ1K2/gdbus/bus-watch-name-closures/.dirs/data 1389s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_NUZ1K2/gdbus/bus-watch-name-closures/.dirs/state 1389s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_NUZ1K2/gdbus/bus-watch-name-closures/.dirs/runtime 1389s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1389s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1389s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1389s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1389s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1389s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1389s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1389s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1389s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1389s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1389s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1389s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1389s ok 6 /gdbus/bus-watch-name-closures 1389s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_NUZ1K2/gdbus/bus-watch-name-closures-auto-start/.dirs/home 1389s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_NUZ1K2/gdbus/bus-watch-name-closures-auto-start/.dirs/cache 1389s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_NUZ1K2/gdbus/bus-watch-name-closures-auto-start/.dirs/system-config1:/tmp/test_gdbus-names_NUZ1K2/gdbus/bus-watch-name-closures-auto-start/.dirs/system-config2 1389s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_NUZ1K2/gdbus/bus-watch-name-closures-auto-start/.dirs/config 1389s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_NUZ1K2/gdbus/bus-watch-name-closures-auto-start/.dirs/system-data1:/tmp/test_gdbus-names_NUZ1K2/gdbus/bus-watch-name-closures-auto-start/.dirs/system-data2 1389s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_NUZ1K2/gdbus/bus-watch-name-closures-auto-start/.dirs/data 1389s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_NUZ1K2/gdbus/bus-watch-name-closures-auto-start/.dirs/state 1389s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_NUZ1K2/gdbus/bus-watch-name-closures-auto-start/.dirs/runtime 1389s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1389s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1389s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1389s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1389s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1389s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1389s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1389s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1389s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1389s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1389s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1389s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1389s ok 7 /gdbus/bus-watch-name-closures-auto-start 1389s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_NUZ1K2/gdbus/bus-watch-different-context/.dirs/home 1389s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_NUZ1K2/gdbus/bus-watch-different-context/.dirs/cache 1389s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_NUZ1K2/gdbus/bus-watch-different-context/.dirs/system-config1:/tmp/test_gdbus-names_NUZ1K2/gdbus/bus-watch-different-context/.dirs/system-config2 1389s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_NUZ1K2/gdbus/bus-watch-different-context/.dirs/config 1389s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_NUZ1K2/gdbus/bus-watch-different-context/.dirs/system-data1:/tmp/test_gdbus-names_NUZ1K2/gdbus/bus-watch-different-context/.dirs/system-data2 1389s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_NUZ1K2/gdbus/bus-watch-different-context/.dirs/data 1389s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_NUZ1K2/gdbus/bus-watch-different-context/.dirs/state 1389s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_NUZ1K2/gdbus/bus-watch-different-context/.dirs/runtime 1389s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1389s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1389s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1389s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1389s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1389s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1389s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1389s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1389s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1389s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1389s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1389s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1389s ok 8 /gdbus/bus-watch-different-context 1389s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_NUZ1K2/gdbus/bus-unwatch-early/.dirs/home 1389s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_NUZ1K2/gdbus/bus-unwatch-early/.dirs/cache 1389s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_NUZ1K2/gdbus/bus-unwatch-early/.dirs/system-config1:/tmp/test_gdbus-names_NUZ1K2/gdbus/bus-unwatch-early/.dirs/system-config2 1389s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_NUZ1K2/gdbus/bus-unwatch-early/.dirs/config 1389s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_NUZ1K2/gdbus/bus-unwatch-early/.dirs/system-data1:/tmp/test_gdbus-names_NUZ1K2/gdbus/bus-unwatch-early/.dirs/system-data2 1389s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_NUZ1K2/gdbus/bus-unwatch-early/.dirs/data 1389s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_NUZ1K2/gdbus/bus-unwatch-early/.dirs/state 1389s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_NUZ1K2/gdbus/bus-unwatch-early/.dirs/runtime 1389s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/604 1389s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1389s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1389s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1389s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1389s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1389s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1389s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1389s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1389s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1389s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1389s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1389s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1389s ok 9 /gdbus/bus-unwatch-early 1389s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_NUZ1K2/gdbus/escape-object-path/.dirs/home 1389s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_NUZ1K2/gdbus/escape-object-path/.dirs/cache 1389s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_NUZ1K2/gdbus/escape-object-path/.dirs/system-config1:/tmp/test_gdbus-names_NUZ1K2/gdbus/escape-object-path/.dirs/system-config2 1389s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_NUZ1K2/gdbus/escape-object-path/.dirs/config 1389s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_NUZ1K2/gdbus/escape-object-path/.dirs/system-data1:/tmp/test_gdbus-names_NUZ1K2/gdbus/escape-object-path/.dirs/system-data2 1389s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_NUZ1K2/gdbus/escape-object-path/.dirs/data 1389s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_NUZ1K2/gdbus/escape-object-path/.dirs/state 1389s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_NUZ1K2/gdbus/escape-object-path/.dirs/runtime 1389s ok 10 /gdbus/escape-object-path 1389s # End of gdbus tests 1389s ok - glib/gdbus-names.test 1389s # Running test: glib/pattern.test 1389s TAP version 13 1389s # random seed: R02S98ef9365be54add3a9f0b6326cfa3f8b 1389s 1..90 1389s # Start of pattern tests 1389s # Start of compile tests 1389s ok 1 /pattern/compile/0 1389s ok 2 /pattern/compile/1 1389s ok 3 /pattern/compile/2 1389s ok 4 /pattern/compile/3 1389s ok 5 /pattern/compile/4 1389s ok 6 /pattern/compile/5 1389s ok 7 /pattern/compile/6 1389s ok 8 /pattern/compile/7 1389s ok 9 /pattern/compile/8 1389s ok 10 /pattern/compile/9 1389s ok 11 /pattern/compile/10 1389s ok 12 /pattern/compile/11 1389s ok 13 /pattern/compile/12 1389s ok 14 /pattern/compile/13 1389s # End of compile tests 1389s # Start of copy tests 1389s ok 15 /pattern/copy/0 1389s ok 16 /pattern/copy/1 1389s ok 17 /pattern/copy/2 1389s ok 18 /pattern/copy/3 1389s ok 19 /pattern/copy/4 1389s ok 20 /pattern/copy/5 1389s ok 21 /pattern/copy/6 1389s ok 22 /pattern/copy/7 1389s ok 23 /pattern/copy/8 1389s ok 24 /pattern/copy/9 1389s ok 25 /pattern/copy/10 1389s ok 26 /pattern/copy/11 1389s ok 27 /pattern/copy/12 1389s ok 28 /pattern/copy/13 1389s # End of copy tests 1389s # Start of match tests 1389s ok 29 /pattern/match/0 1389s ok 30 /pattern/match/1 1389s ok 31 /pattern/match/2 1389s ok 32 /pattern/match/3 1389s ok 33 /pattern/match/4 1389s ok 34 /pattern/match/5 1389s ok 35 /pattern/match/6 1389s ok 36 /pattern/match/7 1389s ok 37 /pattern/match/8 1389s ok 38 /pattern/match/9 1389s ok 39 /pattern/match/10 1389s ok 40 /pattern/match/11 1389s ok 41 /pattern/match/12 1389s ok 42 /pattern/match/13 1389s ok 43 /pattern/match/14 1389s ok 44 /pattern/match/15 1389s ok 45 /pattern/match/16 1389s ok 46 /pattern/match/17 1389s ok 47 /pattern/match/18 1389s ok 48 /pattern/match/19 1389s ok 49 /pattern/match/20 1389s ok 50 /pattern/match/21 1389s ok 51 /pattern/match/22 1389s ok 52 /pattern/match/23 1389s ok 53 /pattern/match/24 1389s ok 54 /pattern/match/25 1389s ok 55 /pattern/match/26 1389s ok 56 /pattern/match/27 1389s ok 57 /pattern/match/28 1389s ok 58 /pattern/match/29 1389s ok 59 /pattern/match/30 1389s ok 60 /pattern/match/31 1389s ok 61 /pattern/match/32 1389s ok 62 /pattern/match/33 1389s ok 63 /pattern/match/34 1389s ok 64 /pattern/match/35 1389s ok 65 /pattern/match/36 1389s ok 66 /pattern/match/37 1389s ok 67 /pattern/match/38 1389s ok 68 /pattern/match/39 1389s ok 69 /pattern/match/40 1389s ok 70 /pattern/match/41 1389s ok 71 /pattern/match/42 1389s ok 72 /pattern/match/43 1389s ok 73 /pattern/match/44 1389s ok 74 /pattern/match/45 1389s ok 75 /pattern/match/46 1389s ok 76 /pattern/match/47 1389s ok 77 /pattern/match/48 1389s ok 78 /pattern/match/49 1389s ok 79 /pattern/match/50 1389s # End of match tests 1389s # Start of equal tests 1389s ok 80 /pattern/equal/0 1389s ok 81 /pattern/equal/1 1389s ok 82 /pattern/equal/2 1389s ok 83 /pattern/equal/3 1389s ok 84 /pattern/equal/4 1389s ok 85 /pattern/equal/5 1389s ok 86 /pattern/equal/6 1389s ok 87 /pattern/equal/7 1389s ok 88 /pattern/equal/8 1389s ok 89 /pattern/equal/9 1389s ok 90 /pattern/equal/10 1389s # End of equal tests 1389s # End of pattern tests 1389s ok - glib/pattern.test 1389s # Running test: glib/gdbus-serialization.test 1389s TAP version 13 1389s # random seed: R02S5f47a34f1d0920c0a174e400821ae52c 1389s 1..18 1389s # Start of gdbus tests 1389s # Start of message-serialize tests 1389s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_8DC3K2/gdbus/message-serialize/basic/.dirs/home 1389s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_8DC3K2/gdbus/message-serialize/basic/.dirs/cache 1389s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_8DC3K2/gdbus/message-serialize/basic/.dirs/system-config1:/tmp/test_gdbus-serialization_8DC3K2/gdbus/message-serialize/basic/.dirs/system-config2 1389s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_8DC3K2/gdbus/message-serialize/basic/.dirs/config 1389s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_8DC3K2/gdbus/message-serialize/basic/.dirs/system-data1:/tmp/test_gdbus-serialization_8DC3K2/gdbus/message-serialize/basic/.dirs/system-data2 1389s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_8DC3K2/gdbus/message-serialize/basic/.dirs/data 1389s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_8DC3K2/gdbus/message-serialize/basic/.dirs/state 1389s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_8DC3K2/gdbus/message-serialize/basic/.dirs/runtime 1389s ok 1 /gdbus/message-serialize/basic 1389s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_8DC3K2/gdbus/message-serialize/complex/.dirs/home 1389s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_8DC3K2/gdbus/message-serialize/complex/.dirs/cache 1389s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_8DC3K2/gdbus/message-serialize/complex/.dirs/system-config1:/tmp/test_gdbus-serialization_8DC3K2/gdbus/message-serialize/complex/.dirs/system-config2 1389s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_8DC3K2/gdbus/message-serialize/complex/.dirs/config 1389s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_8DC3K2/gdbus/message-serialize/complex/.dirs/system-data1:/tmp/test_gdbus-serialization_8DC3K2/gdbus/message-serialize/complex/.dirs/system-data2 1389s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_8DC3K2/gdbus/message-serialize/complex/.dirs/data 1389s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_8DC3K2/gdbus/message-serialize/complex/.dirs/state 1389s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_8DC3K2/gdbus/message-serialize/complex/.dirs/runtime 1389s ok 2 /gdbus/message-serialize/complex 1389s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_8DC3K2/gdbus/message-serialize/invalid/.dirs/home 1389s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_8DC3K2/gdbus/message-serialize/invalid/.dirs/cache 1389s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_8DC3K2/gdbus/message-serialize/invalid/.dirs/system-config1:/tmp/test_gdbus-serialization_8DC3K2/gdbus/message-serialize/invalid/.dirs/system-config2 1389s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_8DC3K2/gdbus/message-serialize/invalid/.dirs/config 1389s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_8DC3K2/gdbus/message-serialize/invalid/.dirs/system-data1:/tmp/test_gdbus-serialization_8DC3K2/gdbus/message-serialize/invalid/.dirs/system-data2 1389s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_8DC3K2/gdbus/message-serialize/invalid/.dirs/data 1389s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_8DC3K2/gdbus/message-serialize/invalid/.dirs/state 1389s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_8DC3K2/gdbus/message-serialize/invalid/.dirs/runtime 1389s ok 3 /gdbus/message-serialize/invalid 1389s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_8DC3K2/gdbus/message-serialize/header-checks/.dirs/home 1389s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_8DC3K2/gdbus/message-serialize/header-checks/.dirs/cache 1389s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_8DC3K2/gdbus/message-serialize/header-checks/.dirs/system-config1:/tmp/test_gdbus-serialization_8DC3K2/gdbus/message-serialize/header-checks/.dirs/system-config2 1389s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_8DC3K2/gdbus/message-serialize/header-checks/.dirs/config 1389s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_8DC3K2/gdbus/message-serialize/header-checks/.dirs/system-data1:/tmp/test_gdbus-serialization_8DC3K2/gdbus/message-serialize/header-checks/.dirs/system-data2 1389s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_8DC3K2/gdbus/message-serialize/header-checks/.dirs/data 1389s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_8DC3K2/gdbus/message-serialize/header-checks/.dirs/state 1389s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_8DC3K2/gdbus/message-serialize/header-checks/.dirs/runtime 1389s ok 4 /gdbus/message-serialize/header-checks 1389s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_8DC3K2/gdbus/message-serialize/double-array/.dirs/home 1389s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_8DC3K2/gdbus/message-serialize/double-array/.dirs/cache 1389s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_8DC3K2/gdbus/message-serialize/double-array/.dirs/system-config1:/tmp/test_gdbus-serialization_8DC3K2/gdbus/message-serialize/double-array/.dirs/system-config2 1389s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_8DC3K2/gdbus/message-serialize/double-array/.dirs/config 1389s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_8DC3K2/gdbus/message-serialize/double-array/.dirs/system-data1:/tmp/test_gdbus-serialization_8DC3K2/gdbus/message-serialize/double-array/.dirs/system-data2 1389s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_8DC3K2/gdbus/message-serialize/double-array/.dirs/data 1389s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_8DC3K2/gdbus/message-serialize/double-array/.dirs/state 1389s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_8DC3K2/gdbus/message-serialize/double-array/.dirs/runtime 1389s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=732754 1389s ok 5 /gdbus/message-serialize/double-array 1389s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_8DC3K2/gdbus/message-serialize/empty-structure/.dirs/home 1389s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_8DC3K2/gdbus/message-serialize/empty-structure/.dirs/cache 1389s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_8DC3K2/gdbus/message-serialize/empty-structure/.dirs/system-config1:/tmp/test_gdbus-serialization_8DC3K2/gdbus/message-serialize/empty-structure/.dirs/system-config2 1389s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_8DC3K2/gdbus/message-serialize/empty-structure/.dirs/config 1389s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_8DC3K2/gdbus/message-serialize/empty-structure/.dirs/system-data1:/tmp/test_gdbus-serialization_8DC3K2/gdbus/message-serialize/empty-structure/.dirs/system-data2 1389s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_8DC3K2/gdbus/message-serialize/empty-structure/.dirs/data 1389s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_8DC3K2/gdbus/message-serialize/empty-structure/.dirs/state 1389s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_8DC3K2/gdbus/message-serialize/empty-structure/.dirs/runtime 1389s # /gdbus/message-serialize/empty-structure summary: Test that empty structures are rejected when serializing. 1389s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2557 1389s ok 6 /gdbus/message-serialize/empty-structure 1389s # Start of header-checks tests 1389s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_8DC3K2/gdbus/message-serialize/header-checks/valid/.dirs/home 1389s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_8DC3K2/gdbus/message-serialize/header-checks/valid/.dirs/cache 1389s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_8DC3K2/gdbus/message-serialize/header-checks/valid/.dirs/system-config1:/tmp/test_gdbus-serialization_8DC3K2/gdbus/message-serialize/header-checks/valid/.dirs/system-config2 1389s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_8DC3K2/gdbus/message-serialize/header-checks/valid/.dirs/config 1389s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_8DC3K2/gdbus/message-serialize/header-checks/valid/.dirs/system-data1:/tmp/test_gdbus-serialization_8DC3K2/gdbus/message-serialize/header-checks/valid/.dirs/system-data2 1389s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_8DC3K2/gdbus/message-serialize/header-checks/valid/.dirs/data 1389s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_8DC3K2/gdbus/message-serialize/header-checks/valid/.dirs/state 1389s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_8DC3K2/gdbus/message-serialize/header-checks/valid/.dirs/runtime 1389s # /gdbus/message-serialize/header-checks/valid summary: Test that validation allows well-formed messages of all the different types 1389s ok 7 /gdbus/message-serialize/header-checks/valid 1389s # End of header-checks tests 1389s # End of message-serialize tests 1389s # Start of message-parse tests 1389s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_8DC3K2/gdbus/message-parse/empty-arrays-of-arrays/.dirs/home 1389s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_8DC3K2/gdbus/message-parse/empty-arrays-of-arrays/.dirs/cache 1389s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_8DC3K2/gdbus/message-parse/empty-arrays-of-arrays/.dirs/system-config1:/tmp/test_gdbus-serialization_8DC3K2/gdbus/message-parse/empty-arrays-of-arrays/.dirs/system-config2 1389s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_8DC3K2/gdbus/message-parse/empty-arrays-of-arrays/.dirs/config 1389s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_8DC3K2/gdbus/message-parse/empty-arrays-of-arrays/.dirs/system-data1:/tmp/test_gdbus-serialization_8DC3K2/gdbus/message-parse/empty-arrays-of-arrays/.dirs/system-data2 1389s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_8DC3K2/gdbus/message-parse/empty-arrays-of-arrays/.dirs/data 1389s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_8DC3K2/gdbus/message-parse/empty-arrays-of-arrays/.dirs/state 1389s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_8DC3K2/gdbus/message-parse/empty-arrays-of-arrays/.dirs/runtime 1389s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=673612 1389s ok 8 /gdbus/message-parse/empty-arrays-of-arrays 1389s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_8DC3K2/gdbus/message-parse/non-signature-header/.dirs/home 1389s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_8DC3K2/gdbus/message-parse/non-signature-header/.dirs/cache 1389s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_8DC3K2/gdbus/message-parse/non-signature-header/.dirs/system-config1:/tmp/test_gdbus-serialization_8DC3K2/gdbus/message-parse/non-signature-header/.dirs/system-config2 1389s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_8DC3K2/gdbus/message-parse/non-signature-header/.dirs/config 1389s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_8DC3K2/gdbus/message-parse/non-signature-header/.dirs/system-data1:/tmp/test_gdbus-serialization_8DC3K2/gdbus/message-parse/non-signature-header/.dirs/system-data2 1389s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_8DC3K2/gdbus/message-parse/non-signature-header/.dirs/data 1389s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_8DC3K2/gdbus/message-parse/non-signature-header/.dirs/state 1389s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_8DC3K2/gdbus/message-parse/non-signature-header/.dirs/runtime 1389s ok 9 /gdbus/message-parse/non-signature-header 1389s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_8DC3K2/gdbus/message-parse/empty-signature-header/.dirs/home 1389s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_8DC3K2/gdbus/message-parse/empty-signature-header/.dirs/cache 1389s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_8DC3K2/gdbus/message-parse/empty-signature-header/.dirs/system-config1:/tmp/test_gdbus-serialization_8DC3K2/gdbus/message-parse/empty-signature-header/.dirs/system-config2 1389s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_8DC3K2/gdbus/message-parse/empty-signature-header/.dirs/config 1389s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_8DC3K2/gdbus/message-parse/empty-signature-header/.dirs/system-data1:/tmp/test_gdbus-serialization_8DC3K2/gdbus/message-parse/empty-signature-header/.dirs/system-data2 1389s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_8DC3K2/gdbus/message-parse/empty-signature-header/.dirs/data 1389s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_8DC3K2/gdbus/message-parse/empty-signature-header/.dirs/state 1389s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_8DC3K2/gdbus/message-parse/empty-signature-header/.dirs/runtime 1389s ok 10 /gdbus/message-parse/empty-signature-header 1389s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_8DC3K2/gdbus/message-parse/multiple-signature-header/.dirs/home 1389s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_8DC3K2/gdbus/message-parse/multiple-signature-header/.dirs/cache 1389s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_8DC3K2/gdbus/message-parse/multiple-signature-header/.dirs/system-config1:/tmp/test_gdbus-serialization_8DC3K2/gdbus/message-parse/multiple-signature-header/.dirs/system-config2 1389s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_8DC3K2/gdbus/message-parse/multiple-signature-header/.dirs/config 1389s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_8DC3K2/gdbus/message-parse/multiple-signature-header/.dirs/system-data1:/tmp/test_gdbus-serialization_8DC3K2/gdbus/message-parse/multiple-signature-header/.dirs/system-data2 1389s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_8DC3K2/gdbus/message-parse/multiple-signature-header/.dirs/data 1389s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_8DC3K2/gdbus/message-parse/multiple-signature-header/.dirs/state 1389s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_8DC3K2/gdbus/message-parse/multiple-signature-header/.dirs/runtime 1389s ok 11 /gdbus/message-parse/multiple-signature-header 1389s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_8DC3K2/gdbus/message-parse/over-long-signature-header/.dirs/home 1389s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_8DC3K2/gdbus/message-parse/over-long-signature-header/.dirs/cache 1389s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_8DC3K2/gdbus/message-parse/over-long-signature-header/.dirs/system-config1:/tmp/test_gdbus-serialization_8DC3K2/gdbus/message-parse/over-long-signature-header/.dirs/system-config2 1389s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_8DC3K2/gdbus/message-parse/over-long-signature-header/.dirs/config 1389s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_8DC3K2/gdbus/message-parse/over-long-signature-header/.dirs/system-data1:/tmp/test_gdbus-serialization_8DC3K2/gdbus/message-parse/over-long-signature-header/.dirs/system-data2 1389s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_8DC3K2/gdbus/message-parse/over-long-signature-header/.dirs/data 1389s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_8DC3K2/gdbus/message-parse/over-long-signature-header/.dirs/state 1389s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_8DC3K2/gdbus/message-parse/over-long-signature-header/.dirs/runtime 1389s ok 12 /gdbus/message-parse/over-long-signature-header 1389s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_8DC3K2/gdbus/message-parse/deep-header-nesting/.dirs/home 1389s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_8DC3K2/gdbus/message-parse/deep-header-nesting/.dirs/cache 1389s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_8DC3K2/gdbus/message-parse/deep-header-nesting/.dirs/system-config1:/tmp/test_gdbus-serialization_8DC3K2/gdbus/message-parse/deep-header-nesting/.dirs/system-config2 1389s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_8DC3K2/gdbus/message-parse/deep-header-nesting/.dirs/config 1389s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_8DC3K2/gdbus/message-parse/deep-header-nesting/.dirs/system-data1:/tmp/test_gdbus-serialization_8DC3K2/gdbus/message-parse/deep-header-nesting/.dirs/system-data2 1389s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_8DC3K2/gdbus/message-parse/deep-header-nesting/.dirs/data 1389s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_8DC3K2/gdbus/message-parse/deep-header-nesting/.dirs/state 1389s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_8DC3K2/gdbus/message-parse/deep-header-nesting/.dirs/runtime 1389s ok 13 /gdbus/message-parse/deep-header-nesting 1389s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_8DC3K2/gdbus/message-parse/deep-body-nesting/.dirs/home 1389s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_8DC3K2/gdbus/message-parse/deep-body-nesting/.dirs/cache 1389s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_8DC3K2/gdbus/message-parse/deep-body-nesting/.dirs/system-config1:/tmp/test_gdbus-serialization_8DC3K2/gdbus/message-parse/deep-body-nesting/.dirs/system-config2 1389s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_8DC3K2/gdbus/message-parse/deep-body-nesting/.dirs/config 1389s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_8DC3K2/gdbus/message-parse/deep-body-nesting/.dirs/system-data1:/tmp/test_gdbus-serialization_8DC3K2/gdbus/message-parse/deep-body-nesting/.dirs/system-data2 1389s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_8DC3K2/gdbus/message-parse/deep-body-nesting/.dirs/data 1389s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_8DC3K2/gdbus/message-parse/deep-body-nesting/.dirs/state 1389s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_8DC3K2/gdbus/message-parse/deep-body-nesting/.dirs/runtime 1389s ok 14 /gdbus/message-parse/deep-body-nesting 1389s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_8DC3K2/gdbus/message-parse/truncated/.dirs/home 1389s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_8DC3K2/gdbus/message-parse/truncated/.dirs/cache 1389s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_8DC3K2/gdbus/message-parse/truncated/.dirs/system-config1:/tmp/test_gdbus-serialization_8DC3K2/gdbus/message-parse/truncated/.dirs/system-config2 1389s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_8DC3K2/gdbus/message-parse/truncated/.dirs/config 1389s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_8DC3K2/gdbus/message-parse/truncated/.dirs/system-data1:/tmp/test_gdbus-serialization_8DC3K2/gdbus/message-parse/truncated/.dirs/system-data2 1389s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_8DC3K2/gdbus/message-parse/truncated/.dirs/data 1389s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_8DC3K2/gdbus/message-parse/truncated/.dirs/state 1389s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_8DC3K2/gdbus/message-parse/truncated/.dirs/runtime 1389s # /gdbus/message-parse/truncated summary: Test that truncated messages are properly rejected. 1389s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2528 1389s ok 15 /gdbus/message-parse/truncated 1389s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_8DC3K2/gdbus/message-parse/empty-structure/.dirs/home 1389s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_8DC3K2/gdbus/message-parse/empty-structure/.dirs/cache 1389s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_8DC3K2/gdbus/message-parse/empty-structure/.dirs/system-config1:/tmp/test_gdbus-serialization_8DC3K2/gdbus/message-parse/empty-structure/.dirs/system-config2 1389s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_8DC3K2/gdbus/message-parse/empty-structure/.dirs/config 1389s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_8DC3K2/gdbus/message-parse/empty-structure/.dirs/system-data1:/tmp/test_gdbus-serialization_8DC3K2/gdbus/message-parse/empty-structure/.dirs/system-data2 1389s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_8DC3K2/gdbus/message-parse/empty-structure/.dirs/data 1389s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_8DC3K2/gdbus/message-parse/empty-structure/.dirs/state 1389s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_8DC3K2/gdbus/message-parse/empty-structure/.dirs/runtime 1389s # /gdbus/message-parse/empty-structure summary: Test that empty structures are rejected when parsing. 1389s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2557 1389s ok 16 /gdbus/message-parse/empty-structure 1389s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_8DC3K2/gdbus/message-parse/missing-header/.dirs/home 1389s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_8DC3K2/gdbus/message-parse/missing-header/.dirs/cache 1389s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_8DC3K2/gdbus/message-parse/missing-header/.dirs/system-config1:/tmp/test_gdbus-serialization_8DC3K2/gdbus/message-parse/missing-header/.dirs/system-config2 1389s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_8DC3K2/gdbus/message-parse/missing-header/.dirs/config 1389s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_8DC3K2/gdbus/message-parse/missing-header/.dirs/system-data1:/tmp/test_gdbus-serialization_8DC3K2/gdbus/message-parse/missing-header/.dirs/system-data2 1389s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_8DC3K2/gdbus/message-parse/missing-header/.dirs/data 1389s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_8DC3K2/gdbus/message-parse/missing-header/.dirs/state 1389s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_8DC3K2/gdbus/message-parse/missing-header/.dirs/runtime 1389s # /gdbus/message-parse/missing-header summary: Test that missing (required) headers prompt an error. 1389s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3061 1389s ok 17 /gdbus/message-parse/missing-header 1389s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_8DC3K2/gdbus/message-parse/invalid-header-type/.dirs/home 1389s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_8DC3K2/gdbus/message-parse/invalid-header-type/.dirs/cache 1389s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_8DC3K2/gdbus/message-parse/invalid-header-type/.dirs/system-config1:/tmp/test_gdbus-serialization_8DC3K2/gdbus/message-parse/invalid-header-type/.dirs/system-config2 1389s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_8DC3K2/gdbus/message-parse/invalid-header-type/.dirs/config 1389s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_8DC3K2/gdbus/message-parse/invalid-header-type/.dirs/system-data1:/tmp/test_gdbus-serialization_8DC3K2/gdbus/message-parse/invalid-header-type/.dirs/system-data2 1389s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_8DC3K2/gdbus/message-parse/invalid-header-type/.dirs/data 1389s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_8DC3K2/gdbus/message-parse/invalid-header-type/.dirs/state 1389s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_8DC3K2/gdbus/message-parse/invalid-header-type/.dirs/runtime 1389s # /gdbus/message-parse/invalid-header-type summary: Test that the type of well-known headers is checked. 1389s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3061 1389s ok 18 /gdbus/message-parse/invalid-header-type 1389s # End of message-parse tests 1389s # End of gdbus tests 1389s ok - glib/gdbus-serialization.test 1389s # Running test: glib/fdo-notification-backend.test 1389s TAP version 13 1389s # random seed: R02Sd16f34d7ab4a4958467c22ef073e0b5e 1389s 1..2 1389s # Start of fdo-notification-backend tests 1389s # Test constructing a GFdoNotificationBackend 1389s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1389s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1389s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1389s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1389s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1389s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1389s ok 1 /fdo-notification-backend/construction 1389s # Start of dbus tests 1389s # /fdo-notification-backend/dbus/activate-action summary: Test how the backend handles valid and invalid ActionInvoked signals from the daemon 1389s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1389s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1389s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1389s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1389s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1389s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1389s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1389s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1389s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1389s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1389s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1389s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1389s ok 2 /fdo-notification-backend/dbus/activate-action 1389s # End of dbus tests 1389s # End of fdo-notification-backend tests 1389s ok - glib/fdo-notification-backend.test 1389s # Running test: glib/gdbus-test-codegen-old.test 1389s TAP version 13 1389s # random seed: R02S66e550c28fb70915c68960ce33c67222 1389s 1..8 1389s # Start of gdbus tests 1389s # Start of codegen tests 1389s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-old_IAY3K2/gdbus/codegen/annotations/.dirs/home 1389s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-old_IAY3K2/gdbus/codegen/annotations/.dirs/cache 1389s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-old_IAY3K2/gdbus/codegen/annotations/.dirs/system-config1:/tmp/test_gdbus-test-codegen-old_IAY3K2/gdbus/codegen/annotations/.dirs/system-config2 1389s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-old_IAY3K2/gdbus/codegen/annotations/.dirs/config 1389s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-old_IAY3K2/gdbus/codegen/annotations/.dirs/system-data1:/tmp/test_gdbus-test-codegen-old_IAY3K2/gdbus/codegen/annotations/.dirs/system-data2 1389s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-old_IAY3K2/gdbus/codegen/annotations/.dirs/data 1389s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-old_IAY3K2/gdbus/codegen/annotations/.dirs/state 1389s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-old_IAY3K2/gdbus/codegen/annotations/.dirs/runtime 1389s ok 1 /gdbus/codegen/annotations 1389s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-old_IAY3K2/gdbus/codegen/interface_stability/.dirs/home 1389s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-old_IAY3K2/gdbus/codegen/interface_stability/.dirs/cache 1389s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-old_IAY3K2/gdbus/codegen/interface_stability/.dirs/system-config1:/tmp/test_gdbus-test-codegen-old_IAY3K2/gdbus/codegen/interface_stability/.dirs/system-config2 1389s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-old_IAY3K2/gdbus/codegen/interface_stability/.dirs/config 1389s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-old_IAY3K2/gdbus/codegen/interface_stability/.dirs/system-data1:/tmp/test_gdbus-test-codegen-old_IAY3K2/gdbus/codegen/interface_stability/.dirs/system-data2 1389s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-old_IAY3K2/gdbus/codegen/interface_stability/.dirs/data 1389s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-old_IAY3K2/gdbus/codegen/interface_stability/.dirs/state 1389s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-old_IAY3K2/gdbus/codegen/interface_stability/.dirs/runtime 1389s ok 2 /gdbus/codegen/interface_stability 1389s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-old_IAY3K2/gdbus/codegen/object-manager/.dirs/home 1389s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-old_IAY3K2/gdbus/codegen/object-manager/.dirs/cache 1389s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-old_IAY3K2/gdbus/codegen/object-manager/.dirs/system-config1:/tmp/test_gdbus-test-codegen-old_IAY3K2/gdbus/codegen/object-manager/.dirs/system-config2 1389s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-old_IAY3K2/gdbus/codegen/object-manager/.dirs/config 1389s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-old_IAY3K2/gdbus/codegen/object-manager/.dirs/system-data1:/tmp/test_gdbus-test-codegen-old_IAY3K2/gdbus/codegen/object-manager/.dirs/system-data2 1389s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-old_IAY3K2/gdbus/codegen/object-manager/.dirs/data 1389s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-old_IAY3K2/gdbus/codegen/object-manager/.dirs/state 1389s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-old_IAY3K2/gdbus/codegen/object-manager/.dirs/runtime 1389s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1389s ok 3 /gdbus/codegen/object-manager 1389s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-old_IAY3K2/gdbus/codegen/property-naming/.dirs/home 1389s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-old_IAY3K2/gdbus/codegen/property-naming/.dirs/cache 1389s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-old_IAY3K2/gdbus/codegen/property-naming/.dirs/system-config1:/tmp/test_gdbus-test-codegen-old_IAY3K2/gdbus/codegen/property-naming/.dirs/system-config2 1389s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-old_IAY3K2/gdbus/codegen/property-naming/.dirs/config 1389s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-old_IAY3K2/gdbus/codegen/property-naming/.dirs/system-data1:/tmp/test_gdbus-test-codegen-old_IAY3K2/gdbus/codegen/property-naming/.dirs/system-data2 1389s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-old_IAY3K2/gdbus/codegen/property-naming/.dirs/data 1389s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-old_IAY3K2/gdbus/codegen/property-naming/.dirs/state 1389s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-old_IAY3K2/gdbus/codegen/property-naming/.dirs/runtime 1389s ok 4 /gdbus/codegen/property-naming 1389s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-old_IAY3K2/gdbus/codegen/autocleanups/.dirs/home 1389s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-old_IAY3K2/gdbus/codegen/autocleanups/.dirs/cache 1389s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-old_IAY3K2/gdbus/codegen/autocleanups/.dirs/system-config1:/tmp/test_gdbus-test-codegen-old_IAY3K2/gdbus/codegen/autocleanups/.dirs/system-config2 1389s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-old_IAY3K2/gdbus/codegen/autocleanups/.dirs/config 1389s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-old_IAY3K2/gdbus/codegen/autocleanups/.dirs/system-data1:/tmp/test_gdbus-test-codegen-old_IAY3K2/gdbus/codegen/autocleanups/.dirs/system-data2 1389s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-old_IAY3K2/gdbus/codegen/autocleanups/.dirs/data 1389s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-old_IAY3K2/gdbus/codegen/autocleanups/.dirs/state 1389s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-old_IAY3K2/gdbus/codegen/autocleanups/.dirs/runtime 1389s ok 5 /gdbus/codegen/autocleanups 1389s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-old_IAY3K2/gdbus/codegen/deprecations/.dirs/home 1389s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-old_IAY3K2/gdbus/codegen/deprecations/.dirs/cache 1389s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-old_IAY3K2/gdbus/codegen/deprecations/.dirs/system-config1:/tmp/test_gdbus-test-codegen-old_IAY3K2/gdbus/codegen/deprecations/.dirs/system-config2 1389s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-old_IAY3K2/gdbus/codegen/deprecations/.dirs/config 1389s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-old_IAY3K2/gdbus/codegen/deprecations/.dirs/system-data1:/tmp/test_gdbus-test-codegen-old_IAY3K2/gdbus/codegen/deprecations/.dirs/system-data2 1389s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-old_IAY3K2/gdbus/codegen/deprecations/.dirs/data 1389s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-old_IAY3K2/gdbus/codegen/deprecations/.dirs/state 1389s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-old_IAY3K2/gdbus/codegen/deprecations/.dirs/runtime 1389s ok 6 /gdbus/codegen/deprecations 1389s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-old_IAY3K2/gdbus/codegen/standalone-interface-info/.dirs/home 1389s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-old_IAY3K2/gdbus/codegen/standalone-interface-info/.dirs/cache 1389s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-old_IAY3K2/gdbus/codegen/standalone-interface-info/.dirs/system-config1:/tmp/test_gdbus-test-codegen-old_IAY3K2/gdbus/codegen/standalone-interface-info/.dirs/system-config2 1389s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-old_IAY3K2/gdbus/codegen/standalone-interface-info/.dirs/config 1389s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-old_IAY3K2/gdbus/codegen/standalone-interface-info/.dirs/system-data1:/tmp/test_gdbus-test-codegen-old_IAY3K2/gdbus/codegen/standalone-interface-info/.dirs/system-data2 1389s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-old_IAY3K2/gdbus/codegen/standalone-interface-info/.dirs/data 1389s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-old_IAY3K2/gdbus/codegen/standalone-interface-info/.dirs/state 1389s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-old_IAY3K2/gdbus/codegen/standalone-interface-info/.dirs/runtime 1389s ok 7 /gdbus/codegen/standalone-interface-info 1389s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-old_IAY3K2/gdbus/codegen/unix-fd-list/.dirs/home 1389s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-old_IAY3K2/gdbus/codegen/unix-fd-list/.dirs/cache 1389s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-old_IAY3K2/gdbus/codegen/unix-fd-list/.dirs/system-config1:/tmp/test_gdbus-test-codegen-old_IAY3K2/gdbus/codegen/unix-fd-list/.dirs/system-config2 1389s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-old_IAY3K2/gdbus/codegen/unix-fd-list/.dirs/config 1389s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-old_IAY3K2/gdbus/codegen/unix-fd-list/.dirs/system-data1:/tmp/test_gdbus-test-codegen-old_IAY3K2/gdbus/codegen/unix-fd-list/.dirs/system-data2 1389s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-old_IAY3K2/gdbus/codegen/unix-fd-list/.dirs/data 1389s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-old_IAY3K2/gdbus/codegen/unix-fd-list/.dirs/state 1389s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-old_IAY3K2/gdbus/codegen/unix-fd-list/.dirs/runtime 1389s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1726 1389s ok 8 /gdbus/codegen/unix-fd-list 1389s # End of codegen tests 1389s # End of gdbus tests 1389s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1389s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1389s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1389s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1389s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1389s ok - glib/gdbus-test-codegen-old.test 1389s # Running test: glib/array-test.test 1389s TAP version 13 1389s # random seed: R02S9d68b36d050fd287140e06413e562ebd 1389s 1..113 1389s # Start of array tests 1389s ok 1 /array/ref-count 1389s ok 2 /array/steal 1389s ok 3 /array/clear-func 1389s ok 4 /array/binary-search 1389s # /array/copy-sized summary: Test that copying a newly-allocated sized array works. 1389s ok 5 /array/copy-sized 1389s ok 6 /array/overflow-append-vals 1389s ok 7 /array/overflow-set-size 1389s # Start of new tests 1389s ok 8 /array/new/zero-terminated 1389s ok 9 /array/new/take 1389s ok 10 /array/new/take-zero-terminated 1389s # Start of take tests 1389s ok 11 /array/new/take/empty 1389s ok 12 /array/new/take/overflow # SKIP Overflow test requires UINT_WIDTH > SIZE_WIDTH. 1389s # End of take tests 1389s # End of new tests 1389s # Start of set-size tests 1389s ok 13 /array/set-size/non-zero-terminated-no-clear 1389s ok 14 /array/set-size/non-zero-terminated-clear 1389s ok 15 /array/set-size/zero-terminated-no-clear 1389s ok 16 /array/set-size/zero-terminated-clear 1389s # Start of sized tests 1389s ok 17 /array/set-size/sized/non-zero-terminated-no-clear 1389s ok 18 /array/set-size/sized/non-zero-terminated-clear 1389s ok 19 /array/set-size/sized/zero-terminated-no-clear 1389s ok 20 /array/set-size/sized/zero-terminated-clear 1389s # End of sized tests 1389s # End of set-size tests 1389s # Start of append-val tests 1389s ok 21 /array/append-val/non-zero-terminated-no-clear 1389s ok 22 /array/append-val/non-zero-terminated-clear 1389s ok 23 /array/append-val/zero-terminated-no-clear 1389s ok 24 /array/append-val/zero-terminated-clear 1389s # End of append-val tests 1389s # Start of prepend-val tests 1389s ok 25 /array/prepend-val/non-zero-terminated-no-clear 1389s ok 26 /array/prepend-val/non-zero-terminated-clear 1389s ok 27 /array/prepend-val/zero-terminated-no-clear 1389s ok 28 /array/prepend-val/zero-terminated-clear 1389s # End of prepend-val tests 1389s # Start of prepend-vals tests 1389s ok 29 /array/prepend-vals/non-zero-terminated-no-clear 1389s ok 30 /array/prepend-vals/non-zero-terminated-clear 1389s ok 31 /array/prepend-vals/zero-terminated-no-clear 1389s ok 32 /array/prepend-vals/zero-terminated-clear 1389s # End of prepend-vals tests 1389s # Start of insert-vals tests 1389s ok 33 /array/insert-vals/non-zero-terminated-no-clear 1389s ok 34 /array/insert-vals/non-zero-terminated-clear 1389s ok 35 /array/insert-vals/zero-terminated-no-clear 1389s ok 36 /array/insert-vals/zero-terminated-clear 1389s # End of insert-vals tests 1389s # Start of remove-index tests 1389s ok 37 /array/remove-index/non-zero-terminated-no-clear 1389s ok 38 /array/remove-index/non-zero-terminated-clear 1389s ok 39 /array/remove-index/zero-terminated-no-clear 1389s ok 40 /array/remove-index/zero-terminated-clear 1389s # End of remove-index tests 1389s # Start of remove-index-fast tests 1389s ok 41 /array/remove-index-fast/non-zero-terminated-no-clear 1389s ok 42 /array/remove-index-fast/non-zero-terminated-clear 1389s ok 43 /array/remove-index-fast/zero-terminated-no-clear 1389s ok 44 /array/remove-index-fast/zero-terminated-clear 1389s # End of remove-index-fast tests 1389s # Start of remove-range tests 1389s ok 45 /array/remove-range/non-zero-terminated-no-clear 1389s ok 46 /array/remove-range/non-zero-terminated-clear 1389s ok 47 /array/remove-range/zero-terminated-no-clear 1389s ok 48 /array/remove-range/zero-terminated-clear 1389s # End of remove-range tests 1389s # Start of copy tests 1389s ok 49 /array/copy/non-zero-terminated-no-clear 1389s ok 50 /array/copy/non-zero-terminated-clear 1389s ok 51 /array/copy/zero-terminated-no-clear 1389s ok 52 /array/copy/zero-terminated-clear 1389s # End of copy tests 1389s # Start of sort tests 1389s ok 53 /array/sort/non-zero-terminated-no-clear 1389s ok 54 /array/sort/non-zero-terminated-clear 1389s ok 55 /array/sort/zero-terminated-no-clear 1389s ok 56 /array/sort/zero-terminated-clear 1389s # End of sort tests 1389s # Start of sort-with-data tests 1389s ok 57 /array/sort-with-data/non-zero-terminated-no-clear 1389s ok 58 /array/sort-with-data/non-zero-terminated-clear 1389s ok 59 /array/sort-with-data/zero-terminated-no-clear 1389s ok 60 /array/sort-with-data/zero-terminated-clear 1389s # End of sort-with-data tests 1389s # End of array tests 1389s # Start of pointerarray tests 1389s ok 61 /pointerarray/add 1389s ok 62 /pointerarray/insert 1389s ok 63 /pointerarray/new-take 1389s ok 64 /pointerarray/new-take-null-terminated 1389s ok 65 /pointerarray/new-from-array 1389s ok 66 /pointerarray/new-from-null-terminated-array 1389s ok 67 /pointerarray/free-func 1389s ok 68 /pointerarray/array_extend_and_steal 1389s ok 69 /pointerarray/sort 1389s ok 70 /pointerarray/sort-with-data 1389s ok 71 /pointerarray/sort-values 1389s ok 72 /pointerarray/sort-values-with-data 1389s ok 73 /pointerarray/remove-range 1389s ok 74 /pointerarray/steal 1389s # Start of free tests 1389s # /pointerarray/free/null-terminated summary: Check that g_ptr_array_free() on an empty array returns a NULL-terminated empty array 1389s ok 75 /pointerarray/free/null-terminated 1389s # End of free tests 1389s # Start of new-take tests 1389s ok 76 /pointerarray/new-take/empty 1389s ok 77 /pointerarray/new-take/overflow # SKIP Overflow test requires UINT_WIDTH > SIZE_WIDTH. 1389s ok 78 /pointerarray/new-take/with-free-func 1389s # End of new-take tests 1389s # Start of new-take-null-terminated tests 1389s ok 79 /pointerarray/new-take-null-terminated/empty 1389s ok 80 /pointerarray/new-take-null-terminated/with-free-func 1389s ok 81 /pointerarray/new-take-null-terminated/from-gstrv 1389s # End of new-take-null-terminated tests 1389s # Start of new-from-array tests 1389s ok 82 /pointerarray/new-from-array/empty 1389s ok 83 /pointerarray/new-from-array/overflow # SKIP Overflow test requires UINT_WIDTH > SIZE_WIDTH. 1389s ok 84 /pointerarray/new-from-array/with-copy-and-free-func 1389s # End of new-from-array tests 1389s # Start of new-from-null-terminated-array tests 1389s ok 85 /pointerarray/new-from-null-terminated-array/empty 1389s ok 86 /pointerarray/new-from-null-terminated-array/with-copy-and-free-func 1389s ok 87 /pointerarray/new-from-null-terminated-array/from-gstrv 1389s # End of new-from-null-terminated-array tests 1389s # Start of ref-count tests 1389s ok 88 /pointerarray/ref-count/not-null-terminated 1389s ok 89 /pointerarray/ref-count/null-terminated 1389s # End of ref-count tests 1389s # Start of array_copy tests 1389s # /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 1389s ok 90 /pointerarray/array_copy/not-null-terminated 1389s # /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 1389s ok 91 /pointerarray/array_copy/null-terminated 1389s # End of array_copy tests 1389s # Start of array_extend tests 1389s ok 92 /pointerarray/array_extend/not-null-terminated 1389s ok 93 /pointerarray/array_extend/null-terminated 1389s # End of array_extend tests 1389s # Start of sort tests 1389s # /pointerarray/sort/example summary: Check that the doc-comment for g_ptr_array_sort() is correct 1389s ok 94 /pointerarray/sort/example 1389s # End of sort tests 1389s # Start of sort-with-data tests 1389s # /pointerarray/sort-with-data/example summary: Check that the doc-comment for g_ptr_array_sort_with_data() is correct 1389s ok 95 /pointerarray/sort-with-data/example 1389s # End of sort-with-data tests 1389s # Start of sort-values tests 1389s ok 96 /pointerarray/sort-values/example 1389s # End of sort-values tests 1389s # Start of sort-values-with-data tests 1389s ok 97 /pointerarray/sort-values-with-data/example 1389s # End of sort-values-with-data tests 1389s # Start of find tests 1389s ok 98 /pointerarray/find/empty 1389s ok 99 /pointerarray/find/non-empty 1389s # End of find tests 1389s # Start of steal_index tests 1389s ok 100 /pointerarray/steal_index/not-null-terminated 1389s ok 101 /pointerarray/steal_index/null-terminated 1389s # End of steal_index tests 1389s # End of pointerarray tests 1389s # Start of bytearray tests 1389s ok 102 /bytearray/steal 1389s ok 103 /bytearray/append 1389s ok 104 /bytearray/prepend 1389s ok 105 /bytearray/remove 1389s ok 106 /bytearray/remove-fast 1389s ok 107 /bytearray/remove-range 1389s ok 108 /bytearray/ref-count 1389s ok 109 /bytearray/sort 1389s ok 110 /bytearray/sort-with-data 1389s ok 111 /bytearray/new-take 1389s ok 112 /bytearray/new-take-overflow # SKIP Overflow test requires G_MAXSIZE > G_MAXUINT. 1389s ok 113 /bytearray/free-to-bytes 1389s # End of bytearray tests 1389s ok - glib/array-test.test 1389s # Running test: glib/type-flags.test 1389s TAP version 13 1389s # random seed: R02Sde0f934ee4852443a4fed0256aabf6c8 1389s 1..4 1389s # Start of type tests 1389s # Start of flags tests 1389s ok 1 /type/flags/interface 1389s ok 2 /type/flags/final 1389s # /type/flags/deprecated summary: Test that trying to instantiate a deprecated type results in a warning. 1389s ok 3 /type/flags/deprecated 1389s # Start of final tests 1389s ok 4 /type/flags/final/instance-check 1389s # End of final tests 1389s # End of flags tests 1389s # End of type tests 1389s ok - glib/type-flags.test 1389s # Running test: glib/gobject-query.py.test 1389s TAP version 13 1389s ok 1 __main__.TestGobjectQuery.test_froots 1389s # gobject-query: /usr/bin/gobject-query 1389s # Running: ['/usr/bin/gobject-query', 'froots'] 1389s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-baqskmurxn,guid=fbaffe99d0ccb1f6e1beb84865fc01cd', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.YcZbqk/autopkgtest_tmp', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.YcZbqk/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.YcZbqk/autopkgtest_tmp', 'TERM': 'unknown', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.YcZbqk/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.sVTVMp0Db0', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.rqZsJO/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.YcZbqk/wrapper.sh --artifacts=/tmp/autopkgtest.YcZbqk/installed-tests-artifacts --chdir=/tmp/autopkgtest.YcZbqk/build.S0E/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.YcZbqk/installed-tests-stderr --stdout=/tmp/autopkgtest.YcZbqk/installed-tests-stdout --tmp=/tmp/autopkgtest.YcZbqk/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2' --make-executable=/tmp/autopkgtest.YcZbqk/build.S0E/src/debian/tests/installed-tests -- /tmp/autopkgtest.YcZbqk/build.S0E/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.YcZbqk/build.S0E/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.YcZbqk/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1389s # Output: ├void 1389s # ├GInterface 1389s # │ └GTypePlugin 1389s # ├gchar 1389s # ├guchar 1389s # ├gboolean 1389s # ├gint 1389s # ├guint 1389s # ├glong 1389s # ├gulong 1389s # ├gint64 1389s # ├guint64 1389s # ├GEnum 1389s # ├GFlags 1389s # ├gfloat 1389s # ├gdouble 1389s # ├gchararray 1389s # ├gpointer 1389s # │ └GType 1389s # ├GBoxed 1389s # │ └GValueArray 1389s # ├GParam 1389s # │ ├GParamChar 1389s # │ ├GParamUChar 1389s # │ ├GParamBoolean 1389s # │ ├GParamInt 1389s # │ ├GParamUInt 1389s # │ ├GParamLong 1389s # │ ├GParamULong 1389s # │ ├GParamInt64 1389s # │ ├GParamUInt64 1389s # │ ├GParamUnichar 1389s # │ ├GParamEnum 1389s # │ ├GParamFlags 1389s # │ ├GParamFloat 1389s # │ ├GParamDouble 1389s # │ ├GParamString 1389s # │ ├GParamParam 1389s # │ ├GParamBoxed 1389s # │ ├GParamPointer 1389s # │ ├GParamValueArray 1389s # │ ├GParamObject 1389s # │ ├GParamOverride 1389s # │ ├GParamGType 1389s # │ └GParamVariant 1389s # ├GObject 1389s # └GVariant 1389s ok 2 __main__.TestGobjectQuery.test_help 1389s # gobject-query: /usr/bin/gobject-query 1389s # Running: ['/usr/bin/gobject-query', '--help'] 1389s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-baqskmurxn,guid=fbaffe99d0ccb1f6e1beb84865fc01cd', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.YcZbqk/autopkgtest_tmp', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.YcZbqk/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.YcZbqk/autopkgtest_tmp', 'TERM': 'unknown', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.YcZbqk/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.sVTVMp0Db0', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.rqZsJO/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.YcZbqk/wrapper.sh --artifacts=/tmp/autopkgtest.YcZbqk/installed-tests-artifacts --chdir=/tmp/autopkgtest.YcZbqk/build.S0E/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.YcZbqk/installed-tests-stderr --stdout=/tmp/autopkgtest.YcZbqk/installed-tests-stdout --tmp=/tmp/autopkgtest.YcZbqk/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2' --make-executable=/tmp/autopkgtest.YcZbqk/build.S0E/src/debian/tests/installed-tests -- /tmp/autopkgtest.YcZbqk/build.S0E/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.YcZbqk/build.S0E/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.YcZbqk/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1389s # Output: usage: gobject-query [-r ] [-{i|b} ""] [-s #] [-{h|x|y}] 1389s # -r specify root type 1389s # -n don't descend type tree 1389s # -h show help 1389s # -b specify indent string 1389s # -i specify incremental indent string 1389s # -s specify line spacing 1389s # qualifiers: 1389s # froots iterate over fundamental roots 1389s # tree print type tree 1389s ok 3 __main__.TestGobjectQuery.test_tree 1389s # gobject-query: /usr/bin/gobject-query 1389s # Running: ['/usr/bin/gobject-query', 'tree'] 1389s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-baqskmurxn,guid=fbaffe99d0ccb1f6e1beb84865fc01cd', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.YcZbqk/autopkgtest_tmp', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.YcZbqk/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.YcZbqk/autopkgtest_tmp', 'TERM': 'unknown', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.YcZbqk/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.sVTVMp0Db0', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.rqZsJO/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.YcZbqk/wrapper.sh --artifacts=/tmp/autopkgtest.YcZbqk/installed-tests-artifacts --chdir=/tmp/autopkgtest.YcZbqk/build.S0E/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.YcZbqk/installed-tests-stderr --stdout=/tmp/autopkgtest.YcZbqk/installed-tests-stdout --tmp=/tmp/autopkgtest.YcZbqk/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2' --make-executable=/tmp/autopkgtest.YcZbqk/build.S0E/src/debian/tests/installed-tests -- /tmp/autopkgtest.YcZbqk/build.S0E/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.YcZbqk/build.S0E/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.YcZbqk/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1389s # Output: GObject 1389s ok 4 __main__.TestGobjectQuery.test_version 1389s # gobject-query: /usr/bin/gobject-query 1389s # Running: ['/usr/bin/gobject-query', '--version'] 1389s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-baqskmurxn,guid=fbaffe99d0ccb1f6e1beb84865fc01cd', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.YcZbqk/autopkgtest_tmp', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.YcZbqk/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.YcZbqk/autopkgtest_tmp', 'TERM': 'unknown', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.YcZbqk/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.sVTVMp0Db0', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.rqZsJO/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.YcZbqk/wrapper.sh --artifacts=/tmp/autopkgtest.YcZbqk/installed-tests-artifacts --chdir=/tmp/autopkgtest.YcZbqk/build.S0E/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.YcZbqk/installed-tests-stderr --stdout=/tmp/autopkgtest.YcZbqk/installed-tests-stdout --tmp=/tmp/autopkgtest.YcZbqk/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2' --make-executable=/tmp/autopkgtest.YcZbqk/build.S0E/src/debian/tests/installed-tests -- /tmp/autopkgtest.YcZbqk/build.S0E/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.YcZbqk/build.S0E/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.YcZbqk/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1389s # Output: 2.79.2 1389s 1..4 1389s ok - glib/gobject-query.py.test 1389s # Running test: glib/gsocketclient-slow.test 1389s TAP version 13 1389s # random seed: R02Sa1c167171c11ee5119c23cf9f2776dcf 1389s 1..3 1389s # Start of socket-client tests 1389s # Start of happy-eyeballs tests 1389s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation dummy (GDummyProxyResolver) for ?gio-proxy-resolver? 1389s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x2aa36cd5ac0 and GSocketClientAsyncConnectData 0x2aa36ccf290 1389s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1389s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1389s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x2aa36cd71d0 for GSocketClientAsyncConnectData 0x2aa36ccf290 1389s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1390s # GLib-GIO-DEBUG: GSocketClient: Connection attempt delay reached, trying another enumeration 1390s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1390s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 1390s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 1390s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 1390s ok 1 /socket-client/happy-eyeballs/slow 1390s # slow test /socket-client/happy-eyeballs/slow executed in 0.60 secs 1390s # Start of cancellation tests 1390s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x2aa36cda8f0 and GSocketClientAsyncConnectData 0x2aa36cd69e0 1390s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1390s # GLib-GIO-DEBUG: GSocketClient: Connection failed: Operation was cancelled 1390s ok 2 /socket-client/happy-eyeballs/cancellation/instant 1390s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x2aa36cd96e0 and GSocketClientAsyncConnectData 0x2aa36ccf290 1390s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1390s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1390s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x2aa36cdb540 for GSocketClientAsyncConnectData 0x2aa36ccf290 1390s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1390s # GLib-GIO-DEBUG: GSocketClient: Connection attempt delay reached, trying another enumeration 1390s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1390s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 1390s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 1390s # GLib-GIO-DEBUG: GSocketClient: Connection cancelled! 1390s ok 3 /socket-client/happy-eyeballs/cancellation/delayed 1390s # slow test /socket-client/happy-eyeballs/cancellation/delayed executed in 0.60 secs 1390s # End of cancellation tests 1390s # End of happy-eyeballs tests 1390s # End of socket-client tests 1390s ok - glib/gsocketclient-slow.test 1390s # Running test: glib/boxed.test 1390s TAP version 13 1390s # random seed: R02S845dbca49b0e65193315274b06d87352 1390s 1..27 1390s # Start of boxed tests 1390s ok 1 /boxed/define 1390s ok 2 /boxed/ownership 1390s ok 3 /boxed/closure 1390s ok 4 /boxed/date 1390s ok 5 /boxed/value 1390s ok 6 /boxed/string 1390s ok 7 /boxed/hashtable 1390s ok 8 /boxed/array 1390s ok 9 /boxed/ptrarray 1390s ok 10 /boxed/regex 1390s ok 11 /boxed/varianttype 1390s ok 12 /boxed/error 1390s ok 13 /boxed/datetime 1390s ok 14 /boxed/matchinfo 1390s ok 15 /boxed/keyfile 1390s ok 16 /boxed/mainloop 1390s ok 17 /boxed/maincontext 1390s ok 18 /boxed/source 1390s ok 19 /boxed/variantbuilder 1390s ok 20 /boxed/timezone 1390s ok 21 /boxed/pollfd 1390s ok 22 /boxed/markup 1390s ok 23 /boxed/thread 1390s ok 24 /boxed/checksum 1390s ok 25 /boxed/tree 1390s ok 26 /boxed/patternspec 1390s ok 27 /boxed/rand 1390s # End of boxed tests 1390s ok - glib/boxed.test 1390s # Running test: glib/gdbus-error.test 1390s TAP version 13 1390s # random seed: R02Sff058c23a51d1e2a7b41afeb61d54db9 1390s 1..4 1390s # Start of gdbus tests 1390s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-error_5ZCPK2/gdbus/registered-errors/.dirs/home 1390s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-error_5ZCPK2/gdbus/registered-errors/.dirs/cache 1390s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-error_5ZCPK2/gdbus/registered-errors/.dirs/system-config1:/tmp/test_gdbus-error_5ZCPK2/gdbus/registered-errors/.dirs/system-config2 1390s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-error_5ZCPK2/gdbus/registered-errors/.dirs/config 1390s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-error_5ZCPK2/gdbus/registered-errors/.dirs/system-data1:/tmp/test_gdbus-error_5ZCPK2/gdbus/registered-errors/.dirs/system-data2 1390s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-error_5ZCPK2/gdbus/registered-errors/.dirs/data 1390s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-error_5ZCPK2/gdbus/registered-errors/.dirs/state 1390s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-error_5ZCPK2/gdbus/registered-errors/.dirs/runtime 1390s ok 1 /gdbus/registered-errors 1390s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-error_5ZCPK2/gdbus/unregistered-errors/.dirs/home 1390s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-error_5ZCPK2/gdbus/unregistered-errors/.dirs/cache 1390s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-error_5ZCPK2/gdbus/unregistered-errors/.dirs/system-config1:/tmp/test_gdbus-error_5ZCPK2/gdbus/unregistered-errors/.dirs/system-config2 1390s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-error_5ZCPK2/gdbus/unregistered-errors/.dirs/config 1390s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-error_5ZCPK2/gdbus/unregistered-errors/.dirs/system-data1:/tmp/test_gdbus-error_5ZCPK2/gdbus/unregistered-errors/.dirs/system-data2 1390s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-error_5ZCPK2/gdbus/unregistered-errors/.dirs/data 1390s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-error_5ZCPK2/gdbus/unregistered-errors/.dirs/state 1390s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-error_5ZCPK2/gdbus/unregistered-errors/.dirs/runtime 1390s ok 2 /gdbus/unregistered-errors 1390s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-error_5ZCPK2/gdbus/transparent-gerror/.dirs/home 1390s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-error_5ZCPK2/gdbus/transparent-gerror/.dirs/cache 1390s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-error_5ZCPK2/gdbus/transparent-gerror/.dirs/system-config1:/tmp/test_gdbus-error_5ZCPK2/gdbus/transparent-gerror/.dirs/system-config2 1390s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-error_5ZCPK2/gdbus/transparent-gerror/.dirs/config 1390s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-error_5ZCPK2/gdbus/transparent-gerror/.dirs/system-data1:/tmp/test_gdbus-error_5ZCPK2/gdbus/transparent-gerror/.dirs/system-data2 1390s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-error_5ZCPK2/gdbus/transparent-gerror/.dirs/data 1390s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-error_5ZCPK2/gdbus/transparent-gerror/.dirs/state 1390s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-error_5ZCPK2/gdbus/transparent-gerror/.dirs/runtime 1390s ok 3 /gdbus/transparent-gerror 1390s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-error_5ZCPK2/gdbus/register-error/.dirs/home 1390s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-error_5ZCPK2/gdbus/register-error/.dirs/cache 1390s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-error_5ZCPK2/gdbus/register-error/.dirs/system-config1:/tmp/test_gdbus-error_5ZCPK2/gdbus/register-error/.dirs/system-config2 1390s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-error_5ZCPK2/gdbus/register-error/.dirs/config 1390s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-error_5ZCPK2/gdbus/register-error/.dirs/system-data1:/tmp/test_gdbus-error_5ZCPK2/gdbus/register-error/.dirs/system-data2 1390s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-error_5ZCPK2/gdbus/register-error/.dirs/data 1390s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-error_5ZCPK2/gdbus/register-error/.dirs/state 1390s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-error_5ZCPK2/gdbus/register-error/.dirs/runtime 1390s ok 4 /gdbus/register-error 1390s # End of gdbus tests 1390s ok - glib/gdbus-error.test 1390s # Running test: glib/string.test 1390s TAP version 13 1390s # random seed: R02Sc45fc5562fd40cd0be01c90dd1c1afee 1390s 1..23 1390s # Start of string tests 1390s ok 1 /string/test-string-chunks 1390s ok 2 /string/test-string-chunk-insert 1390s ok 3 /string/test-string-new 1390s ok 4 /string/test-string-printf 1390s ok 5 /string/test-string-assign 1390s ok 6 /string/test-string-append-c 1390s ok 7 /string/test-string-append 1390s ok 8 /string/test-string-append-vprintf 1390s ok 9 /string/test-string-prepend-c 1390s ok 10 /string/test-string-prepend 1390s ok 11 /string/test-string-insert 1390s ok 12 /string/test-string-insert-unichar 1390s ok 13 /string/test-string-equal 1390s ok 14 /string/test-string-truncate 1390s ok 15 /string/test-string-overwrite 1390s ok 16 /string/test-string-nul-handling 1390s ok 17 /string/test-string-up-down 1390s ok 18 /string/test-string-set-size 1390s ok 19 /string/test-string-to-bytes 1390s # 0: Replacing "bar" with "baz" (limit 0) in "foo bar foo baz foo bar foobarbaz" 1390s # -> 3 replacements, "foo baz foo baz foo baz foobazbaz" 1390s # 1: Replacing "baz" with "bar" (limit 3) in "foo baz foo baz foo baz foobazbaz" 1390s # -> 3 replacements, "foo bar foo bar foo bar foobazbaz" 1390s # 2: Replacing "foobar" with "bar" (limit 1) in "foo bar foo bar foo bar foobazbaz" 1390s # -> 0 replacements, "foo bar foo bar foo bar foobazbaz" 1390s # 3: Replacing "a" with "abcdefghijkl" (limit 0) in "aaaaaaaa" 1390s # -> 8 replacements, "abcdefghijklabcdefghijklabcdefghijklabcdefghijklabcdefghijklabcdefghijklabcdefghijklabcdefghijkl" 1390s # 4: Replacing "$LIB" with "lib32" (limit 0) in "/usr/$LIB/libMangoHud.so" 1390s # -> 1 replacements, "/usr/lib32/libMangoHud.so" 1390s # 5: Replacing "o" with "" (limit 0) in "food for foals" 1390s # -> 4 replacements, "fd fr fals" 1390s # 6: Replacing "a" with "aaa" (limit 0) in "aaa" 1390s # -> 3 replacements, "aaaaaaaaa" 1390s # 7: Replacing "a" with "" (limit 0) in "aaa" 1390s # -> 3 replacements, "" 1390s # 8: Replacing "aa" with "bb" (limit 0) in "aaa" 1390s # -> 1 replacements, "bba" 1390s # 9: Replacing "" with "bar" (limit 0) in "foo" 1390s # -> 4 replacements, "barfbarobarobar" 1390s # 10: Replacing "" with "x" (limit 0) in "" 1390s # -> 1 replacements, "x" 1390s # 11: Replacing "" with "" (limit 0) in "" 1390s # -> 1 replacements, "" 1390s ok 20 /string/test-string-replace 1390s ok 21 /string/test-string-steal 1390s ok 22 /string/test-string-new-take 1390s # Start of test-string-new-take tests 1390s ok 23 /string/test-string-new-take/null 1390s # End of test-string-new-take tests 1390s # End of string tests 1390s ok - glib/string.test 1390s # Running test: glib/rec-mutex.test 1390s TAP version 13 1390s # random seed: R02Sbb2b98180b987ddf97cae6dc632d3e61 1390s 1..29 1390s # Start of thread tests 1390s ok 1 /thread/rec-mutex1 1390s ok 2 /thread/rec-mutex2 1390s ok 3 /thread/rec-mutex3 1390s ok 4 /thread/rec-mutex4 1390s # Start of rec-mutex tests 1390s # Start of perf tests 1390s # Start of uncontended tests 1390s # max perf: 1.000000 mips 1390s ok 5 /thread/rec-mutex/perf/uncontended/depth1 1390s # max perf: inf mips 1390s ok 6 /thread/rec-mutex/perf/uncontended/depth2 1390s # max perf: inf mips 1390s ok 7 /thread/rec-mutex/perf/uncontended/depth3 1390s # max perf: inf mips 1390s ok 8 /thread/rec-mutex/perf/uncontended/depth4 1390s # max perf: 1.000000 mips 1390s ok 9 /thread/rec-mutex/perf/uncontended/depth5 1390s # End of uncontended tests 1390s # Start of contended1 tests 1390s # max perf: inf mips 1390s ok 10 /thread/rec-mutex/perf/contended1/depth1 1390s # max perf: 2.000000 mips 1390s ok 11 /thread/rec-mutex/perf/contended1/depth2 1390s # max perf: inf mips 1390s ok 12 /thread/rec-mutex/perf/contended1/depth3 1390s # max perf: 2.000000 mips 1390s ok 13 /thread/rec-mutex/perf/contended1/depth4 1390s # max perf: inf mips 1390s ok 14 /thread/rec-mutex/perf/contended1/depth5 1390s # End of contended1 tests 1390s # Start of contended2 tests 1390s # max perf: inf mips 1390s ok 15 /thread/rec-mutex/perf/contended2/depth1 1390s # max perf: inf mips 1390s ok 16 /thread/rec-mutex/perf/contended2/depth2 1390s # max perf: inf mips 1390s ok 17 /thread/rec-mutex/perf/contended2/depth3 1390s # max perf: inf mips 1390s ok 18 /thread/rec-mutex/perf/contended2/depth4 1390s # max perf: inf mips 1390s ok 19 /thread/rec-mutex/perf/contended2/depth5 1390s # End of contended2 tests 1390s # Start of contended3 tests 1390s # max perf: inf mips 1390s ok 20 /thread/rec-mutex/perf/contended3/depth1 1390s # max perf: inf mips 1390s ok 21 /thread/rec-mutex/perf/contended3/depth2 1390s # max perf: 4.000000 mips 1390s ok 22 /thread/rec-mutex/perf/contended3/depth3 1390s # max perf: 4.000000 mips 1390s ok 23 /thread/rec-mutex/perf/contended3/depth4 1390s # max perf: 4.000000 mips 1390s ok 24 /thread/rec-mutex/perf/contended3/depth5 1390s # End of contended3 tests 1390s # Start of contended4 tests 1390s # max perf: inf mips 1390s ok 25 /thread/rec-mutex/perf/contended4/depth1 1390s # max perf: inf mips 1390s ok 26 /thread/rec-mutex/perf/contended4/depth2 1390s # max perf: inf mips 1390s ok 27 /thread/rec-mutex/perf/contended4/depth3 1390s # max perf: 5.000000 mips 1390s ok 28 /thread/rec-mutex/perf/contended4/depth4 1390s # max perf: 5.000000 mips 1390s ok 29 /thread/rec-mutex/perf/contended4/depth5 1390s # End of contended4 tests 1390s # End of perf tests 1390s # End of rec-mutex tests 1390s # End of thread tests 1390s ok - glib/rec-mutex.test 1390s # Running test: glib/properties-refcount4.test 1390s TAP version 13 1390s # random seed: R02Sab6d15b5eb333255918d3b7708afbea8 1390s 1..1 1390s # Start of gobject tests 1390s # Start of refcount tests 1390s ok 1 /gobject/refcount/properties-4 1390s # End of refcount tests 1390s # End of gobject tests 1390s ok - glib/properties-refcount4.test 1390s # Running test: glib/spawn-path-search.test 1390s TAP version 13 1390s # random seed: R02S8f922b13ee71ad5a439466f4d98baa7c 1390s 1..7 1390s # Start of spawn tests 1390s # /spawn/do-not-search summary: Without G_SPAWN_SEARCH_PATH, spawn-test-helper means ./spawn-test-helper. 1390s # 1390s # this is spawn-test-helper from glib/tests 1390s # 1390s ok 1 /spawn/do-not-search 1390s # /spawn/search-path summary: With G_SPAWN_SEARCH_PATH, spawn-test-helper means $PATH/spawn-test-helper. 1390s # 1390s # this is spawn-test-helper from path-test-subdir 1390s # 1390s ok 2 /spawn/search-path 1390s # /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. 1390s # 1390s # this is spawn-test-helper from path-test-subdir 1390s # 1390s ok 3 /spawn/search-path-from-envp 1390s # /spawn/search-path-ambiguous summary: With G_SPAWN_SEARCH_PATH and G_SPAWN_SEARCH_PATH_FROM_ENVP, the latter wins. 1390s # 1390s # this is spawn-test-helper from path-test-subdir 1390s # 1390s ok 4 /spawn/search-path-ambiguous 1390s # 1390s # this is spawn-test-helper from path-test-subdir 1390s # 1390s ok 5 /spawn/search-path-heap-allocation 1390s # /spawn/search-path-fallback-in-environ summary: With G_SPAWN_SEARCH_PATH but no PATH, a fallback is used. 1390s # 1390s # this is spawn-test-helper from glib/tests 1390s # 1390s ok 6 /spawn/search-path-fallback-in-environ 1390s # /spawn/search-path-fallback-in-envp summary: With G_SPAWN_SEARCH_PATH_FROM_ENVP but no PATH, a fallback is used. 1390s # 1390s # this is spawn-test-helper from glib/tests 1390s # 1390s ok 7 /spawn/search-path-fallback-in-envp 1390s # End of spawn tests 1390s ok - glib/spawn-path-search.test 1390s # Running test: glib/unix-streams.test 1390s TAP version 13 1390s # random seed: R02S5e54bbdcd78ec84239d6647878cf3064 1390s 1..9 1390s # Start of unix-streams tests 1390s ok 1 /unix-streams/basic 1391s ok 2 /unix-streams/pipe-io-test 1391s # slow test /unix-streams/pipe-io-test executed in 0.50 secs 1391s ok 3 /unix-streams/nonblocking-io-test 1391s # slow test /unix-streams/nonblocking-io-test executed in 0.50 secs 1391s ok 4 /unix-streams/read_write 1391s ok 5 /unix-streams/read_writev 1391s ok 6 /unix-streams/write-wouldblock 1391s ok 7 /unix-streams/writev-wouldblock 1391s ok 8 /unix-streams/write-async-wouldblock 1391s ok 9 /unix-streams/writev-async-wouldblock 1391s # End of unix-streams tests 1391s ok - glib/unix-streams.test 1391s # Running test: glib/macros-c-99.test 1391s TAP version 13 1391s # random seed: R02S43366782c4708c4a86bd01cd169c41b4 1391s 1..4 1391s # Start of C tests 1391s ok 1 /C/standard-99 1391s # End of C tests 1391s # Start of alignof tests 1391s ok 2 /alignof/fallback 1391s # End of alignof tests 1391s # Start of assert tests 1391s ok 3 /assert/static 1391s # End of assert tests 1391s # Start of struct tests 1391s ok 4 /struct/sizeof_member 1391s # End of struct tests 1391s ok - glib/macros-c-99.test 1391s # Running test: glib/strfuncs.test 1391s TAP version 13 1391s # random seed: R02S0bd72acb0d542627e9c25129307292eb 1391s 1..50 1391s # Start of strfuncs tests 1391s ok 1 /strfuncs/ascii-strcasecmp 1391s ok 2 /strfuncs/ascii_strdown 1391s ok 3 /strfuncs/ascii_strdup 1391s ok 4 /strfuncs/ascii_strtod 1391s ok 5 /strfuncs/bounds-check 1391s ok 6 /strfuncs/has-prefix 1391s ok 7 /strfuncs/has-prefix-macro 1391s ok 8 /strfuncs/has-suffix 1391s ok 9 /strfuncs/has-suffix-macro 1391s ok 10 /strfuncs/memdup 1391s ok 11 /strfuncs/memdup2 1391s ok 12 /strfuncs/set_str 1391s ok 13 /strfuncs/stpcpy 1391s ok 14 /strfuncs/str_match_string 1391s ok 15 /strfuncs/str_tokenize_and_fold 1391s ok 16 /strfuncs/strcanon 1391s ok 17 /strfuncs/strchomp 1391s ok 18 /strfuncs/strchug 1391s ok 19 /strfuncs/strcompress-strescape 1391s ok 20 /strfuncs/strconcat 1391s ok 21 /strfuncs/strdelimit 1391s ok 22 /strfuncs/strdup 1391s ok 23 /strfuncs/strdup-printf 1391s ok 24 /strfuncs/strdupv 1391s ok 25 /strfuncs/strerror 1391s ok 26 /strfuncs/strip-context 1391s ok 27 /strfuncs/strjoin 1391s ok 28 /strfuncs/strjoinv 1391s ok 29 /strfuncs/strlcat 1391s ok 30 /strfuncs/strlcpy 1391s ok 31 /strfuncs/strncasecmp 1391s ok 32 /strfuncs/strndup 1391s ok 33 /strfuncs/strnfill 1391s ok 34 /strfuncs/strreverse 1391s ok 35 /strfuncs/strsignal 1391s ok 36 /strfuncs/strsplit 1391s ok 37 /strfuncs/strsplit-set 1391s ok 38 /strfuncs/strstr 1391s ok 39 /strfuncs/strtod 1391s ok 40 /strfuncs/strtoull-strtoll 1391s ok 41 /strfuncs/strup 1391s ok 42 /strfuncs/strv-contains 1391s ok 43 /strfuncs/strv-equal 1391s ok 44 /strfuncs/strv-length 1391s ok 45 /strfuncs/test-is-to-digit 1391s ok 46 /strfuncs/transliteration 1391s # /strfuncs/str-equal summary: Test macro and function forms of g_str_equal() 1391s ok 47 /strfuncs/str-equal 1391s # Start of ascii-string-to-num tests 1391s ok 48 /strfuncs/ascii-string-to-num/pathological 1391s ok 49 /strfuncs/ascii-string-to-num/usual 1391s # End of ascii-string-to-num tests 1391s # Start of strdup tests 1391s ok 50 /strfuncs/strdup/inline 1391s # End of strdup tests 1391s # End of strfuncs tests 1391s ok - glib/strfuncs.test 1391s # Running test: glib/utils-c-90.test 1391s TAP version 13 1391s # random seed: R02Sfffd3f33b6af8796ea0ab81a7335c335 1391s 1..40 1391s # Start of utils tests 1391s ok 1 /utils/language-names 1391s ok 2 /utils/locale-variants 1391s ok 3 /utils/version 1391s ok 4 /utils/appname 1391s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/847 1391s # /utils/prgname-thread-safety summary: Test that threads racing to get and set the program name always receive a valid program name. 1391s ok 5 /utils/prgname-thread-safety 1391s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=627969 1391s # /utils/tmpdir summary: Test that g_get_tmp_dir() returns a correct default if TMPDIR is set to the empty string 1391s ok 6 /utils/tmpdir 1391s ok 7 /utils/basic_bits 1391s ok 8 /utils/bits 1391s ok 9 /utils/swap 1391s ok 10 /utils/find-program 1391s ok 11 /utils/find-program-for-path 1391s ok 12 /utils/debug 1391s ok 13 /utils/codeset 1391s ok 14 /utils/codeset2 1391s ok 15 /utils/console-charset 1391s ok 16 /utils/gettext 1391s ok 17 /utils/username 1391s ok 18 /utils/realname 1391s ok 19 /utils/hostname 1391s ok 20 /utils/xdgdirs 1391s ok 21 /utils/specialdir 1391s # NAME: Ubuntu 1391s ok 22 /utils/os-info 1391s ok 23 /utils/clear-pointer 1391s ok 24 /utils/clear-pointer-cast 1391s ok 25 /utils/take-pointer 1391s ok 26 /utils/clear-source 1391s ok 27 /utils/misc-mem 1391s # /utils/aligned-mem summary: Aligned memory allocator 1391s # Alignment must not be zero 1391s # Alignment must be a power of two 1391s # Alignment must be a multiple of sizeof(void*) 1391s ok 28 /utils/aligned-mem 1391s # /utils/free-sized summary: Check that g_free_sized() works 1391s ok 29 /utils/free-sized 1391s ok 30 /utils/nullify 1391s ok 31 /utils/atexit 1391s ok 32 /utils/check-setuid 1391s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1663 1391s ok 33 /utils/int-limits 1391s ok 34 /utils/clear-list 1391s ok 35 /utils/clear-slist 1391s # Start of specialdir tests 1391s ok 36 /utils/specialdir/desktop 1391s # End of specialdir tests 1391s # Start of clear-pointer tests 1391s ok 37 /utils/clear-pointer/side-effects 1391s # End of clear-pointer tests 1391s # Start of aligned-mem tests 1391s # /utils/aligned-mem/alignment summary: Check that g_aligned_alloc() returns a correctly aligned pointer 1391s ok 38 /utils/aligned-mem/alignment 1391s # /utils/aligned-mem/zeroed summary: Check that g_aligned_alloc0() zeroes out its allocation 1391s ok 39 /utils/aligned-mem/zeroed 1391s # /utils/aligned-mem/free-sized summary: Check that g_aligned_free_sized() works 1391s ok 40 /utils/aligned-mem/free-sized 1391s # Start of subprocess tests 1391s # End of subprocess tests 1391s # End of aligned-mem tests 1391s # End of utils tests 1391s ok - glib/utils-c-90.test 1391s # Running test: glib/g-icon.test 1391s TAP version 13 1391s # random seed: R02S87f79afdc85c65e5f784dbfa8b9d0a02 1391s 1..6 1391s # Start of icons tests 1391s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 1391s ok 1 /icons/to-string 1391s ok 2 /icons/serialize 1391s ok 3 /icons/themed 1391s ok 4 /icons/emblemed 1391s ok 5 /icons/file 1391s ok 6 /icons/bytes 1391s # End of icons tests 1391s ok - glib/g-icon.test 1391s # Running test: glib/signalgroup.test 1391s TAP version 13 1391s # random seed: R02S77dad341f7229ef33b36398f2ab9c88a 1391s 1..9 1391s # Start of GObject tests 1391s # Start of SignalGroup tests 1391s ok 1 /GObject/SignalGroup/invalid 1391s ok 2 /GObject/SignalGroup/simple 1391s ok 3 /GObject/SignalGroup/changing-target 1391s ok 4 /GObject/SignalGroup/blocking 1391s ok 5 /GObject/SignalGroup/weak-ref-target 1391s ok 6 /GObject/SignalGroup/connect-object 1391s ok 7 /GObject/SignalGroup/signal-parsing 1391s ok 8 /GObject/SignalGroup/properties 1391s ok 9 /GObject/SignalGroup/interface 1391s # Start of signal-parsing tests 1391s # End of signal-parsing tests 1391s # End of SignalGroup tests 1391s # End of GObject tests 1391s ok - glib/signalgroup.test 1391s # Running test: glib/refstring.test 1391s TAP version 13 1391s # random seed: R02S07f7a5061438bbbcef3b1cd5e6810a2f 1391s 1..5 1391s # Start of refstring tests 1391s # s = 'hello, world' (0x2aa1ccec5b0) 1391s ok 1 /refstring/base 1391s ok 2 /refstring/length 1391s ok 3 /refstring/length-auto 1391s ok 4 /refstring/length-nuls 1391s # s = 'hello, world' (0x2aa1ccec5b0) 1391s # p = s = 'hello, world' (0x2aa1ccec5b0) 1391s # releasing p[0x2aa1ccec5b0] ('hello, world') 1391s # p = 'goodbye, world' (0x2aa1ccec680) 1391s # releasing p[0x2aa1ccec680] ('goodbye, world') 1391s # releasing s[0x2aa1ccec5b0] ('hello, world') 1391s ok 5 /refstring/intern 1391s # End of refstring tests 1391s ok - glib/refstring.test 1391s # Running test: glib/unix-mounts.test 1391s TAP version 13 1391s # random seed: R02S54e2e3bd4391755b734f02432f306100 1391s 1..2 1391s # Start of unix-mounts tests 1391s ok 1 /unix-mounts/is-system-fs-type 1391s ok 2 /unix-mounts/is-system-device-path 1391s # End of unix-mounts tests 1391s ok - glib/unix-mounts.test 1391s # Running test: glib/cxx-03.test 1391s TAP version 13 1391s # random seed: R02S406f0dd78254abeb06e60f306f7de635 1391s 1..2 1391s # Start of gtask tests 1391s # 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. 1391s ok 1 /gtask/name 1391s # Start of name tests 1391s # 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. 1391s ok 2 /gtask/name/macro-wrapper 1391s # End of name tests 1391s # End of gtask tests 1391s ok - glib/cxx-03.test 1391s # Running test: glib/module-test-plugin.test 1391s TAP version 13 1391s # random seed: R02S2e344fef425c7cc17100ca97a3d3a1e8 1391s 1..2 1391s # Start of module tests 1391s ok 1 /module/basics 1391s # /module/invalid-libtool-archive summary: Test that opening an invalid .la file fails 1391s ok 2 /module/invalid-libtool-archive 1391s # End of module tests 1391s ok - glib/module-test-plugin.test 1391s # Running test: glib/list.test 1391s TAP version 13 1391s # random seed: R02Sb886a1dca9b3c129da4a9c5732e2403f 1391s 1..20 1391s # Start of list tests 1391s ok 1 /list/sort 1391s ok 2 /list/sort-with-data 1391s ok 3 /list/insert-before-link 1391s ok 4 /list/insert-sorted 1391s ok 5 /list/insert-sorted-with-data 1391s ok 6 /list/reverse 1391s ok 7 /list/nth 1391s ok 8 /list/concat 1391s ok 9 /list/remove 1391s ok 10 /list/remove-all 1391s ok 11 /list/first-last 1391s ok 12 /list/insert 1391s ok 13 /list/free-full 1391s ok 14 /list/copy 1391s ok 15 /list/copy-deep 1391s ok 16 /list/delete-link 1391s ok 17 /list/prepend 1391s ok 18 /list/position 1391s ok 19 /list/double-free 1391s # Start of sort tests 1391s ok 20 /list/sort/stable 1391s # End of sort tests 1391s # End of list tests 1391s ok - glib/list.test 1391s # Running test: glib/inet-address.test 1391s TAP version 13 1391s # random seed: R02Sc9b73496b2f0c242192fe98e2dd7289e 1391s 1..11 1391s # Start of inet-address tests 1391s ok 1 /inet-address/parse 1391s ok 2 /inet-address/any 1391s ok 3 /inet-address/loopback 1391s ok 4 /inet-address/bytes 1391s ok 5 /inet-address/property 1391s # End of inet-address tests 1391s # Start of socket-address tests 1391s ok 6 /socket-address/basic 1391s ok 7 /socket-address/to-string 1391s # End of socket-address tests 1391s # Start of address-mask tests 1391s ok 8 /address-mask/parse 1391s ok 9 /address-mask/property 1391s ok 10 /address-mask/equal 1391s ok 11 /address-mask/match 1391s # End of address-mask tests 1391s ok - glib/inet-address.test 1391s # Running test: glib/tls-bindings.test 1391s TAP version 13 1391s # random seed: R02S0a24a1946b1b8226be20ee03729efe76 1391s 1..2 1391s # Start of tls-connection tests 1391s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation test (GTestTlsBackend) for ?gio-tls-backend? 1391s ok 1 /tls-connection/get-tls-channel-binding 1391s ok 2 /tls-connection/get-dtls-channel-binding 1391s # End of tls-connection tests 1391s ok - glib/tls-bindings.test 1391s # Running test: glib/object-info.test 1391s TAP version 13 1391s # random seed: R02S8ea0f7824b79da684969a7de84f4386b 1391s 1..2 1391s # Start of object-info tests 1391s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_object-info_4WKJK2/object-info/find-method-using-interfaces/.dirs/home 1391s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_object-info_4WKJK2/object-info/find-method-using-interfaces/.dirs/cache 1391s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_object-info_4WKJK2/object-info/find-method-using-interfaces/.dirs/system-config1:/tmp/test_object-info_4WKJK2/object-info/find-method-using-interfaces/.dirs/system-config2 1391s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_object-info_4WKJK2/object-info/find-method-using-interfaces/.dirs/config 1391s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_object-info_4WKJK2/object-info/find-method-using-interfaces/.dirs/system-data1:/tmp/test_object-info_4WKJK2/object-info/find-method-using-interfaces/.dirs/system-data2 1391s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_object-info_4WKJK2/object-info/find-method-using-interfaces/.dirs/data 1391s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_object-info_4WKJK2/object-info/find-method-using-interfaces/.dirs/state 1391s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_object-info_4WKJK2/object-info/find-method-using-interfaces/.dirs/runtime 1391s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1391s ok 1 /object-info/find-method-using-interfaces 1391s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_object-info_4WKJK2/object-info/find-vfunc-using-interfaces/.dirs/home 1391s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_object-info_4WKJK2/object-info/find-vfunc-using-interfaces/.dirs/cache 1391s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_object-info_4WKJK2/object-info/find-vfunc-using-interfaces/.dirs/system-config1:/tmp/test_object-info_4WKJK2/object-info/find-vfunc-using-interfaces/.dirs/system-config2 1391s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_object-info_4WKJK2/object-info/find-vfunc-using-interfaces/.dirs/config 1391s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_object-info_4WKJK2/object-info/find-vfunc-using-interfaces/.dirs/system-data1:/tmp/test_object-info_4WKJK2/object-info/find-vfunc-using-interfaces/.dirs/system-data2 1391s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_object-info_4WKJK2/object-info/find-vfunc-using-interfaces/.dirs/data 1391s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_object-info_4WKJK2/object-info/find-vfunc-using-interfaces/.dirs/state 1391s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_object-info_4WKJK2/object-info/find-vfunc-using-interfaces/.dirs/runtime 1391s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1391s ok 2 /object-info/find-vfunc-using-interfaces 1391s # End of object-info tests 1391s ok - glib/object-info.test 1391s # Running test: glib/cxx-14.test 1391s TAP version 13 1391s # random seed: R02S168942627624a82626180ef5c54fcfbf 1391s 1..2 1391s # Start of gtask tests 1391s # 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. 1391s ok 1 /gtask/name 1391s # Start of name tests 1391s # 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. 1391s ok 2 /gtask/name/macro-wrapper 1391s # End of name tests 1391s # End of gtask tests 1391s ok - glib/cxx-14.test 1391s # Running test: glib/performance-threaded.test 1391s Running test "liststore-is-a" 1392s # Executing: glib/performance-threaded.test 1392s 6130 runs, min/avg/max = 0.106/0.163/4.478 ms 1392s Running test "liststore-interface-peek" 1393s 18975 runs, min/avg/max = 0.050/0.053/0.414 ms 1393s Running test "liststore-interface-peek-same" 1394s 18992 runs, min/avg/max = 0.049/0.053/1.038 ms 1394s ok - glib/performance-threaded.test 1394s # Running test: glib/properties-refcount1.test 1394s TAP version 13 1394s # random seed: R02Sda9e834223f64889315806ec5bf43e26 1394s 1..1 1394s # Start of gobject tests 1394s # Start of refcount tests 1394s # .c 1394s # .c 1394s # .c 1394s # .b 1394s # .f 1394s # .c 1394s # .e 1394s # .d 1394s # .d 1394s # .e 1395s # .b 1395s # .f 1395s # .f 1395s # .b 1395s # .c 1395s # .c 1395s # .d 1395s # .b 1395s # .e 1395s # .f 1395s # .c 1395s # .c 1395s # .c 1395s # .c 1395s # .d 1395s # .f 1395s # .e 1395s # .b 1395s # .b 1395s # .c 1395s # .c 1395s # .d 1395s # .d 1395s # .e 1395s # .f 1395s # .c 1395s # .b 1395s # .f 1395s # .e 1395s # .e 1395s # .b 1395s # .c 1395s # .d 1395s # .f 1395s # .f 1395s # .c 1395s # .d 1395s # .d 1395s # .d 1395s # .f 1395s # .f 1395s # .d 1395s # .b 1395s # .e 1395s # .c 1395s # .e 1395s # .d 1395s # .b 1395s # .d 1395s # .f 1395s # .c 1395s # .f 1395s # .e 1395s # .b 1395s # .b 1395s # .d 1395s # .c 1395s # .b 1395s # .e 1395s # .e 1395s # .b 1395s # .c 1395s # .f 1395s # .d 1395s # .d 1395s # .d 1395s # .d 1395s # .c 1395s # .f 1395s # .f 1395s # .b 1395s # .e 1395s # .c 1395s # .d 1395s # .d 1395s # .d 1395s # .e 1395s # .f 1395s # .f 1395s # .c 1395s # .b 1395s # .d 1395s # .d 1395s # .e 1395s # .c 1395s # .f 1395s # .b 1395s # .d 1395s # .d 1395s # .f 1395s # .f 1395s # .e 1395s # .e 1395s # .d 1395s # .d 1395s # .b 1395s # .c 1395s # .c 1395s # .b 1395s # .b 1395s # .e 1395s # .f 1395s # .f 1395s # .d 1395s # .d 1395s # .c 1395s # .c 1395s # .f 1395s # .e 1395s # .e 1395s # .d 1395s # .b 1395s # .d 1396s # .f 1396s # .f 1396s # .e 1396s # .c 1396s # .b 1396s # .d 1396s # .d 1396s # .f 1396s # .b 1396s # .c 1396s # .e 1396s # .e 1396s # .e 1396s # .b 1396s # .e 1396s # .d 1396s # .d 1396s # .c 1396s # .c 1396s # .f 1396s # .e 1396s # .b 1396s # .e 1396s # .d 1396s # .d 1396s # .d 1396s # .b 1396s # .d 1396s # .c 1396s # .f 1396s # .f 1396s # .e 1396s # .b 1396s # .e 1396s # .f 1396s # .b 1396s # .b 1396s # .b 1396s # .d 1396s # .c 1396s # .f 1396s # .e 1396s # .e 1396s # .d 1396s # .d 1396s # .c 1396s # .d 1396s # .f 1396s # .b 1396s # .e 1396s # .c 1396s # .c 1396s # .c 1396s # .b 1396s # .b 1396s # .c 1396s # .f 1396s # .b 1396s # .f 1396s # .e 1396s # .d 1396s # .d 1396s # .c 1396s # .e 1396s # .e 1396s # .e 1396s # .b 1396s # .b 1396s # .f 1396s # .c 1396s # .c 1396s # .e 1396s # .e 1396s # .d 1396s # .f 1396s # .d 1396s # .e 1396s # .f 1396s # .d 1396s # .b 1396s # .b 1396s # .d 1396s # .c 1396s # .e 1396s # .f 1396s # .d 1396s # .d 1396s # .e 1396s # .e 1396s # .d 1396s # .d 1396s # .b 1396s # .c 1396s # .f 1396s # .e 1396s # .f 1396s # .f 1396s # .c 1396s # .f 1396s # .e 1396s # .b 1396s # .d 1396s # .c 1396s # .f 1396s # .e 1396s # .e 1396s # .c 1396s # .c 1396s # .d 1396s # .f 1397s # .d 1397s # .b 1397s # .e 1397s # .f 1397s # .f 1397s # .e 1397s # .c 1397s # .b 1397s # .c 1397s # .d 1397s # .d 1397s # .b 1397s # .f 1397s # .e 1397s # .d 1397s # .f 1397s # .c 1397s # .c 1397s # .c 1397s # .d 1397s # .d 1397s # .b 1397s # .e 1397s # .f 1397s # .d 1397s # .c 1397s # .c 1397s # .f 1397s # .e 1397s # .e 1397s # .f 1397s # .f 1397s # .d 1397s # .d 1397s # .e 1397s # .c 1397s # .b 1397s # .e 1397s # Executing: glib/properties-refcount1.test 1397s # .e 1397s # .c 1397s # .f 1397s # .f 1397s # .b 1397s # .e 1397s # .d 1397s # .d 1397s # .f 1397s # .c 1397s # .e 1397s # .b 1397s # .e 1397s # .e 1397s # .e 1397s # .d 1397s # .b 1397s # .f 1397s # .c 1397s # .d 1397s # .e 1397s # .f 1397s # .c 1397s # .b 1397s # .e 1397s # .d 1397s # .c 1397s # .f 1397s # .b 1397s # .e 1397s # .d 1397s # .b 1397s # .c 1397s # .f 1397s # .d 1397s # .f 1397s # .e 1397s # .c 1397s # .d 1397s # .b 1397s # .e 1397s ok 1 /gobject/refcount/properties-1 1397s # slow test /gobject/refcount/properties-1 executed in 3.00 secs 1397s # End of refcount tests 1397s # End of gobject tests 1397s ok - glib/properties-refcount1.test 1397s # Running test: glib/gdbus-server-auth.test 1397s TAP version 13 1397s # random seed: R02Scc9b4aab96e1255cd994fd9759221686 1397s 1..9 1397s # Start of gdbus tests 1397s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_1FMKK2/gdbus/server-auth/.dirs/home 1397s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_1FMKK2/gdbus/server-auth/.dirs/cache 1397s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_1FMKK2/gdbus/server-auth/.dirs/system-config1:/tmp/test_gdbus-server-auth_1FMKK2/gdbus/server-auth/.dirs/system-config2 1397s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_1FMKK2/gdbus/server-auth/.dirs/config 1397s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_1FMKK2/gdbus/server-auth/.dirs/system-data1:/tmp/test_gdbus-server-auth_1FMKK2/gdbus/server-auth/.dirs/system-data2 1397s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_1FMKK2/gdbus/server-auth/.dirs/data 1397s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_1FMKK2/gdbus/server-auth/.dirs/state 1397s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_1FMKK2/gdbus/server-auth/.dirs/runtime 1397s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_1FMKK2/gdbus-server-auth-SHOKK2 / libdbus client, with flags: external:false anonymous:false sha1:false abstract:false tcp:false 1397s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_1FMKK2/gdbus-server-auth-SHOKK2/dbus-HiNTOHpn 1397s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1397s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1397s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1397s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=6465,uid=1000,gid=1000 1397s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=6465,uid=1000,gid=1000 1397s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 6465 1397s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1397s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1397s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1397s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1397s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=6465,uid=1000,gid=1000 1397s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=6465,uid=1000,gid=1000 1397s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 6465 1397s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1397s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1397s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1397s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1397s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=6465,uid=1000,gid=1000 1397s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=6465,uid=1000,gid=1000 1397s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 6465 1397s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1397s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1397s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1397s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1397s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=6465,uid=1000,gid=1000 1397s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=6465,uid=1000,gid=1000 1397s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 6465 1397s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1397s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1397s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1397s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1397s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=6465,uid=1000,gid=1000 1397s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=6465,uid=1000,gid=1000 1397s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 6465 1397s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1397s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1397s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1397s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1397s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=6465,uid=1000,gid=1000 1397s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=6465,uid=1000,gid=1000 1397s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 6465 1397s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1397s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1397s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1397s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1397s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=6465,uid=1000,gid=1000 1397s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=6465,uid=1000,gid=1000 1397s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 6465 1397s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1397s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1397s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1397s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1397s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=6465,uid=1000,gid=1000 1397s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=6465,uid=1000,gid=1000 1397s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 6465 1397s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1397s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1397s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1397s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1397s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=6465,uid=1000,gid=1000 1397s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=6465,uid=1000,gid=1000 1397s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 6465 1397s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1397s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1397s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1397s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1397s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=6465,uid=1000,gid=1000 1397s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=6465,uid=1000,gid=1000 1397s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 6465 1397s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1397s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1397s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1397s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1397s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=6465,uid=1000,gid=1000 1397s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=6465,uid=1000,gid=1000 1397s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 6465 1397s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1397s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1397s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1397s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1397s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=6465,uid=1000,gid=1000 1397s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=6465,uid=1000,gid=1000 1397s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 6465 1397s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1397s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1397s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1397s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1397s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=6465,uid=1000,gid=1000 1397s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=6465,uid=1000,gid=1000 1397s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 6465 1397s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1397s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1397s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1397s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1397s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=6465,uid=1000,gid=1000 1397s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=6465,uid=1000,gid=1000 1397s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 6465 1397s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1397s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1397s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1397s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1397s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=6465,uid=1000,gid=1000 1397s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=6465,uid=1000,gid=1000 1397s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 6465 1397s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1397s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1397s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1397s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1397s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=6465,uid=1000,gid=1000 1397s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=6465,uid=1000,gid=1000 1397s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 6465 1397s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1397s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1397s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1397s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1397s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=6465,uid=1000,gid=1000 1397s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=6465,uid=1000,gid=1000 1397s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 6465 1397s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1397s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1397s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1397s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1397s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=6465,uid=1000,gid=1000 1397s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=6465,uid=1000,gid=1000 1397s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 6465 1397s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1397s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1397s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1397s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1397s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=6465,uid=1000,gid=1000 1397s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=6465,uid=1000,gid=1000 1397s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 6465 1397s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1397s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1397s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1397s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1397s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=6465,uid=1000,gid=1000 1397s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=6465,uid=1000,gid=1000 1397s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 6465 1397s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1397s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1397s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1397s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1397s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=6465,uid=1000,gid=1000 1397s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=6465,uid=1000,gid=1000 1397s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 6465 1397s ok 1 /gdbus/server-auth 1397s # Start of server-auth tests 1397s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_1FMKK2/gdbus/server-auth/abstract/.dirs/home 1397s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_1FMKK2/gdbus/server-auth/abstract/.dirs/cache 1397s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_1FMKK2/gdbus/server-auth/abstract/.dirs/system-config1:/tmp/test_gdbus-server-auth_1FMKK2/gdbus/server-auth/abstract/.dirs/system-config2 1397s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_1FMKK2/gdbus/server-auth/abstract/.dirs/config 1397s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_1FMKK2/gdbus/server-auth/abstract/.dirs/system-data1:/tmp/test_gdbus-server-auth_1FMKK2/gdbus/server-auth/abstract/.dirs/system-data2 1397s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_1FMKK2/gdbus/server-auth/abstract/.dirs/data 1397s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_1FMKK2/gdbus/server-auth/abstract/.dirs/state 1397s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_1FMKK2/gdbus/server-auth/abstract/.dirs/runtime 1397s # Testing GDBus server at unix:tmpdir=/tmp/test_gdbus-server-auth_1FMKK2/gdbus-server-auth-N28KK2 / libdbus client, with flags: external:false anonymous:false sha1:false abstract:true tcp:false 1397s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_1FMKK2/gdbus-server-auth-N28KK2/dbus-0LcU9emr 1397s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1397s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1397s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1397s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=6465,uid=1000,gid=1000 1397s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=6465,uid=1000,gid=1000 1397s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 6465 1397s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1397s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1397s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1397s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1397s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=6465,uid=1000,gid=1000 1397s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=6465,uid=1000,gid=1000 1397s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 6465 1397s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1397s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1397s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1397s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1397s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=6465,uid=1000,gid=1000 1397s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=6465,uid=1000,gid=1000 1397s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 6465 1397s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1397s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1397s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1397s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1397s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=6465,uid=1000,gid=1000 1397s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=6465,uid=1000,gid=1000 1397s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 6465 1397s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1397s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1397s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1397s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1397s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=6465,uid=1000,gid=1000 1397s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=6465,uid=1000,gid=1000 1397s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 6465 1397s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1397s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1397s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1397s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1397s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=6465,uid=1000,gid=1000 1397s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=6465,uid=1000,gid=1000 1397s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 6465 1397s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1397s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1397s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1397s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1397s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=6465,uid=1000,gid=1000 1397s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=6465,uid=1000,gid=1000 1397s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 6465 1397s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1397s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1397s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1397s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1397s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=6465,uid=1000,gid=1000 1397s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=6465,uid=1000,gid=1000 1397s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 6465 1397s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1397s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1397s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1397s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1397s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=6465,uid=1000,gid=1000 1397s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=6465,uid=1000,gid=1000 1397s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 6465 1397s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1397s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1397s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1397s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1397s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=6465,uid=1000,gid=1000 1397s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=6465,uid=1000,gid=1000 1397s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 6465 1397s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1397s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1397s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1397s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1397s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=6465,uid=1000,gid=1000 1397s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=6465,uid=1000,gid=1000 1397s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 6465 1397s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1397s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1397s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1397s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1397s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=6465,uid=1000,gid=1000 1397s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=6465,uid=1000,gid=1000 1397s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 6465 1397s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1397s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1397s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1397s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1397s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=6465,uid=1000,gid=1000 1397s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=6465,uid=1000,gid=1000 1397s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 6465 1397s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1397s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1397s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1397s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1397s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=6465,uid=1000,gid=1000 1397s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=6465,uid=1000,gid=1000 1397s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 6465 1397s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1397s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1397s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1397s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1397s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=6465,uid=1000,gid=1000 1397s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=6465,uid=1000,gid=1000 1397s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 6465 1397s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1397s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1397s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1397s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1397s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=6465,uid=1000,gid=1000 1397s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=6465,uid=1000,gid=1000 1397s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 6465 1397s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1397s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1397s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1397s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1397s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=6465,uid=1000,gid=1000 1397s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=6465,uid=1000,gid=1000 1397s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 6465 1397s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1397s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1397s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1397s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1397s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=6465,uid=1000,gid=1000 1397s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=6465,uid=1000,gid=1000 1397s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 6465 1397s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1397s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1397s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1397s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1397s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=6465,uid=1000,gid=1000 1397s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=6465,uid=1000,gid=1000 1397s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 6465 1397s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1397s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1397s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1397s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1397s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=6465,uid=1000,gid=1000 1397s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=6465,uid=1000,gid=1000 1397s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 6465 1397s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1397s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1397s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1397s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1397s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=6465,uid=1000,gid=1000 1397s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=6465,uid=1000,gid=1000 1397s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 6465 1397s ok 2 /gdbus/server-auth/abstract 1397s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_1FMKK2/gdbus/server-auth/tcp/.dirs/home 1397s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_1FMKK2/gdbus/server-auth/tcp/.dirs/cache 1397s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_1FMKK2/gdbus/server-auth/tcp/.dirs/system-config1:/tmp/test_gdbus-server-auth_1FMKK2/gdbus/server-auth/tcp/.dirs/system-config2 1397s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_1FMKK2/gdbus/server-auth/tcp/.dirs/config 1397s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_1FMKK2/gdbus/server-auth/tcp/.dirs/system-data1:/tmp/test_gdbus-server-auth_1FMKK2/gdbus/server-auth/tcp/.dirs/system-data2 1397s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_1FMKK2/gdbus/server-auth/tcp/.dirs/data 1397s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_1FMKK2/gdbus/server-auth/tcp/.dirs/state 1397s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_1FMKK2/gdbus/server-auth/tcp/.dirs/runtime 1397s # Testing GDBus server at tcp:host=127.0.0.1 / libdbus client, with flags: external:false anonymous:false sha1:false abstract:false tcp:true 1397s ok 3 /gdbus/server-auth/tcp # SKIP https://gitlab.gnome.org/GNOME/glib/-/issues/2206 1397s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_1FMKK2/gdbus/server-auth/anonymous/.dirs/home 1397s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_1FMKK2/gdbus/server-auth/anonymous/.dirs/cache 1397s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_1FMKK2/gdbus/server-auth/anonymous/.dirs/system-config1:/tmp/test_gdbus-server-auth_1FMKK2/gdbus/server-auth/anonymous/.dirs/system-config2 1397s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_1FMKK2/gdbus/server-auth/anonymous/.dirs/config 1397s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_1FMKK2/gdbus/server-auth/anonymous/.dirs/system-data1:/tmp/test_gdbus-server-auth_1FMKK2/gdbus/server-auth/anonymous/.dirs/system-data2 1397s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_1FMKK2/gdbus/server-auth/anonymous/.dirs/data 1397s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_1FMKK2/gdbus/server-auth/anonymous/.dirs/state 1397s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_1FMKK2/gdbus/server-auth/anonymous/.dirs/runtime 1397s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_1FMKK2/gdbus-server-auth-7ORLK2 / libdbus client, with flags: external:false anonymous:true sha1:false abstract:false tcp:false 1397s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_1FMKK2/gdbus-server-auth-7ORLK2/dbus-JTWrfJrL 1397s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1397s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1397s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1397s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=6465,uid=1000,gid=1000 1397s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=6465,uid=1000,gid=1000 1397s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 6465 1397s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1397s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1397s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1397s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1397s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=6465,uid=1000,gid=1000 1397s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=6465,uid=1000,gid=1000 1397s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 6465 1397s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1397s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1397s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1397s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1397s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=6465,uid=1000,gid=1000 1397s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=6465,uid=1000,gid=1000 1397s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 6465 1397s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1397s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1397s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1397s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1397s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=6465,uid=1000,gid=1000 1397s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=6465,uid=1000,gid=1000 1397s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 6465 1397s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1397s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1397s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1397s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1397s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=6465,uid=1000,gid=1000 1397s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=6465,uid=1000,gid=1000 1397s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 6465 1397s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1397s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1397s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1397s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1397s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=6465,uid=1000,gid=1000 1397s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=6465,uid=1000,gid=1000 1397s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 6465 1397s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1397s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1397s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1397s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1397s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=6465,uid=1000,gid=1000 1397s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=6465,uid=1000,gid=1000 1397s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 6465 1397s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1397s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1397s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1397s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1397s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=6465,uid=1000,gid=1000 1397s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=6465,uid=1000,gid=1000 1397s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 6465 1397s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1397s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1397s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1397s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1397s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=6465,uid=1000,gid=1000 1397s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=6465,uid=1000,gid=1000 1397s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 6465 1397s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1397s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1397s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1397s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1397s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=6465,uid=1000,gid=1000 1397s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=6465,uid=1000,gid=1000 1397s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 6465 1397s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1397s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1397s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1397s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1397s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=6465,uid=1000,gid=1000 1397s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=6465,uid=1000,gid=1000 1397s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 6465 1397s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1397s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1397s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1397s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1397s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=6465,uid=1000,gid=1000 1397s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=6465,uid=1000,gid=1000 1397s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 6465 1397s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1397s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1397s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1397s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1397s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=6465,uid=1000,gid=1000 1397s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=6465,uid=1000,gid=1000 1397s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 6465 1397s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1397s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1397s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1397s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1397s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=6465,uid=1000,gid=1000 1397s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=6465,uid=1000,gid=1000 1397s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 6465 1397s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1398s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1398s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1398s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1398s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=6465,uid=1000,gid=1000 1398s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=6465,uid=1000,gid=1000 1398s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 6465 1398s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1398s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1398s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1398s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1398s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=6465,uid=1000,gid=1000 1398s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=6465,uid=1000,gid=1000 1398s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 6465 1398s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1398s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1398s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1398s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1398s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=6465,uid=1000,gid=1000 1398s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=6465,uid=1000,gid=1000 1398s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 6465 1398s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1398s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1398s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1398s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1398s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=6465,uid=1000,gid=1000 1398s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=6465,uid=1000,gid=1000 1398s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 6465 1398s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1398s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1398s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1398s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1398s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=6465,uid=1000,gid=1000 1398s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=6465,uid=1000,gid=1000 1398s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 6465 1398s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1398s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1398s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1398s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1398s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=6465,uid=1000,gid=1000 1398s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=6465,uid=1000,gid=1000 1398s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 6465 1398s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1398s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1398s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1398s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1398s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=6465,uid=1000,gid=1000 1398s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=6465,uid=1000,gid=1000 1398s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 6465 1398s ok 4 /gdbus/server-auth/anonymous 1398s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_1FMKK2/gdbus/server-auth/external/.dirs/home 1398s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_1FMKK2/gdbus/server-auth/external/.dirs/cache 1398s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_1FMKK2/gdbus/server-auth/external/.dirs/system-config1:/tmp/test_gdbus-server-auth_1FMKK2/gdbus/server-auth/external/.dirs/system-config2 1398s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_1FMKK2/gdbus/server-auth/external/.dirs/config 1398s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_1FMKK2/gdbus/server-auth/external/.dirs/system-data1:/tmp/test_gdbus-server-auth_1FMKK2/gdbus/server-auth/external/.dirs/system-data2 1398s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_1FMKK2/gdbus/server-auth/external/.dirs/data 1398s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_1FMKK2/gdbus/server-auth/external/.dirs/state 1398s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_1FMKK2/gdbus/server-auth/external/.dirs/runtime 1398s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_1FMKK2/gdbus-server-auth-PEJMK2 / libdbus client, with flags: external:true anonymous:false sha1:false abstract:false tcp:false 1398s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_1FMKK2/gdbus-server-auth-PEJMK2/dbus-XqNOurjk 1398s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1398s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1398s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1398s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=6465,uid=1000,gid=1000 1398s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=6465,uid=1000,gid=1000 1398s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 6465 1398s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1398s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1398s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1398s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1398s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=6465,uid=1000,gid=1000 1398s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=6465,uid=1000,gid=1000 1398s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 6465 1398s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1398s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1398s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1398s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1398s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=6465,uid=1000,gid=1000 1398s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=6465,uid=1000,gid=1000 1398s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 6465 1398s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1398s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1398s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1398s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1398s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=6465,uid=1000,gid=1000 1398s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=6465,uid=1000,gid=1000 1398s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 6465 1398s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1398s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1398s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1398s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1398s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=6465,uid=1000,gid=1000 1398s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=6465,uid=1000,gid=1000 1398s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 6465 1398s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1398s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1398s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1398s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1398s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=6465,uid=1000,gid=1000 1398s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=6465,uid=1000,gid=1000 1398s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 6465 1398s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1398s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1398s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1398s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1398s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=6465,uid=1000,gid=1000 1398s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=6465,uid=1000,gid=1000 1398s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 6465 1398s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1398s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1398s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1398s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1398s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=6465,uid=1000,gid=1000 1398s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=6465,uid=1000,gid=1000 1398s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 6465 1398s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1398s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1398s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1398s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1398s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=6465,uid=1000,gid=1000 1398s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=6465,uid=1000,gid=1000 1398s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 6465 1398s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1398s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1398s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1398s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1398s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=6465,uid=1000,gid=1000 1398s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=6465,uid=1000,gid=1000 1398s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 6465 1398s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1398s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1398s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1398s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1398s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=6465,uid=1000,gid=1000 1398s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=6465,uid=1000,gid=1000 1398s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 6465 1398s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1398s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1398s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1398s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1398s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=6465,uid=1000,gid=1000 1398s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=6465,uid=1000,gid=1000 1398s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 6465 1398s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1398s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1398s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1398s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1398s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=6465,uid=1000,gid=1000 1398s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=6465,uid=1000,gid=1000 1398s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 6465 1398s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1398s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1398s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1398s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1398s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=6465,uid=1000,gid=1000 1398s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=6465,uid=1000,gid=1000 1398s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 6465 1398s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1398s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1398s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1398s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1398s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=6465,uid=1000,gid=1000 1398s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=6465,uid=1000,gid=1000 1398s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 6465 1398s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1398s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1398s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1398s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1398s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=6465,uid=1000,gid=1000 1398s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=6465,uid=1000,gid=1000 1398s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 6465 1398s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1398s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1398s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1398s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1398s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=6465,uid=1000,gid=1000 1398s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=6465,uid=1000,gid=1000 1398s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 6465 1398s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1398s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1398s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1398s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1398s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=6465,uid=1000,gid=1000 1398s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=6465,uid=1000,gid=1000 1398s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 6465 1398s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1398s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1398s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1398s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1398s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=6465,uid=1000,gid=1000 1398s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=6465,uid=1000,gid=1000 1398s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 6465 1398s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1398s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1398s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1398s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1398s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=6465,uid=1000,gid=1000 1398s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=6465,uid=1000,gid=1000 1398s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 6465 1398s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1398s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1398s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1398s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1398s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=6465,uid=1000,gid=1000 1398s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=6465,uid=1000,gid=1000 1398s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 6465 1398s ok 5 /gdbus/server-auth/external 1398s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_1FMKK2/gdbus/server-auth/sha1/.dirs/home 1398s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_1FMKK2/gdbus/server-auth/sha1/.dirs/cache 1398s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_1FMKK2/gdbus/server-auth/sha1/.dirs/system-config1:/tmp/test_gdbus-server-auth_1FMKK2/gdbus/server-auth/sha1/.dirs/system-config2 1398s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_1FMKK2/gdbus/server-auth/sha1/.dirs/config 1398s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_1FMKK2/gdbus/server-auth/sha1/.dirs/system-data1:/tmp/test_gdbus-server-auth_1FMKK2/gdbus/server-auth/sha1/.dirs/system-data2 1398s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_1FMKK2/gdbus/server-auth/sha1/.dirs/data 1398s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_1FMKK2/gdbus/server-auth/sha1/.dirs/state 1398s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_1FMKK2/gdbus/server-auth/sha1/.dirs/runtime 1398s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_1FMKK2/gdbus-server-auth-2RTMK2 / libdbus client, with flags: external:false anonymous:false sha1:true abstract:false tcp:false 1398s ok 6 /gdbus/server-auth/sha1 # SKIP https://gitlab.gnome.org/GNOME/glib/-/issues/2206 1398s # Start of anonymous tests 1398s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_1FMKK2/gdbus/server-auth/anonymous/tcp/.dirs/home 1398s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_1FMKK2/gdbus/server-auth/anonymous/tcp/.dirs/cache 1398s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_1FMKK2/gdbus/server-auth/anonymous/tcp/.dirs/system-config1:/tmp/test_gdbus-server-auth_1FMKK2/gdbus/server-auth/anonymous/tcp/.dirs/system-config2 1398s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_1FMKK2/gdbus/server-auth/anonymous/tcp/.dirs/config 1398s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_1FMKK2/gdbus/server-auth/anonymous/tcp/.dirs/system-data1:/tmp/test_gdbus-server-auth_1FMKK2/gdbus/server-auth/anonymous/tcp/.dirs/system-data2 1398s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_1FMKK2/gdbus/server-auth/anonymous/tcp/.dirs/data 1398s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_1FMKK2/gdbus/server-auth/anonymous/tcp/.dirs/state 1398s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_1FMKK2/gdbus/server-auth/anonymous/tcp/.dirs/runtime 1398s # Testing GDBus server at tcp:host=127.0.0.1 / libdbus client, with flags: external:false anonymous:true sha1:false abstract:false tcp:true 1398s ok 7 /gdbus/server-auth/anonymous/tcp # SKIP https://gitlab.gnome.org/GNOME/glib/-/issues/2206 1398s # End of anonymous tests 1398s # Start of external tests 1398s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_1FMKK2/gdbus/server-auth/external/require-same-user/.dirs/home 1398s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_1FMKK2/gdbus/server-auth/external/require-same-user/.dirs/cache 1398s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_1FMKK2/gdbus/server-auth/external/require-same-user/.dirs/system-config1:/tmp/test_gdbus-server-auth_1FMKK2/gdbus/server-auth/external/require-same-user/.dirs/system-config2 1398s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_1FMKK2/gdbus/server-auth/external/require-same-user/.dirs/config 1398s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_1FMKK2/gdbus/server-auth/external/require-same-user/.dirs/system-data1:/tmp/test_gdbus-server-auth_1FMKK2/gdbus/server-auth/external/require-same-user/.dirs/system-data2 1398s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_1FMKK2/gdbus/server-auth/external/require-same-user/.dirs/data 1398s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_1FMKK2/gdbus/server-auth/external/require-same-user/.dirs/state 1398s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_1FMKK2/gdbus/server-auth/external/require-same-user/.dirs/runtime 1398s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_1FMKK2/gdbus-server-auth-Z9UMK2 / libdbus client, with flags: external:true anonymous:false sha1:false abstract:false tcp:false 1398s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_1FMKK2/gdbus-server-auth-Z9UMK2/dbus-99l6y7MQ 1398s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1398s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1398s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1398s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=6465,uid=1000,gid=1000 1398s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=6465,uid=1000,gid=1000 1398s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 6465 1398s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1398s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1398s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1398s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1398s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=6465,uid=1000,gid=1000 1398s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=6465,uid=1000,gid=1000 1398s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 6465 1398s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1398s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1398s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1398s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1398s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=6465,uid=1000,gid=1000 1398s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=6465,uid=1000,gid=1000 1398s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 6465 1398s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1398s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1398s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1398s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1398s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=6465,uid=1000,gid=1000 1398s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=6465,uid=1000,gid=1000 1398s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 6465 1398s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1398s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1398s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1398s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1398s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=6465,uid=1000,gid=1000 1398s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=6465,uid=1000,gid=1000 1398s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 6465 1398s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1398s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1398s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1398s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1398s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=6465,uid=1000,gid=1000 1398s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=6465,uid=1000,gid=1000 1398s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 6465 1398s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1398s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1398s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1398s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1398s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=6465,uid=1000,gid=1000 1398s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=6465,uid=1000,gid=1000 1398s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 6465 1398s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1398s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1398s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1398s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1398s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=6465,uid=1000,gid=1000 1398s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=6465,uid=1000,gid=1000 1398s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 6465 1398s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1398s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1398s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1398s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1398s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=6465,uid=1000,gid=1000 1398s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=6465,uid=1000,gid=1000 1398s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 6465 1398s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1398s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1398s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1398s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1398s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=6465,uid=1000,gid=1000 1398s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=6465,uid=1000,gid=1000 1398s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 6465 1398s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1398s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1398s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1398s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1398s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=6465,uid=1000,gid=1000 1398s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=6465,uid=1000,gid=1000 1398s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 6465 1398s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1398s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1398s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1398s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1398s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=6465,uid=1000,gid=1000 1398s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=6465,uid=1000,gid=1000 1398s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 6465 1398s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1398s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1398s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1398s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1398s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=6465,uid=1000,gid=1000 1398s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=6465,uid=1000,gid=1000 1398s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 6465 1398s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1398s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1398s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1398s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1398s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=6465,uid=1000,gid=1000 1398s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=6465,uid=1000,gid=1000 1398s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 6465 1398s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1398s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1398s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1398s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1398s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=6465,uid=1000,gid=1000 1398s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=6465,uid=1000,gid=1000 1398s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 6465 1398s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1398s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1398s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1398s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1398s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=6465,uid=1000,gid=1000 1398s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=6465,uid=1000,gid=1000 1398s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 6465 1398s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1398s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1398s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1398s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1398s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=6465,uid=1000,gid=1000 1398s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=6465,uid=1000,gid=1000 1398s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 6465 1398s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1398s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1398s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1398s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1398s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=6465,uid=1000,gid=1000 1398s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=6465,uid=1000,gid=1000 1398s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 6465 1398s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1398s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1398s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1398s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1398s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=6465,uid=1000,gid=1000 1398s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=6465,uid=1000,gid=1000 1398s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 6465 1398s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1398s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1398s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1398s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1398s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=6465,uid=1000,gid=1000 1398s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=6465,uid=1000,gid=1000 1398s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 6465 1398s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1398s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1398s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1398s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1398s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=6465,uid=1000,gid=1000 1398s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=6465,uid=1000,gid=1000 1398s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 6465 1398s ok 8 /gdbus/server-auth/external/require-same-user 1398s # End of external tests 1398s # Start of sha1 tests 1398s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_1FMKK2/gdbus/server-auth/sha1/tcp/.dirs/home 1398s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_1FMKK2/gdbus/server-auth/sha1/tcp/.dirs/cache 1398s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_1FMKK2/gdbus/server-auth/sha1/tcp/.dirs/system-config1:/tmp/test_gdbus-server-auth_1FMKK2/gdbus/server-auth/sha1/tcp/.dirs/system-config2 1398s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_1FMKK2/gdbus/server-auth/sha1/tcp/.dirs/config 1398s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_1FMKK2/gdbus/server-auth/sha1/tcp/.dirs/system-data1:/tmp/test_gdbus-server-auth_1FMKK2/gdbus/server-auth/sha1/tcp/.dirs/system-data2 1398s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_1FMKK2/gdbus/server-auth/sha1/tcp/.dirs/data 1398s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_1FMKK2/gdbus/server-auth/sha1/tcp/.dirs/state 1398s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_1FMKK2/gdbus/server-auth/sha1/tcp/.dirs/runtime 1398s # Testing GDBus server at tcp:host=127.0.0.1 / libdbus client, with flags: external:false anonymous:false sha1:true abstract:false tcp:true 1398s ok 9 /gdbus/server-auth/sha1/tcp # SKIP https://gitlab.gnome.org/GNOME/glib/-/issues/2206 1398s # End of sha1 tests 1398s # End of server-auth tests 1398s # End of gdbus tests 1398s ok - glib/gdbus-server-auth.test 1398s # Running test: glib/mount-operation.test 1398s TAP version 13 1398s # random seed: R02Sf0bbf223b145b18ef038094b9c4edf28 1398s 1..2 1398s # Start of mount-operation tests 1398s ok 1 /mount-operation/construction 1398s ok 2 /mount-operation/properties 1398s # End of mount-operation tests 1398s ok - glib/mount-operation.test 1398s # Running test: glib/power-profile-monitor-portal.test 1398s TAP version 13 1398s ok 1 __main__.TestPowerProfileMonitorPortal.test_power_profile_power_saver_enabled_portal # SKIP xdg-desktop-portal not available 1398s ok 2 __main__.TestPowerProfileMonitorPortal.test_power_profile_power_saver_enabled_portal_default # SKIP xdg-desktop-portal not available 1398s 1..2 1398s ok - glib/power-profile-monitor-portal.test 1398s # Running test: glib/gdbus-exit-on-close.test 1398s TAP version 13 1398s # random seed: R02S949f914fa19549edf4cdf93e8a84a497 1398s 1..4 1398s # Start of gdbus tests 1398s # Start of exit-on-close tests 1398s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-exit-on-close_E8LQK2/gdbus/exit-on-close/default/.dirs/home 1398s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-exit-on-close_E8LQK2/gdbus/exit-on-close/default/.dirs/cache 1398s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-exit-on-close_E8LQK2/gdbus/exit-on-close/default/.dirs/system-config1:/tmp/test_gdbus-exit-on-close_E8LQK2/gdbus/exit-on-close/default/.dirs/system-config2 1398s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-exit-on-close_E8LQK2/gdbus/exit-on-close/default/.dirs/config 1398s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-exit-on-close_E8LQK2/gdbus/exit-on-close/default/.dirs/system-data1:/tmp/test_gdbus-exit-on-close_E8LQK2/gdbus/exit-on-close/default/.dirs/system-data2 1398s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-exit-on-close_E8LQK2/gdbus/exit-on-close/default/.dirs/data 1398s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-exit-on-close_E8LQK2/gdbus/exit-on-close/default/.dirs/state 1398s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-exit-on-close_E8LQK2/gdbus/exit-on-close/default/.dirs/runtime 1398s ok 1 /gdbus/exit-on-close/default 1398s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-exit-on-close_E8LQK2/gdbus/exit-on-close/true/.dirs/home 1398s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-exit-on-close_E8LQK2/gdbus/exit-on-close/true/.dirs/cache 1398s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-exit-on-close_E8LQK2/gdbus/exit-on-close/true/.dirs/system-config1:/tmp/test_gdbus-exit-on-close_E8LQK2/gdbus/exit-on-close/true/.dirs/system-config2 1398s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-exit-on-close_E8LQK2/gdbus/exit-on-close/true/.dirs/config 1398s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-exit-on-close_E8LQK2/gdbus/exit-on-close/true/.dirs/system-data1:/tmp/test_gdbus-exit-on-close_E8LQK2/gdbus/exit-on-close/true/.dirs/system-data2 1398s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-exit-on-close_E8LQK2/gdbus/exit-on-close/true/.dirs/data 1398s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-exit-on-close_E8LQK2/gdbus/exit-on-close/true/.dirs/state 1398s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-exit-on-close_E8LQK2/gdbus/exit-on-close/true/.dirs/runtime 1398s ok 2 /gdbus/exit-on-close/true 1398s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-exit-on-close_E8LQK2/gdbus/exit-on-close/false/.dirs/home 1398s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-exit-on-close_E8LQK2/gdbus/exit-on-close/false/.dirs/cache 1398s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-exit-on-close_E8LQK2/gdbus/exit-on-close/false/.dirs/system-config1:/tmp/test_gdbus-exit-on-close_E8LQK2/gdbus/exit-on-close/false/.dirs/system-config2 1398s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-exit-on-close_E8LQK2/gdbus/exit-on-close/false/.dirs/config 1398s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-exit-on-close_E8LQK2/gdbus/exit-on-close/false/.dirs/system-data1:/tmp/test_gdbus-exit-on-close_E8LQK2/gdbus/exit-on-close/false/.dirs/system-data2 1398s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-exit-on-close_E8LQK2/gdbus/exit-on-close/false/.dirs/data 1398s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-exit-on-close_E8LQK2/gdbus/exit-on-close/false/.dirs/state 1398s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-exit-on-close_E8LQK2/gdbus/exit-on-close/false/.dirs/runtime 1398s ok 3 /gdbus/exit-on-close/false 1398s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-exit-on-close_E8LQK2/gdbus/exit-on-close/we-close/.dirs/home 1398s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-exit-on-close_E8LQK2/gdbus/exit-on-close/we-close/.dirs/cache 1398s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-exit-on-close_E8LQK2/gdbus/exit-on-close/we-close/.dirs/system-config1:/tmp/test_gdbus-exit-on-close_E8LQK2/gdbus/exit-on-close/we-close/.dirs/system-config2 1398s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-exit-on-close_E8LQK2/gdbus/exit-on-close/we-close/.dirs/config 1398s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-exit-on-close_E8LQK2/gdbus/exit-on-close/we-close/.dirs/system-data1:/tmp/test_gdbus-exit-on-close_E8LQK2/gdbus/exit-on-close/we-close/.dirs/system-data2 1398s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-exit-on-close_E8LQK2/gdbus/exit-on-close/we-close/.dirs/data 1398s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-exit-on-close_E8LQK2/gdbus/exit-on-close/we-close/.dirs/state 1398s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-exit-on-close_E8LQK2/gdbus/exit-on-close/we-close/.dirs/runtime 1399s ok 4 /gdbus/exit-on-close/we-close 1399s # Start of default tests 1399s # End of default tests 1399s # Start of true tests 1399s # End of true tests 1399s # Start of false tests 1399s # End of false tests 1399s # Start of we-close tests 1399s # End of we-close tests 1399s # End of exit-on-close tests 1399s # End of gdbus tests 1399s ok - glib/gdbus-exit-on-close.test 1399s # Running test: glib/hash.test 1399s TAP version 13 1399s # random seed: R02S22644f60628d158ecd6cc6cc053dffb2 1399s 1..34 1399s # Start of hash tests 1399s ok 1 /hash/misc 1399s ok 2 /hash/one 1399s ok 3 /hash/honeyman 1399s ok 4 /hash/direct 1399s ok 5 /hash/direct2 1399s ok 6 /hash/int 1399s ok 7 /hash/int64 1399s ok 8 /hash/double 1399s ok 9 /hash/string 1399s ok 10 /hash/set 1399s ok 11 /hash/set-ref 1399s ok 12 /hash/ref 1399s ok 13 /hash/remove-all 1399s ok 14 /hash/recursive-remove-all 1399s ok 15 /hash/find 1399s ok 16 /hash/foreach 1399s ok 17 /hash/foreach-steal 1399s ok 18 /hash/steal-extended 1399s ok 19 /hash/steal-all-keys 1399s ok 20 /hash/steal-all-values 1399s ok 21 /hash/lookup-extended 1399s ok 22 /hash/new-similar 1399s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=642944 1399s ok 23 /hash/lookup-null-key 1399s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=650459 1399s ok 24 /hash/destroy-modify 1399s ok 25 /hash/consistency 1399s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=662544 1399s ok 26 /hash/iter-replace 1399s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=692815 1399s ok 27 /hash/set-insert-corruption 1399s ok 28 /hash/set-to-strv 1399s ok 29 /hash/get-keys-as-ptr-array 1399s ok 30 /hash/get-values-as-ptr-array 1399s ok 31 /hash/primes 1399s # Start of int64 tests 1399s # /hash/int64/collisions summary: Check int64 Hash collisions caused by ignoring high word 1399s ok 32 /hash/int64/collisions 1399s # End of int64 tests 1399s # Start of double tests 1399s # /hash/double/collisions summary: Check double Hash collisions caused by int conversion and by numbers larger than 2^64-1 (G_MAXUINT64) 1399s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2771 1399s ok 33 /hash/double/collisions 1399s # End of double tests 1399s # Start of recursive-remove-all tests 1399s # End of recursive-remove-all tests 1399s # Start of steal-extended tests 1399s ok 34 /hash/steal-extended/optional 1399s # End of steal-extended tests 1399s # End of hash tests 1399s ok - glib/hash.test 1399s # Running test: glib/mimeapps.test 1399s TAP version 13 1399s # random seed: R02S6ea675483b2c8ada4639c7c780ebe253 1399s 1..7 1399s # Start of appinfo tests 1399s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_mimeapps_B7KZK2/appinfo/all/.dirs/home 1399s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_mimeapps_B7KZK2/appinfo/all/.dirs/cache 1399s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_mimeapps_B7KZK2/appinfo/all/.dirs/system-config1:/tmp/test_mimeapps_B7KZK2/appinfo/all/.dirs/system-config2 1399s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_mimeapps_B7KZK2/appinfo/all/.dirs/config 1399s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_mimeapps_B7KZK2/appinfo/all/.dirs/system-data1:/tmp/test_mimeapps_B7KZK2/appinfo/all/.dirs/system-data2 1399s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_mimeapps_B7KZK2/appinfo/all/.dirs/data 1399s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_mimeapps_B7KZK2/appinfo/all/.dirs/state 1399s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_mimeapps_B7KZK2/appinfo/all/.dirs/runtime 1399s # creating '/tmp/test_mimeapps_B7KZK2/appinfo/all/.dirs/system-data1/applications' 1399s # creating '/tmp/test_mimeapps_B7KZK2/appinfo/all/.dirs/system-data1/applications/mimeapps.list' 1399s # creating '/tmp/test_mimeapps_B7KZK2/appinfo/all/.dirs/data/applications' 1399s # creating '/tmp/test_mimeapps_B7KZK2/appinfo/all/.dirs/data/applications/myapp.desktop' 1399s # creating '/tmp/test_mimeapps_B7KZK2/appinfo/all/.dirs/data/applications/myapp2.desktop' 1399s # creating '/tmp/test_mimeapps_B7KZK2/appinfo/all/.dirs/data/applications/myapp3.desktop' 1399s # creating '/tmp/test_mimeapps_B7KZK2/appinfo/all/.dirs/data/applications/myapp4.desktop' 1399s # creating '/tmp/test_mimeapps_B7KZK2/appinfo/all/.dirs/data/applications/myapp5.desktop' 1399s # creating '/tmp/test_mimeapps_B7KZK2/appinfo/all/.dirs/data/applications/nosuchapp.desktop' 1399s # removing '/tmp/test_mimeapps_B7KZK2/appinfo/all/.dirs/data/applications/mimeapps.list' 1399s # creating '/tmp/test_mimeapps_B7KZK2/appinfo/all/.dirs/data/applications/mimeinfo.cache' 1399s ok 1 /appinfo/all 1399s # Start of mime tests 1399s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_mimeapps_B7KZK2/appinfo/mime/api/.dirs/home 1399s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_mimeapps_B7KZK2/appinfo/mime/api/.dirs/cache 1399s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_mimeapps_B7KZK2/appinfo/mime/api/.dirs/system-config1:/tmp/test_mimeapps_B7KZK2/appinfo/mime/api/.dirs/system-config2 1399s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_mimeapps_B7KZK2/appinfo/mime/api/.dirs/config 1399s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_mimeapps_B7KZK2/appinfo/mime/api/.dirs/system-data1:/tmp/test_mimeapps_B7KZK2/appinfo/mime/api/.dirs/system-data2 1399s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_mimeapps_B7KZK2/appinfo/mime/api/.dirs/data 1399s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_mimeapps_B7KZK2/appinfo/mime/api/.dirs/state 1399s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_mimeapps_B7KZK2/appinfo/mime/api/.dirs/runtime 1399s # creating '/tmp/test_mimeapps_B7KZK2/appinfo/mime/api/.dirs/system-data1/applications' 1399s # creating '/tmp/test_mimeapps_B7KZK2/appinfo/mime/api/.dirs/system-data1/applications/mimeapps.list' 1399s # creating '/tmp/test_mimeapps_B7KZK2/appinfo/mime/api/.dirs/data/applications' 1399s # creating '/tmp/test_mimeapps_B7KZK2/appinfo/mime/api/.dirs/data/applications/myapp.desktop' 1399s # creating '/tmp/test_mimeapps_B7KZK2/appinfo/mime/api/.dirs/data/applications/myapp2.desktop' 1399s # creating '/tmp/test_mimeapps_B7KZK2/appinfo/mime/api/.dirs/data/applications/myapp3.desktop' 1399s # creating '/tmp/test_mimeapps_B7KZK2/appinfo/mime/api/.dirs/data/applications/myapp4.desktop' 1399s # creating '/tmp/test_mimeapps_B7KZK2/appinfo/mime/api/.dirs/data/applications/myapp5.desktop' 1399s # creating '/tmp/test_mimeapps_B7KZK2/appinfo/mime/api/.dirs/data/applications/nosuchapp.desktop' 1399s # removing '/tmp/test_mimeapps_B7KZK2/appinfo/mime/api/.dirs/data/applications/mimeapps.list' 1399s # creating '/tmp/test_mimeapps_B7KZK2/appinfo/mime/api/.dirs/data/applications/mimeinfo.cache' 1399s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_B7KZK2/appinfo/mime/api/.dirs/config 1399s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_mimeapps_B7KZK2/appinfo/all/.dirs/config to /tmp/test_mimeapps_B7KZK2/appinfo/mime/api/.dirs/config 1399s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_B7KZK2/appinfo/mime/api/.dirs/config 1399s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_B7KZK2/appinfo/mime/api/.dirs/config 1399s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_B7KZK2/appinfo/mime/api/.dirs/config 1399s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_B7KZK2/appinfo/mime/api/.dirs/config 1399s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_B7KZK2/appinfo/mime/api/.dirs/config 1399s ok 2 /appinfo/mime/api 1399s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_mimeapps_B7KZK2/appinfo/mime/default/.dirs/home 1399s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_mimeapps_B7KZK2/appinfo/mime/default/.dirs/cache 1399s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_mimeapps_B7KZK2/appinfo/mime/default/.dirs/system-config1:/tmp/test_mimeapps_B7KZK2/appinfo/mime/default/.dirs/system-config2 1399s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_mimeapps_B7KZK2/appinfo/mime/default/.dirs/config 1399s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_mimeapps_B7KZK2/appinfo/mime/default/.dirs/system-data1:/tmp/test_mimeapps_B7KZK2/appinfo/mime/default/.dirs/system-data2 1399s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_mimeapps_B7KZK2/appinfo/mime/default/.dirs/data 1399s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_mimeapps_B7KZK2/appinfo/mime/default/.dirs/state 1399s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_mimeapps_B7KZK2/appinfo/mime/default/.dirs/runtime 1399s # creating '/tmp/test_mimeapps_B7KZK2/appinfo/mime/default/.dirs/system-data1/applications' 1399s # creating '/tmp/test_mimeapps_B7KZK2/appinfo/mime/default/.dirs/system-data1/applications/mimeapps.list' 1399s # creating '/tmp/test_mimeapps_B7KZK2/appinfo/mime/default/.dirs/data/applications' 1399s # creating '/tmp/test_mimeapps_B7KZK2/appinfo/mime/default/.dirs/data/applications/myapp.desktop' 1399s # creating '/tmp/test_mimeapps_B7KZK2/appinfo/mime/default/.dirs/data/applications/myapp2.desktop' 1399s # creating '/tmp/test_mimeapps_B7KZK2/appinfo/mime/default/.dirs/data/applications/myapp3.desktop' 1399s # creating '/tmp/test_mimeapps_B7KZK2/appinfo/mime/default/.dirs/data/applications/myapp4.desktop' 1399s # creating '/tmp/test_mimeapps_B7KZK2/appinfo/mime/default/.dirs/data/applications/myapp5.desktop' 1399s # creating '/tmp/test_mimeapps_B7KZK2/appinfo/mime/default/.dirs/data/applications/nosuchapp.desktop' 1399s # removing '/tmp/test_mimeapps_B7KZK2/appinfo/mime/default/.dirs/data/applications/mimeapps.list' 1399s # creating '/tmp/test_mimeapps_B7KZK2/appinfo/mime/default/.dirs/data/applications/mimeinfo.cache' 1399s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_B7KZK2/appinfo/mime/default/.dirs/config 1399s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_mimeapps_B7KZK2/appinfo/mime/api/.dirs/config to /tmp/test_mimeapps_B7KZK2/appinfo/mime/default/.dirs/config 1399s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_B7KZK2/appinfo/mime/default/.dirs/config 1399s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_B7KZK2/appinfo/mime/default/.dirs/config 1399s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_B7KZK2/appinfo/mime/default/.dirs/config 1399s ok 3 /appinfo/mime/default 1399s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_mimeapps_B7KZK2/appinfo/mime/file/.dirs/home 1399s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_mimeapps_B7KZK2/appinfo/mime/file/.dirs/cache 1399s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_mimeapps_B7KZK2/appinfo/mime/file/.dirs/system-config1:/tmp/test_mimeapps_B7KZK2/appinfo/mime/file/.dirs/system-config2 1399s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_mimeapps_B7KZK2/appinfo/mime/file/.dirs/config 1399s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_mimeapps_B7KZK2/appinfo/mime/file/.dirs/system-data1:/tmp/test_mimeapps_B7KZK2/appinfo/mime/file/.dirs/system-data2 1399s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_mimeapps_B7KZK2/appinfo/mime/file/.dirs/data 1399s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_mimeapps_B7KZK2/appinfo/mime/file/.dirs/state 1399s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_mimeapps_B7KZK2/appinfo/mime/file/.dirs/runtime 1399s # creating '/tmp/test_mimeapps_B7KZK2/appinfo/mime/file/.dirs/system-data1/applications' 1399s # creating '/tmp/test_mimeapps_B7KZK2/appinfo/mime/file/.dirs/system-data1/applications/mimeapps.list' 1399s # creating '/tmp/test_mimeapps_B7KZK2/appinfo/mime/file/.dirs/data/applications' 1399s # creating '/tmp/test_mimeapps_B7KZK2/appinfo/mime/file/.dirs/data/applications/myapp.desktop' 1399s # creating '/tmp/test_mimeapps_B7KZK2/appinfo/mime/file/.dirs/data/applications/myapp2.desktop' 1399s # creating '/tmp/test_mimeapps_B7KZK2/appinfo/mime/file/.dirs/data/applications/myapp3.desktop' 1399s # creating '/tmp/test_mimeapps_B7KZK2/appinfo/mime/file/.dirs/data/applications/myapp4.desktop' 1399s # creating '/tmp/test_mimeapps_B7KZK2/appinfo/mime/file/.dirs/data/applications/myapp5.desktop' 1399s # creating '/tmp/test_mimeapps_B7KZK2/appinfo/mime/file/.dirs/data/applications/nosuchapp.desktop' 1399s # removing '/tmp/test_mimeapps_B7KZK2/appinfo/mime/file/.dirs/data/applications/mimeapps.list' 1399s # creating '/tmp/test_mimeapps_B7KZK2/appinfo/mime/file/.dirs/data/applications/mimeinfo.cache' 1399s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_B7KZK2/appinfo/mime/file/.dirs/config 1399s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_mimeapps_B7KZK2/appinfo/mime/default/.dirs/config to /tmp/test_mimeapps_B7KZK2/appinfo/mime/file/.dirs/config 1399s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_B7KZK2/appinfo/mime/file/.dirs/config 1399s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_B7KZK2/appinfo/mime/file/.dirs/config 1399s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_B7KZK2/appinfo/mime/file/.dirs/config 1399s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_B7KZK2/appinfo/mime/file/.dirs/config 1399s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_B7KZK2/appinfo/mime/file/.dirs/config 1399s ok 4 /appinfo/mime/file 1399s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_mimeapps_B7KZK2/appinfo/mime/scheme-handler/.dirs/home 1399s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_mimeapps_B7KZK2/appinfo/mime/scheme-handler/.dirs/cache 1399s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_mimeapps_B7KZK2/appinfo/mime/scheme-handler/.dirs/system-config1:/tmp/test_mimeapps_B7KZK2/appinfo/mime/scheme-handler/.dirs/system-config2 1399s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_mimeapps_B7KZK2/appinfo/mime/scheme-handler/.dirs/config 1399s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_mimeapps_B7KZK2/appinfo/mime/scheme-handler/.dirs/system-data1:/tmp/test_mimeapps_B7KZK2/appinfo/mime/scheme-handler/.dirs/system-data2 1399s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_mimeapps_B7KZK2/appinfo/mime/scheme-handler/.dirs/data 1399s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_mimeapps_B7KZK2/appinfo/mime/scheme-handler/.dirs/state 1399s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_mimeapps_B7KZK2/appinfo/mime/scheme-handler/.dirs/runtime 1399s # creating '/tmp/test_mimeapps_B7KZK2/appinfo/mime/scheme-handler/.dirs/system-data1/applications' 1399s # creating '/tmp/test_mimeapps_B7KZK2/appinfo/mime/scheme-handler/.dirs/system-data1/applications/mimeapps.list' 1399s # creating '/tmp/test_mimeapps_B7KZK2/appinfo/mime/scheme-handler/.dirs/data/applications' 1399s # creating '/tmp/test_mimeapps_B7KZK2/appinfo/mime/scheme-handler/.dirs/data/applications/myapp.desktop' 1399s # creating '/tmp/test_mimeapps_B7KZK2/appinfo/mime/scheme-handler/.dirs/data/applications/myapp2.desktop' 1399s # creating '/tmp/test_mimeapps_B7KZK2/appinfo/mime/scheme-handler/.dirs/data/applications/myapp3.desktop' 1399s # creating '/tmp/test_mimeapps_B7KZK2/appinfo/mime/scheme-handler/.dirs/data/applications/myapp4.desktop' 1399s # creating '/tmp/test_mimeapps_B7KZK2/appinfo/mime/scheme-handler/.dirs/data/applications/myapp5.desktop' 1399s # creating '/tmp/test_mimeapps_B7KZK2/appinfo/mime/scheme-handler/.dirs/data/applications/nosuchapp.desktop' 1399s # removing '/tmp/test_mimeapps_B7KZK2/appinfo/mime/scheme-handler/.dirs/data/applications/mimeapps.list' 1399s # creating '/tmp/test_mimeapps_B7KZK2/appinfo/mime/scheme-handler/.dirs/data/applications/mimeinfo.cache' 1399s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_mimeapps_B7KZK2/appinfo/mime/file/.dirs/config to /tmp/test_mimeapps_B7KZK2/appinfo/mime/scheme-handler/.dirs/config 1399s ok 5 /appinfo/mime/scheme-handler 1399s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_mimeapps_B7KZK2/appinfo/mime/default-last-used/.dirs/home 1399s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_mimeapps_B7KZK2/appinfo/mime/default-last-used/.dirs/cache 1399s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_mimeapps_B7KZK2/appinfo/mime/default-last-used/.dirs/system-config1:/tmp/test_mimeapps_B7KZK2/appinfo/mime/default-last-used/.dirs/system-config2 1399s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_mimeapps_B7KZK2/appinfo/mime/default-last-used/.dirs/config 1399s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_mimeapps_B7KZK2/appinfo/mime/default-last-used/.dirs/system-data1:/tmp/test_mimeapps_B7KZK2/appinfo/mime/default-last-used/.dirs/system-data2 1399s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_mimeapps_B7KZK2/appinfo/mime/default-last-used/.dirs/data 1399s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_mimeapps_B7KZK2/appinfo/mime/default-last-used/.dirs/state 1399s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_mimeapps_B7KZK2/appinfo/mime/default-last-used/.dirs/runtime 1399s # creating '/tmp/test_mimeapps_B7KZK2/appinfo/mime/default-last-used/.dirs/system-data1/applications' 1399s # creating '/tmp/test_mimeapps_B7KZK2/appinfo/mime/default-last-used/.dirs/system-data1/applications/mimeapps.list' 1399s # creating '/tmp/test_mimeapps_B7KZK2/appinfo/mime/default-last-used/.dirs/data/applications' 1399s # creating '/tmp/test_mimeapps_B7KZK2/appinfo/mime/default-last-used/.dirs/data/applications/myapp.desktop' 1399s # creating '/tmp/test_mimeapps_B7KZK2/appinfo/mime/default-last-used/.dirs/data/applications/myapp2.desktop' 1399s # creating '/tmp/test_mimeapps_B7KZK2/appinfo/mime/default-last-used/.dirs/data/applications/myapp3.desktop' 1399s # creating '/tmp/test_mimeapps_B7KZK2/appinfo/mime/default-last-used/.dirs/data/applications/myapp4.desktop' 1399s # creating '/tmp/test_mimeapps_B7KZK2/appinfo/mime/default-last-used/.dirs/data/applications/myapp5.desktop' 1399s # creating '/tmp/test_mimeapps_B7KZK2/appinfo/mime/default-last-used/.dirs/data/applications/nosuchapp.desktop' 1399s # removing '/tmp/test_mimeapps_B7KZK2/appinfo/mime/default-last-used/.dirs/data/applications/mimeapps.list' 1399s # creating '/tmp/test_mimeapps_B7KZK2/appinfo/mime/default-last-used/.dirs/data/applications/mimeinfo.cache' 1399s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_B7KZK2/appinfo/mime/default-last-used/.dirs/config 1399s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_mimeapps_B7KZK2/appinfo/mime/scheme-handler/.dirs/config to /tmp/test_mimeapps_B7KZK2/appinfo/mime/default-last-used/.dirs/config 1399s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_B7KZK2/appinfo/mime/default-last-used/.dirs/config 1399s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_B7KZK2/appinfo/mime/default-last-used/.dirs/config 1399s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_B7KZK2/appinfo/mime/default-last-used/.dirs/config 1399s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_B7KZK2/appinfo/mime/default-last-used/.dirs/config 1399s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_B7KZK2/appinfo/mime/default-last-used/.dirs/config 1399s ok 6 /appinfo/mime/default-last-used 1399s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_mimeapps_B7KZK2/appinfo/mime/ignore-nonexisting/.dirs/home 1399s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_mimeapps_B7KZK2/appinfo/mime/ignore-nonexisting/.dirs/cache 1399s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_mimeapps_B7KZK2/appinfo/mime/ignore-nonexisting/.dirs/system-config1:/tmp/test_mimeapps_B7KZK2/appinfo/mime/ignore-nonexisting/.dirs/system-config2 1399s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_mimeapps_B7KZK2/appinfo/mime/ignore-nonexisting/.dirs/config 1399s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_mimeapps_B7KZK2/appinfo/mime/ignore-nonexisting/.dirs/system-data1:/tmp/test_mimeapps_B7KZK2/appinfo/mime/ignore-nonexisting/.dirs/system-data2 1399s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_mimeapps_B7KZK2/appinfo/mime/ignore-nonexisting/.dirs/data 1399s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_mimeapps_B7KZK2/appinfo/mime/ignore-nonexisting/.dirs/state 1399s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_mimeapps_B7KZK2/appinfo/mime/ignore-nonexisting/.dirs/runtime 1399s # creating '/tmp/test_mimeapps_B7KZK2/appinfo/mime/ignore-nonexisting/.dirs/system-data1/applications' 1399s # creating '/tmp/test_mimeapps_B7KZK2/appinfo/mime/ignore-nonexisting/.dirs/system-data1/applications/mimeapps.list' 1399s # creating '/tmp/test_mimeapps_B7KZK2/appinfo/mime/ignore-nonexisting/.dirs/data/applications' 1399s # creating '/tmp/test_mimeapps_B7KZK2/appinfo/mime/ignore-nonexisting/.dirs/data/applications/myapp.desktop' 1399s # creating '/tmp/test_mimeapps_B7KZK2/appinfo/mime/ignore-nonexisting/.dirs/data/applications/myapp2.desktop' 1399s # creating '/tmp/test_mimeapps_B7KZK2/appinfo/mime/ignore-nonexisting/.dirs/data/applications/myapp3.desktop' 1399s # creating '/tmp/test_mimeapps_B7KZK2/appinfo/mime/ignore-nonexisting/.dirs/data/applications/myapp4.desktop' 1399s # creating '/tmp/test_mimeapps_B7KZK2/appinfo/mime/ignore-nonexisting/.dirs/data/applications/myapp5.desktop' 1399s # creating '/tmp/test_mimeapps_B7KZK2/appinfo/mime/ignore-nonexisting/.dirs/data/applications/nosuchapp.desktop' 1399s # removing '/tmp/test_mimeapps_B7KZK2/appinfo/mime/ignore-nonexisting/.dirs/data/applications/mimeapps.list' 1399s # creating '/tmp/test_mimeapps_B7KZK2/appinfo/mime/ignore-nonexisting/.dirs/data/applications/mimeinfo.cache' 1399s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_mimeapps_B7KZK2/appinfo/mime/default-last-used/.dirs/config to /tmp/test_mimeapps_B7KZK2/appinfo/mime/ignore-nonexisting/.dirs/config 1399s ok 7 /appinfo/mime/ignore-nonexisting 1399s # End of mime tests 1399s # End of appinfo tests 1399s ok - glib/mimeapps.test 1399s # Running test: glib/init.test 1399s TAP version 13 1399s # random seed: R02S912658152282757ff4ddc2e90a9a25c4 1399s 1..2 1399s # Start of thread tests 1399s # Start of deprecated tests 1399s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_init_7NO0K2/thread/deprecated/init/.dirs/home 1399s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_init_7NO0K2/thread/deprecated/init/.dirs/cache 1399s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_init_7NO0K2/thread/deprecated/init/.dirs/system-config1:/tmp/test_init_7NO0K2/thread/deprecated/init/.dirs/system-config2 1399s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_init_7NO0K2/thread/deprecated/init/.dirs/config 1399s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_init_7NO0K2/thread/deprecated/init/.dirs/system-data1:/tmp/test_init_7NO0K2/thread/deprecated/init/.dirs/system-data2 1399s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_init_7NO0K2/thread/deprecated/init/.dirs/data 1399s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_init_7NO0K2/thread/deprecated/init/.dirs/state 1399s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_init_7NO0K2/thread/deprecated/init/.dirs/runtime 1399s ok 1 /thread/deprecated/init 1399s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_init_7NO0K2/thread/deprecated/init-with-errorcheck-mutexes/.dirs/home 1399s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_init_7NO0K2/thread/deprecated/init-with-errorcheck-mutexes/.dirs/cache 1399s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_init_7NO0K2/thread/deprecated/init-with-errorcheck-mutexes/.dirs/system-config1:/tmp/test_init_7NO0K2/thread/deprecated/init-with-errorcheck-mutexes/.dirs/system-config2 1399s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_init_7NO0K2/thread/deprecated/init-with-errorcheck-mutexes/.dirs/config 1399s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_init_7NO0K2/thread/deprecated/init-with-errorcheck-mutexes/.dirs/system-data1:/tmp/test_init_7NO0K2/thread/deprecated/init-with-errorcheck-mutexes/.dirs/system-data2 1399s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_init_7NO0K2/thread/deprecated/init-with-errorcheck-mutexes/.dirs/data 1399s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_init_7NO0K2/thread/deprecated/init-with-errorcheck-mutexes/.dirs/state 1399s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_init_7NO0K2/thread/deprecated/init-with-errorcheck-mutexes/.dirs/runtime 1399s ok 2 /thread/deprecated/init-with-errorcheck-mutexes 1399s # End of deprecated tests 1399s # End of thread tests 1399s ok - glib/init.test 1399s # Running test: glib/markup-parse.test 1399s TAP version 13 1399s # random seed: R02Scc8c19f9ae180c063b3a4f1ba4adfc29 1399s 1..71 1399s # Start of markup tests 1399s # Start of parse tests 1399s ok 1 /markup/parse/fail-5.gmarkup 1399s ok 2 /markup/parse/fail-33.gmarkup 1399s ok 3 /markup/parse/valid-16.gmarkup 1399s ok 4 /markup/parse/fail-45.gmarkup 1399s ok 5 /markup/parse/fail-31.gmarkup 1399s ok 6 /markup/parse/fail-32.gmarkup 1399s ok 7 /markup/parse/fail-19.gmarkup 1399s ok 8 /markup/parse/fail-48.gmarkup 1399s ok 9 /markup/parse/fail-4.gmarkup 1399s ok 10 /markup/parse/valid-9.gmarkup 1399s ok 11 /markup/parse/valid-12.gmarkup 1399s ok 12 /markup/parse/fail-25.gmarkup 1399s ok 13 /markup/parse/fail-52.gmarkup 1399s ok 14 /markup/parse/fail-35.gmarkup 1399s ok 15 /markup/parse/valid-13.gmarkup 1399s ok 16 /markup/parse/fail-34.gmarkup 1399s ok 17 /markup/parse/fail-46.gmarkup 1399s ok 18 /markup/parse/fail-53.gmarkup 1399s ok 19 /markup/parse/fail-27.gmarkup 1399s ok 20 /markup/parse/fail-11.gmarkup 1399s ok 21 /markup/parse/fail-26.gmarkup 1399s ok 22 /markup/parse/valid-8.gmarkup 1399s ok 23 /markup/parse/fail-7.gmarkup 1399s ok 24 /markup/parse/fail-47.gmarkup 1399s ok 25 /markup/parse/fail-38.gmarkup 1399s ok 26 /markup/parse/valid-7.gmarkup 1399s ok 27 /markup/parse/fail-50.gmarkup 1399s ok 28 /markup/parse/fail-20.gmarkup 1399s ok 29 /markup/parse/fail-16.gmarkup 1399s ok 30 /markup/parse/fail-13.gmarkup 1399s ok 31 /markup/parse/fail-3.gmarkup 1399s ok 32 /markup/parse/fail-24.gmarkup 1399s ok 33 /markup/parse/fail-14.gmarkup 1399s ok 34 /markup/parse/fail-40.gmarkup 1399s ok 35 /markup/parse/valid-3.gmarkup 1399s ok 36 /markup/parse/fail-42.gmarkup 1399s ok 37 /markup/parse/fail-41.gmarkup 1399s ok 38 /markup/parse/valid-1.gmarkup 1399s ok 39 /markup/parse/fail-18.gmarkup 1399s ok 40 /markup/parse/fail-6.gmarkup 1399s ok 41 /markup/parse/fail-22.gmarkup 1399s ok 42 /markup/parse/fail-29.gmarkup 1399s ok 43 /markup/parse/fail-17.gmarkup 1399s ok 44 /markup/parse/valid-14.gmarkup 1399s ok 45 /markup/parse/fail-37.gmarkup 1399s ok 46 /markup/parse/fail-1.gmarkup 1399s ok 47 /markup/parse/valid-10.gmarkup 1399s ok 48 /markup/parse/fail-15.gmarkup 1399s ok 49 /markup/parse/fail-43.gmarkup 1399s ok 50 /markup/parse/fail-51.gmarkup 1399s ok 51 /markup/parse/fail-54.gmarkup 1399s ok 52 /markup/parse/valid-2.gmarkup 1399s ok 53 /markup/parse/valid-4.gmarkup 1399s ok 54 /markup/parse/fail-21.gmarkup 1399s ok 55 /markup/parse/fail-10.gmarkup 1399s ok 56 /markup/parse/fail-49.gmarkup 1399s ok 57 /markup/parse/fail-44.gmarkup 1399s ok 58 /markup/parse/valid-11.gmarkup 1399s ok 59 /markup/parse/fail-36.gmarkup 1399s ok 60 /markup/parse/fail-12.gmarkup 1399s ok 61 /markup/parse/valid-15.gmarkup 1399s ok 62 /markup/parse/fail-9.gmarkup 1399s ok 63 /markup/parse/fail-23.gmarkup 1399s ok 64 /markup/parse/fail-39.gmarkup 1399s ok 65 /markup/parse/fail-28.gmarkup 1399s ok 66 /markup/parse/fail-2.gmarkup 1399s ok 67 /markup/parse/valid-6.gmarkup 1399s ok 68 /markup/parse/fail-8.gmarkup 1399s ok 69 /markup/parse/fail-30.gmarkup 1399s ok 70 /markup/parse/valid-5.gmarkup 1399s ok 71 /markup/parse/valid-17.gmarkup 1399s # End of parse tests 1399s # End of markup tests 1399s ok - glib/markup-parse.test 1399s # Running test: glib/spawn-multithreaded.test 1399s TAP version 13 1399s # random seed: R02S4a8eb9b277704de09b25046d115fa869 1399s 1..4 1399s # Start of gthread tests 1400s # Child 6529 (ttl 1) exited, status 0 1401s # Child 6530 (ttl 2) exited, status 0 1401s ok 1 /gthread/spawn-childs 1401s # slow test /gthread/spawn-childs executed in 2.00 secs 1401s # Created pid: 6534 (ttl 1) 1401s # Created pid: 6535 (ttl 2) 1402s # Child 6534 (ttl 1) exited, status 0 1402s # Executing: glib/spawn-multithreaded.test 1403s # Child 6535 (ttl 2) exited, status 0 1403s ok 2 /gthread/spawn-childs-threads 1403s # slow test /gthread/spawn-childs-threads executed in 2.00 secs 1403s ok 3 /gthread/spawn-sync 1403s ok 4 /gthread/spawn-async 1403s # End of gthread tests 1403s ok - glib/spawn-multithreaded.test 1403s # Running test: glib/notify-init2.test 1403s TAP version 13 1403s # random seed: R02S325fefa0a9053c7a2c793e6d2f068ad4 1403s 1..1 1403s # Start of properties tests 1403s # /properties/notify-in-init2 summary: Test that notify freezing during construction of objects with custom constructor works 1403s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2665 1403s ok 1 /properties/notify-in-init2 1403s # End of properties tests 1403s ok - glib/notify-init2.test 1403s # Running test: glib/spawn-test.test 1403s TAP version 13 1403s # random seed: R02Sd139cbc4764a86f1ce1d42c97fba9490 1403s 1..2 1403s # Start of spawn tests 1403s ok 1 /spawn/basics 1403s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/16 1403s # Fetching GSpawn result output and error output with stdin open, stdout open, stderr open 1403s # Fetching GSpawn result output and error output with stdin open, stdout open, stderr already closed 1403s # Fetching GSpawn result output and error output with stdin open, stdout already closed, stderr open 1403s # Fetching GSpawn result output and error output with stdin open, stdout already closed, stderr already closed 1403s # Fetching GSpawn result output and error output with stdin already closed, stdout open, stderr open 1403s # Fetching GSpawn result output and error output with stdin already closed, stdout open, stderr already closed 1403s # Fetching GSpawn result output and error output with stdin already closed, stdout already closed, stderr open 1403s # Fetching GSpawn result output and error output with stdin already closed, stdout already closed, stderr already closed 1403s # Fetching GSpawn result output with stdin open, stdout open, stderr open 1403s # Fetching GSpawn result output with stdin open, stdout open, stderr already closed 1403s # Fetching GSpawn result output with stdin open, stdout already closed, stderr open 1403s # Fetching GSpawn result output with stdin open, stdout already closed, stderr already closed 1403s # Fetching GSpawn result output with stdin already closed, stdout open, stderr open 1403s # Fetching GSpawn result output with stdin already closed, stdout open, stderr already closed 1403s # Fetching GSpawn result output with stdin already closed, stdout already closed, stderr open 1403s # Fetching GSpawn result output with stdin already closed, stdout already closed, stderr already closed 1403s # Fetching GSpawn result error output with stdin open, stdout open, stderr open 1403s # Fetching GSpawn result error output with stdin open, stdout open, stderr already closed 1403s # Fetching GSpawn result error output with stdin open, stdout already closed, stderr open 1403s # Fetching GSpawn result error output with stdin open, stdout already closed, stderr already closed 1403s # Fetching GSpawn result error output with stdin already closed, stdout open, stderr open 1403s # Fetching GSpawn result error output with stdin already closed, stdout open, stderr already closed 1403s # Fetching GSpawn result error output with stdin already closed, stdout already closed, stderr open 1403s # Fetching GSpawn result error output with stdin already closed, stdout already closed, stderr already closed 1403s # Fetching GSpawn result with stdin open, stdout open, stderr open 1403s # Fetching GSpawn result with stdin open, stdout open, stderr already closed 1403s # Fetching GSpawn result with stdin open, stdout already closed, stderr open 1403s # Fetching GSpawn result with stdin open, stdout already closed, stderr already closed 1403s # Fetching GSpawn result with stdin already closed, stdout open, stderr open 1403s # Fetching GSpawn result with stdin already closed, stdout open, stderr already closed 1403s # Fetching GSpawn result with stdin already closed, stdout already closed, stderr open 1403s # Fetching GSpawn result with stdin already closed, stdout already closed, stderr already closed 1403s ok 2 /spawn/stdio-overwrite 1403s # End of spawn tests 1403s ok - glib/spawn-test.test 1403s # Running test: glib/timeout.test 1403s TAP version 13 1403s # random seed: R02Sca735ae3614daf2fdf1465e57ac14f9d 1403s 1..5 1403s # Start of timeout tests 1403s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=642052 1405s ok 1 /timeout/seconds 1405s # slow test /timeout/seconds executed in 2.10 secs 1407s ok 2 /timeout/seconds-once 1407s # slow test /timeout/seconds-once executed in 2.10 secs 1407s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1600 1407s # Executing: glib/timeout.test 1409s ok 3 /timeout/weeks-overflow 1409s # slow test /timeout/weeks-overflow executed in 2.10 secs 1409s ok 4 /timeout/far-future-ready-time 1412s # Executing: glib/timeout.test 1417s # Executing: glib/timeout.test 1419s ok 5 /timeout/rounding 1419s # slow test /timeout/rounding executed in 10.01 secs 1419s # End of timeout tests 1419s ok - glib/timeout.test 1419s # Running test: glib/memory-monitor.test 1419s TAP version 13 1419s # random seed: R02S3e35c9930b372543d1db1f27a0908961 1419s 1..1 1419s # Start of memory-monitor tests 1419s # GLib-GIO-DEBUG: Failed to initialize portal (GMemoryMonitorPortal) for gio-memory-monitor: Not using portals 1419s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation dbus (GMemoryMonitorDBus) for ?gio-memory-monitor? 1419s ok 1 /memory-monitor/default 1419s # End of memory-monitor tests 1419s ok - glib/memory-monitor.test 1419s # Running test: glib/types.test 1419s TAP version 13 1419s # random seed: R02Seca8ce183a38dcaff7f05bf1b55f2d09 1419s 1..1 1419s # Start of types tests 1419s ok 1 /types/basic_types 1419s # End of types tests 1419s ok - glib/types.test 1419s # Running test: glib/unix-fd.test 1419s TAP version 13 1419s # random seed: R02S4f939d19354d801115e952c3a77dbd43 1419s 1..2 1419s # Start of unix-fd tests 1419s ok 1 /unix-fd/fd-list 1419s ok 2 /unix-fd/scm 1419s # End of unix-fd tests 1419s ok - glib/unix-fd.test 1419s # Running test: glib/socket-service.test 1419s TAP version 13 1419s # random seed: R02S49cc31fa7b095e81aff62ea94875aec5 1419s 1..4 1419s # Start of socket-service tests 1419s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation dummy (GDummyProxyResolver) for ?gio-proxy-resolver? 1419s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x2aa298ab200 and GSocketClientAsyncConnectData 0x2aa298a34f0 1419s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1419s ok 1 /socket-service/start-stop 1419s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x2aa298acd60 and GSocketClientAsyncConnectData 0x2aa298acb00 1419s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1419s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1419s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x2aa298ad270 for GSocketClientAsyncConnectData 0x2aa298a34f0 1419s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1419s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 1419s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 1419s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 1419s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1419s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x2aa298ae0f0 for GSocketClientAsyncConnectData 0x2aa298acb00 1419s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1419s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 1419s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 1419s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 1419s ok 2 /socket-service/read_write_async 1419s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x2aa298ace40 and GSocketClientAsyncConnectData 0x2aa298ab7d0 1419s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1419s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1419s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x2aa298af030 for GSocketClientAsyncConnectData 0x2aa298ab7d0 1419s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1419s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 1419s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 1419s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 1419s ok 3 /socket-service/read_writev_async 1419s # Start of threaded tests 1419s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=712570 1419s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x2aa298b25c0 and GSocketClientAsyncConnectData 0x2aa298a34f0 1419s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1419s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1419s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x2aa298b2740 for GSocketClientAsyncConnectData 0x2aa298a34f0 1419s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1419s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 1419s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 1419s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 1419s ok 4 /socket-service/threaded/712570 1419s # End of threaded tests 1419s # End of socket-service tests 1419s ok - glib/socket-service.test 1419s # Running test: glib/gdbus-proxy.test 1419s TAP version 13 1419s # random seed: R02S70016d5e15e2dd456cf8937f184392f5 1419s 1..5 1419s # Start of gdbus tests 1419s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-proxy_ZT8XK2/gdbus/proxy/.dirs/home 1419s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-proxy_ZT8XK2/gdbus/proxy/.dirs/cache 1419s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-proxy_ZT8XK2/gdbus/proxy/.dirs/system-config1:/tmp/test_gdbus-proxy_ZT8XK2/gdbus/proxy/.dirs/system-config2 1419s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-proxy_ZT8XK2/gdbus/proxy/.dirs/config 1419s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-proxy_ZT8XK2/gdbus/proxy/.dirs/system-data1:/tmp/test_gdbus-proxy_ZT8XK2/gdbus/proxy/.dirs/system-data2 1419s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-proxy_ZT8XK2/gdbus/proxy/.dirs/data 1419s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-proxy_ZT8XK2/gdbus/proxy/.dirs/state 1419s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-proxy_ZT8XK2/gdbus/proxy/.dirs/runtime 1419s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1421s ok 1 /gdbus/proxy 1421s # slow test /gdbus/proxy executed in 1.72 secs 1421s # Start of proxy tests 1421s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-proxy_ZT8XK2/gdbus/proxy/no-properties/.dirs/home 1421s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-proxy_ZT8XK2/gdbus/proxy/no-properties/.dirs/cache 1421s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-proxy_ZT8XK2/gdbus/proxy/no-properties/.dirs/system-config1:/tmp/test_gdbus-proxy_ZT8XK2/gdbus/proxy/no-properties/.dirs/system-config2 1421s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-proxy_ZT8XK2/gdbus/proxy/no-properties/.dirs/config 1421s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-proxy_ZT8XK2/gdbus/proxy/no-properties/.dirs/system-data1:/tmp/test_gdbus-proxy_ZT8XK2/gdbus/proxy/no-properties/.dirs/system-data2 1421s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-proxy_ZT8XK2/gdbus/proxy/no-properties/.dirs/data 1421s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-proxy_ZT8XK2/gdbus/proxy/no-properties/.dirs/state 1421s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-proxy_ZT8XK2/gdbus/proxy/no-properties/.dirs/runtime 1421s ok 2 /gdbus/proxy/no-properties 1421s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-proxy_ZT8XK2/gdbus/proxy/wellknown-noauto/.dirs/home 1421s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-proxy_ZT8XK2/gdbus/proxy/wellknown-noauto/.dirs/cache 1421s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-proxy_ZT8XK2/gdbus/proxy/wellknown-noauto/.dirs/system-config1:/tmp/test_gdbus-proxy_ZT8XK2/gdbus/proxy/wellknown-noauto/.dirs/system-config2 1421s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-proxy_ZT8XK2/gdbus/proxy/wellknown-noauto/.dirs/config 1421s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-proxy_ZT8XK2/gdbus/proxy/wellknown-noauto/.dirs/system-data1:/tmp/test_gdbus-proxy_ZT8XK2/gdbus/proxy/wellknown-noauto/.dirs/system-data2 1421s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-proxy_ZT8XK2/gdbus/proxy/wellknown-noauto/.dirs/data 1421s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-proxy_ZT8XK2/gdbus/proxy/wellknown-noauto/.dirs/state 1421s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-proxy_ZT8XK2/gdbus/proxy/wellknown-noauto/.dirs/runtime 1421s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1421s ok 3 /gdbus/proxy/wellknown-noauto 1421s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-proxy_ZT8XK2/gdbus/proxy/async/.dirs/home 1421s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-proxy_ZT8XK2/gdbus/proxy/async/.dirs/cache 1421s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-proxy_ZT8XK2/gdbus/proxy/async/.dirs/system-config1:/tmp/test_gdbus-proxy_ZT8XK2/gdbus/proxy/async/.dirs/system-config2 1421s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-proxy_ZT8XK2/gdbus/proxy/async/.dirs/config 1421s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-proxy_ZT8XK2/gdbus/proxy/async/.dirs/system-data1:/tmp/test_gdbus-proxy_ZT8XK2/gdbus/proxy/async/.dirs/system-data2 1421s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-proxy_ZT8XK2/gdbus/proxy/async/.dirs/data 1421s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-proxy_ZT8XK2/gdbus/proxy/async/.dirs/state 1421s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-proxy_ZT8XK2/gdbus/proxy/async/.dirs/runtime 1421s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1422s # Executing: glib/gdbus-proxy.test 1422s ok 4 /gdbus/proxy/async 1422s # slow test /gdbus/proxy/async executed in 1.72 secs 1422s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-proxy_ZT8XK2/gdbus/proxy/no-match-rule/.dirs/home 1422s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-proxy_ZT8XK2/gdbus/proxy/no-match-rule/.dirs/cache 1422s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-proxy_ZT8XK2/gdbus/proxy/no-match-rule/.dirs/system-config1:/tmp/test_gdbus-proxy_ZT8XK2/gdbus/proxy/no-match-rule/.dirs/system-config2 1422s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-proxy_ZT8XK2/gdbus/proxy/no-match-rule/.dirs/config 1422s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-proxy_ZT8XK2/gdbus/proxy/no-match-rule/.dirs/system-data1:/tmp/test_gdbus-proxy_ZT8XK2/gdbus/proxy/no-match-rule/.dirs/system-data2 1422s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-proxy_ZT8XK2/gdbus/proxy/no-match-rule/.dirs/data 1422s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-proxy_ZT8XK2/gdbus/proxy/no-match-rule/.dirs/state 1422s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-proxy_ZT8XK2/gdbus/proxy/no-match-rule/.dirs/runtime 1422s # /gdbus/proxy/no-match-rule summary: Test that G_DBUS_PROXY_FLAGS_NO_MATCH_RULE works 1422s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/1109 1422s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1424s ok 5 /gdbus/proxy/no-match-rule 1424s # slow test /gdbus/proxy/no-match-rule executed in 1.73 secs 1424s # End of proxy tests 1424s # End of gdbus tests 1424s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1424s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1424s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1424s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1424s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1424s ok - glib/gdbus-proxy.test 1424s # Running test: glib/option-context.test 1424s TAP version 13 1424s # random seed: R02Sb8278816ac60693177195d948445b0e0 1424s 1..57 1424s # Start of option tests 1424s ok 1 /option/basic 1424s ok 2 /option/translate 1424s ok 3 /option/strict-posix 1424s # Start of help tests 1424s ok 4 /option/help/options 1424s ok 5 /option/help/no-options 1424s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=697652 1424s ok 6 /option/help/no-help-options 1424s # End of help tests 1424s # Start of group tests 1424s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=504142 1424s ok 7 /option/group/captions 1424s ok 8 /option/group/main 1424s ok 9 /option/group/error-hook 1424s ok 10 /option/group/parse 1424s # Start of captions tests 1424s # Start of subprocess tests 1424s # End of subprocess tests 1424s # End of captions tests 1424s # End of group tests 1424s # Start of restoration tests 1424s ok 11 /option/restoration/int 1424s ok 12 /option/restoration/string 1424s ok 13 /option/restoration/boolean 1424s # End of restoration tests 1424s # Start of arg tests 1424s ok 14 /option/arg/reverse-string 1424s ok 15 /option/arg/optional-int 1424s # Start of repetition tests 1424s ok 16 /option/arg/repetition/int 1424s ok 17 /option/arg/repetition/string 1424s ok 18 /option/arg/repetition/filename 1424s ok 19 /option/arg/repetition/double 1424s ok 20 /option/arg/repetition/locale 1424s ok 21 /option/arg/repetition/int64 1424s # End of repetition tests 1424s # Start of array tests 1424s ok 22 /option/arg/array/string 1424s # End of array tests 1424s # Start of callback tests 1424s ok 23 /option/arg/callback/string 1424s ok 24 /option/arg/callback/count 1424s ok 25 /option/arg/callback/optional1 1424s ok 26 /option/arg/callback/optional2 1424s ok 27 /option/arg/callback/optional3 1424s ok 28 /option/arg/callback/optional4 1424s ok 29 /option/arg/callback/optional5 1424s ok 30 /option/arg/callback/optional6 1424s ok 31 /option/arg/callback/optional7 1424s ok 32 /option/arg/callback/optional8 1424s # End of callback tests 1424s # Start of remaining tests 1424s ok 33 /option/arg/remaining/callback 1424s ok 34 /option/arg/remaining/callback-false 1424s ok 35 /option/arg/remaining/non-option 1424s ok 36 /option/arg/remaining/separator 1424s ok 37 /option/arg/remaining/array 1424s # End of remaining tests 1424s # Start of ignore tests 1424s ok 38 /option/arg/ignore/long 1424s ok 39 /option/arg/ignore/short 1424s ok 40 /option/arg/ignore/arg 1424s # End of ignore tests 1424s # Start of rest tests 1424s ok 41 /option/arg/rest/non-option 1424s ok 42 /option/arg/rest/separator1 1424s ok 43 /option/arg/rest/separator2 1424s ok 44 /option/arg/rest/separator3 1424s ok 45 /option/arg/rest/separator4 1424s ok 46 /option/arg/rest/separator5 1424s # End of rest tests 1424s # End of arg tests 1424s # Start of context tests 1424s ok 47 /option/context/add 1424s ok 48 /option/context/empty2 1424s ok 49 /option/context/empty3 1424s # End of context tests 1424s # Start of bug tests 1424s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=166609 1424s ok 50 /option/bug/unknown-short 1424s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=168008 1424s ok 51 /option/bug/lonely-dash 1424s ok 52 /option/bug/triple-dash 1424s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=305576 1424s ok 53 /option/bug/missing-arg 1424s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=577638 1424s ok 54 /option/bug/dash-arg 1424s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=729563 1424s ok 55 /option/bug/short-remaining 1424s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=646926 1424s ok 56 /option/bug/double-free 1424s ok 57 /option/bug/double-zero 1424s # End of bug tests 1424s # End of option tests 1424s ok - glib/option-context.test 1424s # Running test: glib/reference.test 1424s TAP version 13 1424s # random seed: R02Sa345a964474dcd5b7b322b3a85623cbb 1424s 1..29 1424s # Start of type tests 1424s ok 1 /type/fundamentals 1424s ok 2 /type/qdata 1424s ok 3 /type/query 1424s ok 4 /type/class-private 1424s # End of type tests 1424s # Start of object tests 1424s ok 5 /object/clear 1424s ok 6 /object/clear-function 1424s ok 7 /object/set 1424s ok 8 /object/set-function 1424s ok 9 /object/value 1424s ok 10 /object/initially-unowned 1424s ok 11 /object/weak-pointer 1424s ok 12 /object/weak-ref 1424s ok 13 /object/toggle-ref 1424s ok 14 /object/qdata 1424s ok 15 /object/qdata2 1424s # Start of set tests 1424s # /object/set/derived-type summary: Check that g_set_object() doesn?t give strict aliasing warnings when used on types derived from GObject 1424s ok 16 /object/set/derived-type 1424s # End of set tests 1424s # Start of weak-pointer tests 1424s ok 17 /object/weak-pointer/clear 1424s ok 18 /object/weak-pointer/clear-function 1424s ok 19 /object/weak-pointer/set 1424s ok 20 /object/weak-pointer/set-function 1424s # End of weak-pointer tests 1424s # Start of weak-ref tests 1424s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2390 1424s # /object/weak-ref/on-dispose summary: Test that a weak ref set during dispose vfunc is cleared 1424s ok 21 /object/weak-ref/on-dispose 1424s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/865 1424s # /object/weak-ref/on-run-dispose summary: Test that a weak ref is cleared on g_object_run_dispose() 1424s ok 22 /object/weak-ref/on-run-dispose 1424s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2390 1424s # /object/weak-ref/on-toggle-notify summary: Test that a weak ref set on toggle notify is cleared 1424s ok 23 /object/weak-ref/on-toggle-notify 1424s ok 24 /object/weak-ref/in-toggle-notify 1424s ok 25 /object/weak-ref/many 1424s # Start of concurrent tests 1427s # Executing: glib/reference.test 1432s # Executing: glib/reference.test 1432s ok 26 /object/weak-ref/concurrent/0 1432s # slow test /object/weak-ref/concurrent/0 executed in 7.72 secs 1437s # Executing: glib/reference.test 1441s ok 27 /object/weak-ref/concurrent/1 1441s # slow test /object/weak-ref/concurrent/1 executed in 9.26 secs 1441s # End of concurrent tests 1441s # End of weak-ref tests 1441s # Start of toggle-ref tests 1441s ok 28 /object/toggle-ref/ref-on-dispose 1441s ok 29 /object/toggle-ref/ref-and-notify-on-dispose 1441s # End of toggle-ref tests 1441s # End of object tests 1441s ok - glib/reference.test 1441s # Running test: glib/gdbus-connection-flush.test 1441s TAP version 13 1441s # random seed: R02S02747925bc91656cc5ca91046bbadf3d 1441s 1..2 1441s # Start of gdbus tests 1441s # Start of connection tests 1441s # Start of flush tests 1441s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection-flush_KJWQK2/gdbus/connection/flush/busy/.dirs/home 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection-flush_KJWQK2/gdbus/connection/flush/busy/.dirs/cache 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection-flush_KJWQK2/gdbus/connection/flush/busy/.dirs/system-config1:/tmp/test_gdbus-connection-flush_KJWQK2/gdbus/connection/flush/busy/.dirs/system-config2 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection-flush_KJWQK2/gdbus/connection/flush/busy/.dirs/config 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection-flush_KJWQK2/gdbus/connection/flush/busy/.dirs/system-data1:/tmp/test_gdbus-connection-flush_KJWQK2/gdbus/connection/flush/busy/.dirs/system-data2 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection-flush_KJWQK2/gdbus/connection/flush/busy/.dirs/data 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection-flush_KJWQK2/gdbus/connection/flush/busy/.dirs/state 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection-flush_KJWQK2/gdbus/connection/flush/busy/.dirs/runtime 1441s ok 1 /gdbus/connection/flush/busy 1441s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection-flush_KJWQK2/gdbus/connection/flush/idle/.dirs/home 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection-flush_KJWQK2/gdbus/connection/flush/idle/.dirs/cache 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection-flush_KJWQK2/gdbus/connection/flush/idle/.dirs/system-config1:/tmp/test_gdbus-connection-flush_KJWQK2/gdbus/connection/flush/idle/.dirs/system-config2 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection-flush_KJWQK2/gdbus/connection/flush/idle/.dirs/config 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection-flush_KJWQK2/gdbus/connection/flush/idle/.dirs/system-data1:/tmp/test_gdbus-connection-flush_KJWQK2/gdbus/connection/flush/idle/.dirs/system-data2 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection-flush_KJWQK2/gdbus/connection/flush/idle/.dirs/data 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection-flush_KJWQK2/gdbus/connection/flush/idle/.dirs/state 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection-flush_KJWQK2/gdbus/connection/flush/idle/.dirs/runtime 1441s ok 2 /gdbus/connection/flush/idle 1441s # End of flush tests 1441s # End of connection tests 1441s # End of gdbus tests 1441s ok - glib/gdbus-connection-flush.test 1441s # Running test: glib/volumemonitor.test 1441s TAP version 13 1441s # random seed: R02S8476a6211cee7194b83f831a804bfaf7 1441s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 1441s 1..3 1441s # Start of volumemonitor tests 1441s ok 1 /volumemonitor/connected_drives 1441s ok 2 /volumemonitor/volumes 1441s ok 3 /volumemonitor/mounts 1441s # End of volumemonitor tests 1441s ok - glib/volumemonitor.test 1441s # Running test: glib/portal-support-flatpak-network-only.test 1441s TAP version 13 1441s # random seed: R02S6e5e070294261578072b7ecc2f817727 1441s 1..1 1441s # Start of portal-support tests 1441s # Start of flatpak tests 1441s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-flatpak-network-only_8O7QK2/portal-support/flatpak/network/.dirs/home 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-flatpak-network-only_8O7QK2/portal-support/flatpak/network/.dirs/cache 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-flatpak-network-only_8O7QK2/portal-support/flatpak/network/.dirs/system-config1:/tmp/test_portal-support-flatpak-network-only_8O7QK2/portal-support/flatpak/network/.dirs/system-config2 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-flatpak-network-only_8O7QK2/portal-support/flatpak/network/.dirs/config 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-flatpak-network-only_8O7QK2/portal-support/flatpak/network/.dirs/system-data1:/tmp/test_portal-support-flatpak-network-only_8O7QK2/portal-support/flatpak/network/.dirs/system-data2 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-flatpak-network-only_8O7QK2/portal-support/flatpak/network/.dirs/data 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-flatpak-network-only_8O7QK2/portal-support/flatpak/network/.dirs/state 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-flatpak-network-only_8O7QK2/portal-support/flatpak/network/.dirs/runtime 1441s # Creating .flatpak-info in /tmp/test_portal-support-flatpak-network-only_8O7QK2/portal-support/flatpak/network/.dirs/runtime/.flatpak-info 1441s ok 1 /portal-support/flatpak/network 1441s # End of flatpak tests 1441s # End of portal-support tests 1441s ok - glib/portal-support-flatpak-network-only.test 1441s # Running test: glib/simple-async-result.test 1441s TAP version 13 1441s # random seed: R02Scbdd2597a584a6a58ae171bdfee93871 1441s 1..2 1441s # Start of gio tests 1441s # Start of simple-async-result tests 1441s ok 1 /gio/simple-async-result/test 1441s # GLib-GIO-DEBUG: GTask 0x2aa356b65b0 (source object: (nil), source tag: (nil)) finalized without ever returning (using g_task_return_*()). This potentially indicates a bug in the program. 1441s ok 2 /gio/simple-async-result/valid 1441s # End of simple-async-result tests 1441s # End of gio tests 1441s ok - glib/simple-async-result.test 1441s # Running test: glib/properties-refcount2.test 1441s TAP version 13 1441s # random seed: R02S6d8508c4f0167fb4dcf3b304ea40543e 1441s 1..1 1441s # Start of gobject tests 1441s # Start of refcount tests 1441s # init 0x2aa1d1f5640 1441s # 1441s # . 1441s # . 1441s # . 1441s # . 1441s # . 1441s # . 1441s # . 1441s # . 1441s # . 1441s # . 1441s # . 1441s # . 1441s # . 1441s # . 1441s # . 1441s # . 1441s # . 1441s # . 1441s # . 1441s # . 1441s # . 1441s # . 1441s # . 1441s # . 1441s # . 1441s # . 1441s # . 1441s # . 1441s # . 1441s # . 1441s # . 1441s # . 1441s # . 1442s # . 1442s # . 1442s # . 1442s # . 1442s # . 1442s # . 1442s # . 1442s # . 1442s # . 1442s # . 1442s # . 1442s # . 1442s # . 1442s # . 1442s # . 1442s # . 1442s # . 1442s # . 1442s # . 1442s # . 1442s # . 1442s # . 1442s # . 1442s # . 1442s # . 1442s # . 1442s # . 1442s # . 1442s # . 1442s # . 1442s # . 1442s # . 1442s # . 1442s # . 1442s # . 1442s # . 1442s # . 1442s # . 1442s # . 1442s # . 1442s # . 1442s # . 1442s # . 1442s # . 1442s # . 1442s # Executing: glib/properties-refcount2.test 1442s # . 1442s # . 1442s # . 1442s # . 1442s # . 1442s # . 1442s # . 1442s # . 1442s # . 1442s # . 1442s # . 1442s # . 1442s # . 1442s # . 1442s # . 1442s # . 1442s # . 1442s # . 1442s # . 1442s # . 1442s # . 1442s # . 1442s # dispose 0x2aa1d1f5640! 1442s # 1442s ok 1 /gobject/refcount/properties-2 1442s # slow test /gobject/refcount/properties-2 executed in 1.00 secs 1442s # End of refcount tests 1442s # End of gobject tests 1442s ok - glib/properties-refcount2.test 1442s # Running test: glib/portal-support-flatpak-gsettings-only.test 1442s TAP version 13 1442s # random seed: R02S2e1a64829206459c006b4a7fea653944 1442s 1..1 1442s # Start of portal-support tests 1442s # Start of flatpak tests 1442s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-flatpak-gsettings-only_VBJRK2/portal-support/flatpak/gsettings/.dirs/home 1442s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-flatpak-gsettings-only_VBJRK2/portal-support/flatpak/gsettings/.dirs/cache 1442s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-flatpak-gsettings-only_VBJRK2/portal-support/flatpak/gsettings/.dirs/system-config1:/tmp/test_portal-support-flatpak-gsettings-only_VBJRK2/portal-support/flatpak/gsettings/.dirs/system-config2 1442s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-flatpak-gsettings-only_VBJRK2/portal-support/flatpak/gsettings/.dirs/config 1442s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-flatpak-gsettings-only_VBJRK2/portal-support/flatpak/gsettings/.dirs/system-data1:/tmp/test_portal-support-flatpak-gsettings-only_VBJRK2/portal-support/flatpak/gsettings/.dirs/system-data2 1442s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-flatpak-gsettings-only_VBJRK2/portal-support/flatpak/gsettings/.dirs/data 1442s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-flatpak-gsettings-only_VBJRK2/portal-support/flatpak/gsettings/.dirs/state 1442s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-flatpak-gsettings-only_VBJRK2/portal-support/flatpak/gsettings/.dirs/runtime 1442s # Creating .flatpak-info in /tmp/test_portal-support-flatpak-gsettings-only_VBJRK2/portal-support/flatpak/gsettings/.dirs/runtime/.flatpak-info 1442s ok 1 /portal-support/flatpak/gsettings 1442s # End of flatpak tests 1442s # End of portal-support tests 1442s ok - glib/portal-support-flatpak-gsettings-only.test 1442s # Running test: glib/repository-search-paths.test 1442s TAP version 13 1442s # random seed: R02S67f211754464bb23d74335ffe7516a2e 1442s 1..4 1442s # Start of repository tests 1442s # Start of search-paths tests 1442s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository-search-paths_ZGNRK2/repository/search-paths/default/.dirs/home 1442s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository-search-paths_ZGNRK2/repository/search-paths/default/.dirs/cache 1442s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository-search-paths_ZGNRK2/repository/search-paths/default/.dirs/system-config1:/tmp/test_repository-search-paths_ZGNRK2/repository/search-paths/default/.dirs/system-config2 1442s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository-search-paths_ZGNRK2/repository/search-paths/default/.dirs/config 1442s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository-search-paths_ZGNRK2/repository/search-paths/default/.dirs/system-data1:/tmp/test_repository-search-paths_ZGNRK2/repository/search-paths/default/.dirs/system-data2 1442s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository-search-paths_ZGNRK2/repository/search-paths/default/.dirs/data 1442s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository-search-paths_ZGNRK2/repository/search-paths/default/.dirs/state 1442s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository-search-paths_ZGNRK2/repository/search-paths/default/.dirs/runtime 1442s ok 1 /repository/search-paths/default 1442s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository-search-paths_ZGNRK2/repository/search-paths/prepend/.dirs/home 1442s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository-search-paths_ZGNRK2/repository/search-paths/prepend/.dirs/cache 1442s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository-search-paths_ZGNRK2/repository/search-paths/prepend/.dirs/system-config1:/tmp/test_repository-search-paths_ZGNRK2/repository/search-paths/prepend/.dirs/system-config2 1442s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository-search-paths_ZGNRK2/repository/search-paths/prepend/.dirs/config 1442s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository-search-paths_ZGNRK2/repository/search-paths/prepend/.dirs/system-data1:/tmp/test_repository-search-paths_ZGNRK2/repository/search-paths/prepend/.dirs/system-data2 1442s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository-search-paths_ZGNRK2/repository/search-paths/prepend/.dirs/data 1442s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository-search-paths_ZGNRK2/repository/search-paths/prepend/.dirs/state 1442s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository-search-paths_ZGNRK2/repository/search-paths/prepend/.dirs/runtime 1442s ok 2 /repository/search-paths/prepend 1442s # End of search-paths tests 1442s # Start of library-paths tests 1442s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository-search-paths_ZGNRK2/repository/library-paths/default/.dirs/home 1442s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository-search-paths_ZGNRK2/repository/library-paths/default/.dirs/cache 1442s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository-search-paths_ZGNRK2/repository/library-paths/default/.dirs/system-config1:/tmp/test_repository-search-paths_ZGNRK2/repository/library-paths/default/.dirs/system-config2 1442s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository-search-paths_ZGNRK2/repository/library-paths/default/.dirs/config 1442s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository-search-paths_ZGNRK2/repository/library-paths/default/.dirs/system-data1:/tmp/test_repository-search-paths_ZGNRK2/repository/library-paths/default/.dirs/system-data2 1442s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository-search-paths_ZGNRK2/repository/library-paths/default/.dirs/data 1442s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository-search-paths_ZGNRK2/repository/library-paths/default/.dirs/state 1442s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository-search-paths_ZGNRK2/repository/library-paths/default/.dirs/runtime 1442s ok 3 /repository/library-paths/default 1442s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository-search-paths_ZGNRK2/repository/library-paths/prepend/.dirs/home 1442s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository-search-paths_ZGNRK2/repository/library-paths/prepend/.dirs/cache 1442s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository-search-paths_ZGNRK2/repository/library-paths/prepend/.dirs/system-config1:/tmp/test_repository-search-paths_ZGNRK2/repository/library-paths/prepend/.dirs/system-config2 1442s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository-search-paths_ZGNRK2/repository/library-paths/prepend/.dirs/config 1442s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository-search-paths_ZGNRK2/repository/library-paths/prepend/.dirs/system-data1:/tmp/test_repository-search-paths_ZGNRK2/repository/library-paths/prepend/.dirs/system-data2 1442s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository-search-paths_ZGNRK2/repository/library-paths/prepend/.dirs/data 1442s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository-search-paths_ZGNRK2/repository/library-paths/prepend/.dirs/state 1442s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository-search-paths_ZGNRK2/repository/library-paths/prepend/.dirs/runtime 1442s ok 4 /repository/library-paths/prepend 1442s # End of library-paths tests 1442s # End of repository tests 1442s ok - glib/repository-search-paths.test 1442s # Running test: glib/thread-deprecated.test 1442s TAP version 13 1442s # random seed: R02Saeabcb61a9eab3dca4f7973b2721702f 1442s 1..6 1442s # Start of thread tests 1442s ok 1 /thread/mutex 1443s ok 2 /thread/static-rec-mutex 1447s # Executing: glib/thread-deprecated.test 1447s ok 3 /thread/static-private 1447s # slow test /thread/static-private executed in 4.40 secs 1452s # Executing: glib/thread-deprecated.test 1452s ok 4 /thread/static-rw-lock 1452s # slow test /thread/static-rw-lock executed in 5.00 secs 1452s ok 5 /thread/once 1457s # Executing: glib/thread-deprecated.test 1462s # Executing: glib/thread-deprecated.test 1462s ok 6 /thread/rerun-all 1462s # slow test /thread/rerun-all executed in 10.02 secs 1462s # End of thread tests 1462s ok - glib/thread-deprecated.test 1462s # Running test: glib/giomodule.test 1462s TAP version 13 1462s # random seed: R02Sb6ad8664b4404ee1ec37ab2e11c789b1 1462s 1..3 1462s # Start of giomodule tests 1462s ok 1 /giomodule/extension-point 1462s ok 2 /giomodule/module-scan-all 1462s ok 3 /giomodule/module-scan-all-with-scope 1462s # End of giomodule tests 1462s ok - glib/giomodule.test 1462s # Running test: glib/atomic-c-90.test 1462s TAP version 13 1462s # random seed: R02S1a07b59d01c45a4d8cb4854c31877bd0 1462s 1..2 1462s # Start of atomic tests 1462s ok 1 /atomic/types 1462s ok 2 /atomic/threaded 1462s # End of atomic tests 1462s ok - glib/atomic-c-90.test 1462s # Running test: glib/g-file-info-filesystem-readonly.test 1462s TAP version 13 1462s # random seed: R02S8dee4cf1a2d00cedc8708a5934413e02 1462s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=787731 1462s 1..2 1462s # Start of g-file-info-filesystem-readonly tests 1462s ok 1 /g-file-info-filesystem-readonly/test-fs-ro # SKIP 'bindfs' and 'fusermount' commands are needed to run this test 1462s ok 2 /g-file-info-filesystem-readonly/test-fs-ro-with-mount-monitor # SKIP 'bindfs' and 'fusermount' commands are needed to run this test 1462s # End of g-file-info-filesystem-readonly tests 1462s ok - glib/g-file-info-filesystem-readonly.test 1462s # Running test: glib/regex.test 1462s TAP version 13 1462s # random seed: R02S4b719c6c23c7bdb1b5ed25c349f676d5 1462s 1..848 1462s # Start of regex tests 1462s ok 1 /regex/properties 1462s ok 2 /regex/class 1462s ok 3 /regex/lookahead 1462s ok 4 /regex/lookbehind 1462s ok 5 /regex/subpattern 1462s ok 6 /regex/condition 1462s ok 7 /regex/recursion 1462s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=640489 1462s ok 8 /regex/multiline 1462s ok 9 /regex/explicit-crlf 1462s ok 10 /regex/max-lookbehind 1462s ok 11 /regex/compile-errors 1462s ok 12 /regex/jit-unsupported-matching 1462s # /regex/unmatched-named-subpattern summary: Test that unmatched subpatterns can still be queried 1462s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2881 1462s ok 13 /regex/unmatched-named-subpattern 1462s # /regex/compiled-regex-after-jit-failure summary: Test that failed OPTIMIZE regex doesn't cause issues on subsequent matches 1462s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2824 1462s # GLib-DEBUG: PCRE2 JIT stack limit reached, falling back to non-optimized matching. 1462s # GLib-DEBUG: PCRE2 JIT stack limit reached, falling back to non-optimized matching. 1462s ok 14 /regex/compiled-regex-after-jit-failure 1462s # Start of new tests 1462s ok 15 /regex/new/1 1462s ok 16 /regex/new/2 1462s ok 17 /regex/new/3 1462s ok 18 /regex/new/4 1462s ok 19 /regex/new/5 1462s ok 20 /regex/new/6 1462s ok 21 /regex/new/7 1462s ok 22 /regex/new/8 1462s ok 23 /regex/new/9 1462s ok 24 /regex/new/10 1462s ok 25 /regex/new/11 1462s ok 26 /regex/new/12 1462s ok 27 /regex/new/13 1462s ok 28 /regex/new/14 1462s ok 29 /regex/new/15 1462s ok 30 /regex/new/16 1462s ok 31 /regex/new/17 1462s ok 32 /regex/new/18 1462s ok 33 /regex/new/19 1462s ok 34 /regex/new/71 1462s ok 35 /regex/new/80 1462s ok 36 /regex/new/82 1462s # End of new tests 1462s # Start of new-check-flags tests 1462s ok 37 /regex/new-check-flags/20 1462s ok 38 /regex/new-check-flags/21 1462s ok 39 /regex/new-check-flags/22 1462s ok 40 /regex/new-check-flags/23 1462s ok 41 /regex/new-check-flags/24 1462s ok 42 /regex/new-check-flags/25 1462s ok 43 /regex/new-check-flags/26 1462s ok 44 /regex/new-check-flags/27 1462s ok 45 /regex/new-check-flags/28 1462s ok 46 /regex/new-check-flags/29 1462s ok 47 /regex/new-check-flags/30 1462s ok 48 /regex/new-check-flags/31 1462s ok 49 /regex/new-check-flags/32 1462s ok 50 /regex/new-check-flags/33 1462s ok 51 /regex/new-check-flags/34 1462s ok 52 /regex/new-check-flags/35 1462s ok 53 /regex/new-check-flags/36 1462s # End of new-check-flags tests 1462s # Start of new-fail tests 1462s ok 54 /regex/new-fail/37 1462s ok 55 /regex/new-fail/38 1462s ok 56 /regex/new-fail/39 1462s ok 57 /regex/new-fail/40 1462s ok 58 /regex/new-fail/41 1462s ok 59 /regex/new-fail/42 1462s ok 60 /regex/new-fail/43 1462s ok 61 /regex/new-fail/44 1462s ok 62 /regex/new-fail/45 1462s ok 63 /regex/new-fail/46 1462s ok 64 /regex/new-fail/47 1462s ok 65 /regex/new-fail/48 1462s ok 66 /regex/new-fail/49 1462s ok 67 /regex/new-fail/50 1462s ok 68 /regex/new-fail/51 1462s ok 69 /regex/new-fail/52 1462s ok 70 /regex/new-fail/53 1462s ok 71 /regex/new-fail/54 1462s ok 72 /regex/new-fail/55 1462s ok 73 /regex/new-fail/56 1462s ok 74 /regex/new-fail/57 1462s ok 75 /regex/new-fail/58 1462s ok 76 /regex/new-fail/59 1462s ok 77 /regex/new-fail/60 1462s ok 78 /regex/new-fail/61 1462s ok 79 /regex/new-fail/62 1462s ok 80 /regex/new-fail/63 1462s ok 81 /regex/new-fail/64 1462s ok 82 /regex/new-fail/65 1462s ok 83 /regex/new-fail/66 1462s ok 84 /regex/new-fail/67 1462s ok 85 /regex/new-fail/68 1462s ok 86 /regex/new-fail/69 1462s ok 87 /regex/new-fail/70 1462s ok 88 /regex/new-fail/72 1462s ok 89 /regex/new-fail/73 1462s ok 90 /regex/new-fail/74 1462s ok 91 /regex/new-fail/75 1462s ok 92 /regex/new-fail/76 1462s ok 93 /regex/new-fail/77 1462s ok 94 /regex/new-fail/78 1462s ok 95 /regex/new-fail/79 1462s ok 96 /regex/new-fail/81 1462s ok 97 /regex/new-fail/83 1462s ok 98 /regex/new-fail/84 1462s ok 99 /regex/new-fail/85 1462s ok 100 /regex/new-fail/86 1462s ok 101 /regex/new-fail/87 1462s ok 102 /regex/new-fail/88 1462s ok 103 /regex/new-fail/89 1462s ok 104 /regex/new-fail/90 1462s ok 105 /regex/new-fail/91 1462s # End of new-fail tests 1462s # Start of match-simple tests 1462s ok 106 /regex/match-simple/92 1462s ok 107 /regex/match-simple/93 1462s ok 108 /regex/match-simple/94 1462s ok 109 /regex/match-simple/95 1462s ok 110 /regex/match-simple/96 1462s ok 111 /regex/match-simple/97 1462s ok 112 /regex/match-simple/98 1462s ok 113 /regex/match-simple/99 1462s ok 114 /regex/match-simple/100 1462s ok 115 /regex/match-simple/101 1462s ok 116 /regex/match-simple/102 1462s ok 117 /regex/match-simple/103 1462s ok 118 /regex/match-simple/104 1462s ok 119 /regex/match-simple/105 1462s ok 120 /regex/match-simple/106 1462s ok 121 /regex/match-simple/107 1462s ok 122 /regex/match-simple/108 1462s ok 123 /regex/match-simple/109 1462s ok 124 /regex/match-simple/110 1462s ok 125 /regex/match-simple/111 1462s ok 126 /regex/match-simple/112 1462s ok 127 /regex/match-simple/113 1462s ok 128 /regex/match-simple/114 1462s ok 129 /regex/match-simple/115 1462s ok 130 /regex/match-simple/116 1462s ok 131 /regex/match-simple/117 1462s ok 132 /regex/match-simple/118 1462s ok 133 /regex/match-simple/119 1462s ok 134 /regex/match-simple/120 1462s ok 135 /regex/match-simple/121 1462s ok 136 /regex/match-simple/122 1462s ok 137 /regex/match-simple/123 1462s ok 138 /regex/match-simple/124 1462s ok 139 /regex/match-simple/125 1462s ok 140 /regex/match-simple/126 1462s ok 141 /regex/match-simple/127 1462s ok 142 /regex/match-simple/128 1462s ok 143 /regex/match-simple/129 1462s ok 144 /regex/match-simple/130 1462s ok 145 /regex/match-simple/131 1462s ok 146 /regex/match-simple/132 1462s ok 147 /regex/match-simple/133 1462s ok 148 /regex/match-simple/134 1462s ok 149 /regex/match-simple/135 1462s ok 150 /regex/match-simple/136 1462s ok 151 /regex/match-simple/137 1462s ok 152 /regex/match-simple/138 1462s ok 153 /regex/match-simple/139 1462s ok 154 /regex/match-simple/140 1462s ok 155 /regex/match-simple/141 1462s ok 156 /regex/match-simple/142 1462s ok 157 /regex/match-simple/143 1462s ok 158 /regex/match-simple/144 1462s ok 159 /regex/match-simple/145 1462s ok 160 /regex/match-simple/146 1462s ok 161 /regex/match-simple/147 1462s ok 162 /regex/match-simple/148 1462s ok 163 /regex/match-simple/149 1462s ok 164 /regex/match-simple/150 1462s ok 165 /regex/match-simple/151 1462s ok 166 /regex/match-simple/152 1462s ok 167 /regex/match-simple/153 1462s ok 168 /regex/match-simple/154 1462s ok 169 /regex/match-simple/155 1462s ok 170 /regex/match-simple/156 1462s ok 171 /regex/match-simple/157 1462s ok 172 /regex/match-simple/158 1462s ok 173 /regex/match-simple/159 1462s ok 174 /regex/match-simple/160 1462s ok 175 /regex/match-simple/161 1462s ok 176 /regex/match-simple/162 1462s ok 177 /regex/match-simple/163 1462s ok 178 /regex/match-simple/164 1462s # End of match-simple tests 1462s # Start of match-simple-optimized tests 1462s ok 179 /regex/match-simple-optimized/92 1462s ok 180 /regex/match-simple-optimized/93 1462s ok 181 /regex/match-simple-optimized/94 1462s ok 182 /regex/match-simple-optimized/95 1462s ok 183 /regex/match-simple-optimized/96 1462s ok 184 /regex/match-simple-optimized/97 1462s ok 185 /regex/match-simple-optimized/98 1462s ok 186 /regex/match-simple-optimized/99 1462s ok 187 /regex/match-simple-optimized/100 1462s ok 188 /regex/match-simple-optimized/101 1462s ok 189 /regex/match-simple-optimized/102 1462s ok 190 /regex/match-simple-optimized/103 1462s ok 191 /regex/match-simple-optimized/104 1462s ok 192 /regex/match-simple-optimized/105 1462s ok 193 /regex/match-simple-optimized/106 1462s ok 194 /regex/match-simple-optimized/107 1462s ok 195 /regex/match-simple-optimized/108 1462s ok 196 /regex/match-simple-optimized/109 1462s ok 197 /regex/match-simple-optimized/110 1462s ok 198 /regex/match-simple-optimized/111 1462s ok 199 /regex/match-simple-optimized/112 1462s ok 200 /regex/match-simple-optimized/113 1462s ok 201 /regex/match-simple-optimized/114 1462s ok 202 /regex/match-simple-optimized/115 1462s ok 203 /regex/match-simple-optimized/116 1462s ok 204 /regex/match-simple-optimized/117 1462s ok 205 /regex/match-simple-optimized/118 1462s ok 206 /regex/match-simple-optimized/119 1462s ok 207 /regex/match-simple-optimized/120 1462s ok 208 /regex/match-simple-optimized/121 1462s ok 209 /regex/match-simple-optimized/122 1462s ok 210 /regex/match-simple-optimized/123 1462s ok 211 /regex/match-simple-optimized/124 1462s ok 212 /regex/match-simple-optimized/125 1462s ok 213 /regex/match-simple-optimized/126 1462s ok 214 /regex/match-simple-optimized/127 1462s ok 215 /regex/match-simple-optimized/128 1462s ok 216 /regex/match-simple-optimized/129 1462s ok 217 /regex/match-simple-optimized/130 1462s ok 218 /regex/match-simple-optimized/131 1462s ok 219 /regex/match-simple-optimized/132 1462s ok 220 /regex/match-simple-optimized/133 1462s ok 221 /regex/match-simple-optimized/134 1462s ok 222 /regex/match-simple-optimized/135 1462s ok 223 /regex/match-simple-optimized/136 1462s ok 224 /regex/match-simple-optimized/137 1462s ok 225 /regex/match-simple-optimized/138 1462s ok 226 /regex/match-simple-optimized/139 1462s ok 227 /regex/match-simple-optimized/140 1462s ok 228 /regex/match-simple-optimized/141 1462s ok 229 /regex/match-simple-optimized/142 1462s ok 230 /regex/match-simple-optimized/143 1462s ok 231 /regex/match-simple-optimized/144 1462s ok 232 /regex/match-simple-optimized/145 1462s ok 233 /regex/match-simple-optimized/146 1462s ok 234 /regex/match-simple-optimized/147 1462s ok 235 /regex/match-simple-optimized/148 1462s ok 236 /regex/match-simple-optimized/149 1462s ok 237 /regex/match-simple-optimized/150 1462s ok 238 /regex/match-simple-optimized/151 1462s ok 239 /regex/match-simple-optimized/152 1462s ok 240 /regex/match-simple-optimized/153 1462s ok 241 /regex/match-simple-optimized/154 1462s ok 242 /regex/match-simple-optimized/155 1462s ok 243 /regex/match-simple-optimized/156 1462s ok 244 /regex/match-simple-optimized/157 1462s ok 245 /regex/match-simple-optimized/158 1462s ok 246 /regex/match-simple-optimized/159 1462s ok 247 /regex/match-simple-optimized/160 1462s ok 248 /regex/match-simple-optimized/161 1462s ok 249 /regex/match-simple-optimized/162 1462s ok 250 /regex/match-simple-optimized/163 1462s # GLib-DEBUG: PCRE2 JIT stack limit reached, falling back to non-optimized matching. 1462s ok 251 /regex/match-simple-optimized/164 1462s # End of match-simple-optimized tests 1462s # Start of match tests 1462s ok 252 /regex/match/165 1462s ok 253 /regex/match/166 1462s ok 254 /regex/match/167 1462s ok 255 /regex/match/168 1462s ok 256 /regex/match/169 1462s ok 257 /regex/match/170 1462s ok 258 /regex/match/171 1462s ok 259 /regex/match/172 1462s ok 260 /regex/match/173 1462s ok 261 /regex/match/174 1462s ok 262 /regex/match/175 1462s ok 263 /regex/match/176 1462s ok 264 /regex/match/177 1462s ok 265 /regex/match/178 1462s ok 266 /regex/match/179 1462s ok 267 /regex/match/180 1462s ok 268 /regex/match/181 1462s ok 269 /regex/match/182 1462s ok 270 /regex/match/183 1462s ok 271 /regex/match/184 1462s ok 272 /regex/match/185 1462s ok 273 /regex/match/186 1462s ok 274 /regex/match/187 1462s ok 275 /regex/match/188 1462s ok 276 /regex/match/189 1462s ok 277 /regex/match/190 1462s ok 278 /regex/match/191 1462s ok 279 /regex/match/192 1462s ok 280 /regex/match/193 1462s ok 281 /regex/match/194 1462s ok 282 /regex/match/195 1462s ok 283 /regex/match/196 1462s ok 284 /regex/match/197 1462s ok 285 /regex/match/198 1462s ok 286 /regex/match/199 1462s ok 287 /regex/match/200 1462s ok 288 /regex/match/201 1462s ok 289 /regex/match/202 1462s ok 290 /regex/match/203 1462s ok 291 /regex/match/204 1462s ok 292 /regex/match/205 1462s ok 293 /regex/match/206 1462s ok 294 /regex/match/207 1462s ok 295 /regex/match/208 1462s ok 296 /regex/match/209 1462s ok 297 /regex/match/210 1462s ok 298 /regex/match/211 1462s ok 299 /regex/match/212 1462s ok 300 /regex/match/213 1462s ok 301 /regex/match/214 1462s ok 302 /regex/match/215 1462s ok 303 /regex/match/216 1462s ok 304 /regex/match/217 1462s ok 305 /regex/match/218 1462s ok 306 /regex/match/219 1462s ok 307 /regex/match/220 1462s ok 308 /regex/match/221 1462s ok 309 /regex/match/222 1462s ok 310 /regex/match/223 1462s ok 311 /regex/match/224 1462s ok 312 /regex/match/225 1462s ok 313 /regex/match/226 1462s ok 314 /regex/match/227 1462s ok 315 /regex/match/228 1462s ok 316 /regex/match/229 1462s ok 317 /regex/match/230 1462s ok 318 /regex/match/231 1462s ok 319 /regex/match/232 1462s ok 320 /regex/match/233 1462s ok 321 /regex/match/234 1462s ok 322 /regex/match/235 1462s ok 323 /regex/match/236 1462s ok 324 /regex/match/237 1462s ok 325 /regex/match/238 1462s ok 326 /regex/match/239 1462s ok 327 /regex/match/240 1462s ok 328 /regex/match/241 1462s ok 329 /regex/match/242 1462s ok 330 /regex/match/243 1462s ok 331 /regex/match/244 1462s ok 332 /regex/match/245 1462s ok 333 /regex/match/246 1462s ok 334 /regex/match/partial281 1462s ok 335 /regex/match/partial282 1462s ok 336 /regex/match/partial283 1462s ok 337 /regex/match/partial284 1462s ok 338 /regex/match/partial285 1462s ok 339 /regex/match/partial286 1462s ok 340 /regex/match/partial287 1462s ok 341 /regex/match/partial288 1462s ok 342 /regex/match/partial289 1462s ok 343 /regex/match/partial290 1462s ok 344 /regex/match/partial291 1462s ok 345 /regex/match/partial292 1462s ok 346 /regex/match/partial293 1462s ok 347 /regex/match/partial294 1462s ok 348 /regex/match/partial295 1462s ok 349 /regex/match/partial296 1462s ok 350 /regex/match/partial297 1462s ok 351 /regex/match/partial298 1462s ok 352 /regex/match/partial299 1462s ok 353 /regex/match/partial300 1462s ok 354 /regex/match/partial301 1462s ok 355 /regex/match/partial302 1462s # Start of next0 tests 1462s ok 356 /regex/match/next0/247 1462s ok 357 /regex/match/next0/248 1462s ok 358 /regex/match/next0/249 1462s ok 359 /regex/match/next0/250 1462s # End of next0 tests 1462s # Start of next1 tests 1462s ok 360 /regex/match/next1/251 1462s ok 361 /regex/match/next1/252 1462s ok 362 /regex/match/next1/253 1462s ok 363 /regex/match/next1/254 1462s ok 364 /regex/match/next1/255 1462s # End of next1 tests 1462s # Start of next2 tests 1462s ok 365 /regex/match/next2/256 1462s ok 366 /regex/match/next2/257 1462s ok 367 /regex/match/next2/258 1462s ok 368 /regex/match/next2/259 1462s ok 369 /regex/match/next2/260 1462s ok 370 /regex/match/next2/261 1462s ok 371 /regex/match/next2/262 1462s ok 372 /regex/match/next2/263 1462s # End of next2 tests 1462s # Start of next3 tests 1462s ok 373 /regex/match/next3/264 1462s ok 374 /regex/match/next3/265 1462s ok 375 /regex/match/next3/266 1462s ok 376 /regex/match/next3/267 1462s ok 377 /regex/match/next3/268 1462s ok 378 /regex/match/next3/269 1462s # End of next3 tests 1462s # Start of next4 tests 1462s ok 379 /regex/match/next4/270 1462s # End of next4 tests 1462s # Start of count tests 1462s ok 380 /regex/match/count/271 1462s ok 381 /regex/match/count/272 1462s ok 382 /regex/match/count/273 1462s ok 383 /regex/match/count/274 1462s ok 384 /regex/match/count/275 1462s ok 385 /regex/match/count/276 1462s ok 386 /regex/match/count/277 1462s ok 387 /regex/match/count/278 1462s ok 388 /regex/match/count/279 1462s ok 389 /regex/match/count/280 1462s # End of count tests 1462s # Start of count-optimized tests 1462s ok 390 /regex/match/count-optimized/271 1462s ok 391 /regex/match/count-optimized/272 1462s ok 392 /regex/match/count-optimized/273 1462s ok 393 /regex/match/count-optimized/274 1462s ok 394 /regex/match/count-optimized/275 1462s ok 395 /regex/match/count-optimized/276 1462s ok 396 /regex/match/count-optimized/277 1462s ok 397 /regex/match/count-optimized/278 1462s ok 398 /regex/match/count-optimized/279 1462s ok 399 /regex/match/count-optimized/280 1462s # End of count-optimized tests 1462s # Start of partial-optimized tests 1462s ok 400 /regex/match/partial-optimized/281 1462s ok 401 /regex/match/partial-optimized/282 1462s ok 402 /regex/match/partial-optimized/283 1462s ok 403 /regex/match/partial-optimized/284 1462s ok 404 /regex/match/partial-optimized/285 1462s ok 405 /regex/match/partial-optimized/286 1462s ok 406 /regex/match/partial-optimized/287 1462s ok 407 /regex/match/partial-optimized/288 1462s ok 408 /regex/match/partial-optimized/289 1462s ok 409 /regex/match/partial-optimized/290 1462s ok 410 /regex/match/partial-optimized/291 1462s ok 411 /regex/match/partial-optimized/292 1462s ok 412 /regex/match/partial-optimized/293 1462s ok 413 /regex/match/partial-optimized/294 1462s ok 414 /regex/match/partial-optimized/295 1462s ok 415 /regex/match/partial-optimized/296 1462s ok 416 /regex/match/partial-optimized/297 1462s ok 417 /regex/match/partial-optimized/298 1462s ok 418 /regex/match/partial-optimized/299 1462s ok 419 /regex/match/partial-optimized/300 1462s ok 420 /regex/match/partial-optimized/301 1462s ok 421 /regex/match/partial-optimized/302 1462s # End of partial-optimized tests 1462s # Start of subpattern tests 1462s ok 422 /regex/match/subpattern/303 1462s ok 423 /regex/match/subpattern/304 1462s ok 424 /regex/match/subpattern/305 1462s ok 425 /regex/match/subpattern/306 1462s ok 426 /regex/match/subpattern/307 1462s ok 427 /regex/match/subpattern/308 1462s ok 428 /regex/match/subpattern/309 1462s ok 429 /regex/match/subpattern/310 1462s ok 430 /regex/match/subpattern/311 1462s ok 431 /regex/match/subpattern/312 1462s ok 432 /regex/match/subpattern/313 1462s ok 433 /regex/match/subpattern/314 1462s ok 434 /regex/match/subpattern/315 1462s # Start of named tests 1462s # Start of dupnames tests 1462s ok 435 /regex/match/subpattern/named/dupnames/325 1462s ok 436 /regex/match/subpattern/named/dupnames/326 1462s ok 437 /regex/match/subpattern/named/dupnames/327 1462s ok 438 /regex/match/subpattern/named/dupnames/328 1462s ok 439 /regex/match/subpattern/named/dupnames/329 1462s # End of dupnames tests 1462s # End of named tests 1462s # End of subpattern tests 1462s # Start of subpattern-optimized tests 1462s ok 440 /regex/match/subpattern-optimized/303 1462s ok 441 /regex/match/subpattern-optimized/304 1462s ok 442 /regex/match/subpattern-optimized/305 1462s ok 443 /regex/match/subpattern-optimized/306 1462s ok 444 /regex/match/subpattern-optimized/307 1462s ok 445 /regex/match/subpattern-optimized/308 1462s ok 446 /regex/match/subpattern-optimized/309 1462s ok 447 /regex/match/subpattern-optimized/310 1462s ok 448 /regex/match/subpattern-optimized/311 1462s ok 449 /regex/match/subpattern-optimized/312 1462s ok 450 /regex/match/subpattern-optimized/313 1462s ok 451 /regex/match/subpattern-optimized/314 1462s ok 452 /regex/match/subpattern-optimized/315 1462s # End of subpattern-optimized tests 1462s # Start of named tests 1462s # Start of subpattern tests 1462s ok 453 /regex/match/named/subpattern/316 1462s ok 454 /regex/match/named/subpattern/317 1462s ok 455 /regex/match/named/subpattern/318 1462s ok 456 /regex/match/named/subpattern/319 1462s ok 457 /regex/match/named/subpattern/320 1462s ok 458 /regex/match/named/subpattern/321 1462s ok 459 /regex/match/named/subpattern/322 1462s ok 460 /regex/match/named/subpattern/323 1462s ok 461 /regex/match/named/subpattern/324 1462s ok 462 /regex/match/named/subpattern/330 1462s ok 463 /regex/match/named/subpattern/331 1462s ok 464 /regex/match/named/subpattern/332 1462s ok 465 /regex/match/named/subpattern/333 1462s ok 466 /regex/match/named/subpattern/334 1462s # End of subpattern tests 1462s # End of named tests 1462s # End of match tests 1462s # Start of match-optimized tests 1462s ok 467 /regex/match-optimized/165 1462s ok 468 /regex/match-optimized/166 1462s ok 469 /regex/match-optimized/167 1462s ok 470 /regex/match-optimized/168 1462s ok 471 /regex/match-optimized/169 1462s ok 472 /regex/match-optimized/170 1462s ok 473 /regex/match-optimized/171 1462s ok 474 /regex/match-optimized/172 1462s ok 475 /regex/match-optimized/173 1462s ok 476 /regex/match-optimized/174 1462s ok 477 /regex/match-optimized/175 1462s ok 478 /regex/match-optimized/176 1462s ok 479 /regex/match-optimized/177 1462s ok 480 /regex/match-optimized/178 1462s ok 481 /regex/match-optimized/179 1462s ok 482 /regex/match-optimized/180 1462s ok 483 /regex/match-optimized/181 1462s ok 484 /regex/match-optimized/182 1462s ok 485 /regex/match-optimized/183 1462s ok 486 /regex/match-optimized/184 1462s ok 487 /regex/match-optimized/185 1462s ok 488 /regex/match-optimized/186 1462s ok 489 /regex/match-optimized/187 1462s ok 490 /regex/match-optimized/188 1462s ok 491 /regex/match-optimized/189 1462s ok 492 /regex/match-optimized/190 1462s ok 493 /regex/match-optimized/191 1462s ok 494 /regex/match-optimized/192 1462s ok 495 /regex/match-optimized/193 1462s ok 496 /regex/match-optimized/194 1462s ok 497 /regex/match-optimized/195 1462s ok 498 /regex/match-optimized/196 1462s ok 499 /regex/match-optimized/197 1462s ok 500 /regex/match-optimized/198 1462s ok 501 /regex/match-optimized/199 1462s ok 502 /regex/match-optimized/200 1462s ok 503 /regex/match-optimized/201 1462s ok 504 /regex/match-optimized/202 1462s ok 505 /regex/match-optimized/203 1462s ok 506 /regex/match-optimized/204 1462s ok 507 /regex/match-optimized/205 1462s ok 508 /regex/match-optimized/206 1462s ok 509 /regex/match-optimized/207 1462s ok 510 /regex/match-optimized/208 1462s ok 511 /regex/match-optimized/209 1462s ok 512 /regex/match-optimized/210 1462s ok 513 /regex/match-optimized/211 1462s ok 514 /regex/match-optimized/212 1462s ok 515 /regex/match-optimized/213 1462s ok 516 /regex/match-optimized/214 1462s ok 517 /regex/match-optimized/215 1462s ok 518 /regex/match-optimized/216 1462s ok 519 /regex/match-optimized/217 1462s ok 520 /regex/match-optimized/218 1462s ok 521 /regex/match-optimized/219 1462s ok 522 /regex/match-optimized/220 1462s ok 523 /regex/match-optimized/221 1462s ok 524 /regex/match-optimized/222 1462s ok 525 /regex/match-optimized/223 1462s ok 526 /regex/match-optimized/224 1462s ok 527 /regex/match-optimized/225 1462s ok 528 /regex/match-optimized/226 1462s ok 529 /regex/match-optimized/227 1462s ok 530 /regex/match-optimized/228 1462s ok 531 /regex/match-optimized/229 1462s ok 532 /regex/match-optimized/230 1462s ok 533 /regex/match-optimized/231 1462s ok 534 /regex/match-optimized/232 1462s ok 535 /regex/match-optimized/233 1462s ok 536 /regex/match-optimized/234 1462s ok 537 /regex/match-optimized/235 1462s ok 538 /regex/match-optimized/236 1462s ok 539 /regex/match-optimized/237 1462s ok 540 /regex/match-optimized/238 1462s ok 541 /regex/match-optimized/239 1462s ok 542 /regex/match-optimized/240 1462s ok 543 /regex/match-optimized/241 1462s ok 544 /regex/match-optimized/242 1462s ok 545 /regex/match-optimized/243 1462s ok 546 /regex/match-optimized/244 1462s ok 547 /regex/match-optimized/245 1462s ok 548 /regex/match-optimized/246 1462s # End of match-optimized tests 1462s # Start of fetch-all0 tests 1462s ok 549 /regex/fetch-all0/335 1462s ok 550 /regex/fetch-all0/336 1462s # End of fetch-all0 tests 1462s # Start of fetch-all1 tests 1462s ok 551 /regex/fetch-all1/337 1462s ok 552 /regex/fetch-all1/338 1462s ok 553 /regex/fetch-all1/339 1462s # End of fetch-all1 tests 1462s # Start of fetch-all2 tests 1462s ok 554 /regex/fetch-all2/340 1462s ok 555 /regex/fetch-all2/341 1462s ok 556 /regex/fetch-all2/342 1462s # End of fetch-all2 tests 1462s # Start of fetch-all3 tests 1462s ok 557 /regex/fetch-all3/343 1462s ok 558 /regex/fetch-all3/344 1462s ok 559 /regex/fetch-all3/345 1462s ok 560 /regex/fetch-all3/346 1462s ok 561 /regex/fetch-all3/347 1462s # End of fetch-all3 tests 1462s # Start of split tests 1462s # Start of simple0 tests 1462s ok 562 /regex/split/simple0/348 1462s ok 563 /regex/split/simple0/349 1462s ok 564 /regex/split/simple0/364 1462s ok 565 /regex/split/simple0/365 1462s # End of simple0 tests 1462s # Start of simple1 tests 1462s ok 566 /regex/split/simple1/350 1462s ok 567 /regex/split/simple1/351 1462s # End of simple1 tests 1462s # Start of simple2 tests 1462s ok 568 /regex/split/simple2/352 1462s ok 569 /regex/split/simple2/358 1462s ok 570 /regex/split/simple2/360 1462s # End of simple2 tests 1462s # Start of simple3 tests 1462s ok 571 /regex/split/simple3/353 1462s ok 572 /regex/split/simple3/354 1462s ok 573 /regex/split/simple3/355 1462s ok 574 /regex/split/simple3/356 1462s ok 575 /regex/split/simple3/357 1462s ok 576 /regex/split/simple3/359 1462s ok 577 /regex/split/simple3/361 1462s ok 578 /regex/split/simple3/362 1462s ok 579 /regex/split/simple3/363 1462s # End of simple3 tests 1462s # End of split tests 1462s # Start of split0 tests 1462s ok 580 /regex/split0/366 1462s ok 581 /regex/split0/368 1462s # End of split0 tests 1462s # Start of full-split0 tests 1462s ok 582 /regex/full-split0/367 1462s ok 583 /regex/full-split0/369 1462s ok 584 /regex/full-split0/370 1462s ok 585 /regex/full-split0/371 1462s ok 586 /regex/full-split0/372 1462s # End of full-split0 tests 1462s # Start of split1 tests 1462s ok 587 /regex/split1/373 1462s ok 588 /regex/split1/376 1462s # End of split1 tests 1462s # Start of full-split1 tests 1462s ok 589 /regex/full-split1/374 1462s ok 590 /regex/full-split1/375 1462s ok 591 /regex/full-split1/377 1462s ok 592 /regex/full-split1/378 1462s ok 593 /regex/full-split1/404 1462s # End of full-split1 tests 1462s # Start of split2 tests 1462s ok 594 /regex/split2/379 1462s ok 595 /regex/split2/383 1462s ok 596 /regex/split2/395 1462s # End of split2 tests 1462s # Start of full-split2 tests 1462s ok 597 /regex/full-split2/380 1462s ok 598 /regex/full-split2/381 1462s ok 599 /regex/full-split2/382 1462s ok 600 /regex/full-split2/384 1462s ok 601 /regex/full-split2/396 1462s ok 602 /regex/full-split2/399 1462s ok 603 /regex/full-split2/405 1462s # End of full-split2 tests 1462s # Start of split3 tests 1462s ok 604 /regex/split3/385 1462s ok 605 /regex/split3/387 1462s ok 606 /regex/split3/389 1462s ok 607 /regex/split3/391 1462s ok 608 /regex/split3/393 1462s ok 609 /regex/split3/397 1462s ok 610 /regex/split3/400 1462s ok 611 /regex/split3/402 1462s # End of split3 tests 1462s # Start of full-split3 tests 1462s ok 612 /regex/full-split3/386 1462s ok 613 /regex/full-split3/388 1462s ok 614 /regex/full-split3/390 1462s ok 615 /regex/full-split3/392 1462s ok 616 /regex/full-split3/394 1462s ok 617 /regex/full-split3/398 1462s ok 618 /regex/full-split3/401 1462s ok 619 /regex/full-split3/403 1462s ok 620 /regex/full-split3/406 1462s ok 621 /regex/full-split3/407 1462s # End of full-split3 tests 1462s # Start of check-repacement tests 1462s ok 622 /regex/check-repacement/408 1462s ok 623 /regex/check-repacement/409 1462s ok 624 /regex/check-repacement/410 1462s ok 625 /regex/check-repacement/411 1462s ok 626 /regex/check-repacement/412 1462s ok 627 /regex/check-repacement/413 1462s ok 628 /regex/check-repacement/414 1462s ok 629 /regex/check-repacement/415 1462s # End of check-repacement tests 1462s # Start of expand tests 1462s ok 630 /regex/expand/416 1462s ok 631 /regex/expand/417 1462s ok 632 /regex/expand/418 1462s ok 633 /regex/expand/419 1462s ok 634 /regex/expand/420 1462s ok 635 /regex/expand/421 1462s ok 636 /regex/expand/422 1462s ok 637 /regex/expand/423 1462s ok 638 /regex/expand/424 1462s ok 639 /regex/expand/425 1462s ok 640 /regex/expand/426 1462s ok 641 /regex/expand/427 1462s ok 642 /regex/expand/428 1462s ok 643 /regex/expand/429 1462s ok 644 /regex/expand/430 1462s ok 645 /regex/expand/431 1462s ok 646 /regex/expand/432 1462s ok 647 /regex/expand/433 1462s ok 648 /regex/expand/434 1462s ok 649 /regex/expand/435 1462s ok 650 /regex/expand/436 1462s ok 651 /regex/expand/437 1462s ok 652 /regex/expand/438 1462s ok 653 /regex/expand/439 1462s ok 654 /regex/expand/440 1462s ok 655 /regex/expand/441 1462s ok 656 /regex/expand/442 1462s ok 657 /regex/expand/443 1462s ok 658 /regex/expand/444 1462s ok 659 /regex/expand/445 1462s ok 660 /regex/expand/446 1462s ok 661 /regex/expand/447 1462s ok 662 /regex/expand/448 1462s ok 663 /regex/expand/449 1462s ok 664 /regex/expand/450 1462s ok 665 /regex/expand/451 1462s ok 666 /regex/expand/452 1462s ok 667 /regex/expand/453 1462s ok 668 /regex/expand/454 1462s ok 669 /regex/expand/455 1462s ok 670 /regex/expand/456 1462s ok 671 /regex/expand/457 1462s ok 672 /regex/expand/458 1462s ok 673 /regex/expand/459 1462s ok 674 /regex/expand/460 1462s ok 675 /regex/expand/461 1462s ok 676 /regex/expand/462 1462s ok 677 /regex/expand/463 1462s ok 678 /regex/expand/464 1462s ok 679 /regex/expand/465 1462s ok 680 /regex/expand/466 1462s ok 681 /regex/expand/467 1462s ok 682 /regex/expand/468 1462s ok 683 /regex/expand/469 1462s ok 684 /regex/expand/470 1462s ok 685 /regex/expand/471 1462s ok 686 /regex/expand/472 1462s ok 687 /regex/expand/473 1462s ok 688 /regex/expand/474 1462s ok 689 /regex/expand/475 1462s ok 690 /regex/expand/476 1462s ok 691 /regex/expand/477 1462s ok 692 /regex/expand/478 1462s ok 693 /regex/expand/479 1462s ok 694 /regex/expand/480 1462s ok 695 /regex/expand/481 1462s # End of expand tests 1462s # Start of replace tests 1462s ok 696 /regex/replace/482 1462s ok 697 /regex/replace/483 1462s ok 698 /regex/replace/484 1462s ok 699 /regex/replace/485 1462s ok 700 /regex/replace/486 1462s ok 701 /regex/replace/487 1462s ok 702 /regex/replace/488 1462s ok 703 /regex/replace/489 1462s ok 704 /regex/replace/490 1462s ok 705 /regex/replace/491 1462s ok 706 /regex/replace/492 1462s ok 707 /regex/replace/493 1462s ok 708 /regex/replace/494 1462s ok 709 /regex/replace/495 1462s ok 710 /regex/replace/496 1462s ok 711 /regex/replace/497 1462s ok 712 /regex/replace/498 1462s ok 713 /regex/replace/499 1462s ok 714 /regex/replace/500 1462s ok 715 /regex/replace/501 1462s ok 716 /regex/replace/502 1462s ok 717 /regex/replace/503 1462s ok 718 /regex/replace/504 1462s ok 719 /regex/replace/505 1462s ok 720 /regex/replace/506 1462s ok 721 /regex/replace/507 1462s ok 722 /regex/replace/508 1462s ok 723 /regex/replace/509 1462s # End of replace tests 1462s # Start of replace-optimized tests 1462s ok 724 /regex/replace-optimized/482 1462s ok 725 /regex/replace-optimized/483 1462s ok 726 /regex/replace-optimized/484 1462s ok 727 /regex/replace-optimized/485 1462s ok 728 /regex/replace-optimized/486 1462s ok 729 /regex/replace-optimized/487 1462s ok 730 /regex/replace-optimized/488 1462s ok 731 /regex/replace-optimized/489 1462s ok 732 /regex/replace-optimized/490 1462s ok 733 /regex/replace-optimized/491 1462s ok 734 /regex/replace-optimized/492 1462s ok 735 /regex/replace-optimized/493 1462s ok 736 /regex/replace-optimized/494 1462s ok 737 /regex/replace-optimized/495 1462s ok 738 /regex/replace-optimized/496 1462s ok 739 /regex/replace-optimized/497 1462s ok 740 /regex/replace-optimized/498 1462s ok 741 /regex/replace-optimized/499 1462s ok 742 /regex/replace-optimized/500 1462s ok 743 /regex/replace-optimized/501 1462s ok 744 /regex/replace-optimized/502 1462s ok 745 /regex/replace-optimized/503 1462s ok 746 /regex/replace-optimized/504 1462s ok 747 /regex/replace-optimized/505 1462s ok 748 /regex/replace-optimized/506 1462s ok 749 /regex/replace-optimized/507 1462s ok 750 /regex/replace-optimized/508 1462s ok 751 /regex/replace-optimized/509 1462s # End of replace-optimized tests 1462s # Start of replace-literally tests 1462s ok 752 /regex/replace-literally/510 1462s ok 753 /regex/replace-literally/511 1462s ok 754 /regex/replace-literally/512 1462s ok 755 /regex/replace-literally/513 1462s ok 756 /regex/replace-literally/514 1462s ok 757 /regex/replace-literally/515 1462s ok 758 /regex/replace-literally/516 1462s ok 759 /regex/replace-literally/517 1462s ok 760 /regex/replace-literally/518 1462s ok 761 /regex/replace-literally/519 1462s ok 762 /regex/replace-literally/520 1462s ok 763 /regex/replace-literally/521 1462s ok 764 /regex/replace-literally/522 1462s ok 765 /regex/replace-literally/523 1462s ok 766 /regex/replace-literally/524 1462s ok 767 /regex/replace-literally/525 1462s ok 768 /regex/replace-literally/526 1462s ok 769 /regex/replace-literally/527 1462s ok 770 /regex/replace-literally/528 1462s ok 771 /regex/replace-literally/529 1462s # End of replace-literally tests 1462s # Start of string-number tests 1462s ok 772 /regex/string-number/530 1462s ok 773 /regex/string-number/531 1462s ok 774 /regex/string-number/532 1462s ok 775 /regex/string-number/533 1462s ok 776 /regex/string-number/534 1462s ok 777 /regex/string-number/535 1462s ok 778 /regex/string-number/536 1462s ok 779 /regex/string-number/537 1462s ok 780 /regex/string-number/538 1462s ok 781 /regex/string-number/539 1462s ok 782 /regex/string-number/540 1462s ok 783 /regex/string-number/541 1462s ok 784 /regex/string-number/542 1462s ok 785 /regex/string-number/543 1462s ok 786 /regex/string-number/544 1462s # End of string-number tests 1462s # Start of escape_nul tests 1462s ok 787 /regex/escape_nul/545 1462s ok 788 /regex/escape_nul/546 1462s ok 789 /regex/escape_nul/547 1462s ok 790 /regex/escape_nul/548 1462s ok 791 /regex/escape_nul/549 1462s ok 792 /regex/escape_nul/550 1462s ok 793 /regex/escape_nul/551 1462s ok 794 /regex/escape_nul/552 1462s ok 795 /regex/escape_nul/553 1462s ok 796 /regex/escape_nul/554 1462s ok 797 /regex/escape_nul/555 1462s ok 798 /regex/escape_nul/556 1462s ok 799 /regex/escape_nul/557 1462s ok 800 /regex/escape_nul/558 1462s ok 801 /regex/escape_nul/559 1462s # End of escape_nul tests 1462s # Start of escape tests 1462s ok 802 /regex/escape/560 1462s ok 803 /regex/escape/561 1462s ok 804 /regex/escape/562 1462s ok 805 /regex/escape/563 1462s ok 806 /regex/escape/564 1462s ok 807 /regex/escape/565 1462s ok 808 /regex/escape/566 1462s ok 809 /regex/escape/567 1462s ok 810 /regex/escape/568 1462s ok 811 /regex/escape/569 1462s ok 812 /regex/escape/570 1462s ok 813 /regex/escape/571 1462s ok 814 /regex/escape/572 1462s ok 815 /regex/escape/573 1462s ok 816 /regex/escape/574 1462s ok 817 /regex/escape/575 1462s ok 818 /regex/escape/576 1462s ok 819 /regex/escape/577 1462s # End of escape tests 1462s # Start of match-all0 tests 1462s ok 820 /regex/match-all0/578 1462s ok 821 /regex/match-all0/580 1462s # End of match-all0 tests 1462s # Start of match-all-full0 tests 1462s ok 822 /regex/match-all-full0/579 1462s ok 823 /regex/match-all-full0/581 1462s ok 824 /regex/match-all-full0/582 1462s ok 825 /regex/match-all-full0/583 1462s # End of match-all-full0 tests 1462s # Start of match-all1 tests 1462s ok 826 /regex/match-all1/584 1462s ok 827 /regex/match-all1/586 1462s ok 828 /regex/match-all1/591 1462s # End of match-all1 tests 1462s # Start of match-all-full1 tests 1462s ok 829 /regex/match-all-full1/585 1462s ok 830 /regex/match-all-full1/587 1462s ok 831 /regex/match-all-full1/588 1462s ok 832 /regex/match-all-full1/589 1462s ok 833 /regex/match-all-full1/590 1462s ok 834 /regex/match-all-full1/592 1462s # End of match-all-full1 tests 1462s # Start of match-all2 tests 1462s ok 835 /regex/match-all2/593 1462s ok 836 /regex/match-all2/595 1462s ok 837 /regex/match-all2/597 1462s # End of match-all2 tests 1462s # Start of match-all-full2 tests 1462s ok 838 /regex/match-all-full2/594 1462s ok 839 /regex/match-all-full2/596 1462s ok 840 /regex/match-all-full2/598 1462s # End of match-all-full2 tests 1462s # Start of match-all3 tests 1462s ok 841 /regex/match-all3/599 1462s ok 842 /regex/match-all3/601 1462s # End of match-all3 tests 1462s # Start of match-all-full3 tests 1462s ok 843 /regex/match-all-full3/600 1462s ok 844 /regex/match-all-full3/602 1462s # End of match-all-full3 tests 1462s # Start of match-notempty tests 1462s ok 845 /regex/match-notempty/603 1462s # End of match-notempty tests 1462s # Start of match-notempty-optimized tests 1462s ok 846 /regex/match-notempty-optimized/603 1462s # End of match-notempty-optimized tests 1462s # Start of match-notempty-atstart tests 1462s ok 847 /regex/match-notempty-atstart/604 1462s # End of match-notempty-atstart tests 1462s # Start of match-notempty-atstart-optimized tests 1462s ok 848 /regex/match-notempty-atstart-optimized/604 1462s # End of match-notempty-atstart-optimized tests 1462s # End of regex tests 1462s ok - glib/regex.test 1462s # Running test: glib/uri.test 1462s TAP version 13 1462s # random seed: R02S4d36247cd6893b93345dc43f756604dd 1462s 1..24 1462s # Start of uri tests 1462s ok 1 /uri/file-to-uri 1462s ok 2 /uri/file-from-uri 1462s ok 3 /uri/file-roundtrip 1462s ok 4 /uri/list 1462s # Test 0: %2Babc %4F 1462s # Test 1: %2Babc %4F 1462s # Test 2: %00abc %4F 1462s # Test 3: /cursors/none.png 1462s # Test 4: /cursors%2fbad-subdir/none.png 1462s # Test 5: %0 1462s # Test 6: %ra 1462s # Test 7: %2r 1462s # Test 8: Timm B?der 1462s # Test 9: (null) 1462s ok 5 /uri/unescape-string 1462s ok 6 /uri/unescape-segment 1462s # Test 0: abcdefgABCDEFG._~ 1462s # Test 1: :+ \\?# 1462s # Test 2: a+b:c 1462s # Test 3: a+b:c\303\234 1462s # Test 4: \374;\322 1462s # Test 5: \303\261\303( 1462s ok 7 /uri/escape-string 1462s ok 8 /uri/escape-bytes 1462s ok 9 /uri/scheme 1462s ok 10 /uri/build 1462s ok 11 /uri/split 1462s ok 12 /uri/is_valid 1462s ok 13 /uri/to-string 1462s ok 14 /uri/join 1462s # /uri/join-split-round-trip summary: Test that joining different URI components survives a round trip 1462s # Combination 0 1462s # Combination 1 1462s # Combination 2 1462s # Combination 3 1462s # Combination 4 1462s # Combination 5 1462s # Combination 6 1462s # Combination 7 1462s # Combination 8 1462s # Combination 9 1462s # Combination 10 1462s # Combination 11 1462s # Combination 12 1462s # Combination 13 1462s # Combination 14 1462s # Combination 15 1462s # Combination 16 1462s # Combination 17 1462s # Combination 18 1462s # Combination 19 1462s # Combination 20 1462s # Combination 21 1462s # Combination 22 1462s # Combination 23 1462s # Combination 24 1462s # Combination 25 1462s # Combination 26 1462s # Combination 27 1462s # Combination 28 1462s # Combination 29 1462s # Combination 30 1462s # Combination 31 1462s # Combination 32 1462s # Combination 33 1462s # Combination 34 1462s # Combination 35 1462s # Combination 36 1462s # Combination 37 1462s # Combination 38 1462s # Combination 39 1462s # Combination 40 1462s # Combination 41 1462s # Combination 42 1462s # Combination 43 1462s # Combination 44 1462s # Combination 45 1462s # Combination 46 1462s # Combination 47 1462s # Combination 48 1462s # Combination 49 1462s # Combination 50 1462s # Combination 51 1462s # Combination 52 1462s # Combination 53 1462s # Combination 54 1462s # Combination 55 1462s # Combination 56 1462s # Combination 57 1462s # Combination 58 1462s # Combination 59 1462s # Combination 60 1462s # Combination 61 1462s # Combination 62 1462s # Combination 63 1462s # Combination 64 1462s # Combination 65 1462s # Combination 66 1462s # Combination 67 1462s # Combination 68 1462s # Combination 69 1462s # Combination 70 1462s # Combination 71 1462s # Combination 72 1462s # Combination 73 1462s # Combination 74 1462s # Combination 75 1462s # Combination 76 1462s # Combination 77 1462s # Combination 78 1462s # Combination 79 1462s # Combination 80 1462s # Combination 81 1462s # Combination 82 1462s # Combination 83 1462s # Combination 84 1462s # Combination 85 1462s # Combination 86 1462s # Combination 87 1462s # Combination 88 1462s # Combination 89 1462s # Combination 90 1462s # Combination 91 1462s # Combination 92 1462s # Combination 93 1462s # Combination 94 1462s # Combination 95 1462s # Combination 96 1462s # Combination 97 1462s # Combination 98 1462s # Combination 99 1462s # Combination 100 1462s # Combination 101 1462s # Combination 102 1462s # Combination 103 1462s # Combination 104 1462s # Combination 105 1462s # Combination 106 1462s # Combination 107 1462s # Combination 108 1462s # Combination 109 1462s # Combination 110 1462s # Combination 111 1462s # Combination 112 1462s # Combination 113 1462s # Combination 114 1462s # Combination 115 1462s # Combination 116 1462s # Combination 117 1462s # Combination 118 1462s # Combination 119 1462s # Combination 120 1462s # Combination 121 1462s # Combination 122 1462s # Combination 123 1462s # Combination 124 1462s # Combination 125 1462s # Combination 126 1462s # Combination 127 1462s # Combination 128 1462s # Combination 129 1462s # Combination 130 1462s # Combination 131 1462s # Combination 132 1462s # Combination 133 1462s # Combination 134 1462s # Combination 135 1462s # Combination 136 1462s # Combination 137 1462s # Combination 138 1462s # Combination 139 1462s # Combination 140 1462s # Combination 141 1462s # Combination 142 1462s # Combination 143 1462s # Combination 144 1462s # Combination 145 1462s # Combination 146 1462s # Combination 147 1462s # Combination 148 1462s # Combination 149 1462s # Combination 150 1462s # Combination 151 1462s # Combination 152 1462s # Combination 153 1462s # Combination 154 1462s # Combination 155 1462s # Combination 156 1462s # Combination 157 1462s # Combination 158 1462s # Combination 159 1462s # Combination 160 1462s # Combination 161 1462s # Combination 162 1462s # Combination 163 1462s # Combination 164 1462s # Combination 165 1462s # Combination 166 1462s # Combination 167 1462s # Combination 168 1462s # Combination 169 1462s # Combination 170 1462s # Combination 171 1462s # Combination 172 1462s # Combination 173 1462s # Combination 174 1462s # Combination 175 1462s # Combination 176 1462s # Combination 177 1462s # Combination 178 1462s # Combination 179 1462s # Combination 180 1462s # Combination 181 1462s # Combination 182 1462s # Combination 183 1462s # Combination 184 1462s # Combination 185 1462s # Combination 186 1462s # Combination 187 1462s # Combination 188 1462s # Combination 189 1462s # Combination 190 1462s # Combination 191 1462s # Combination 192 1462s # Combination 193 1462s # Combination 194 1462s # Combination 195 1462s # Combination 196 1462s # Combination 197 1462s # Combination 198 1462s # Combination 199 1462s # Combination 200 1462s # Combination 201 1462s # Combination 202 1462s # Combination 203 1462s # Combination 204 1462s # Combination 205 1462s # Combination 206 1462s # Combination 207 1462s # Combination 208 1462s # Combination 209 1462s # Combination 210 1462s # Combination 211 1462s # Combination 212 1462s # Combination 213 1462s # Combination 214 1462s # Combination 215 1462s # Combination 216 1462s # Combination 217 1462s # Combination 218 1462s # Combination 219 1462s # Combination 220 1462s # Combination 221 1462s # Combination 222 1462s # Combination 223 1462s # Combination 224 1462s # Combination 225 1462s # Combination 226 1462s # Combination 227 1462s # Combination 228 1462s # Combination 229 1462s # Combination 230 1462s # Combination 231 1462s # Combination 232 1462s # Combination 233 1462s # Combination 234 1462s # Combination 235 1462s # Combination 236 1462s # Combination 237 1462s # Combination 238 1462s # Combination 239 1462s # Combination 240 1462s # Combination 241 1462s # Combination 242 1462s # Combination 243 1462s # Combination 244 1462s # Combination 245 1462s # Combination 246 1462s # Combination 247 1462s # Combination 248 1462s # Combination 249 1462s # Combination 250 1462s # Combination 251 1462s # Combination 252 1462s # Combination 253 1462s # Combination 254 1462s # Combination 255 1462s ok 15 /uri/join-split-round-trip 1462s ok 16 /uri/normalize 1462s # Start of unescape-bytes tests 1462s # Test 0: %00%00 1462s # Test 1: /cursors/none.png 1462s # Test 2: /cursors%2fbad-subdir/none.png 1462s # Test 3: %% 1462s # Test 4: % 1462s ok 17 /uri/unescape-bytes/nul-terminated 1462s # Test 0: %00%00 1462s # Test 1: /cursors/none.png 1462s # Test 2: /cursors%2fbad-subdir/none.png 1462s # Test 3: %% 1462s # Test 4: % 1462s ok 18 /uri/unescape-bytes/length 1462s # End of unescape-bytes tests 1462s # Start of parsing tests 1462s # Test 0: foo: 1462s # Test 1: file:/dev/null 1462s # Test 2: file:///dev/null 1462s # Test 3: ftp://user@host/path 1462s # Test 4: ftp://user@host:9999/path 1462s # Test 5: ftp://user:password@host/path 1462s # Test 6: ftp://user:password@host:9999/path 1462s # Test 7: ftp://user:password@host 1462s # Test 8: http://us%65r@host 1462s # Test 9: http://us%40r@host 1462s # Test 10: http://us%3ar@host 1462s # Test 11: http://us%2fr@host 1462s # Test 12: http://us%3fr@host 1462s # Test 13: http://host?query 1462s # Test 14: http://host/path?query=http%3A%2F%2Fhost%2Fpath%3Fchildparam%3Dchildvalue¶m=value 1462s # 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 1462s # Test 16: http://space/%20 1462s # Test 17: http://delims/%3C%3E%23%25%22 1462s # Test 18: http://unwise-chars/%7B%7D%7C%5C%5E%5B%5D%60 1462s # Test 19: http://[FEDC:BA98:7654:3210:FEDC:BA98:7654:3210]:80/index.html 1462s # Test 20: http://[1080:0:0:0:8:800:200C:417A]/index.html 1462s # Test 21: http://[3ffe:2a00:100:7031::1] 1462s # Test 22: http://[1080::8:800:200C:417A]/foo 1462s # Test 23: http://[::192.9.5.5]/ipng 1462s # Test 24: http://[::FFFF:129.144.52.38]:80/index.html 1462s # Test 25: http://[2010:836B:4179::836B:4179] 1462s # Test 26: http://host/path with spaces 1462s # Test 27: http://host/path 1462s # Test 28: http://host/path 1462s # Test 29: http://host 1462s # Test 30: http://host:999 1462s # Test 31: http://host/pa 1462s # th 1462s # Test 32: http: 1462s # //host/path 1462s # Test 33: http:// host/path 1462s # Test 34: http://host/path? 1462s # Test 35: http://host/path# 1462s # Test 36: http://host/path% 1462s # Test 37: http://h%ost/path 1462s # Test 38: http://host/path%% 1462s # Test 39: http://host/path%%% 1462s # Test 40: http://host/path%/x/ 1462s # Test 41: http://host/path%0x/ 1462s # Test 42: http://host/path%ax 1462s # Test 43: http://host/p?th/ 1462s # Test 44: HTTP://////////////// 1462s # Test 45: http://@host 1462s # Test 46: http://:@host 1462s # Test 47: scheme://foo%3Abar._webdav._tcp.local 1462s # Test 48: http://example.com/.. 1462s # Test 49: foo0://host/path 1462s # Test 50: f0.o://host/path 1462s # Test 51: http++://host/path 1462s # Test 52: http-ish://host/path 1462s # Test 53: http://[fe80::dead:beef%]/ 1462s # Test 54: http://[fe80::dead:beef%em1]/ 1462s # Test 55: http://[fe80::dead:beef%em1]/ 1462s # Test 56: http://[fe80::dead:beef%25em1]/ 1462s # Test 57: http://[fe80::dead:beef%25em1%20]/ 1462s # Test 58: http://[fe80::dead:beef%25em%31]/ 1462s # Test 59: http://[fe80::dead:beef%10]/ 1462s # Test 60: http://[fe80::dead:beef%10]/ 1462s # Test 61: http://[fe80::dead:beef%25]/ 1462s # Test 62: http://[fe80::dead:beef%25]/ 1462s # Test 63: http://[192.168.0.1%25em1]/ 1462s # Test 64: http://[fe80::dead:beef%2em1]/ 1462s # Test 65: http://[fe80::dead:beef%2em1]/ 1462s # Test 66: http://[fe80::dead:beef%25em1%00]/ 1462s # Test 67: http://[fe80::dead:beef%25em1%00]/ 1462s # Test 68: http://xn--mixed-?p/ 1462s ok 19 /uri/parsing/absolute 1462s ok 20 /uri/parsing/relative 1462s # End of parsing tests 1462s # Start of iter-params tests 1462s # URI 0: p1=foo&p2=bar;p3=baz 1462s # URI 1: p1=foo&p2=bar 1462s # URI 2: p1=foo&&P1=bar 1462s # URI 3: %00=foo 1462s # URI 4: p1=%00 1462s # URI 5: p1=foo&p1=bar 1462s # URI 6: p1=foo&P1=bar 1462s # URI 7: =% 1462s # URI 8: = 1462s # URI 9: foo 1462s # URI 10: foo=bar+%26+baz&saisons=%C3%89t%C3%A9%2Bhiver 1462s # URI 11: foo=bar+%26+baz&saisons=%C3%89t%C3%A9%2Bhiver 1462s # URI 12: token=exp=123~acl=/QualityLevels(*~hmac=0cb 1462s ok 21 /uri/iter-params/nul-terminated 1462s # URI 0: p1=foo&p2=bar;p3=baz 1462s # URI 1: p1=foo&p2=bar 1462s # URI 2: p1=foo&&P1=bar 1462s # URI 3: %00=foo 1462s # URI 4: p1=%00 1462s # URI 5: p1=foo&p1=bar 1462s # URI 6: p1=foo&P1=bar 1462s # URI 7: =% 1462s # URI 8: = 1462s # URI 9: foo 1462s # URI 10: foo=bar+%26+baz&saisons=%C3%89t%C3%A9%2Bhiver 1462s # URI 11: foo=bar+%26+baz&saisons=%C3%89t%C3%A9%2Bhiver 1462s # URI 12: token=exp=123~acl=/QualityLevels(*~hmac=0cb 1462s ok 22 /uri/iter-params/length 1462s # End of iter-params tests 1462s # Start of parse-params tests 1462s # URI 0: p1=foo&p2=bar;p3=baz 1462s # URI 1: p1=foo&p2=bar 1462s # URI 2: p1=foo&&P1=bar 1462s # URI 3: %00=foo 1462s # URI 4: p1=%00 1462s # URI 5: p1=foo&p1=bar 1462s # URI 6: p1=foo&P1=bar 1462s # URI 7: =% 1462s # URI 8: = 1462s # URI 9: foo 1462s # URI 10: foo=bar+%26+baz&saisons=%C3%89t%C3%A9%2Bhiver 1462s # URI 11: foo=bar+%26+baz&saisons=%C3%89t%C3%A9%2Bhiver 1462s # URI 12: token=exp=123~acl=/QualityLevels(*~hmac=0cb 1462s ok 23 /uri/parse-params/nul-terminated 1462s # URI 0: p1=foo&p2=bar;p3=baz 1462s # URI 1: p1=foo&p2=bar 1462s # URI 2: p1=foo&&P1=bar 1462s # URI 3: %00=foo 1462s # URI 4: p1=%00 1462s # URI 5: p1=foo&p1=bar 1462s # URI 6: p1=foo&P1=bar 1462s # URI 7: =% 1462s # URI 8: = 1462s # URI 9: foo 1462s # URI 10: foo=bar+%26+baz&saisons=%C3%89t%C3%A9%2Bhiver 1462s # URI 11: foo=bar+%26+baz&saisons=%C3%89t%C3%A9%2Bhiver 1462s # URI 12: token=exp=123~acl=/QualityLevels(*~hmac=0cb 1462s ok 24 /uri/parse-params/length 1462s # End of parse-params tests 1462s # End of uri tests 1462s ok - glib/uri.test 1462s # Running test: glib/overflow-fallback.test 1462s TAP version 13 1462s # random seed: R02S66ea942c85ff09df42f77ce4d41719e8 1462s 1..6 1462s # Start of glib tests 1462s # Start of checked-math tests 1462s ok 1 /glib/checked-math/guint-add 1462s ok 2 /glib/checked-math/guint-mul 1462s ok 3 /glib/checked-math/guint64-add 1462s ok 4 /glib/checked-math/guint64-mul 1462s ok 5 /glib/checked-math/gsize-add 1462s ok 6 /glib/checked-math/gsize-mul 1462s # End of checked-math tests 1462s # End of glib tests 1462s ok - glib/overflow-fallback.test 1462s # Running test: glib/signals-refcount1.test 1462s TAP version 13 1462s # random seed: R02S04501ed066d1296df4fe25dc9b2ebc1c 1462s 1..1 1462s # Start of gobject tests 1462s # Start of refcount tests 1462s # init 0x2aa033922f0 1462s # 1462s # init 0x2aa03392490 1462s # 1467s # Executing: glib/signals-refcount1.test 1467s # dispose 0x2aa033922f0! 1467s # 1467s # dispose 0x2aa03392490! 1467s # 1467s ok 1 /gobject/refcount/signals 1467s # slow test /gobject/refcount/signals executed in 5.00 secs 1467s # End of refcount tests 1467s # End of gobject tests 1467s ok - glib/signals-refcount1.test 1467s # Running test: glib/gnotification.test 1467s TAP version 13 1467s # random seed: R02S496f0b75ff75407fe16e8988cf6b7145 1467s 1..2 1467s # Start of gnotification tests 1467s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1467s ok 1 /gnotification/basic 1467s ok 2 /gnotification/properties 1467s # End of gnotification tests 1468s ok - glib/gnotification.test 1468s # Running test: glib/1bit-mutex.test 1468s TAP version 13 1468s # random seed: R02S56ef287dcf1368646971a6087ec9b669 1468s 1..2 1468s # Start of glib tests 1468s # Start of 1bit-mutex tests 1472s # Executing: glib/1bit-mutex.test 1475s ok 1 /glib/1bit-mutex/int 1475s # slow test /glib/1bit-mutex/int executed in 7.28 secs 1477s # Executing: glib/1bit-mutex.test 1482s # Executing: glib/1bit-mutex.test 1482s ok 2 /glib/1bit-mutex/pointer 1482s # slow test /glib/1bit-mutex/pointer executed in 7.20 secs 1482s # End of 1bit-mutex tests 1482s # End of glib tests 1482s ok - glib/1bit-mutex.test 1482s # Running test: glib/gdbus-threading.test 1482s TAP version 13 1482s # random seed: R02S233169c97596c401b20d8c953e5c8993 1482s # 1..0 # SKIP all gdbus-threading tests skipped because they are too unreliable (glib#1515) 1482s ok - glib/gdbus-threading.test 1482s # Running test: glib/memory-output-stream.test 1482s TAP version 13 1482s # random seed: R02S9c6984ec95d2188c364407d7ee758591 1482s 1..10 1482s # Start of memory-output-stream tests 1482s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=540423 1482s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=720080 1482s ok 1 /memory-output-stream/truncate 1482s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=540459 1482s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=540461 1482s ok 2 /memory-output-stream/get-data-size 1482s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=605733 1482s ok 3 /memory-output-stream/properties 1482s ok 4 /memory-output-stream/write-bytes 1482s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2471 1482s ok 5 /memory-output-stream/write-null 1482s ok 6 /memory-output-stream/writev 1482s ok 7 /memory-output-stream/writev_nonblocking 1482s ok 8 /memory-output-stream/steal_as_bytes 1482s # Start of seek tests 1482s ok 9 /memory-output-stream/seek/fixed 1482s ok 10 /memory-output-stream/seek/resizable 1482s # End of seek tests 1482s # End of memory-output-stream tests 1482s ok - glib/memory-output-stream.test 1482s # Running test: glib/autoptr-gio.test 1482s TAP version 13 1482s # random seed: R02Sa40bd6c87a372456945780dafa2b84c6 1482s 1..1 1482s # Start of autoptr tests 1482s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 1482s ok 1 /autoptr/autoptr 1482s # End of autoptr tests 1482s ok - glib/autoptr-gio.test 1482s # Running test: glib/gdbus-peer.test 1482s TAP version 13 1482s # random seed: R02Se3a6abd48927de46ae008c1a96f79fc2 1482s 1..12 1482s # Start of gdbus tests 1482s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_4IGXK2/gdbus/peer-to-peer/.dirs/home 1482s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_4IGXK2/gdbus/peer-to-peer/.dirs/cache 1482s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_4IGXK2/gdbus/peer-to-peer/.dirs/system-config1:/tmp/test_gdbus-peer_4IGXK2/gdbus/peer-to-peer/.dirs/system-config2 1482s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_4IGXK2/gdbus/peer-to-peer/.dirs/config 1482s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_4IGXK2/gdbus/peer-to-peer/.dirs/system-data1:/tmp/test_gdbus-peer_4IGXK2/gdbus/peer-to-peer/.dirs/system-data2 1482s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_4IGXK2/gdbus/peer-to-peer/.dirs/data 1482s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_4IGXK2/gdbus/peer-to-peer/.dirs/state 1482s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_4IGXK2/gdbus/peer-to-peer/.dirs/runtime 1482s # Testing with unix:dir address 1482s # Testing with unix:tmpdir address 1482s # Testing with unix:path address 1482s ok 1 /gdbus/peer-to-peer 1482s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_4IGXK2/gdbus/delayed-message-processing/.dirs/home 1482s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_4IGXK2/gdbus/delayed-message-processing/.dirs/cache 1482s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_4IGXK2/gdbus/delayed-message-processing/.dirs/system-config1:/tmp/test_gdbus-peer_4IGXK2/gdbus/delayed-message-processing/.dirs/system-config2 1482s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_4IGXK2/gdbus/delayed-message-processing/.dirs/config 1482s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_4IGXK2/gdbus/delayed-message-processing/.dirs/system-data1:/tmp/test_gdbus-peer_4IGXK2/gdbus/delayed-message-processing/.dirs/system-data2 1482s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_4IGXK2/gdbus/delayed-message-processing/.dirs/data 1482s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_4IGXK2/gdbus/delayed-message-processing/.dirs/state 1482s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_4IGXK2/gdbus/delayed-message-processing/.dirs/runtime 1482s # Testing with unix:dir address 1482s ok 2 /gdbus/delayed-message-processing 1482s # slow test /gdbus/delayed-message-processing executed in 0.50 secs 1482s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_4IGXK2/gdbus/nonce-tcp/.dirs/home 1482s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_4IGXK2/gdbus/nonce-tcp/.dirs/cache 1482s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_4IGXK2/gdbus/nonce-tcp/.dirs/system-config1:/tmp/test_gdbus-peer_4IGXK2/gdbus/nonce-tcp/.dirs/system-config2 1482s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_4IGXK2/gdbus/nonce-tcp/.dirs/config 1482s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_4IGXK2/gdbus/nonce-tcp/.dirs/system-data1:/tmp/test_gdbus-peer_4IGXK2/gdbus/nonce-tcp/.dirs/system-data2 1482s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_4IGXK2/gdbus/nonce-tcp/.dirs/data 1482s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_4IGXK2/gdbus/nonce-tcp/.dirs/state 1482s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_4IGXK2/gdbus/nonce-tcp/.dirs/runtime 1483s ok 3 /gdbus/nonce-tcp 1483s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_4IGXK2/gdbus/tcp-anonymous/.dirs/home 1483s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_4IGXK2/gdbus/tcp-anonymous/.dirs/cache 1483s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_4IGXK2/gdbus/tcp-anonymous/.dirs/system-config1:/tmp/test_gdbus-peer_4IGXK2/gdbus/tcp-anonymous/.dirs/system-config2 1483s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_4IGXK2/gdbus/tcp-anonymous/.dirs/config 1483s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_4IGXK2/gdbus/tcp-anonymous/.dirs/system-data1:/tmp/test_gdbus-peer_4IGXK2/gdbus/tcp-anonymous/.dirs/system-data2 1483s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_4IGXK2/gdbus/tcp-anonymous/.dirs/data 1483s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_4IGXK2/gdbus/tcp-anonymous/.dirs/state 1483s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_4IGXK2/gdbus/tcp-anonymous/.dirs/runtime 1483s ok 4 /gdbus/tcp-anonymous 1483s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_4IGXK2/gdbus/credentials/.dirs/home 1483s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_4IGXK2/gdbus/credentials/.dirs/cache 1483s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_4IGXK2/gdbus/credentials/.dirs/system-config1:/tmp/test_gdbus-peer_4IGXK2/gdbus/credentials/.dirs/system-config2 1483s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_4IGXK2/gdbus/credentials/.dirs/config 1483s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_4IGXK2/gdbus/credentials/.dirs/system-data1:/tmp/test_gdbus-peer_4IGXK2/gdbus/credentials/.dirs/system-data2 1483s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_4IGXK2/gdbus/credentials/.dirs/data 1483s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_4IGXK2/gdbus/credentials/.dirs/state 1483s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_4IGXK2/gdbus/credentials/.dirs/runtime 1483s ok 5 /gdbus/credentials 1483s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_4IGXK2/gdbus/codegen-peer-to-peer/.dirs/home 1483s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_4IGXK2/gdbus/codegen-peer-to-peer/.dirs/cache 1483s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_4IGXK2/gdbus/codegen-peer-to-peer/.dirs/system-config1:/tmp/test_gdbus-peer_4IGXK2/gdbus/codegen-peer-to-peer/.dirs/system-config2 1483s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_4IGXK2/gdbus/codegen-peer-to-peer/.dirs/config 1483s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_4IGXK2/gdbus/codegen-peer-to-peer/.dirs/system-data1:/tmp/test_gdbus-peer_4IGXK2/gdbus/codegen-peer-to-peer/.dirs/system-data2 1483s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_4IGXK2/gdbus/codegen-peer-to-peer/.dirs/data 1483s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_4IGXK2/gdbus/codegen-peer-to-peer/.dirs/state 1483s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_4IGXK2/gdbus/codegen-peer-to-peer/.dirs/runtime 1483s # Testing with unix:dir address 1483s # Machine ID: ed6c9abd520e446fb3f044506937a171 1484s ok 6 /gdbus/codegen-peer-to-peer 1484s # slow test /gdbus/codegen-peer-to-peer executed in 1.10 secs 1484s # Start of peer-to-peer tests 1484s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_4IGXK2/gdbus/peer-to-peer/signals/.dirs/home 1484s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_4IGXK2/gdbus/peer-to-peer/signals/.dirs/cache 1484s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_4IGXK2/gdbus/peer-to-peer/signals/.dirs/system-config1:/tmp/test_gdbus-peer_4IGXK2/gdbus/peer-to-peer/signals/.dirs/system-config2 1484s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_4IGXK2/gdbus/peer-to-peer/signals/.dirs/config 1484s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_4IGXK2/gdbus/peer-to-peer/signals/.dirs/system-data1:/tmp/test_gdbus-peer_4IGXK2/gdbus/peer-to-peer/signals/.dirs/system-data2 1484s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_4IGXK2/gdbus/peer-to-peer/signals/.dirs/data 1484s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_4IGXK2/gdbus/peer-to-peer/signals/.dirs/state 1484s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_4IGXK2/gdbus/peer-to-peer/signals/.dirs/runtime 1484s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1620 1484s # Testing with unix:dir address 1484s ok 7 /gdbus/peer-to-peer/signals 1484s # Start of invalid tests 1484s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_4IGXK2/gdbus/peer-to-peer/invalid/server/.dirs/home 1484s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_4IGXK2/gdbus/peer-to-peer/invalid/server/.dirs/cache 1484s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_4IGXK2/gdbus/peer-to-peer/invalid/server/.dirs/system-config1:/tmp/test_gdbus-peer_4IGXK2/gdbus/peer-to-peer/invalid/server/.dirs/system-config2 1484s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_4IGXK2/gdbus/peer-to-peer/invalid/server/.dirs/config 1484s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_4IGXK2/gdbus/peer-to-peer/invalid/server/.dirs/system-data1:/tmp/test_gdbus-peer_4IGXK2/gdbus/peer-to-peer/invalid/server/.dirs/system-data2 1484s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_4IGXK2/gdbus/peer-to-peer/invalid/server/.dirs/data 1484s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_4IGXK2/gdbus/peer-to-peer/invalid/server/.dirs/state 1484s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_4IGXK2/gdbus/peer-to-peer/invalid/server/.dirs/runtime 1484s ok 8 /gdbus/peer-to-peer/invalid/server 1484s # Start of conn tests 1484s # Start of stream tests 1484s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_4IGXK2/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/home 1484s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_4IGXK2/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/cache 1484s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_4IGXK2/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/system-config1:/tmp/test_gdbus-peer_4IGXK2/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/system-config2 1484s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_4IGXK2/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/config 1484s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_4IGXK2/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/system-data1:/tmp/test_gdbus-peer_4IGXK2/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/system-data2 1484s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_4IGXK2/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/data 1484s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_4IGXK2/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/state 1484s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_4IGXK2/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/runtime 1484s ok 9 /gdbus/peer-to-peer/invalid/conn/stream/async 1484s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_4IGXK2/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/home 1484s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_4IGXK2/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/cache 1484s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_4IGXK2/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/system-config1:/tmp/test_gdbus-peer_4IGXK2/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/system-config2 1484s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_4IGXK2/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/config 1484s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_4IGXK2/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/system-data1:/tmp/test_gdbus-peer_4IGXK2/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/system-data2 1484s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_4IGXK2/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/data 1484s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_4IGXK2/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/state 1484s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_4IGXK2/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/runtime 1484s ok 10 /gdbus/peer-to-peer/invalid/conn/stream/sync 1484s # End of stream tests 1484s # Start of addr tests 1484s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_4IGXK2/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/home 1484s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_4IGXK2/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/cache 1484s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_4IGXK2/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/system-config1:/tmp/test_gdbus-peer_4IGXK2/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/system-config2 1484s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_4IGXK2/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/config 1484s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_4IGXK2/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/system-data1:/tmp/test_gdbus-peer_4IGXK2/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/system-data2 1484s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_4IGXK2/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/data 1484s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_4IGXK2/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/state 1484s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_4IGXK2/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/runtime 1484s ok 11 /gdbus/peer-to-peer/invalid/conn/addr/async 1484s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_4IGXK2/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/home 1484s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_4IGXK2/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/cache 1484s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_4IGXK2/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/system-config1:/tmp/test_gdbus-peer_4IGXK2/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/system-config2 1484s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_4IGXK2/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/config 1484s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_4IGXK2/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/system-data1:/tmp/test_gdbus-peer_4IGXK2/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/system-data2 1484s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_4IGXK2/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/data 1484s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_4IGXK2/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/state 1484s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_4IGXK2/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/runtime 1484s ok 12 /gdbus/peer-to-peer/invalid/conn/addr/sync 1484s # End of addr tests 1484s # End of conn tests 1484s # End of invalid tests 1484s # End of peer-to-peer tests 1484s # End of gdbus tests 1484s ok - glib/gdbus-peer.test 1484s # Running test: glib/buffered-output-stream.test 1484s TAP version 13 1484s # random seed: R02S67f60e7a784cd39be41cee38a050815b 1484s 1..5 1484s # Start of buffered-output-stream tests 1484s ok 1 /buffered-output-stream/write 1484s ok 2 /buffered-output-stream/grow 1484s ok 3 /buffered-output-stream/seek 1484s ok 4 /buffered-output-stream/truncate 1484s # End of buffered-output-stream tests 1484s # Start of filter-output-stream tests 1484s ok 5 /filter-output-stream/close 1484s # End of filter-output-stream tests 1484s ok - glib/buffered-output-stream.test 1484s # Running test: glib/pathbuf.test 1484s TAP version 13 1484s # random seed: R02S70daf85b61af3e6aa63bad34f2406794 1484s 1..3 1484s # Start of pathbuf tests 1484s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_pathbuf_G221K2/pathbuf/init/.dirs/home 1484s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_pathbuf_G221K2/pathbuf/init/.dirs/cache 1484s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_pathbuf_G221K2/pathbuf/init/.dirs/system-config1:/tmp/test_pathbuf_G221K2/pathbuf/init/.dirs/system-config2 1484s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_pathbuf_G221K2/pathbuf/init/.dirs/config 1484s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_pathbuf_G221K2/pathbuf/init/.dirs/system-data1:/tmp/test_pathbuf_G221K2/pathbuf/init/.dirs/system-data2 1484s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_pathbuf_G221K2/pathbuf/init/.dirs/data 1484s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_pathbuf_G221K2/pathbuf/init/.dirs/state 1484s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_pathbuf_G221K2/pathbuf/init/.dirs/runtime 1484s # Initializing empty path buf 1484s # Initializing with empty path 1484s # Initializing with full path 1484s # Initializing with no path 1484s # Allocating GPathBuf on the heap 1484s ok 1 /pathbuf/init 1484s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_pathbuf_G221K2/pathbuf/push-pop/.dirs/home 1484s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_pathbuf_G221K2/pathbuf/push-pop/.dirs/cache 1484s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_pathbuf_G221K2/pathbuf/push-pop/.dirs/system-config1:/tmp/test_pathbuf_G221K2/pathbuf/push-pop/.dirs/system-config2 1484s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_pathbuf_G221K2/pathbuf/push-pop/.dirs/config 1484s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_pathbuf_G221K2/pathbuf/push-pop/.dirs/system-data1:/tmp/test_pathbuf_G221K2/pathbuf/push-pop/.dirs/system-data2 1484s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_pathbuf_G221K2/pathbuf/push-pop/.dirs/data 1484s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_pathbuf_G221K2/pathbuf/push-pop/.dirs/state 1484s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_pathbuf_G221K2/pathbuf/push-pop/.dirs/runtime 1484s # Pushing relative path component 1484s # Pushing absolute path component 1484s # Popping a path component 1484s # Can't pop the last element of a path buffer 1484s ok 2 /pathbuf/push-pop 1484s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_pathbuf_G221K2/pathbuf/filename-extension/.dirs/home 1484s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_pathbuf_G221K2/pathbuf/filename-extension/.dirs/cache 1484s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_pathbuf_G221K2/pathbuf/filename-extension/.dirs/system-config1:/tmp/test_pathbuf_G221K2/pathbuf/filename-extension/.dirs/system-config2 1484s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_pathbuf_G221K2/pathbuf/filename-extension/.dirs/config 1484s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_pathbuf_G221K2/pathbuf/filename-extension/.dirs/system-data1:/tmp/test_pathbuf_G221K2/pathbuf/filename-extension/.dirs/system-data2 1484s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_pathbuf_G221K2/pathbuf/filename-extension/.dirs/data 1484s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_pathbuf_G221K2/pathbuf/filename-extension/.dirs/state 1484s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_pathbuf_G221K2/pathbuf/filename-extension/.dirs/runtime 1484s ok 3 /pathbuf/filename-extension 1484s # End of pathbuf tests 1484s ok - glib/pathbuf.test 1484s # Running test: glib/dataset.test 1484s TAP version 13 1484s # random seed: R02Sc674e5aa91c59a85512c23b125b704ef 1484s 1..14 1484s # Start of quark tests 1484s ok 1 /quark/basic 1484s ok 2 /quark/string 1484s # End of quark tests 1484s # Start of dataset tests 1484s ok 3 /dataset/basic 1484s ok 4 /dataset/id 1484s ok 5 /dataset/full 1484s ok 6 /dataset/foreach 1484s ok 7 /dataset/destroy 1484s # End of dataset tests 1484s # Start of datalist tests 1484s ok 8 /datalist/basic 1484s ok 9 /datalist/id 1484s ok 10 /datalist/recursive-clear 1484s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/2672 1484s ok 11 /datalist/id-remove-multiple 1484s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/2672 1484s ok 12 /datalist/id-remove-multiple-destroy-order 1484s ok 13 /datalist/update-atomic 1484s # Start of id-remove-multiple tests 1484s ok 14 /datalist/id-remove-multiple/resize 1484s # End of id-remove-multiple tests 1484s # End of datalist tests 1484s ok - glib/dataset.test 1484s # Running test: glib/proxy-test.test 1484s TAP version 13 1484s # random seed: R02Sb296375d0e8991777e25e7a73205f6fe 1484s 1..11 1484s # Start of proxy tests 1484s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation test (GTestProxyResolver) for ?gio-proxy-resolver? 1484s ok 1 /proxy/direct_sync 1484s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 1484s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x2aa3abd7970 and GSocketClientAsyncConnectData 0x2aa3abcd250 1484s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1484s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1484s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x2aa3abd8380 for GSocketClientAsyncConnectData 0x2aa3abcd250 1484s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1484s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 1484s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 1484s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 1484s ok 2 /proxy/direct_async 1484s ok 3 /proxy/single_sync 1484s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 1484s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x2aa3abd9c80 and GSocketClientAsyncConnectData 0x2aa3abd8dd0 1484s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1484s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1484s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x2aa3abda7e0 for GSocketClientAsyncConnectData 0x2aa3abd8dd0 1484s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1484s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 1484s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 1484s # GLib-GIO-DEBUG: GSocketClient: Starting proxy connection 1484s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 1484s ok 4 /proxy/single_async 1484s ok 5 /proxy/multiple_sync 1484s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 1484s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x2aa3abda510 and GSocketClientAsyncConnectData 0x2aa3abda2e0 1484s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1484s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1484s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x2aa3abdae60 for GSocketClientAsyncConnectData 0x2aa3abda2e0 1484s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1484s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 1484s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 1484s # GLib-GIO-DEBUG: GSocketClient: Starting proxy connection 1484s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1484s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1484s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x2aa3abda870 for GSocketClientAsyncConnectData 0x2aa3abda2e0 1484s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1484s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 1484s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 1484s # GLib-GIO-DEBUG: GSocketClient: Starting proxy connection 1484s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 1484s ok 6 /proxy/multiple_async 1484s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2597 1484s ok 7 /proxy/invalid-uris-sync 1484s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2597 1484s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 1484s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x2aa3abdabf0 and GSocketClientAsyncConnectData 0x2aa3abda0f0 1484s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1484s # GLib-GIO-DEBUG: GSocketClient: Address enumeration completed (out of addresses) 1484s # GLib-GIO-DEBUG: GSocketClient: Address enumeration failed: Unspecified proxy lookup failure 1484s # GLib-GIO-DEBUG: GSocketClient: Connection failed: Unspecified proxy lookup failure 1484s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 1484s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x2aa3abdabf0 and GSocketClientAsyncConnectData 0x2aa3abda0f0 1484s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1484s # GLib-GIO-DEBUG: GSocketClient: Address enumeration completed (out of addresses) 1484s # GLib-GIO-DEBUG: GSocketClient: Address enumeration failed: Unspecified proxy lookup failure 1484s # GLib-GIO-DEBUG: GSocketClient: Connection failed: Unspecified proxy lookup failure 1484s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 1484s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x2aa3abdabf0 and GSocketClientAsyncConnectData 0x2aa3abda0f0 1484s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1484s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1484s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x2aa3abd8b90 for GSocketClientAsyncConnectData 0x2aa3abda0f0 1484s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1484s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 1484s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 1484s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 1484s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 1484s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x2aa3abda510 and GSocketClientAsyncConnectData 0x2aa3abda5d0 1484s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1484s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1484s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x2aa3abd8090 for GSocketClientAsyncConnectData 0x2aa3abda5d0 1484s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1484s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 1484s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 1484s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 1484s ok 8 /proxy/invalid-uris-async 1484s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 1484s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x2aa3abdabf0 and GSocketClientAsyncConnectData 0x2aa3abda0f0 1484s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1484s # GLib-GIO-DEBUG: IPv6 DNS error: Not found 1484s # GLib-GIO-DEBUG: IPv4 DNS error: Not found 1484s # GLib-GIO-DEBUG: GSocketClient: Address enumeration completed (out of addresses) 1484s # GLib-GIO-DEBUG: GSocketClient: Address enumeration failed: Not found 1484s # GLib-GIO-DEBUG: GSocketClient: Connection failed: Not found 1484s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 1484s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x2aa3abda510 and GSocketClientAsyncConnectData 0x2aa3abda5d0 1484s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1484s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1484s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x2aa3abd8b90 for GSocketClientAsyncConnectData 0x2aa3abda5d0 1484s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1484s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 1484s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 1484s # GLib-GIO-DEBUG: GSocketClient: Starting proxy connection 1484s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1484s # GLib-GIO-DEBUG: GSocketClient: Address enumeration completed (out of addresses) 1484s # GLib-GIO-DEBUG: GSocketClient: Address enumeration failed: (null) 1484s # GLib-GIO-DEBUG: GSocketClient: Connection failed: Unsupported protocol 1484s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 1484s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x2aa3abd9da0 and GSocketClientAsyncConnectData 0x2aa3abdb100 1484s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1484s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1484s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x2aa3abdaf20 for GSocketClientAsyncConnectData 0x2aa3abdb100 1484s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1484s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 1484s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 1484s # GLib-GIO-DEBUG: GSocketClient: Starting proxy connection 1484s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 1484s ok 9 /proxy/dns 1484s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 1484s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x2aa3abda7e0 and GSocketClientAsyncConnectData 0x2aa3abd49b0 1484s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1484s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1484s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x2aa3abda8a0 for GSocketClientAsyncConnectData 0x2aa3abd49b0 1484s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1484s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 1484s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 1484s # GLib-GIO-DEBUG: GSocketClient: Starting proxy connection 1484s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1484s # GLib-GIO-DEBUG: GSocketClient: Address enumeration completed (out of addresses) 1484s # GLib-GIO-DEBUG: GSocketClient: Address enumeration failed: (null) 1484s # GLib-GIO-DEBUG: GSocketClient: Connection failed: Unsupported protocol 1484s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 1484s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x2aa3abd87c0 and GSocketClientAsyncConnectData 0x2aa3abdb320 1484s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1484s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1484s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x2aa3abda8a0 for GSocketClientAsyncConnectData 0x2aa3abdb320 1484s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1484s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 1484s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 1484s # GLib-GIO-DEBUG: GSocketClient: Starting proxy connection 1484s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 1484s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 1484s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x2aa3abd9990 and GSocketClientAsyncConnectData 0x2aa3abd49b0 1484s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1484s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1484s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x2aa3abdb480 for GSocketClientAsyncConnectData 0x2aa3abd49b0 1484s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1484s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 1484s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 1484s # GLib-GIO-DEBUG: GSocketClient: Starting proxy connection 1484s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1484s # GLib-GIO-DEBUG: GSocketClient: Address enumeration completed (out of addresses) 1484s # GLib-GIO-DEBUG: GSocketClient: Address enumeration failed: (null) 1484s # GLib-GIO-DEBUG: GSocketClient: Connection failed: Unsupported protocol 1484s ok 10 /proxy/override 1484s ok 11 /proxy/enumerator-ports 1484s # End of proxy tests 1484s ok - glib/proxy-test.test 1484s # Running test: glib/mutex.test 1484s TAP version 13 1484s # random seed: R02S61d62b48054108b3aa3ff95f755e53f3 1484s 1..17 1484s # Start of thread tests 1484s ok 1 /thread/mutex1 1484s ok 2 /thread/mutex2 1484s ok 3 /thread/mutex3 1484s ok 4 /thread/mutex4 1487s # Executing: glib/mutex.test 1491s ok 5 /thread/mutex5 1491s # slow test /thread/mutex5 executed in 7.42 secs 1491s # Start of mutex tests 1491s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1491s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1491s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1491s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1491s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1491s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1491s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1491s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1491s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1491s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1491s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1491s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1491s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1491s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1491s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1491s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1491s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1491s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1491s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1491s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1491s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1491s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1491s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1491s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1491s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1491s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1491s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1491s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1491s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1491s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1491s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1491s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1491s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1491s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1491s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1491s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1491s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1491s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1491s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1491s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1491s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1491s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1491s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1491s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1491s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1491s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1491s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1491s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1491s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1491s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1491s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1491s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1491s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1491s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1491s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1491s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1491s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1491s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1491s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1491s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1491s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1491s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1491s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1491s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1491s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1491s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1491s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1491s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1491s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1491s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1491s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1491s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1491s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1491s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1491s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1491s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1491s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1491s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1491s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1491s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1491s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1491s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1491s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1491s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1491s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1491s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1491s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1491s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1491s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1491s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1491s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1491s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1491s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1491s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1491s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1491s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1491s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1491s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1491s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1491s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1491s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1491s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1491s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1491s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1491s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1491s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1491s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1491s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1491s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1491s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1491s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1491s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1491s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1491s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1491s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1491s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1491s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1491s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1491s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1491s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1491s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1491s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1491s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1491s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1491s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1491s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1491s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1491s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1491s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1491s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1491s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1491s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1491s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1491s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1491s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1491s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1491s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1491s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1491s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1491s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1491s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1491s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1491s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1491s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1491s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1491s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1491s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1491s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1491s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1491s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1491s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1491s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1491s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1491s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1491s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1491s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1491s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1491s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1491s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1491s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1491s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1491s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1491s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1491s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1491s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1491s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1491s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1491s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1491s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1491s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1491s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1491s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1491s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1491s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1491s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1491s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1491s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1491s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1491s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1491s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1491s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1491s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1491s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1491s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1491s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1491s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1491s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1491s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1491s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1491s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1491s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1491s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1491s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1491s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1491s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1491s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1491s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1491s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1491s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1491s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1492s ok 6 /thread/mutex/errno 1492s # Start of perf tests 1492s # max perf: inf mips 1492s ok 7 /thread/mutex/perf/uncontended 1492s # Start of contended tests 1492s # max perf: inf mips 1492s ok 8 /thread/mutex/perf/contended/1 1492s # max perf: inf mips 1492s ok 9 /thread/mutex/perf/contended/2 1492s # max perf: inf mips 1492s ok 10 /thread/mutex/perf/contended/3 1492s # max perf: inf mips 1492s ok 11 /thread/mutex/perf/contended/4 1492s # max perf: inf mips 1492s ok 12 /thread/mutex/perf/contended/5 1492s # max perf: inf mips 1492s ok 13 /thread/mutex/perf/contended/6 1492s # max perf: inf mips 1492s ok 14 /thread/mutex/perf/contended/7 1492s # max perf: inf mips 1492s ok 15 /thread/mutex/perf/contended/8 1492s # max perf: 10.000000 mips 1492s ok 16 /thread/mutex/perf/contended/9 1492s # max perf: inf mips 1492s ok 17 /thread/mutex/perf/contended/10 1492s # End of contended tests 1492s # End of perf tests 1492s # End of mutex tests 1492s # End of thread tests 1492s ok - glib/mutex.test 1492s # Running test: glib/utils-c-17.test 1492s TAP version 13 1492s # random seed: R02Sc52f1e4fc7023b775454884bdbe81cc9 1492s 1..40 1492s # Start of utils tests 1492s ok 1 /utils/language-names 1492s ok 2 /utils/locale-variants 1492s ok 3 /utils/version 1492s ok 4 /utils/appname 1492s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/847 1492s # /utils/prgname-thread-safety summary: Test that threads racing to get and set the program name always receive a valid program name. 1492s ok 5 /utils/prgname-thread-safety 1492s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=627969 1492s # /utils/tmpdir summary: Test that g_get_tmp_dir() returns a correct default if TMPDIR is set to the empty string 1492s ok 6 /utils/tmpdir 1492s ok 7 /utils/basic_bits 1492s ok 8 /utils/bits 1492s ok 9 /utils/swap 1492s ok 10 /utils/find-program 1492s ok 11 /utils/find-program-for-path 1492s ok 12 /utils/debug 1492s ok 13 /utils/codeset 1492s ok 14 /utils/codeset2 1492s ok 15 /utils/console-charset 1492s ok 16 /utils/gettext 1492s ok 17 /utils/username 1492s ok 18 /utils/realname 1492s ok 19 /utils/hostname 1492s ok 20 /utils/xdgdirs 1492s ok 21 /utils/specialdir 1492s # NAME: Ubuntu 1492s ok 22 /utils/os-info 1492s ok 23 /utils/clear-pointer 1492s ok 24 /utils/clear-pointer-cast 1492s ok 25 /utils/take-pointer 1492s ok 26 /utils/clear-source 1492s ok 27 /utils/misc-mem 1492s # /utils/aligned-mem summary: Aligned memory allocator 1492s # Alignment must not be zero 1492s # Alignment must be a power of two 1492s # Alignment must be a multiple of sizeof(void*) 1492s ok 28 /utils/aligned-mem 1492s # /utils/free-sized summary: Check that g_free_sized() works 1492s ok 29 /utils/free-sized 1492s ok 30 /utils/nullify 1492s ok 31 /utils/atexit 1492s ok 32 /utils/check-setuid 1492s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1663 1492s ok 33 /utils/int-limits 1492s ok 34 /utils/clear-list 1492s ok 35 /utils/clear-slist 1492s # Start of specialdir tests 1492s ok 36 /utils/specialdir/desktop 1492s # End of specialdir tests 1492s # Start of clear-pointer tests 1492s ok 37 /utils/clear-pointer/side-effects 1492s # End of clear-pointer tests 1492s # Start of aligned-mem tests 1492s # /utils/aligned-mem/alignment summary: Check that g_aligned_alloc() returns a correctly aligned pointer 1492s ok 38 /utils/aligned-mem/alignment 1492s # /utils/aligned-mem/zeroed summary: Check that g_aligned_alloc0() zeroes out its allocation 1492s ok 39 /utils/aligned-mem/zeroed 1492s # /utils/aligned-mem/free-sized summary: Check that g_aligned_free_sized() works 1492s ok 40 /utils/aligned-mem/free-sized 1492s # Start of subprocess tests 1492s # End of subprocess tests 1492s # End of aligned-mem tests 1492s # End of utils tests 1492s ok - glib/utils-c-17.test 1492s # Running test: glib/buffered-input-stream.test 1492s TAP version 13 1492s # random seed: R02S17e0005a122a089e4a19266bc610606b 1492s 1..10 1492s # Start of buffered-input-stream tests 1492s ok 1 /buffered-input-stream/peek 1492s ok 2 /buffered-input-stream/peek-buffer 1492s ok 3 /buffered-input-stream/set-buffer-size 1492s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=562393 1492s ok 4 /buffered-input-stream/read-byte 1492s ok 5 /buffered-input-stream/read 1492s ok 6 /buffered-input-stream/read-async 1492s ok 7 /buffered-input-stream/skip 1492s ok 8 /buffered-input-stream/skip-async 1492s ok 9 /buffered-input-stream/seek 1492s # End of buffered-input-stream tests 1492s # Start of filter-input-stream tests 1492s ok 10 /filter-input-stream/close 1492s # End of filter-input-stream tests 1492s ok - glib/buffered-input-stream.test 1492s # Running test: glib/registered-type-info.test 1492s TAP version 13 1492s # random seed: R02S255fc64e22a783f1840f6fe88f306fab 1492s 1..1 1492s # Start of registered-type-info tests 1492s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_registered-type-info_VO01K2/registered-type-info/boxed/.dirs/home 1492s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_registered-type-info_VO01K2/registered-type-info/boxed/.dirs/cache 1492s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_registered-type-info_VO01K2/registered-type-info/boxed/.dirs/system-config1:/tmp/test_registered-type-info_VO01K2/registered-type-info/boxed/.dirs/system-config2 1492s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_registered-type-info_VO01K2/registered-type-info/boxed/.dirs/config 1492s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_registered-type-info_VO01K2/registered-type-info/boxed/.dirs/system-data1:/tmp/test_registered-type-info_VO01K2/registered-type-info/boxed/.dirs/system-data2 1492s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_registered-type-info_VO01K2/registered-type-info/boxed/.dirs/data 1492s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_registered-type-info_VO01K2/registered-type-info/boxed/.dirs/state 1492s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_registered-type-info_VO01K2/registered-type-info/boxed/.dirs/runtime 1492s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1492s # /registered-type-info/boxed summary: Test various boxed and non-boxed types for GIRegisteredTypeInfo 1492s # Expecting CClosure to not be boxed 1492s # Expecting TypeCValue to not be boxed 1492s # Expecting InitiallyUnownedClass to not be boxed 1492s # Expecting BookmarkFile to be boxed 1492s # Expecting Closure to be boxed 1492s # Expecting Object to not be boxed 1492s ok 1 /registered-type-info/boxed 1492s # End of registered-type-info tests 1492s ok - glib/registered-type-info.test 1492s # Running test: glib/properties.test 1492s TAP version 13 1492s # random seed: R02Se413c0d086d74dfdb4497a3424431c61 1492s 1..13 1492s # Start of properties tests 1492s ok 1 /properties/install 1492s ok 2 /properties/install-many 1492s ok 3 /properties/notify 1492s ok 4 /properties/notify-queue 1492s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=630357 1492s ok 5 /properties/construct 1492s # /properties/get-property summary: g_object_get_property() accepts uninitialized, initialized, and transformable values 1492s # Test g_object_get_property with an initialized value 1492s # Test g_object_get_property with an uninitialized value 1492s # Test g_object_get_property with a transformable value 1492s ok 6 /properties/get-property 1492s ok 7 /properties/testv_with_no_properties 1492s ok 8 /properties/testv_with_valid_properties 1492s ok 9 /properties/testv_with_invalid_property_type 1492s ok 10 /properties/testv_with_invalid_property_names 1492s ok 11 /properties/testv_getv 1492s ok 12 /properties/testv_notify_queue 1492s # Start of set-property tests 1492s # Start of variant tests 1492s # /properties/set-property/variant/floating summary: Test that setting a property to a floating variant consumes the reference 1492s ok 13 /properties/set-property/variant/floating 1492s # End of variant tests 1492s # End of set-property tests 1492s # End of properties tests 1492s ok - glib/properties.test 1492s # Running test: glib/accumulator.test 1492s TAP version 13 1492s # random seed: R02S0a2e98043f0ee6451c6f6ae302f22eff 1492s 1..1 1492s # Start of gobject tests 1492s ok 1 /gobject/accumulator 1492s # End of gobject tests 1492s ok - glib/accumulator.test 1492s # Running test: glib/converter-stream.test 1492s TAP version 13 1492s # random seed: R02S326d8176863e767a271d4529c41dc143 1492s 1..17 1492s # Start of converter tests 1492s ok 1 /converter/basics 1492s # End of converter tests 1492s # Start of converter-input-stream tests 1492s ok 2 /converter-input-stream/expander 1492s ok 3 /converter-input-stream/compressor 1492s # Start of truncation tests 1492s ok 4 /converter-input-stream/truncation/zlib 1492s # Executing: glib/converter-stream.test 1492s ok 5 /converter-input-stream/truncation/gzip 1492s ok 6 /converter-input-stream/truncation/raw 1492s # End of truncation tests 1492s # Start of charset tests 1492s ok 7 /converter-input-stream/charset/utf8->latin1 1492s ok 8 /converter-input-stream/charset/latin1->utf8 1492s ok 9 /converter-input-stream/charset/fallbacks 1492s # End of charset tests 1492s # End of converter-input-stream tests 1492s # Start of converter-output-stream tests 1492s # Start of roundtrip tests 1492s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=619945 1492s ok 10 /converter-output-stream/roundtrip/zlib-0 1492s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=619945 1492s ok 11 /converter-output-stream/roundtrip/zlib-9 1492s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=619945 1492s ok 12 /converter-output-stream/roundtrip/gzip-0 1492s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=619945 1492s ok 13 /converter-output-stream/roundtrip/gzip-9 1492s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=619945 1492s ok 14 /converter-output-stream/roundtrip/raw-0 1492s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=619945 1493s ok 15 /converter-output-stream/roundtrip/raw-9 1493s # End of roundtrip tests 1493s # End of converter-output-stream tests 1493s # Start of converter-stream tests 1493s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation dummy (GDummyProxyResolver) for ?gio-proxy-resolver? 1493s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x2aa2cfc0980 and GSocketClientAsyncConnectData 0x2aa2cfc1440 1493s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1493s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1493s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x2aa2cbc98b0 for GSocketClientAsyncConnectData 0x2aa2cfc1440 1493s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1493s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 1493s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 1493s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 1493s ok 16 /converter-stream/pollable 1493s ok 17 /converter-stream/leftover 1493s # End of converter-stream tests 1493s ok - glib/converter-stream.test 1493s # Running test: glib/rcbox.test 1493s TAP version 13 1493s # random seed: R02Sefc0e0689cc32c2c874b29d2ce678b11 1493s 1..8 1493s # Start of rcbox tests 1493s ok 1 /rcbox/new 1493s # global_point = 0x2aa198d9820 1493s ok 2 /rcbox/release-full 1493s # global_point_a = 0x2aa198d9820 1493s # global_point_b = 0x2aa198d97e0 1493s ok 3 /rcbox/dup 1493s ok 4 /rcbox/alignment 1493s # End of rcbox tests 1493s # Start of atomic-rcbox tests 1493s ok 5 /atomic-rcbox/new 1493s # global_point = 0x2aa198d99f0 1493s ok 6 /atomic-rcbox/release-full 1493s # global_point_a = 0x2aa198d99f0 1493s # global_point_b = 0x2aa198d99b0 1493s ok 7 /atomic-rcbox/dup 1493s ok 8 /atomic-rcbox/alignment 1493s # End of atomic-rcbox tests 1493s ok - glib/rcbox.test 1493s # Running test: glib/mapping.test 1493s TAP version 13 1493s # random seed: R02S95a48050801dc7e06726778a56b597dd 1493s 1..3 1493s # Start of mapping tests 1493s # test_mapping: ok 1493s ok 1 /mapping/flags 1493s ok 2 /mapping/private 1493s # Subtest: /usr/libexec/installed-tests/glib/mapping 1493s # # random seed: R02S4b4b010919b65d645af0da21afaa33ea 1493s # test_child_private: child spawned 1493s # test_child_private: received first child signal 1493s # # test_child_private: received parent signal 1493s # test_child_private: received second child signal 1493s ok 3 /mapping/private-child 1493s # End of mapping tests 1493s ok - glib/mapping.test 1493s # Running test: glib/file-thumbnail.test 1493s TAP version 13 1493s # random seed: R02S078a4904983a3b682f197ad0b1deceb2 1493s 1..7 1493s # Start of file-thumbnail tests 1493s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file-thumbnail_P8I0K2/file-thumbnail/fail/.dirs/home 1493s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file-thumbnail_P8I0K2/file-thumbnail/fail/.dirs/cache 1493s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file-thumbnail_P8I0K2/file-thumbnail/fail/.dirs/system-config1:/tmp/test_file-thumbnail_P8I0K2/file-thumbnail/fail/.dirs/system-config2 1493s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file-thumbnail_P8I0K2/file-thumbnail/fail/.dirs/config 1493s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file-thumbnail_P8I0K2/file-thumbnail/fail/.dirs/system-data1:/tmp/test_file-thumbnail_P8I0K2/file-thumbnail/fail/.dirs/system-data2 1493s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file-thumbnail_P8I0K2/file-thumbnail/fail/.dirs/data 1493s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file-thumbnail_P8I0K2/file-thumbnail/fail/.dirs/state 1493s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file-thumbnail_P8I0K2/file-thumbnail/fail/.dirs/runtime 1493s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 1493s # Created test thumbnail at /tmp/test_file-thumbnail_P8I0K2/file-thumbnail/fail/.dirs/cache/thumbnails/fail/gnome-thumbnail-factory/f098bcae74f8241ee3835bded7284cdd.png 1493s ok 1 /file-thumbnail/fail 1493s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file-thumbnail_P8I0K2/file-thumbnail/size-priority/.dirs/home 1493s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file-thumbnail_P8I0K2/file-thumbnail/size-priority/.dirs/cache 1493s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file-thumbnail_P8I0K2/file-thumbnail/size-priority/.dirs/system-config1:/tmp/test_file-thumbnail_P8I0K2/file-thumbnail/size-priority/.dirs/system-config2 1493s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file-thumbnail_P8I0K2/file-thumbnail/size-priority/.dirs/config 1493s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file-thumbnail_P8I0K2/file-thumbnail/size-priority/.dirs/system-data1:/tmp/test_file-thumbnail_P8I0K2/file-thumbnail/size-priority/.dirs/system-data2 1493s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file-thumbnail_P8I0K2/file-thumbnail/size-priority/.dirs/data 1493s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file-thumbnail_P8I0K2/file-thumbnail/size-priority/.dirs/state 1493s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file-thumbnail_P8I0K2/file-thumbnail/size-priority/.dirs/runtime 1493s # Created test thumbnail at /tmp/test_file-thumbnail_P8I0K2/file-thumbnail/size-priority/.dirs/cache/thumbnails/fail/gnome-thumbnail-factory/f098bcae74f8241ee3835bded7284cdd.png 1493s # Created test thumbnail at /tmp/test_file-thumbnail_P8I0K2/file-thumbnail/size-priority/.dirs/cache/thumbnails/normal/f098bcae74f8241ee3835bded7284cdd.png 1493s # Created test thumbnail at /tmp/test_file-thumbnail_P8I0K2/file-thumbnail/size-priority/.dirs/cache/thumbnails/large/f098bcae74f8241ee3835bded7284cdd.png 1493s # Created test thumbnail at /tmp/test_file-thumbnail_P8I0K2/file-thumbnail/size-priority/.dirs/cache/thumbnails/x-large/f098bcae74f8241ee3835bded7284cdd.png 1493s # Created test thumbnail at /tmp/test_file-thumbnail_P8I0K2/file-thumbnail/size-priority/.dirs/cache/thumbnails/xx-large/f098bcae74f8241ee3835bded7284cdd.png 1493s ok 2 /file-thumbnail/size-priority 1493s # Start of valid tests 1493s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file-thumbnail_P8I0K2/file-thumbnail/valid/normal/.dirs/home 1493s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file-thumbnail_P8I0K2/file-thumbnail/valid/normal/.dirs/cache 1493s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file-thumbnail_P8I0K2/file-thumbnail/valid/normal/.dirs/system-config1:/tmp/test_file-thumbnail_P8I0K2/file-thumbnail/valid/normal/.dirs/system-config2 1493s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file-thumbnail_P8I0K2/file-thumbnail/valid/normal/.dirs/config 1493s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file-thumbnail_P8I0K2/file-thumbnail/valid/normal/.dirs/system-data1:/tmp/test_file-thumbnail_P8I0K2/file-thumbnail/valid/normal/.dirs/system-data2 1493s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file-thumbnail_P8I0K2/file-thumbnail/valid/normal/.dirs/data 1493s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file-thumbnail_P8I0K2/file-thumbnail/valid/normal/.dirs/state 1493s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file-thumbnail_P8I0K2/file-thumbnail/valid/normal/.dirs/runtime 1493s # Created test thumbnail at /tmp/test_file-thumbnail_P8I0K2/file-thumbnail/valid/normal/.dirs/cache/thumbnails/normal/f098bcae74f8241ee3835bded7284cdd.png 1493s ok 3 /file-thumbnail/valid/normal 1493s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file-thumbnail_P8I0K2/file-thumbnail/valid/large/.dirs/home 1493s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file-thumbnail_P8I0K2/file-thumbnail/valid/large/.dirs/cache 1493s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file-thumbnail_P8I0K2/file-thumbnail/valid/large/.dirs/system-config1:/tmp/test_file-thumbnail_P8I0K2/file-thumbnail/valid/large/.dirs/system-config2 1493s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file-thumbnail_P8I0K2/file-thumbnail/valid/large/.dirs/config 1493s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file-thumbnail_P8I0K2/file-thumbnail/valid/large/.dirs/system-data1:/tmp/test_file-thumbnail_P8I0K2/file-thumbnail/valid/large/.dirs/system-data2 1493s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file-thumbnail_P8I0K2/file-thumbnail/valid/large/.dirs/data 1493s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file-thumbnail_P8I0K2/file-thumbnail/valid/large/.dirs/state 1493s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file-thumbnail_P8I0K2/file-thumbnail/valid/large/.dirs/runtime 1493s # Created test thumbnail at /tmp/test_file-thumbnail_P8I0K2/file-thumbnail/valid/large/.dirs/cache/thumbnails/large/f098bcae74f8241ee3835bded7284cdd.png 1493s ok 4 /file-thumbnail/valid/large 1493s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file-thumbnail_P8I0K2/file-thumbnail/valid/x-large/.dirs/home 1493s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file-thumbnail_P8I0K2/file-thumbnail/valid/x-large/.dirs/cache 1493s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file-thumbnail_P8I0K2/file-thumbnail/valid/x-large/.dirs/system-config1:/tmp/test_file-thumbnail_P8I0K2/file-thumbnail/valid/x-large/.dirs/system-config2 1493s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file-thumbnail_P8I0K2/file-thumbnail/valid/x-large/.dirs/config 1493s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file-thumbnail_P8I0K2/file-thumbnail/valid/x-large/.dirs/system-data1:/tmp/test_file-thumbnail_P8I0K2/file-thumbnail/valid/x-large/.dirs/system-data2 1493s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file-thumbnail_P8I0K2/file-thumbnail/valid/x-large/.dirs/data 1493s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file-thumbnail_P8I0K2/file-thumbnail/valid/x-large/.dirs/state 1493s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file-thumbnail_P8I0K2/file-thumbnail/valid/x-large/.dirs/runtime 1493s # Created test thumbnail at /tmp/test_file-thumbnail_P8I0K2/file-thumbnail/valid/x-large/.dirs/cache/thumbnails/x-large/f098bcae74f8241ee3835bded7284cdd.png 1493s ok 5 /file-thumbnail/valid/x-large 1493s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file-thumbnail_P8I0K2/file-thumbnail/valid/xx-large/.dirs/home 1493s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file-thumbnail_P8I0K2/file-thumbnail/valid/xx-large/.dirs/cache 1493s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file-thumbnail_P8I0K2/file-thumbnail/valid/xx-large/.dirs/system-config1:/tmp/test_file-thumbnail_P8I0K2/file-thumbnail/valid/xx-large/.dirs/system-config2 1493s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file-thumbnail_P8I0K2/file-thumbnail/valid/xx-large/.dirs/config 1493s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file-thumbnail_P8I0K2/file-thumbnail/valid/xx-large/.dirs/system-data1:/tmp/test_file-thumbnail_P8I0K2/file-thumbnail/valid/xx-large/.dirs/system-data2 1493s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file-thumbnail_P8I0K2/file-thumbnail/valid/xx-large/.dirs/data 1493s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file-thumbnail_P8I0K2/file-thumbnail/valid/xx-large/.dirs/state 1493s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file-thumbnail_P8I0K2/file-thumbnail/valid/xx-large/.dirs/runtime 1493s # Created test thumbnail at /tmp/test_file-thumbnail_P8I0K2/file-thumbnail/valid/xx-large/.dirs/cache/thumbnails/xx-large/f098bcae74f8241ee3835bded7284cdd.png 1493s ok 6 /file-thumbnail/valid/xx-large 1493s # End of valid tests 1493s # Start of unknown tests 1493s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file-thumbnail_P8I0K2/file-thumbnail/unknown/super-large/.dirs/home 1493s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file-thumbnail_P8I0K2/file-thumbnail/unknown/super-large/.dirs/cache 1493s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file-thumbnail_P8I0K2/file-thumbnail/unknown/super-large/.dirs/system-config1:/tmp/test_file-thumbnail_P8I0K2/file-thumbnail/unknown/super-large/.dirs/system-config2 1493s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file-thumbnail_P8I0K2/file-thumbnail/unknown/super-large/.dirs/config 1493s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file-thumbnail_P8I0K2/file-thumbnail/unknown/super-large/.dirs/system-data1:/tmp/test_file-thumbnail_P8I0K2/file-thumbnail/unknown/super-large/.dirs/system-data2 1493s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file-thumbnail_P8I0K2/file-thumbnail/unknown/super-large/.dirs/data 1493s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file-thumbnail_P8I0K2/file-thumbnail/unknown/super-large/.dirs/state 1493s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file-thumbnail_P8I0K2/file-thumbnail/unknown/super-large/.dirs/runtime 1493s # Created test thumbnail at /tmp/test_file-thumbnail_P8I0K2/file-thumbnail/unknown/super-large/.dirs/cache/thumbnails/super-large/f098bcae74f8241ee3835bded7284cdd.png 1493s ok 7 /file-thumbnail/unknown/super-large 1493s # End of unknown tests 1493s # End of file-thumbnail tests 1493s ok - glib/file-thumbnail.test 1493s # Running test: glib/base64.test 1493s TAP version 13 1493s # random seed: R02S4eee53e4711a1957bacc485a2f7c1c83 1493s 1..28 1493s # Start of base64 tests 1493s ok 1 /base64/encode 1493s ok 2 /base64/decode 1493s ok 3 /base64/decode-inplace 1493s ok 4 /base64/encode-decode 1493s # Start of full tests 1493s ok 5 /base64/full/1 1493s ok 6 /base64/full/2 1493s ok 7 /base64/full/3 1493s ok 8 /base64/full/4 1493s # End of full tests 1493s # Start of encode tests 1493s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1698 1493s ok 9 /base64/encode/empty 1493s # Start of incremental tests 1493s # Start of small-block tests 1493s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=780066 1493s ok 10 /base64/encode/incremental/small-block/1 1493s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=780066 1493s ok 11 /base64/encode/incremental/small-block/2 1493s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=780066 1493s ok 12 /base64/encode/incremental/small-block/3 1493s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=780066 1493s ok 13 /base64/encode/incremental/small-block/4 1493s # End of small-block tests 1493s # End of incremental tests 1493s # End of encode tests 1493s # Start of incremental tests 1493s # Start of nobreak tests 1493s ok 14 /base64/incremental/nobreak/1 1493s ok 15 /base64/incremental/nobreak/2 1493s ok 16 /base64/incremental/nobreak/3 1493s ok 17 /base64/incremental/nobreak/4-a 1493s ok 18 /base64/incremental/nobreak/4-b 1493s ok 19 /base64/incremental/nobreak/4-c 1493s # End of nobreak tests 1493s # Start of break tests 1493s ok 20 /base64/incremental/break/1 1493s ok 21 /base64/incremental/break/2 1493s ok 22 /base64/incremental/break/3 1493s # End of break tests 1493s # Start of smallblock tests 1493s ok 23 /base64/incremental/smallblock/1 1493s ok 24 /base64/incremental/smallblock/2 1493s ok 25 /base64/incremental/smallblock/3 1493s ok 26 /base64/incremental/smallblock/4 1493s # End of smallblock tests 1493s # End of incremental tests 1493s # Start of decode tests 1493s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1698 1493s ok 27 /base64/decode/empty 1493s # End of decode tests 1493s # Start of encode-decode tests 1493s # Vector 0: 1493s # Vector 1: f 1493s # Vector 2: fo 1493s # Vector 3: foo 1493s # Vector 4: foob 1493s # Vector 5: fooba 1493s # Vector 6: foobar 1493s ok 28 /base64/encode-decode/rfc4648 1493s # End of encode-decode tests 1493s # End of base64 tests 1493s ok - glib/base64.test 1493s # Running test: glib/gdatetime.test 1493s TAP version 13 1493s # random seed: R02Sd56cb2b6524c95300841f7cadfadb2e3 1493s 1..68 1493s # Start of GDateTime tests 1493s # Bug Reference: http://bugzilla.gnome.org/702674 1493s ok 1 /GDateTime/invalid 1493s ok 2 /GDateTime/add_days 1493s ok 3 /GDateTime/add_full 1493s ok 4 /GDateTime/add_hours 1493s ok 5 /GDateTime/add_minutes 1493s ok 6 /GDateTime/add_months 1493s ok 7 /GDateTime/add_seconds 1493s ok 8 /GDateTime/add_weeks 1493s ok 9 /GDateTime/add_years 1493s ok 10 /GDateTime/compare 1493s ok 11 /GDateTime/diff 1493s ok 12 /GDateTime/equal 1493s ok 13 /GDateTime/get_day_of_week 1493s ok 14 /GDateTime/get_day_of_month 1493s ok 15 /GDateTime/get_day_of_year 1493s ok 16 /GDateTime/get_hour 1493s ok 17 /GDateTime/get_microsecond 1493s ok 18 /GDateTime/get_minute 1493s ok 19 /GDateTime/get_month 1493s ok 20 /GDateTime/get_second 1493s ok 21 /GDateTime/get_utc_offset 1493s ok 22 /GDateTime/get_year 1493s ok 23 /GDateTime/hash 1493s ok 24 /GDateTime/new_from_unix 1493s ok 25 /GDateTime/new_from_unix_utc 1493s ok 26 /GDateTime/new_from_timeval 1493s ok 27 /GDateTime/new_from_timeval_utc 1493s ok 28 /GDateTime/new_from_iso8601 1493s ok 29 /GDateTime/new_full 1493s ok 30 /GDateTime/now 1493s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2215 1493s ok 31 /GDateTime/test-6-days-until-end-of-the-month 1493s ok 32 /GDateTime/printf 1493s ok 33 /GDateTime/non_utf8_printf 1493s ok 34 /GDateTime/format_unrepresentable 1493s ok 35 /GDateTime/format_iso8601 1493s ok 36 /GDateTime/strftime 1493s ok 37 /GDateTime/modifiers # SKIP locale gu_IN not available, skipping O modifier tests 1493s # Bug Reference: http://bugzilla.gnome.org/749206 1493s ok 38 /GDateTime/month_names 1493s ok 39 /GDateTime/to_local 1493s ok 40 /GDateTime/to_unix 1493s ok 41 /GDateTime/to_timeval 1493s ok 42 /GDateTime/to_utc 1493s ok 43 /GDateTime/now_utc 1493s ok 44 /GDateTime/dst 1493s # Bug Reference: http://bugzilla.gnome.org/642935 1493s ok 45 /GDateTime/test_z 1494s ok 46 /GDateTime/test-all-dates 1494s # slow test /GDateTime/test-all-dates executed in 1.61 secs 1494s ok 47 /GDateTime/unix_usec 1494s # Start of new_from_unix tests 1494s # Bug Reference: http://bugzilla.gnome.org/782089 1494s ok 48 /GDateTime/new_from_unix/overflow 1494s # End of new_from_unix tests 1494s # Start of new_from_timeval tests 1494s # Bug Reference: http://bugzilla.gnome.org/782089 1494s # Maximum supported GTimeVal.tv_sec = 253402300799 1495s ok 49 /GDateTime/new_from_timeval/overflow 1495s # End of new_from_timeval tests 1495s # Start of new_from_iso8601 tests 1495s # /GDateTime/new_from_iso8601/2 summary: Further parser tests for g_date_time_new_from_iso8601(), checking success and failure using test vectors. 1495s # Vector 0: 1990-11-01T10:21:17Z 1495s # Vector 1: 19901101T102117Z 1495s # Vector 2: 1970-01-01T00:00:17.12Z 1495s # Vector 3: 1970-01-01T00:00:17.1234Z 1495s # Vector 4: 1970-01-01T00:00:17.123456Z 1495s # Vector 5: 1980-02-22T12:36:00+02:00 1495s # Vector 6: 1990-12-31T15:59:60-08:00 1495s # Vector 7: 1495s # Vector 8: x 1495s # Vector 9: 123x 1495s # Vector 10: 2001-10+x 1495s # Vector 11: 1980-02-22T 1495s # Vector 12: 2001-10-08Tx 1495s # Vector 13: 2001-10-08T10:11x 1495s # Vector 14: Wed Dec 19 17:20:20 GMT 2007 1495s # Vector 15: 1980-02-22T10:36:00Zulu 1495s # Vector 16: 2T0+819855292164632335 1495s # Vector 17: 2018-08-03T14:08:05.446178377+01:00 1495s # Vector 18: 2147483648-08-03T14:08:05.446178377+01:00 1495s # Vector 19: 2018-13-03T14:08:05.446178377+01:00 1495s # Vector 20: 2018-00-03T14:08:05.446178377+01:00 1495s # Vector 21: 2018-08-00T14:08:05.446178377+01:00 1495s # Vector 22: 2018-08-32T14:08:05.446178377+01:00 1495s # Vector 23: 2018-08-03T24:08:05.446178377+01:00 1495s # Vector 24: 2018-08-03T14:60:05.446178377+01:00 1495s # Vector 25: 2018-08-03T14:08:63.446178377+01:00 1495s # Vector 26: 2018-08-03T14:08:05.446178377+100:00 1495s # Vector 27: 20180803T140805.446178377+0100 1495s # Vector 28: 21474836480803T140805.446178377+0100 1495s # Vector 29: 20181303T140805.446178377+0100 1495s # Vector 30: 20180003T140805.446178377+0100 1495s # Vector 31: 20180800T140805.446178377+0100 1495s # Vector 32: 20180832T140805.446178377+0100 1495s # Vector 33: 20180803T240805.446178377+0100 1495s # Vector 34: 20180803T146005.446178377+0100 1495s # Vector 35: 20180803T140863.446178377+0100 1495s # Vector 36: 20180803T140805.446178377+10000 1495s # Vector 37: -0005-01-01T00:00:00Z 1495s # Vector 38: 2018-08-06 1495s # Vector 39: 20180803T140805,446178377+0100 1495s # Vector 40: 2018-08-03T14:08:05.446178377-01:00 1495s # Vector 41: 2018-08-03T14:08:05.446178377 01:00 1495s # Vector 42: 1990-11-01T10:21:17 1495s # Vector 43: 1719W462 407777-07 1495s # Vector 44: 4011090 260528Z 1495s # Vector 45: 0000W011 228214-22 1495s ok 50 /GDateTime/new_from_iso8601/2 1495s # End of new_from_iso8601 tests 1495s # Start of format_mixed tests 1495s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2055 1495s ok 51 /GDateTime/format_mixed/utf8_time_non_utf8_messages 1495s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2055 1495s ok 52 /GDateTime/format_mixed/utf8_time_utf8_messages 1495s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2055 1495s ok 53 /GDateTime/format_mixed/non_utf8_time_non_utf8_messages 1495s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2055 1495s ok 54 /GDateTime/format_mixed/non_utf8_time_utf8_messages 1495s # End of format_mixed tests 1495s # Start of strftime tests 1495s ok 55 /GDateTime/strftime/error_handling 1495s # End of strftime tests 1495s # Start of eras tests 1495s ok 56 /GDateTime/eras/japan # SKIP nl_langinfo(ERA) not supported, skipping era tests 1495s ok 57 /GDateTime/eras/thailand # SKIP nl_langinfo(ERA) not supported, skipping era tests 1495s # Vector 0: 1495s # Vector 1: +:1:-543/01/01:+*:พ.ศ.:%EC %Ey 1495s # 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年 1495s # Vector 3: -:2:2020/01/01:-*:令和:%EC%Ey年 1495s # Vector 4: +:2:2020/01/01:2020/01/01:令和:%EC%Ey年 1495s # Vector 5: +:2:+2020/01/01:+*:令和:%EC%Ey年 1495s # Vector 6: .:2:2020/01/01:+*:令和:%EC%Ey年 1495s # Vector 7: +.2:2020/01/01:+*:令和:%EC%Ey年 1495s # Vector 8: + 1495s # Vector 9: +: 1495s # Vector 10: +:: 1495s # Vector 11: +:200 1495s # Vector 12: +:2nonsense 1495s # Vector 13: +:2nonsense: 1495s # Vector 14: +:2: 1495s # Vector 15: +:2:: 1495s # Vector 16: +:2:2020-01/01:+*:令和:%EC%Ey年 1495s # Vector 17: +:2:2020nonsense/01/01:+*:令和:%EC%Ey年 1495s # Vector 18: +:2:2020:+*:令和:%EC%Ey年 1495s # Vector 19: +:2:18446744073709551615/01/01:+*:令和:%EC%Ey年 1495s # Vector 20: +:2:2020/01-01:+*:令和:%EC%Ey年 1495s # Vector 21: +:2:2020/01nonsense/01:+*:令和:%EC%Ey年 1495s # Vector 22: +:2:2020/01:+*:令和:%EC%Ey年 1495s # Vector 23: +:2:2020/00/01:+*:令和:%EC%Ey年 1495s # Vector 24: +:2:2020/13/01:+*:令和:%EC%Ey年 1495s # Vector 25: +:2:2020/01/00:+*:令和:%EC%Ey年 1495s # Vector 26: +:2:2020/01/32:+*:令和:%EC%Ey年 1495s # Vector 27: +:2:2020/01/01nonsense:+*:令和:%EC%Ey年 1495s # Vector 28: +:2:2020/01/01 1495s # Vector 29: +:2:2020/01/01: 1495s # Vector 30: +:2:2020/01/01:: 1495s # Vector 31: +:2:2020/01/01:2021-01-01:令和:%EC%Ey年 1495s # Vector 32: +:2:2020/01/01:+* 1495s # Vector 33: +:2:2020/01/01:+*: 1495s # Vector 34: +:2:2020/01/01:+*:: 1495s # Vector 35: +:2:2020/01/01:+*:令和 1495s # Vector 36: +:2:2020/01/01:+*:令和: 1495s # Vector 37: +:2:2020/01/01:+*:令和:; 1495s ok 58 /GDateTime/eras/parsing 1495s # End of eras tests 1495s # End of GDateTime tests 1495s # Start of GTimeZone tests 1495s ok 59 /GTimeZone/find-interval 1495s ok 60 /GTimeZone/adjust-time 1495s ok 61 /GTimeZone/no-header 1495s ok 62 /GTimeZone/no-header-identifier 1495s ok 63 /GTimeZone/posix-parse 1495s # Bug Reference: http://bugzilla.gnome.org/697715 1495s ok 64 /GTimeZone/floating-point 1495s # System time zone identifier: Etc/UTC 1495s ok 65 /GTimeZone/identifier 1495s # Vector 0: -158400 1495s # Vector 1: -10000 1495s # Vector 2: -3600 1495s # Vector 3: -61 1495s # Vector 4: -60 1495s # Vector 5: -59 1495s # Vector 6: 0 1495s # Vector 7: 59 1495s # Vector 8: 60 1495s # Vector 9: 61 1495s # Vector 10: 3600 1495s # Vector 11: 10000 1495s # Vector 12: 158400 1495s ok 66 /GTimeZone/new-offset 1495s # /GTimeZone/parse-rfc8536 summary: Test parsing time zone files in RFC 8536 version 3 format 1495s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2129 1495s ok 67 /GTimeZone/parse-rfc8536 1495s # /GTimeZone/caching summary: GTimeZone instances are cached 1495s ok 68 /GTimeZone/caching 1495s # End of GTimeZone tests 1495s ok - glib/gdatetime.test 1495s # Running test: glib/defaultvalue.test 1495s TAP version 13 1495s # random seed: R02Scb879f2bfd27b77c34f7e6e365e0079c 1495s 1..84 1495s # Start of Default Values tests 1495s ok 1 /Default Values/GAppInfoMonitor # SKIP singleton 1495s ok 2 /Default Values/GAppLaunchContext 1495s ok 3 /Default Values/GApplicationCommandLine 1495s # skipping GApplication:is-remote 1495s ok 4 /Default Values/GApplication 1495s ok 5 /Default Values/GBinding # SKIP mandatory construct params 1495s ok 6 /Default Values/GBindingGroup 1495s ok 7 /Default Values/GBufferedInputStream # SKIP mandatory construct params 1495s ok 8 /Default Values/GBufferedOutputStream # SKIP mandatory construct params 1495s ok 9 /Default Values/GBytesIcon 1495s ok 10 /Default Values/GCancellable 1495s ok 11 /Default Values/GCharsetConverter # SKIP mandatory construct params 1495s ok 12 /Default Values/GConverterInputStream # SKIP mandatory construct params 1495s ok 13 /Default Values/GConverterOutputStream # SKIP mandatory construct params 1495s ok 14 /Default Values/GCredentials 1495s ok 15 /Default Values/GDataInputStream # SKIP mandatory construct params 1495s ok 16 /Default Values/GDataOutputStream # SKIP mandatory construct params 1495s ok 17 /Default Values/GDBusActionGroup # SKIP mandatory construct params 1495s ok 18 /Default Values/GDBusAuthObserver 1495s ok 19 /Default Values/GDBusConnection # SKIP mandatory construct params 1495s ok 20 /Default Values/GDBusMenuModel # SKIP crash in finalize 1495s ok 21 /Default Values/GDBusMessage 1495s ok 22 /Default Values/GDBusMethodInvocation # SKIP crash in finalize 1495s ok 23 /Default Values/GDBusObjectManagerClient # SKIP mandatory construct params 1495s ok 24 /Default Values/GDBusObjectManagerServer # SKIP mandatory construct params 1495s ok 25 /Default Values/GDBusObjectProxy 1495s ok 26 /Default Values/GDBusObjectSkeleton 1495s ok 27 /Default Values/GDBusProxy # SKIP mandatory construct params 1495s ok 28 /Default Values/GDBusServer # SKIP mandatory construct params 1495s ok 29 /Default Values/GEmblem 1495s ok 30 /Default Values/GEmblemedIcon 1495s ok 31 /Default Values/GFileEnumerator # SKIP should be abstract 1495s ok 32 /Default Values/GFileInfo 1495s ok 33 /Default Values/GFileInputStream 1495s ok 34 /Default Values/GFileIOStream # SKIP should be abstract 1495s ok 35 /Default Values/GFileOutputStream 1495s ok 36 /Default Values/GFilenameCompleter 1495s ok 37 /Default Values/GInetAddress # SKIP mandatory construct params 1495s ok 38 /Default Values/GInetAddressMask # SKIP initialization failed 1495s ok 39 /Default Values/GInetSocketAddress # SKIP mandatory construct params 1495s ok 40 /Default Values/GInitiallyUnowned 1495s ok 41 /Default Values/GIOModule 1495s ok 42 /Default Values/GListStore 1495s ok 43 /Default Values/GMemoryInputStream 1495s ok 44 /Default Values/GMemoryOutputStream 1495s ok 45 /Default Values/GMenu 1495s ok 46 /Default Values/GMenuItem 1495s ok 47 /Default Values/GMountOperation 1495s ok 48 /Default Values/GNativeSocketAddress 1495s ok 49 /Default Values/GNetworkAddress 1495s ok 50 /Default Values/GNetworkService 1495s ok 51 /Default Values/GNotification 1495s ok 52 /Default Values/GObject 1495s ok 53 /Default Values/GPropertyAction # SKIP mandatory construct params 1495s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation dummy (GDummyProxyResolver) for ?gio-proxy-resolver? 1495s # skipping GProxyAddressEnumerator:proxy-resolver 1495s ok 54 /Default Values/GProxyAddressEnumerator 1495s ok 55 /Default Values/GProxyAddress # SKIP mandatory construct params 1495s ok 56 /Default Values/GSettings # SKIP mandatory construct params 1495s ok 57 /Default Values/GSignalGroup 1495s ok 58 /Default Values/GSimpleAction 1495s ok 59 /Default Values/GSimpleActionGroup 1495s ok 60 /Default Values/GSimpleAsyncResult 1495s ok 61 /Default Values/GSimpleIOStream # SKIP mandatory construct params 1495s ok 62 /Default Values/GSimplePermission 1495s ok 63 /Default Values/GSimpleProxyResolver 1495s # skipping GSocketClient:proxy-resolver 1495s ok 64 /Default Values/GSocketClient 1495s ok 65 /Default Values/GSocketConnection # SKIP mandatory construct params 1495s ok 66 /Default Values/GSocket # SKIP initialization failed 1495s ok 67 /Default Values/GSocketListener 1495s ok 68 /Default Values/GSocketService 1495s ok 69 /Default Values/GSubprocess # SKIP initialization failed 1495s ok 70 /Default Values/GSubprocessLauncher 1495s # GLib-GIO-DEBUG: GTask 0x2aa3cbe1e10 (source object: (nil), source tag: (nil)) finalized without ever returning (using g_task_return_*()). This potentially indicates a bug in the program. 1495s ok 71 /Default Values/GTask 1495s ok 72 /Default Values/GTcpConnection # SKIP mandatory construct params 1495s ok 73 /Default Values/GTcpWrapperConnection # SKIP mandatory construct params 1495s ok 74 /Default Values/GTestDBus 1495s ok 75 /Default Values/GThemedIcon # SKIP mandatory construct params 1495s ok 76 /Default Values/GThreadedSocketService 1495s ok 77 /Default Values/GTlsInteraction 1495s ok 78 /Default Values/GTlsPassword 1495s ok 79 /Default Values/GUnixConnection # SKIP mandatory construct params 1495s ok 80 /Default Values/GUnixFDList 1495s ok 81 /Default Values/GVfs 1495s ok 82 /Default Values/GVolumeMonitor 1495s ok 83 /Default Values/GZlibCompressor 1495s ok 84 /Default Values/GZlibDecompressor 1495s # End of Default Values tests 1495s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1495s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1495s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1495s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1495s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1495s ok - glib/defaultvalue.test 1495s cleaning up pid 7322 1495s # Running test: glib/filter-streams.test 1495s TAP version 13 1495s # random seed: R02Sd9bcd32719d0ef07fcb8d0cf36b42fa8 1495s 1..4 1495s # Start of filter-stream tests 1495s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=568394 1495s ok 1 /filter-stream/input 1495s ok 2 /filter-stream/output 1495s ok 3 /filter-stream/async-input 1495s ok 4 /filter-stream/async-output 1495s # End of filter-stream tests 1495s ok - glib/filter-streams.test 1495s # Running test: glib/utils-c-11.test 1495s TAP version 13 1495s # random seed: R02Sa28c81154dc7a650d4a2c3cadf88df24 1495s 1..40 1495s # Start of utils tests 1495s ok 1 /utils/language-names 1495s ok 2 /utils/locale-variants 1495s ok 3 /utils/version 1495s ok 4 /utils/appname 1495s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/847 1495s # /utils/prgname-thread-safety summary: Test that threads racing to get and set the program name always receive a valid program name. 1495s ok 5 /utils/prgname-thread-safety 1495s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=627969 1495s # /utils/tmpdir summary: Test that g_get_tmp_dir() returns a correct default if TMPDIR is set to the empty string 1495s ok 6 /utils/tmpdir 1495s ok 7 /utils/basic_bits 1495s ok 8 /utils/bits 1495s ok 9 /utils/swap 1495s ok 10 /utils/find-program 1495s ok 11 /utils/find-program-for-path 1495s ok 12 /utils/debug 1495s ok 13 /utils/codeset 1495s ok 14 /utils/codeset2 1495s ok 15 /utils/console-charset 1495s ok 16 /utils/gettext 1495s ok 17 /utils/username 1495s ok 18 /utils/realname 1495s ok 19 /utils/hostname 1495s ok 20 /utils/xdgdirs 1495s ok 21 /utils/specialdir 1495s # NAME: Ubuntu 1495s ok 22 /utils/os-info 1495s ok 23 /utils/clear-pointer 1495s ok 24 /utils/clear-pointer-cast 1495s ok 25 /utils/take-pointer 1495s ok 26 /utils/clear-source 1495s ok 27 /utils/misc-mem 1495s # /utils/aligned-mem summary: Aligned memory allocator 1495s # Alignment must not be zero 1495s # Alignment must be a power of two 1495s # Alignment must be a multiple of sizeof(void*) 1495s ok 28 /utils/aligned-mem 1495s # /utils/free-sized summary: Check that g_free_sized() works 1495s ok 29 /utils/free-sized 1495s ok 30 /utils/nullify 1495s ok 31 /utils/atexit 1495s ok 32 /utils/check-setuid 1495s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1663 1495s ok 33 /utils/int-limits 1495s ok 34 /utils/clear-list 1495s ok 35 /utils/clear-slist 1495s # Start of specialdir tests 1495s ok 36 /utils/specialdir/desktop 1495s # End of specialdir tests 1495s # Start of clear-pointer tests 1495s ok 37 /utils/clear-pointer/side-effects 1495s # End of clear-pointer tests 1495s # Start of aligned-mem tests 1495s # /utils/aligned-mem/alignment summary: Check that g_aligned_alloc() returns a correctly aligned pointer 1495s ok 38 /utils/aligned-mem/alignment 1495s # /utils/aligned-mem/zeroed summary: Check that g_aligned_alloc0() zeroes out its allocation 1495s ok 39 /utils/aligned-mem/zeroed 1495s # /utils/aligned-mem/free-sized summary: Check that g_aligned_free_sized() works 1495s ok 40 /utils/aligned-mem/free-sized 1495s # Start of subprocess tests 1495s # End of subprocess tests 1495s # End of aligned-mem tests 1495s # End of utils tests 1495s ok - glib/utils-c-11.test 1495s # Running test: glib/date.test 1495s TAP version 13 1495s # random seed: R02S9efdacbadd5045ad3df9e3720011bb3c 1495s 1..121 1495s # Start of date tests 1495s ok 1 /date/basic 1495s ok 2 /date/empty 1495s ok 3 /date/dmy 1495s ok 4 /date/julian 1495s ok 5 /date/compare 1495s ok 6 /date/dates 1495s ok 7 /date/strftime 1495s ok 8 /date/two-digit-years 1495s ok 9 /date/parse 1495s ok 10 /date/parse_locale_change # SKIP locale th_TH not available 1495s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=793550 1495s ok 11 /date/month_substring 1495s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=749206 1495s ok 12 /date/month_names # SKIP libc doesn’t support all alternative month names 1495s ok 13 /date/clamp 1495s ok 14 /date/order 1495s ok 15 /date/copy 1495s # Vector 0: 0000-00-00, invalid 1495s # Vector 1: 0001-01-01, valid 1495s # Vector 2: 0000-01-01, invalid 1495s # Vector 3: 2000-02-30, invalid 1495s # Vector 4: 2000-02-29, valid 1495s # Vector 5: 2001-02-29, invalid 1495s # Vector 6: 65535-01-01, valid 1495s ok 16 /date/valid-dmy 1495s # Start of parse tests 1495s # Test 0 1495s # Test 1 1495s ok 17 /date/parse/invalid 1495s # End of parse tests 1495s # Start of year tests 1495s ok 18 /date/year/1 1495s ok 19 /date/year/2 1495s ok 20 /date/year/3 1495s ok 21 /date/year/4 1495s ok 22 /date/year/5 1495s ok 23 /date/year/6 1495s ok 24 /date/year/7 1495s ok 25 /date/year/8 1495s ok 26 /date/year/9 1495s ok 27 /date/year/10 1495s ok 28 /date/year/11 1495s ok 29 /date/year/12 1495s ok 30 /date/year/13 1495s ok 31 /date/year/14 1495s ok 32 /date/year/98 1495s ok 33 /date/year/99 1495s ok 34 /date/year/100 1495s ok 35 /date/year/101 1495s ok 36 /date/year/102 1495s ok 37 /date/year/103 1495s ok 38 /date/year/397 1495s ok 39 /date/year/398 1495s ok 40 /date/year/399 1495s ok 41 /date/year/400 1495s ok 42 /date/year/401 1495s ok 43 /date/year/402 1495s ok 44 /date/year/403 1495s ok 45 /date/year/404 1495s ok 46 /date/year/405 1495s ok 47 /date/year/406 1495s ok 48 /date/year/1598 1495s ok 49 /date/year/1599 1495s ok 50 /date/year/1600 1495s ok 51 /date/year/1601 1495s ok 52 /date/year/1602 1495s ok 53 /date/year/1650 1495s ok 54 /date/year/1651 1495s ok 55 /date/year/1897 1495s ok 56 /date/year/1898 1495s ok 57 /date/year/1899 1495s ok 58 /date/year/1900 1495s ok 59 /date/year/1901 1495s ok 60 /date/year/1902 1495s ok 61 /date/year/1903 1495s ok 62 /date/year/1961 1495s ok 63 /date/year/1962 1495s ok 64 /date/year/1963 1495s ok 65 /date/year/1964 1495s ok 66 /date/year/1965 1495s ok 67 /date/year/1967 1495s ok 68 /date/year/1968 1495s ok 69 /date/year/1969 1495s ok 70 /date/year/1970 1495s ok 71 /date/year/1971 1495s ok 72 /date/year/1972 1495s ok 73 /date/year/1973 1495s ok 74 /date/year/1974 1495s ok 75 /date/year/1975 1495s ok 76 /date/year/1976 1495s ok 77 /date/year/1977 1495s ok 78 /date/year/1978 1495s ok 79 /date/year/1979 1495s ok 80 /date/year/1980 1495s ok 81 /date/year/1981 1495s ok 82 /date/year/1982 1495s ok 83 /date/year/1983 1495s ok 84 /date/year/1984 1495s ok 85 /date/year/1985 1495s ok 86 /date/year/1986 1495s ok 87 /date/year/1987 1495s ok 88 /date/year/1988 1495s ok 89 /date/year/1989 1495s ok 90 /date/year/1990 1495s ok 91 /date/year/1991 1495s ok 92 /date/year/1992 1495s ok 93 /date/year/1993 1495s ok 94 /date/year/1994 1495s ok 95 /date/year/1995 1495s ok 96 /date/year/1996 1495s ok 97 /date/year/1997 1495s ok 98 /date/year/1998 1495s ok 99 /date/year/1999 1495s ok 100 /date/year/2000 1495s ok 101 /date/year/2001 1495s ok 102 /date/year/2002 1495s ok 103 /date/year/2003 1495s ok 104 /date/year/2004 1495s ok 105 /date/year/2005 1495s ok 106 /date/year/2006 1495s ok 107 /date/year/2007 1495s ok 108 /date/year/2008 1495s ok 109 /date/year/2009 1495s ok 110 /date/year/2010 1495s ok 111 /date/year/2011 1495s ok 112 /date/year/2012 1495s ok 113 /date/year/3000 1495s ok 114 /date/year/3001 1495s ok 115 /date/year/3002 1495s ok 116 /date/year/3998 1495s ok 117 /date/year/3999 1495s ok 118 /date/year/4000 1495s ok 119 /date/year/4001 1495s ok 120 /date/year/4002 1495s ok 121 /date/year/4003 1495s # End of year tests 1495s # End of date tests 1495s ok - glib/date.test 1495s # Running test: glib/gthash.test 1495s TAP version 13 1495s # random seed: R02Sbde28328e5ecda56088a1fa1a90afeea 1495s 1..1 1495s # Start of gthash tests 1495s ok 1 /gthash/build-retrieve 1495s # End of gthash tests 1495s ok - glib/gthash.test 1495s # Running test: glib/basics-gobject.test 1495s TAP version 13 1495s # random seed: R02S709d282499ad6181ff4e55402a22ea19 1495s 1..1 1495s # Start of gobject tests 1495s # private data during initialization: 54321 == 54321 1495s # MAIN: emit test-signal: 1495s # ::test_signal default_handler called 1495s # ::test_signal default_handler called 1495s # ::test_signal default_handler called 1495s # signal return: "" 1495s # MAIN: call iface print-string on test and derived object: 1495s # Iface-FOO: "iface-string-from-test-type" from 0x2aa3d1b3670 1495s # Iface-BAR: "iface-string-from-derived-type" from 0x2aa3d1b3590 1495s # chaining: 1495s # Iface-FOO: "iface-string-from-derived-type" from 0x2aa3d1b3590 1495s # private data after initialization: 54321 == 54321 1495s ok 1 /gobject/basics 1495s # End of gobject tests 1495s ok - glib/basics-gobject.test 1495s # Running test: glib/protocol.test 1495s TAP version 13 1495s # random seed: R02S7c80f05b56da7052b25b2db4aa72d6ca 1495s 1..9 1495s # Start of glib tests 1495s # Start of testing tests 1495s # Start of protocol tests 1495s ok 1 /glib/testing/protocol/debug 1495s ok 2 /glib/testing/protocol/info 1495s ok 3 /glib/testing/protocol/message 1495s ok 4 /glib/testing/protocol/warning 1495s ok 5 /glib/testing/protocol/critical 1495s ok 6 /glib/testing/protocol/error 1495s ok 7 /glib/testing/protocol/gtest-message 1495s ok 8 /glib/testing/protocol/test-message 1495s ok 9 /glib/testing/protocol/test-error 1495s # End of protocol tests 1495s # End of testing tests 1495s # End of glib tests 1495s ok - glib/protocol.test 1495s # Running test: glib/utf8-validate.test 1495s TAP version 13 1495s # random seed: R02See7d5bdd0ebcde2cdd843e567baa7883 1495s 1..216 1495s # Start of utf8 tests 1495s # Vector 0 1495s # Vector 1 1495s # Vector 2 1495s # Vector 3 1495s # Vector 4 1495s # Vector 5 1495s # Vector 6 1495s # Vector 7 1495s # Vector 8 1495s # Vector 9 1495s # Vector 10 1495s # Vector 11 1495s # Vector 12 1495s # Vector 13 1495s # Vector 14 1495s # Vector 15 1495s # Vector 16 1495s # Vector 17 1495s # Vector 18 1495s # Vector 19 1495s # Vector 20 1495s # Vector 21 1495s # Vector 22 1495s # Vector 23 1495s # Vector 24 1495s # Vector 25 1495s # Vector 26 1495s # Vector 27 1495s ok 1 /utf8/get-char-validated 1495s # Start of validate tests 1495s ok 2 /utf8/validate/0 1495s ok 3 /utf8/validate/1 1495s ok 4 /utf8/validate/2 1495s ok 5 /utf8/validate/3 1495s ok 6 /utf8/validate/4 1495s ok 7 /utf8/validate/5 1495s ok 8 /utf8/validate/6 1495s ok 9 /utf8/validate/7 1495s ok 10 /utf8/validate/8 1495s ok 11 /utf8/validate/9 1495s ok 12 /utf8/validate/10 1495s ok 13 /utf8/validate/11 1495s ok 14 /utf8/validate/12 1495s ok 15 /utf8/validate/13 1495s ok 16 /utf8/validate/14 1495s ok 17 /utf8/validate/15 1495s ok 18 /utf8/validate/16 1495s ok 19 /utf8/validate/17 1495s ok 20 /utf8/validate/18 1495s ok 21 /utf8/validate/19 1495s ok 22 /utf8/validate/20 1495s ok 23 /utf8/validate/21 1495s ok 24 /utf8/validate/22 1495s ok 25 /utf8/validate/23 1495s ok 26 /utf8/validate/24 1495s ok 27 /utf8/validate/25 1495s ok 28 /utf8/validate/26 1495s ok 29 /utf8/validate/27 1495s ok 30 /utf8/validate/28 1495s ok 31 /utf8/validate/29 1495s ok 32 /utf8/validate/30 1495s ok 33 /utf8/validate/31 1495s ok 34 /utf8/validate/32 1495s ok 35 /utf8/validate/33 1495s ok 36 /utf8/validate/34 1495s ok 37 /utf8/validate/35 1495s ok 38 /utf8/validate/36 1495s ok 39 /utf8/validate/37 1495s ok 40 /utf8/validate/38 1495s ok 41 /utf8/validate/39 1495s ok 42 /utf8/validate/40 1495s ok 43 /utf8/validate/41 1495s ok 44 /utf8/validate/42 1495s ok 45 /utf8/validate/43 1495s ok 46 /utf8/validate/44 1495s ok 47 /utf8/validate/45 1495s ok 48 /utf8/validate/46 1495s ok 49 /utf8/validate/47 1495s ok 50 /utf8/validate/48 1495s ok 51 /utf8/validate/49 1495s ok 52 /utf8/validate/50 1495s ok 53 /utf8/validate/51 1495s ok 54 /utf8/validate/52 1495s ok 55 /utf8/validate/53 1495s ok 56 /utf8/validate/54 1495s ok 57 /utf8/validate/55 1495s ok 58 /utf8/validate/56 1495s ok 59 /utf8/validate/57 1495s ok 60 /utf8/validate/58 1495s ok 61 /utf8/validate/59 1495s ok 62 /utf8/validate/60 1495s ok 63 /utf8/validate/61 1495s ok 64 /utf8/validate/62 1495s ok 65 /utf8/validate/63 1495s ok 66 /utf8/validate/64 1495s ok 67 /utf8/validate/65 1495s ok 68 /utf8/validate/66 1495s ok 69 /utf8/validate/67 1495s ok 70 /utf8/validate/68 1495s ok 71 /utf8/validate/69 1495s ok 72 /utf8/validate/70 1495s ok 73 /utf8/validate/71 1495s ok 74 /utf8/validate/72 1495s ok 75 /utf8/validate/73 1495s ok 76 /utf8/validate/74 1495s ok 77 /utf8/validate/75 1495s ok 78 /utf8/validate/76 1495s ok 79 /utf8/validate/77 1495s ok 80 /utf8/validate/78 1495s ok 81 /utf8/validate/79 1495s ok 82 /utf8/validate/80 1495s ok 83 /utf8/validate/81 1495s ok 84 /utf8/validate/82 1495s ok 85 /utf8/validate/83 1495s ok 86 /utf8/validate/84 1495s ok 87 /utf8/validate/85 1495s ok 88 /utf8/validate/86 1495s ok 89 /utf8/validate/87 1495s ok 90 /utf8/validate/88 1495s ok 91 /utf8/validate/89 1495s ok 92 /utf8/validate/90 1495s ok 93 /utf8/validate/91 1495s ok 94 /utf8/validate/92 1495s ok 95 /utf8/validate/93 1495s ok 96 /utf8/validate/94 1495s ok 97 /utf8/validate/95 1495s ok 98 /utf8/validate/96 1495s ok 99 /utf8/validate/97 1495s ok 100 /utf8/validate/98 1495s ok 101 /utf8/validate/99 1495s ok 102 /utf8/validate/100 1495s ok 103 /utf8/validate/101 1495s ok 104 /utf8/validate/102 1495s ok 105 /utf8/validate/103 1495s ok 106 /utf8/validate/104 1495s ok 107 /utf8/validate/105 1495s ok 108 /utf8/validate/106 1495s ok 109 /utf8/validate/107 1495s ok 110 /utf8/validate/108 1495s ok 111 /utf8/validate/109 1495s ok 112 /utf8/validate/110 1495s ok 113 /utf8/validate/111 1495s ok 114 /utf8/validate/112 1495s ok 115 /utf8/validate/113 1495s ok 116 /utf8/validate/114 1495s ok 117 /utf8/validate/115 1495s ok 118 /utf8/validate/116 1495s ok 119 /utf8/validate/117 1495s ok 120 /utf8/validate/118 1495s ok 121 /utf8/validate/119 1495s ok 122 /utf8/validate/120 1495s ok 123 /utf8/validate/121 1495s ok 124 /utf8/validate/122 1495s ok 125 /utf8/validate/123 1495s ok 126 /utf8/validate/124 1495s ok 127 /utf8/validate/125 1495s ok 128 /utf8/validate/126 1495s ok 129 /utf8/validate/127 1495s ok 130 /utf8/validate/128 1495s ok 131 /utf8/validate/129 1495s ok 132 /utf8/validate/130 1495s ok 133 /utf8/validate/131 1495s ok 134 /utf8/validate/132 1495s ok 135 /utf8/validate/133 1495s ok 136 /utf8/validate/134 1495s ok 137 /utf8/validate/135 1495s ok 138 /utf8/validate/136 1495s ok 139 /utf8/validate/137 1495s ok 140 /utf8/validate/138 1495s ok 141 /utf8/validate/139 1495s ok 142 /utf8/validate/140 1495s ok 143 /utf8/validate/141 1495s ok 144 /utf8/validate/142 1495s ok 145 /utf8/validate/143 1495s ok 146 /utf8/validate/144 1495s ok 147 /utf8/validate/145 1495s ok 148 /utf8/validate/146 1495s ok 149 /utf8/validate/147 1495s ok 150 /utf8/validate/148 1495s ok 151 /utf8/validate/149 1495s ok 152 /utf8/validate/150 1495s ok 153 /utf8/validate/151 1495s ok 154 /utf8/validate/152 1495s ok 155 /utf8/validate/153 1495s ok 156 /utf8/validate/154 1495s ok 157 /utf8/validate/155 1495s ok 158 /utf8/validate/156 1495s ok 159 /utf8/validate/157 1495s ok 160 /utf8/validate/158 1495s ok 161 /utf8/validate/159 1495s ok 162 /utf8/validate/160 1495s ok 163 /utf8/validate/161 1495s ok 164 /utf8/validate/162 1495s ok 165 /utf8/validate/163 1495s ok 166 /utf8/validate/164 1495s ok 167 /utf8/validate/165 1495s ok 168 /utf8/validate/166 1495s ok 169 /utf8/validate/167 1495s ok 170 /utf8/validate/168 1495s ok 171 /utf8/validate/169 1495s ok 172 /utf8/validate/170 1495s ok 173 /utf8/validate/171 1495s ok 174 /utf8/validate/172 1495s ok 175 /utf8/validate/173 1495s ok 176 /utf8/validate/174 1495s ok 177 /utf8/validate/175 1495s ok 178 /utf8/validate/176 1495s ok 179 /utf8/validate/177 1495s ok 180 /utf8/validate/178 1495s ok 181 /utf8/validate/179 1495s ok 182 /utf8/validate/180 1495s ok 183 /utf8/validate/181 1495s ok 184 /utf8/validate/182 1495s ok 185 /utf8/validate/183 1495s ok 186 /utf8/validate/184 1495s ok 187 /utf8/validate/185 1495s ok 188 /utf8/validate/186 1495s ok 189 /utf8/validate/187 1495s ok 190 /utf8/validate/188 1495s ok 191 /utf8/validate/189 1495s ok 192 /utf8/validate/190 1495s ok 193 /utf8/validate/191 1495s ok 194 /utf8/validate/192 1495s ok 195 /utf8/validate/193 1495s ok 196 /utf8/validate/194 1495s ok 197 /utf8/validate/195 1495s ok 198 /utf8/validate/196 1495s ok 199 /utf8/validate/197 1495s ok 200 /utf8/validate/198 1495s ok 201 /utf8/validate/199 1495s ok 202 /utf8/validate/200 1495s ok 203 /utf8/validate/201 1495s ok 204 /utf8/validate/202 1495s ok 205 /utf8/validate/203 1495s ok 206 /utf8/validate/204 1495s ok 207 /utf8/validate/205 1495s ok 208 /utf8/validate/206 1495s ok 209 /utf8/validate/207 1495s ok 210 /utf8/validate/208 1495s ok 211 /utf8/validate/209 1495s ok 212 /utf8/validate/210 1495s ok 213 /utf8/validate/211 1495s ok 214 /utf8/validate/212 1495s ok 215 /utf8/validate/213 1495s ok 216 /utf8/validate/214 1495s # End of validate tests 1495s # End of utf8 tests 1495s ok - glib/utf8-validate.test 1495s # Running test: glib/utf8-pointer.test 1495s TAP version 13 1495s # random seed: R02Sfe81547141f08e811a7ccb5800aa25da 1495s 1..3 1495s # Start of utf8 tests 1496s ok 1 /utf8/offsets 1496s # slow test /utf8/offsets executed in 0.72 secs 1496s ok 2 /utf8/lengths 1496s ok 3 /utf8/find 1496s # End of utf8 tests 1496s ok - glib/utf8-pointer.test 1496s # Running test: glib/permission.test 1496s TAP version 13 1496s # random seed: R02Sc839cd3c8e7ed94508b911279fe7b05b 1496s 1..1 1496s # Start of permission tests 1496s ok 1 /permission/simple 1496s # End of permission tests 1496s ok - glib/permission.test 1496s # Running test: glib/gdbus-address-get-session.test 1496s TAP version 13 1496s # random seed: R02Sfcdfce8a7ab416f01a93273c867f8cd8 1496s 1..2 1496s # Start of gdbus tests 1496s ok 1 /gdbus/x11-autolaunch 1496s ok 2 /gdbus/xdg-runtime 1496s # End of gdbus tests 1496s ok - glib/gdbus-address-get-session.test 1496s # Running test: glib/gdbus-introspection.test 1496s TAP version 13 1496s # random seed: R02S1826b3a65617f0471fe766fc605923eb 1496s 1..4 1496s # Start of gdbus tests 1496s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-introspection_47F2K2/gdbus/introspection-parser/.dirs/home 1496s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-introspection_47F2K2/gdbus/introspection-parser/.dirs/cache 1496s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-introspection_47F2K2/gdbus/introspection-parser/.dirs/system-config1:/tmp/test_gdbus-introspection_47F2K2/gdbus/introspection-parser/.dirs/system-config2 1496s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-introspection_47F2K2/gdbus/introspection-parser/.dirs/config 1496s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-introspection_47F2K2/gdbus/introspection-parser/.dirs/system-data1:/tmp/test_gdbus-introspection_47F2K2/gdbus/introspection-parser/.dirs/system-data2 1496s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-introspection_47F2K2/gdbus/introspection-parser/.dirs/data 1496s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-introspection_47F2K2/gdbus/introspection-parser/.dirs/state 1496s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-introspection_47F2K2/gdbus/introspection-parser/.dirs/runtime 1496s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1496s ok 1 /gdbus/introspection-parser 1496s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-introspection_47F2K2/gdbus/introspection-generate/.dirs/home 1496s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-introspection_47F2K2/gdbus/introspection-generate/.dirs/cache 1496s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-introspection_47F2K2/gdbus/introspection-generate/.dirs/system-config1:/tmp/test_gdbus-introspection_47F2K2/gdbus/introspection-generate/.dirs/system-config2 1496s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-introspection_47F2K2/gdbus/introspection-generate/.dirs/config 1496s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-introspection_47F2K2/gdbus/introspection-generate/.dirs/system-data1:/tmp/test_gdbus-introspection_47F2K2/gdbus/introspection-generate/.dirs/system-data2 1496s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-introspection_47F2K2/gdbus/introspection-generate/.dirs/data 1496s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-introspection_47F2K2/gdbus/introspection-generate/.dirs/state 1496s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-introspection_47F2K2/gdbus/introspection-generate/.dirs/runtime 1496s ok 2 /gdbus/introspection-generate 1496s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-introspection_47F2K2/gdbus/introspection-default-direction/.dirs/home 1496s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-introspection_47F2K2/gdbus/introspection-default-direction/.dirs/cache 1496s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-introspection_47F2K2/gdbus/introspection-default-direction/.dirs/system-config1:/tmp/test_gdbus-introspection_47F2K2/gdbus/introspection-default-direction/.dirs/system-config2 1496s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-introspection_47F2K2/gdbus/introspection-default-direction/.dirs/config 1496s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-introspection_47F2K2/gdbus/introspection-default-direction/.dirs/system-data1:/tmp/test_gdbus-introspection_47F2K2/gdbus/introspection-default-direction/.dirs/system-data2 1496s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-introspection_47F2K2/gdbus/introspection-default-direction/.dirs/data 1496s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-introspection_47F2K2/gdbus/introspection-default-direction/.dirs/state 1496s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-introspection_47F2K2/gdbus/introspection-default-direction/.dirs/runtime 1496s ok 3 /gdbus/introspection-default-direction 1496s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-introspection_47F2K2/gdbus/introspection-extra-data/.dirs/home 1496s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-introspection_47F2K2/gdbus/introspection-extra-data/.dirs/cache 1496s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-introspection_47F2K2/gdbus/introspection-extra-data/.dirs/system-config1:/tmp/test_gdbus-introspection_47F2K2/gdbus/introspection-extra-data/.dirs/system-config2 1496s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-introspection_47F2K2/gdbus/introspection-extra-data/.dirs/config 1496s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-introspection_47F2K2/gdbus/introspection-extra-data/.dirs/system-data1:/tmp/test_gdbus-introspection_47F2K2/gdbus/introspection-extra-data/.dirs/system-data2 1496s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-introspection_47F2K2/gdbus/introspection-extra-data/.dirs/data 1496s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-introspection_47F2K2/gdbus/introspection-extra-data/.dirs/state 1496s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-introspection_47F2K2/gdbus/introspection-extra-data/.dirs/runtime 1496s ok 4 /gdbus/introspection-extra-data 1496s # End of gdbus tests 1496s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1496s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1496s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1496s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1496s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1496s ok - glib/gdbus-introspection.test 1496s # Running test: glib/contenttype.test 1496s TAP version 13 1496s # random seed: R02S71107fc1fb8a2646363cb3441aa4193c 1496s 1..13 1496s # Start of contenttype tests 1496s ok 1 /contenttype/guess 1496s ok 2 /contenttype/guess_svg_from_data 1496s ok 3 /contenttype/mime_from_content # SKIP mime from content type test not implemented on UNIX 1496s ok 4 /contenttype/unknown 1496s ok 5 /contenttype/subtype 1496s ok 6 /contenttype/list 1496s ok 7 /contenttype/executable 1496s ok 8 /contenttype/description 1496s ok 9 /contenttype/icon 1496s ok 10 /contenttype/symbolic-icon 1496s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 1496s ok 11 /contenttype/tree 1496s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3168 1496s ok 12 /contenttype/tree_invalid_encoding 1496s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=782311 1496s ok 13 /contenttype/test_type_is_a_special_case 1496s # End of contenttype tests 1496s ok - glib/contenttype.test 1496s # Running test: glib/static-link.test 1496s Test disabled because GLIB_TEST_COMPILATION is not set in the env. 1496s If you wish to run this test, set GLIB_TEST_COMPILATION=1 in the env, 1496s and make sure you have glib build dependencies installed, including 1496s meson. 1496s ok # SKIP - glib/static-link.test 1496s # Running test: glib/data-input-stream.test 1496s TAP version 13 1496s # random seed: R02Sd2cf782bb9f7b0a1848360921967d883 1496s 1..10 1496s # Start of data-input-stream tests 1496s ok 1 /data-input-stream/basic 1496s ok 2 /data-input-stream/read-lines-LF 1496s ok 3 /data-input-stream/read-lines-LF-valid-utf8 1496s ok 4 /data-input-stream/read-lines-LF-invalid-utf8 1496s ok 5 /data-input-stream/read-lines-CR 1496s ok 6 /data-input-stream/read-lines-CR-LF 1496s ok 7 /data-input-stream/read-lines-any 1496s ok 8 /data-input-stream/read-until 1496s ok 9 /data-input-stream/read-upto 1496s ok 10 /data-input-stream/read-int 1496s # End of data-input-stream tests 1496s ok - glib/data-input-stream.test 1496s # Running test: glib/bitlock.test 1496s TAP version 13 1496s # random seed: R02Sdbec1d7da9bf3081c9377329ea2e7720 1496s 1..1 1496s # Start of bitlock tests 1496s # Start of performance tests 1496s # max perf: iterations per second 1496s ok 1 /bitlock/performance/uncontended 1496s # End of performance tests 1496s # End of bitlock tests 1496s ok - glib/bitlock.test 1496s # Running test: glib/properties-introspection.test 1496s TAP version 13 1496s # random seed: R02S55b81556105b2f32cee7525d6e3930e5 1496s 1..2 1496s # Start of properties tests 1496s # /properties/introspection summary: Verify that introspecting properties on an interface initializes the GParamSpecPool. 1496s ok 1 /properties/introspection 1496s # /properties/collision summary: Verify that multiple threads create a single GParamSpecPool. 1496s ok 2 /properties/collision 1496s # End of properties tests 1496s ok - glib/properties-introspection.test 1496s # Running test: glib/data-output-stream.test 1496s TAP version 13 1496s # random seed: R02Sf55878bdb549de6a3bd21c35add7413c 1496s 1..7 1496s # Start of data-output-stream tests 1496s ok 1 /data-output-stream/basic 1496s ok 2 /data-output-stream/write-lines-LF 1496s ok 3 /data-output-stream/write-lines-CR 1496s ok 4 /data-output-stream/write-lines-CR-LF 1496s ok 5 /data-output-stream/write-int 1496s ok 6 /data-output-stream/seek 1496s ok 7 /data-output-stream/truncate 1496s # End of data-output-stream tests 1496s ok - glib/data-output-stream.test 1496s # Running test: glib/threadtests.test 1496s TAP version 13 1496s # random seed: R02S3be5c2a3888ea78628efc97377d55cc6 1496s 1..5 1496s # Start of GObject tests 1496s ok 1 /GObject/threaded-object-init 1497s # Executing: glib/threadtests.test 1497s ok 2 /GObject/threaded-weak-ref 1497s # slow test /GObject/threaded-weak-ref executed in 0.97 secs 1497s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/2394 1497s # /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 1498s ok 3 /GObject/threaded-toggle-notify 1498s # slow test /GObject/threaded-toggle-notify executed in 0.94 secs 1498s ok 4 /GObject/threaded-g-pointer-bit-unlock-and-set 1498s # Start of threaded-weak-ref tests 1498s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2390 1498s # /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. 1498s ok 5 /GObject/threaded-weak-ref/on-finalization 1498s # End of threaded-weak-ref tests 1498s # End of GObject tests 1498s ok - glib/threadtests.test 1498s # Running test: glib/dynamictype.test 1498s TAP version 13 1498s # random seed: R02S284fa51905254e1cabfcd0dc9f0c68dc 1498s 1..2 1498s # Start of gobject tests 1498s ok 1 /gobject/dynamic-type 1498s # Start of dynamic-type tests 1498s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/623 1498s ok 2 /gobject/dynamic-type/query 1498s # End of dynamic-type tests 1498s # End of gobject tests 1498s ok - glib/dynamictype.test 1498s # Running test: glib/timer.test 1498s TAP version 13 1498s # random seed: R02Sdb8ede7372782f90a423b3d74ae390ce 1498s 1..10 1498s # Start of timer tests 1498s ok 1 /timer/basic # SKIP Not reliable due to floating-point rounding (glib#820) 1498s ok 2 /timer/stop 1498s ok 3 /timer/continue 1498s ok 4 /timer/reset 1498s ok 5 /timer/is_active 1498s # End of timer tests 1498s # Start of timeval tests 1498s ok 6 /timeval/add 1498s ok 7 /timeval/from-iso8601 1498s ok 8 /timeval/to-iso8601 1498s # Start of to-iso8601 tests 1498s ok 9 /timeval/to-iso8601/overflow 1498s # End of to-iso8601 tests 1498s # End of timeval tests 1498s # Start of usleep tests 1498s ok 10 /usleep/with-zero-wait 1498s # End of usleep tests 1498s ok - glib/timer.test 1498s # Running test: glib/private.test 1498s TAP version 13 1498s # random seed: R02S1c468b1a8fac222131bfb22fe91bc030 1498s 1..8 1498s # Start of thread tests 1498s ok 1 /thread/private1 1499s ok 2 /thread/private2 1499s # slow test /thread/private2 executed in 1.11 secs 1499s ok 3 /thread/private3 1499s ok 4 /thread/staticprivate1 1499s ok 5 /thread/staticprivate2 1499s ok 6 /thread/staticprivate3 1500s ok 7 /thread/staticprivate4 1500s # slow test /thread/staticprivate4 executed in 1.15 secs 1500s ok 8 /thread/staticprivate5 1500s # End of thread tests 1500s ok - glib/private.test 1500s # Running test: glib/overflow.test 1500s TAP version 13 1500s # random seed: R02S3bdf1562c24d68a506345f4f7d616891 1500s 1..6 1500s # Start of glib tests 1500s # Start of checked-math tests 1500s ok 1 /glib/checked-math/guint-add 1500s ok 2 /glib/checked-math/guint-mul 1500s ok 3 /glib/checked-math/guint64-add 1500s ok 4 /glib/checked-math/guint64-mul 1500s ok 5 /glib/checked-math/gsize-add 1500s ok 6 /glib/checked-math/gsize-mul 1500s # End of checked-math tests 1500s # End of glib tests 1500s ok - glib/overflow.test 1500s # Running test: glib/autoptr.test 1500s TAP version 13 1500s # random seed: R02S262a70a9eb72462b1421cd26a431af5c 1500s 1..6 1500s # Start of autoptr tests 1500s ok 1 /autoptr/autoptr 1500s ok 2 /autoptr/autoptr_steal 1500s ok 3 /autoptr/autolist 1500s ok 4 /autoptr/autoslist 1500s ok 5 /autoptr/autoqueue 1500s ok 6 /autoptr/autoclass 1500s # End of autoptr tests 1500s ok - glib/autoptr.test 1500s # Running test: glib/defaultiface.test 1500s TAP version 13 1500s # random seed: R02Sac3bb9a907fc7a69bbb9d6e76c284c51 1500s 1..2 1500s # Start of gobject tests 1500s ok 1 /gobject/static-iface 1500s ok 2 /gobject/dynamic-iface 1500s # End of gobject tests 1500s ok - glib/defaultiface.test 1500s # Running test: glib/convert.test 1500s TAP version 13 1500s # random seed: R02S4a527b18e16f887f92e4076c929cb949 1500s 1..14 1500s # Start of conversion tests 1500s ok 1 /conversion/no-conv 1500s ok 2 /conversion/iconv-state 1500s ok 3 /conversion/illegal-sequence 1500s ok 4 /conversion/byte-order 1500s ok 5 /conversion/unicode 1500s ok 6 /conversion/filename-utf8 1500s ok 7 /conversion/filename-display 1500s ok 8 /conversion/convert-embedded-nul 1500s # Start of locale-to-utf8 tests 1500s ok 9 /conversion/locale-to-utf8/embedded-nul 1500s # Start of embedded-nul tests 1500s # Start of subprocess tests 1500s # End of subprocess tests 1500s # End of embedded-nul tests 1500s # End of locale-to-utf8 tests 1500s # Start of locale-from-utf8 tests 1500s ok 10 /conversion/locale-from-utf8/embedded-nul 1500s # Start of embedded-nul tests 1500s # Start of subprocess tests 1500s # End of subprocess tests 1500s # End of embedded-nul tests 1500s # End of locale-from-utf8 tests 1500s # Start of filename-to-utf8 tests 1500s ok 11 /conversion/filename-to-utf8/embedded-nul 1500s # Start of embedded-nul tests 1500s # Start of subprocess tests 1500s # End of subprocess tests 1500s # End of embedded-nul tests 1500s # End of filename-to-utf8 tests 1500s # Start of filename-from-utf8 tests 1500s ok 12 /conversion/filename-from-utf8/embedded-nul 1500s # Start of embedded-nul tests 1500s # Start of subprocess tests 1500s # End of subprocess tests 1500s # End of embedded-nul tests 1500s # End of filename-from-utf8 tests 1500s # Start of filename-from-uri tests 1500s ok 13 /conversion/filename-from-uri/query-is-ignored 1500s ok 14 /conversion/filename-from-uri/fragment-is-ignored 1500s # End of filename-from-uri tests 1500s # End of conversion tests 1500s ok - glib/convert.test 1500s # Running test: glib/gio-tool.py.test 1500s TAP version 13 1500s ok 1 __main__.TestGioTool.test_help 1500s # tmpdir: /tmp/tmp8r8glgev 1500s # gio: /usr/bin/gio 1500s # Running: ['/usr/bin/gio', '--help'] 1500s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-baqskmurxn,guid=fbaffe99d0ccb1f6e1beb84865fc01cd', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.YcZbqk/autopkgtest_tmp', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.YcZbqk/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.YcZbqk/autopkgtest_tmp', 'TERM': 'unknown', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.YcZbqk/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.sVTVMp0Db0', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.rqZsJO/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.YcZbqk/wrapper.sh --artifacts=/tmp/autopkgtest.YcZbqk/installed-tests-artifacts --chdir=/tmp/autopkgtest.YcZbqk/build.S0E/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.YcZbqk/installed-tests-stderr --stdout=/tmp/autopkgtest.YcZbqk/installed-tests-stdout --tmp=/tmp/autopkgtest.YcZbqk/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2' --make-executable=/tmp/autopkgtest.YcZbqk/build.S0E/src/debian/tests/installed-tests -- /tmp/autopkgtest.YcZbqk/build.S0E/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.YcZbqk/build.S0E/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.YcZbqk/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1500s # Output: Usage: 1500s # gio COMMAND [ARGS…] 1500s # 1500s # Commands: 1500s # help Print help 1500s # version Print version 1500s # cat Concatenate files to standard output 1500s # copy Copy one or more files 1500s # info Show information about locations 1500s # launch Launch an application from a desktop file 1500s # list List the contents of locations 1500s # mime Get or set the handler for a mimetype 1500s # mkdir Create directories 1500s # monitor Monitor files and directories for changes 1500s # mount Mount or unmount the locations 1500s # move Move one or more files 1500s # open Open files with the default application 1500s # rename Rename a file 1500s # remove Delete one or more files 1500s # save Read from standard input and save 1500s # set Set a file attribute 1500s # trash Move files or directories to the trash 1500s # tree Lists the contents of locations in a tree 1500s # 1500s # Use “gio help COMMAND” to get detailed help. 1500s # Running: ['/usr/bin/gio', 'help'] 1500s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-baqskmurxn,guid=fbaffe99d0ccb1f6e1beb84865fc01cd', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.YcZbqk/autopkgtest_tmp', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.YcZbqk/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.YcZbqk/autopkgtest_tmp', 'TERM': 'unknown', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.YcZbqk/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.sVTVMp0Db0', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.rqZsJO/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.YcZbqk/wrapper.sh --artifacts=/tmp/autopkgtest.YcZbqk/installed-tests-artifacts --chdir=/tmp/autopkgtest.YcZbqk/build.S0E/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.YcZbqk/installed-tests-stderr --stdout=/tmp/autopkgtest.YcZbqk/installed-tests-stdout --tmp=/tmp/autopkgtest.YcZbqk/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2' --make-executable=/tmp/autopkgtest.YcZbqk/build.S0E/src/debian/tests/installed-tests -- /tmp/autopkgtest.YcZbqk/build.S0E/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.YcZbqk/build.S0E/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.YcZbqk/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1500s # Output: Usage: 1500s # gio COMMAND [ARGS…] 1500s # 1500s # Commands: 1500s # help Print help 1500s # version Print version 1500s # cat Concatenate files to standard output 1500s # copy Copy one or more files 1500s # info Show information about locations 1500s # launch Launch an application from a desktop file 1500s # list List the contents of locations 1500s # mime Get or set the handler for a mimetype 1500s # mkdir Create directories 1500s # monitor Monitor files and directories for changes 1500s # mount Mount or unmount the locations 1500s # move Move one or more files 1500s # open Open files with the default application 1500s # rename Rename a file 1500s # remove Delete one or more files 1500s # save Read from standard input and save 1500s # set Set a file attribute 1500s # trash Move files or directories to the trash 1500s # tree Lists the contents of locations in a tree 1500s # 1500s # Use “gio help COMMAND” to get detailed help. 1500s ok 2 __main__.TestGioTool.test_info_non_default_attributes 1500s # tmpdir: /tmp/tmpnraq02yt 1500s # gio: /usr/bin/gio 1500s # Running: ['/usr/bin/gio', 'info', '--attributes=standard::content-type', '/tmp/tmpnraq02yt/tmp131vmp1x'] 1500s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-baqskmurxn,guid=fbaffe99d0ccb1f6e1beb84865fc01cd', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.YcZbqk/autopkgtest_tmp', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.YcZbqk/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.YcZbqk/autopkgtest_tmp', 'TERM': 'unknown', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.YcZbqk/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.sVTVMp0Db0', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.rqZsJO/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.YcZbqk/wrapper.sh --artifacts=/tmp/autopkgtest.YcZbqk/installed-tests-artifacts --chdir=/tmp/autopkgtest.YcZbqk/build.S0E/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.YcZbqk/installed-tests-stderr --stdout=/tmp/autopkgtest.YcZbqk/installed-tests-stdout --tmp=/tmp/autopkgtest.YcZbqk/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2' --make-executable=/tmp/autopkgtest.YcZbqk/build.S0E/src/debian/tests/installed-tests -- /tmp/autopkgtest.YcZbqk/build.S0E/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.YcZbqk/build.S0E/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.YcZbqk/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1500s # Output: uri: file:///tmp/tmpnraq02yt/tmp131vmp1x 1500s # local path: /tmp/tmpnraq02yt/tmp131vmp1x 1500s # unix mount: /dev/sda1 / ext4 rw,relatime,discard,errors=remount-ro 1500s # attributes: 1500s # standard::content-type: application/x-zerosize 1500s ok 3 __main__.TestGioTool.test_no_args 1500s # tmpdir: /tmp/tmpmrgwbl9t 1500s # gio: /usr/bin/gio 1500s # Running: ['/usr/bin/gio'] 1500s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-baqskmurxn,guid=fbaffe99d0ccb1f6e1beb84865fc01cd', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.YcZbqk/autopkgtest_tmp', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.YcZbqk/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.YcZbqk/autopkgtest_tmp', 'TERM': 'unknown', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.YcZbqk/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.sVTVMp0Db0', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.rqZsJO/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.YcZbqk/wrapper.sh --artifacts=/tmp/autopkgtest.YcZbqk/installed-tests-artifacts --chdir=/tmp/autopkgtest.YcZbqk/build.S0E/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.YcZbqk/installed-tests-stderr --stdout=/tmp/autopkgtest.YcZbqk/installed-tests-stdout --tmp=/tmp/autopkgtest.YcZbqk/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2' --make-executable=/tmp/autopkgtest.YcZbqk/build.S0E/src/debian/tests/installed-tests -- /tmp/autopkgtest.YcZbqk/build.S0E/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.YcZbqk/build.S0E/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.YcZbqk/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1500s 1..3 1500s ok - glib/gio-tool.py.test 1500s # Running test: glib/checksum.test 1500s TAP version 13 1500s # random seed: R02S3a7c20b2d17746b993548ae60c744595 1500s 1..1851 1500s # Start of checksum tests 1500s ok 1 /checksum/unsupported 1500s # Start of MD5 tests 1500s ok 2 /checksum/MD5/0 1500s ok 3 /checksum/MD5/1 1500s ok 4 /checksum/MD5/2 1500s ok 5 /checksum/MD5/3 1500s ok 6 /checksum/MD5/4 1500s ok 7 /checksum/MD5/5 1500s ok 8 /checksum/MD5/6 1500s ok 9 /checksum/MD5/7 1500s ok 10 /checksum/MD5/8 1500s ok 11 /checksum/MD5/9 1500s ok 12 /checksum/MD5/10 1500s ok 13 /checksum/MD5/11 1500s ok 14 /checksum/MD5/12 1500s ok 15 /checksum/MD5/13 1500s ok 16 /checksum/MD5/14 1500s ok 17 /checksum/MD5/15 1500s ok 18 /checksum/MD5/16 1500s ok 19 /checksum/MD5/17 1500s ok 20 /checksum/MD5/18 1500s ok 21 /checksum/MD5/19 1500s ok 22 /checksum/MD5/20 1500s ok 23 /checksum/MD5/21 1500s ok 24 /checksum/MD5/22 1500s ok 25 /checksum/MD5/23 1500s ok 26 /checksum/MD5/24 1500s ok 27 /checksum/MD5/25 1500s ok 28 /checksum/MD5/26 1500s ok 29 /checksum/MD5/27 1500s ok 30 /checksum/MD5/28 1500s ok 31 /checksum/MD5/29 1500s ok 32 /checksum/MD5/30 1500s ok 33 /checksum/MD5/31 1500s ok 34 /checksum/MD5/32 1500s ok 35 /checksum/MD5/33 1500s ok 36 /checksum/MD5/34 1500s ok 37 /checksum/MD5/35 1500s ok 38 /checksum/MD5/36 1500s ok 39 /checksum/MD5/37 1500s ok 40 /checksum/MD5/38 1500s ok 41 /checksum/MD5/39 1500s ok 42 /checksum/MD5/40 1500s ok 43 /checksum/MD5/41 1500s ok 44 /checksum/MD5/42 1500s ok 45 /checksum/MD5/43 1500s ok 46 /checksum/MD5/44 1500s ok 47 /checksum/MD5/45 1500s ok 48 /checksum/MD5/46 1500s ok 49 /checksum/MD5/47 1500s ok 50 /checksum/MD5/48 1500s ok 51 /checksum/MD5/49 1500s ok 52 /checksum/MD5/50 1500s ok 53 /checksum/MD5/51 1500s ok 54 /checksum/MD5/52 1500s ok 55 /checksum/MD5/53 1500s ok 56 /checksum/MD5/54 1500s ok 57 /checksum/MD5/55 1500s ok 58 /checksum/MD5/56 1500s ok 59 /checksum/MD5/57 1500s ok 60 /checksum/MD5/58 1500s ok 61 /checksum/MD5/59 1500s ok 62 /checksum/MD5/60 1500s ok 63 /checksum/MD5/61 1500s ok 64 /checksum/MD5/62 1500s ok 65 /checksum/MD5/63 1500s ok 66 /checksum/MD5/64 1500s ok 67 /checksum/MD5/65 1500s ok 68 /checksum/MD5/66 1500s ok 69 /checksum/MD5/67 1500s ok 70 /checksum/MD5/68 1500s ok 71 /checksum/MD5/69 1500s ok 72 /checksum/MD5/70 1500s ok 73 /checksum/MD5/71 1500s ok 74 /checksum/MD5/72 1500s ok 75 /checksum/MD5/73 1500s ok 76 /checksum/MD5/74 1500s ok 77 /checksum/MD5/75 1500s ok 78 /checksum/MD5/76 1500s ok 79 /checksum/MD5/77 1500s ok 80 /checksum/MD5/78 1500s ok 81 /checksum/MD5/79 1500s ok 82 /checksum/MD5/80 1500s ok 83 /checksum/MD5/81 1500s ok 84 /checksum/MD5/82 1500s ok 85 /checksum/MD5/83 1500s ok 86 /checksum/MD5/84 1500s ok 87 /checksum/MD5/85 1500s ok 88 /checksum/MD5/86 1500s ok 89 /checksum/MD5/87 1500s ok 90 /checksum/MD5/88 1500s ok 91 /checksum/MD5/89 1500s ok 92 /checksum/MD5/90 1500s ok 93 /checksum/MD5/91 1500s ok 94 /checksum/MD5/92 1500s ok 95 /checksum/MD5/93 1500s ok 96 /checksum/MD5/94 1500s ok 97 /checksum/MD5/95 1500s ok 98 /checksum/MD5/96 1500s ok 99 /checksum/MD5/97 1500s ok 100 /checksum/MD5/98 1500s ok 101 /checksum/MD5/99 1500s ok 102 /checksum/MD5/100 1500s ok 103 /checksum/MD5/101 1500s ok 104 /checksum/MD5/102 1500s ok 105 /checksum/MD5/103 1500s ok 106 /checksum/MD5/104 1500s ok 107 /checksum/MD5/105 1500s ok 108 /checksum/MD5/106 1500s ok 109 /checksum/MD5/107 1500s ok 110 /checksum/MD5/108 1500s ok 111 /checksum/MD5/109 1500s ok 112 /checksum/MD5/110 1500s ok 113 /checksum/MD5/111 1500s ok 114 /checksum/MD5/112 1500s ok 115 /checksum/MD5/113 1500s ok 116 /checksum/MD5/114 1500s ok 117 /checksum/MD5/115 1500s ok 118 /checksum/MD5/116 1500s ok 119 /checksum/MD5/117 1500s ok 120 /checksum/MD5/118 1500s ok 121 /checksum/MD5/119 1500s ok 122 /checksum/MD5/120 1500s ok 123 /checksum/MD5/121 1500s ok 124 /checksum/MD5/122 1500s ok 125 /checksum/MD5/123 1500s ok 126 /checksum/MD5/124 1500s ok 127 /checksum/MD5/125 1500s ok 128 /checksum/MD5/126 1500s ok 129 /checksum/MD5/127 1500s ok 130 /checksum/MD5/128 1500s ok 131 /checksum/MD5/129 1500s ok 132 /checksum/MD5/130 1500s ok 133 /checksum/MD5/131 1500s ok 134 /checksum/MD5/132 1500s ok 135 /checksum/MD5/133 1500s ok 136 /checksum/MD5/134 1500s ok 137 /checksum/MD5/135 1500s ok 138 /checksum/MD5/136 1500s ok 139 /checksum/MD5/137 1500s ok 140 /checksum/MD5/138 1500s ok 141 /checksum/MD5/139 1500s ok 142 /checksum/MD5/140 1500s ok 143 /checksum/MD5/141 1500s ok 144 /checksum/MD5/142 1500s ok 145 /checksum/MD5/143 1500s ok 146 /checksum/MD5/144 1500s ok 147 /checksum/MD5/145 1500s ok 148 /checksum/MD5/146 1500s ok 149 /checksum/MD5/147 1500s ok 150 /checksum/MD5/148 1500s ok 151 /checksum/MD5/149 1500s ok 152 /checksum/MD5/150 1500s ok 153 /checksum/MD5/151 1500s ok 154 /checksum/MD5/152 1500s ok 155 /checksum/MD5/153 1500s ok 156 /checksum/MD5/154 1500s ok 157 /checksum/MD5/155 1500s ok 158 /checksum/MD5/156 1500s ok 159 /checksum/MD5/157 1500s ok 160 /checksum/MD5/158 1500s ok 161 /checksum/MD5/159 1500s ok 162 /checksum/MD5/160 1500s ok 163 /checksum/MD5/161 1500s ok 164 /checksum/MD5/162 1500s ok 165 /checksum/MD5/163 1500s ok 166 /checksum/MD5/164 1500s ok 167 /checksum/MD5/165 1500s ok 168 /checksum/MD5/166 1500s ok 169 /checksum/MD5/167 1500s ok 170 /checksum/MD5/168 1500s ok 171 /checksum/MD5/169 1500s ok 172 /checksum/MD5/170 1500s ok 173 /checksum/MD5/171 1500s ok 174 /checksum/MD5/172 1500s ok 175 /checksum/MD5/173 1500s ok 176 /checksum/MD5/174 1500s ok 177 /checksum/MD5/175 1500s ok 178 /checksum/MD5/176 1500s ok 179 /checksum/MD5/177 1500s ok 180 /checksum/MD5/178 1500s ok 181 /checksum/MD5/179 1500s ok 182 /checksum/MD5/180 1500s ok 183 /checksum/MD5/181 1500s ok 184 /checksum/MD5/182 1500s ok 185 /checksum/MD5/183 1500s ok 186 /checksum/MD5/string 1500s ok 187 /checksum/MD5/bytes 1500s # Start of reset tests 1500s ok 188 /checksum/MD5/reset/0 1500s ok 189 /checksum/MD5/reset/1 1500s ok 190 /checksum/MD5/reset/2 1500s ok 191 /checksum/MD5/reset/3 1500s ok 192 /checksum/MD5/reset/4 1500s ok 193 /checksum/MD5/reset/5 1500s ok 194 /checksum/MD5/reset/6 1500s ok 195 /checksum/MD5/reset/7 1500s ok 196 /checksum/MD5/reset/8 1500s ok 197 /checksum/MD5/reset/9 1500s ok 198 /checksum/MD5/reset/10 1500s ok 199 /checksum/MD5/reset/11 1500s ok 200 /checksum/MD5/reset/12 1500s ok 201 /checksum/MD5/reset/13 1500s ok 202 /checksum/MD5/reset/14 1500s ok 203 /checksum/MD5/reset/15 1500s ok 204 /checksum/MD5/reset/16 1500s ok 205 /checksum/MD5/reset/17 1500s ok 206 /checksum/MD5/reset/18 1500s ok 207 /checksum/MD5/reset/19 1500s ok 208 /checksum/MD5/reset/20 1500s ok 209 /checksum/MD5/reset/21 1500s ok 210 /checksum/MD5/reset/22 1500s ok 211 /checksum/MD5/reset/23 1500s ok 212 /checksum/MD5/reset/24 1500s ok 213 /checksum/MD5/reset/25 1500s ok 214 /checksum/MD5/reset/26 1500s ok 215 /checksum/MD5/reset/27 1500s ok 216 /checksum/MD5/reset/28 1500s ok 217 /checksum/MD5/reset/29 1500s ok 218 /checksum/MD5/reset/30 1500s ok 219 /checksum/MD5/reset/31 1500s ok 220 /checksum/MD5/reset/32 1500s ok 221 /checksum/MD5/reset/33 1500s ok 222 /checksum/MD5/reset/34 1500s ok 223 /checksum/MD5/reset/35 1500s ok 224 /checksum/MD5/reset/36 1500s ok 225 /checksum/MD5/reset/37 1500s ok 226 /checksum/MD5/reset/38 1500s ok 227 /checksum/MD5/reset/39 1500s ok 228 /checksum/MD5/reset/40 1500s ok 229 /checksum/MD5/reset/41 1500s ok 230 /checksum/MD5/reset/42 1500s ok 231 /checksum/MD5/reset/43 1500s ok 232 /checksum/MD5/reset/44 1500s ok 233 /checksum/MD5/reset/45 1500s ok 234 /checksum/MD5/reset/46 1500s ok 235 /checksum/MD5/reset/47 1500s ok 236 /checksum/MD5/reset/48 1500s ok 237 /checksum/MD5/reset/49 1500s ok 238 /checksum/MD5/reset/50 1500s ok 239 /checksum/MD5/reset/51 1500s ok 240 /checksum/MD5/reset/52 1500s ok 241 /checksum/MD5/reset/53 1500s ok 242 /checksum/MD5/reset/54 1500s ok 243 /checksum/MD5/reset/55 1500s ok 244 /checksum/MD5/reset/56 1500s ok 245 /checksum/MD5/reset/57 1500s ok 246 /checksum/MD5/reset/58 1500s ok 247 /checksum/MD5/reset/59 1500s ok 248 /checksum/MD5/reset/60 1500s ok 249 /checksum/MD5/reset/61 1500s ok 250 /checksum/MD5/reset/62 1500s ok 251 /checksum/MD5/reset/63 1500s ok 252 /checksum/MD5/reset/64 1500s ok 253 /checksum/MD5/reset/65 1500s ok 254 /checksum/MD5/reset/66 1500s ok 255 /checksum/MD5/reset/67 1500s ok 256 /checksum/MD5/reset/68 1500s ok 257 /checksum/MD5/reset/69 1500s ok 258 /checksum/MD5/reset/70 1500s ok 259 /checksum/MD5/reset/71 1500s ok 260 /checksum/MD5/reset/72 1500s ok 261 /checksum/MD5/reset/73 1500s ok 262 /checksum/MD5/reset/74 1500s ok 263 /checksum/MD5/reset/75 1500s ok 264 /checksum/MD5/reset/76 1500s ok 265 /checksum/MD5/reset/77 1500s ok 266 /checksum/MD5/reset/78 1500s ok 267 /checksum/MD5/reset/79 1500s ok 268 /checksum/MD5/reset/80 1500s ok 269 /checksum/MD5/reset/81 1500s ok 270 /checksum/MD5/reset/82 1500s ok 271 /checksum/MD5/reset/83 1500s ok 272 /checksum/MD5/reset/84 1500s ok 273 /checksum/MD5/reset/85 1500s ok 274 /checksum/MD5/reset/86 1500s ok 275 /checksum/MD5/reset/87 1500s ok 276 /checksum/MD5/reset/88 1500s ok 277 /checksum/MD5/reset/89 1500s ok 278 /checksum/MD5/reset/90 1500s ok 279 /checksum/MD5/reset/91 1500s ok 280 /checksum/MD5/reset/92 1500s ok 281 /checksum/MD5/reset/93 1500s ok 282 /checksum/MD5/reset/94 1500s ok 283 /checksum/MD5/reset/95 1500s ok 284 /checksum/MD5/reset/96 1500s ok 285 /checksum/MD5/reset/97 1500s ok 286 /checksum/MD5/reset/98 1500s ok 287 /checksum/MD5/reset/99 1500s ok 288 /checksum/MD5/reset/100 1500s ok 289 /checksum/MD5/reset/101 1500s ok 290 /checksum/MD5/reset/102 1500s ok 291 /checksum/MD5/reset/103 1500s ok 292 /checksum/MD5/reset/104 1500s ok 293 /checksum/MD5/reset/105 1500s ok 294 /checksum/MD5/reset/106 1500s ok 295 /checksum/MD5/reset/107 1500s ok 296 /checksum/MD5/reset/108 1500s ok 297 /checksum/MD5/reset/109 1500s ok 298 /checksum/MD5/reset/110 1500s ok 299 /checksum/MD5/reset/111 1500s ok 300 /checksum/MD5/reset/112 1500s ok 301 /checksum/MD5/reset/113 1500s ok 302 /checksum/MD5/reset/114 1500s ok 303 /checksum/MD5/reset/115 1500s ok 304 /checksum/MD5/reset/116 1500s ok 305 /checksum/MD5/reset/117 1500s ok 306 /checksum/MD5/reset/118 1500s ok 307 /checksum/MD5/reset/119 1500s ok 308 /checksum/MD5/reset/120 1500s ok 309 /checksum/MD5/reset/121 1500s ok 310 /checksum/MD5/reset/122 1500s ok 311 /checksum/MD5/reset/123 1500s ok 312 /checksum/MD5/reset/124 1500s ok 313 /checksum/MD5/reset/125 1500s ok 314 /checksum/MD5/reset/126 1500s ok 315 /checksum/MD5/reset/127 1500s ok 316 /checksum/MD5/reset/128 1500s ok 317 /checksum/MD5/reset/129 1500s ok 318 /checksum/MD5/reset/130 1500s ok 319 /checksum/MD5/reset/131 1500s ok 320 /checksum/MD5/reset/132 1500s ok 321 /checksum/MD5/reset/133 1500s ok 322 /checksum/MD5/reset/134 1500s ok 323 /checksum/MD5/reset/135 1500s ok 324 /checksum/MD5/reset/136 1500s ok 325 /checksum/MD5/reset/137 1500s ok 326 /checksum/MD5/reset/138 1500s ok 327 /checksum/MD5/reset/139 1500s ok 328 /checksum/MD5/reset/140 1500s ok 329 /checksum/MD5/reset/141 1500s ok 330 /checksum/MD5/reset/142 1500s ok 331 /checksum/MD5/reset/143 1500s ok 332 /checksum/MD5/reset/144 1500s ok 333 /checksum/MD5/reset/145 1500s ok 334 /checksum/MD5/reset/146 1500s ok 335 /checksum/MD5/reset/147 1500s ok 336 /checksum/MD5/reset/148 1500s ok 337 /checksum/MD5/reset/149 1500s ok 338 /checksum/MD5/reset/150 1500s ok 339 /checksum/MD5/reset/151 1500s ok 340 /checksum/MD5/reset/152 1500s ok 341 /checksum/MD5/reset/153 1500s ok 342 /checksum/MD5/reset/154 1500s ok 343 /checksum/MD5/reset/155 1500s ok 344 /checksum/MD5/reset/156 1500s ok 345 /checksum/MD5/reset/157 1500s ok 346 /checksum/MD5/reset/158 1500s ok 347 /checksum/MD5/reset/159 1500s ok 348 /checksum/MD5/reset/160 1500s ok 349 /checksum/MD5/reset/161 1500s ok 350 /checksum/MD5/reset/162 1500s ok 351 /checksum/MD5/reset/163 1500s ok 352 /checksum/MD5/reset/164 1500s ok 353 /checksum/MD5/reset/165 1500s ok 354 /checksum/MD5/reset/166 1500s ok 355 /checksum/MD5/reset/167 1500s ok 356 /checksum/MD5/reset/168 1500s ok 357 /checksum/MD5/reset/169 1500s ok 358 /checksum/MD5/reset/170 1500s ok 359 /checksum/MD5/reset/171 1500s ok 360 /checksum/MD5/reset/172 1500s ok 361 /checksum/MD5/reset/173 1500s ok 362 /checksum/MD5/reset/174 1500s ok 363 /checksum/MD5/reset/175 1500s ok 364 /checksum/MD5/reset/176 1500s ok 365 /checksum/MD5/reset/177 1500s ok 366 /checksum/MD5/reset/178 1500s ok 367 /checksum/MD5/reset/179 1500s ok 368 /checksum/MD5/reset/180 1500s ok 369 /checksum/MD5/reset/181 1500s ok 370 /checksum/MD5/reset/182 1500s ok 371 /checksum/MD5/reset/183 1500s # End of reset tests 1500s # End of MD5 tests 1500s # Start of SHA1 tests 1500s ok 372 /checksum/SHA1/0 1500s ok 373 /checksum/SHA1/1 1500s ok 374 /checksum/SHA1/2 1500s ok 375 /checksum/SHA1/3 1500s ok 376 /checksum/SHA1/4 1500s ok 377 /checksum/SHA1/5 1500s ok 378 /checksum/SHA1/6 1500s ok 379 /checksum/SHA1/7 1500s ok 380 /checksum/SHA1/8 1500s ok 381 /checksum/SHA1/9 1500s ok 382 /checksum/SHA1/10 1500s ok 383 /checksum/SHA1/11 1500s ok 384 /checksum/SHA1/12 1500s ok 385 /checksum/SHA1/13 1500s ok 386 /checksum/SHA1/14 1500s ok 387 /checksum/SHA1/15 1500s ok 388 /checksum/SHA1/16 1500s ok 389 /checksum/SHA1/17 1500s ok 390 /checksum/SHA1/18 1500s ok 391 /checksum/SHA1/19 1500s ok 392 /checksum/SHA1/20 1500s ok 393 /checksum/SHA1/21 1500s ok 394 /checksum/SHA1/22 1500s ok 395 /checksum/SHA1/23 1500s ok 396 /checksum/SHA1/24 1500s ok 397 /checksum/SHA1/25 1500s ok 398 /checksum/SHA1/26 1500s ok 399 /checksum/SHA1/27 1500s ok 400 /checksum/SHA1/28 1500s ok 401 /checksum/SHA1/29 1500s ok 402 /checksum/SHA1/30 1500s ok 403 /checksum/SHA1/31 1500s ok 404 /checksum/SHA1/32 1500s ok 405 /checksum/SHA1/33 1500s ok 406 /checksum/SHA1/34 1500s ok 407 /checksum/SHA1/35 1500s ok 408 /checksum/SHA1/36 1500s ok 409 /checksum/SHA1/37 1500s ok 410 /checksum/SHA1/38 1500s ok 411 /checksum/SHA1/39 1500s ok 412 /checksum/SHA1/40 1500s ok 413 /checksum/SHA1/41 1500s ok 414 /checksum/SHA1/42 1500s ok 415 /checksum/SHA1/43 1500s ok 416 /checksum/SHA1/44 1500s ok 417 /checksum/SHA1/45 1500s ok 418 /checksum/SHA1/46 1500s ok 419 /checksum/SHA1/47 1500s ok 420 /checksum/SHA1/48 1500s ok 421 /checksum/SHA1/49 1500s ok 422 /checksum/SHA1/50 1500s ok 423 /checksum/SHA1/51 1500s ok 424 /checksum/SHA1/52 1500s ok 425 /checksum/SHA1/53 1500s ok 426 /checksum/SHA1/54 1500s ok 427 /checksum/SHA1/55 1500s ok 428 /checksum/SHA1/56 1500s ok 429 /checksum/SHA1/57 1500s ok 430 /checksum/SHA1/58 1500s ok 431 /checksum/SHA1/59 1500s ok 432 /checksum/SHA1/60 1500s ok 433 /checksum/SHA1/61 1500s ok 434 /checksum/SHA1/62 1500s ok 435 /checksum/SHA1/63 1500s ok 436 /checksum/SHA1/64 1500s ok 437 /checksum/SHA1/65 1500s ok 438 /checksum/SHA1/66 1500s ok 439 /checksum/SHA1/67 1500s ok 440 /checksum/SHA1/68 1500s ok 441 /checksum/SHA1/69 1500s ok 442 /checksum/SHA1/70 1500s ok 443 /checksum/SHA1/71 1500s ok 444 /checksum/SHA1/72 1500s ok 445 /checksum/SHA1/73 1500s ok 446 /checksum/SHA1/74 1500s ok 447 /checksum/SHA1/75 1500s ok 448 /checksum/SHA1/76 1500s ok 449 /checksum/SHA1/77 1500s ok 450 /checksum/SHA1/78 1500s ok 451 /checksum/SHA1/79 1500s ok 452 /checksum/SHA1/80 1500s ok 453 /checksum/SHA1/81 1500s ok 454 /checksum/SHA1/82 1500s ok 455 /checksum/SHA1/83 1500s ok 456 /checksum/SHA1/84 1500s ok 457 /checksum/SHA1/85 1500s ok 458 /checksum/SHA1/86 1500s ok 459 /checksum/SHA1/87 1500s ok 460 /checksum/SHA1/88 1500s ok 461 /checksum/SHA1/89 1500s ok 462 /checksum/SHA1/90 1500s ok 463 /checksum/SHA1/91 1500s ok 464 /checksum/SHA1/92 1500s ok 465 /checksum/SHA1/93 1500s ok 466 /checksum/SHA1/94 1500s ok 467 /checksum/SHA1/95 1500s ok 468 /checksum/SHA1/96 1500s ok 469 /checksum/SHA1/97 1500s ok 470 /checksum/SHA1/98 1500s ok 471 /checksum/SHA1/99 1500s ok 472 /checksum/SHA1/100 1500s ok 473 /checksum/SHA1/101 1500s ok 474 /checksum/SHA1/102 1500s ok 475 /checksum/SHA1/103 1500s ok 476 /checksum/SHA1/104 1500s ok 477 /checksum/SHA1/105 1500s ok 478 /checksum/SHA1/106 1500s ok 479 /checksum/SHA1/107 1500s ok 480 /checksum/SHA1/108 1500s ok 481 /checksum/SHA1/109 1500s ok 482 /checksum/SHA1/110 1500s ok 483 /checksum/SHA1/111 1500s ok 484 /checksum/SHA1/112 1500s ok 485 /checksum/SHA1/113 1500s ok 486 /checksum/SHA1/114 1500s ok 487 /checksum/SHA1/115 1500s ok 488 /checksum/SHA1/116 1500s ok 489 /checksum/SHA1/117 1500s ok 490 /checksum/SHA1/118 1500s ok 491 /checksum/SHA1/119 1500s ok 492 /checksum/SHA1/120 1500s ok 493 /checksum/SHA1/121 1500s ok 494 /checksum/SHA1/122 1500s ok 495 /checksum/SHA1/123 1500s ok 496 /checksum/SHA1/124 1500s ok 497 /checksum/SHA1/125 1500s ok 498 /checksum/SHA1/126 1500s ok 499 /checksum/SHA1/127 1500s ok 500 /checksum/SHA1/128 1500s ok 501 /checksum/SHA1/129 1500s ok 502 /checksum/SHA1/130 1500s ok 503 /checksum/SHA1/131 1500s ok 504 /checksum/SHA1/132 1500s ok 505 /checksum/SHA1/133 1500s ok 506 /checksum/SHA1/134 1500s ok 507 /checksum/SHA1/135 1500s ok 508 /checksum/SHA1/136 1500s ok 509 /checksum/SHA1/137 1500s ok 510 /checksum/SHA1/138 1500s ok 511 /checksum/SHA1/139 1500s ok 512 /checksum/SHA1/140 1500s ok 513 /checksum/SHA1/141 1500s ok 514 /checksum/SHA1/142 1501s ok 515 /checksum/SHA1/143 1501s ok 516 /checksum/SHA1/144 1501s ok 517 /checksum/SHA1/145 1501s ok 518 /checksum/SHA1/146 1501s ok 519 /checksum/SHA1/147 1501s ok 520 /checksum/SHA1/148 1501s ok 521 /checksum/SHA1/149 1501s ok 522 /checksum/SHA1/150 1501s ok 523 /checksum/SHA1/151 1501s ok 524 /checksum/SHA1/152 1501s ok 525 /checksum/SHA1/153 1501s ok 526 /checksum/SHA1/154 1501s ok 527 /checksum/SHA1/155 1501s ok 528 /checksum/SHA1/156 1501s ok 529 /checksum/SHA1/157 1501s ok 530 /checksum/SHA1/158 1501s ok 531 /checksum/SHA1/159 1501s ok 532 /checksum/SHA1/160 1501s ok 533 /checksum/SHA1/161 1501s ok 534 /checksum/SHA1/162 1501s ok 535 /checksum/SHA1/163 1501s ok 536 /checksum/SHA1/164 1501s ok 537 /checksum/SHA1/165 1501s ok 538 /checksum/SHA1/166 1501s ok 539 /checksum/SHA1/167 1501s ok 540 /checksum/SHA1/168 1501s ok 541 /checksum/SHA1/169 1501s ok 542 /checksum/SHA1/170 1501s ok 543 /checksum/SHA1/171 1501s ok 544 /checksum/SHA1/172 1501s ok 545 /checksum/SHA1/173 1501s ok 546 /checksum/SHA1/174 1501s ok 547 /checksum/SHA1/175 1501s ok 548 /checksum/SHA1/176 1501s ok 549 /checksum/SHA1/177 1501s ok 550 /checksum/SHA1/178 1501s ok 551 /checksum/SHA1/179 1501s ok 552 /checksum/SHA1/180 1501s ok 553 /checksum/SHA1/181 1501s ok 554 /checksum/SHA1/182 1501s ok 555 /checksum/SHA1/183 1501s ok 556 /checksum/SHA1/string 1501s ok 557 /checksum/SHA1/bytes 1501s # Start of reset tests 1501s ok 558 /checksum/SHA1/reset/0 1501s ok 559 /checksum/SHA1/reset/1 1501s ok 560 /checksum/SHA1/reset/2 1501s ok 561 /checksum/SHA1/reset/3 1501s ok 562 /checksum/SHA1/reset/4 1501s ok 563 /checksum/SHA1/reset/5 1501s ok 564 /checksum/SHA1/reset/6 1501s ok 565 /checksum/SHA1/reset/7 1501s ok 566 /checksum/SHA1/reset/8 1501s ok 567 /checksum/SHA1/reset/9 1501s ok 568 /checksum/SHA1/reset/10 1501s ok 569 /checksum/SHA1/reset/11 1501s ok 570 /checksum/SHA1/reset/12 1501s ok 571 /checksum/SHA1/reset/13 1501s ok 572 /checksum/SHA1/reset/14 1501s ok 573 /checksum/SHA1/reset/15 1501s ok 574 /checksum/SHA1/reset/16 1501s ok 575 /checksum/SHA1/reset/17 1501s ok 576 /checksum/SHA1/reset/18 1501s ok 577 /checksum/SHA1/reset/19 1501s ok 578 /checksum/SHA1/reset/20 1501s ok 579 /checksum/SHA1/reset/21 1501s ok 580 /checksum/SHA1/reset/22 1501s ok 581 /checksum/SHA1/reset/23 1501s ok 582 /checksum/SHA1/reset/24 1501s ok 583 /checksum/SHA1/reset/25 1501s ok 584 /checksum/SHA1/reset/26 1501s ok 585 /checksum/SHA1/reset/27 1501s ok 586 /checksum/SHA1/reset/28 1501s ok 587 /checksum/SHA1/reset/29 1501s ok 588 /checksum/SHA1/reset/30 1501s ok 589 /checksum/SHA1/reset/31 1501s ok 590 /checksum/SHA1/reset/32 1501s ok 591 /checksum/SHA1/reset/33 1501s ok 592 /checksum/SHA1/reset/34 1501s ok 593 /checksum/SHA1/reset/35 1501s ok 594 /checksum/SHA1/reset/36 1501s ok 595 /checksum/SHA1/reset/37 1501s ok 596 /checksum/SHA1/reset/38 1501s ok 597 /checksum/SHA1/reset/39 1501s ok 598 /checksum/SHA1/reset/40 1501s ok 599 /checksum/SHA1/reset/41 1501s ok 600 /checksum/SHA1/reset/42 1501s ok 601 /checksum/SHA1/reset/43 1501s ok 602 /checksum/SHA1/reset/44 1501s ok 603 /checksum/SHA1/reset/45 1501s ok 604 /checksum/SHA1/reset/46 1501s ok 605 /checksum/SHA1/reset/47 1501s ok 606 /checksum/SHA1/reset/48 1501s ok 607 /checksum/SHA1/reset/49 1501s ok 608 /checksum/SHA1/reset/50 1501s ok 609 /checksum/SHA1/reset/51 1501s ok 610 /checksum/SHA1/reset/52 1501s ok 611 /checksum/SHA1/reset/53 1501s ok 612 /checksum/SHA1/reset/54 1501s ok 613 /checksum/SHA1/reset/55 1501s ok 614 /checksum/SHA1/reset/56 1501s ok 615 /checksum/SHA1/reset/57 1501s ok 616 /checksum/SHA1/reset/58 1501s ok 617 /checksum/SHA1/reset/59 1501s ok 618 /checksum/SHA1/reset/60 1501s ok 619 /checksum/SHA1/reset/61 1501s ok 620 /checksum/SHA1/reset/62 1501s ok 621 /checksum/SHA1/reset/63 1501s ok 622 /checksum/SHA1/reset/64 1501s ok 623 /checksum/SHA1/reset/65 1501s ok 624 /checksum/SHA1/reset/66 1501s ok 625 /checksum/SHA1/reset/67 1501s ok 626 /checksum/SHA1/reset/68 1501s ok 627 /checksum/SHA1/reset/69 1501s ok 628 /checksum/SHA1/reset/70 1501s ok 629 /checksum/SHA1/reset/71 1501s ok 630 /checksum/SHA1/reset/72 1501s ok 631 /checksum/SHA1/reset/73 1501s ok 632 /checksum/SHA1/reset/74 1501s ok 633 /checksum/SHA1/reset/75 1501s ok 634 /checksum/SHA1/reset/76 1501s ok 635 /checksum/SHA1/reset/77 1501s ok 636 /checksum/SHA1/reset/78 1501s ok 637 /checksum/SHA1/reset/79 1501s ok 638 /checksum/SHA1/reset/80 1501s ok 639 /checksum/SHA1/reset/81 1501s ok 640 /checksum/SHA1/reset/82 1501s ok 641 /checksum/SHA1/reset/83 1501s ok 642 /checksum/SHA1/reset/84 1501s ok 643 /checksum/SHA1/reset/85 1501s ok 644 /checksum/SHA1/reset/86 1501s ok 645 /checksum/SHA1/reset/87 1501s ok 646 /checksum/SHA1/reset/88 1501s ok 647 /checksum/SHA1/reset/89 1501s ok 648 /checksum/SHA1/reset/90 1501s ok 649 /checksum/SHA1/reset/91 1501s ok 650 /checksum/SHA1/reset/92 1501s ok 651 /checksum/SHA1/reset/93 1501s ok 652 /checksum/SHA1/reset/94 1501s ok 653 /checksum/SHA1/reset/95 1501s ok 654 /checksum/SHA1/reset/96 1501s ok 655 /checksum/SHA1/reset/97 1501s ok 656 /checksum/SHA1/reset/98 1501s ok 657 /checksum/SHA1/reset/99 1501s ok 658 /checksum/SHA1/reset/100 1501s ok 659 /checksum/SHA1/reset/101 1501s ok 660 /checksum/SHA1/reset/102 1501s ok 661 /checksum/SHA1/reset/103 1501s ok 662 /checksum/SHA1/reset/104 1501s ok 663 /checksum/SHA1/reset/105 1501s ok 664 /checksum/SHA1/reset/106 1501s ok 665 /checksum/SHA1/reset/107 1501s ok 666 /checksum/SHA1/reset/108 1501s ok 667 /checksum/SHA1/reset/109 1501s ok 668 /checksum/SHA1/reset/110 1501s ok 669 /checksum/SHA1/reset/111 1501s ok 670 /checksum/SHA1/reset/112 1501s ok 671 /checksum/SHA1/reset/113 1501s ok 672 /checksum/SHA1/reset/114 1501s ok 673 /checksum/SHA1/reset/115 1501s ok 674 /checksum/SHA1/reset/116 1501s ok 675 /checksum/SHA1/reset/117 1501s ok 676 /checksum/SHA1/reset/118 1501s ok 677 /checksum/SHA1/reset/119 1501s ok 678 /checksum/SHA1/reset/120 1501s ok 679 /checksum/SHA1/reset/121 1501s ok 680 /checksum/SHA1/reset/122 1501s ok 681 /checksum/SHA1/reset/123 1501s ok 682 /checksum/SHA1/reset/124 1501s ok 683 /checksum/SHA1/reset/125 1501s ok 684 /checksum/SHA1/reset/126 1501s ok 685 /checksum/SHA1/reset/127 1501s ok 686 /checksum/SHA1/reset/128 1501s ok 687 /checksum/SHA1/reset/129 1501s ok 688 /checksum/SHA1/reset/130 1501s ok 689 /checksum/SHA1/reset/131 1501s ok 690 /checksum/SHA1/reset/132 1501s ok 691 /checksum/SHA1/reset/133 1501s ok 692 /checksum/SHA1/reset/134 1501s ok 693 /checksum/SHA1/reset/135 1501s ok 694 /checksum/SHA1/reset/136 1501s ok 695 /checksum/SHA1/reset/137 1501s ok 696 /checksum/SHA1/reset/138 1501s ok 697 /checksum/SHA1/reset/139 1501s ok 698 /checksum/SHA1/reset/140 1501s ok 699 /checksum/SHA1/reset/141 1501s ok 700 /checksum/SHA1/reset/142 1501s ok 701 /checksum/SHA1/reset/143 1501s ok 702 /checksum/SHA1/reset/144 1501s ok 703 /checksum/SHA1/reset/145 1501s ok 704 /checksum/SHA1/reset/146 1501s ok 705 /checksum/SHA1/reset/147 1501s ok 706 /checksum/SHA1/reset/148 1501s ok 707 /checksum/SHA1/reset/149 1501s ok 708 /checksum/SHA1/reset/150 1501s ok 709 /checksum/SHA1/reset/151 1501s ok 710 /checksum/SHA1/reset/152 1501s ok 711 /checksum/SHA1/reset/153 1501s ok 712 /checksum/SHA1/reset/154 1501s ok 713 /checksum/SHA1/reset/155 1501s ok 714 /checksum/SHA1/reset/156 1501s ok 715 /checksum/SHA1/reset/157 1501s ok 716 /checksum/SHA1/reset/158 1501s ok 717 /checksum/SHA1/reset/159 1501s ok 718 /checksum/SHA1/reset/160 1501s ok 719 /checksum/SHA1/reset/161 1501s ok 720 /checksum/SHA1/reset/162 1501s ok 721 /checksum/SHA1/reset/163 1501s ok 722 /checksum/SHA1/reset/164 1501s ok 723 /checksum/SHA1/reset/165 1501s ok 724 /checksum/SHA1/reset/166 1501s ok 725 /checksum/SHA1/reset/167 1501s ok 726 /checksum/SHA1/reset/168 1501s ok 727 /checksum/SHA1/reset/169 1501s ok 728 /checksum/SHA1/reset/170 1501s ok 729 /checksum/SHA1/reset/171 1501s ok 730 /checksum/SHA1/reset/172 1501s ok 731 /checksum/SHA1/reset/173 1501s ok 732 /checksum/SHA1/reset/174 1501s ok 733 /checksum/SHA1/reset/175 1501s ok 734 /checksum/SHA1/reset/176 1501s ok 735 /checksum/SHA1/reset/177 1501s ok 736 /checksum/SHA1/reset/178 1501s ok 737 /checksum/SHA1/reset/179 1501s ok 738 /checksum/SHA1/reset/180 1501s ok 739 /checksum/SHA1/reset/181 1501s ok 740 /checksum/SHA1/reset/182 1501s ok 741 /checksum/SHA1/reset/183 1501s # End of reset tests 1501s # End of SHA1 tests 1501s # Start of SHA256 tests 1501s ok 742 /checksum/SHA256/0 1501s ok 743 /checksum/SHA256/1 1501s ok 744 /checksum/SHA256/2 1501s ok 745 /checksum/SHA256/3 1501s ok 746 /checksum/SHA256/4 1501s ok 747 /checksum/SHA256/5 1501s ok 748 /checksum/SHA256/6 1501s ok 749 /checksum/SHA256/7 1501s ok 750 /checksum/SHA256/8 1501s ok 751 /checksum/SHA256/9 1501s ok 752 /checksum/SHA256/10 1501s ok 753 /checksum/SHA256/11 1501s ok 754 /checksum/SHA256/12 1501s ok 755 /checksum/SHA256/13 1501s ok 756 /checksum/SHA256/14 1501s ok 757 /checksum/SHA256/15 1501s ok 758 /checksum/SHA256/16 1501s ok 759 /checksum/SHA256/17 1501s ok 760 /checksum/SHA256/18 1501s ok 761 /checksum/SHA256/19 1501s ok 762 /checksum/SHA256/20 1501s ok 763 /checksum/SHA256/21 1501s ok 764 /checksum/SHA256/22 1501s ok 765 /checksum/SHA256/23 1501s ok 766 /checksum/SHA256/24 1501s ok 767 /checksum/SHA256/25 1501s ok 768 /checksum/SHA256/26 1501s ok 769 /checksum/SHA256/27 1501s ok 770 /checksum/SHA256/28 1501s ok 771 /checksum/SHA256/29 1501s ok 772 /checksum/SHA256/30 1501s ok 773 /checksum/SHA256/31 1501s ok 774 /checksum/SHA256/32 1501s ok 775 /checksum/SHA256/33 1501s ok 776 /checksum/SHA256/34 1501s ok 777 /checksum/SHA256/35 1501s ok 778 /checksum/SHA256/36 1501s ok 779 /checksum/SHA256/37 1501s ok 780 /checksum/SHA256/38 1501s ok 781 /checksum/SHA256/39 1501s ok 782 /checksum/SHA256/40 1501s ok 783 /checksum/SHA256/41 1501s ok 784 /checksum/SHA256/42 1501s ok 785 /checksum/SHA256/43 1501s ok 786 /checksum/SHA256/44 1501s ok 787 /checksum/SHA256/45 1501s ok 788 /checksum/SHA256/46 1501s ok 789 /checksum/SHA256/47 1501s ok 790 /checksum/SHA256/48 1501s ok 791 /checksum/SHA256/49 1501s ok 792 /checksum/SHA256/50 1501s ok 793 /checksum/SHA256/51 1501s ok 794 /checksum/SHA256/52 1501s ok 795 /checksum/SHA256/53 1501s ok 796 /checksum/SHA256/54 1501s ok 797 /checksum/SHA256/55 1501s ok 798 /checksum/SHA256/56 1501s ok 799 /checksum/SHA256/57 1501s ok 800 /checksum/SHA256/58 1501s ok 801 /checksum/SHA256/59 1501s ok 802 /checksum/SHA256/60 1501s ok 803 /checksum/SHA256/61 1501s ok 804 /checksum/SHA256/62 1501s ok 805 /checksum/SHA256/63 1501s ok 806 /checksum/SHA256/64 1501s ok 807 /checksum/SHA256/65 1501s ok 808 /checksum/SHA256/66 1501s ok 809 /checksum/SHA256/67 1501s ok 810 /checksum/SHA256/68 1501s ok 811 /checksum/SHA256/69 1501s ok 812 /checksum/SHA256/70 1501s ok 813 /checksum/SHA256/71 1501s ok 814 /checksum/SHA256/72 1501s ok 815 /checksum/SHA256/73 1501s ok 816 /checksum/SHA256/74 1501s ok 817 /checksum/SHA256/75 1501s ok 818 /checksum/SHA256/76 1501s ok 819 /checksum/SHA256/77 1501s ok 820 /checksum/SHA256/78 1501s ok 821 /checksum/SHA256/79 1501s ok 822 /checksum/SHA256/80 1501s ok 823 /checksum/SHA256/81 1501s ok 824 /checksum/SHA256/82 1501s ok 825 /checksum/SHA256/83 1501s ok 826 /checksum/SHA256/84 1501s ok 827 /checksum/SHA256/85 1501s ok 828 /checksum/SHA256/86 1501s ok 829 /checksum/SHA256/87 1501s ok 830 /checksum/SHA256/88 1501s ok 831 /checksum/SHA256/89 1501s ok 832 /checksum/SHA256/90 1501s ok 833 /checksum/SHA256/91 1501s ok 834 /checksum/SHA256/92 1501s ok 835 /checksum/SHA256/93 1501s ok 836 /checksum/SHA256/94 1501s ok 837 /checksum/SHA256/95 1501s ok 838 /checksum/SHA256/96 1501s ok 839 /checksum/SHA256/97 1501s ok 840 /checksum/SHA256/98 1501s ok 841 /checksum/SHA256/99 1501s ok 842 /checksum/SHA256/100 1501s ok 843 /checksum/SHA256/101 1501s ok 844 /checksum/SHA256/102 1501s ok 845 /checksum/SHA256/103 1501s ok 846 /checksum/SHA256/104 1501s ok 847 /checksum/SHA256/105 1501s ok 848 /checksum/SHA256/106 1501s ok 849 /checksum/SHA256/107 1501s ok 850 /checksum/SHA256/108 1501s ok 851 /checksum/SHA256/109 1501s ok 852 /checksum/SHA256/110 1501s ok 853 /checksum/SHA256/111 1501s ok 854 /checksum/SHA256/112 1501s ok 855 /checksum/SHA256/113 1501s ok 856 /checksum/SHA256/114 1501s ok 857 /checksum/SHA256/115 1501s ok 858 /checksum/SHA256/116 1501s ok 859 /checksum/SHA256/117 1501s ok 860 /checksum/SHA256/118 1501s ok 861 /checksum/SHA256/119 1501s ok 862 /checksum/SHA256/120 1501s ok 863 /checksum/SHA256/121 1501s ok 864 /checksum/SHA256/122 1501s ok 865 /checksum/SHA256/123 1501s ok 866 /checksum/SHA256/124 1501s ok 867 /checksum/SHA256/125 1501s ok 868 /checksum/SHA256/126 1501s ok 869 /checksum/SHA256/127 1501s ok 870 /checksum/SHA256/128 1501s ok 871 /checksum/SHA256/129 1501s ok 872 /checksum/SHA256/130 1501s ok 873 /checksum/SHA256/131 1501s ok 874 /checksum/SHA256/132 1501s ok 875 /checksum/SHA256/133 1501s ok 876 /checksum/SHA256/134 1501s ok 877 /checksum/SHA256/135 1501s ok 878 /checksum/SHA256/136 1501s ok 879 /checksum/SHA256/137 1501s ok 880 /checksum/SHA256/138 1501s ok 881 /checksum/SHA256/139 1501s ok 882 /checksum/SHA256/140 1501s ok 883 /checksum/SHA256/141 1501s ok 884 /checksum/SHA256/142 1501s ok 885 /checksum/SHA256/143 1501s ok 886 /checksum/SHA256/144 1501s ok 887 /checksum/SHA256/145 1501s ok 888 /checksum/SHA256/146 1501s ok 889 /checksum/SHA256/147 1501s ok 890 /checksum/SHA256/148 1501s ok 891 /checksum/SHA256/149 1501s ok 892 /checksum/SHA256/150 1501s ok 893 /checksum/SHA256/151 1501s ok 894 /checksum/SHA256/152 1501s ok 895 /checksum/SHA256/153 1501s ok 896 /checksum/SHA256/154 1501s ok 897 /checksum/SHA256/155 1501s ok 898 /checksum/SHA256/156 1501s ok 899 /checksum/SHA256/157 1501s ok 900 /checksum/SHA256/158 1501s ok 901 /checksum/SHA256/159 1501s ok 902 /checksum/SHA256/160 1501s ok 903 /checksum/SHA256/161 1501s ok 904 /checksum/SHA256/162 1501s ok 905 /checksum/SHA256/163 1501s ok 906 /checksum/SHA256/164 1501s ok 907 /checksum/SHA256/165 1501s ok 908 /checksum/SHA256/166 1501s ok 909 /checksum/SHA256/167 1501s ok 910 /checksum/SHA256/168 1501s ok 911 /checksum/SHA256/169 1501s ok 912 /checksum/SHA256/170 1501s ok 913 /checksum/SHA256/171 1501s ok 914 /checksum/SHA256/172 1501s ok 915 /checksum/SHA256/173 1501s ok 916 /checksum/SHA256/174 1501s ok 917 /checksum/SHA256/175 1501s ok 918 /checksum/SHA256/176 1501s ok 919 /checksum/SHA256/177 1501s ok 920 /checksum/SHA256/178 1501s ok 921 /checksum/SHA256/179 1501s ok 922 /checksum/SHA256/180 1501s ok 923 /checksum/SHA256/181 1501s ok 924 /checksum/SHA256/182 1501s ok 925 /checksum/SHA256/183 1501s ok 926 /checksum/SHA256/string 1501s ok 927 /checksum/SHA256/bytes 1501s # Start of reset tests 1501s ok 928 /checksum/SHA256/reset/0 1501s ok 929 /checksum/SHA256/reset/1 1501s ok 930 /checksum/SHA256/reset/2 1501s ok 931 /checksum/SHA256/reset/3 1501s ok 932 /checksum/SHA256/reset/4 1501s ok 933 /checksum/SHA256/reset/5 1501s ok 934 /checksum/SHA256/reset/6 1501s ok 935 /checksum/SHA256/reset/7 1501s ok 936 /checksum/SHA256/reset/8 1501s ok 937 /checksum/SHA256/reset/9 1501s ok 938 /checksum/SHA256/reset/10 1501s ok 939 /checksum/SHA256/reset/11 1501s ok 940 /checksum/SHA256/reset/12 1501s ok 941 /checksum/SHA256/reset/13 1501s ok 942 /checksum/SHA256/reset/14 1501s ok 943 /checksum/SHA256/reset/15 1501s ok 944 /checksum/SHA256/reset/16 1501s ok 945 /checksum/SHA256/reset/17 1501s ok 946 /checksum/SHA256/reset/18 1501s ok 947 /checksum/SHA256/reset/19 1501s ok 948 /checksum/SHA256/reset/20 1501s ok 949 /checksum/SHA256/reset/21 1501s ok 950 /checksum/SHA256/reset/22 1501s ok 951 /checksum/SHA256/reset/23 1501s ok 952 /checksum/SHA256/reset/24 1501s ok 953 /checksum/SHA256/reset/25 1501s ok 954 /checksum/SHA256/reset/26 1501s ok 955 /checksum/SHA256/reset/27 1501s ok 956 /checksum/SHA256/reset/28 1501s ok 957 /checksum/SHA256/reset/29 1501s ok 958 /checksum/SHA256/reset/30 1501s ok 959 /checksum/SHA256/reset/31 1501s ok 960 /checksum/SHA256/reset/32 1501s ok 961 /checksum/SHA256/reset/33 1501s ok 962 /checksum/SHA256/reset/34 1501s ok 963 /checksum/SHA256/reset/35 1501s ok 964 /checksum/SHA256/reset/36 1501s ok 965 /checksum/SHA256/reset/37 1501s ok 966 /checksum/SHA256/reset/38 1501s ok 967 /checksum/SHA256/reset/39 1501s ok 968 /checksum/SHA256/reset/40 1501s ok 969 /checksum/SHA256/reset/41 1501s ok 970 /checksum/SHA256/reset/42 1501s ok 971 /checksum/SHA256/reset/43 1501s ok 972 /checksum/SHA256/reset/44 1501s ok 973 /checksum/SHA256/reset/45 1501s ok 974 /checksum/SHA256/reset/46 1501s ok 975 /checksum/SHA256/reset/47 1501s ok 976 /checksum/SHA256/reset/48 1501s ok 977 /checksum/SHA256/reset/49 1501s ok 978 /checksum/SHA256/reset/50 1501s ok 979 /checksum/SHA256/reset/51 1501s ok 980 /checksum/SHA256/reset/52 1501s ok 981 /checksum/SHA256/reset/53 1501s ok 982 /checksum/SHA256/reset/54 1501s ok 983 /checksum/SHA256/reset/55 1501s ok 984 /checksum/SHA256/reset/56 1501s ok 985 /checksum/SHA256/reset/57 1501s ok 986 /checksum/SHA256/reset/58 1501s ok 987 /checksum/SHA256/reset/59 1501s ok 988 /checksum/SHA256/reset/60 1501s ok 989 /checksum/SHA256/reset/61 1501s ok 990 /checksum/SHA256/reset/62 1501s ok 991 /checksum/SHA256/reset/63 1501s ok 992 /checksum/SHA256/reset/64 1501s ok 993 /checksum/SHA256/reset/65 1501s ok 994 /checksum/SHA256/reset/66 1501s ok 995 /checksum/SHA256/reset/67 1501s ok 996 /checksum/SHA256/reset/68 1501s ok 997 /checksum/SHA256/reset/69 1501s ok 998 /checksum/SHA256/reset/70 1501s ok 999 /checksum/SHA256/reset/71 1501s ok 1000 /checksum/SHA256/reset/72 1501s ok 1001 /checksum/SHA256/reset/73 1501s ok 1002 /checksum/SHA256/reset/74 1501s ok 1003 /checksum/SHA256/reset/75 1501s ok 1004 /checksum/SHA256/reset/76 1501s ok 1005 /checksum/SHA256/reset/77 1501s ok 1006 /checksum/SHA256/reset/78 1501s ok 1007 /checksum/SHA256/reset/79 1501s ok 1008 /checksum/SHA256/reset/80 1501s ok 1009 /checksum/SHA256/reset/81 1501s ok 1010 /checksum/SHA256/reset/82 1501s ok 1011 /checksum/SHA256/reset/83 1501s ok 1012 /checksum/SHA256/reset/84 1501s ok 1013 /checksum/SHA256/reset/85 1501s ok 1014 /checksum/SHA256/reset/86 1501s ok 1015 /checksum/SHA256/reset/87 1501s ok 1016 /checksum/SHA256/reset/88 1501s ok 1017 /checksum/SHA256/reset/89 1501s ok 1018 /checksum/SHA256/reset/90 1501s ok 1019 /checksum/SHA256/reset/91 1501s ok 1020 /checksum/SHA256/reset/92 1501s ok 1021 /checksum/SHA256/reset/93 1501s ok 1022 /checksum/SHA256/reset/94 1501s ok 1023 /checksum/SHA256/reset/95 1501s ok 1024 /checksum/SHA256/reset/96 1501s ok 1025 /checksum/SHA256/reset/97 1501s ok 1026 /checksum/SHA256/reset/98 1501s ok 1027 /checksum/SHA256/reset/99 1501s ok 1028 /checksum/SHA256/reset/100 1501s ok 1029 /checksum/SHA256/reset/101 1501s ok 1030 /checksum/SHA256/reset/102 1501s ok 1031 /checksum/SHA256/reset/103 1501s ok 1032 /checksum/SHA256/reset/104 1501s ok 1033 /checksum/SHA256/reset/105 1501s ok 1034 /checksum/SHA256/reset/106 1501s ok 1035 /checksum/SHA256/reset/107 1501s ok 1036 /checksum/SHA256/reset/108 1501s ok 1037 /checksum/SHA256/reset/109 1501s ok 1038 /checksum/SHA256/reset/110 1501s ok 1039 /checksum/SHA256/reset/111 1501s ok 1040 /checksum/SHA256/reset/112 1501s ok 1041 /checksum/SHA256/reset/113 1501s ok 1042 /checksum/SHA256/reset/114 1501s ok 1043 /checksum/SHA256/reset/115 1501s ok 1044 /checksum/SHA256/reset/116 1501s ok 1045 /checksum/SHA256/reset/117 1501s ok 1046 /checksum/SHA256/reset/118 1501s ok 1047 /checksum/SHA256/reset/119 1501s ok 1048 /checksum/SHA256/reset/120 1501s ok 1049 /checksum/SHA256/reset/121 1501s ok 1050 /checksum/SHA256/reset/122 1501s ok 1051 /checksum/SHA256/reset/123 1501s ok 1052 /checksum/SHA256/reset/124 1501s ok 1053 /checksum/SHA256/reset/125 1501s ok 1054 /checksum/SHA256/reset/126 1501s ok 1055 /checksum/SHA256/reset/127 1501s ok 1056 /checksum/SHA256/reset/128 1501s ok 1057 /checksum/SHA256/reset/129 1501s ok 1058 /checksum/SHA256/reset/130 1501s ok 1059 /checksum/SHA256/reset/131 1501s ok 1060 /checksum/SHA256/reset/132 1501s ok 1061 /checksum/SHA256/reset/133 1501s ok 1062 /checksum/SHA256/reset/134 1501s ok 1063 /checksum/SHA256/reset/135 1501s ok 1064 /checksum/SHA256/reset/136 1501s ok 1065 /checksum/SHA256/reset/137 1501s ok 1066 /checksum/SHA256/reset/138 1501s ok 1067 /checksum/SHA256/reset/139 1501s ok 1068 /checksum/SHA256/reset/140 1501s ok 1069 /checksum/SHA256/reset/141 1501s ok 1070 /checksum/SHA256/reset/142 1501s ok 1071 /checksum/SHA256/reset/143 1501s ok 1072 /checksum/SHA256/reset/144 1501s ok 1073 /checksum/SHA256/reset/145 1501s ok 1074 /checksum/SHA256/reset/146 1501s ok 1075 /checksum/SHA256/reset/147 1501s ok 1076 /checksum/SHA256/reset/148 1501s ok 1077 /checksum/SHA256/reset/149 1501s ok 1078 /checksum/SHA256/reset/150 1501s ok 1079 /checksum/SHA256/reset/151 1501s ok 1080 /checksum/SHA256/reset/152 1501s ok 1081 /checksum/SHA256/reset/153 1501s ok 1082 /checksum/SHA256/reset/154 1501s ok 1083 /checksum/SHA256/reset/155 1501s ok 1084 /checksum/SHA256/reset/156 1501s ok 1085 /checksum/SHA256/reset/157 1501s ok 1086 /checksum/SHA256/reset/158 1501s ok 1087 /checksum/SHA256/reset/159 1501s ok 1088 /checksum/SHA256/reset/160 1501s ok 1089 /checksum/SHA256/reset/161 1501s ok 1090 /checksum/SHA256/reset/162 1501s ok 1091 /checksum/SHA256/reset/163 1501s ok 1092 /checksum/SHA256/reset/164 1501s ok 1093 /checksum/SHA256/reset/165 1501s ok 1094 /checksum/SHA256/reset/166 1501s ok 1095 /checksum/SHA256/reset/167 1501s ok 1096 /checksum/SHA256/reset/168 1501s ok 1097 /checksum/SHA256/reset/169 1501s ok 1098 /checksum/SHA256/reset/170 1501s ok 1099 /checksum/SHA256/reset/171 1501s ok 1100 /checksum/SHA256/reset/172 1501s ok 1101 /checksum/SHA256/reset/173 1501s ok 1102 /checksum/SHA256/reset/174 1501s ok 1103 /checksum/SHA256/reset/175 1501s ok 1104 /checksum/SHA256/reset/176 1501s ok 1105 /checksum/SHA256/reset/177 1501s ok 1106 /checksum/SHA256/reset/178 1501s ok 1107 /checksum/SHA256/reset/179 1501s ok 1108 /checksum/SHA256/reset/180 1501s ok 1109 /checksum/SHA256/reset/181 1501s ok 1110 /checksum/SHA256/reset/182 1501s ok 1111 /checksum/SHA256/reset/183 1501s # End of reset tests 1501s # End of SHA256 tests 1501s # Start of SHA384 tests 1501s ok 1112 /checksum/SHA384/0 1501s ok 1113 /checksum/SHA384/1 1501s ok 1114 /checksum/SHA384/2 1501s ok 1115 /checksum/SHA384/3 1501s ok 1116 /checksum/SHA384/4 1501s ok 1117 /checksum/SHA384/5 1501s ok 1118 /checksum/SHA384/6 1501s ok 1119 /checksum/SHA384/7 1501s ok 1120 /checksum/SHA384/8 1501s ok 1121 /checksum/SHA384/9 1501s ok 1122 /checksum/SHA384/10 1501s ok 1123 /checksum/SHA384/11 1501s ok 1124 /checksum/SHA384/12 1501s ok 1125 /checksum/SHA384/13 1501s ok 1126 /checksum/SHA384/14 1501s ok 1127 /checksum/SHA384/15 1501s ok 1128 /checksum/SHA384/16 1501s ok 1129 /checksum/SHA384/17 1501s ok 1130 /checksum/SHA384/18 1501s ok 1131 /checksum/SHA384/19 1501s ok 1132 /checksum/SHA384/20 1501s ok 1133 /checksum/SHA384/21 1501s ok 1134 /checksum/SHA384/22 1501s ok 1135 /checksum/SHA384/23 1501s ok 1136 /checksum/SHA384/24 1501s ok 1137 /checksum/SHA384/25 1501s ok 1138 /checksum/SHA384/26 1501s ok 1139 /checksum/SHA384/27 1501s ok 1140 /checksum/SHA384/28 1501s ok 1141 /checksum/SHA384/29 1501s ok 1142 /checksum/SHA384/30 1501s ok 1143 /checksum/SHA384/31 1501s ok 1144 /checksum/SHA384/32 1501s ok 1145 /checksum/SHA384/33 1501s ok 1146 /checksum/SHA384/34 1501s ok 1147 /checksum/SHA384/35 1501s ok 1148 /checksum/SHA384/36 1501s ok 1149 /checksum/SHA384/37 1501s ok 1150 /checksum/SHA384/38 1501s ok 1151 /checksum/SHA384/39 1501s ok 1152 /checksum/SHA384/40 1501s ok 1153 /checksum/SHA384/41 1501s ok 1154 /checksum/SHA384/42 1501s ok 1155 /checksum/SHA384/43 1501s ok 1156 /checksum/SHA384/44 1501s ok 1157 /checksum/SHA384/45 1501s ok 1158 /checksum/SHA384/46 1501s ok 1159 /checksum/SHA384/47 1501s ok 1160 /checksum/SHA384/48 1501s ok 1161 /checksum/SHA384/49 1501s ok 1162 /checksum/SHA384/50 1501s ok 1163 /checksum/SHA384/51 1501s ok 1164 /checksum/SHA384/52 1501s ok 1165 /checksum/SHA384/53 1501s ok 1166 /checksum/SHA384/54 1501s ok 1167 /checksum/SHA384/55 1501s ok 1168 /checksum/SHA384/56 1501s ok 1169 /checksum/SHA384/57 1501s ok 1170 /checksum/SHA384/58 1501s ok 1171 /checksum/SHA384/59 1501s ok 1172 /checksum/SHA384/60 1501s ok 1173 /checksum/SHA384/61 1501s ok 1174 /checksum/SHA384/62 1501s ok 1175 /checksum/SHA384/63 1501s ok 1176 /checksum/SHA384/64 1501s ok 1177 /checksum/SHA384/65 1501s ok 1178 /checksum/SHA384/66 1501s ok 1179 /checksum/SHA384/67 1501s ok 1180 /checksum/SHA384/68 1501s ok 1181 /checksum/SHA384/69 1501s ok 1182 /checksum/SHA384/70 1501s ok 1183 /checksum/SHA384/71 1501s ok 1184 /checksum/SHA384/72 1501s ok 1185 /checksum/SHA384/73 1501s ok 1186 /checksum/SHA384/74 1501s ok 1187 /checksum/SHA384/75 1501s ok 1188 /checksum/SHA384/76 1501s ok 1189 /checksum/SHA384/77 1501s ok 1190 /checksum/SHA384/78 1501s ok 1191 /checksum/SHA384/79 1501s ok 1192 /checksum/SHA384/80 1501s ok 1193 /checksum/SHA384/81 1501s ok 1194 /checksum/SHA384/82 1501s ok 1195 /checksum/SHA384/83 1501s ok 1196 /checksum/SHA384/84 1501s ok 1197 /checksum/SHA384/85 1501s ok 1198 /checksum/SHA384/86 1501s ok 1199 /checksum/SHA384/87 1501s ok 1200 /checksum/SHA384/88 1501s ok 1201 /checksum/SHA384/89 1501s ok 1202 /checksum/SHA384/90 1501s ok 1203 /checksum/SHA384/91 1501s ok 1204 /checksum/SHA384/92 1501s ok 1205 /checksum/SHA384/93 1501s ok 1206 /checksum/SHA384/94 1501s ok 1207 /checksum/SHA384/95 1501s ok 1208 /checksum/SHA384/96 1501s ok 1209 /checksum/SHA384/97 1501s ok 1210 /checksum/SHA384/98 1501s ok 1211 /checksum/SHA384/99 1501s ok 1212 /checksum/SHA384/100 1501s ok 1213 /checksum/SHA384/101 1501s ok 1214 /checksum/SHA384/102 1501s ok 1215 /checksum/SHA384/103 1501s ok 1216 /checksum/SHA384/104 1501s ok 1217 /checksum/SHA384/105 1501s ok 1218 /checksum/SHA384/106 1501s ok 1219 /checksum/SHA384/107 1501s ok 1220 /checksum/SHA384/108 1501s ok 1221 /checksum/SHA384/109 1501s ok 1222 /checksum/SHA384/110 1501s ok 1223 /checksum/SHA384/111 1501s ok 1224 /checksum/SHA384/112 1501s ok 1225 /checksum/SHA384/113 1501s ok 1226 /checksum/SHA384/114 1501s ok 1227 /checksum/SHA384/115 1501s ok 1228 /checksum/SHA384/116 1501s ok 1229 /checksum/SHA384/117 1501s ok 1230 /checksum/SHA384/118 1501s ok 1231 /checksum/SHA384/119 1501s ok 1232 /checksum/SHA384/120 1501s ok 1233 /checksum/SHA384/121 1501s ok 1234 /checksum/SHA384/122 1501s ok 1235 /checksum/SHA384/123 1501s ok 1236 /checksum/SHA384/124 1501s ok 1237 /checksum/SHA384/125 1501s ok 1238 /checksum/SHA384/126 1501s ok 1239 /checksum/SHA384/127 1501s ok 1240 /checksum/SHA384/128 1501s ok 1241 /checksum/SHA384/129 1501s ok 1242 /checksum/SHA384/130 1501s ok 1243 /checksum/SHA384/131 1501s ok 1244 /checksum/SHA384/132 1501s ok 1245 /checksum/SHA384/133 1501s ok 1246 /checksum/SHA384/134 1501s ok 1247 /checksum/SHA384/135 1501s ok 1248 /checksum/SHA384/136 1501s ok 1249 /checksum/SHA384/137 1501s ok 1250 /checksum/SHA384/138 1501s ok 1251 /checksum/SHA384/139 1501s ok 1252 /checksum/SHA384/140 1501s ok 1253 /checksum/SHA384/141 1501s ok 1254 /checksum/SHA384/142 1501s ok 1255 /checksum/SHA384/143 1501s ok 1256 /checksum/SHA384/144 1501s ok 1257 /checksum/SHA384/145 1501s ok 1258 /checksum/SHA384/146 1501s ok 1259 /checksum/SHA384/147 1501s ok 1260 /checksum/SHA384/148 1501s ok 1261 /checksum/SHA384/149 1501s ok 1262 /checksum/SHA384/150 1501s ok 1263 /checksum/SHA384/151 1501s ok 1264 /checksum/SHA384/152 1501s ok 1265 /checksum/SHA384/153 1501s ok 1266 /checksum/SHA384/154 1501s ok 1267 /checksum/SHA384/155 1501s ok 1268 /checksum/SHA384/156 1501s ok 1269 /checksum/SHA384/157 1501s ok 1270 /checksum/SHA384/158 1501s ok 1271 /checksum/SHA384/159 1501s ok 1272 /checksum/SHA384/160 1501s ok 1273 /checksum/SHA384/161 1501s ok 1274 /checksum/SHA384/162 1501s ok 1275 /checksum/SHA384/163 1501s ok 1276 /checksum/SHA384/164 1501s ok 1277 /checksum/SHA384/165 1501s ok 1278 /checksum/SHA384/166 1501s ok 1279 /checksum/SHA384/167 1501s ok 1280 /checksum/SHA384/168 1501s ok 1281 /checksum/SHA384/169 1501s ok 1282 /checksum/SHA384/170 1501s ok 1283 /checksum/SHA384/171 1501s ok 1284 /checksum/SHA384/172 1501s ok 1285 /checksum/SHA384/173 1501s ok 1286 /checksum/SHA384/174 1501s ok 1287 /checksum/SHA384/175 1501s ok 1288 /checksum/SHA384/176 1501s ok 1289 /checksum/SHA384/177 1501s ok 1290 /checksum/SHA384/178 1501s ok 1291 /checksum/SHA384/179 1501s ok 1292 /checksum/SHA384/180 1501s ok 1293 /checksum/SHA384/181 1501s ok 1294 /checksum/SHA384/182 1501s ok 1295 /checksum/SHA384/183 1501s ok 1296 /checksum/SHA384/string 1501s ok 1297 /checksum/SHA384/bytes 1501s # Start of reset tests 1501s ok 1298 /checksum/SHA384/reset/0 1501s ok 1299 /checksum/SHA384/reset/1 1501s ok 1300 /checksum/SHA384/reset/2 1501s ok 1301 /checksum/SHA384/reset/3 1501s ok 1302 /checksum/SHA384/reset/4 1501s ok 1303 /checksum/SHA384/reset/5 1501s ok 1304 /checksum/SHA384/reset/6 1501s ok 1305 /checksum/SHA384/reset/7 1501s ok 1306 /checksum/SHA384/reset/8 1501s ok 1307 /checksum/SHA384/reset/9 1501s ok 1308 /checksum/SHA384/reset/10 1501s ok 1309 /checksum/SHA384/reset/11 1501s ok 1310 /checksum/SHA384/reset/12 1501s ok 1311 /checksum/SHA384/reset/13 1501s ok 1312 /checksum/SHA384/reset/14 1501s ok 1313 /checksum/SHA384/reset/15 1501s ok 1314 /checksum/SHA384/reset/16 1501s ok 1315 /checksum/SHA384/reset/17 1501s ok 1316 /checksum/SHA384/reset/18 1501s ok 1317 /checksum/SHA384/reset/19 1501s ok 1318 /checksum/SHA384/reset/20 1501s ok 1319 /checksum/SHA384/reset/21 1501s ok 1320 /checksum/SHA384/reset/22 1501s ok 1321 /checksum/SHA384/reset/23 1501s ok 1322 /checksum/SHA384/reset/24 1501s ok 1323 /checksum/SHA384/reset/25 1501s ok 1324 /checksum/SHA384/reset/26 1501s ok 1325 /checksum/SHA384/reset/27 1501s ok 1326 /checksum/SHA384/reset/28 1501s ok 1327 /checksum/SHA384/reset/29 1501s ok 1328 /checksum/SHA384/reset/30 1501s ok 1329 /checksum/SHA384/reset/31 1501s ok 1330 /checksum/SHA384/reset/32 1501s ok 1331 /checksum/SHA384/reset/33 1501s ok 1332 /checksum/SHA384/reset/34 1501s ok 1333 /checksum/SHA384/reset/35 1501s ok 1334 /checksum/SHA384/reset/36 1501s ok 1335 /checksum/SHA384/reset/37 1501s ok 1336 /checksum/SHA384/reset/38 1501s ok 1337 /checksum/SHA384/reset/39 1501s ok 1338 /checksum/SHA384/reset/40 1501s ok 1339 /checksum/SHA384/reset/41 1501s ok 1340 /checksum/SHA384/reset/42 1501s ok 1341 /checksum/SHA384/reset/43 1501s ok 1342 /checksum/SHA384/reset/44 1501s ok 1343 /checksum/SHA384/reset/45 1501s ok 1344 /checksum/SHA384/reset/46 1501s ok 1345 /checksum/SHA384/reset/47 1501s ok 1346 /checksum/SHA384/reset/48 1501s ok 1347 /checksum/SHA384/reset/49 1501s ok 1348 /checksum/SHA384/reset/50 1501s ok 1349 /checksum/SHA384/reset/51 1501s ok 1350 /checksum/SHA384/reset/52 1501s ok 1351 /checksum/SHA384/reset/53 1501s ok 1352 /checksum/SHA384/reset/54 1501s ok 1353 /checksum/SHA384/reset/55 1501s ok 1354 /checksum/SHA384/reset/56 1501s ok 1355 /checksum/SHA384/reset/57 1501s ok 1356 /checksum/SHA384/reset/58 1501s ok 1357 /checksum/SHA384/reset/59 1501s ok 1358 /checksum/SHA384/reset/60 1501s ok 1359 /checksum/SHA384/reset/61 1501s ok 1360 /checksum/SHA384/reset/62 1501s ok 1361 /checksum/SHA384/reset/63 1501s ok 1362 /checksum/SHA384/reset/64 1501s ok 1363 /checksum/SHA384/reset/65 1501s ok 1364 /checksum/SHA384/reset/66 1501s ok 1365 /checksum/SHA384/reset/67 1501s ok 1366 /checksum/SHA384/reset/68 1501s ok 1367 /checksum/SHA384/reset/69 1501s ok 1368 /checksum/SHA384/reset/70 1501s ok 1369 /checksum/SHA384/reset/71 1501s ok 1370 /checksum/SHA384/reset/72 1501s ok 1371 /checksum/SHA384/reset/73 1501s ok 1372 /checksum/SHA384/reset/74 1501s ok 1373 /checksum/SHA384/reset/75 1501s ok 1374 /checksum/SHA384/reset/76 1501s ok 1375 /checksum/SHA384/reset/77 1501s ok 1376 /checksum/SHA384/reset/78 1501s ok 1377 /checksum/SHA384/reset/79 1501s ok 1378 /checksum/SHA384/reset/80 1501s ok 1379 /checksum/SHA384/reset/81 1501s ok 1380 /checksum/SHA384/reset/82 1501s ok 1381 /checksum/SHA384/reset/83 1501s ok 1382 /checksum/SHA384/reset/84 1501s ok 1383 /checksum/SHA384/reset/85 1501s ok 1384 /checksum/SHA384/reset/86 1501s ok 1385 /checksum/SHA384/reset/87 1501s ok 1386 /checksum/SHA384/reset/88 1501s ok 1387 /checksum/SHA384/reset/89 1501s ok 1388 /checksum/SHA384/reset/90 1501s ok 1389 /checksum/SHA384/reset/91 1501s ok 1390 /checksum/SHA384/reset/92 1501s ok 1391 /checksum/SHA384/reset/93 1501s ok 1392 /checksum/SHA384/reset/94 1501s ok 1393 /checksum/SHA384/reset/95 1501s ok 1394 /checksum/SHA384/reset/96 1501s ok 1395 /checksum/SHA384/reset/97 1501s ok 1396 /checksum/SHA384/reset/98 1501s ok 1397 /checksum/SHA384/reset/99 1501s ok 1398 /checksum/SHA384/reset/100 1501s ok 1399 /checksum/SHA384/reset/101 1501s ok 1400 /checksum/SHA384/reset/102 1501s ok 1401 /checksum/SHA384/reset/103 1501s ok 1402 /checksum/SHA384/reset/104 1501s ok 1403 /checksum/SHA384/reset/105 1501s ok 1404 /checksum/SHA384/reset/106 1501s ok 1405 /checksum/SHA384/reset/107 1501s ok 1406 /checksum/SHA384/reset/108 1501s ok 1407 /checksum/SHA384/reset/109 1501s ok 1408 /checksum/SHA384/reset/110 1501s ok 1409 /checksum/SHA384/reset/111 1501s ok 1410 /checksum/SHA384/reset/112 1501s ok 1411 /checksum/SHA384/reset/113 1501s ok 1412 /checksum/SHA384/reset/114 1501s ok 1413 /checksum/SHA384/reset/115 1501s ok 1414 /checksum/SHA384/reset/116 1501s ok 1415 /checksum/SHA384/reset/117 1501s ok 1416 /checksum/SHA384/reset/118 1501s ok 1417 /checksum/SHA384/reset/119 1501s ok 1418 /checksum/SHA384/reset/120 1501s ok 1419 /checksum/SHA384/reset/121 1501s ok 1420 /checksum/SHA384/reset/122 1501s ok 1421 /checksum/SHA384/reset/123 1501s ok 1422 /checksum/SHA384/reset/124 1501s ok 1423 /checksum/SHA384/reset/125 1501s ok 1424 /checksum/SHA384/reset/126 1501s ok 1425 /checksum/SHA384/reset/127 1501s ok 1426 /checksum/SHA384/reset/128 1501s ok 1427 /checksum/SHA384/reset/129 1501s ok 1428 /checksum/SHA384/reset/130 1501s ok 1429 /checksum/SHA384/reset/131 1501s ok 1430 /checksum/SHA384/reset/132 1501s ok 1431 /checksum/SHA384/reset/133 1501s ok 1432 /checksum/SHA384/reset/134 1501s ok 1433 /checksum/SHA384/reset/135 1501s ok 1434 /checksum/SHA384/reset/136 1501s ok 1435 /checksum/SHA384/reset/137 1501s ok 1436 /checksum/SHA384/reset/138 1501s ok 1437 /checksum/SHA384/reset/139 1501s ok 1438 /checksum/SHA384/reset/140 1501s ok 1439 /checksum/SHA384/reset/141 1501s ok 1440 /checksum/SHA384/reset/142 1501s ok 1441 /checksum/SHA384/reset/143 1501s ok 1442 /checksum/SHA384/reset/144 1501s ok 1443 /checksum/SHA384/reset/145 1501s ok 1444 /checksum/SHA384/reset/146 1501s ok 1445 /checksum/SHA384/reset/147 1501s ok 1446 /checksum/SHA384/reset/148 1501s ok 1447 /checksum/SHA384/reset/149 1501s ok 1448 /checksum/SHA384/reset/150 1501s ok 1449 /checksum/SHA384/reset/151 1501s ok 1450 /checksum/SHA384/reset/152 1501s ok 1451 /checksum/SHA384/reset/153 1501s ok 1452 /checksum/SHA384/reset/154 1501s ok 1453 /checksum/SHA384/reset/155 1501s ok 1454 /checksum/SHA384/reset/156 1501s ok 1455 /checksum/SHA384/reset/157 1501s ok 1456 /checksum/SHA384/reset/158 1501s ok 1457 /checksum/SHA384/reset/159 1501s ok 1458 /checksum/SHA384/reset/160 1501s ok 1459 /checksum/SHA384/reset/161 1501s ok 1460 /checksum/SHA384/reset/162 1501s ok 1461 /checksum/SHA384/reset/163 1501s ok 1462 /checksum/SHA384/reset/164 1501s ok 1463 /checksum/SHA384/reset/165 1501s ok 1464 /checksum/SHA384/reset/166 1501s ok 1465 /checksum/SHA384/reset/167 1501s ok 1466 /checksum/SHA384/reset/168 1501s ok 1467 /checksum/SHA384/reset/169 1501s ok 1468 /checksum/SHA384/reset/170 1501s ok 1469 /checksum/SHA384/reset/171 1501s ok 1470 /checksum/SHA384/reset/172 1501s ok 1471 /checksum/SHA384/reset/173 1501s ok 1472 /checksum/SHA384/reset/174 1501s ok 1473 /checksum/SHA384/reset/175 1501s ok 1474 /checksum/SHA384/reset/176 1501s ok 1475 /checksum/SHA384/reset/177 1501s ok 1476 /checksum/SHA384/reset/178 1501s ok 1477 /checksum/SHA384/reset/179 1501s ok 1478 /checksum/SHA384/reset/180 1501s ok 1479 /checksum/SHA384/reset/181 1501s ok 1480 /checksum/SHA384/reset/182 1501s ok 1481 /checksum/SHA384/reset/183 1501s # End of reset tests 1501s # End of SHA384 tests 1501s # Start of SHA512 tests 1501s ok 1482 /checksum/SHA512/0 1501s ok 1483 /checksum/SHA512/1 1501s ok 1484 /checksum/SHA512/2 1501s ok 1485 /checksum/SHA512/3 1501s ok 1486 /checksum/SHA512/4 1501s ok 1487 /checksum/SHA512/5 1501s ok 1488 /checksum/SHA512/6 1501s ok 1489 /checksum/SHA512/7 1501s ok 1490 /checksum/SHA512/8 1501s ok 1491 /checksum/SHA512/9 1501s ok 1492 /checksum/SHA512/10 1501s ok 1493 /checksum/SHA512/11 1501s ok 1494 /checksum/SHA512/12 1501s ok 1495 /checksum/SHA512/13 1501s ok 1496 /checksum/SHA512/14 1501s ok 1497 /checksum/SHA512/15 1501s ok 1498 /checksum/SHA512/16 1501s ok 1499 /checksum/SHA512/17 1501s ok 1500 /checksum/SHA512/18 1501s ok 1501 /checksum/SHA512/19 1501s ok 1502 /checksum/SHA512/20 1501s ok 1503 /checksum/SHA512/21 1501s ok 1504 /checksum/SHA512/22 1501s ok 1505 /checksum/SHA512/23 1501s ok 1506 /checksum/SHA512/24 1501s ok 1507 /checksum/SHA512/25 1501s ok 1508 /checksum/SHA512/26 1501s ok 1509 /checksum/SHA512/27 1501s ok 1510 /checksum/SHA512/28 1501s ok 1511 /checksum/SHA512/29 1501s ok 1512 /checksum/SHA512/30 1501s ok 1513 /checksum/SHA512/31 1501s ok 1514 /checksum/SHA512/32 1501s ok 1515 /checksum/SHA512/33 1501s ok 1516 /checksum/SHA512/34 1501s ok 1517 /checksum/SHA512/35 1501s ok 1518 /checksum/SHA512/36 1501s ok 1519 /checksum/SHA512/37 1501s ok 1520 /checksum/SHA512/38 1501s ok 1521 /checksum/SHA512/39 1501s ok 1522 /checksum/SHA512/40 1501s ok 1523 /checksum/SHA512/41 1501s ok 1524 /checksum/SHA512/42 1501s ok 1525 /checksum/SHA512/43 1501s ok 1526 /checksum/SHA512/44 1501s ok 1527 /checksum/SHA512/45 1501s ok 1528 /checksum/SHA512/46 1501s ok 1529 /checksum/SHA512/47 1501s ok 1530 /checksum/SHA512/48 1501s ok 1531 /checksum/SHA512/49 1501s ok 1532 /checksum/SHA512/50 1501s ok 1533 /checksum/SHA512/51 1501s ok 1534 /checksum/SHA512/52 1501s ok 1535 /checksum/SHA512/53 1501s ok 1536 /checksum/SHA512/54 1501s ok 1537 /checksum/SHA512/55 1501s ok 1538 /checksum/SHA512/56 1501s ok 1539 /checksum/SHA512/57 1501s ok 1540 /checksum/SHA512/58 1501s ok 1541 /checksum/SHA512/59 1501s ok 1542 /checksum/SHA512/60 1501s ok 1543 /checksum/SHA512/61 1501s ok 1544 /checksum/SHA512/62 1501s ok 1545 /checksum/SHA512/63 1501s ok 1546 /checksum/SHA512/64 1501s ok 1547 /checksum/SHA512/65 1501s ok 1548 /checksum/SHA512/66 1501s ok 1549 /checksum/SHA512/67 1501s ok 1550 /checksum/SHA512/68 1501s ok 1551 /checksum/SHA512/69 1501s ok 1552 /checksum/SHA512/70 1501s ok 1553 /checksum/SHA512/71 1501s ok 1554 /checksum/SHA512/72 1501s ok 1555 /checksum/SHA512/73 1501s ok 1556 /checksum/SHA512/74 1501s ok 1557 /checksum/SHA512/75 1501s ok 1558 /checksum/SHA512/76 1501s ok 1559 /checksum/SHA512/77 1501s ok 1560 /checksum/SHA512/78 1501s ok 1561 /checksum/SHA512/79 1501s ok 1562 /checksum/SHA512/80 1501s ok 1563 /checksum/SHA512/81 1501s ok 1564 /checksum/SHA512/82 1501s ok 1565 /checksum/SHA512/83 1501s ok 1566 /checksum/SHA512/84 1501s ok 1567 /checksum/SHA512/85 1501s ok 1568 /checksum/SHA512/86 1501s ok 1569 /checksum/SHA512/87 1501s ok 1570 /checksum/SHA512/88 1501s ok 1571 /checksum/SHA512/89 1501s ok 1572 /checksum/SHA512/90 1501s ok 1573 /checksum/SHA512/91 1501s ok 1574 /checksum/SHA512/92 1501s ok 1575 /checksum/SHA512/93 1501s ok 1576 /checksum/SHA512/94 1501s ok 1577 /checksum/SHA512/95 1501s ok 1578 /checksum/SHA512/96 1501s ok 1579 /checksum/SHA512/97 1501s ok 1580 /checksum/SHA512/98 1501s ok 1581 /checksum/SHA512/99 1501s ok 1582 /checksum/SHA512/100 1501s ok 1583 /checksum/SHA512/101 1501s ok 1584 /checksum/SHA512/102 1501s ok 1585 /checksum/SHA512/103 1501s ok 1586 /checksum/SHA512/104 1501s ok 1587 /checksum/SHA512/105 1501s ok 1588 /checksum/SHA512/106 1501s ok 1589 /checksum/SHA512/107 1501s ok 1590 /checksum/SHA512/108 1501s ok 1591 /checksum/SHA512/109 1501s ok 1592 /checksum/SHA512/110 1501s ok 1593 /checksum/SHA512/111 1501s ok 1594 /checksum/SHA512/112 1501s ok 1595 /checksum/SHA512/113 1501s ok 1596 /checksum/SHA512/114 1501s ok 1597 /checksum/SHA512/115 1501s ok 1598 /checksum/SHA512/116 1501s ok 1599 /checksum/SHA512/117 1501s ok 1600 /checksum/SHA512/118 1501s ok 1601 /checksum/SHA512/119 1501s ok 1602 /checksum/SHA512/120 1501s ok 1603 /checksum/SHA512/121 1501s ok 1604 /checksum/SHA512/122 1501s ok 1605 /checksum/SHA512/123 1501s ok 1606 /checksum/SHA512/124 1501s ok 1607 /checksum/SHA512/125 1501s ok 1608 /checksum/SHA512/126 1501s ok 1609 /checksum/SHA512/127 1501s ok 1610 /checksum/SHA512/128 1501s ok 1611 /checksum/SHA512/129 1501s ok 1612 /checksum/SHA512/130 1501s ok 1613 /checksum/SHA512/131 1501s ok 1614 /checksum/SHA512/132 1501s ok 1615 /checksum/SHA512/133 1501s ok 1616 /checksum/SHA512/134 1501s ok 1617 /checksum/SHA512/135 1501s ok 1618 /checksum/SHA512/136 1501s ok 1619 /checksum/SHA512/137 1501s ok 1620 /checksum/SHA512/138 1501s ok 1621 /checksum/SHA512/139 1501s ok 1622 /checksum/SHA512/140 1501s ok 1623 /checksum/SHA512/141 1501s ok 1624 /checksum/SHA512/142 1501s ok 1625 /checksum/SHA512/143 1501s ok 1626 /checksum/SHA512/144 1501s ok 1627 /checksum/SHA512/145 1501s ok 1628 /checksum/SHA512/146 1501s ok 1629 /checksum/SHA512/147 1501s ok 1630 /checksum/SHA512/148 1501s ok 1631 /checksum/SHA512/149 1501s ok 1632 /checksum/SHA512/150 1501s ok 1633 /checksum/SHA512/151 1501s ok 1634 /checksum/SHA512/152 1501s ok 1635 /checksum/SHA512/153 1501s ok 1636 /checksum/SHA512/154 1501s ok 1637 /checksum/SHA512/155 1501s ok 1638 /checksum/SHA512/156 1501s ok 1639 /checksum/SHA512/157 1501s ok 1640 /checksum/SHA512/158 1501s ok 1641 /checksum/SHA512/159 1501s ok 1642 /checksum/SHA512/160 1501s ok 1643 /checksum/SHA512/161 1501s ok 1644 /checksum/SHA512/162 1501s ok 1645 /checksum/SHA512/163 1501s ok 1646 /checksum/SHA512/164 1501s ok 1647 /checksum/SHA512/165 1501s ok 1648 /checksum/SHA512/166 1501s ok 1649 /checksum/SHA512/167 1501s ok 1650 /checksum/SHA512/168 1501s ok 1651 /checksum/SHA512/169 1501s ok 1652 /checksum/SHA512/170 1501s ok 1653 /checksum/SHA512/171 1501s ok 1654 /checksum/SHA512/172 1501s ok 1655 /checksum/SHA512/173 1501s ok 1656 /checksum/SHA512/174 1501s ok 1657 /checksum/SHA512/175 1501s ok 1658 /checksum/SHA512/176 1501s ok 1659 /checksum/SHA512/177 1501s ok 1660 /checksum/SHA512/178 1501s ok 1661 /checksum/SHA512/179 1501s ok 1662 /checksum/SHA512/180 1501s ok 1663 /checksum/SHA512/181 1501s ok 1664 /checksum/SHA512/182 1501s ok 1665 /checksum/SHA512/183 1501s ok 1666 /checksum/SHA512/string 1501s ok 1667 /checksum/SHA512/bytes 1501s # Start of reset tests 1501s ok 1668 /checksum/SHA512/reset/0 1501s ok 1669 /checksum/SHA512/reset/1 1501s ok 1670 /checksum/SHA512/reset/2 1501s ok 1671 /checksum/SHA512/reset/3 1501s ok 1672 /checksum/SHA512/reset/4 1501s ok 1673 /checksum/SHA512/reset/5 1501s ok 1674 /checksum/SHA512/reset/6 1501s ok 1675 /checksum/SHA512/reset/7 1501s ok 1676 /checksum/SHA512/reset/8 1501s ok 1677 /checksum/SHA512/reset/9 1501s ok 1678 /checksum/SHA512/reset/10 1501s ok 1679 /checksum/SHA512/reset/11 1501s ok 1680 /checksum/SHA512/reset/12 1501s ok 1681 /checksum/SHA512/reset/13 1501s ok 1682 /checksum/SHA512/reset/14 1501s ok 1683 /checksum/SHA512/reset/15 1501s ok 1684 /checksum/SHA512/reset/16 1501s ok 1685 /checksum/SHA512/reset/17 1501s ok 1686 /checksum/SHA512/reset/18 1501s ok 1687 /checksum/SHA512/reset/19 1501s ok 1688 /checksum/SHA512/reset/20 1501s ok 1689 /checksum/SHA512/reset/21 1501s ok 1690 /checksum/SHA512/reset/22 1501s ok 1691 /checksum/SHA512/reset/23 1501s ok 1692 /checksum/SHA512/reset/24 1501s ok 1693 /checksum/SHA512/reset/25 1501s ok 1694 /checksum/SHA512/reset/26 1501s ok 1695 /checksum/SHA512/reset/27 1501s ok 1696 /checksum/SHA512/reset/28 1501s ok 1697 /checksum/SHA512/reset/29 1501s ok 1698 /checksum/SHA512/reset/30 1501s ok 1699 /checksum/SHA512/reset/31 1501s ok 1700 /checksum/SHA512/reset/32 1501s ok 1701 /checksum/SHA512/reset/33 1501s ok 1702 /checksum/SHA512/reset/34 1501s ok 1703 /checksum/SHA512/reset/35 1501s ok 1704 /checksum/SHA512/reset/36 1501s ok 1705 /checksum/SHA512/reset/37 1501s ok 1706 /checksum/SHA512/reset/38 1501s ok 1707 /checksum/SHA512/reset/39 1501s ok 1708 /checksum/SHA512/reset/40 1501s ok 1709 /checksum/SHA512/reset/41 1501s ok 1710 /checksum/SHA512/reset/42 1501s ok 1711 /checksum/SHA512/reset/43 1501s ok 1712 /checksum/SHA512/reset/44 1501s ok 1713 /checksum/SHA512/reset/45 1501s ok 1714 /checksum/SHA512/reset/46 1501s ok 1715 /checksum/SHA512/reset/47 1501s ok 1716 /checksum/SHA512/reset/48 1501s ok 1717 /checksum/SHA512/reset/49 1501s ok 1718 /checksum/SHA512/reset/50 1501s ok 1719 /checksum/SHA512/reset/51 1501s ok 1720 /checksum/SHA512/reset/52 1501s ok 1721 /checksum/SHA512/reset/53 1501s ok 1722 /checksum/SHA512/reset/54 1501s ok 1723 /checksum/SHA512/reset/55 1501s ok 1724 /checksum/SHA512/reset/56 1501s ok 1725 /checksum/SHA512/reset/57 1501s ok 1726 /checksum/SHA512/reset/58 1501s ok 1727 /checksum/SHA512/reset/59 1501s ok 1728 /checksum/SHA512/reset/60 1501s ok 1729 /checksum/SHA512/reset/61 1501s ok 1730 /checksum/SHA512/reset/62 1501s ok 1731 /checksum/SHA512/reset/63 1501s ok 1732 /checksum/SHA512/reset/64 1501s ok 1733 /checksum/SHA512/reset/65 1501s ok 1734 /checksum/SHA512/reset/66 1501s ok 1735 /checksum/SHA512/reset/67 1501s ok 1736 /checksum/SHA512/reset/68 1501s ok 1737 /checksum/SHA512/reset/69 1501s ok 1738 /checksum/SHA512/reset/70 1501s ok 1739 /checksum/SHA512/reset/71 1501s ok 1740 /checksum/SHA512/reset/72 1501s ok 1741 /checksum/SHA512/reset/73 1501s ok 1742 /checksum/SHA512/reset/74 1501s ok 1743 /checksum/SHA512/reset/75 1501s ok 1744 /checksum/SHA512/reset/76 1501s ok 1745 /checksum/SHA512/reset/77 1501s ok 1746 /checksum/SHA512/reset/78 1501s ok 1747 /checksum/SHA512/reset/79 1501s ok 1748 /checksum/SHA512/reset/80 1501s ok 1749 /checksum/SHA512/reset/81 1501s ok 1750 /checksum/SHA512/reset/82 1501s ok 1751 /checksum/SHA512/reset/83 1501s ok 1752 /checksum/SHA512/reset/84 1501s ok 1753 /checksum/SHA512/reset/85 1501s ok 1754 /checksum/SHA512/reset/86 1501s ok 1755 /checksum/SHA512/reset/87 1501s ok 1756 /checksum/SHA512/reset/88 1501s ok 1757 /checksum/SHA512/reset/89 1501s ok 1758 /checksum/SHA512/reset/90 1501s ok 1759 /checksum/SHA512/reset/91 1501s ok 1760 /checksum/SHA512/reset/92 1501s ok 1761 /checksum/SHA512/reset/93 1501s ok 1762 /checksum/SHA512/reset/94 1501s ok 1763 /checksum/SHA512/reset/95 1501s ok 1764 /checksum/SHA512/reset/96 1501s ok 1765 /checksum/SHA512/reset/97 1501s ok 1766 /checksum/SHA512/reset/98 1501s ok 1767 /checksum/SHA512/reset/99 1501s ok 1768 /checksum/SHA512/reset/100 1501s ok 1769 /checksum/SHA512/reset/101 1501s ok 1770 /checksum/SHA512/reset/102 1501s ok 1771 /checksum/SHA512/reset/103 1501s ok 1772 /checksum/SHA512/reset/104 1501s ok 1773 /checksum/SHA512/reset/105 1501s ok 1774 /checksum/SHA512/reset/106 1501s ok 1775 /checksum/SHA512/reset/107 1501s ok 1776 /checksum/SHA512/reset/108 1501s ok 1777 /checksum/SHA512/reset/109 1501s ok 1778 /checksum/SHA512/reset/110 1501s ok 1779 /checksum/SHA512/reset/111 1501s ok 1780 /checksum/SHA512/reset/112 1501s ok 1781 /checksum/SHA512/reset/113 1501s ok 1782 /checksum/SHA512/reset/114 1501s ok 1783 /checksum/SHA512/reset/115 1501s ok 1784 /checksum/SHA512/reset/116 1501s ok 1785 /checksum/SHA512/reset/117 1501s ok 1786 /checksum/SHA512/reset/118 1501s ok 1787 /checksum/SHA512/reset/119 1501s ok 1788 /checksum/SHA512/reset/120 1501s ok 1789 /checksum/SHA512/reset/121 1501s ok 1790 /checksum/SHA512/reset/122 1501s ok 1791 /checksum/SHA512/reset/123 1501s ok 1792 /checksum/SHA512/reset/124 1501s ok 1793 /checksum/SHA512/reset/125 1501s ok 1794 /checksum/SHA512/reset/126 1501s ok 1795 /checksum/SHA512/reset/127 1501s ok 1796 /checksum/SHA512/reset/128 1501s ok 1797 /checksum/SHA512/reset/129 1501s ok 1798 /checksum/SHA512/reset/130 1501s ok 1799 /checksum/SHA512/reset/131 1501s ok 1800 /checksum/SHA512/reset/132 1501s ok 1801 /checksum/SHA512/reset/133 1501s ok 1802 /checksum/SHA512/reset/134 1501s ok 1803 /checksum/SHA512/reset/135 1501s ok 1804 /checksum/SHA512/reset/136 1501s ok 1805 /checksum/SHA512/reset/137 1501s ok 1806 /checksum/SHA512/reset/138 1501s ok 1807 /checksum/SHA512/reset/139 1501s ok 1808 /checksum/SHA512/reset/140 1501s ok 1809 /checksum/SHA512/reset/141 1501s ok 1810 /checksum/SHA512/reset/142 1501s ok 1811 /checksum/SHA512/reset/143 1501s ok 1812 /checksum/SHA512/reset/144 1501s ok 1813 /checksum/SHA512/reset/145 1501s ok 1814 /checksum/SHA512/reset/146 1501s ok 1815 /checksum/SHA512/reset/147 1501s ok 1816 /checksum/SHA512/reset/148 1501s ok 1817 /checksum/SHA512/reset/149 1501s ok 1818 /checksum/SHA512/reset/150 1501s ok 1819 /checksum/SHA512/reset/151 1501s ok 1820 /checksum/SHA512/reset/152 1501s ok 1821 /checksum/SHA512/reset/153 1501s ok 1822 /checksum/SHA512/reset/154 1501s ok 1823 /checksum/SHA512/reset/155 1501s ok 1824 /checksum/SHA512/reset/156 1501s ok 1825 /checksum/SHA512/reset/157 1501s ok 1826 /checksum/SHA512/reset/158 1501s ok 1827 /checksum/SHA512/reset/159 1501s ok 1828 /checksum/SHA512/reset/160 1501s ok 1829 /checksum/SHA512/reset/161 1501s ok 1830 /checksum/SHA512/reset/162 1501s ok 1831 /checksum/SHA512/reset/163 1501s ok 1832 /checksum/SHA512/reset/164 1501s ok 1833 /checksum/SHA512/reset/165 1501s ok 1834 /checksum/SHA512/reset/166 1501s ok 1835 /checksum/SHA512/reset/167 1501s ok 1836 /checksum/SHA512/reset/168 1501s ok 1837 /checksum/SHA512/reset/169 1501s ok 1838 /checksum/SHA512/reset/170 1501s ok 1839 /checksum/SHA512/reset/171 1501s ok 1840 /checksum/SHA512/reset/172 1501s ok 1841 /checksum/SHA512/reset/173 1501s ok 1842 /checksum/SHA512/reset/174 1501s ok 1843 /checksum/SHA512/reset/175 1501s ok 1844 /checksum/SHA512/reset/176 1501s ok 1845 /checksum/SHA512/reset/177 1501s ok 1846 /checksum/SHA512/reset/178 1501s ok 1847 /checksum/SHA512/reset/179 1501s ok 1848 /checksum/SHA512/reset/180 1501s ok 1849 /checksum/SHA512/reset/181 1501s ok 1850 /checksum/SHA512/reset/182 1501s ok 1851 /checksum/SHA512/reset/183 1501s # End of reset tests 1501s # End of SHA512 tests 1501s # End of checksum tests 1501s ok - glib/checksum.test 1501s # Running test: glib/cxx.test 1501s TAP version 13 1501s # random seed: R02Sba936a0932229eb95c3399158d9acb9c 1501s 1..2 1501s # Start of gtask tests 1501s # 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. 1501s ok 1 /gtask/name 1501s # Start of name tests 1501s # 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. 1501s ok 2 /gtask/name/macro-wrapper 1501s # End of name tests 1501s # End of gtask tests 1501s ok - glib/cxx.test 1501s # Running test: glib/g-file.test 1501s TAP version 13 1501s # random seed: R02Secddbadb7b9e40c4ce0190fbf6bd0ca8 1501s 1..8 1501s # Start of g-file tests 1501s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 1501s ok 1 /g-file/test_g_file_new_null 1501s ok 2 /g-file/test_g_file_new_for_path 1501s ok 3 /g-file/test_g_file_new_for_uri 1501s ok 4 /g-file/test_g_file_dup 1501s ok 5 /g-file/test_g_file_get_parse_name_utf8 1501s file:///tmp/test-tmp-glib_g-file.test-8SHUK2 1501s file:///tmp 1501s file:///tmp 1501s file:////UTF-8%20p%C5%99%C3%ADli%C5%A1%20%C5%BElu%C5%A5ou%C4%8Dk%C3%BD%20k%C5%AF%C5%88 1501s file:///UTF-8%20p%C5%99%C3%ADli%C5%A1%20%C5%BElu%C5%A5ou%C4%8Dk%C3%BD%20k%C5%AF%C5%88 1501s ok 6 /g-file/test_g_file_new_for_commandline_arg 1501s /dir1 /dir1/dir2/dir3/ 1501s /dir1/ /dir1/dir2/dir3/ 1501s /dir1 /dir1/dir2/dir3 1501s /dir1/ /dir1/dir2/dir3 1501s /tmp/ /something/ 1501s /dir1/dir2 /dir1/ 1501s //dir1/new //dir1/new/dir2/dir3 1501s /dir/UTF-8 p??li? ?lu?ou?k? k?? /dir/UTF-8 p??li? ?lu?ou?k? k??/dir2 1501s file:///dir1 file:///dir1/dir2/dir3/ 1501s file:///dir1/ file:///dir1/dir2/dir3/ 1501s file:///dir1 file:///dir1/dir2/dir3 1501s file:///dir1/ file:///dir1/dir2/dir3 1501s file:///tmp/ file:///something/ 1501s file:///dir1/dir2 file:///dir1/ 1501s file:////dir1/new file:////dir1/new/dir2/dir3 1501s 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 1501s ok 7 /g-file/test_g_file_has_prefix 1501s ok 8 /g-file/test_g_file_get_parent_child 1501s # End of g-file tests 1501s ok - glib/g-file.test 1501s # Running test: glib/portal-support-env-var.test 1501s TAP version 13 1501s # random seed: R02Sde3809b529e22a0dc77ba114e9e58db1 1501s 1..1 1501s # Start of portal-support tests 1501s ok 1 /portal-support/env-var 1501s # End of portal-support tests 1501s ok - glib/portal-support-env-var.test 1501s # Running test: glib/portal-support-none.test 1501s TAP version 13 1501s # random seed: R02S8e69867fccee9ed19e4f1c5a483139d9 1501s 1..1 1501s # Start of portal-support tests 1501s ok 1 /portal-support/none 1501s # End of portal-support tests 1501s ok - glib/portal-support-none.test 1501s # Running test: glib/atomic-c-99.test 1501s TAP version 13 1501s # random seed: R02S2bcf86fcb438f22e54fb11ae777919a3 1501s 1..2 1501s # Start of atomic tests 1501s ok 1 /atomic/types 1501s ok 2 /atomic/threaded 1501s # End of atomic tests 1501s ok - glib/atomic-c-99.test 1501s # Running test: glib/cxx-11.test 1501s TAP version 13 1501s # random seed: R02S53aeeb89ba4a782d744662c32895e967 1501s 1..2 1501s # Start of gtask tests 1501s # 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. 1501s ok 1 /gtask/name 1501s # Start of name tests 1501s # 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. 1501s ok 2 /gtask/name/macro-wrapper 1501s # End of name tests 1501s # End of gtask tests 1501s ok - glib/cxx-11.test 1501s # Running test: glib/asyncqueue.test 1501s TAP version 13 1501s # random seed: R02Sc057861fde58080ffd20b08e17e2fcd7 1501s 1..7 1501s # Start of asyncqueue tests 1501s ok 1 /asyncqueue/basics 1501s ok 2 /asyncqueue/sort 1501s ok 3 /asyncqueue/destroy 1501s ok 4 /asyncqueue/threads 1501s ok 5 /asyncqueue/timed 1501s ok 6 /asyncqueue/remove 1501s ok 7 /asyncqueue/push_front 1501s # End of asyncqueue tests 1501s ok - glib/asyncqueue.test 1501s # Running test: glib/macros-c-17.test 1501s TAP version 13 1501s # random seed: R02S68bd83b6677f49196db766c0559f3d66 1501s 1..4 1501s # Start of C tests 1501s ok 1 /C/standard-17 1501s # End of C tests 1501s # Start of alignof tests 1501s ok 2 /alignof/fallback 1501s # End of alignof tests 1501s # Start of assert tests 1501s ok 3 /assert/static 1501s # End of assert tests 1501s # Start of struct tests 1501s ok 4 /struct/sizeof_member 1501s # End of struct tests 1501s ok - glib/macros-c-17.test 1501s # Running test: glib/fileattributematcher.test 1501s TAP version 13 1501s # random seed: R02S58ff637128c9052fbb6006024ea57ac1 1501s 1..3 1501s # Start of fileattributematcher tests 1501s ok 1 /fileattributematcher/exact 1501s ok 2 /fileattributematcher/equality 1501s ok 3 /fileattributematcher/subtract 1501s # End of fileattributematcher tests 1501s ok - glib/fileattributematcher.test 1501s # Running test: glib/markup-collect.test 1501s TAP version 13 1501s # random seed: R02S38a18a2ef6242d67cce2a0fc74fd6943 1501s 1..21 1501s # Start of markup tests 1501s # Start of collect tests 1501s ok 1 /markup/collect/0 1501s ok 2 /markup/collect/1 1501s ok 3 /markup/collect/2 1501s ok 4 /markup/collect/3 1501s ok 5 /markup/collect/4 1501s ok 6 /markup/collect/5 1501s ok 7 /markup/collect/6 1501s ok 8 /markup/collect/7 1501s ok 9 /markup/collect/8 1501s ok 10 /markup/collect/9 1501s ok 11 /markup/collect/10 1501s ok 12 /markup/collect/11 1501s ok 13 /markup/collect/12 1501s ok 14 /markup/collect/13 1501s ok 15 /markup/collect/14 1501s ok 16 /markup/collect/15 1501s ok 17 /markup/collect/16 1501s ok 18 /markup/collect/17 1501s ok 19 /markup/collect/18 1501s ok 20 /markup/collect/19 1501s ok 21 /markup/collect/cleanup 1501s # End of collect tests 1501s # End of markup tests 1501s ok - glib/markup-collect.test 1501s # Running test: glib/references.test 1501s TAP version 13 1501s # random seed: R02S66bce6400f5489e199d664d8caff8619 1501s 1..1 1501s # Start of gobject tests 1501s ok 1 /gobject/references 1501s # End of gobject tests 1501s ok - glib/references.test 1501s # Running test: glib/atomic.test 1501s TAP version 13 1501s # random seed: R02S3880a5845f8b8d4d67a6da611255e81a 1501s 1..2 1501s # Start of atomic tests 1501s ok 1 /atomic/types 1502s ok 2 /atomic/threaded 1502s # End of atomic tests 1502s ok - glib/atomic.test 1502s # Running test: glib/strvbuilder.test 1502s TAP version 13 1502s # random seed: R02S3e79bb72a054e0c510cf55688b65ba31 1502s 1..6 1502s # Start of strvbuilder tests 1502s ok 1 /strvbuilder/empty 1502s ok 2 /strvbuilder/add 1502s ok 3 /strvbuilder/addv 1502s ok 4 /strvbuilder/add_many 1502s ok 5 /strvbuilder/take 1502s ok 6 /strvbuilder/ref 1502s # End of strvbuilder tests 1502s ok - glib/strvbuilder.test 1502s # Running test: glib/gdbus-bz627724.test 1502s TAP version 13 1502s # random seed: R02S4d17ca8d1ce168208327a824b965b9cd 1502s 1..1 1502s # Start of gdbus tests 1502s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-bz627724_3UI0K2/gdbus/bz627724/.dirs/home 1502s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-bz627724_3UI0K2/gdbus/bz627724/.dirs/cache 1502s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-bz627724_3UI0K2/gdbus/bz627724/.dirs/system-config1:/tmp/test_gdbus-bz627724_3UI0K2/gdbus/bz627724/.dirs/system-config2 1502s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-bz627724_3UI0K2/gdbus/bz627724/.dirs/config 1502s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-bz627724_3UI0K2/gdbus/bz627724/.dirs/system-data1:/tmp/test_gdbus-bz627724_3UI0K2/gdbus/bz627724/.dirs/system-data2 1502s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-bz627724_3UI0K2/gdbus/bz627724/.dirs/data 1502s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-bz627724_3UI0K2/gdbus/bz627724/.dirs/state 1502s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-bz627724_3UI0K2/gdbus/bz627724/.dirs/runtime 1502s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1502s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1502s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1502s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1502s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1502s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1502s ok 1 /gdbus/bz627724 1502s # End of gdbus tests 1502s ok - glib/gdbus-bz627724.test 1502s # Running test: glib/tree.test 1502s TAP version 13 1502s # random seed: R02S8110edcb7f7d3212f7898a976339f7a9 1502s 1..7 1502s # Start of tree tests 1502s ok 1 /tree/search 1502s ok 2 /tree/remove 1502s ok 3 /tree/destroy 1502s ok 4 /tree/traverse 1502s ok 5 /tree/insert 1502s ok 6 /tree/bounds 1502s ok 7 /tree/remove-all 1502s # End of tree tests 1502s ok - glib/tree.test 1502s # Running test: glib/network-monitor-race.test 1502s TAP version 13 1502s # random seed: R02S7efd5c07fbcea64b101122fb42068549 1502s 1..1 1502s # Start of network-monitor tests 1502s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=793727 1502s # Executing: glib/network-monitor-race.test 1504s ok 1 /network-monitor/create-in-thread 1504s # slow test /network-monitor/create-in-thread executed in 2.13 secs 1504s # End of network-monitor tests 1504s ok - glib/network-monitor-race.test 1504s # Running test: glib/mappedfile.test 1504s TAP version 13 1504s # random seed: R02Sc54c267a8c79606b414a5231a53768e3 1504s 1..7 1504s # Start of mappedfile tests 1504s ok 1 /mappedfile/basic 1504s ok 2 /mappedfile/empty 1504s ok 3 /mappedfile/device 1504s ok 4 /mappedfile/nonexisting 1504s ok 5 /mappedfile/writable 1504s ok 6 /mappedfile/writable_fd 1504s ok 7 /mappedfile/gbytes 1504s # End of mappedfile tests 1504s ok - glib/mappedfile.test 1504s # Running test: glib/keyfile.test 1504s TAP version 13 1504s # random seed: R02S6aec5699971a11dd25f1b51d9626d26f 1504s 1..36 1504s # Start of keyfile tests 1504s ok 1 /keyfile/line-ends 1504s ok 2 /keyfile/whitespace 1504s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3047 1504s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/104 1504s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3047 1504s ok 3 /keyfile/comments 1504s ok 4 /keyfile/listing 1504s ok 5 /keyfile/string 1504s ok 6 /keyfile/boolean 1504s ok 7 /keyfile/number 1504s ok 8 /keyfile/locale-string 1504s ok 9 /keyfile/lists 1504s ok 10 /keyfile/lists-set-get 1504s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=165887 1504s ok 11 /keyfile/group-remove 1504s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=165980 1504s ok 12 /keyfile/key-remove 1504s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=316309 1504s ok 13 /keyfile/groups 1504s ok 14 /keyfile/duplicate-keys 1504s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=157877 1504s ok 15 /keyfile/duplicate-groups 1504s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=385910 1504s ok 16 /keyfile/duplicate-groups2 1504s ok 17 /keyfile/group-names 1504s ok 18 /keyfile/key-names 1504s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=420686 1504s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2927 1504s ok 19 /keyfile/reload 1504s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=614864 1504s ok 20 /keyfile/int64 1504s ok 21 /keyfile/load 1504s ok 22 /keyfile/save 1504s ok 23 /keyfile/load-fail 1504s ok 24 /keyfile/non-utf8 1504s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=640695 1504s ok 25 /keyfile/page-boundary 1504s ok 26 /keyfile/ref 1504s ok 27 /keyfile/replace-value 1504s ok 28 /keyfile/list-separator 1504s ok 29 /keyfile/empty-string 1504s ok 30 /keyfile/limbo 1504s # Testing invalid encoding ?non-UTF-8 1504s # Testing invalid encoding ?UTF? 1504s # Testing invalid encoding ?UTF-9? 1504s ok 31 /keyfile/utf8 1504s ok 32 /keyfile/roundtrip 1504s ok 33 /keyfile/bytes 1504s ok 34 /keyfile/get-locale 1504s ok 35 /keyfile/free-when-not-last-ref 1504s # Start of locale-string tests 1504s # /keyfile/locale-string/multiple-loads summary: Check that loading with translations multiple times works 1504s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2361 1504s ok 36 /keyfile/locale-string/multiple-loads 1504s # End of locale-string tests 1504s # End of keyfile tests 1504s ok - glib/keyfile.test 1504s # Running test: glib/override.test 1504s TAP version 13 1504s # random seed: R02S96ea489a78ea0d77d136046317e419e2 1504s 1..1 1504s # Start of gobject tests 1504s # *** emitting foo on a TestA instance 1504s # Expecting: TestA::foo,TestI::foo 1504s # Got: TestA::foo,TestI::foo 1504s # *** emitting bar on a TestA instance 1504s # Expecting: TestA::bar 1504s # Got: TestA::bar 1504s # *** emitting baz on a TestA instance 1504s # Expecting: TestA::baz 1504s # Got: TestA::baz 1504s # *** emitting foo on a TestB instance 1504s # Expecting: TestB::foo,TestA::foo,TestI::foo 1504s # Got: TestB::foo,TestA::foo,TestI::foo 1504s # *** emitting bar on a TestB instance 1504s # Expecting: TestB::bar,TestA::bar 1504s # Got: TestB::bar,TestA::bar 1504s # *** emitting baz on a TestB instance 1504s # Expecting: TestB::baz,TestA::baz 1504s # Got: TestB::baz,TestA::baz 1504s # *** emitting foo on a TestC instance 1504s # Expecting: TestC::foo,TestB::foo,TestA::foo,TestI::foo 1504s # Got: TestC::foo,TestB::foo,TestA::foo,TestI::foo 1504s # *** emitting bar on a TestC instance 1504s # Expecting: TestC::bar,TestB::bar,TestA::bar 1504s # Got: TestC::bar,TestB::bar,TestA::bar 1504s # *** emitting baz on a TestC instance 1504s # Expecting: TestC::baz,TestB::baz,TestA::baz 1504s # Got: TestC::baz,TestB::baz,TestA::baz 1504s ok 1 /gobject/override 1504s # End of gobject tests 1504s ok - glib/override.test 1504s # Running test: glib/guuid.test 1504s TAP version 13 1504s # random seed: R02S81c1f570f09bfa0140527f73a112b733 1504s 1..2 1504s # Start of uuid tests 1504s ok 1 /uuid/string 1504s ok 2 /uuid/random 1504s # End of uuid tests 1504s ok - glib/guuid.test 1504s # Running test: glib/objects-refcount2.test 1504s TAP version 13 1504s # random seed: R02Sc53271f24947576bcec148eb67babf10 1504s 1..1 1504s # Start of gobject tests 1504s # Start of refcount tests 1504s # init 0x2aa2d4e1610 1504s # 1504s # . 1504s # . 1504s # . 1504s # . 1504s # . 1504s # . 1504s # . 1504s # . 1504s # . 1504s # . 1504s # . 1504s # . 1504s # . 1504s # . 1504s # . 1504s # . 1504s # . 1504s # . 1504s # . 1504s # . 1504s # . 1504s # . 1504s # . 1504s # . 1504s # . 1504s # . 1504s # . 1504s # . 1504s # . 1504s # . 1504s # . 1504s # . 1504s # . 1504s # . 1504s # . 1504s # . 1504s # . 1504s # . 1504s # . 1504s # . 1504s # . 1504s # . 1504s # . 1504s # . 1504s # . 1504s # . 1504s # . 1504s # . 1504s # . 1504s # . 1504s # . 1504s # . 1504s # . 1504s # . 1504s # . 1504s # . 1504s # . 1504s # . 1504s # . 1504s # . 1504s # . 1504s # . 1504s # . 1504s # . 1504s # . 1504s # . 1504s # . 1504s # . 1504s # . 1504s # . 1504s # . 1504s # . 1504s # . 1504s # . 1504s # . 1504s # . 1504s # . 1504s # . 1504s # . 1504s # . 1504s # . 1504s # . 1504s # . 1504s # . 1504s # . 1504s # . 1504s # . 1504s # . 1504s # . 1504s # . 1504s # . 1504s # . 1504s # . 1504s # . 1504s # . 1504s # . 1504s # . 1504s # . 1504s # . 1504s # . 1504s # . 1504s # . 1504s # . 1504s # . 1504s # . 1504s # . 1504s # . 1504s # . 1504s # . 1504s # . 1504s # . 1504s # . 1504s # . 1504s # . 1504s # . 1504s # . 1504s # . 1504s # . 1504s # . 1504s # . 1504s # . 1504s # . 1504s # . 1504s # . 1504s # . 1504s # . 1504s # . 1504s # . 1504s # . 1504s # . 1504s # . 1504s # . 1504s # . 1504s # . 1504s # . 1504s # . 1504s # . 1504s # . 1505s # . 1505s # . 1505s # . 1505s # . 1505s # . 1505s # . 1505s # . 1505s # . 1505s # . 1505s # . 1505s # . 1505s # . 1505s # . 1505s # . 1505s # . 1505s # . 1505s # . 1505s # . 1505s # . 1505s # . 1505s # . 1505s # . 1505s # . 1505s # . 1505s # . 1505s # . 1505s # . 1505s # . 1505s # . 1505s # . 1505s # . 1505s # . 1505s # . 1505s # . 1505s # . 1505s # . 1505s # . 1505s # . 1505s # . 1505s # . 1505s # . 1505s # . 1505s # . 1505s # . 1505s # . 1505s # . 1505s # . 1505s # . 1505s # . 1505s # . 1505s # . 1505s # . 1505s # . 1505s # . 1505s # . 1505s # . 1505s # . 1505s # . 1505s # . 1505s # . 1505s # . 1505s # . 1505s # . 1505s # . 1505s # . 1505s # . 1505s # . 1505s # . 1505s # . 1505s # . 1505s # . 1505s # . 1505s # . 1505s # . 1505s # . 1505s # . 1505s # . 1505s # . 1505s # . 1505s # . 1505s # . 1505s # . 1505s # . 1505s # . 1505s # . 1505s # . 1505s # . 1505s # . 1505s # . 1505s # . 1505s # . 1505s # . 1505s # . 1505s # . 1505s # . 1505s # . 1505s # . 1505s # . 1505s # . 1505s # . 1505s # . 1505s # . 1505s # . 1505s # . 1505s # . 1505s # . 1505s # . 1505s # . 1505s # . 1505s # . 1505s # . 1505s # . 1505s # . 1505s # . 1505s # . 1505s # . 1505s # . 1505s # . 1505s # . 1505s # . 1505s # . 1505s # . 1505s # . 1505s # . 1505s # . 1505s # . 1505s # . 1505s # . 1505s # . 1505s # . 1505s # . 1505s # . 1505s # . 1505s # . 1505s # . 1505s # . 1505s # . 1505s # . 1505s # . 1505s # . 1505s # . 1505s # . 1505s # . 1505s # . 1505s # . 1505s # . 1505s # . 1505s # . 1505s # . 1505s # . 1505s # . 1505s # . 1505s # . 1505s # . 1505s # . 1505s # . 1505s # . 1505s # . 1505s # . 1505s # . 1505s # . 1505s # . 1505s # . 1505s # . 1505s # . 1505s # . 1505s # . 1505s # . 1505s # . 1505s # . 1505s # . 1505s # . 1505s # . 1505s # . 1505s # . 1505s # . 1505s # . 1505s # . 1505s # . 1505s # . 1505s # . 1505s # . 1505s # . 1505s # . 1505s # . 1505s # . 1505s # . 1505s # . 1505s # . 1505s # . 1505s # . 1506s # . 1506s # . 1506s # . 1506s # . 1506s # . 1506s # . 1506s # . 1506s # . 1506s # . 1506s # . 1506s # . 1506s # . 1506s # . 1506s # . 1506s # . 1506s # . 1506s # . 1506s # . 1506s # . 1506s # . 1506s # . 1506s # . 1506s # . 1506s # . 1506s # . 1506s # . 1506s # . 1506s # . 1506s # . 1506s # . 1506s # . 1506s # . 1506s # . 1506s # . 1506s # . 1506s # . 1506s # . 1506s # . 1506s # . 1506s # . 1506s # . 1506s # . 1506s # . 1506s # . 1506s # . 1506s # . 1506s # . 1506s # . 1506s # . 1506s # . 1506s # . 1506s # . 1506s # . 1506s # . 1506s # . 1506s # . 1506s # . 1506s # . 1506s # . 1506s # . 1506s # . 1506s # . 1506s # . 1506s # . 1506s # . 1506s # . 1506s # . 1506s # . 1506s # . 1506s # . 1506s # . 1506s # . 1506s # . 1506s # . 1506s # . 1506s # . 1506s # . 1506s # . 1506s # . 1506s # . 1506s # . 1506s # . 1506s # . 1506s # . 1506s # . 1506s # . 1506s # . 1506s # . 1506s # . 1506s # . 1506s # . 1506s # . 1506s # . 1506s # . 1506s # . 1506s # . 1506s # . 1506s # . 1506s # . 1506s # . 1506s # . 1506s # . 1506s # . 1506s # . 1506s # . 1506s # . 1506s # . 1506s # . 1506s # . 1506s # . 1506s # . 1506s # . 1506s # . 1506s # . 1506s # . 1506s # . 1506s # . 1506s # . 1506s # . 1506s # . 1506s # . 1506s # . 1506s # . 1506s # . 1506s # . 1506s # . 1506s # . 1506s # . 1506s # . 1506s # . 1506s # . 1506s # . 1506s # . 1506s # . 1506s # . 1506s # . 1506s # . 1506s # . 1506s # . 1506s # . 1506s # . 1506s # . 1506s # . 1506s # . 1506s # . 1506s # . 1506s # . 1506s # . 1506s # . 1506s # . 1506s # . 1506s # . 1506s # . 1506s # . 1506s # . 1506s # . 1506s # . 1506s # . 1506s # . 1506s # . 1506s # . 1506s # . 1506s # . 1506s # . 1506s # . 1506s # . 1506s # . 1506s # . 1506s # . 1506s # . 1506s # . 1506s # . 1506s # . 1506s # . 1506s # . 1506s # . 1506s # . 1506s # . 1506s # . 1506s # . 1506s # . 1506s # . 1506s # . 1506s # . 1506s # . 1506s # . 1506s # . 1506s # . 1506s # . 1506s # . 1506s # . 1506s # . 1506s # . 1506s # . 1506s # . 1507s # . 1507s # . 1507s # . 1507s # . 1507s # . 1507s # . 1507s # . 1507s # . 1507s # . 1507s # . 1507s # . 1507s # . 1507s # . 1507s # . 1507s # . 1507s # . 1507s # . 1507s # . 1507s # . 1507s # . 1507s # . 1507s # . 1507s # . 1507s # . 1507s # . 1507s # . 1507s # . 1507s # . 1507s # . 1507s # . 1507s # . 1507s # . 1507s # . 1507s # . 1507s # . 1507s # . 1507s # . 1507s # . 1507s # . 1507s # . 1507s # . 1507s # . 1507s # . 1507s # . 1507s # . 1507s # . 1507s # . 1507s # . 1507s # . 1507s # . 1507s # . 1507s # . 1507s # . 1507s # . 1507s # . 1507s # . 1507s # . 1507s # . 1507s # . 1507s # . 1507s # . 1507s # . 1507s # . 1507s # . 1507s # . 1507s # Executing: glib/objects-refcount2.test 1507s # . 1507s # . 1507s # . 1507s # . 1507s # . 1507s # . 1507s # . 1507s # . 1507s # . 1507s # . 1507s # . 1507s # . 1507s # . 1507s # . 1507s # . 1507s # . 1507s # . 1507s # . 1507s # . 1507s # . 1507s # . 1507s # . 1507s # . 1507s # . 1507s # . 1507s # . 1507s # . 1507s # . 1507s # . 1507s # . 1507s # . 1507s # . 1507s # . 1507s # . 1507s # . 1507s # . 1507s # . 1507s # . 1507s # . 1507s # . 1507s # . 1507s # . 1507s # . 1507s # . 1507s # . 1507s # . 1507s # . 1507s # . 1507s # . 1507s # . 1507s # . 1507s # . 1507s # . 1507s # . 1507s # . 1507s # . 1507s # . 1507s # . 1507s # . 1507s # . 1507s # . 1507s # . 1507s # . 1507s # . 1507s # . 1507s # . 1507s # . 1507s # . 1507s # . 1507s # . 1507s # . 1507s # . 1507s # . 1507s # . 1507s # . 1507s # . 1507s # . 1507s # . 1507s # . 1507s # . 1507s # . 1507s # . 1507s # . 1507s # . 1507s # . 1507s # . 1507s # . 1507s # . 1507s # . 1507s # . 1507s # . 1507s # . 1507s # . 1507s # . 1507s # . 1507s # . 1507s # . 1507s # . 1507s # . 1507s # . 1507s # . 1507s # . 1507s # . 1507s # . 1507s # . 1507s # . 1507s # . 1507s # . 1508s # . 1508s # . 1508s # . 1508s # . 1508s # . 1508s # . 1508s # . 1508s # . 1508s # . 1508s # . 1508s # . 1508s # . 1508s # . 1508s # . 1508s # . 1508s # . 1508s # . 1508s # . 1508s # . 1508s # . 1508s # . 1508s # . 1508s # . 1508s # . 1508s # . 1508s # . 1508s # . 1508s # . 1508s # . 1508s # . 1508s # . 1508s # . 1508s # . 1508s # . 1508s # . 1508s # . 1508s # . 1508s # . 1508s # . 1508s # . 1508s # . 1508s # . 1508s # . 1508s # . 1508s # . 1508s # . 1508s # . 1508s # . 1508s # . 1508s # . 1508s # . 1508s # . 1508s # . 1508s # . 1508s # . 1508s # . 1508s # . 1508s # . 1508s # . 1508s # . 1508s # . 1508s # . 1508s # . 1508s # . 1508s # . 1508s # . 1508s # . 1508s # . 1508s # . 1508s # . 1508s # . 1508s # . 1508s # . 1508s # . 1508s # . 1508s # . 1508s # . 1508s # . 1508s # . 1508s # . 1508s # . 1508s # . 1508s # . 1508s # . 1508s # . 1508s # . 1508s # . 1508s # . 1508s # . 1508s # . 1508s # . 1508s # . 1508s # . 1508s # . 1508s # . 1508s # . 1508s # . 1508s # . 1508s # . 1508s # . 1508s # . 1508s # . 1508s # . 1508s # . 1508s # . 1508s # . 1508s # . 1508s # . 1508s # . 1508s # . 1508s # . 1508s # . 1508s # . 1508s # . 1508s # . 1508s # . 1508s # . 1508s # . 1508s # . 1508s # . 1508s # . 1508s # . 1508s # . 1508s # . 1508s # . 1508s # . 1508s # . 1508s # . 1508s # . 1508s # . 1508s # . 1508s # . 1508s # . 1508s # . 1508s # . 1508s # . 1508s # . 1508s # . 1508s # . 1508s # . 1508s # . 1508s # . 1508s # . 1508s # . 1508s # . 1508s # . 1508s # . 1508s # . 1508s # . 1508s # . 1508s # . 1508s # . 1508s # . 1508s # . 1508s # . 1508s # . 1508s # . 1508s # . 1508s # . 1508s # . 1508s # . 1508s # . 1508s # . 1508s # . 1508s # . 1508s # . 1508s # . 1508s # . 1508s # . 1508s # . 1508s # . 1508s # . 1508s # . 1508s # . 1508s # . 1508s # . 1508s # . 1508s # . 1508s # . 1508s # . 1508s # . 1508s # . 1508s # . 1508s # . 1508s # . 1508s # . 1508s # . 1508s # . 1508s # . 1508s # . 1508s # . 1508s # . 1508s # . 1508s # . 1508s # . 1508s # . 1508s # . 1508s # . 1508s # . 1508s # . 1508s # . 1508s # . 1508s # . 1508s # . 1508s # . 1508s # . 1508s # . 1508s # . 1508s # . 1508s # . 1508s # . 1508s # . 1508s # . 1509s # . 1509s # . 1509s # . 1509s # . 1509s # . 1509s # . 1509s # . 1509s # . 1509s # . 1509s # . 1509s # . 1509s # . 1509s # . 1509s # . 1509s # . 1509s # . 1509s # . 1509s # . 1509s # . 1509s # . 1509s # . 1509s # . 1509s # . 1509s # . 1509s # . 1509s # . 1509s # . 1509s # . 1509s # . 1509s # . 1509s # . 1509s # . 1509s # . 1509s # . 1509s # . 1509s # . 1509s # . 1509s # . 1509s # . 1509s # . 1509s # . 1509s # . 1509s # . 1509s # . 1509s # . 1509s # . 1509s # . 1509s # . 1509s # . 1509s # . 1509s # . 1509s # . 1509s # . 1509s # . 1509s # . 1509s # . 1509s # . 1509s # . 1509s # . 1509s # . 1509s # . 1509s # . 1509s # . 1509s # . 1509s # . 1509s # . 1509s # . 1509s # . 1509s # . 1509s # . 1509s # . 1509s # . 1509s # . 1509s # . 1509s # . 1509s # . 1509s # . 1509s # . 1509s # . 1509s # . 1509s # . 1509s # . 1509s # . 1509s # . 1509s # . 1509s # . 1509s # . 1509s # . 1509s # . 1509s # . 1509s # dispose 0x2aa2d4e1610! 1509s # 1509s ok 1 /gobject/refcount/object-advanced 1509s # slow test /gobject/refcount/object-advanced executed in 5.33 secs 1509s # End of refcount tests 1509s # End of gobject tests 1509s ok - glib/objects-refcount2.test 1509s # Running test: glib/actions.test 1509s TAP version 13 1509s # random seed: R02S7f3d307afa966ea78c8de971abdd80dc 1509s 1..12 1509s # Start of actions tests 1509s ok 1 /actions/basic 1509s ok 2 /actions/name 1509s ok 3 /actions/simplegroup 1509s ok 4 /actions/stateful 1509s ok 5 /actions/default-activate 1509s ok 6 /actions/entries 1509s ok 7 /actions/parse-detailed 1509s ok 8 /actions/property 1509s ok 9 /actions/no-properties 1509s # Start of dbus tests 1509s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1509s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1509s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1509s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1509s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1509s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1509s ok 10 /actions/dbus/export 1509s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1509s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1509s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1509s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1509s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1509s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1509s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1510s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1510s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1510s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1510s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1510s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1510s ok 11 /actions/dbus/threaded 1510s # slow test /actions/dbus/threaded executed in 1.00 secs 1510s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1510s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1510s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1510s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1510s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1510s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1510s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1510s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1510s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1510s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1510s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1510s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1510s ok 12 /actions/dbus/bug679509 1510s # End of dbus tests 1510s # End of actions tests 1510s ok - glib/actions.test 1510s # Running test: glib/spawn-singlethread.test 1510s TAP version 13 1510s # random seed: R02S12397de63c2d4117552acc29d529d69b 1510s 1..9 1510s # Start of gthread tests 1510s ok 1 /gthread/spawn-single-sync 1510s # /gthread/spawn-stderr-socket summary: Test calling g_spawn_sync() with its stderr FD set to a socket 1510s ok 2 /gthread/spawn-stderr-socket 1510s ok 3 /gthread/spawn-single-async 1510s # thread 1 1510s # thread 1 1510s ok 4 /gthread/spawn-single-async-with-fds 1510s ok 5 /gthread/spawn-async-with-invalid-fds 1510s ok 6 /gthread/spawn-script 1510s ok 7 /gthread/spawn-posix-spawn 1510s # Start of spawn tests 1510s ok 8 /gthread/spawn/nonexistent 1510s # FD map: 1510s # • 5 → 15 1510s # • 6 → 16 1510s # • 7 → 17 1510s # • 8 → 18 1510s # • 9 → 19 1510s # • 10 → 20 1510s # • 11 → 21 1510s # • 12 → 22 1510s # • 13 → 23 1510s # • 3 → 13 1510s ok 9 /gthread/spawn/fd-assignment-clash 1510s # End of spawn tests 1510s # End of gthread tests 1510s ok - glib/spawn-singlethread.test 1510s # Running test: glib/rand.test 1510s TAP version 13 1510s # random seed: R02Sc6b9ac81974a11e2864e808c883c66b2 1510s 1..2 1510s # Start of rand tests 1510s ok 1 /rand/test-rand 1510s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=502560 1510s ok 2 /rand/double-range 1510s # End of rand tests 1510s ok - glib/rand.test 1510s # Running test: glib/deprecated-properties.test 1510s TAP version 13 1510s # random seed: R02S987ced27ff6f1e9b49c027223d9eaa0e 1510s 1..3 1510s # Start of deprecated-properties tests 1510s ok 1 /deprecated-properties/construct 1510s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2748 1510s ok 2 /deprecated-properties/default-construct 1510s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2748 1510s ok 3 /deprecated-properties/set 1510s # End of deprecated-properties tests 1510s ok - glib/deprecated-properties.test 1510s # Running test: glib/hostutils.test 1510s TAP version 13 1510s # random seed: R02Sf73064e152d5d627a2b3a19d685251ac 1510s 1..3 1510s # Start of hostutils tests 1510s ok 1 /hostutils/to_ascii 1510s ok 2 /hostutils/to_unicode 1510s ok 3 /hostutils/is_ip_addr 1510s # End of hostutils tests 1510s ok - glib/hostutils.test 1510s # Running test: glib/stream-rw_all.test 1510s TAP version 13 1510s # random seed: R02S357a50ab9c5c487b790a37bad5c97a6e 1510s 1..3 1510s # Start of stream tests 1510s # Start of read_all_async tests 1510s ok 1 /stream/read_all_async/memory 1510s # End of read_all_async tests 1510s # Start of write_all_async tests 1510s ok 2 /stream/write_all_async/memory 1510s # End of write_all_async tests 1510s # Start of read_write_all_async tests 1510s ok 3 /stream/read_write_all_async/pipe 1510s # End of read_write_all_async tests 1510s # End of stream tests 1510s ok - glib/stream-rw_all.test 1510s # Running test: glib/slist.test 1510s TAP version 13 1510s # random seed: R02S34df5ad7cc824fd65368ae05a9b65d63 1510s 1..14 1510s # Start of slist tests 1510s ok 1 /slist/sort 1510s ok 2 /slist/sort-with-data 1510s ok 3 /slist/insert-sorted 1510s ok 4 /slist/insert-sorted-with-data 1510s ok 5 /slist/reverse 1510s ok 6 /slist/nth 1510s ok 7 /slist/remove 1510s ok 8 /slist/remove-all 1510s ok 9 /slist/insert 1510s ok 10 /slist/position 1510s ok 11 /slist/concat 1510s ok 12 /slist/copy 1510s # Start of sort tests 1510s ok 13 /slist/sort/stable 1510s # End of sort tests 1510s # Start of copy tests 1510s ok 14 /slist/copy/deep 1510s # End of copy tests 1510s # End of slist tests 1510s ok - glib/slist.test 1510s # Running test: glib/testing.test 1510s TAP version 13 1510s # random seed: R02Sfb70b250b28f8d06f99da166152aed56 1510s 1..1 1510s # Start of assert tests 1510s ok 1 /assert/finalize_object 1510s # Start of finalize_object tests 1510s # Start of subprocess tests 1510s # End of subprocess tests 1510s # End of finalize_object tests 1510s # End of assert tests 1510s ok - glib/testing.test 1510s # Running test: glib/deftype.test 1510s ok - glib/deftype.test 1510s # Running test: glib/include.test 1510s TAP version 13 1510s # random seed: R02Sa37f58eafd0a067c635e46c6bdab00d0 1510s 1..1 1510s # Start of include tests 1510s ok 1 /include/rwlock 1510s # End of include tests 1510s ok - glib/include.test 1510s # Running test: glib/properties-refcount3.test 1510s TAP version 13 1510s # random seed: R02S836734f2b3131c3362721b218e1fc7f3 1510s 1..1 1510s # Start of gobject tests 1510s # Start of refcount tests 1512s # Executing: glib/properties-refcount3.test 1517s # Executing: glib/properties-refcount3.test 1522s # Executing: glib/properties-refcount3.test 1527s # Executing: glib/properties-refcount3.test 1532s # Executing: glib/properties-refcount3.test 1537s # Executing: glib/properties-refcount3.test 1540s # 1540s # stopping 1540s # 1540s # stopped 1540s # 1540s # 45855185 21892703 1540s # 1540s ok 1 /gobject/refcount/properties-3 1540s # slow test /gobject/refcount/properties-3 executed in 30.01 secs 1540s # End of refcount tests 1540s # End of gobject tests 1540s ok - glib/properties-refcount3.test 1540s # Running test: glib/portal-support-flatpak-none.test 1540s TAP version 13 1540s # random seed: R02S50899641e92094c06eecd2ae58c176a9 1540s 1..1 1540s # Start of portal-support tests 1540s # Start of flatpak tests 1540s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-flatpak-none_I2TSK2/portal-support/flatpak/none/.dirs/home 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-flatpak-none_I2TSK2/portal-support/flatpak/none/.dirs/cache 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-flatpak-none_I2TSK2/portal-support/flatpak/none/.dirs/system-config1:/tmp/test_portal-support-flatpak-none_I2TSK2/portal-support/flatpak/none/.dirs/system-config2 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-flatpak-none_I2TSK2/portal-support/flatpak/none/.dirs/config 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-flatpak-none_I2TSK2/portal-support/flatpak/none/.dirs/system-data1:/tmp/test_portal-support-flatpak-none_I2TSK2/portal-support/flatpak/none/.dirs/system-data2 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-flatpak-none_I2TSK2/portal-support/flatpak/none/.dirs/data 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-flatpak-none_I2TSK2/portal-support/flatpak/none/.dirs/state 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-flatpak-none_I2TSK2/portal-support/flatpak/none/.dirs/runtime 1540s # Creating .flatpak-info in /tmp/test_portal-support-flatpak-none_I2TSK2/portal-support/flatpak/none/.dirs/runtime/.flatpak-info 1540s ok 1 /portal-support/flatpak/none 1540s # End of flatpak tests 1540s # End of portal-support tests 1540s ok - glib/portal-support-flatpak-none.test 1540s # Running test: glib/portal-support-flatpak-full.test 1540s TAP version 13 1540s # random seed: R02S222e6dd76b32c85b65b2da07d6b0856e 1540s 1..1 1540s # Start of portal-support tests 1540s # Start of flatpak tests 1540s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-flatpak-full_T1WSK2/portal-support/flatpak/full/.dirs/home 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-flatpak-full_T1WSK2/portal-support/flatpak/full/.dirs/cache 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-flatpak-full_T1WSK2/portal-support/flatpak/full/.dirs/system-config1:/tmp/test_portal-support-flatpak-full_T1WSK2/portal-support/flatpak/full/.dirs/system-config2 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-flatpak-full_T1WSK2/portal-support/flatpak/full/.dirs/config 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-flatpak-full_T1WSK2/portal-support/flatpak/full/.dirs/system-data1:/tmp/test_portal-support-flatpak-full_T1WSK2/portal-support/flatpak/full/.dirs/system-data2 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-flatpak-full_T1WSK2/portal-support/flatpak/full/.dirs/data 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-flatpak-full_T1WSK2/portal-support/flatpak/full/.dirs/state 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-flatpak-full_T1WSK2/portal-support/flatpak/full/.dirs/runtime 1540s # Creating .flatpak-info in /tmp/test_portal-support-flatpak-full_T1WSK2/portal-support/flatpak/full/.dirs/runtime/.flatpak-info 1540s ok 1 /portal-support/flatpak/full 1540s # End of flatpak tests 1540s # End of portal-support tests 1540s ok - glib/portal-support-flatpak-full.test 1540s # Running test: glib/bookmarkfile.test 1540s TAP version 13 1540s # random seed: R02S6a7149646e086d17e58f87a1ffaf4c40 1540s 1..96 1540s # Start of bookmarks tests 1540s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_O80SK2/bookmarks/load-from-data-dirs/.dirs/home 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_O80SK2/bookmarks/load-from-data-dirs/.dirs/cache 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_O80SK2/bookmarks/load-from-data-dirs/.dirs/system-config1:/tmp/test_bookmarkfile_O80SK2/bookmarks/load-from-data-dirs/.dirs/system-config2 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_O80SK2/bookmarks/load-from-data-dirs/.dirs/config 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_O80SK2/bookmarks/load-from-data-dirs/.dirs/system-data1:/tmp/test_bookmarkfile_O80SK2/bookmarks/load-from-data-dirs/.dirs/system-data2 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_O80SK2/bookmarks/load-from-data-dirs/.dirs/data 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_O80SK2/bookmarks/load-from-data-dirs/.dirs/state 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_O80SK2/bookmarks/load-from-data-dirs/.dirs/runtime 1540s ok 1 /bookmarks/load-from-data-dirs 1540s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_O80SK2/bookmarks/to-file/.dirs/home 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_O80SK2/bookmarks/to-file/.dirs/cache 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_O80SK2/bookmarks/to-file/.dirs/system-config1:/tmp/test_bookmarkfile_O80SK2/bookmarks/to-file/.dirs/system-config2 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_O80SK2/bookmarks/to-file/.dirs/config 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_O80SK2/bookmarks/to-file/.dirs/system-data1:/tmp/test_bookmarkfile_O80SK2/bookmarks/to-file/.dirs/system-data2 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_O80SK2/bookmarks/to-file/.dirs/data 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_O80SK2/bookmarks/to-file/.dirs/state 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_O80SK2/bookmarks/to-file/.dirs/runtime 1540s # Roundtrip from newly created bookmark file /tmp/test_bookmarkfile_O80SK2/bookmarkfile-test-EZ1SK2.xbel 1540s # Roundtrip from a valid bookmark file 1540s ok 2 /bookmarks/to-file 1540s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_O80SK2/bookmarks/move-item/.dirs/home 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_O80SK2/bookmarks/move-item/.dirs/cache 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_O80SK2/bookmarks/move-item/.dirs/system-config1:/tmp/test_bookmarkfile_O80SK2/bookmarks/move-item/.dirs/system-config2 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_O80SK2/bookmarks/move-item/.dirs/config 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_O80SK2/bookmarks/move-item/.dirs/system-data1:/tmp/test_bookmarkfile_O80SK2/bookmarks/move-item/.dirs/system-data2 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_O80SK2/bookmarks/move-item/.dirs/data 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_O80SK2/bookmarks/move-item/.dirs/state 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_O80SK2/bookmarks/move-item/.dirs/runtime 1540s ok 3 /bookmarks/move-item 1540s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_O80SK2/bookmarks/corner-cases/.dirs/home 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_O80SK2/bookmarks/corner-cases/.dirs/cache 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_O80SK2/bookmarks/corner-cases/.dirs/system-config1:/tmp/test_bookmarkfile_O80SK2/bookmarks/corner-cases/.dirs/system-config2 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_O80SK2/bookmarks/corner-cases/.dirs/config 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_O80SK2/bookmarks/corner-cases/.dirs/system-data1:/tmp/test_bookmarkfile_O80SK2/bookmarks/corner-cases/.dirs/system-data2 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_O80SK2/bookmarks/corner-cases/.dirs/data 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_O80SK2/bookmarks/corner-cases/.dirs/state 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_O80SK2/bookmarks/corner-cases/.dirs/runtime 1540s ok 4 /bookmarks/corner-cases 1540s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_O80SK2/bookmarks/misc/.dirs/home 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_O80SK2/bookmarks/misc/.dirs/cache 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_O80SK2/bookmarks/misc/.dirs/system-config1:/tmp/test_bookmarkfile_O80SK2/bookmarks/misc/.dirs/system-config2 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_O80SK2/bookmarks/misc/.dirs/config 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_O80SK2/bookmarks/misc/.dirs/system-data1:/tmp/test_bookmarkfile_O80SK2/bookmarks/misc/.dirs/system-data2 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_O80SK2/bookmarks/misc/.dirs/data 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_O80SK2/bookmarks/misc/.dirs/state 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_O80SK2/bookmarks/misc/.dirs/runtime 1540s ok 5 /bookmarks/misc 1540s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_O80SK2/bookmarks/deprecated/.dirs/home 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_O80SK2/bookmarks/deprecated/.dirs/cache 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_O80SK2/bookmarks/deprecated/.dirs/system-config1:/tmp/test_bookmarkfile_O80SK2/bookmarks/deprecated/.dirs/system-config2 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_O80SK2/bookmarks/deprecated/.dirs/config 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_O80SK2/bookmarks/deprecated/.dirs/system-data1:/tmp/test_bookmarkfile_O80SK2/bookmarks/deprecated/.dirs/system-data2 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_O80SK2/bookmarks/deprecated/.dirs/data 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_O80SK2/bookmarks/deprecated/.dirs/state 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_O80SK2/bookmarks/deprecated/.dirs/runtime 1540s ok 6 /bookmarks/deprecated 1540s # Start of parse tests 1540s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_O80SK2/bookmarks/parse/fail-19.xbel/.dirs/home 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_O80SK2/bookmarks/parse/fail-19.xbel/.dirs/cache 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_O80SK2/bookmarks/parse/fail-19.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_O80SK2/bookmarks/parse/fail-19.xbel/.dirs/system-config2 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_O80SK2/bookmarks/parse/fail-19.xbel/.dirs/config 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_O80SK2/bookmarks/parse/fail-19.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_O80SK2/bookmarks/parse/fail-19.xbel/.dirs/system-data2 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_O80SK2/bookmarks/parse/fail-19.xbel/.dirs/data 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_O80SK2/bookmarks/parse/fail-19.xbel/.dirs/state 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_O80SK2/bookmarks/parse/fail-19.xbel/.dirs/runtime 1540s ok 7 /bookmarks/parse/fail-19.xbel 1540s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_O80SK2/bookmarks/parse/fail-04.xbel/.dirs/home 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_O80SK2/bookmarks/parse/fail-04.xbel/.dirs/cache 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_O80SK2/bookmarks/parse/fail-04.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_O80SK2/bookmarks/parse/fail-04.xbel/.dirs/system-config2 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_O80SK2/bookmarks/parse/fail-04.xbel/.dirs/config 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_O80SK2/bookmarks/parse/fail-04.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_O80SK2/bookmarks/parse/fail-04.xbel/.dirs/system-data2 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_O80SK2/bookmarks/parse/fail-04.xbel/.dirs/data 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_O80SK2/bookmarks/parse/fail-04.xbel/.dirs/state 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_O80SK2/bookmarks/parse/fail-04.xbel/.dirs/runtime 1540s ok 8 /bookmarks/parse/fail-04.xbel 1540s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_O80SK2/bookmarks/parse/fail-18.xbel/.dirs/home 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_O80SK2/bookmarks/parse/fail-18.xbel/.dirs/cache 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_O80SK2/bookmarks/parse/fail-18.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_O80SK2/bookmarks/parse/fail-18.xbel/.dirs/system-config2 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_O80SK2/bookmarks/parse/fail-18.xbel/.dirs/config 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_O80SK2/bookmarks/parse/fail-18.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_O80SK2/bookmarks/parse/fail-18.xbel/.dirs/system-data2 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_O80SK2/bookmarks/parse/fail-18.xbel/.dirs/data 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_O80SK2/bookmarks/parse/fail-18.xbel/.dirs/state 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_O80SK2/bookmarks/parse/fail-18.xbel/.dirs/runtime 1540s ok 9 /bookmarks/parse/fail-18.xbel 1540s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_O80SK2/bookmarks/parse/valid-01.xbel/.dirs/home 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_O80SK2/bookmarks/parse/valid-01.xbel/.dirs/cache 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_O80SK2/bookmarks/parse/valid-01.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_O80SK2/bookmarks/parse/valid-01.xbel/.dirs/system-config2 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_O80SK2/bookmarks/parse/valid-01.xbel/.dirs/config 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_O80SK2/bookmarks/parse/valid-01.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_O80SK2/bookmarks/parse/valid-01.xbel/.dirs/system-data2 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_O80SK2/bookmarks/parse/valid-01.xbel/.dirs/data 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_O80SK2/bookmarks/parse/valid-01.xbel/.dirs/state 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_O80SK2/bookmarks/parse/valid-01.xbel/.dirs/runtime 1540s ok 10 /bookmarks/parse/valid-01.xbel 1540s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_O80SK2/bookmarks/parse/fail-08.xbel/.dirs/home 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_O80SK2/bookmarks/parse/fail-08.xbel/.dirs/cache 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_O80SK2/bookmarks/parse/fail-08.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_O80SK2/bookmarks/parse/fail-08.xbel/.dirs/system-config2 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_O80SK2/bookmarks/parse/fail-08.xbel/.dirs/config 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_O80SK2/bookmarks/parse/fail-08.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_O80SK2/bookmarks/parse/fail-08.xbel/.dirs/system-data2 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_O80SK2/bookmarks/parse/fail-08.xbel/.dirs/data 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_O80SK2/bookmarks/parse/fail-08.xbel/.dirs/state 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_O80SK2/bookmarks/parse/fail-08.xbel/.dirs/runtime 1540s ok 11 /bookmarks/parse/fail-08.xbel 1540s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_O80SK2/bookmarks/parse/fail-40.xbel/.dirs/home 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_O80SK2/bookmarks/parse/fail-40.xbel/.dirs/cache 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_O80SK2/bookmarks/parse/fail-40.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_O80SK2/bookmarks/parse/fail-40.xbel/.dirs/system-config2 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_O80SK2/bookmarks/parse/fail-40.xbel/.dirs/config 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_O80SK2/bookmarks/parse/fail-40.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_O80SK2/bookmarks/parse/fail-40.xbel/.dirs/system-data2 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_O80SK2/bookmarks/parse/fail-40.xbel/.dirs/data 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_O80SK2/bookmarks/parse/fail-40.xbel/.dirs/state 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_O80SK2/bookmarks/parse/fail-40.xbel/.dirs/runtime 1540s ok 12 /bookmarks/parse/fail-40.xbel 1540s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_O80SK2/bookmarks/parse/fail-23.xbel/.dirs/home 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_O80SK2/bookmarks/parse/fail-23.xbel/.dirs/cache 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_O80SK2/bookmarks/parse/fail-23.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_O80SK2/bookmarks/parse/fail-23.xbel/.dirs/system-config2 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_O80SK2/bookmarks/parse/fail-23.xbel/.dirs/config 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_O80SK2/bookmarks/parse/fail-23.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_O80SK2/bookmarks/parse/fail-23.xbel/.dirs/system-data2 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_O80SK2/bookmarks/parse/fail-23.xbel/.dirs/data 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_O80SK2/bookmarks/parse/fail-23.xbel/.dirs/state 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_O80SK2/bookmarks/parse/fail-23.xbel/.dirs/runtime 1540s ok 13 /bookmarks/parse/fail-23.xbel 1540s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_O80SK2/bookmarks/parse/fail-24.xbel/.dirs/home 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_O80SK2/bookmarks/parse/fail-24.xbel/.dirs/cache 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_O80SK2/bookmarks/parse/fail-24.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_O80SK2/bookmarks/parse/fail-24.xbel/.dirs/system-config2 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_O80SK2/bookmarks/parse/fail-24.xbel/.dirs/config 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_O80SK2/bookmarks/parse/fail-24.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_O80SK2/bookmarks/parse/fail-24.xbel/.dirs/system-data2 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_O80SK2/bookmarks/parse/fail-24.xbel/.dirs/data 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_O80SK2/bookmarks/parse/fail-24.xbel/.dirs/state 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_O80SK2/bookmarks/parse/fail-24.xbel/.dirs/runtime 1540s ok 14 /bookmarks/parse/fail-24.xbel 1540s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_O80SK2/bookmarks/parse/fail-30.xbel/.dirs/home 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_O80SK2/bookmarks/parse/fail-30.xbel/.dirs/cache 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_O80SK2/bookmarks/parse/fail-30.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_O80SK2/bookmarks/parse/fail-30.xbel/.dirs/system-config2 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_O80SK2/bookmarks/parse/fail-30.xbel/.dirs/config 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_O80SK2/bookmarks/parse/fail-30.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_O80SK2/bookmarks/parse/fail-30.xbel/.dirs/system-data2 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_O80SK2/bookmarks/parse/fail-30.xbel/.dirs/data 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_O80SK2/bookmarks/parse/fail-30.xbel/.dirs/state 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_O80SK2/bookmarks/parse/fail-30.xbel/.dirs/runtime 1540s ok 15 /bookmarks/parse/fail-30.xbel 1540s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_O80SK2/bookmarks/parse/fail-28.xbel/.dirs/home 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_O80SK2/bookmarks/parse/fail-28.xbel/.dirs/cache 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_O80SK2/bookmarks/parse/fail-28.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_O80SK2/bookmarks/parse/fail-28.xbel/.dirs/system-config2 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_O80SK2/bookmarks/parse/fail-28.xbel/.dirs/config 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_O80SK2/bookmarks/parse/fail-28.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_O80SK2/bookmarks/parse/fail-28.xbel/.dirs/system-data2 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_O80SK2/bookmarks/parse/fail-28.xbel/.dirs/data 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_O80SK2/bookmarks/parse/fail-28.xbel/.dirs/state 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_O80SK2/bookmarks/parse/fail-28.xbel/.dirs/runtime 1540s ok 16 /bookmarks/parse/fail-28.xbel 1540s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_O80SK2/bookmarks/parse/fail-03.xbel/.dirs/home 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_O80SK2/bookmarks/parse/fail-03.xbel/.dirs/cache 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_O80SK2/bookmarks/parse/fail-03.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_O80SK2/bookmarks/parse/fail-03.xbel/.dirs/system-config2 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_O80SK2/bookmarks/parse/fail-03.xbel/.dirs/config 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_O80SK2/bookmarks/parse/fail-03.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_O80SK2/bookmarks/parse/fail-03.xbel/.dirs/system-data2 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_O80SK2/bookmarks/parse/fail-03.xbel/.dirs/data 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_O80SK2/bookmarks/parse/fail-03.xbel/.dirs/state 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_O80SK2/bookmarks/parse/fail-03.xbel/.dirs/runtime 1540s ok 17 /bookmarks/parse/fail-03.xbel 1540s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_O80SK2/bookmarks/parse/fail-33.xbel/.dirs/home 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_O80SK2/bookmarks/parse/fail-33.xbel/.dirs/cache 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_O80SK2/bookmarks/parse/fail-33.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_O80SK2/bookmarks/parse/fail-33.xbel/.dirs/system-config2 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_O80SK2/bookmarks/parse/fail-33.xbel/.dirs/config 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_O80SK2/bookmarks/parse/fail-33.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_O80SK2/bookmarks/parse/fail-33.xbel/.dirs/system-data2 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_O80SK2/bookmarks/parse/fail-33.xbel/.dirs/data 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_O80SK2/bookmarks/parse/fail-33.xbel/.dirs/state 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_O80SK2/bookmarks/parse/fail-33.xbel/.dirs/runtime 1540s ok 18 /bookmarks/parse/fail-33.xbel 1540s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_O80SK2/bookmarks/parse/fail-13.xbel/.dirs/home 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_O80SK2/bookmarks/parse/fail-13.xbel/.dirs/cache 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_O80SK2/bookmarks/parse/fail-13.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_O80SK2/bookmarks/parse/fail-13.xbel/.dirs/system-config2 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_O80SK2/bookmarks/parse/fail-13.xbel/.dirs/config 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_O80SK2/bookmarks/parse/fail-13.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_O80SK2/bookmarks/parse/fail-13.xbel/.dirs/system-data2 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_O80SK2/bookmarks/parse/fail-13.xbel/.dirs/data 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_O80SK2/bookmarks/parse/fail-13.xbel/.dirs/state 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_O80SK2/bookmarks/parse/fail-13.xbel/.dirs/runtime 1540s ok 19 /bookmarks/parse/fail-13.xbel 1540s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_O80SK2/bookmarks/parse/fail-35.xbel/.dirs/home 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_O80SK2/bookmarks/parse/fail-35.xbel/.dirs/cache 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_O80SK2/bookmarks/parse/fail-35.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_O80SK2/bookmarks/parse/fail-35.xbel/.dirs/system-config2 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_O80SK2/bookmarks/parse/fail-35.xbel/.dirs/config 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_O80SK2/bookmarks/parse/fail-35.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_O80SK2/bookmarks/parse/fail-35.xbel/.dirs/system-data2 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_O80SK2/bookmarks/parse/fail-35.xbel/.dirs/data 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_O80SK2/bookmarks/parse/fail-35.xbel/.dirs/state 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_O80SK2/bookmarks/parse/fail-35.xbel/.dirs/runtime 1540s ok 20 /bookmarks/parse/fail-35.xbel 1540s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_O80SK2/bookmarks/parse/fail-06.xbel/.dirs/home 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_O80SK2/bookmarks/parse/fail-06.xbel/.dirs/cache 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_O80SK2/bookmarks/parse/fail-06.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_O80SK2/bookmarks/parse/fail-06.xbel/.dirs/system-config2 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_O80SK2/bookmarks/parse/fail-06.xbel/.dirs/config 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_O80SK2/bookmarks/parse/fail-06.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_O80SK2/bookmarks/parse/fail-06.xbel/.dirs/system-data2 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_O80SK2/bookmarks/parse/fail-06.xbel/.dirs/data 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_O80SK2/bookmarks/parse/fail-06.xbel/.dirs/state 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_O80SK2/bookmarks/parse/fail-06.xbel/.dirs/runtime 1540s ok 21 /bookmarks/parse/fail-06.xbel 1540s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_O80SK2/bookmarks/parse/fail-09.xbel/.dirs/home 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_O80SK2/bookmarks/parse/fail-09.xbel/.dirs/cache 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_O80SK2/bookmarks/parse/fail-09.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_O80SK2/bookmarks/parse/fail-09.xbel/.dirs/system-config2 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_O80SK2/bookmarks/parse/fail-09.xbel/.dirs/config 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_O80SK2/bookmarks/parse/fail-09.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_O80SK2/bookmarks/parse/fail-09.xbel/.dirs/system-data2 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_O80SK2/bookmarks/parse/fail-09.xbel/.dirs/data 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_O80SK2/bookmarks/parse/fail-09.xbel/.dirs/state 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_O80SK2/bookmarks/parse/fail-09.xbel/.dirs/runtime 1540s ok 22 /bookmarks/parse/fail-09.xbel 1540s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_O80SK2/bookmarks/parse/fail-10.xbel/.dirs/home 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_O80SK2/bookmarks/parse/fail-10.xbel/.dirs/cache 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_O80SK2/bookmarks/parse/fail-10.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_O80SK2/bookmarks/parse/fail-10.xbel/.dirs/system-config2 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_O80SK2/bookmarks/parse/fail-10.xbel/.dirs/config 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_O80SK2/bookmarks/parse/fail-10.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_O80SK2/bookmarks/parse/fail-10.xbel/.dirs/system-data2 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_O80SK2/bookmarks/parse/fail-10.xbel/.dirs/data 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_O80SK2/bookmarks/parse/fail-10.xbel/.dirs/state 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_O80SK2/bookmarks/parse/fail-10.xbel/.dirs/runtime 1540s ok 23 /bookmarks/parse/fail-10.xbel 1540s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_O80SK2/bookmarks/parse/fail-17.xbel/.dirs/home 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_O80SK2/bookmarks/parse/fail-17.xbel/.dirs/cache 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_O80SK2/bookmarks/parse/fail-17.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_O80SK2/bookmarks/parse/fail-17.xbel/.dirs/system-config2 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_O80SK2/bookmarks/parse/fail-17.xbel/.dirs/config 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_O80SK2/bookmarks/parse/fail-17.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_O80SK2/bookmarks/parse/fail-17.xbel/.dirs/system-data2 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_O80SK2/bookmarks/parse/fail-17.xbel/.dirs/data 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_O80SK2/bookmarks/parse/fail-17.xbel/.dirs/state 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_O80SK2/bookmarks/parse/fail-17.xbel/.dirs/runtime 1540s ok 24 /bookmarks/parse/fail-17.xbel 1540s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_O80SK2/bookmarks/parse/fail-12.xbel/.dirs/home 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_O80SK2/bookmarks/parse/fail-12.xbel/.dirs/cache 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_O80SK2/bookmarks/parse/fail-12.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_O80SK2/bookmarks/parse/fail-12.xbel/.dirs/system-config2 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_O80SK2/bookmarks/parse/fail-12.xbel/.dirs/config 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_O80SK2/bookmarks/parse/fail-12.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_O80SK2/bookmarks/parse/fail-12.xbel/.dirs/system-data2 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_O80SK2/bookmarks/parse/fail-12.xbel/.dirs/data 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_O80SK2/bookmarks/parse/fail-12.xbel/.dirs/state 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_O80SK2/bookmarks/parse/fail-12.xbel/.dirs/runtime 1540s ok 25 /bookmarks/parse/fail-12.xbel 1540s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_O80SK2/bookmarks/parse/fail-02.xbel/.dirs/home 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_O80SK2/bookmarks/parse/fail-02.xbel/.dirs/cache 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_O80SK2/bookmarks/parse/fail-02.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_O80SK2/bookmarks/parse/fail-02.xbel/.dirs/system-config2 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_O80SK2/bookmarks/parse/fail-02.xbel/.dirs/config 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_O80SK2/bookmarks/parse/fail-02.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_O80SK2/bookmarks/parse/fail-02.xbel/.dirs/system-data2 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_O80SK2/bookmarks/parse/fail-02.xbel/.dirs/data 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_O80SK2/bookmarks/parse/fail-02.xbel/.dirs/state 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_O80SK2/bookmarks/parse/fail-02.xbel/.dirs/runtime 1540s ok 26 /bookmarks/parse/fail-02.xbel 1540s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_O80SK2/bookmarks/parse/fail-05.xbel/.dirs/home 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_O80SK2/bookmarks/parse/fail-05.xbel/.dirs/cache 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_O80SK2/bookmarks/parse/fail-05.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_O80SK2/bookmarks/parse/fail-05.xbel/.dirs/system-config2 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_O80SK2/bookmarks/parse/fail-05.xbel/.dirs/config 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_O80SK2/bookmarks/parse/fail-05.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_O80SK2/bookmarks/parse/fail-05.xbel/.dirs/system-data2 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_O80SK2/bookmarks/parse/fail-05.xbel/.dirs/data 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_O80SK2/bookmarks/parse/fail-05.xbel/.dirs/state 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_O80SK2/bookmarks/parse/fail-05.xbel/.dirs/runtime 1540s ok 27 /bookmarks/parse/fail-05.xbel 1540s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_O80SK2/bookmarks/parse/fail-26.xbel/.dirs/home 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_O80SK2/bookmarks/parse/fail-26.xbel/.dirs/cache 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_O80SK2/bookmarks/parse/fail-26.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_O80SK2/bookmarks/parse/fail-26.xbel/.dirs/system-config2 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_O80SK2/bookmarks/parse/fail-26.xbel/.dirs/config 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_O80SK2/bookmarks/parse/fail-26.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_O80SK2/bookmarks/parse/fail-26.xbel/.dirs/system-data2 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_O80SK2/bookmarks/parse/fail-26.xbel/.dirs/data 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_O80SK2/bookmarks/parse/fail-26.xbel/.dirs/state 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_O80SK2/bookmarks/parse/fail-26.xbel/.dirs/runtime 1540s ok 28 /bookmarks/parse/fail-26.xbel 1540s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_O80SK2/bookmarks/parse/fail-01.xbel/.dirs/home 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_O80SK2/bookmarks/parse/fail-01.xbel/.dirs/cache 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_O80SK2/bookmarks/parse/fail-01.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_O80SK2/bookmarks/parse/fail-01.xbel/.dirs/system-config2 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_O80SK2/bookmarks/parse/fail-01.xbel/.dirs/config 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_O80SK2/bookmarks/parse/fail-01.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_O80SK2/bookmarks/parse/fail-01.xbel/.dirs/system-data2 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_O80SK2/bookmarks/parse/fail-01.xbel/.dirs/data 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_O80SK2/bookmarks/parse/fail-01.xbel/.dirs/state 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_O80SK2/bookmarks/parse/fail-01.xbel/.dirs/runtime 1540s ok 29 /bookmarks/parse/fail-01.xbel 1540s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_O80SK2/bookmarks/parse/fail-39.xbel/.dirs/home 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_O80SK2/bookmarks/parse/fail-39.xbel/.dirs/cache 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_O80SK2/bookmarks/parse/fail-39.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_O80SK2/bookmarks/parse/fail-39.xbel/.dirs/system-config2 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_O80SK2/bookmarks/parse/fail-39.xbel/.dirs/config 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_O80SK2/bookmarks/parse/fail-39.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_O80SK2/bookmarks/parse/fail-39.xbel/.dirs/system-data2 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_O80SK2/bookmarks/parse/fail-39.xbel/.dirs/data 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_O80SK2/bookmarks/parse/fail-39.xbel/.dirs/state 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_O80SK2/bookmarks/parse/fail-39.xbel/.dirs/runtime 1540s ok 30 /bookmarks/parse/fail-39.xbel 1540s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_O80SK2/bookmarks/parse/fail-27.xbel/.dirs/home 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_O80SK2/bookmarks/parse/fail-27.xbel/.dirs/cache 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_O80SK2/bookmarks/parse/fail-27.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_O80SK2/bookmarks/parse/fail-27.xbel/.dirs/system-config2 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_O80SK2/bookmarks/parse/fail-27.xbel/.dirs/config 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_O80SK2/bookmarks/parse/fail-27.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_O80SK2/bookmarks/parse/fail-27.xbel/.dirs/system-data2 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_O80SK2/bookmarks/parse/fail-27.xbel/.dirs/data 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_O80SK2/bookmarks/parse/fail-27.xbel/.dirs/state 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_O80SK2/bookmarks/parse/fail-27.xbel/.dirs/runtime 1540s ok 31 /bookmarks/parse/fail-27.xbel 1540s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_O80SK2/bookmarks/parse/fail-25.xbel/.dirs/home 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_O80SK2/bookmarks/parse/fail-25.xbel/.dirs/cache 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_O80SK2/bookmarks/parse/fail-25.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_O80SK2/bookmarks/parse/fail-25.xbel/.dirs/system-config2 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_O80SK2/bookmarks/parse/fail-25.xbel/.dirs/config 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_O80SK2/bookmarks/parse/fail-25.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_O80SK2/bookmarks/parse/fail-25.xbel/.dirs/system-data2 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_O80SK2/bookmarks/parse/fail-25.xbel/.dirs/data 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_O80SK2/bookmarks/parse/fail-25.xbel/.dirs/state 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_O80SK2/bookmarks/parse/fail-25.xbel/.dirs/runtime 1540s ok 32 /bookmarks/parse/fail-25.xbel 1540s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_O80SK2/bookmarks/parse/fail-41.xbel/.dirs/home 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_O80SK2/bookmarks/parse/fail-41.xbel/.dirs/cache 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_O80SK2/bookmarks/parse/fail-41.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_O80SK2/bookmarks/parse/fail-41.xbel/.dirs/system-config2 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_O80SK2/bookmarks/parse/fail-41.xbel/.dirs/config 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_O80SK2/bookmarks/parse/fail-41.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_O80SK2/bookmarks/parse/fail-41.xbel/.dirs/system-data2 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_O80SK2/bookmarks/parse/fail-41.xbel/.dirs/data 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_O80SK2/bookmarks/parse/fail-41.xbel/.dirs/state 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_O80SK2/bookmarks/parse/fail-41.xbel/.dirs/runtime 1540s ok 33 /bookmarks/parse/fail-41.xbel 1540s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_O80SK2/bookmarks/parse/fail-42.xbel/.dirs/home 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_O80SK2/bookmarks/parse/fail-42.xbel/.dirs/cache 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_O80SK2/bookmarks/parse/fail-42.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_O80SK2/bookmarks/parse/fail-42.xbel/.dirs/system-config2 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_O80SK2/bookmarks/parse/fail-42.xbel/.dirs/config 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_O80SK2/bookmarks/parse/fail-42.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_O80SK2/bookmarks/parse/fail-42.xbel/.dirs/system-data2 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_O80SK2/bookmarks/parse/fail-42.xbel/.dirs/data 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_O80SK2/bookmarks/parse/fail-42.xbel/.dirs/state 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_O80SK2/bookmarks/parse/fail-42.xbel/.dirs/runtime 1540s ok 34 /bookmarks/parse/fail-42.xbel 1540s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_O80SK2/bookmarks/parse/fail-15.xbel/.dirs/home 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_O80SK2/bookmarks/parse/fail-15.xbel/.dirs/cache 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_O80SK2/bookmarks/parse/fail-15.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_O80SK2/bookmarks/parse/fail-15.xbel/.dirs/system-config2 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_O80SK2/bookmarks/parse/fail-15.xbel/.dirs/config 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_O80SK2/bookmarks/parse/fail-15.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_O80SK2/bookmarks/parse/fail-15.xbel/.dirs/system-data2 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_O80SK2/bookmarks/parse/fail-15.xbel/.dirs/data 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_O80SK2/bookmarks/parse/fail-15.xbel/.dirs/state 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_O80SK2/bookmarks/parse/fail-15.xbel/.dirs/runtime 1540s ok 35 /bookmarks/parse/fail-15.xbel 1540s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_O80SK2/bookmarks/parse/fail-32.xbel/.dirs/home 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_O80SK2/bookmarks/parse/fail-32.xbel/.dirs/cache 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_O80SK2/bookmarks/parse/fail-32.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_O80SK2/bookmarks/parse/fail-32.xbel/.dirs/system-config2 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_O80SK2/bookmarks/parse/fail-32.xbel/.dirs/config 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_O80SK2/bookmarks/parse/fail-32.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_O80SK2/bookmarks/parse/fail-32.xbel/.dirs/system-data2 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_O80SK2/bookmarks/parse/fail-32.xbel/.dirs/data 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_O80SK2/bookmarks/parse/fail-32.xbel/.dirs/state 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_O80SK2/bookmarks/parse/fail-32.xbel/.dirs/runtime 1540s ok 36 /bookmarks/parse/fail-32.xbel 1540s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_O80SK2/bookmarks/parse/fail-20.xbel/.dirs/home 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_O80SK2/bookmarks/parse/fail-20.xbel/.dirs/cache 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_O80SK2/bookmarks/parse/fail-20.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_O80SK2/bookmarks/parse/fail-20.xbel/.dirs/system-config2 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_O80SK2/bookmarks/parse/fail-20.xbel/.dirs/config 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_O80SK2/bookmarks/parse/fail-20.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_O80SK2/bookmarks/parse/fail-20.xbel/.dirs/system-data2 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_O80SK2/bookmarks/parse/fail-20.xbel/.dirs/data 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_O80SK2/bookmarks/parse/fail-20.xbel/.dirs/state 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_O80SK2/bookmarks/parse/fail-20.xbel/.dirs/runtime 1540s ok 37 /bookmarks/parse/fail-20.xbel 1540s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_O80SK2/bookmarks/parse/fail-34.xbel/.dirs/home 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_O80SK2/bookmarks/parse/fail-34.xbel/.dirs/cache 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_O80SK2/bookmarks/parse/fail-34.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_O80SK2/bookmarks/parse/fail-34.xbel/.dirs/system-config2 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_O80SK2/bookmarks/parse/fail-34.xbel/.dirs/config 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_O80SK2/bookmarks/parse/fail-34.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_O80SK2/bookmarks/parse/fail-34.xbel/.dirs/system-data2 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_O80SK2/bookmarks/parse/fail-34.xbel/.dirs/data 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_O80SK2/bookmarks/parse/fail-34.xbel/.dirs/state 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_O80SK2/bookmarks/parse/fail-34.xbel/.dirs/runtime 1540s ok 38 /bookmarks/parse/fail-34.xbel 1540s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_O80SK2/bookmarks/parse/fail-14.xbel/.dirs/home 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_O80SK2/bookmarks/parse/fail-14.xbel/.dirs/cache 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_O80SK2/bookmarks/parse/fail-14.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_O80SK2/bookmarks/parse/fail-14.xbel/.dirs/system-config2 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_O80SK2/bookmarks/parse/fail-14.xbel/.dirs/config 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_O80SK2/bookmarks/parse/fail-14.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_O80SK2/bookmarks/parse/fail-14.xbel/.dirs/system-data2 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_O80SK2/bookmarks/parse/fail-14.xbel/.dirs/data 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_O80SK2/bookmarks/parse/fail-14.xbel/.dirs/state 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_O80SK2/bookmarks/parse/fail-14.xbel/.dirs/runtime 1540s ok 39 /bookmarks/parse/fail-14.xbel 1540s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_O80SK2/bookmarks/parse/fail-31.xbel/.dirs/home 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_O80SK2/bookmarks/parse/fail-31.xbel/.dirs/cache 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_O80SK2/bookmarks/parse/fail-31.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_O80SK2/bookmarks/parse/fail-31.xbel/.dirs/system-config2 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_O80SK2/bookmarks/parse/fail-31.xbel/.dirs/config 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_O80SK2/bookmarks/parse/fail-31.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_O80SK2/bookmarks/parse/fail-31.xbel/.dirs/system-data2 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_O80SK2/bookmarks/parse/fail-31.xbel/.dirs/data 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_O80SK2/bookmarks/parse/fail-31.xbel/.dirs/state 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_O80SK2/bookmarks/parse/fail-31.xbel/.dirs/runtime 1540s ok 40 /bookmarks/parse/fail-31.xbel 1540s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_O80SK2/bookmarks/parse/fail-37.xbel/.dirs/home 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_O80SK2/bookmarks/parse/fail-37.xbel/.dirs/cache 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_O80SK2/bookmarks/parse/fail-37.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_O80SK2/bookmarks/parse/fail-37.xbel/.dirs/system-config2 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_O80SK2/bookmarks/parse/fail-37.xbel/.dirs/config 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_O80SK2/bookmarks/parse/fail-37.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_O80SK2/bookmarks/parse/fail-37.xbel/.dirs/system-data2 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_O80SK2/bookmarks/parse/fail-37.xbel/.dirs/data 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_O80SK2/bookmarks/parse/fail-37.xbel/.dirs/state 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_O80SK2/bookmarks/parse/fail-37.xbel/.dirs/runtime 1540s ok 41 /bookmarks/parse/fail-37.xbel 1540s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_O80SK2/bookmarks/parse/fail-22.xbel/.dirs/home 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_O80SK2/bookmarks/parse/fail-22.xbel/.dirs/cache 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_O80SK2/bookmarks/parse/fail-22.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_O80SK2/bookmarks/parse/fail-22.xbel/.dirs/system-config2 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_O80SK2/bookmarks/parse/fail-22.xbel/.dirs/config 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_O80SK2/bookmarks/parse/fail-22.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_O80SK2/bookmarks/parse/fail-22.xbel/.dirs/system-data2 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_O80SK2/bookmarks/parse/fail-22.xbel/.dirs/data 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_O80SK2/bookmarks/parse/fail-22.xbel/.dirs/state 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_O80SK2/bookmarks/parse/fail-22.xbel/.dirs/runtime 1540s ok 42 /bookmarks/parse/fail-22.xbel 1540s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_O80SK2/bookmarks/parse/fail-21.xbel/.dirs/home 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_O80SK2/bookmarks/parse/fail-21.xbel/.dirs/cache 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_O80SK2/bookmarks/parse/fail-21.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_O80SK2/bookmarks/parse/fail-21.xbel/.dirs/system-config2 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_O80SK2/bookmarks/parse/fail-21.xbel/.dirs/config 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_O80SK2/bookmarks/parse/fail-21.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_O80SK2/bookmarks/parse/fail-21.xbel/.dirs/system-data2 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_O80SK2/bookmarks/parse/fail-21.xbel/.dirs/data 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_O80SK2/bookmarks/parse/fail-21.xbel/.dirs/state 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_O80SK2/bookmarks/parse/fail-21.xbel/.dirs/runtime 1540s ok 43 /bookmarks/parse/fail-21.xbel 1540s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_O80SK2/bookmarks/parse/fail-36.xbel/.dirs/home 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_O80SK2/bookmarks/parse/fail-36.xbel/.dirs/cache 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_O80SK2/bookmarks/parse/fail-36.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_O80SK2/bookmarks/parse/fail-36.xbel/.dirs/system-config2 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_O80SK2/bookmarks/parse/fail-36.xbel/.dirs/config 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_O80SK2/bookmarks/parse/fail-36.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_O80SK2/bookmarks/parse/fail-36.xbel/.dirs/system-data2 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_O80SK2/bookmarks/parse/fail-36.xbel/.dirs/data 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_O80SK2/bookmarks/parse/fail-36.xbel/.dirs/state 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_O80SK2/bookmarks/parse/fail-36.xbel/.dirs/runtime 1540s ok 44 /bookmarks/parse/fail-36.xbel 1540s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_O80SK2/bookmarks/parse/valid-03.xbel/.dirs/home 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_O80SK2/bookmarks/parse/valid-03.xbel/.dirs/cache 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_O80SK2/bookmarks/parse/valid-03.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_O80SK2/bookmarks/parse/valid-03.xbel/.dirs/system-config2 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_O80SK2/bookmarks/parse/valid-03.xbel/.dirs/config 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_O80SK2/bookmarks/parse/valid-03.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_O80SK2/bookmarks/parse/valid-03.xbel/.dirs/system-data2 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_O80SK2/bookmarks/parse/valid-03.xbel/.dirs/data 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_O80SK2/bookmarks/parse/valid-03.xbel/.dirs/state 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_O80SK2/bookmarks/parse/valid-03.xbel/.dirs/runtime 1540s ok 45 /bookmarks/parse/valid-03.xbel 1540s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_O80SK2/bookmarks/parse/fail-16.xbel/.dirs/home 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_O80SK2/bookmarks/parse/fail-16.xbel/.dirs/cache 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_O80SK2/bookmarks/parse/fail-16.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_O80SK2/bookmarks/parse/fail-16.xbel/.dirs/system-config2 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_O80SK2/bookmarks/parse/fail-16.xbel/.dirs/config 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_O80SK2/bookmarks/parse/fail-16.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_O80SK2/bookmarks/parse/fail-16.xbel/.dirs/system-data2 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_O80SK2/bookmarks/parse/fail-16.xbel/.dirs/data 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_O80SK2/bookmarks/parse/fail-16.xbel/.dirs/state 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_O80SK2/bookmarks/parse/fail-16.xbel/.dirs/runtime 1540s ok 46 /bookmarks/parse/fail-16.xbel 1540s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_O80SK2/bookmarks/parse/fail-29.xbel/.dirs/home 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_O80SK2/bookmarks/parse/fail-29.xbel/.dirs/cache 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_O80SK2/bookmarks/parse/fail-29.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_O80SK2/bookmarks/parse/fail-29.xbel/.dirs/system-config2 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_O80SK2/bookmarks/parse/fail-29.xbel/.dirs/config 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_O80SK2/bookmarks/parse/fail-29.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_O80SK2/bookmarks/parse/fail-29.xbel/.dirs/system-data2 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_O80SK2/bookmarks/parse/fail-29.xbel/.dirs/data 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_O80SK2/bookmarks/parse/fail-29.xbel/.dirs/state 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_O80SK2/bookmarks/parse/fail-29.xbel/.dirs/runtime 1540s ok 47 /bookmarks/parse/fail-29.xbel 1540s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_O80SK2/bookmarks/parse/fail-11.xbel/.dirs/home 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_O80SK2/bookmarks/parse/fail-11.xbel/.dirs/cache 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_O80SK2/bookmarks/parse/fail-11.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_O80SK2/bookmarks/parse/fail-11.xbel/.dirs/system-config2 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_O80SK2/bookmarks/parse/fail-11.xbel/.dirs/config 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_O80SK2/bookmarks/parse/fail-11.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_O80SK2/bookmarks/parse/fail-11.xbel/.dirs/system-data2 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_O80SK2/bookmarks/parse/fail-11.xbel/.dirs/data 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_O80SK2/bookmarks/parse/fail-11.xbel/.dirs/state 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_O80SK2/bookmarks/parse/fail-11.xbel/.dirs/runtime 1540s ok 48 /bookmarks/parse/fail-11.xbel 1540s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_O80SK2/bookmarks/parse/valid-02.xbel/.dirs/home 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_O80SK2/bookmarks/parse/valid-02.xbel/.dirs/cache 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_O80SK2/bookmarks/parse/valid-02.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_O80SK2/bookmarks/parse/valid-02.xbel/.dirs/system-config2 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_O80SK2/bookmarks/parse/valid-02.xbel/.dirs/config 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_O80SK2/bookmarks/parse/valid-02.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_O80SK2/bookmarks/parse/valid-02.xbel/.dirs/system-data2 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_O80SK2/bookmarks/parse/valid-02.xbel/.dirs/data 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_O80SK2/bookmarks/parse/valid-02.xbel/.dirs/state 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_O80SK2/bookmarks/parse/valid-02.xbel/.dirs/runtime 1540s ok 49 /bookmarks/parse/valid-02.xbel 1540s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_O80SK2/bookmarks/parse/fail-38.xbel/.dirs/home 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_O80SK2/bookmarks/parse/fail-38.xbel/.dirs/cache 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_O80SK2/bookmarks/parse/fail-38.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_O80SK2/bookmarks/parse/fail-38.xbel/.dirs/system-config2 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_O80SK2/bookmarks/parse/fail-38.xbel/.dirs/config 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_O80SK2/bookmarks/parse/fail-38.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_O80SK2/bookmarks/parse/fail-38.xbel/.dirs/system-data2 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_O80SK2/bookmarks/parse/fail-38.xbel/.dirs/data 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_O80SK2/bookmarks/parse/fail-38.xbel/.dirs/state 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_O80SK2/bookmarks/parse/fail-38.xbel/.dirs/runtime 1540s ok 50 /bookmarks/parse/fail-38.xbel 1540s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_O80SK2/bookmarks/parse/fail-07.xbel/.dirs/home 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_O80SK2/bookmarks/parse/fail-07.xbel/.dirs/cache 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_O80SK2/bookmarks/parse/fail-07.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_O80SK2/bookmarks/parse/fail-07.xbel/.dirs/system-config2 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_O80SK2/bookmarks/parse/fail-07.xbel/.dirs/config 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_O80SK2/bookmarks/parse/fail-07.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_O80SK2/bookmarks/parse/fail-07.xbel/.dirs/system-data2 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_O80SK2/bookmarks/parse/fail-07.xbel/.dirs/data 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_O80SK2/bookmarks/parse/fail-07.xbel/.dirs/state 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_O80SK2/bookmarks/parse/fail-07.xbel/.dirs/runtime 1540s ok 51 /bookmarks/parse/fail-07.xbel 1540s # End of parse tests 1540s # Start of copy tests 1540s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_O80SK2/bookmarks/copy/fail-19.xbel/.dirs/home 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_O80SK2/bookmarks/copy/fail-19.xbel/.dirs/cache 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_O80SK2/bookmarks/copy/fail-19.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_O80SK2/bookmarks/copy/fail-19.xbel/.dirs/system-config2 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_O80SK2/bookmarks/copy/fail-19.xbel/.dirs/config 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_O80SK2/bookmarks/copy/fail-19.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_O80SK2/bookmarks/copy/fail-19.xbel/.dirs/system-data2 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_O80SK2/bookmarks/copy/fail-19.xbel/.dirs/data 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_O80SK2/bookmarks/copy/fail-19.xbel/.dirs/state 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_O80SK2/bookmarks/copy/fail-19.xbel/.dirs/runtime 1540s ok 52 /bookmarks/copy/fail-19.xbel 1540s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_O80SK2/bookmarks/copy/fail-04.xbel/.dirs/home 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_O80SK2/bookmarks/copy/fail-04.xbel/.dirs/cache 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_O80SK2/bookmarks/copy/fail-04.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_O80SK2/bookmarks/copy/fail-04.xbel/.dirs/system-config2 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_O80SK2/bookmarks/copy/fail-04.xbel/.dirs/config 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_O80SK2/bookmarks/copy/fail-04.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_O80SK2/bookmarks/copy/fail-04.xbel/.dirs/system-data2 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_O80SK2/bookmarks/copy/fail-04.xbel/.dirs/data 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_O80SK2/bookmarks/copy/fail-04.xbel/.dirs/state 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_O80SK2/bookmarks/copy/fail-04.xbel/.dirs/runtime 1540s ok 53 /bookmarks/copy/fail-04.xbel 1540s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_O80SK2/bookmarks/copy/fail-18.xbel/.dirs/home 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_O80SK2/bookmarks/copy/fail-18.xbel/.dirs/cache 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_O80SK2/bookmarks/copy/fail-18.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_O80SK2/bookmarks/copy/fail-18.xbel/.dirs/system-config2 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_O80SK2/bookmarks/copy/fail-18.xbel/.dirs/config 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_O80SK2/bookmarks/copy/fail-18.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_O80SK2/bookmarks/copy/fail-18.xbel/.dirs/system-data2 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_O80SK2/bookmarks/copy/fail-18.xbel/.dirs/data 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_O80SK2/bookmarks/copy/fail-18.xbel/.dirs/state 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_O80SK2/bookmarks/copy/fail-18.xbel/.dirs/runtime 1540s ok 54 /bookmarks/copy/fail-18.xbel 1540s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_O80SK2/bookmarks/copy/valid-01.xbel/.dirs/home 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_O80SK2/bookmarks/copy/valid-01.xbel/.dirs/cache 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_O80SK2/bookmarks/copy/valid-01.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_O80SK2/bookmarks/copy/valid-01.xbel/.dirs/system-config2 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_O80SK2/bookmarks/copy/valid-01.xbel/.dirs/config 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_O80SK2/bookmarks/copy/valid-01.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_O80SK2/bookmarks/copy/valid-01.xbel/.dirs/system-data2 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_O80SK2/bookmarks/copy/valid-01.xbel/.dirs/data 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_O80SK2/bookmarks/copy/valid-01.xbel/.dirs/state 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_O80SK2/bookmarks/copy/valid-01.xbel/.dirs/runtime 1540s ok 55 /bookmarks/copy/valid-01.xbel 1540s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_O80SK2/bookmarks/copy/fail-08.xbel/.dirs/home 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_O80SK2/bookmarks/copy/fail-08.xbel/.dirs/cache 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_O80SK2/bookmarks/copy/fail-08.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_O80SK2/bookmarks/copy/fail-08.xbel/.dirs/system-config2 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_O80SK2/bookmarks/copy/fail-08.xbel/.dirs/config 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_O80SK2/bookmarks/copy/fail-08.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_O80SK2/bookmarks/copy/fail-08.xbel/.dirs/system-data2 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_O80SK2/bookmarks/copy/fail-08.xbel/.dirs/data 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_O80SK2/bookmarks/copy/fail-08.xbel/.dirs/state 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_O80SK2/bookmarks/copy/fail-08.xbel/.dirs/runtime 1540s ok 56 /bookmarks/copy/fail-08.xbel 1540s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_O80SK2/bookmarks/copy/fail-40.xbel/.dirs/home 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_O80SK2/bookmarks/copy/fail-40.xbel/.dirs/cache 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_O80SK2/bookmarks/copy/fail-40.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_O80SK2/bookmarks/copy/fail-40.xbel/.dirs/system-config2 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_O80SK2/bookmarks/copy/fail-40.xbel/.dirs/config 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_O80SK2/bookmarks/copy/fail-40.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_O80SK2/bookmarks/copy/fail-40.xbel/.dirs/system-data2 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_O80SK2/bookmarks/copy/fail-40.xbel/.dirs/data 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_O80SK2/bookmarks/copy/fail-40.xbel/.dirs/state 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_O80SK2/bookmarks/copy/fail-40.xbel/.dirs/runtime 1540s ok 57 /bookmarks/copy/fail-40.xbel 1540s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_O80SK2/bookmarks/copy/fail-23.xbel/.dirs/home 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_O80SK2/bookmarks/copy/fail-23.xbel/.dirs/cache 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_O80SK2/bookmarks/copy/fail-23.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_O80SK2/bookmarks/copy/fail-23.xbel/.dirs/system-config2 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_O80SK2/bookmarks/copy/fail-23.xbel/.dirs/config 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_O80SK2/bookmarks/copy/fail-23.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_O80SK2/bookmarks/copy/fail-23.xbel/.dirs/system-data2 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_O80SK2/bookmarks/copy/fail-23.xbel/.dirs/data 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_O80SK2/bookmarks/copy/fail-23.xbel/.dirs/state 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_O80SK2/bookmarks/copy/fail-23.xbel/.dirs/runtime 1540s ok 58 /bookmarks/copy/fail-23.xbel 1540s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_O80SK2/bookmarks/copy/fail-24.xbel/.dirs/home 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_O80SK2/bookmarks/copy/fail-24.xbel/.dirs/cache 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_O80SK2/bookmarks/copy/fail-24.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_O80SK2/bookmarks/copy/fail-24.xbel/.dirs/system-config2 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_O80SK2/bookmarks/copy/fail-24.xbel/.dirs/config 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_O80SK2/bookmarks/copy/fail-24.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_O80SK2/bookmarks/copy/fail-24.xbel/.dirs/system-data2 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_O80SK2/bookmarks/copy/fail-24.xbel/.dirs/data 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_O80SK2/bookmarks/copy/fail-24.xbel/.dirs/state 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_O80SK2/bookmarks/copy/fail-24.xbel/.dirs/runtime 1540s ok 59 /bookmarks/copy/fail-24.xbel 1540s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_O80SK2/bookmarks/copy/fail-30.xbel/.dirs/home 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_O80SK2/bookmarks/copy/fail-30.xbel/.dirs/cache 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_O80SK2/bookmarks/copy/fail-30.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_O80SK2/bookmarks/copy/fail-30.xbel/.dirs/system-config2 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_O80SK2/bookmarks/copy/fail-30.xbel/.dirs/config 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_O80SK2/bookmarks/copy/fail-30.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_O80SK2/bookmarks/copy/fail-30.xbel/.dirs/system-data2 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_O80SK2/bookmarks/copy/fail-30.xbel/.dirs/data 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_O80SK2/bookmarks/copy/fail-30.xbel/.dirs/state 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_O80SK2/bookmarks/copy/fail-30.xbel/.dirs/runtime 1540s ok 60 /bookmarks/copy/fail-30.xbel 1540s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_O80SK2/bookmarks/copy/fail-28.xbel/.dirs/home 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_O80SK2/bookmarks/copy/fail-28.xbel/.dirs/cache 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_O80SK2/bookmarks/copy/fail-28.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_O80SK2/bookmarks/copy/fail-28.xbel/.dirs/system-config2 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_O80SK2/bookmarks/copy/fail-28.xbel/.dirs/config 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_O80SK2/bookmarks/copy/fail-28.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_O80SK2/bookmarks/copy/fail-28.xbel/.dirs/system-data2 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_O80SK2/bookmarks/copy/fail-28.xbel/.dirs/data 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_O80SK2/bookmarks/copy/fail-28.xbel/.dirs/state 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_O80SK2/bookmarks/copy/fail-28.xbel/.dirs/runtime 1540s ok 61 /bookmarks/copy/fail-28.xbel 1540s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_O80SK2/bookmarks/copy/fail-03.xbel/.dirs/home 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_O80SK2/bookmarks/copy/fail-03.xbel/.dirs/cache 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_O80SK2/bookmarks/copy/fail-03.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_O80SK2/bookmarks/copy/fail-03.xbel/.dirs/system-config2 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_O80SK2/bookmarks/copy/fail-03.xbel/.dirs/config 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_O80SK2/bookmarks/copy/fail-03.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_O80SK2/bookmarks/copy/fail-03.xbel/.dirs/system-data2 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_O80SK2/bookmarks/copy/fail-03.xbel/.dirs/data 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_O80SK2/bookmarks/copy/fail-03.xbel/.dirs/state 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_O80SK2/bookmarks/copy/fail-03.xbel/.dirs/runtime 1540s ok 62 /bookmarks/copy/fail-03.xbel 1540s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_O80SK2/bookmarks/copy/fail-33.xbel/.dirs/home 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_O80SK2/bookmarks/copy/fail-33.xbel/.dirs/cache 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_O80SK2/bookmarks/copy/fail-33.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_O80SK2/bookmarks/copy/fail-33.xbel/.dirs/system-config2 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_O80SK2/bookmarks/copy/fail-33.xbel/.dirs/config 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_O80SK2/bookmarks/copy/fail-33.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_O80SK2/bookmarks/copy/fail-33.xbel/.dirs/system-data2 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_O80SK2/bookmarks/copy/fail-33.xbel/.dirs/data 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_O80SK2/bookmarks/copy/fail-33.xbel/.dirs/state 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_O80SK2/bookmarks/copy/fail-33.xbel/.dirs/runtime 1540s ok 63 /bookmarks/copy/fail-33.xbel 1540s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_O80SK2/bookmarks/copy/fail-13.xbel/.dirs/home 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_O80SK2/bookmarks/copy/fail-13.xbel/.dirs/cache 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_O80SK2/bookmarks/copy/fail-13.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_O80SK2/bookmarks/copy/fail-13.xbel/.dirs/system-config2 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_O80SK2/bookmarks/copy/fail-13.xbel/.dirs/config 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_O80SK2/bookmarks/copy/fail-13.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_O80SK2/bookmarks/copy/fail-13.xbel/.dirs/system-data2 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_O80SK2/bookmarks/copy/fail-13.xbel/.dirs/data 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_O80SK2/bookmarks/copy/fail-13.xbel/.dirs/state 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_O80SK2/bookmarks/copy/fail-13.xbel/.dirs/runtime 1540s ok 64 /bookmarks/copy/fail-13.xbel 1540s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_O80SK2/bookmarks/copy/fail-35.xbel/.dirs/home 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_O80SK2/bookmarks/copy/fail-35.xbel/.dirs/cache 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_O80SK2/bookmarks/copy/fail-35.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_O80SK2/bookmarks/copy/fail-35.xbel/.dirs/system-config2 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_O80SK2/bookmarks/copy/fail-35.xbel/.dirs/config 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_O80SK2/bookmarks/copy/fail-35.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_O80SK2/bookmarks/copy/fail-35.xbel/.dirs/system-data2 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_O80SK2/bookmarks/copy/fail-35.xbel/.dirs/data 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_O80SK2/bookmarks/copy/fail-35.xbel/.dirs/state 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_O80SK2/bookmarks/copy/fail-35.xbel/.dirs/runtime 1540s ok 65 /bookmarks/copy/fail-35.xbel 1540s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_O80SK2/bookmarks/copy/fail-06.xbel/.dirs/home 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_O80SK2/bookmarks/copy/fail-06.xbel/.dirs/cache 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_O80SK2/bookmarks/copy/fail-06.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_O80SK2/bookmarks/copy/fail-06.xbel/.dirs/system-config2 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_O80SK2/bookmarks/copy/fail-06.xbel/.dirs/config 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_O80SK2/bookmarks/copy/fail-06.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_O80SK2/bookmarks/copy/fail-06.xbel/.dirs/system-data2 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_O80SK2/bookmarks/copy/fail-06.xbel/.dirs/data 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_O80SK2/bookmarks/copy/fail-06.xbel/.dirs/state 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_O80SK2/bookmarks/copy/fail-06.xbel/.dirs/runtime 1540s ok 66 /bookmarks/copy/fail-06.xbel 1540s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_O80SK2/bookmarks/copy/fail-09.xbel/.dirs/home 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_O80SK2/bookmarks/copy/fail-09.xbel/.dirs/cache 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_O80SK2/bookmarks/copy/fail-09.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_O80SK2/bookmarks/copy/fail-09.xbel/.dirs/system-config2 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_O80SK2/bookmarks/copy/fail-09.xbel/.dirs/config 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_O80SK2/bookmarks/copy/fail-09.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_O80SK2/bookmarks/copy/fail-09.xbel/.dirs/system-data2 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_O80SK2/bookmarks/copy/fail-09.xbel/.dirs/data 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_O80SK2/bookmarks/copy/fail-09.xbel/.dirs/state 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_O80SK2/bookmarks/copy/fail-09.xbel/.dirs/runtime 1540s ok 67 /bookmarks/copy/fail-09.xbel 1540s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_O80SK2/bookmarks/copy/fail-10.xbel/.dirs/home 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_O80SK2/bookmarks/copy/fail-10.xbel/.dirs/cache 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_O80SK2/bookmarks/copy/fail-10.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_O80SK2/bookmarks/copy/fail-10.xbel/.dirs/system-config2 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_O80SK2/bookmarks/copy/fail-10.xbel/.dirs/config 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_O80SK2/bookmarks/copy/fail-10.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_O80SK2/bookmarks/copy/fail-10.xbel/.dirs/system-data2 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_O80SK2/bookmarks/copy/fail-10.xbel/.dirs/data 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_O80SK2/bookmarks/copy/fail-10.xbel/.dirs/state 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_O80SK2/bookmarks/copy/fail-10.xbel/.dirs/runtime 1540s ok 68 /bookmarks/copy/fail-10.xbel 1540s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_O80SK2/bookmarks/copy/fail-17.xbel/.dirs/home 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_O80SK2/bookmarks/copy/fail-17.xbel/.dirs/cache 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_O80SK2/bookmarks/copy/fail-17.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_O80SK2/bookmarks/copy/fail-17.xbel/.dirs/system-config2 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_O80SK2/bookmarks/copy/fail-17.xbel/.dirs/config 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_O80SK2/bookmarks/copy/fail-17.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_O80SK2/bookmarks/copy/fail-17.xbel/.dirs/system-data2 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_O80SK2/bookmarks/copy/fail-17.xbel/.dirs/data 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_O80SK2/bookmarks/copy/fail-17.xbel/.dirs/state 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_O80SK2/bookmarks/copy/fail-17.xbel/.dirs/runtime 1540s ok 69 /bookmarks/copy/fail-17.xbel 1540s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_O80SK2/bookmarks/copy/fail-12.xbel/.dirs/home 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_O80SK2/bookmarks/copy/fail-12.xbel/.dirs/cache 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_O80SK2/bookmarks/copy/fail-12.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_O80SK2/bookmarks/copy/fail-12.xbel/.dirs/system-config2 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_O80SK2/bookmarks/copy/fail-12.xbel/.dirs/config 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_O80SK2/bookmarks/copy/fail-12.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_O80SK2/bookmarks/copy/fail-12.xbel/.dirs/system-data2 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_O80SK2/bookmarks/copy/fail-12.xbel/.dirs/data 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_O80SK2/bookmarks/copy/fail-12.xbel/.dirs/state 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_O80SK2/bookmarks/copy/fail-12.xbel/.dirs/runtime 1540s ok 70 /bookmarks/copy/fail-12.xbel 1540s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_O80SK2/bookmarks/copy/fail-02.xbel/.dirs/home 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_O80SK2/bookmarks/copy/fail-02.xbel/.dirs/cache 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_O80SK2/bookmarks/copy/fail-02.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_O80SK2/bookmarks/copy/fail-02.xbel/.dirs/system-config2 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_O80SK2/bookmarks/copy/fail-02.xbel/.dirs/config 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_O80SK2/bookmarks/copy/fail-02.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_O80SK2/bookmarks/copy/fail-02.xbel/.dirs/system-data2 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_O80SK2/bookmarks/copy/fail-02.xbel/.dirs/data 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_O80SK2/bookmarks/copy/fail-02.xbel/.dirs/state 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_O80SK2/bookmarks/copy/fail-02.xbel/.dirs/runtime 1540s ok 71 /bookmarks/copy/fail-02.xbel 1540s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_O80SK2/bookmarks/copy/fail-05.xbel/.dirs/home 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_O80SK2/bookmarks/copy/fail-05.xbel/.dirs/cache 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_O80SK2/bookmarks/copy/fail-05.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_O80SK2/bookmarks/copy/fail-05.xbel/.dirs/system-config2 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_O80SK2/bookmarks/copy/fail-05.xbel/.dirs/config 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_O80SK2/bookmarks/copy/fail-05.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_O80SK2/bookmarks/copy/fail-05.xbel/.dirs/system-data2 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_O80SK2/bookmarks/copy/fail-05.xbel/.dirs/data 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_O80SK2/bookmarks/copy/fail-05.xbel/.dirs/state 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_O80SK2/bookmarks/copy/fail-05.xbel/.dirs/runtime 1540s ok 72 /bookmarks/copy/fail-05.xbel 1540s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_O80SK2/bookmarks/copy/fail-26.xbel/.dirs/home 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_O80SK2/bookmarks/copy/fail-26.xbel/.dirs/cache 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_O80SK2/bookmarks/copy/fail-26.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_O80SK2/bookmarks/copy/fail-26.xbel/.dirs/system-config2 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_O80SK2/bookmarks/copy/fail-26.xbel/.dirs/config 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_O80SK2/bookmarks/copy/fail-26.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_O80SK2/bookmarks/copy/fail-26.xbel/.dirs/system-data2 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_O80SK2/bookmarks/copy/fail-26.xbel/.dirs/data 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_O80SK2/bookmarks/copy/fail-26.xbel/.dirs/state 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_O80SK2/bookmarks/copy/fail-26.xbel/.dirs/runtime 1540s ok 73 /bookmarks/copy/fail-26.xbel 1540s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_O80SK2/bookmarks/copy/fail-01.xbel/.dirs/home 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_O80SK2/bookmarks/copy/fail-01.xbel/.dirs/cache 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_O80SK2/bookmarks/copy/fail-01.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_O80SK2/bookmarks/copy/fail-01.xbel/.dirs/system-config2 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_O80SK2/bookmarks/copy/fail-01.xbel/.dirs/config 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_O80SK2/bookmarks/copy/fail-01.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_O80SK2/bookmarks/copy/fail-01.xbel/.dirs/system-data2 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_O80SK2/bookmarks/copy/fail-01.xbel/.dirs/data 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_O80SK2/bookmarks/copy/fail-01.xbel/.dirs/state 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_O80SK2/bookmarks/copy/fail-01.xbel/.dirs/runtime 1540s ok 74 /bookmarks/copy/fail-01.xbel 1540s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_O80SK2/bookmarks/copy/fail-39.xbel/.dirs/home 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_O80SK2/bookmarks/copy/fail-39.xbel/.dirs/cache 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_O80SK2/bookmarks/copy/fail-39.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_O80SK2/bookmarks/copy/fail-39.xbel/.dirs/system-config2 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_O80SK2/bookmarks/copy/fail-39.xbel/.dirs/config 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_O80SK2/bookmarks/copy/fail-39.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_O80SK2/bookmarks/copy/fail-39.xbel/.dirs/system-data2 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_O80SK2/bookmarks/copy/fail-39.xbel/.dirs/data 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_O80SK2/bookmarks/copy/fail-39.xbel/.dirs/state 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_O80SK2/bookmarks/copy/fail-39.xbel/.dirs/runtime 1540s ok 75 /bookmarks/copy/fail-39.xbel 1540s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_O80SK2/bookmarks/copy/fail-27.xbel/.dirs/home 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_O80SK2/bookmarks/copy/fail-27.xbel/.dirs/cache 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_O80SK2/bookmarks/copy/fail-27.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_O80SK2/bookmarks/copy/fail-27.xbel/.dirs/system-config2 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_O80SK2/bookmarks/copy/fail-27.xbel/.dirs/config 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_O80SK2/bookmarks/copy/fail-27.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_O80SK2/bookmarks/copy/fail-27.xbel/.dirs/system-data2 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_O80SK2/bookmarks/copy/fail-27.xbel/.dirs/data 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_O80SK2/bookmarks/copy/fail-27.xbel/.dirs/state 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_O80SK2/bookmarks/copy/fail-27.xbel/.dirs/runtime 1540s ok 76 /bookmarks/copy/fail-27.xbel 1540s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_O80SK2/bookmarks/copy/fail-25.xbel/.dirs/home 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_O80SK2/bookmarks/copy/fail-25.xbel/.dirs/cache 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_O80SK2/bookmarks/copy/fail-25.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_O80SK2/bookmarks/copy/fail-25.xbel/.dirs/system-config2 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_O80SK2/bookmarks/copy/fail-25.xbel/.dirs/config 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_O80SK2/bookmarks/copy/fail-25.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_O80SK2/bookmarks/copy/fail-25.xbel/.dirs/system-data2 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_O80SK2/bookmarks/copy/fail-25.xbel/.dirs/data 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_O80SK2/bookmarks/copy/fail-25.xbel/.dirs/state 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_O80SK2/bookmarks/copy/fail-25.xbel/.dirs/runtime 1540s ok 77 /bookmarks/copy/fail-25.xbel 1540s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_O80SK2/bookmarks/copy/fail-41.xbel/.dirs/home 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_O80SK2/bookmarks/copy/fail-41.xbel/.dirs/cache 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_O80SK2/bookmarks/copy/fail-41.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_O80SK2/bookmarks/copy/fail-41.xbel/.dirs/system-config2 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_O80SK2/bookmarks/copy/fail-41.xbel/.dirs/config 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_O80SK2/bookmarks/copy/fail-41.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_O80SK2/bookmarks/copy/fail-41.xbel/.dirs/system-data2 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_O80SK2/bookmarks/copy/fail-41.xbel/.dirs/data 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_O80SK2/bookmarks/copy/fail-41.xbel/.dirs/state 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_O80SK2/bookmarks/copy/fail-41.xbel/.dirs/runtime 1540s ok 78 /bookmarks/copy/fail-41.xbel 1540s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_O80SK2/bookmarks/copy/fail-42.xbel/.dirs/home 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_O80SK2/bookmarks/copy/fail-42.xbel/.dirs/cache 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_O80SK2/bookmarks/copy/fail-42.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_O80SK2/bookmarks/copy/fail-42.xbel/.dirs/system-config2 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_O80SK2/bookmarks/copy/fail-42.xbel/.dirs/config 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_O80SK2/bookmarks/copy/fail-42.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_O80SK2/bookmarks/copy/fail-42.xbel/.dirs/system-data2 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_O80SK2/bookmarks/copy/fail-42.xbel/.dirs/data 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_O80SK2/bookmarks/copy/fail-42.xbel/.dirs/state 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_O80SK2/bookmarks/copy/fail-42.xbel/.dirs/runtime 1540s ok 79 /bookmarks/copy/fail-42.xbel 1540s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_O80SK2/bookmarks/copy/fail-15.xbel/.dirs/home 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_O80SK2/bookmarks/copy/fail-15.xbel/.dirs/cache 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_O80SK2/bookmarks/copy/fail-15.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_O80SK2/bookmarks/copy/fail-15.xbel/.dirs/system-config2 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_O80SK2/bookmarks/copy/fail-15.xbel/.dirs/config 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_O80SK2/bookmarks/copy/fail-15.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_O80SK2/bookmarks/copy/fail-15.xbel/.dirs/system-data2 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_O80SK2/bookmarks/copy/fail-15.xbel/.dirs/data 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_O80SK2/bookmarks/copy/fail-15.xbel/.dirs/state 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_O80SK2/bookmarks/copy/fail-15.xbel/.dirs/runtime 1540s ok 80 /bookmarks/copy/fail-15.xbel 1540s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_O80SK2/bookmarks/copy/fail-32.xbel/.dirs/home 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_O80SK2/bookmarks/copy/fail-32.xbel/.dirs/cache 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_O80SK2/bookmarks/copy/fail-32.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_O80SK2/bookmarks/copy/fail-32.xbel/.dirs/system-config2 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_O80SK2/bookmarks/copy/fail-32.xbel/.dirs/config 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_O80SK2/bookmarks/copy/fail-32.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_O80SK2/bookmarks/copy/fail-32.xbel/.dirs/system-data2 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_O80SK2/bookmarks/copy/fail-32.xbel/.dirs/data 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_O80SK2/bookmarks/copy/fail-32.xbel/.dirs/state 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_O80SK2/bookmarks/copy/fail-32.xbel/.dirs/runtime 1540s ok 81 /bookmarks/copy/fail-32.xbel 1540s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_O80SK2/bookmarks/copy/fail-20.xbel/.dirs/home 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_O80SK2/bookmarks/copy/fail-20.xbel/.dirs/cache 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_O80SK2/bookmarks/copy/fail-20.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_O80SK2/bookmarks/copy/fail-20.xbel/.dirs/system-config2 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_O80SK2/bookmarks/copy/fail-20.xbel/.dirs/config 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_O80SK2/bookmarks/copy/fail-20.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_O80SK2/bookmarks/copy/fail-20.xbel/.dirs/system-data2 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_O80SK2/bookmarks/copy/fail-20.xbel/.dirs/data 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_O80SK2/bookmarks/copy/fail-20.xbel/.dirs/state 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_O80SK2/bookmarks/copy/fail-20.xbel/.dirs/runtime 1540s ok 82 /bookmarks/copy/fail-20.xbel 1540s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_O80SK2/bookmarks/copy/fail-34.xbel/.dirs/home 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_O80SK2/bookmarks/copy/fail-34.xbel/.dirs/cache 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_O80SK2/bookmarks/copy/fail-34.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_O80SK2/bookmarks/copy/fail-34.xbel/.dirs/system-config2 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_O80SK2/bookmarks/copy/fail-34.xbel/.dirs/config 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_O80SK2/bookmarks/copy/fail-34.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_O80SK2/bookmarks/copy/fail-34.xbel/.dirs/system-data2 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_O80SK2/bookmarks/copy/fail-34.xbel/.dirs/data 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_O80SK2/bookmarks/copy/fail-34.xbel/.dirs/state 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_O80SK2/bookmarks/copy/fail-34.xbel/.dirs/runtime 1540s ok 83 /bookmarks/copy/fail-34.xbel 1540s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_O80SK2/bookmarks/copy/fail-14.xbel/.dirs/home 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_O80SK2/bookmarks/copy/fail-14.xbel/.dirs/cache 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_O80SK2/bookmarks/copy/fail-14.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_O80SK2/bookmarks/copy/fail-14.xbel/.dirs/system-config2 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_O80SK2/bookmarks/copy/fail-14.xbel/.dirs/config 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_O80SK2/bookmarks/copy/fail-14.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_O80SK2/bookmarks/copy/fail-14.xbel/.dirs/system-data2 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_O80SK2/bookmarks/copy/fail-14.xbel/.dirs/data 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_O80SK2/bookmarks/copy/fail-14.xbel/.dirs/state 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_O80SK2/bookmarks/copy/fail-14.xbel/.dirs/runtime 1540s ok 84 /bookmarks/copy/fail-14.xbel 1540s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_O80SK2/bookmarks/copy/fail-31.xbel/.dirs/home 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_O80SK2/bookmarks/copy/fail-31.xbel/.dirs/cache 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_O80SK2/bookmarks/copy/fail-31.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_O80SK2/bookmarks/copy/fail-31.xbel/.dirs/system-config2 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_O80SK2/bookmarks/copy/fail-31.xbel/.dirs/config 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_O80SK2/bookmarks/copy/fail-31.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_O80SK2/bookmarks/copy/fail-31.xbel/.dirs/system-data2 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_O80SK2/bookmarks/copy/fail-31.xbel/.dirs/data 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_O80SK2/bookmarks/copy/fail-31.xbel/.dirs/state 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_O80SK2/bookmarks/copy/fail-31.xbel/.dirs/runtime 1540s ok 85 /bookmarks/copy/fail-31.xbel 1540s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_O80SK2/bookmarks/copy/fail-37.xbel/.dirs/home 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_O80SK2/bookmarks/copy/fail-37.xbel/.dirs/cache 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_O80SK2/bookmarks/copy/fail-37.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_O80SK2/bookmarks/copy/fail-37.xbel/.dirs/system-config2 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_O80SK2/bookmarks/copy/fail-37.xbel/.dirs/config 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_O80SK2/bookmarks/copy/fail-37.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_O80SK2/bookmarks/copy/fail-37.xbel/.dirs/system-data2 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_O80SK2/bookmarks/copy/fail-37.xbel/.dirs/data 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_O80SK2/bookmarks/copy/fail-37.xbel/.dirs/state 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_O80SK2/bookmarks/copy/fail-37.xbel/.dirs/runtime 1540s ok 86 /bookmarks/copy/fail-37.xbel 1540s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_O80SK2/bookmarks/copy/fail-22.xbel/.dirs/home 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_O80SK2/bookmarks/copy/fail-22.xbel/.dirs/cache 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_O80SK2/bookmarks/copy/fail-22.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_O80SK2/bookmarks/copy/fail-22.xbel/.dirs/system-config2 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_O80SK2/bookmarks/copy/fail-22.xbel/.dirs/config 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_O80SK2/bookmarks/copy/fail-22.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_O80SK2/bookmarks/copy/fail-22.xbel/.dirs/system-data2 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_O80SK2/bookmarks/copy/fail-22.xbel/.dirs/data 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_O80SK2/bookmarks/copy/fail-22.xbel/.dirs/state 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_O80SK2/bookmarks/copy/fail-22.xbel/.dirs/runtime 1540s ok 87 /bookmarks/copy/fail-22.xbel 1540s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_O80SK2/bookmarks/copy/fail-21.xbel/.dirs/home 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_O80SK2/bookmarks/copy/fail-21.xbel/.dirs/cache 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_O80SK2/bookmarks/copy/fail-21.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_O80SK2/bookmarks/copy/fail-21.xbel/.dirs/system-config2 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_O80SK2/bookmarks/copy/fail-21.xbel/.dirs/config 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_O80SK2/bookmarks/copy/fail-21.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_O80SK2/bookmarks/copy/fail-21.xbel/.dirs/system-data2 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_O80SK2/bookmarks/copy/fail-21.xbel/.dirs/data 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_O80SK2/bookmarks/copy/fail-21.xbel/.dirs/state 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_O80SK2/bookmarks/copy/fail-21.xbel/.dirs/runtime 1540s ok 88 /bookmarks/copy/fail-21.xbel 1540s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_O80SK2/bookmarks/copy/fail-36.xbel/.dirs/home 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_O80SK2/bookmarks/copy/fail-36.xbel/.dirs/cache 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_O80SK2/bookmarks/copy/fail-36.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_O80SK2/bookmarks/copy/fail-36.xbel/.dirs/system-config2 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_O80SK2/bookmarks/copy/fail-36.xbel/.dirs/config 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_O80SK2/bookmarks/copy/fail-36.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_O80SK2/bookmarks/copy/fail-36.xbel/.dirs/system-data2 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_O80SK2/bookmarks/copy/fail-36.xbel/.dirs/data 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_O80SK2/bookmarks/copy/fail-36.xbel/.dirs/state 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_O80SK2/bookmarks/copy/fail-36.xbel/.dirs/runtime 1540s ok 89 /bookmarks/copy/fail-36.xbel 1540s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_O80SK2/bookmarks/copy/valid-03.xbel/.dirs/home 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_O80SK2/bookmarks/copy/valid-03.xbel/.dirs/cache 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_O80SK2/bookmarks/copy/valid-03.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_O80SK2/bookmarks/copy/valid-03.xbel/.dirs/system-config2 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_O80SK2/bookmarks/copy/valid-03.xbel/.dirs/config 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_O80SK2/bookmarks/copy/valid-03.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_O80SK2/bookmarks/copy/valid-03.xbel/.dirs/system-data2 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_O80SK2/bookmarks/copy/valid-03.xbel/.dirs/data 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_O80SK2/bookmarks/copy/valid-03.xbel/.dirs/state 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_O80SK2/bookmarks/copy/valid-03.xbel/.dirs/runtime 1540s ok 90 /bookmarks/copy/valid-03.xbel 1540s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_O80SK2/bookmarks/copy/fail-16.xbel/.dirs/home 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_O80SK2/bookmarks/copy/fail-16.xbel/.dirs/cache 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_O80SK2/bookmarks/copy/fail-16.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_O80SK2/bookmarks/copy/fail-16.xbel/.dirs/system-config2 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_O80SK2/bookmarks/copy/fail-16.xbel/.dirs/config 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_O80SK2/bookmarks/copy/fail-16.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_O80SK2/bookmarks/copy/fail-16.xbel/.dirs/system-data2 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_O80SK2/bookmarks/copy/fail-16.xbel/.dirs/data 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_O80SK2/bookmarks/copy/fail-16.xbel/.dirs/state 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_O80SK2/bookmarks/copy/fail-16.xbel/.dirs/runtime 1540s ok 91 /bookmarks/copy/fail-16.xbel 1540s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_O80SK2/bookmarks/copy/fail-29.xbel/.dirs/home 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_O80SK2/bookmarks/copy/fail-29.xbel/.dirs/cache 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_O80SK2/bookmarks/copy/fail-29.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_O80SK2/bookmarks/copy/fail-29.xbel/.dirs/system-config2 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_O80SK2/bookmarks/copy/fail-29.xbel/.dirs/config 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_O80SK2/bookmarks/copy/fail-29.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_O80SK2/bookmarks/copy/fail-29.xbel/.dirs/system-data2 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_O80SK2/bookmarks/copy/fail-29.xbel/.dirs/data 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_O80SK2/bookmarks/copy/fail-29.xbel/.dirs/state 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_O80SK2/bookmarks/copy/fail-29.xbel/.dirs/runtime 1540s ok 92 /bookmarks/copy/fail-29.xbel 1540s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_O80SK2/bookmarks/copy/fail-11.xbel/.dirs/home 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_O80SK2/bookmarks/copy/fail-11.xbel/.dirs/cache 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_O80SK2/bookmarks/copy/fail-11.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_O80SK2/bookmarks/copy/fail-11.xbel/.dirs/system-config2 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_O80SK2/bookmarks/copy/fail-11.xbel/.dirs/config 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_O80SK2/bookmarks/copy/fail-11.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_O80SK2/bookmarks/copy/fail-11.xbel/.dirs/system-data2 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_O80SK2/bookmarks/copy/fail-11.xbel/.dirs/data 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_O80SK2/bookmarks/copy/fail-11.xbel/.dirs/state 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_O80SK2/bookmarks/copy/fail-11.xbel/.dirs/runtime 1540s ok 93 /bookmarks/copy/fail-11.xbel 1540s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_O80SK2/bookmarks/copy/valid-02.xbel/.dirs/home 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_O80SK2/bookmarks/copy/valid-02.xbel/.dirs/cache 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_O80SK2/bookmarks/copy/valid-02.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_O80SK2/bookmarks/copy/valid-02.xbel/.dirs/system-config2 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_O80SK2/bookmarks/copy/valid-02.xbel/.dirs/config 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_O80SK2/bookmarks/copy/valid-02.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_O80SK2/bookmarks/copy/valid-02.xbel/.dirs/system-data2 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_O80SK2/bookmarks/copy/valid-02.xbel/.dirs/data 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_O80SK2/bookmarks/copy/valid-02.xbel/.dirs/state 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_O80SK2/bookmarks/copy/valid-02.xbel/.dirs/runtime 1540s ok 94 /bookmarks/copy/valid-02.xbel 1540s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_O80SK2/bookmarks/copy/fail-38.xbel/.dirs/home 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_O80SK2/bookmarks/copy/fail-38.xbel/.dirs/cache 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_O80SK2/bookmarks/copy/fail-38.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_O80SK2/bookmarks/copy/fail-38.xbel/.dirs/system-config2 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_O80SK2/bookmarks/copy/fail-38.xbel/.dirs/config 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_O80SK2/bookmarks/copy/fail-38.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_O80SK2/bookmarks/copy/fail-38.xbel/.dirs/system-data2 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_O80SK2/bookmarks/copy/fail-38.xbel/.dirs/data 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_O80SK2/bookmarks/copy/fail-38.xbel/.dirs/state 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_O80SK2/bookmarks/copy/fail-38.xbel/.dirs/runtime 1540s ok 95 /bookmarks/copy/fail-38.xbel 1540s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_O80SK2/bookmarks/copy/fail-07.xbel/.dirs/home 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_O80SK2/bookmarks/copy/fail-07.xbel/.dirs/cache 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_O80SK2/bookmarks/copy/fail-07.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_O80SK2/bookmarks/copy/fail-07.xbel/.dirs/system-config2 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_O80SK2/bookmarks/copy/fail-07.xbel/.dirs/config 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_O80SK2/bookmarks/copy/fail-07.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_O80SK2/bookmarks/copy/fail-07.xbel/.dirs/system-data2 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_O80SK2/bookmarks/copy/fail-07.xbel/.dirs/data 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_O80SK2/bookmarks/copy/fail-07.xbel/.dirs/state 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_O80SK2/bookmarks/copy/fail-07.xbel/.dirs/runtime 1540s ok 96 /bookmarks/copy/fail-07.xbel 1540s # End of copy tests 1540s # End of bookmarks tests 1540s ok - glib/bookmarkfile.test 1540s # Running test: glib/completion.test 1540s TAP version 13 1540s # random seed: R02S156bad11b1b4e6bf117dfc5193c1bf84 1540s 1..1 1540s # Start of completion tests 1540s ok 1 /completion/test-completion 1540s # End of completion tests 1540s ok - glib/completion.test 1540s # Running test: glib/socket-address.test 1540s TAP version 13 1540s # random seed: R02Sa587b5a8297f563e110d3f436f7c7c5e 1540s 1..2 1540s # Start of socket tests 1540s # Start of address tests 1540s # Start of unix tests 1540s ok 1 /socket/address/unix/construct 1540s ok 2 /socket/address/unix/to-string 1540s # End of unix tests 1540s # End of address tests 1540s # End of socket tests 1540s ok - glib/socket-address.test 1540s # Running test: glib/atomic-c-11.test 1540s TAP version 13 1540s # random seed: R02S52998bb1caf86552970b922714c212f0 1540s 1..2 1540s # Start of atomic tests 1540s ok 1 /atomic/types 1541s ok 2 /atomic/threaded 1541s # End of atomic tests 1541s ok - glib/atomic-c-11.test 1541s # Running test: glib/collate.test 1541s TAP version 13 1541s # random seed: R02S65234b711f172921b709dc5531013619 1541s 1..9 1541s # Start of unicode tests 1541s # Start of collate tests 1541s ok 1 /unicode/collate/0 1541s ok 2 /unicode/collate/1 1541s ok 3 /unicode/collate/2 1541s # End of collate tests 1541s # Start of collate-key tests 1541s ok 4 /unicode/collate-key/0 1541s ok 5 /unicode/collate-key/1 1541s ok 6 /unicode/collate-key/2 1541s # End of collate-key tests 1541s # Start of collate-filename tests 1541s ok 7 /unicode/collate-filename/0 1541s ok 8 /unicode/collate-filename/1 1541s ok 9 /unicode/collate-filename/2 1541s # End of collate-filename tests 1541s # End of unicode tests 1541s ok - glib/collate.test 1541s # Running test: glib/readwrite.test 1541s TAP version 13 1541s # random seed: R02S9f4921c73d4253ccda26862d89c263e4 1541s 1..3 1541s # Start of readwrite tests 1541s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 1541s ok 1 /readwrite/test_g_file_open_readwrite 1541s ok 2 /readwrite/test_g_file_create_readwrite 1541s ok 3 /readwrite/test_g_file_replace_readwrite 1541s # End of readwrite tests 1541s ok - glib/readwrite.test 1541s # Running test: glib/socket-listener.test 1541s TAP version 13 1541s # random seed: R02S7b1013c64d2efae72af54fa59a1c7cb2 1541s 1..1 1541s # Start of socket-listener tests 1541s ok 1 /socket-listener/event-signal 1541s # End of socket-listener tests 1541s ok - glib/socket-listener.test 1541s # Running test: glib/glistmodel.test 1541s TAP version 13 1541s # random seed: R02S4cab0307be99665f29dd149d6fa00c1e 1541s 1..18 1541s # Start of glistmodel tests 1541s # Start of store tests 1541s ok 1 /glistmodel/store/properties 1541s ok 2 /glistmodel/store/non-gobjects 1541s ok 3 /glistmodel/store/boundaries 1541s ok 4 /glistmodel/store/refcounts 1541s ok 5 /glistmodel/store/sorted 1541s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=795307 1541s ok 6 /glistmodel/store/splice-replace-middle 1541s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=795307 1541s ok 7 /glistmodel/store/splice-replace-all 1541s ok 8 /glistmodel/store/splice-noop 1541s ok 9 /glistmodel/store/splice-remove-multiple 1541s ok 10 /glistmodel/store/splice-add-multiple 1541s ok 11 /glistmodel/store/splice-wrong-type 1541s ok 12 /glistmodel/store/item-type 1541s ok 13 /glistmodel/store/remove-all 1541s ok 14 /glistmodel/store/sort 1541s ok 15 /glistmodel/store/get-item-cache 1541s ok 16 /glistmodel/store/items-changed 1541s ok 17 /glistmodel/store/past-end 1541s ok 18 /glistmodel/store/find 1541s # End of store tests 1541s # End of glistmodel tests 1541s ok - glib/glistmodel.test 1541s # Running test: glib/async-splice-output-stream.test 1541s TAP version 13 1541s # random seed: R02Sd6504ce6e1b1e60ae048d327ac631855 1541s 1..5 1541s # Start of async-splice tests 1541s ok 1 /async-splice/copy-chunks 1541s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 1541s ok 2 /async-splice/copy-chunks-threaded-input 1541s ok 3 /async-splice/copy-chunks-threaded-output 1541s ok 4 /async-splice/copy-chunks-threaded 1541s ok 5 /async-splice/cancelled 1541s # End of async-splice tests 1541s ok - glib/async-splice-output-stream.test 1541s # Running test: glib/utf8-performance.test 1541s TAP version 13 1541s # random seed: R02S79f2683fa1216da321b7e1889d9f051b 1541s 1..36 1541s # Start of utf8 tests 1541s # Start of perf tests 1541s # Start of get_char tests 1541s # max perf: inf MB/s 1541s ok 1 /utf8/perf/get_char/ascii 1541s # max perf: 67.0 MB/s 1541s ok 2 /utf8/perf/get_char/latin1 1541s # max perf: inf MB/s 1541s ok 3 /utf8/perf/get_char/cyrillic 1541s # max perf: 156.0 MB/s 1541s ok 4 /utf8/perf/get_char/han 1541s # End of get_char tests 1541s # Start of get_char-backwards tests 1541s # max perf: inf MB/s 1541s ok 5 /utf8/perf/get_char-backwards/ascii 1541s # max perf: inf MB/s 1541s ok 6 /utf8/perf/get_char-backwards/latin1 1541s # max perf: inf MB/s 1541s ok 7 /utf8/perf/get_char-backwards/cyrillic 1541s # max perf: inf MB/s 1541s ok 8 /utf8/perf/get_char-backwards/han 1541s # End of get_char-backwards tests 1541s # Start of get_char_validated tests 1541s # max perf: 43.0 MB/s 1541s ok 9 /utf8/perf/get_char_validated/ascii 1541s # max perf: 67.0 MB/s 1541s ok 10 /utf8/perf/get_char_validated/latin1 1541s # max perf: 160.0 MB/s 1541s ok 11 /utf8/perf/get_char_validated/cyrillic 1541s # max perf: 156.0 MB/s 1541s ok 12 /utf8/perf/get_char_validated/han 1541s # End of get_char_validated tests 1541s # Start of utf8_to_ucs4 tests 1541s # max perf: 43.0 MB/s 1541s ok 13 /utf8/perf/utf8_to_ucs4/ascii 1541s # max perf: 67.0 MB/s 1541s ok 14 /utf8/perf/utf8_to_ucs4/latin1 1541s # max perf: 160.0 MB/s 1541s ok 15 /utf8/perf/utf8_to_ucs4/cyrillic 1541s # max perf: inf MB/s 1541s ok 16 /utf8/perf/utf8_to_ucs4/han 1541s # End of utf8_to_ucs4 tests 1541s # Start of utf8_to_ucs4-sized tests 1541s # max perf: inf MB/s 1541s ok 17 /utf8/perf/utf8_to_ucs4-sized/ascii 1541s # max perf: inf MB/s 1541s ok 18 /utf8/perf/utf8_to_ucs4-sized/latin1 1541s # max perf: 160.0 MB/s 1541s ok 19 /utf8/perf/utf8_to_ucs4-sized/cyrillic 1541s # max perf: inf MB/s 1541s ok 20 /utf8/perf/utf8_to_ucs4-sized/han 1541s # End of utf8_to_ucs4-sized tests 1541s # Start of utf8_to_ucs4_fast tests 1541s # max perf: inf MB/s 1541s ok 21 /utf8/perf/utf8_to_ucs4_fast/ascii 1541s # max perf: inf MB/s 1541s ok 22 /utf8/perf/utf8_to_ucs4_fast/latin1 1541s # max perf: 160.0 MB/s 1541s ok 23 /utf8/perf/utf8_to_ucs4_fast/cyrillic 1541s # max perf: inf MB/s 1541s ok 24 /utf8/perf/utf8_to_ucs4_fast/han 1541s # End of utf8_to_ucs4_fast tests 1541s # Start of utf8_to_ucs4_fast-sized tests 1541s # max perf: inf MB/s 1541s ok 25 /utf8/perf/utf8_to_ucs4_fast-sized/ascii 1541s # max perf: inf MB/s 1541s ok 26 /utf8/perf/utf8_to_ucs4_fast-sized/latin1 1541s # max perf: 160.0 MB/s 1541s ok 27 /utf8/perf/utf8_to_ucs4_fast-sized/cyrillic 1541s # max perf: inf MB/s 1541s ok 28 /utf8/perf/utf8_to_ucs4_fast-sized/han 1541s # End of utf8_to_ucs4_fast-sized tests 1541s # Start of utf8_validate tests 1541s # max perf: inf MB/s 1541s ok 29 /utf8/perf/utf8_validate/ascii 1541s # max perf: inf MB/s 1541s ok 30 /utf8/perf/utf8_validate/latin1 1541s # max perf: inf MB/s 1541s ok 31 /utf8/perf/utf8_validate/cyrillic 1541s # max perf: inf MB/s 1541s ok 32 /utf8/perf/utf8_validate/han 1541s # End of utf8_validate tests 1541s # Start of utf8_validate-sized tests 1541s # max perf: inf MB/s 1541s ok 33 /utf8/perf/utf8_validate-sized/ascii 1541s # max perf: inf MB/s 1541s ok 34 /utf8/perf/utf8_validate-sized/latin1 1541s # max perf: 160.0 MB/s 1541s ok 35 /utf8/perf/utf8_validate-sized/cyrillic 1541s # max perf: inf MB/s 1541s ok 36 /utf8/perf/utf8_validate-sized/han 1541s # End of utf8_validate-sized tests 1541s # End of perf tests 1541s # End of utf8 tests 1541s ok - glib/utf8-performance.test 1541s # Running test: glib/trash.test 1541s TAP version 13 1541s # random seed: R02Se76210a5c254d191832df1f31f129df8 1541s 1..2 1541s # Start of trash tests 1541s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/251 1541s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 1541s # File: /tmp/test-trash1PSZK2 (parent st_dev: 2049) 1541s # Home: /home/ubuntu (st_dev: 2049) 1541s ok 1 /trash/not-supported # SKIP The file has to be on another filesystem than the home trash to run this test 1541s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1522 1541s # Target: /home/ubuntu/.local (mount: /) 1541s # Tmp: /tmp/test-trashJBTZK2 (mount: /) 1541s ok 2 /trash/symlinks # SKIP The tmp has to be on another mount than the home to run this test 1541s # End of trash tests 1541s ok - glib/trash.test 1541s # Running test: glib/credentials.test 1541s TAP version 13 1541s # random seed: R02Sb22488cdc1a5524341be49425e34ec69 1541s 1..1 1541s # Start of credentials tests 1541s # GCredentials:linux-ucred:pid=12765,uid=1000,gid=1000 1541s # GCredentials:linux-ucred:pid=12765,uid=0,gid=1000 1541s ok 1 /credentials/basic 1541s # End of credentials tests 1541s ok - glib/credentials.test 1541s # Running test: glib/relation.test 1541s TAP version 13 1541s # random seed: R02Se8dea03bcd6f9941d3e3a3dc0645df45 1541s 1..1 1541s # Start of glib tests 1541s ok 1 /glib/relation 1541s # End of glib tests 1541s ok - glib/relation.test 1541s # Running test: glib/gdbus-proxy-threads.test 1541s TAP version 13 1541s # random seed: R02S586e00d65fc5c601a677b173e8b3eede 1541s 1..1 1541s # Start of gdbus tests 1541s # Start of proxy tests 1541s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-proxy-threads_EM9ZK2/gdbus/proxy/vs-threads/.dirs/home 1541s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-proxy-threads_EM9ZK2/gdbus/proxy/vs-threads/.dirs/cache 1541s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-proxy-threads_EM9ZK2/gdbus/proxy/vs-threads/.dirs/system-config1:/tmp/test_gdbus-proxy-threads_EM9ZK2/gdbus/proxy/vs-threads/.dirs/system-config2 1541s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-proxy-threads_EM9ZK2/gdbus/proxy/vs-threads/.dirs/config 1541s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-proxy-threads_EM9ZK2/gdbus/proxy/vs-threads/.dirs/system-data1:/tmp/test_gdbus-proxy-threads_EM9ZK2/gdbus/proxy/vs-threads/.dirs/system-data2 1541s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-proxy-threads_EM9ZK2/gdbus/proxy/vs-threads/.dirs/data 1541s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-proxy-threads_EM9ZK2/gdbus/proxy/vs-threads/.dirs/state 1541s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-proxy-threads_EM9ZK2/gdbus/proxy/vs-threads/.dirs/runtime 1541s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1542s # Executing: glib/gdbus-proxy-threads.test 1543s ok 1 /gdbus/proxy/vs-threads 1543s # slow test /gdbus/proxy/vs-threads executed in 2.36 secs 1543s # End of proxy tests 1543s # End of gdbus tests 1543s cleaning up pid 12770 1543s ok - glib/gdbus-proxy-threads.test 1543s # Running test: glib/error.test 1543s TAP version 13 1543s # random seed: R02Sf701e362fc907d4165a222a2ffcef82e 1543s 1..3 1543s # Start of error tests 1543s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_error_0QWWK2/error/from-errno/.dirs/home 1543s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_error_0QWWK2/error/from-errno/.dirs/cache 1543s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_error_0QWWK2/error/from-errno/.dirs/system-config1:/tmp/test_error_0QWWK2/error/from-errno/.dirs/system-config2 1543s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_error_0QWWK2/error/from-errno/.dirs/config 1543s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_error_0QWWK2/error/from-errno/.dirs/system-data1:/tmp/test_error_0QWWK2/error/from-errno/.dirs/system-data2 1543s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_error_0QWWK2/error/from-errno/.dirs/data 1543s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_error_0QWWK2/error/from-errno/.dirs/state 1543s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_error_0QWWK2/error/from-errno/.dirs/runtime 1543s ok 1 /error/from-errno 1543s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_error_0QWWK2/error/from-file-error/.dirs/home 1543s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_error_0QWWK2/error/from-file-error/.dirs/cache 1543s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_error_0QWWK2/error/from-file-error/.dirs/system-config1:/tmp/test_error_0QWWK2/error/from-file-error/.dirs/system-config2 1543s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_error_0QWWK2/error/from-file-error/.dirs/config 1543s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_error_0QWWK2/error/from-file-error/.dirs/system-data1:/tmp/test_error_0QWWK2/error/from-file-error/.dirs/system-data2 1543s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_error_0QWWK2/error/from-file-error/.dirs/data 1543s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_error_0QWWK2/error/from-file-error/.dirs/state 1543s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_error_0QWWK2/error/from-file-error/.dirs/runtime 1543s ok 2 /error/from-file-error 1543s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_error_0QWWK2/error/from-win32-error/.dirs/home 1543s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_error_0QWWK2/error/from-win32-error/.dirs/cache 1543s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_error_0QWWK2/error/from-win32-error/.dirs/system-config1:/tmp/test_error_0QWWK2/error/from-win32-error/.dirs/system-config2 1543s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_error_0QWWK2/error/from-win32-error/.dirs/config 1543s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_error_0QWWK2/error/from-win32-error/.dirs/system-data1:/tmp/test_error_0QWWK2/error/from-win32-error/.dirs/system-data2 1543s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_error_0QWWK2/error/from-win32-error/.dirs/data 1543s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_error_0QWWK2/error/from-win32-error/.dirs/state 1543s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_error_0QWWK2/error/from-win32-error/.dirs/runtime 1543s ok 3 /error/from-win32-error # SKIP Windows error codes can only be checked on Windows 1543s # End of error tests 1543s ok - glib/error.test 1543s # Running test: glib/ifaceproperties.test 1543s TAP version 13 1543s # random seed: R02S1afef4109336929c52a06aed1d45ac64 1543s 1..7 1543s # Start of interface tests 1543s # Start of properties tests 1543s ok 1 /interface/properties/set 1543s ok 2 /interface/properties/notify 1543s ok 3 /interface/properties/find-overridden 1543s ok 4 /interface/properties/list-overridden 1543s ok 5 /interface/properties/find-interface 1543s ok 6 /interface/properties/list-interface 1543s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=637738 1543s ok 7 /interface/properties/not-overridden 1543s # End of properties tests 1543s # End of interface tests 1543s ok - glib/ifaceproperties.test 1543s # Running test: glib/function-info.test 1543s TAP version 13 1543s # random seed: R02S81091d977892c3b084f9725bebda48d5 1543s 1..1 1543s # Start of function-info tests 1543s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_function-info_VO3WK2/function-info/invoker/.dirs/home 1543s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_function-info_VO3WK2/function-info/invoker/.dirs/cache 1543s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_function-info_VO3WK2/function-info/invoker/.dirs/system-config1:/tmp/test_function-info_VO3WK2/function-info/invoker/.dirs/system-config2 1543s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_function-info_VO3WK2/function-info/invoker/.dirs/config 1543s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_function-info_VO3WK2/function-info/invoker/.dirs/system-data1:/tmp/test_function-info_VO3WK2/function-info/invoker/.dirs/system-data2 1543s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_function-info_VO3WK2/function-info/invoker/.dirs/data 1543s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_function-info_VO3WK2/function-info/invoker/.dirs/state 1543s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_function-info_VO3WK2/function-info/invoker/.dirs/runtime 1543s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1543s # /function-info/invoker summary: Test preparing a function invoker 1543s ok 1 /function-info/invoker 1543s # End of function-info tests 1543s ok - glib/function-info.test 1543s # Running test: glib/cache.test 1543s TAP version 13 1543s # random seed: R02Sa98c3a43e6886e77f78cad864cf78b8a 1543s 1..1 1543s # Start of cache tests 1543s ok 1 /cache/basic 1543s # End of cache tests 1543s ok - glib/cache.test 1543s # Running test: glib/refcount-macro.test 1543s TAP version 13 1543s # random seed: R02S29a16610f9ad6744414700312f5ef5ce 1543s 1..4 1543s # Start of refcount tests 1543s ok 1 /refcount/grefcount 1543s ok 2 /refcount/gatomicrefcount 1543s # Start of grefcount tests 1543s ok 3 /refcount/grefcount/saturation 1543s # End of grefcount tests 1543s # Start of gatomicrefcount tests 1543s ok 4 /refcount/gatomicrefcount/saturation 1543s # End of gatomicrefcount tests 1543s # End of refcount tests 1543s ok - glib/refcount-macro.test 1543s # Running test: glib/unicode-normalize.test 1543s TAP version 13 1543s # random seed: R02Sbc90c983cdbe401a74f27eb56a32e9f4 1543s 1..3 1543s # Start of unicode tests 1543s # Processing Part0 # Specific cases 1543s # Processing Part1 # Character by character test 1543s # Processing Part2 # Canonical Order Test 1543s # Processing Part3 # PRI #29 Test 1543s ok 1 /unicode/normalize 1543s # Invalid UTF-8 vector 0 1543s # Invalid UTF-8 vector 1 1543s # Invalid UTF-8 vector 2 1543s # Invalid UTF-8 vector 3 1543s # Invalid UTF-8 vector 4 1543s # Invalid UTF-8 vector 5 1543s # Invalid UTF-8 vector 6 1543s # Invalid UTF-8 vector 7 1543s # Invalid UTF-8 vector 8 1543s # Invalid UTF-8 vector 9 1543s # Invalid UTF-8 vector 10 1543s # Invalid UTF-8 vector 11 1543s # Invalid UTF-8 vector 12 1543s ok 2 /unicode/normalize-invalid 1543s # Start of normalize tests 1543s ok 3 /unicode/normalize/bad-length 1543s # End of normalize tests 1543s # End of unicode tests 1543s ok - glib/unicode-normalize.test 1543s # Running test: glib/file.test 1543s TAP version 13 1543s # random seed: R02S47fda690cddd3701892767a3b1c1eac6 1543s 1..50 1543s # Start of file tests 1543s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_SEXQK2/file/basic/.dirs/home 1543s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_SEXQK2/file/basic/.dirs/cache 1543s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_SEXQK2/file/basic/.dirs/system-config1:/tmp/test_file_SEXQK2/file/basic/.dirs/system-config2 1543s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_SEXQK2/file/basic/.dirs/config 1543s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_SEXQK2/file/basic/.dirs/system-data1:/tmp/test_file_SEXQK2/file/basic/.dirs/system-data2 1543s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_SEXQK2/file/basic/.dirs/data 1543s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_SEXQK2/file/basic/.dirs/state 1543s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_SEXQK2/file/basic/.dirs/runtime 1543s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ‘gio-vfs’ 1543s ok 1 /file/basic 1543s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_SEXQK2/file/build-filename/.dirs/home 1543s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_SEXQK2/file/build-filename/.dirs/cache 1543s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_SEXQK2/file/build-filename/.dirs/system-config1:/tmp/test_file_SEXQK2/file/build-filename/.dirs/system-config2 1543s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_SEXQK2/file/build-filename/.dirs/config 1543s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_SEXQK2/file/build-filename/.dirs/system-data1:/tmp/test_file_SEXQK2/file/build-filename/.dirs/system-data2 1543s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_SEXQK2/file/build-filename/.dirs/data 1543s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_SEXQK2/file/build-filename/.dirs/state 1543s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_SEXQK2/file/build-filename/.dirs/runtime 1543s ok 2 /file/build-filename 1543s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_SEXQK2/file/build-filenamev/.dirs/home 1543s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_SEXQK2/file/build-filenamev/.dirs/cache 1543s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_SEXQK2/file/build-filenamev/.dirs/system-config1:/tmp/test_file_SEXQK2/file/build-filenamev/.dirs/system-config2 1543s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_SEXQK2/file/build-filenamev/.dirs/config 1543s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_SEXQK2/file/build-filenamev/.dirs/system-data1:/tmp/test_file_SEXQK2/file/build-filenamev/.dirs/system-data2 1543s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_SEXQK2/file/build-filenamev/.dirs/data 1543s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_SEXQK2/file/build-filenamev/.dirs/state 1543s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_SEXQK2/file/build-filenamev/.dirs/runtime 1543s ok 3 /file/build-filenamev 1543s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_SEXQK2/file/parent/.dirs/home 1543s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_SEXQK2/file/parent/.dirs/cache 1543s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_SEXQK2/file/parent/.dirs/system-config1:/tmp/test_file_SEXQK2/file/parent/.dirs/system-config2 1543s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_SEXQK2/file/parent/.dirs/config 1543s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_SEXQK2/file/parent/.dirs/system-data1:/tmp/test_file_SEXQK2/file/parent/.dirs/system-data2 1543s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_SEXQK2/file/parent/.dirs/data 1543s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_SEXQK2/file/parent/.dirs/state 1543s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_SEXQK2/file/parent/.dirs/runtime 1543s ok 4 /file/parent 1543s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_SEXQK2/file/child/.dirs/home 1543s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_SEXQK2/file/child/.dirs/cache 1543s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_SEXQK2/file/child/.dirs/system-config1:/tmp/test_file_SEXQK2/file/child/.dirs/system-config2 1543s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_SEXQK2/file/child/.dirs/config 1543s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_SEXQK2/file/child/.dirs/system-data1:/tmp/test_file_SEXQK2/file/child/.dirs/system-data2 1543s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_SEXQK2/file/child/.dirs/data 1543s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_SEXQK2/file/child/.dirs/state 1543s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_SEXQK2/file/child/.dirs/runtime 1543s ok 5 /file/child 1543s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_SEXQK2/file/empty-path/.dirs/home 1543s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_SEXQK2/file/empty-path/.dirs/cache 1543s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_SEXQK2/file/empty-path/.dirs/system-config1:/tmp/test_file_SEXQK2/file/empty-path/.dirs/system-config2 1543s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_SEXQK2/file/empty-path/.dirs/config 1543s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_SEXQK2/file/empty-path/.dirs/system-data1:/tmp/test_file_SEXQK2/file/empty-path/.dirs/system-data2 1543s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_SEXQK2/file/empty-path/.dirs/data 1543s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_SEXQK2/file/empty-path/.dirs/state 1543s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_SEXQK2/file/empty-path/.dirs/runtime 1543s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2328 1543s # /file/empty-path summary: Check that creating a file with an empty path results in errors 1543s ok 6 /file/empty-path 1543s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_SEXQK2/file/type/.dirs/home 1543s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_SEXQK2/file/type/.dirs/cache 1543s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_SEXQK2/file/type/.dirs/system-config1:/tmp/test_file_SEXQK2/file/type/.dirs/system-config2 1543s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_SEXQK2/file/type/.dirs/config 1543s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_SEXQK2/file/type/.dirs/system-data1:/tmp/test_file_SEXQK2/file/type/.dirs/system-data2 1543s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_SEXQK2/file/type/.dirs/data 1543s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_SEXQK2/file/type/.dirs/state 1543s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_SEXQK2/file/type/.dirs/runtime 1543s ok 7 /file/type 1543s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_SEXQK2/file/parse-name/.dirs/home 1543s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_SEXQK2/file/parse-name/.dirs/cache 1543s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_SEXQK2/file/parse-name/.dirs/system-config1:/tmp/test_file_SEXQK2/file/parse-name/.dirs/system-config2 1543s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_SEXQK2/file/parse-name/.dirs/config 1543s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_SEXQK2/file/parse-name/.dirs/system-data1:/tmp/test_file_SEXQK2/file/parse-name/.dirs/system-data2 1543s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_SEXQK2/file/parse-name/.dirs/data 1543s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_SEXQK2/file/parse-name/.dirs/state 1543s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_SEXQK2/file/parse-name/.dirs/runtime 1543s ok 8 /file/parse-name 1543s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_SEXQK2/file/replace-load/.dirs/home 1543s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_SEXQK2/file/replace-load/.dirs/cache 1543s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_SEXQK2/file/replace-load/.dirs/system-config1:/tmp/test_file_SEXQK2/file/replace-load/.dirs/system-config2 1543s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_SEXQK2/file/replace-load/.dirs/config 1543s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_SEXQK2/file/replace-load/.dirs/system-data1:/tmp/test_file_SEXQK2/file/replace-load/.dirs/system-data2 1543s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_SEXQK2/file/replace-load/.dirs/data 1543s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_SEXQK2/file/replace-load/.dirs/state 1543s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_SEXQK2/file/replace-load/.dirs/runtime 1543s ok 9 /file/replace-load 1543s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_SEXQK2/file/replace-cancel/.dirs/home 1543s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_SEXQK2/file/replace-cancel/.dirs/cache 1543s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_SEXQK2/file/replace-cancel/.dirs/system-config1:/tmp/test_file_SEXQK2/file/replace-cancel/.dirs/system-config2 1543s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_SEXQK2/file/replace-cancel/.dirs/config 1543s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_SEXQK2/file/replace-cancel/.dirs/system-data1:/tmp/test_file_SEXQK2/file/replace-cancel/.dirs/system-data2 1543s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_SEXQK2/file/replace-cancel/.dirs/data 1543s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_SEXQK2/file/replace-cancel/.dirs/state 1543s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_SEXQK2/file/replace-cancel/.dirs/runtime 1543s # Bug Reference: https://bugzilla.gnome.org/629301 1543s ok 10 /file/replace-cancel 1543s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_SEXQK2/file/replace-symlink/.dirs/home 1543s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_SEXQK2/file/replace-symlink/.dirs/cache 1543s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_SEXQK2/file/replace-symlink/.dirs/system-config1:/tmp/test_file_SEXQK2/file/replace-symlink/.dirs/system-config2 1543s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_SEXQK2/file/replace-symlink/.dirs/config 1543s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_SEXQK2/file/replace-symlink/.dirs/system-data1:/tmp/test_file_SEXQK2/file/replace-symlink/.dirs/system-data2 1543s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_SEXQK2/file/replace-symlink/.dirs/data 1543s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_SEXQK2/file/replace-symlink/.dirs/state 1543s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_SEXQK2/file/replace-symlink/.dirs/runtime 1543s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2325 1543s # /file/replace-symlink summary: Test that G_FILE_CREATE_REPLACE_DESTINATION doesn’t follow symlinks 1543s # Using temporary directory /tmp/test_file_SEXQK2/g_file_replace_symlink_AY2QK2 1543s ok 11 /file/replace-symlink 1543s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_SEXQK2/file/async-new-tmp/.dirs/home 1543s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_SEXQK2/file/async-new-tmp/.dirs/cache 1543s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_SEXQK2/file/async-new-tmp/.dirs/system-config1:/tmp/test_file_SEXQK2/file/async-new-tmp/.dirs/system-config2 1543s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_SEXQK2/file/async-new-tmp/.dirs/config 1543s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_SEXQK2/file/async-new-tmp/.dirs/system-data1:/tmp/test_file_SEXQK2/file/async-new-tmp/.dirs/system-data2 1543s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_SEXQK2/file/async-new-tmp/.dirs/data 1543s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_SEXQK2/file/async-new-tmp/.dirs/state 1543s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_SEXQK2/file/async-new-tmp/.dirs/runtime 1543s ok 12 /file/async-new-tmp 1543s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_SEXQK2/file/async-new-tmp-dir/.dirs/home 1543s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_SEXQK2/file/async-new-tmp-dir/.dirs/cache 1543s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_SEXQK2/file/async-new-tmp-dir/.dirs/system-config1:/tmp/test_file_SEXQK2/file/async-new-tmp-dir/.dirs/system-config2 1543s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_SEXQK2/file/async-new-tmp-dir/.dirs/config 1543s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_SEXQK2/file/async-new-tmp-dir/.dirs/system-data1:/tmp/test_file_SEXQK2/file/async-new-tmp-dir/.dirs/system-data2 1543s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_SEXQK2/file/async-new-tmp-dir/.dirs/data 1543s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_SEXQK2/file/async-new-tmp-dir/.dirs/state 1543s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_SEXQK2/file/async-new-tmp-dir/.dirs/runtime 1543s ok 13 /file/async-new-tmp-dir 1543s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_SEXQK2/file/async-delete/.dirs/home 1543s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_SEXQK2/file/async-delete/.dirs/cache 1543s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_SEXQK2/file/async-delete/.dirs/system-config1:/tmp/test_file_SEXQK2/file/async-delete/.dirs/system-config2 1543s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_SEXQK2/file/async-delete/.dirs/config 1543s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_SEXQK2/file/async-delete/.dirs/system-data1:/tmp/test_file_SEXQK2/file/async-delete/.dirs/system-data2 1543s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_SEXQK2/file/async-delete/.dirs/data 1543s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_SEXQK2/file/async-delete/.dirs/state 1543s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_SEXQK2/file/async-delete/.dirs/runtime 1543s ok 14 /file/async-delete 1543s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_SEXQK2/file/async-make-symlink/.dirs/home 1543s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_SEXQK2/file/async-make-symlink/.dirs/cache 1543s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_SEXQK2/file/async-make-symlink/.dirs/system-config1:/tmp/test_file_SEXQK2/file/async-make-symlink/.dirs/system-config2 1543s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_SEXQK2/file/async-make-symlink/.dirs/config 1543s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_SEXQK2/file/async-make-symlink/.dirs/system-data1:/tmp/test_file_SEXQK2/file/async-make-symlink/.dirs/system-data2 1543s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_SEXQK2/file/async-make-symlink/.dirs/data 1543s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_SEXQK2/file/async-make-symlink/.dirs/state 1543s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_SEXQK2/file/async-make-symlink/.dirs/runtime 1543s ok 15 /file/async-make-symlink 1543s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_SEXQK2/file/copy-preserve-mode/.dirs/home 1543s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_SEXQK2/file/copy-preserve-mode/.dirs/cache 1543s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_SEXQK2/file/copy-preserve-mode/.dirs/system-config1:/tmp/test_file_SEXQK2/file/copy-preserve-mode/.dirs/system-config2 1543s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_SEXQK2/file/copy-preserve-mode/.dirs/config 1543s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_SEXQK2/file/copy-preserve-mode/.dirs/system-data1:/tmp/test_file_SEXQK2/file/copy-preserve-mode/.dirs/system-data2 1543s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_SEXQK2/file/copy-preserve-mode/.dirs/data 1543s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_SEXQK2/file/copy-preserve-mode/.dirs/state 1543s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_SEXQK2/file/copy-preserve-mode/.dirs/runtime 1543s # Current umask: 2 1543s # Vector 0 1543s # Vector 1 1543s # Vector 2 1543s # Vector 3 1543s # Vector 4 1543s # Vector 5 1543s # Vector 6 1543s # Vector 7 1543s # Vector 8 1543s # Vector 9 1543s # Vector 10 1543s ok 16 /file/copy-preserve-mode 1543s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_SEXQK2/file/measure/.dirs/home 1543s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_SEXQK2/file/measure/.dirs/cache 1543s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_SEXQK2/file/measure/.dirs/system-config1:/tmp/test_file_SEXQK2/file/measure/.dirs/system-config2 1543s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_SEXQK2/file/measure/.dirs/config 1543s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_SEXQK2/file/measure/.dirs/system-data1:/tmp/test_file_SEXQK2/file/measure/.dirs/system-data2 1543s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_SEXQK2/file/measure/.dirs/data 1543s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_SEXQK2/file/measure/.dirs/state 1543s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_SEXQK2/file/measure/.dirs/runtime 1543s ok 17 /file/measure 1543s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_SEXQK2/file/measure-async/.dirs/home 1543s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_SEXQK2/file/measure-async/.dirs/cache 1543s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_SEXQK2/file/measure-async/.dirs/system-config1:/tmp/test_file_SEXQK2/file/measure-async/.dirs/system-config2 1543s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_SEXQK2/file/measure-async/.dirs/config 1543s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_SEXQK2/file/measure-async/.dirs/system-data1:/tmp/test_file_SEXQK2/file/measure-async/.dirs/system-data2 1543s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_SEXQK2/file/measure-async/.dirs/data 1543s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_SEXQK2/file/measure-async/.dirs/state 1543s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_SEXQK2/file/measure-async/.dirs/runtime 1543s ok 18 /file/measure-async 1543s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_SEXQK2/file/load-bytes/.dirs/home 1543s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_SEXQK2/file/load-bytes/.dirs/cache 1543s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_SEXQK2/file/load-bytes/.dirs/system-config1:/tmp/test_file_SEXQK2/file/load-bytes/.dirs/system-config2 1543s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_SEXQK2/file/load-bytes/.dirs/config 1543s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_SEXQK2/file/load-bytes/.dirs/system-data1:/tmp/test_file_SEXQK2/file/load-bytes/.dirs/system-data2 1543s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_SEXQK2/file/load-bytes/.dirs/data 1543s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_SEXQK2/file/load-bytes/.dirs/state 1543s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_SEXQK2/file/load-bytes/.dirs/runtime 1543s ok 19 /file/load-bytes 1543s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_SEXQK2/file/load-bytes-async/.dirs/home 1543s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_SEXQK2/file/load-bytes-async/.dirs/cache 1543s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_SEXQK2/file/load-bytes-async/.dirs/system-config1:/tmp/test_file_SEXQK2/file/load-bytes-async/.dirs/system-config2 1543s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_SEXQK2/file/load-bytes-async/.dirs/config 1543s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_SEXQK2/file/load-bytes-async/.dirs/system-data1:/tmp/test_file_SEXQK2/file/load-bytes-async/.dirs/system-data2 1543s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_SEXQK2/file/load-bytes-async/.dirs/data 1543s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_SEXQK2/file/load-bytes-async/.dirs/state 1543s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_SEXQK2/file/load-bytes-async/.dirs/runtime 1543s ok 20 /file/load-bytes-async 1543s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_SEXQK2/file/writev/.dirs/home 1543s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_SEXQK2/file/writev/.dirs/cache 1543s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_SEXQK2/file/writev/.dirs/system-config1:/tmp/test_file_SEXQK2/file/writev/.dirs/system-config2 1543s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_SEXQK2/file/writev/.dirs/config 1543s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_SEXQK2/file/writev/.dirs/system-data1:/tmp/test_file_SEXQK2/file/writev/.dirs/system-data2 1543s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_SEXQK2/file/writev/.dirs/data 1543s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_SEXQK2/file/writev/.dirs/state 1543s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_SEXQK2/file/writev/.dirs/runtime 1543s ok 21 /file/writev 1543s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_SEXQK2/file/build-attribute-list-for-copy/.dirs/home 1543s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_SEXQK2/file/build-attribute-list-for-copy/.dirs/cache 1543s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_SEXQK2/file/build-attribute-list-for-copy/.dirs/system-config1:/tmp/test_file_SEXQK2/file/build-attribute-list-for-copy/.dirs/system-config2 1543s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_SEXQK2/file/build-attribute-list-for-copy/.dirs/config 1543s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_SEXQK2/file/build-attribute-list-for-copy/.dirs/system-data1:/tmp/test_file_SEXQK2/file/build-attribute-list-for-copy/.dirs/system-data2 1543s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_SEXQK2/file/build-attribute-list-for-copy/.dirs/data 1543s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_SEXQK2/file/build-attribute-list-for-copy/.dirs/state 1543s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_SEXQK2/file/build-attribute-list-for-copy/.dirs/runtime 1543s # Attributes for copy: standard::size,time::modified,time::modified-nsec,time::modified-usec,unix::mode,xattr::* 1543s # Attributes for copy: standard::size,time::modified,time::modified-nsec,time::modified-usec,xattr::* 1543s # 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::* 1543s # 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::* 1543s # Attributes for copy: standard::size,time::access,time::access-nsec,time::access-usec,unix::gid,unix::mode,unix::uid,xattr::*,xattr-sys::* 1543s # Attributes for copy: standard::size,xattr::* 1543s # Attributes for copy: standard::size,unix::mode,xattr::* 1543s ok 22 /file/build-attribute-list-for-copy 1543s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_SEXQK2/file/move_async/.dirs/home 1543s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_SEXQK2/file/move_async/.dirs/cache 1543s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_SEXQK2/file/move_async/.dirs/system-config1:/tmp/test_file_SEXQK2/file/move_async/.dirs/system-config2 1543s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_SEXQK2/file/move_async/.dirs/config 1543s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_SEXQK2/file/move_async/.dirs/system-data1:/tmp/test_file_SEXQK2/file/move_async/.dirs/system-data2 1543s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_SEXQK2/file/move_async/.dirs/data 1543s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_SEXQK2/file/move_async/.dirs/state 1543s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_SEXQK2/file/move_async/.dirs/runtime 1543s ok 23 /file/move_async 1543s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_SEXQK2/file/query-zero-length-content-type/.dirs/home 1543s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_SEXQK2/file/query-zero-length-content-type/.dirs/cache 1543s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_SEXQK2/file/query-zero-length-content-type/.dirs/system-config1:/tmp/test_file_SEXQK2/file/query-zero-length-content-type/.dirs/system-config2 1543s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_SEXQK2/file/query-zero-length-content-type/.dirs/config 1543s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_SEXQK2/file/query-zero-length-content-type/.dirs/system-data1:/tmp/test_file_SEXQK2/file/query-zero-length-content-type/.dirs/system-data2 1543s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_SEXQK2/file/query-zero-length-content-type/.dirs/data 1543s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_SEXQK2/file/query-zero-length-content-type/.dirs/state 1543s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_SEXQK2/file/query-zero-length-content-type/.dirs/runtime 1543s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=755795 1543s # /file/query-zero-length-content-type summary: empty files should always be considered application/x-zerosize 1543s ok 24 /file/query-zero-length-content-type 1543s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_SEXQK2/file/query-default-handler-file/.dirs/home 1543s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_SEXQK2/file/query-default-handler-file/.dirs/cache 1543s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_SEXQK2/file/query-default-handler-file/.dirs/system-config1:/tmp/test_file_SEXQK2/file/query-default-handler-file/.dirs/system-config2 1543s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_SEXQK2/file/query-default-handler-file/.dirs/config 1543s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_SEXQK2/file/query-default-handler-file/.dirs/system-data1:/tmp/test_file_SEXQK2/file/query-default-handler-file/.dirs/system-data2 1543s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_SEXQK2/file/query-default-handler-file/.dirs/data 1543s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_SEXQK2/file/query-default-handler-file/.dirs/state 1543s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_SEXQK2/file/query-default-handler-file/.dirs/runtime 1543s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_SEXQK2/file/query-default-handler-file/.dirs/data/applications 1543s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_SEXQK2/file/query-default-handler-file/.dirs/config 1543s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_SEXQK2/file/query-default-handler-file/.dirs/config 1543s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_SEXQK2/file/query-default-handler-file/.dirs/config 1543s ok 25 /file/query-default-handler-file 1543s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_SEXQK2/file/query-default-handler-file-async/.dirs/home 1543s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_SEXQK2/file/query-default-handler-file-async/.dirs/cache 1543s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_SEXQK2/file/query-default-handler-file-async/.dirs/system-config1:/tmp/test_file_SEXQK2/file/query-default-handler-file-async/.dirs/system-config2 1543s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_SEXQK2/file/query-default-handler-file-async/.dirs/config 1543s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_SEXQK2/file/query-default-handler-file-async/.dirs/system-data1:/tmp/test_file_SEXQK2/file/query-default-handler-file-async/.dirs/system-data2 1543s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_SEXQK2/file/query-default-handler-file-async/.dirs/data 1543s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_SEXQK2/file/query-default-handler-file-async/.dirs/state 1543s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_SEXQK2/file/query-default-handler-file-async/.dirs/runtime 1543s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_SEXQK2/file/query-default-handler-file-async/.dirs/data/applications 1543s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_SEXQK2/file/query-default-handler-file-async/.dirs/config 1543s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_file_SEXQK2/file/query-default-handler-file/.dirs/config to /tmp/test_file_SEXQK2/file/query-default-handler-file-async/.dirs/config 1543s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_SEXQK2/file/query-default-handler-file-async/.dirs/config 1543s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_SEXQK2/file/query-default-handler-file-async/.dirs/config 1543s ok 26 /file/query-default-handler-file-async 1543s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_SEXQK2/file/query-default-handler-uri/.dirs/home 1543s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_SEXQK2/file/query-default-handler-uri/.dirs/cache 1543s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_SEXQK2/file/query-default-handler-uri/.dirs/system-config1:/tmp/test_file_SEXQK2/file/query-default-handler-uri/.dirs/system-config2 1543s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_SEXQK2/file/query-default-handler-uri/.dirs/config 1543s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_SEXQK2/file/query-default-handler-uri/.dirs/system-data1:/tmp/test_file_SEXQK2/file/query-default-handler-uri/.dirs/system-data2 1543s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_SEXQK2/file/query-default-handler-uri/.dirs/data 1543s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_SEXQK2/file/query-default-handler-uri/.dirs/state 1543s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_SEXQK2/file/query-default-handler-uri/.dirs/runtime 1543s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_SEXQK2/file/query-default-handler-uri/.dirs/data/applications 1543s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_SEXQK2/file/query-default-handler-uri/.dirs/config 1543s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_file_SEXQK2/file/query-default-handler-file-async/.dirs/config to /tmp/test_file_SEXQK2/file/query-default-handler-uri/.dirs/config 1543s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_SEXQK2/file/query-default-handler-uri/.dirs/config 1543s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_SEXQK2/file/query-default-handler-uri/.dirs/config 1543s ok 27 /file/query-default-handler-uri 1543s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_SEXQK2/file/query-default-handler-uri-async/.dirs/home 1543s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_SEXQK2/file/query-default-handler-uri-async/.dirs/cache 1543s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_SEXQK2/file/query-default-handler-uri-async/.dirs/system-config1:/tmp/test_file_SEXQK2/file/query-default-handler-uri-async/.dirs/system-config2 1543s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_SEXQK2/file/query-default-handler-uri-async/.dirs/config 1543s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_SEXQK2/file/query-default-handler-uri-async/.dirs/system-data1:/tmp/test_file_SEXQK2/file/query-default-handler-uri-async/.dirs/system-data2 1543s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_SEXQK2/file/query-default-handler-uri-async/.dirs/data 1543s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_SEXQK2/file/query-default-handler-uri-async/.dirs/state 1543s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_SEXQK2/file/query-default-handler-uri-async/.dirs/runtime 1543s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_SEXQK2/file/query-default-handler-uri-async/.dirs/data/applications 1543s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_SEXQK2/file/query-default-handler-uri-async/.dirs/config 1543s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_file_SEXQK2/file/query-default-handler-uri/.dirs/config to /tmp/test_file_SEXQK2/file/query-default-handler-uri-async/.dirs/config 1543s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_SEXQK2/file/query-default-handler-uri-async/.dirs/config 1543s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_SEXQK2/file/query-default-handler-uri-async/.dirs/config 1543s ok 28 /file/query-default-handler-uri-async 1543s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_SEXQK2/file/enumerator-cancellation/.dirs/home 1543s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_SEXQK2/file/enumerator-cancellation/.dirs/cache 1543s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_SEXQK2/file/enumerator-cancellation/.dirs/system-config1:/tmp/test_file_SEXQK2/file/enumerator-cancellation/.dirs/system-config2 1543s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_SEXQK2/file/enumerator-cancellation/.dirs/config 1543s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_SEXQK2/file/enumerator-cancellation/.dirs/system-data1:/tmp/test_file_SEXQK2/file/enumerator-cancellation/.dirs/system-data2 1543s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_SEXQK2/file/enumerator-cancellation/.dirs/data 1543s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_SEXQK2/file/enumerator-cancellation/.dirs/state 1543s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_SEXQK2/file/enumerator-cancellation/.dirs/runtime 1543s ok 29 /file/enumerator-cancellation 1543s # Start of async-create-delete tests 1543s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_SEXQK2/file/async-create-delete/0/.dirs/home 1543s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_SEXQK2/file/async-create-delete/0/.dirs/cache 1543s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_SEXQK2/file/async-create-delete/0/.dirs/system-config1:/tmp/test_file_SEXQK2/file/async-create-delete/0/.dirs/system-config2 1543s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_SEXQK2/file/async-create-delete/0/.dirs/config 1543s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_SEXQK2/file/async-create-delete/0/.dirs/system-data1:/tmp/test_file_SEXQK2/file/async-create-delete/0/.dirs/system-data2 1543s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_SEXQK2/file/async-create-delete/0/.dirs/data 1543s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_SEXQK2/file/async-create-delete/0/.dirs/state 1543s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_SEXQK2/file/async-create-delete/0/.dirs/runtime 1543s ok 30 /file/async-create-delete/0 1543s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_SEXQK2/file/async-create-delete/1/.dirs/home 1543s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_SEXQK2/file/async-create-delete/1/.dirs/cache 1543s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_SEXQK2/file/async-create-delete/1/.dirs/system-config1:/tmp/test_file_SEXQK2/file/async-create-delete/1/.dirs/system-config2 1543s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_SEXQK2/file/async-create-delete/1/.dirs/config 1543s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_SEXQK2/file/async-create-delete/1/.dirs/system-data1:/tmp/test_file_SEXQK2/file/async-create-delete/1/.dirs/system-data2 1543s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_SEXQK2/file/async-create-delete/1/.dirs/data 1543s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_SEXQK2/file/async-create-delete/1/.dirs/state 1543s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_SEXQK2/file/async-create-delete/1/.dirs/runtime 1543s ok 31 /file/async-create-delete/1 1543s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_SEXQK2/file/async-create-delete/10/.dirs/home 1543s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_SEXQK2/file/async-create-delete/10/.dirs/cache 1543s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_SEXQK2/file/async-create-delete/10/.dirs/system-config1:/tmp/test_file_SEXQK2/file/async-create-delete/10/.dirs/system-config2 1543s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_SEXQK2/file/async-create-delete/10/.dirs/config 1543s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_SEXQK2/file/async-create-delete/10/.dirs/system-data1:/tmp/test_file_SEXQK2/file/async-create-delete/10/.dirs/system-data2 1543s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_SEXQK2/file/async-create-delete/10/.dirs/data 1543s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_SEXQK2/file/async-create-delete/10/.dirs/state 1543s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_SEXQK2/file/async-create-delete/10/.dirs/runtime 1543s ok 32 /file/async-create-delete/10 1543s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_SEXQK2/file/async-create-delete/25/.dirs/home 1543s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_SEXQK2/file/async-create-delete/25/.dirs/cache 1543s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_SEXQK2/file/async-create-delete/25/.dirs/system-config1:/tmp/test_file_SEXQK2/file/async-create-delete/25/.dirs/system-config2 1543s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_SEXQK2/file/async-create-delete/25/.dirs/config 1543s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_SEXQK2/file/async-create-delete/25/.dirs/system-data1:/tmp/test_file_SEXQK2/file/async-create-delete/25/.dirs/system-data2 1543s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_SEXQK2/file/async-create-delete/25/.dirs/data 1543s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_SEXQK2/file/async-create-delete/25/.dirs/state 1543s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_SEXQK2/file/async-create-delete/25/.dirs/runtime 1544s ok 33 /file/async-create-delete/25 1544s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_SEXQK2/file/async-create-delete/4096/.dirs/home 1544s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_SEXQK2/file/async-create-delete/4096/.dirs/cache 1544s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_SEXQK2/file/async-create-delete/4096/.dirs/system-config1:/tmp/test_file_SEXQK2/file/async-create-delete/4096/.dirs/system-config2 1544s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_SEXQK2/file/async-create-delete/4096/.dirs/config 1544s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_SEXQK2/file/async-create-delete/4096/.dirs/system-data1:/tmp/test_file_SEXQK2/file/async-create-delete/4096/.dirs/system-data2 1544s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_SEXQK2/file/async-create-delete/4096/.dirs/data 1544s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_SEXQK2/file/async-create-delete/4096/.dirs/state 1544s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_SEXQK2/file/async-create-delete/4096/.dirs/runtime 1544s ok 34 /file/async-create-delete/4096 1544s # End of async-create-delete tests 1544s # Start of replace-symlink tests 1544s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_SEXQK2/file/replace-symlink/using-etag/.dirs/home 1544s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_SEXQK2/file/replace-symlink/using-etag/.dirs/cache 1544s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_SEXQK2/file/replace-symlink/using-etag/.dirs/system-config1:/tmp/test_file_SEXQK2/file/replace-symlink/using-etag/.dirs/system-config2 1544s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_SEXQK2/file/replace-symlink/using-etag/.dirs/config 1544s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_SEXQK2/file/replace-symlink/using-etag/.dirs/system-data1:/tmp/test_file_SEXQK2/file/replace-symlink/using-etag/.dirs/system-data2 1544s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_SEXQK2/file/replace-symlink/using-etag/.dirs/data 1544s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_SEXQK2/file/replace-symlink/using-etag/.dirs/state 1544s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_SEXQK2/file/replace-symlink/using-etag/.dirs/runtime 1544s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2417 1544s # /file/replace-symlink/using-etag summary: Test that ETag checks work when replacing a file through a symlink 1544s # Using temporary directory /tmp/test_file_SEXQK2/g_file_replace_symlink_using_etag_5U9YK2 1546s ok 35 /file/replace-symlink/using-etag 1546s # slow test /file/replace-symlink/using-etag executed in 2.00 secs 1546s # End of replace-symlink tests 1546s # Start of replace tests 1546s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_SEXQK2/file/replace/write-only/.dirs/home 1546s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_SEXQK2/file/replace/write-only/.dirs/cache 1546s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_SEXQK2/file/replace/write-only/.dirs/system-config1:/tmp/test_file_SEXQK2/file/replace/write-only/.dirs/system-config2 1546s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_SEXQK2/file/replace/write-only/.dirs/config 1546s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_SEXQK2/file/replace/write-only/.dirs/system-data1:/tmp/test_file_SEXQK2/file/replace/write-only/.dirs/system-data2 1546s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_SEXQK2/file/replace/write-only/.dirs/data 1546s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_SEXQK2/file/replace/write-only/.dirs/state 1546s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_SEXQK2/file/replace/write-only/.dirs/runtime 1546s # /file/replace/write-only summary: Test various situations for g_file_replace() 1546s # Current umask: 2 1546s # Test 0, using temporary directory /tmp/test_file_SEXQK2/g_file_replace_3QBZK2 1546s # Test 1, using temporary directory /tmp/test_file_SEXQK2/g_file_replace_XRCZK2 1546s # Test 2, using temporary directory /tmp/test_file_SEXQK2/g_file_replace_TEDZK2 1546s # Test 3, using temporary directory /tmp/test_file_SEXQK2/g_file_replace_S6DZK2 1546s # Test 4, using temporary directory /tmp/test_file_SEXQK2/g_file_replace_L2EZK2 1546s # Test 5, using temporary directory /tmp/test_file_SEXQK2/g_file_replace_D9EZK2 1546s # Test 6, using temporary directory /tmp/test_file_SEXQK2/g_file_replace_J3FZK2 1546s # Test 7, using temporary directory /tmp/test_file_SEXQK2/g_file_replace_FDGZK2 1546s # Test 8, using temporary directory /tmp/test_file_SEXQK2/g_file_replace_RGGZK2 1546s # Test 9, using temporary directory /tmp/test_file_SEXQK2/g_file_replace_1GHZK2 1546s # Test 10, using temporary directory /tmp/test_file_SEXQK2/g_file_replace_V1JZK2 1546s # Test 11, using temporary directory /tmp/test_file_SEXQK2/g_file_replace_QEMZK2 1546s # Test 12, using temporary directory /tmp/test_file_SEXQK2/g_file_replace_CZLZK2 1546s # Test 13, using temporary directory /tmp/test_file_SEXQK2/g_file_replace_M9MZK2 1546s # Test 14, using temporary directory /tmp/test_file_SEXQK2/g_file_replace_M0NZK2 1546s # Test 15, using temporary directory /tmp/test_file_SEXQK2/g_file_replace_XIPZK2 1546s # Test 16, using temporary directory /tmp/test_file_SEXQK2/g_file_replace_HRPZK2 1546s # Test 17, using temporary directory /tmp/test_file_SEXQK2/g_file_replace_NTQZK2 1546s # Test 18, using temporary directory /tmp/test_file_SEXQK2/g_file_replace_PNSZK2 1546s # Test 19, using temporary directory /tmp/test_file_SEXQK2/g_file_replace_RBTZK2 1546s # Test 20, using temporary directory /tmp/test_file_SEXQK2/g_file_replace_CHUZK2 1546s # Test 21, using temporary directory /tmp/test_file_SEXQK2/g_file_replace_ZWUZK2 1546s # Test 22, using temporary directory /tmp/test_file_SEXQK2/g_file_replace_EMVZK2 1546s # Test 23, using temporary directory /tmp/test_file_SEXQK2/g_file_replace_8KWZK2 1546s # Test 24, using temporary directory /tmp/test_file_SEXQK2/g_file_replace_TCXZK2 1546s # Test 25, using temporary directory /tmp/test_file_SEXQK2/g_file_replace_IXXZK2 1546s # Test 26, using temporary directory /tmp/test_file_SEXQK2/g_file_replace_4Q0ZK2 1546s # Test 27, using temporary directory /tmp/test_file_SEXQK2/g_file_replace_ID2ZK2 1546s # Test 28, using temporary directory /tmp/test_file_SEXQK2/g_file_replace_AL2ZK2 1546s # Test 29, using temporary directory /tmp/test_file_SEXQK2/g_file_replace_3G3ZK2 1546s # Test 30, using temporary directory /tmp/test_file_SEXQK2/g_file_replace_HR4ZK2 1546s # Test 31, using temporary directory /tmp/test_file_SEXQK2/g_file_replace_W53ZK2 1546s # Test 32, using temporary directory /tmp/test_file_SEXQK2/g_file_replace_SV4ZK2 1546s # Test 33, using temporary directory /tmp/test_file_SEXQK2/g_file_replace_EV5ZK2 1546s # Test 34, using temporary directory /tmp/test_file_SEXQK2/g_file_replace_G16ZK2 1546s # Test 35, using temporary directory /tmp/test_file_SEXQK2/g_file_replace_QG6ZK2 1546s # Test 36, using temporary directory /tmp/test_file_SEXQK2/g_file_replace_II7ZK2 1546s # Test 37, using temporary directory /tmp/test_file_SEXQK2/g_file_replace_M87ZK2 1546s # Test 38, using temporary directory /tmp/test_file_SEXQK2/g_file_replace_208ZK2 1546s # Test 39, using temporary directory /tmp/test_file_SEXQK2/g_file_replace_5WA0K2 1546s # Test 40, using temporary directory /tmp/test_file_SEXQK2/g_file_replace_ENB0K2 1546s # Test 41, using temporary directory /tmp/test_file_SEXQK2/g_file_replace_2OC0K2 1546s # Test 42, using temporary directory /tmp/test_file_SEXQK2/g_file_replace_CFD0K2 1546s # Test 43, using temporary directory /tmp/test_file_SEXQK2/g_file_replace_07D0K2 1546s # Test 44, using temporary directory /tmp/test_file_SEXQK2/g_file_replace_GIF0K2 1546s # Test 45, using temporary directory /tmp/test_file_SEXQK2/g_file_replace_K7E0K2 1546s # Test 46, using temporary directory /tmp/test_file_SEXQK2/g_file_replace_13F0K2 1546s # Test 47, using temporary directory /tmp/test_file_SEXQK2/g_file_replace_MCH0K2 1546s # Test 48, using temporary directory /tmp/test_file_SEXQK2/g_file_replace_44H0K2 1546s # We do not have CAP_DAC_OVERRIDE or equivalent 1546s ok 36 /file/replace/write-only 1546s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_SEXQK2/file/replace/read-write/.dirs/home 1546s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_SEXQK2/file/replace/read-write/.dirs/cache 1546s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_SEXQK2/file/replace/read-write/.dirs/system-config1:/tmp/test_file_SEXQK2/file/replace/read-write/.dirs/system-config2 1546s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_SEXQK2/file/replace/read-write/.dirs/config 1546s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_SEXQK2/file/replace/read-write/.dirs/system-data1:/tmp/test_file_SEXQK2/file/replace/read-write/.dirs/system-data2 1546s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_SEXQK2/file/replace/read-write/.dirs/data 1546s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_SEXQK2/file/replace/read-write/.dirs/state 1546s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_SEXQK2/file/replace/read-write/.dirs/runtime 1546s # /file/replace/read-write summary: Test various situations for g_file_replace() 1546s # Current umask: 2 1546s # Test 0, using temporary directory /tmp/test_file_SEXQK2/g_file_replace_40I0K2 1546s # Test 1, using temporary directory /tmp/test_file_SEXQK2/g_file_replace_3DI0K2 1546s # Test 2, using temporary directory /tmp/test_file_SEXQK2/g_file_replace_SKK0K2 1546s # Test 3, using temporary directory /tmp/test_file_SEXQK2/g_file_replace_X9K0K2 1546s # Test 4, using temporary directory /tmp/test_file_SEXQK2/g_file_replace_9OK0K2 1546s # Test 5, using temporary directory /tmp/test_file_SEXQK2/g_file_replace_7XK0K2 1546s # Test 6, using temporary directory /tmp/test_file_SEXQK2/g_file_replace_UML0K2 1546s # Test 7, using temporary directory /tmp/test_file_SEXQK2/g_file_replace_GHN0K2 1546s # Test 8, using temporary directory /tmp/test_file_SEXQK2/g_file_replace_46M0K2 1546s # Test 9, using temporary directory /tmp/test_file_SEXQK2/g_file_replace_M2M0K2 1546s # Test 10, using temporary directory /tmp/test_file_SEXQK2/g_file_replace_KFO0K2 1546s # Test 11, using temporary directory /tmp/test_file_SEXQK2/g_file_replace_3XO0K2 1546s # Test 12, using temporary directory /tmp/test_file_SEXQK2/g_file_replace_ZHP0K2 1546s # Test 13, using temporary directory /tmp/test_file_SEXQK2/g_file_replace_RNP0K2 1546s # Test 14, using temporary directory /tmp/test_file_SEXQK2/g_file_replace_2BQ0K2 1546s # Test 15, using temporary directory /tmp/test_file_SEXQK2/g_file_replace_K2Q0K2 1546s # Test 16, using temporary directory /tmp/test_file_SEXQK2/g_file_replace_9AV0K2 1546s # Test 17, using temporary directory /tmp/test_file_SEXQK2/g_file_replace_71V0K2 1546s # Test 18, using temporary directory /tmp/test_file_SEXQK2/g_file_replace_5TX0K2 1546s # Test 19, using temporary directory /tmp/test_file_SEXQK2/g_file_replace_4MX0K2 1546s # Test 20, using temporary directory /tmp/test_file_SEXQK2/g_file_replace_5OY0K2 1546s # Test 21, using temporary directory /tmp/test_file_SEXQK2/g_file_replace_Y2Y0K2 1546s # Test 22, using temporary directory /tmp/test_file_SEXQK2/g_file_replace_D2Z0K2 1546s # Test 23, using temporary directory /tmp/test_file_SEXQK2/g_file_replace_9100K2 1546s # Test 24, using temporary directory /tmp/test_file_SEXQK2/g_file_replace_PS10K2 1546s # Test 25, using temporary directory /tmp/test_file_SEXQK2/g_file_replace_4T20K2 1546s # Test 26, using temporary directory /tmp/test_file_SEXQK2/g_file_replace_G310K2 1546s # Test 27, using temporary directory /tmp/test_file_SEXQK2/g_file_replace_VC30K2 1546s # Test 28, using temporary directory /tmp/test_file_SEXQK2/g_file_replace_T430K2 1546s # Test 29, using temporary directory /tmp/test_file_SEXQK2/g_file_replace_BN40K2 1546s # Test 30, using temporary directory /tmp/test_file_SEXQK2/g_file_replace_JB50K2 1546s # Test 31, using temporary directory /tmp/test_file_SEXQK2/g_file_replace_CG50K2 1546s # Test 32, using temporary directory /tmp/test_file_SEXQK2/g_file_replace_6V60K2 1546s # Test 33, using temporary directory /tmp/test_file_SEXQK2/g_file_replace_3180K2 1546s # Test 34, using temporary directory /tmp/test_file_SEXQK2/g_file_replace_ZR80K2 1546s # Test 35, using temporary directory /tmp/test_file_SEXQK2/g_file_replace_9M90K2 1546s # Test 36, using temporary directory /tmp/test_file_SEXQK2/g_file_replace_0OA1K2 1546s # Test 37, using temporary directory /tmp/test_file_SEXQK2/g_file_replace_5DB1K2 1546s # Test 38, using temporary directory /tmp/test_file_SEXQK2/g_file_replace_E0B1K2 1546s # Test 39, using temporary directory /tmp/test_file_SEXQK2/g_file_replace_T1C1K2 1546s # Test 40, using temporary directory /tmp/test_file_SEXQK2/g_file_replace_Y6C1K2 1546s # Test 41, using temporary directory /tmp/test_file_SEXQK2/g_file_replace_Y9D1K2 1546s # Test 42, using temporary directory /tmp/test_file_SEXQK2/g_file_replace_BYE1K2 1546s # Test 43, using temporary directory /tmp/test_file_SEXQK2/g_file_replace_TIG1K2 1546s # Test 44, using temporary directory /tmp/test_file_SEXQK2/g_file_replace_38G1K2 1546s # Test 45, using temporary directory /tmp/test_file_SEXQK2/g_file_replace_ZHH1K2 1546s # Test 46, using temporary directory /tmp/test_file_SEXQK2/g_file_replace_WZH1K2 1546s # Test 47, using temporary directory /tmp/test_file_SEXQK2/g_file_replace_B9H1K2 1546s # Test 48, using temporary directory /tmp/test_file_SEXQK2/g_file_replace_4CM1K2 1546s # We do not have CAP_DAC_OVERRIDE or equivalent 1546s ok 37 /file/replace/read-write 1546s # End of replace tests 1546s # Start of copy tests 1546s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_SEXQK2/file/copy/progress/.dirs/home 1546s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_SEXQK2/file/copy/progress/.dirs/cache 1546s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_SEXQK2/file/copy/progress/.dirs/system-config1:/tmp/test_file_SEXQK2/file/copy/progress/.dirs/system-config2 1546s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_SEXQK2/file/copy/progress/.dirs/config 1546s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_SEXQK2/file/copy/progress/.dirs/system-data1:/tmp/test_file_SEXQK2/file/copy/progress/.dirs/system-data2 1546s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_SEXQK2/file/copy/progress/.dirs/data 1546s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_SEXQK2/file/copy/progress/.dirs/state 1546s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_SEXQK2/file/copy/progress/.dirs/runtime 1546s ok 38 /file/copy/progress 1546s # End of copy tests 1546s # Start of writev tests 1546s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_SEXQK2/file/writev/no-bytes-written/.dirs/home 1546s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_SEXQK2/file/writev/no-bytes-written/.dirs/cache 1546s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_SEXQK2/file/writev/no-bytes-written/.dirs/system-config1:/tmp/test_file_SEXQK2/file/writev/no-bytes-written/.dirs/system-config2 1546s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_SEXQK2/file/writev/no-bytes-written/.dirs/config 1546s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_SEXQK2/file/writev/no-bytes-written/.dirs/system-data1:/tmp/test_file_SEXQK2/file/writev/no-bytes-written/.dirs/system-data2 1546s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_SEXQK2/file/writev/no-bytes-written/.dirs/data 1546s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_SEXQK2/file/writev/no-bytes-written/.dirs/state 1546s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_SEXQK2/file/writev/no-bytes-written/.dirs/runtime 1546s ok 39 /file/writev/no-bytes-written 1546s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_SEXQK2/file/writev/no-vectors/.dirs/home 1546s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_SEXQK2/file/writev/no-vectors/.dirs/cache 1546s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_SEXQK2/file/writev/no-vectors/.dirs/system-config1:/tmp/test_file_SEXQK2/file/writev/no-vectors/.dirs/system-config2 1546s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_SEXQK2/file/writev/no-vectors/.dirs/config 1546s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_SEXQK2/file/writev/no-vectors/.dirs/system-data1:/tmp/test_file_SEXQK2/file/writev/no-vectors/.dirs/system-data2 1546s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_SEXQK2/file/writev/no-vectors/.dirs/data 1546s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_SEXQK2/file/writev/no-vectors/.dirs/state 1546s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_SEXQK2/file/writev/no-vectors/.dirs/runtime 1546s ok 40 /file/writev/no-vectors 1546s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_SEXQK2/file/writev/empty-vectors/.dirs/home 1546s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_SEXQK2/file/writev/empty-vectors/.dirs/cache 1546s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_SEXQK2/file/writev/empty-vectors/.dirs/system-config1:/tmp/test_file_SEXQK2/file/writev/empty-vectors/.dirs/system-config2 1546s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_SEXQK2/file/writev/empty-vectors/.dirs/config 1546s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_SEXQK2/file/writev/empty-vectors/.dirs/system-data1:/tmp/test_file_SEXQK2/file/writev/empty-vectors/.dirs/system-data2 1546s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_SEXQK2/file/writev/empty-vectors/.dirs/data 1546s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_SEXQK2/file/writev/empty-vectors/.dirs/state 1546s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_SEXQK2/file/writev/empty-vectors/.dirs/runtime 1546s ok 41 /file/writev/empty-vectors 1546s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_SEXQK2/file/writev/too-big-vectors/.dirs/home 1546s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_SEXQK2/file/writev/too-big-vectors/.dirs/cache 1546s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_SEXQK2/file/writev/too-big-vectors/.dirs/system-config1:/tmp/test_file_SEXQK2/file/writev/too-big-vectors/.dirs/system-config2 1546s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_SEXQK2/file/writev/too-big-vectors/.dirs/config 1546s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_SEXQK2/file/writev/too-big-vectors/.dirs/system-data1:/tmp/test_file_SEXQK2/file/writev/too-big-vectors/.dirs/system-data2 1546s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_SEXQK2/file/writev/too-big-vectors/.dirs/data 1546s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_SEXQK2/file/writev/too-big-vectors/.dirs/state 1546s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_SEXQK2/file/writev/too-big-vectors/.dirs/runtime 1546s ok 42 /file/writev/too-big-vectors 1546s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_SEXQK2/file/writev/async/.dirs/home 1546s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_SEXQK2/file/writev/async/.dirs/cache 1546s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_SEXQK2/file/writev/async/.dirs/system-config1:/tmp/test_file_SEXQK2/file/writev/async/.dirs/system-config2 1546s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_SEXQK2/file/writev/async/.dirs/config 1546s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_SEXQK2/file/writev/async/.dirs/system-data1:/tmp/test_file_SEXQK2/file/writev/async/.dirs/system-data2 1546s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_SEXQK2/file/writev/async/.dirs/data 1546s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_SEXQK2/file/writev/async/.dirs/state 1546s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_SEXQK2/file/writev/async/.dirs/runtime 1546s ok 43 /file/writev/async 1546s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_SEXQK2/file/writev/async_all/.dirs/home 1546s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_SEXQK2/file/writev/async_all/.dirs/cache 1546s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_SEXQK2/file/writev/async_all/.dirs/system-config1:/tmp/test_file_SEXQK2/file/writev/async_all/.dirs/system-config2 1546s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_SEXQK2/file/writev/async_all/.dirs/config 1546s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_SEXQK2/file/writev/async_all/.dirs/system-data1:/tmp/test_file_SEXQK2/file/writev/async_all/.dirs/system-data2 1546s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_SEXQK2/file/writev/async_all/.dirs/data 1546s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_SEXQK2/file/writev/async_all/.dirs/state 1546s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_SEXQK2/file/writev/async_all/.dirs/runtime 1546s ok 44 /file/writev/async_all 1546s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_SEXQK2/file/writev/async_all-empty-vectors/.dirs/home 1546s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_SEXQK2/file/writev/async_all-empty-vectors/.dirs/cache 1546s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_SEXQK2/file/writev/async_all-empty-vectors/.dirs/system-config1:/tmp/test_file_SEXQK2/file/writev/async_all-empty-vectors/.dirs/system-config2 1546s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_SEXQK2/file/writev/async_all-empty-vectors/.dirs/config 1546s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_SEXQK2/file/writev/async_all-empty-vectors/.dirs/system-data1:/tmp/test_file_SEXQK2/file/writev/async_all-empty-vectors/.dirs/system-data2 1546s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_SEXQK2/file/writev/async_all-empty-vectors/.dirs/data 1546s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_SEXQK2/file/writev/async_all-empty-vectors/.dirs/state 1546s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_SEXQK2/file/writev/async_all-empty-vectors/.dirs/runtime 1546s ok 45 /file/writev/async_all-empty-vectors 1546s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_SEXQK2/file/writev/async_all-no-vectors/.dirs/home 1546s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_SEXQK2/file/writev/async_all-no-vectors/.dirs/cache 1546s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_SEXQK2/file/writev/async_all-no-vectors/.dirs/system-config1:/tmp/test_file_SEXQK2/file/writev/async_all-no-vectors/.dirs/system-config2 1546s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_SEXQK2/file/writev/async_all-no-vectors/.dirs/config 1546s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_SEXQK2/file/writev/async_all-no-vectors/.dirs/system-data1:/tmp/test_file_SEXQK2/file/writev/async_all-no-vectors/.dirs/system-data2 1546s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_SEXQK2/file/writev/async_all-no-vectors/.dirs/data 1546s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_SEXQK2/file/writev/async_all-no-vectors/.dirs/state 1546s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_SEXQK2/file/writev/async_all-no-vectors/.dirs/runtime 1546s ok 46 /file/writev/async_all-no-vectors 1546s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_SEXQK2/file/writev/async_all-to-big-vectors/.dirs/home 1546s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_SEXQK2/file/writev/async_all-to-big-vectors/.dirs/cache 1546s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_SEXQK2/file/writev/async_all-to-big-vectors/.dirs/system-config1:/tmp/test_file_SEXQK2/file/writev/async_all-to-big-vectors/.dirs/system-config2 1546s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_SEXQK2/file/writev/async_all-to-big-vectors/.dirs/config 1546s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_SEXQK2/file/writev/async_all-to-big-vectors/.dirs/system-data1:/tmp/test_file_SEXQK2/file/writev/async_all-to-big-vectors/.dirs/system-data2 1546s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_SEXQK2/file/writev/async_all-to-big-vectors/.dirs/data 1546s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_SEXQK2/file/writev/async_all-to-big-vectors/.dirs/state 1546s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_SEXQK2/file/writev/async_all-to-big-vectors/.dirs/runtime 1546s ok 47 /file/writev/async_all-to-big-vectors 1546s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_SEXQK2/file/writev/async_all-cancellation/.dirs/home 1546s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_SEXQK2/file/writev/async_all-cancellation/.dirs/cache 1546s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_SEXQK2/file/writev/async_all-cancellation/.dirs/system-config1:/tmp/test_file_SEXQK2/file/writev/async_all-cancellation/.dirs/system-config2 1546s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_SEXQK2/file/writev/async_all-cancellation/.dirs/config 1546s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_SEXQK2/file/writev/async_all-cancellation/.dirs/system-data1:/tmp/test_file_SEXQK2/file/writev/async_all-cancellation/.dirs/system-data2 1546s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_SEXQK2/file/writev/async_all-cancellation/.dirs/data 1546s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_SEXQK2/file/writev/async_all-cancellation/.dirs/state 1546s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_SEXQK2/file/writev/async_all-cancellation/.dirs/runtime 1546s ok 48 /file/writev/async_all-cancellation 1546s # End of writev tests 1546s # Start of from-uri tests 1546s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_SEXQK2/file/from-uri/ignores-query-string/.dirs/home 1546s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_SEXQK2/file/from-uri/ignores-query-string/.dirs/cache 1546s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_SEXQK2/file/from-uri/ignores-query-string/.dirs/system-config1:/tmp/test_file_SEXQK2/file/from-uri/ignores-query-string/.dirs/system-config2 1546s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_SEXQK2/file/from-uri/ignores-query-string/.dirs/config 1546s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_SEXQK2/file/from-uri/ignores-query-string/.dirs/system-data1:/tmp/test_file_SEXQK2/file/from-uri/ignores-query-string/.dirs/system-data2 1546s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_SEXQK2/file/from-uri/ignores-query-string/.dirs/data 1546s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_SEXQK2/file/from-uri/ignores-query-string/.dirs/state 1546s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_SEXQK2/file/from-uri/ignores-query-string/.dirs/runtime 1546s ok 49 /file/from-uri/ignores-query-string 1546s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_SEXQK2/file/from-uri/ignores-fragment/.dirs/home 1546s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_SEXQK2/file/from-uri/ignores-fragment/.dirs/cache 1546s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_SEXQK2/file/from-uri/ignores-fragment/.dirs/system-config1:/tmp/test_file_SEXQK2/file/from-uri/ignores-fragment/.dirs/system-config2 1546s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_SEXQK2/file/from-uri/ignores-fragment/.dirs/config 1546s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_SEXQK2/file/from-uri/ignores-fragment/.dirs/system-data1:/tmp/test_file_SEXQK2/file/from-uri/ignores-fragment/.dirs/system-data2 1546s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_SEXQK2/file/from-uri/ignores-fragment/.dirs/data 1546s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_SEXQK2/file/from-uri/ignores-fragment/.dirs/state 1546s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_SEXQK2/file/from-uri/ignores-fragment/.dirs/runtime 1546s ok 50 /file/from-uri/ignores-fragment 1546s # End of from-uri tests 1546s # End of file tests 1546s ok - glib/file.test 1546s # Running test: glib/onceinit.test 1546s TAP version 13 1546s # random seed: R02S70c8d7fc0c561192c9cd96022f0bf7e5 1546s 1..1 1546s # Start of thread tests 1546s ok 1 /thread/onceinit 1546s # End of thread tests 1546s ok - glib/onceinit.test 1546s # Running test: glib/gmenumodel.test 1546s TAP version 13 1546s # random seed: R02S68e968d4e209283456142b609a283ecd 1546s 1..14 1546s # Start of gmenu tests 1546s ok 1 /gmenu/equality 1546s # slow test /gmenu/equality executed in 0.70 secs 1547s # Executing: glib/gmenumodel.test 1547s ok 2 /gmenu/random 1547s # slow test /gmenu/random executed in 0.83 secs 1547s ok 3 /gmenu/attributes 1547s ok 4 /gmenu/links 1547s ok 5 /gmenu/mutable 1547s ok 6 /gmenu/convenience 1547s ok 7 /gmenu/menuitem 1547s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/861 1547s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1547s ok 8 /gmenu/input-validation 1547s # Start of dbus tests 1547s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1548s ok 9 /gmenu/dbus/roundtrip 1548s # slow test /gmenu/dbus/roundtrip executed in 1.06 secs 1549s ok 10 /gmenu/dbus/subscriptions 1550s ok 11 /gmenu/dbus/threaded 1550s # slow test /gmenu/dbus/threaded executed in 1.24 secs 1550s # Start of peer tests 1551s ok 12 /gmenu/dbus/peer/roundtrip 1551s # slow test /gmenu/dbus/peer/roundtrip executed in 1.07 secs 1551s ok 13 /gmenu/dbus/peer/subscriptions # SKIP Not reliable? #932678 1551s # End of peer tests 1551s # End of dbus tests 1551s # Start of attributes tests 1551s ok 14 /gmenu/attributes/iterate 1551s # End of attributes tests 1551s # End of gmenu tests 1551s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1551s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1551s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1551s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1551s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1551s ok - glib/gmenumodel.test 1551s # Running test: glib/async-close-output-stream.test 1551s TAP version 13 1551s # random seed: R02S5363d1db778724c8a832aa14b795d865 1551s 1..3 1551s # Start of close-async tests 1551s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=617937 1551s ok 1 /close-async/without-flush 1551s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=617937 1551s ok 2 /close-async/with-flush 1551s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=617937 1551s ok 3 /close-async/with-async-flush 1551s # End of close-async tests 1551s ok - glib/async-close-output-stream.test 1551s # Running test: glib/testfilemonitor.test 1551s TAP version 13 1551s # random seed: R02S6ada427cc0bea15f563581deb9b8acd7 1551s 1..8 1551s # Start of monitor tests 1551s ok 1 /monitor/atomic-replace # SKIP https://gitlab.gnome.org/GNOME/glib/issues/1634 1551s ok 2 /monitor/file-changes # SKIP https://gitlab.gnome.org/GNOME/glib/issues/1634 1551s ok 3 /monitor/dir-monitor # SKIP https://gitlab.gnome.org/GNOME/glib/issues/1634 1551s ok 4 /monitor/dir-not-existent # SKIP https://gitlab.gnome.org/GNOME/glib/issues/1634 1551s ok 5 /monitor/cross-dir-moves # SKIP https://gitlab.gnome.org/GNOME/glib/issues/1634 1551s ok 6 /monitor/finalize-in-callback # SKIP https://gitlab.gnome.org/GNOME/glib/issues/1634 1551s # /monitor/root summary: Test that GFileMonitor can monitor the root directory. 1551s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/merge_requests/3241 1551s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 1551s ok 7 /monitor/root # SKIP https://gitlab.gnome.org/GNOME/glib/issues/1634 1551s # Start of file tests 1551s ok 8 /monitor/file/hard-links # SKIP https://gitlab.gnome.org/GNOME/glib/issues/1634 1551s # End of file tests 1551s # End of monitor tests 1551s ok - glib/testfilemonitor.test 1551s # Running test: glib/repository.test 1551s TAP version 13 1551s # random seed: R02S3d89252ea43d11058dc5a06e02b852b3 1551s 1..20 1551s # Start of repository tests 1551s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_VVVQK2/repository/basic/.dirs/home 1551s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_VVVQK2/repository/basic/.dirs/cache 1551s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_VVVQK2/repository/basic/.dirs/system-config1:/tmp/test_repository_VVVQK2/repository/basic/.dirs/system-config2 1551s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_VVVQK2/repository/basic/.dirs/config 1551s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_VVVQK2/repository/basic/.dirs/system-data1:/tmp/test_repository_VVVQK2/repository/basic/.dirs/system-data2 1551s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_VVVQK2/repository/basic/.dirs/data 1551s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_VVVQK2/repository/basic/.dirs/state 1551s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_VVVQK2/repository/basic/.dirs/runtime 1551s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1551s # /repository/basic summary: Test basic opening of a repository and requiring a typelib 1551s ok 1 /repository/basic 1551s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_VVVQK2/repository/info/.dirs/home 1551s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_VVVQK2/repository/info/.dirs/cache 1551s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_VVVQK2/repository/info/.dirs/system-config1:/tmp/test_repository_VVVQK2/repository/info/.dirs/system-config2 1551s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_VVVQK2/repository/info/.dirs/config 1551s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_VVVQK2/repository/info/.dirs/system-data1:/tmp/test_repository_VVVQK2/repository/info/.dirs/system-data2 1551s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_VVVQK2/repository/info/.dirs/data 1551s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_VVVQK2/repository/info/.dirs/state 1551s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_VVVQK2/repository/info/.dirs/runtime 1551s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1551s # /repository/info summary: Test retrieving some basic info blobs from a typelib 1551s ok 2 /repository/info 1551s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_VVVQK2/repository/dependencies/.dirs/home 1551s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_VVVQK2/repository/dependencies/.dirs/cache 1551s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_VVVQK2/repository/dependencies/.dirs/system-config1:/tmp/test_repository_VVVQK2/repository/dependencies/.dirs/system-config2 1551s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_VVVQK2/repository/dependencies/.dirs/config 1551s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_VVVQK2/repository/dependencies/.dirs/system-data1:/tmp/test_repository_VVVQK2/repository/dependencies/.dirs/system-data2 1551s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_VVVQK2/repository/dependencies/.dirs/data 1551s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_VVVQK2/repository/dependencies/.dirs/state 1551s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_VVVQK2/repository/dependencies/.dirs/runtime 1551s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1551s # /repository/dependencies summary: Test ensures namespace dependencies are correctly exposed 1551s ok 3 /repository/dependencies 1551s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_VVVQK2/repository/arg-info/.dirs/home 1551s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_VVVQK2/repository/arg-info/.dirs/cache 1551s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_VVVQK2/repository/arg-info/.dirs/system-config1:/tmp/test_repository_VVVQK2/repository/arg-info/.dirs/system-config2 1551s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_VVVQK2/repository/arg-info/.dirs/config 1551s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_VVVQK2/repository/arg-info/.dirs/system-data1:/tmp/test_repository_VVVQK2/repository/arg-info/.dirs/system-data2 1551s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_VVVQK2/repository/arg-info/.dirs/data 1551s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_VVVQK2/repository/arg-info/.dirs/state 1551s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_VVVQK2/repository/arg-info/.dirs/runtime 1551s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1551s # /repository/arg-info summary: Test retrieving GIArgInfos from a typelib 1551s ok 4 /repository/arg-info 1551s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_VVVQK2/repository/callable-info/.dirs/home 1551s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_VVVQK2/repository/callable-info/.dirs/cache 1551s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_VVVQK2/repository/callable-info/.dirs/system-config1:/tmp/test_repository_VVVQK2/repository/callable-info/.dirs/system-config2 1551s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_VVVQK2/repository/callable-info/.dirs/config 1551s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_VVVQK2/repository/callable-info/.dirs/system-data1:/tmp/test_repository_VVVQK2/repository/callable-info/.dirs/system-data2 1551s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_VVVQK2/repository/callable-info/.dirs/data 1551s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_VVVQK2/repository/callable-info/.dirs/state 1551s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_VVVQK2/repository/callable-info/.dirs/runtime 1551s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1551s # /repository/callable-info summary: Test retrieving GICallableInfos from a typelib 1551s ok 5 /repository/callable-info 1551s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_VVVQK2/repository/callback-info/.dirs/home 1551s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_VVVQK2/repository/callback-info/.dirs/cache 1551s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_VVVQK2/repository/callback-info/.dirs/system-config1:/tmp/test_repository_VVVQK2/repository/callback-info/.dirs/system-config2 1551s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_VVVQK2/repository/callback-info/.dirs/config 1551s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_VVVQK2/repository/callback-info/.dirs/system-data1:/tmp/test_repository_VVVQK2/repository/callback-info/.dirs/system-data2 1551s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_VVVQK2/repository/callback-info/.dirs/data 1551s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_VVVQK2/repository/callback-info/.dirs/state 1551s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_VVVQK2/repository/callback-info/.dirs/runtime 1551s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1551s # /repository/callback-info summary: Test retrieving GICallbackInfos from a typelib 1551s ok 6 /repository/callback-info 1551s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_VVVQK2/repository/char-types/.dirs/home 1551s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_VVVQK2/repository/char-types/.dirs/cache 1551s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_VVVQK2/repository/char-types/.dirs/system-config1:/tmp/test_repository_VVVQK2/repository/char-types/.dirs/system-config2 1551s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_VVVQK2/repository/char-types/.dirs/config 1551s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_VVVQK2/repository/char-types/.dirs/system-data1:/tmp/test_repository_VVVQK2/repository/char-types/.dirs/system-data2 1551s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_VVVQK2/repository/char-types/.dirs/data 1551s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_VVVQK2/repository/char-types/.dirs/state 1551s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_VVVQK2/repository/char-types/.dirs/runtime 1551s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1551s # /repository/char-types summary: Test that signed and unsigned char GITypeInfo have GITypeTag of INT8 and UINT8 respectively 1551s ok 7 /repository/char-types 1551s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_VVVQK2/repository/constructor-return-type/.dirs/home 1551s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_VVVQK2/repository/constructor-return-type/.dirs/cache 1551s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_VVVQK2/repository/constructor-return-type/.dirs/system-config1:/tmp/test_repository_VVVQK2/repository/constructor-return-type/.dirs/system-config2 1551s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_VVVQK2/repository/constructor-return-type/.dirs/config 1551s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_VVVQK2/repository/constructor-return-type/.dirs/system-data1:/tmp/test_repository_VVVQK2/repository/constructor-return-type/.dirs/system-data2 1551s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_VVVQK2/repository/constructor-return-type/.dirs/data 1551s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_VVVQK2/repository/constructor-return-type/.dirs/state 1551s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_VVVQK2/repository/constructor-return-type/.dirs/runtime 1551s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1551s # /repository/constructor-return-type summary: Test the return type of a constructor, g_object_newv() 1551s ok 8 /repository/constructor-return-type 1551s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_VVVQK2/repository/enum-info-c-identifier/.dirs/home 1551s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_VVVQK2/repository/enum-info-c-identifier/.dirs/cache 1551s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_VVVQK2/repository/enum-info-c-identifier/.dirs/system-config1:/tmp/test_repository_VVVQK2/repository/enum-info-c-identifier/.dirs/system-config2 1551s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_VVVQK2/repository/enum-info-c-identifier/.dirs/config 1551s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_VVVQK2/repository/enum-info-c-identifier/.dirs/system-data1:/tmp/test_repository_VVVQK2/repository/enum-info-c-identifier/.dirs/system-data2 1551s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_VVVQK2/repository/enum-info-c-identifier/.dirs/data 1551s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_VVVQK2/repository/enum-info-c-identifier/.dirs/state 1551s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_VVVQK2/repository/enum-info-c-identifier/.dirs/runtime 1551s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1551s # /repository/enum-info-c-identifier summary: Test that every enum member has a C identifier 1551s ok 9 /repository/enum-info-c-identifier 1551s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_VVVQK2/repository/enum-info-static-methods/.dirs/home 1551s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_VVVQK2/repository/enum-info-static-methods/.dirs/cache 1551s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_VVVQK2/repository/enum-info-static-methods/.dirs/system-config1:/tmp/test_repository_VVVQK2/repository/enum-info-static-methods/.dirs/system-config2 1551s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_VVVQK2/repository/enum-info-static-methods/.dirs/config 1551s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_VVVQK2/repository/enum-info-static-methods/.dirs/system-data1:/tmp/test_repository_VVVQK2/repository/enum-info-static-methods/.dirs/system-data2 1551s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_VVVQK2/repository/enum-info-static-methods/.dirs/data 1551s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_VVVQK2/repository/enum-info-static-methods/.dirs/state 1551s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_VVVQK2/repository/enum-info-static-methods/.dirs/runtime 1551s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1551s # /repository/enum-info-static-methods summary: Test an enum with methods 1551s ok 10 /repository/enum-info-static-methods 1551s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_VVVQK2/repository/error-quark/.dirs/home 1551s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_VVVQK2/repository/error-quark/.dirs/cache 1551s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_VVVQK2/repository/error-quark/.dirs/system-config1:/tmp/test_repository_VVVQK2/repository/error-quark/.dirs/system-config2 1551s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_VVVQK2/repository/error-quark/.dirs/config 1551s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_VVVQK2/repository/error-quark/.dirs/system-data1:/tmp/test_repository_VVVQK2/repository/error-quark/.dirs/system-data2 1551s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_VVVQK2/repository/error-quark/.dirs/data 1551s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_VVVQK2/repository/error-quark/.dirs/state 1551s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_VVVQK2/repository/error-quark/.dirs/runtime 1551s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1551s # /repository/error-quark summary: Test finding an error quark by error domain 1551s ok 11 /repository/error-quark 1551s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_VVVQK2/repository/flags-info-c-identifier/.dirs/home 1551s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_VVVQK2/repository/flags-info-c-identifier/.dirs/cache 1551s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_VVVQK2/repository/flags-info-c-identifier/.dirs/system-config1:/tmp/test_repository_VVVQK2/repository/flags-info-c-identifier/.dirs/system-config2 1551s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_VVVQK2/repository/flags-info-c-identifier/.dirs/config 1551s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_VVVQK2/repository/flags-info-c-identifier/.dirs/system-data1:/tmp/test_repository_VVVQK2/repository/flags-info-c-identifier/.dirs/system-data2 1551s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_VVVQK2/repository/flags-info-c-identifier/.dirs/data 1551s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_VVVQK2/repository/flags-info-c-identifier/.dirs/state 1551s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_VVVQK2/repository/flags-info-c-identifier/.dirs/runtime 1551s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1551s # /repository/flags-info-c-identifier summary: Test that every flags member has a C identifier 1551s ok 12 /repository/flags-info-c-identifier 1551s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_VVVQK2/repository/fundamental-ref-func/.dirs/home 1551s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_VVVQK2/repository/fundamental-ref-func/.dirs/cache 1551s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_VVVQK2/repository/fundamental-ref-func/.dirs/system-config1:/tmp/test_repository_VVVQK2/repository/fundamental-ref-func/.dirs/system-config2 1551s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_VVVQK2/repository/fundamental-ref-func/.dirs/config 1551s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_VVVQK2/repository/fundamental-ref-func/.dirs/system-data1:/tmp/test_repository_VVVQK2/repository/fundamental-ref-func/.dirs/system-data2 1551s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_VVVQK2/repository/fundamental-ref-func/.dirs/data 1551s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_VVVQK2/repository/fundamental-ref-func/.dirs/state 1551s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_VVVQK2/repository/fundamental-ref-func/.dirs/runtime 1551s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1551s # /repository/fundamental-ref-func summary: Test getting the ref func of a fundamental type 1551s ok 13 /repository/fundamental-ref-func 1551s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_VVVQK2/repository/instance-method-ownership-transfer/.dirs/home 1551s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_VVVQK2/repository/instance-method-ownership-transfer/.dirs/cache 1551s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_VVVQK2/repository/instance-method-ownership-transfer/.dirs/system-config1:/tmp/test_repository_VVVQK2/repository/instance-method-ownership-transfer/.dirs/system-config2 1551s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_VVVQK2/repository/instance-method-ownership-transfer/.dirs/config 1551s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_VVVQK2/repository/instance-method-ownership-transfer/.dirs/system-data1:/tmp/test_repository_VVVQK2/repository/instance-method-ownership-transfer/.dirs/system-data2 1551s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_VVVQK2/repository/instance-method-ownership-transfer/.dirs/data 1551s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_VVVQK2/repository/instance-method-ownership-transfer/.dirs/state 1551s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_VVVQK2/repository/instance-method-ownership-transfer/.dirs/runtime 1551s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1551s # /repository/instance-method-ownership-transfer summary: Test two methods of the same object having opposite ownership transfer of the instance parameter 1551s ok 14 /repository/instance-method-ownership-transfer 1551s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_VVVQK2/repository/object-gtype-interfaces/.dirs/home 1551s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_VVVQK2/repository/object-gtype-interfaces/.dirs/cache 1551s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_VVVQK2/repository/object-gtype-interfaces/.dirs/system-config1:/tmp/test_repository_VVVQK2/repository/object-gtype-interfaces/.dirs/system-config2 1551s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_VVVQK2/repository/object-gtype-interfaces/.dirs/config 1551s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_VVVQK2/repository/object-gtype-interfaces/.dirs/system-data1:/tmp/test_repository_VVVQK2/repository/object-gtype-interfaces/.dirs/system-data2 1551s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_VVVQK2/repository/object-gtype-interfaces/.dirs/data 1551s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_VVVQK2/repository/object-gtype-interfaces/.dirs/state 1551s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_VVVQK2/repository/object-gtype-interfaces/.dirs/runtime 1551s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1551s # /repository/object-gtype-interfaces summary: Test gi_repository_get_object_gtype_interfaces() 1551s ok 15 /repository/object-gtype-interfaces 1551s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_VVVQK2/repository/signal-info-with-array-length-arg/.dirs/home 1551s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_VVVQK2/repository/signal-info-with-array-length-arg/.dirs/cache 1551s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_VVVQK2/repository/signal-info-with-array-length-arg/.dirs/system-config1:/tmp/test_repository_VVVQK2/repository/signal-info-with-array-length-arg/.dirs/system-config2 1551s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_VVVQK2/repository/signal-info-with-array-length-arg/.dirs/config 1551s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_VVVQK2/repository/signal-info-with-array-length-arg/.dirs/system-data1:/tmp/test_repository_VVVQK2/repository/signal-info-with-array-length-arg/.dirs/system-data2 1551s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_VVVQK2/repository/signal-info-with-array-length-arg/.dirs/data 1551s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_VVVQK2/repository/signal-info-with-array-length-arg/.dirs/state 1551s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_VVVQK2/repository/signal-info-with-array-length-arg/.dirs/runtime 1551s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1551s # /repository/signal-info-with-array-length-arg summary: Test finding the associated array length argument of an array parameter of a signal 1551s ok 16 /repository/signal-info-with-array-length-arg 1551s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_VVVQK2/repository/type-info-name/.dirs/home 1551s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_VVVQK2/repository/type-info-name/.dirs/cache 1551s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_VVVQK2/repository/type-info-name/.dirs/system-config1:/tmp/test_repository_VVVQK2/repository/type-info-name/.dirs/system-config2 1551s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_VVVQK2/repository/type-info-name/.dirs/config 1551s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_VVVQK2/repository/type-info-name/.dirs/system-data1:/tmp/test_repository_VVVQK2/repository/type-info-name/.dirs/system-data2 1551s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_VVVQK2/repository/type-info-name/.dirs/data 1551s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_VVVQK2/repository/type-info-name/.dirs/state 1551s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_VVVQK2/repository/type-info-name/.dirs/runtime 1551s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1551s # /repository/type-info-name summary: Test that gi_base_info_get_name() returns null for GITypeInfo 1551s # Bug Reference: https://gitlab.gnome.org/GNOME/gobject-introspection/issues/96 1551s ok 17 /repository/type-info-name 1551s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_VVVQK2/repository/vfunc-info-with-no-invoker/.dirs/home 1551s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_VVVQK2/repository/vfunc-info-with-no-invoker/.dirs/cache 1551s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_VVVQK2/repository/vfunc-info-with-no-invoker/.dirs/system-config1:/tmp/test_repository_VVVQK2/repository/vfunc-info-with-no-invoker/.dirs/system-config2 1551s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_VVVQK2/repository/vfunc-info-with-no-invoker/.dirs/config 1551s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_VVVQK2/repository/vfunc-info-with-no-invoker/.dirs/system-data1:/tmp/test_repository_VVVQK2/repository/vfunc-info-with-no-invoker/.dirs/system-data2 1551s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_VVVQK2/repository/vfunc-info-with-no-invoker/.dirs/data 1551s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_VVVQK2/repository/vfunc-info-with-no-invoker/.dirs/state 1551s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_VVVQK2/repository/vfunc-info-with-no-invoker/.dirs/runtime 1551s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1551s # /repository/vfunc-info-with-no-invoker summary: Test vfunc with no known invoker on object, such as GObject.dispose 1551s ok 18 /repository/vfunc-info-with-no-invoker 1551s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_VVVQK2/repository/vfunc-info-with-invoker-on-interface/.dirs/home 1551s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_VVVQK2/repository/vfunc-info-with-invoker-on-interface/.dirs/cache 1551s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_VVVQK2/repository/vfunc-info-with-invoker-on-interface/.dirs/system-config1:/tmp/test_repository_VVVQK2/repository/vfunc-info-with-invoker-on-interface/.dirs/system-config2 1551s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_VVVQK2/repository/vfunc-info-with-invoker-on-interface/.dirs/config 1551s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_VVVQK2/repository/vfunc-info-with-invoker-on-interface/.dirs/system-data1:/tmp/test_repository_VVVQK2/repository/vfunc-info-with-invoker-on-interface/.dirs/system-data2 1551s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_VVVQK2/repository/vfunc-info-with-invoker-on-interface/.dirs/data 1551s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_VVVQK2/repository/vfunc-info-with-invoker-on-interface/.dirs/state 1551s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_VVVQK2/repository/vfunc-info-with-invoker-on-interface/.dirs/runtime 1551s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1551s # /repository/vfunc-info-with-invoker-on-interface summary: Test vfunc with invoker on interface, such as GFile.read_async 1551s ok 19 /repository/vfunc-info-with-invoker-on-interface 1551s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_VVVQK2/repository/vfunc-info-with-invoker-on-object/.dirs/home 1551s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_VVVQK2/repository/vfunc-info-with-invoker-on-object/.dirs/cache 1551s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_VVVQK2/repository/vfunc-info-with-invoker-on-object/.dirs/system-config1:/tmp/test_repository_VVVQK2/repository/vfunc-info-with-invoker-on-object/.dirs/system-config2 1551s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_VVVQK2/repository/vfunc-info-with-invoker-on-object/.dirs/config 1551s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_VVVQK2/repository/vfunc-info-with-invoker-on-object/.dirs/system-data1:/tmp/test_repository_VVVQK2/repository/vfunc-info-with-invoker-on-object/.dirs/system-data2 1551s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_VVVQK2/repository/vfunc-info-with-invoker-on-object/.dirs/data 1551s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_VVVQK2/repository/vfunc-info-with-invoker-on-object/.dirs/state 1551s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_VVVQK2/repository/vfunc-info-with-invoker-on-object/.dirs/runtime 1551s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1551s # /repository/vfunc-info-with-invoker-on-object summary: Test vfunc with invoker on object, such as GAppLaunchContext.get_display 1551s ok 20 /repository/vfunc-info-with-invoker-on-object 1551s # End of repository tests 1551s ok - glib/repository.test 1551s # Running test: glib/gdbus-sasl.test 1551s TAP version 13 1551s # random seed: R02S1e4e25b370b97f0790af7ffa0027f7d2 1551s 1..1 1551s # Start of gdbus tests 1551s # Start of sasl tests 1551s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-sasl_K16QK2/gdbus/sasl/server/.dirs/home 1551s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-sasl_K16QK2/gdbus/sasl/server/.dirs/cache 1551s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-sasl_K16QK2/gdbus/sasl/server/.dirs/system-config1:/tmp/test_gdbus-sasl_K16QK2/gdbus/sasl/server/.dirs/system-config2 1551s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-sasl_K16QK2/gdbus/sasl/server/.dirs/config 1551s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-sasl_K16QK2/gdbus/sasl/server/.dirs/system-data1:/tmp/test_gdbus-sasl_K16QK2/gdbus/sasl/server/.dirs/system-data2 1551s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-sasl_K16QK2/gdbus/sasl/server/.dirs/data 1551s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-sasl_K16QK2/gdbus/sasl/server/.dirs/state 1551s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-sasl_K16QK2/gdbus/sasl/server/.dirs/runtime 1551s # New handshake: EXTERNAL with incorrect initial response 1551s # C:“AUTH EXTERNAL 30” 1551s # Expect: /^REJECTED.*$/ 1551s # S:“REJECTED EXTERNAL DBUS_COOKIE_SHA1” 1551s # New handshake: EXTERNAL without initial response, failing to authenticate 1551s # C:“AUTH EXTERNAL” 1551s # Expect: /^DATA$/ 1551s # S:“DATA” 1551s # C:“DATA 30” 1551s # Expect: /^REJECTED.*$/ 1551s # S:“REJECTED EXTERNAL DBUS_COOKIE_SHA1” 1551s # New handshake: EXTERNAL with initial response 1551s # C:“AUTH EXTERNAL 31303030” 1551s # Expect: /^OK [0-9a-f]+$/ 1551s # S:“OK ec61ad7d67ed10c3906383f665fc02ea” 1551s # New handshake: EXTERNAL without initial response 1551s # C:“AUTH EXTERNAL” 1551s # Expect: /^DATA$/ 1551s # S:“DATA” 1551s # C:“DATA 31303030” 1551s # Expect: /^OK [0-9a-f]+$/ 1551s # S:“OK ec61ad7d67ed10c3906383f665fc02ea” 1551s # New handshake: EXTERNAL with empty authorization identity 1551s # C:“AUTH EXTERNAL” 1551s # Expect: /^DATA$/ 1551s # S:“DATA” 1551s # C:“DATA” 1551s # Expect: /^OK [0-9a-f]+$/ 1551s # S:“OK ec61ad7d67ed10c3906383f665fc02ea” 1551s # New handshake: EXTERNAL with empty authorization identity and whitespace 1551s # C:“AUTH EXTERNAL” 1551s # Expect: /^DATA$/ 1551s # S:“DATA” 1551s # C:“DATA ” 1551s # Expect: /^OK [0-9a-f]+$/ 1551s # S:“OK ec61ad7d67ed10c3906383f665fc02ea” 1551s ok 1 /gdbus/sasl/server 1551s # End of sasl tests 1551s # End of gdbus tests 1551s ok - glib/gdbus-sasl.test 1551s # Running test: glib/gdbus-peer-object-manager.test 1551s TAP version 13 1551s # random seed: R02Sb8b27ff72d76c83aa4df170629f97af4 1551s 1..2 1551s # Start of gdbus tests 1551s # Start of peer-object-manager tests 1551s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer-object-manager_XNBRK2/gdbus/peer-object-manager/normal/.dirs/home 1551s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer-object-manager_XNBRK2/gdbus/peer-object-manager/normal/.dirs/cache 1551s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer-object-manager_XNBRK2/gdbus/peer-object-manager/normal/.dirs/system-config1:/tmp/test_gdbus-peer-object-manager_XNBRK2/gdbus/peer-object-manager/normal/.dirs/system-config2 1551s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer-object-manager_XNBRK2/gdbus/peer-object-manager/normal/.dirs/config 1551s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer-object-manager_XNBRK2/gdbus/peer-object-manager/normal/.dirs/system-data1:/tmp/test_gdbus-peer-object-manager_XNBRK2/gdbus/peer-object-manager/normal/.dirs/system-data2 1551s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer-object-manager_XNBRK2/gdbus/peer-object-manager/normal/.dirs/data 1551s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer-object-manager_XNBRK2/gdbus/peer-object-manager/normal/.dirs/state 1551s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer-object-manager_XNBRK2/gdbus/peer-object-manager/normal/.dirs/runtime 1551s ok 1 /gdbus/peer-object-manager/normal 1551s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer-object-manager_XNBRK2/gdbus/peer-object-manager/root/.dirs/home 1551s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer-object-manager_XNBRK2/gdbus/peer-object-manager/root/.dirs/cache 1551s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer-object-manager_XNBRK2/gdbus/peer-object-manager/root/.dirs/system-config1:/tmp/test_gdbus-peer-object-manager_XNBRK2/gdbus/peer-object-manager/root/.dirs/system-config2 1551s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer-object-manager_XNBRK2/gdbus/peer-object-manager/root/.dirs/config 1551s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer-object-manager_XNBRK2/gdbus/peer-object-manager/root/.dirs/system-data1:/tmp/test_gdbus-peer-object-manager_XNBRK2/gdbus/peer-object-manager/root/.dirs/system-data2 1551s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer-object-manager_XNBRK2/gdbus/peer-object-manager/root/.dirs/data 1551s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer-object-manager_XNBRK2/gdbus/peer-object-manager/root/.dirs/state 1551s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer-object-manager_XNBRK2/gdbus/peer-object-manager/root/.dirs/runtime 1551s ok 2 /gdbus/peer-object-manager/root 1551s # End of peer-object-manager tests 1551s # End of gdbus tests 1551s ok - glib/gdbus-peer-object-manager.test 1551s # Running test: glib/markup.test 1551s TAP version 13 1551s # random seed: R02S1a9ee98532b921f5841f5583ebd0fb74 1551s 1..1 1551s # Start of markup tests 1551s ok 1 /markup/stack 1551s # End of markup tests 1551s ok - glib/markup.test 1551s # Running test: glib/mkenums.py.test 1551s TAP version 13 1551s ok 1 __main__.TestMkenums.test_available_in 1551s # tmpdir: /tmp/tmp8moy37_y 1551s # rspfile: False, mkenums: /usr/bin/glib-mkenums 1551s # /tmp/tmp8moy37_y/tmp1b7h6v7a.h: 1551s # typedef enum { 1551s # G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER GLIB_AVAILABLE_ENUMERATOR_IN_2_68 = (1<<2) 1551s # } GDBusServerFlags; 1551s # 1551s # /tmp/tmp8moy37_y/tmp7k9e4mdj.template: 1551s # /*** BEGIN file-header ***/ 1551s # file-header 1551s # /*** END file-header ***/ 1551s # 1551s # /*** BEGIN file-production ***/ 1551s # file-production 1551s # filename: @filename@ 1551s # basename: @basename@ 1551s # /*** END file-production ***/ 1551s # 1551s # /*** BEGIN enumeration-production ***/ 1551s # enumeration-production 1551s # EnumName: @EnumName@ 1551s # enum_name: @enum_name@ 1551s # ENUMNAME: @ENUMNAME@ 1551s # ENUMSHORT: @ENUMSHORT@ 1551s # ENUMPREFIX: @ENUMPREFIX@ 1551s # enumsince: @enumsince@ 1551s # type: @type@ 1551s # Type: @Type@ 1551s # TYPE: @TYPE@ 1551s # /*** END enumeration-production ***/ 1551s # 1551s # /*** BEGIN value-header ***/ 1551s # value-header 1551s # EnumName: @EnumName@ 1551s # enum_name: @enum_name@ 1551s # ENUMNAME: @ENUMNAME@ 1551s # ENUMSHORT: @ENUMSHORT@ 1551s # ENUMPREFIX: @ENUMPREFIX@ 1551s # enumsince: @enumsince@ 1551s # type: @type@ 1551s # Type: @Type@ 1551s # TYPE: @TYPE@ 1551s # /*** END value-header ***/ 1551s # 1551s # /*** BEGIN value-production ***/ 1551s # value-production 1551s # VALUENAME: @VALUENAME@ 1551s # valuenick: @valuenick@ 1551s # valuenum: @valuenum@ 1551s # type: @type@ 1551s # Type: @Type@ 1551s # TYPE: @TYPE@ 1551s # /*** END value-production ***/ 1551s # 1551s # /*** BEGIN value-tail ***/ 1551s # value-tail 1551s # EnumName: @EnumName@ 1551s # enum_name: @enum_name@ 1551s # ENUMNAME: @ENUMNAME@ 1551s # ENUMSHORT: @ENUMSHORT@ 1551s # ENUMPREFIX: @ENUMPREFIX@ 1551s # enumsince: @enumsince@ 1551s # type: @type@ 1551s # Type: @Type@ 1551s # TYPE: @TYPE@ 1551s # /*** END value-tail ***/ 1551s # 1551s # /*** BEGIN comment ***/ 1551s # comment 1551s # comment: @comment@ 1551s # /*** END comment ***/ 1551s # 1551s # /*** BEGIN file-tail ***/ 1551s # file-tail 1551s # /*** END file-tail ***/ 1551s # 1551s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmp8moy37_y/tmp7k9e4mdj.template', '/tmp/tmp8moy37_y/tmp1b7h6v7a.h'] 1551s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-baqskmurxn,guid=fbaffe99d0ccb1f6e1beb84865fc01cd', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.YcZbqk/autopkgtest_tmp', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.YcZbqk/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.YcZbqk/autopkgtest_tmp', 'TERM': 'unknown', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.YcZbqk/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.sVTVMp0Db0', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.rqZsJO/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.YcZbqk/wrapper.sh --artifacts=/tmp/autopkgtest.YcZbqk/installed-tests-artifacts --chdir=/tmp/autopkgtest.YcZbqk/build.S0E/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.YcZbqk/installed-tests-stderr --stdout=/tmp/autopkgtest.YcZbqk/installed-tests-stdout --tmp=/tmp/autopkgtest.YcZbqk/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2' --make-executable=/tmp/autopkgtest.YcZbqk/build.S0E/src/debian/tests/installed-tests -- /tmp/autopkgtest.YcZbqk/build.S0E/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.YcZbqk/build.S0E/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.YcZbqk/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1551s # Output: comment 1551s # 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. 1551s # 1551s # 1551s # file-header 1551s # file-production 1551s # filename: /tmp/tmp8moy37_y/tmp1b7h6v7a.h 1551s # basename: tmp1b7h6v7a.h 1551s # enumeration-production 1551s # EnumName: GDBusServerFlags 1551s # enum_name: g_dbus_server_flags 1551s # ENUMNAME: G_DBUS_SERVER_FLAGS 1551s # ENUMSHORT: DBUS_SERVER_FLAGS 1551s # ENUMPREFIX: G 1551s # enumsince: 1551s # type: flags 1551s # Type: Flags 1551s # TYPE: FLAGS 1551s # value-header 1551s # EnumName: GDBusServerFlags 1551s # enum_name: g_dbus_server_flags 1551s # ENUMNAME: G_DBUS_SERVER_FLAGS 1551s # ENUMSHORT: DBUS_SERVER_FLAGS 1551s # ENUMPREFIX: G 1551s # enumsince: 1551s # type: flags 1551s # Type: Flags 1551s # TYPE: FLAGS 1551s # value-production 1551s # VALUENAME: G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER 1551s # valuenick: user 1551s # valuenum: 4 1551s # type: flags 1551s # Type: Flags 1551s # TYPE: FLAGS 1551s # value-tail 1551s # EnumName: GDBusServerFlags 1551s # enum_name: g_dbus_server_flags 1551s # ENUMNAME: G_DBUS_SERVER_FLAGS 1551s # ENUMSHORT: DBUS_SERVER_FLAGS 1551s # ENUMPREFIX: G 1551s # enumsince: 1551s # type: flags 1551s # Type: Flags 1551s # TYPE: FLAGS 1551s # file-tail 1551s # 1551s # comment 1551s # comment: Generated data ends here 1551s ok 2 __main__.TestMkenums.test_comma_in_enum_value 1551s # tmpdir: /tmp/tmpeo5oqivn 1551s # rspfile: False, mkenums: /usr/bin/glib-mkenums 1551s # /tmp/tmpeo5oqivn/tmpu75hbabd.h: 1551s # typedef enum { 1551s # ENUM_VALUE_WITH_COMMA = ',', 1551s # } TestCommaEnum; 1551s # 1551s # /tmp/tmpeo5oqivn/tmprepqqxsy.template: 1551s # /*** BEGIN file-header ***/ 1551s # file-header 1551s # /*** END file-header ***/ 1551s # 1551s # /*** BEGIN file-production ***/ 1551s # file-production 1551s # filename: @filename@ 1551s # basename: @basename@ 1551s # /*** END file-production ***/ 1551s # 1551s # /*** BEGIN enumeration-production ***/ 1551s # enumeration-production 1551s # EnumName: @EnumName@ 1551s # enum_name: @enum_name@ 1551s # ENUMNAME: @ENUMNAME@ 1551s # ENUMSHORT: @ENUMSHORT@ 1551s # ENUMPREFIX: @ENUMPREFIX@ 1551s # enumsince: @enumsince@ 1551s # type: @type@ 1551s # Type: @Type@ 1551s # TYPE: @TYPE@ 1551s # /*** END enumeration-production ***/ 1551s # 1551s # /*** BEGIN value-header ***/ 1551s # value-header 1551s # EnumName: @EnumName@ 1551s # enum_name: @enum_name@ 1551s # ENUMNAME: @ENUMNAME@ 1551s # ENUMSHORT: @ENUMSHORT@ 1551s # ENUMPREFIX: @ENUMPREFIX@ 1551s # enumsince: @enumsince@ 1551s # type: @type@ 1551s # Type: @Type@ 1551s # TYPE: @TYPE@ 1551s # /*** END value-header ***/ 1551s # 1551s # /*** BEGIN value-production ***/ 1551s # value-production 1551s # VALUENAME: @VALUENAME@ 1551s # valuenick: @valuenick@ 1551s # valuenum: @valuenum@ 1551s # type: @type@ 1551s # Type: @Type@ 1551s # TYPE: @TYPE@ 1551s # /*** END value-production ***/ 1551s # 1551s # /*** BEGIN value-tail ***/ 1551s # value-tail 1551s # EnumName: @EnumName@ 1551s # enum_name: @enum_name@ 1551s # ENUMNAME: @ENUMNAME@ 1551s # ENUMSHORT: @ENUMSHORT@ 1551s # ENUMPREFIX: @ENUMPREFIX@ 1551s # enumsince: @enumsince@ 1551s # type: @type@ 1551s # Type: @Type@ 1551s # TYPE: @TYPE@ 1551s # /*** END value-tail ***/ 1551s # 1551s # /*** BEGIN comment ***/ 1551s # comment 1551s # comment: @comment@ 1551s # /*** END comment ***/ 1551s # 1551s # /*** BEGIN file-tail ***/ 1551s # file-tail 1551s # /*** END file-tail ***/ 1551s # 1551s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpeo5oqivn/tmprepqqxsy.template', '/tmp/tmpeo5oqivn/tmpu75hbabd.h'] 1551s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-baqskmurxn,guid=fbaffe99d0ccb1f6e1beb84865fc01cd', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.YcZbqk/autopkgtest_tmp', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.YcZbqk/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.YcZbqk/autopkgtest_tmp', 'TERM': 'unknown', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.YcZbqk/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.sVTVMp0Db0', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.rqZsJO/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.YcZbqk/wrapper.sh --artifacts=/tmp/autopkgtest.YcZbqk/installed-tests-artifacts --chdir=/tmp/autopkgtest.YcZbqk/build.S0E/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.YcZbqk/installed-tests-stderr --stdout=/tmp/autopkgtest.YcZbqk/installed-tests-stdout --tmp=/tmp/autopkgtest.YcZbqk/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2' --make-executable=/tmp/autopkgtest.YcZbqk/build.S0E/src/debian/tests/installed-tests -- /tmp/autopkgtest.YcZbqk/build.S0E/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.YcZbqk/build.S0E/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.YcZbqk/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1551s # Output: comment 1551s # 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. 1551s # 1551s # 1551s # file-header 1551s # file-production 1551s # filename: /tmp/tmpeo5oqivn/tmpu75hbabd.h 1551s # basename: tmpu75hbabd.h 1551s # enumeration-production 1551s # EnumName: TestCommaEnum 1551s # enum_name: test_comma_enum 1551s # ENUMNAME: TEST_COMMA_ENUM 1551s # ENUMSHORT: COMMA_ENUM 1551s # ENUMPREFIX: TEST 1551s # enumsince: 1551s # type: enum 1551s # Type: Enum 1551s # TYPE: ENUM 1551s # value-header 1551s # EnumName: TestCommaEnum 1551s # enum_name: test_comma_enum 1551s # ENUMNAME: TEST_COMMA_ENUM 1551s # ENUMSHORT: COMMA_ENUM 1551s # ENUMPREFIX: TEST 1551s # enumsince: 1551s # type: enum 1551s # Type: Enum 1551s # TYPE: ENUM 1551s # value-production 1551s # VALUENAME: ENUM_VALUE_WITH_COMMA 1551s # valuenick: comma 1551s # valuenum: 44 1551s # type: enum 1551s # Type: Enum 1551s # TYPE: ENUM 1551s # value-tail 1551s # EnumName: TestCommaEnum 1551s # enum_name: test_comma_enum 1551s # ENUMNAME: TEST_COMMA_ENUM 1551s # ENUMSHORT: COMMA_ENUM 1551s # ENUMPREFIX: TEST 1551s # enumsince: 1551s # type: enum 1551s # Type: Enum 1551s # TYPE: ENUM 1551s # file-tail 1551s # 1551s # comment 1551s # comment: Generated data ends here 1551s ok 3 __main__.TestMkenums.test_deprecated_in 1551s # tmpdir: /tmp/tmpvbt7jkou 1551s # rspfile: False, mkenums: /usr/bin/glib-mkenums 1551s # /tmp/tmpvbt7jkou/tmpe5d2gzet.h: 1551s # typedef enum { 1551s # G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER GLIB_DEPRECATED_ENUMERATOR_IN_2_68 = (1<<2) 1551s # } GDBusServerFlags; 1551s # 1551s # /tmp/tmpvbt7jkou/tmp7efjm4wy.template: 1551s # /*** BEGIN file-header ***/ 1551s # file-header 1551s # /*** END file-header ***/ 1551s # 1551s # /*** BEGIN file-production ***/ 1551s # file-production 1551s # filename: @filename@ 1551s # basename: @basename@ 1551s # /*** END file-production ***/ 1551s # 1551s # /*** BEGIN enumeration-production ***/ 1551s # enumeration-production 1551s # EnumName: @EnumName@ 1551s # enum_name: @enum_name@ 1551s # ENUMNAME: @ENUMNAME@ 1551s # ENUMSHORT: @ENUMSHORT@ 1551s # ENUMPREFIX: @ENUMPREFIX@ 1551s # enumsince: @enumsince@ 1551s # type: @type@ 1551s # Type: @Type@ 1551s # TYPE: @TYPE@ 1551s # /*** END enumeration-production ***/ 1551s # 1551s # /*** BEGIN value-header ***/ 1551s # value-header 1551s # EnumName: @EnumName@ 1551s # enum_name: @enum_name@ 1551s # ENUMNAME: @ENUMNAME@ 1551s # ENUMSHORT: @ENUMSHORT@ 1551s # ENUMPREFIX: @ENUMPREFIX@ 1551s # enumsince: @enumsince@ 1551s # type: @type@ 1551s # Type: @Type@ 1551s # TYPE: @TYPE@ 1551s # /*** END value-header ***/ 1551s # 1551s # /*** BEGIN value-production ***/ 1551s # value-production 1551s # VALUENAME: @VALUENAME@ 1551s # valuenick: @valuenick@ 1551s # valuenum: @valuenum@ 1551s # type: @type@ 1551s # Type: @Type@ 1551s # TYPE: @TYPE@ 1551s # /*** END value-production ***/ 1551s # 1551s # /*** BEGIN value-tail ***/ 1551s # value-tail 1551s # EnumName: @EnumName@ 1551s # enum_name: @enum_name@ 1551s # ENUMNAME: @ENUMNAME@ 1551s # ENUMSHORT: @ENUMSHORT@ 1551s # ENUMPREFIX: @ENUMPREFIX@ 1551s # enumsince: @enumsince@ 1551s # type: @type@ 1551s # Type: @Type@ 1551s # TYPE: @TYPE@ 1551s # /*** END value-tail ***/ 1551s # 1551s # /*** BEGIN comment ***/ 1551s # comment 1551s # comment: @comment@ 1551s # /*** END comment ***/ 1551s # 1551s # /*** BEGIN file-tail ***/ 1551s # file-tail 1551s # /*** END file-tail ***/ 1551s # 1551s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpvbt7jkou/tmp7efjm4wy.template', '/tmp/tmpvbt7jkou/tmpe5d2gzet.h'] 1551s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-baqskmurxn,guid=fbaffe99d0ccb1f6e1beb84865fc01cd', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.YcZbqk/autopkgtest_tmp', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.YcZbqk/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.YcZbqk/autopkgtest_tmp', 'TERM': 'unknown', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.YcZbqk/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.sVTVMp0Db0', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.rqZsJO/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.YcZbqk/wrapper.sh --artifacts=/tmp/autopkgtest.YcZbqk/installed-tests-artifacts --chdir=/tmp/autopkgtest.YcZbqk/build.S0E/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.YcZbqk/installed-tests-stderr --stdout=/tmp/autopkgtest.YcZbqk/installed-tests-stdout --tmp=/tmp/autopkgtest.YcZbqk/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2' --make-executable=/tmp/autopkgtest.YcZbqk/build.S0E/src/debian/tests/installed-tests -- /tmp/autopkgtest.YcZbqk/build.S0E/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.YcZbqk/build.S0E/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.YcZbqk/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1551s # Output: comment 1551s # 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. 1551s # 1551s # 1551s # file-header 1551s # file-production 1551s # filename: /tmp/tmpvbt7jkou/tmpe5d2gzet.h 1551s # basename: tmpe5d2gzet.h 1551s # enumeration-production 1551s # EnumName: GDBusServerFlags 1551s # enum_name: g_dbus_server_flags 1551s # ENUMNAME: G_DBUS_SERVER_FLAGS 1551s # ENUMSHORT: DBUS_SERVER_FLAGS 1551s # ENUMPREFIX: G 1551s # enumsince: 1551s # type: flags 1551s # Type: Flags 1551s # TYPE: FLAGS 1551s # value-header 1551s # EnumName: GDBusServerFlags 1551s # enum_name: g_dbus_server_flags 1551s # ENUMNAME: G_DBUS_SERVER_FLAGS 1551s # ENUMSHORT: DBUS_SERVER_FLAGS 1551s # ENUMPREFIX: G 1551s # enumsince: 1551s # type: flags 1551s # Type: Flags 1551s # TYPE: FLAGS 1551s # value-production 1551s # VALUENAME: G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER 1551s # valuenick: user 1551s # valuenum: 4 1551s # type: flags 1551s # Type: Flags 1551s # TYPE: FLAGS 1551s # value-tail 1551s # EnumName: GDBusServerFlags 1551s # enum_name: g_dbus_server_flags 1551s # ENUMNAME: G_DBUS_SERVER_FLAGS 1551s # ENUMSHORT: DBUS_SERVER_FLAGS 1551s # ENUMPREFIX: G 1551s # enumsince: 1551s # type: flags 1551s # Type: Flags 1551s # TYPE: FLAGS 1551s # file-tail 1551s # 1551s # comment 1551s # comment: Generated data ends here 1551s ok 4 __main__.TestMkenums.test_deprecated_in_for 1551s # tmpdir: /tmp/tmp6ukdtxxw 1551s # rspfile: False, mkenums: /usr/bin/glib-mkenums 1551s # /tmp/tmp6ukdtxxw/tmpw99idvde.h: 1551s # typedef enum { 1551s # 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) 1551s # } GDBusServerFlags; 1551s # 1551s # /tmp/tmp6ukdtxxw/tmprn84ozjb.template: 1551s # /*** BEGIN file-header ***/ 1551s # file-header 1551s # /*** END file-header ***/ 1551s # 1551s # /*** BEGIN file-production ***/ 1551s # file-production 1551s # filename: @filename@ 1551s # basename: @basename@ 1551s # /*** END file-production ***/ 1551s # 1551s # /*** BEGIN enumeration-production ***/ 1551s # enumeration-production 1551s # EnumName: @EnumName@ 1551s # enum_name: @enum_name@ 1551s # ENUMNAME: @ENUMNAME@ 1551s # ENUMSHORT: @ENUMSHORT@ 1551s # ENUMPREFIX: @ENUMPREFIX@ 1551s # enumsince: @enumsince@ 1551s # type: @type@ 1551s # Type: @Type@ 1551s # TYPE: @TYPE@ 1551s # /*** END enumeration-production ***/ 1551s # 1551s # /*** BEGIN value-header ***/ 1551s # value-header 1551s # EnumName: @EnumName@ 1551s # enum_name: @enum_name@ 1551s # ENUMNAME: @ENUMNAME@ 1551s # ENUMSHORT: @ENUMSHORT@ 1551s # ENUMPREFIX: @ENUMPREFIX@ 1551s # enumsince: @enumsince@ 1551s # type: @type@ 1551s # Type: @Type@ 1551s # TYPE: @TYPE@ 1551s # /*** END value-header ***/ 1551s # 1551s # /*** BEGIN value-production ***/ 1551s # value-production 1551s # VALUENAME: @VALUENAME@ 1551s # valuenick: @valuenick@ 1551s # valuenum: @valuenum@ 1551s # type: @type@ 1551s # Type: @Type@ 1551s # TYPE: @TYPE@ 1551s # /*** END value-production ***/ 1551s # 1551s # /*** BEGIN value-tail ***/ 1551s # value-tail 1551s # EnumName: @EnumName@ 1551s # enum_name: @enum_name@ 1551s # ENUMNAME: @ENUMNAME@ 1551s # ENUMSHORT: @ENUMSHORT@ 1551s # ENUMPREFIX: @ENUMPREFIX@ 1551s # enumsince: @enumsince@ 1551s # type: @type@ 1551s # Type: @Type@ 1551s # TYPE: @TYPE@ 1551s # /*** END value-tail ***/ 1551s # 1551s # /*** BEGIN comment ***/ 1551s # comment 1551s # comment: @comment@ 1551s # /*** END comment ***/ 1551s # 1551s # /*** BEGIN file-tail ***/ 1551s # file-tail 1551s # /*** END file-tail ***/ 1551s # 1551s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmp6ukdtxxw/tmprn84ozjb.template', '/tmp/tmp6ukdtxxw/tmpw99idvde.h'] 1551s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-baqskmurxn,guid=fbaffe99d0ccb1f6e1beb84865fc01cd', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.YcZbqk/autopkgtest_tmp', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.YcZbqk/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.YcZbqk/autopkgtest_tmp', 'TERM': 'unknown', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.YcZbqk/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.sVTVMp0Db0', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.rqZsJO/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.YcZbqk/wrapper.sh --artifacts=/tmp/autopkgtest.YcZbqk/installed-tests-artifacts --chdir=/tmp/autopkgtest.YcZbqk/build.S0E/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.YcZbqk/installed-tests-stderr --stdout=/tmp/autopkgtest.YcZbqk/installed-tests-stdout --tmp=/tmp/autopkgtest.YcZbqk/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2' --make-executable=/tmp/autopkgtest.YcZbqk/build.S0E/src/debian/tests/installed-tests -- /tmp/autopkgtest.YcZbqk/build.S0E/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.YcZbqk/build.S0E/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.YcZbqk/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1551s # Output: comment 1551s # 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. 1551s # 1551s # 1551s # file-header 1551s # file-production 1551s # filename: /tmp/tmp6ukdtxxw/tmpw99idvde.h 1551s # basename: tmpw99idvde.h 1551s # enumeration-production 1551s # EnumName: GDBusServerFlags 1551s # enum_name: g_dbus_server_flags 1551s # ENUMNAME: G_DBUS_SERVER_FLAGS 1551s # ENUMSHORT: DBUS_SERVER_FLAGS 1551s # ENUMPREFIX: G 1551s # enumsince: 1551s # type: flags 1551s # Type: Flags 1551s # TYPE: FLAGS 1551s # value-header 1551s # EnumName: GDBusServerFlags 1551s # enum_name: g_dbus_server_flags 1551s # ENUMNAME: G_DBUS_SERVER_FLAGS 1551s # ENUMSHORT: DBUS_SERVER_FLAGS 1551s # ENUMPREFIX: G 1551s # enumsince: 1551s # type: flags 1551s # Type: Flags 1551s # TYPE: FLAGS 1551s # value-production 1551s # VALUENAME: G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER 1551s # valuenick: user 1551s # valuenum: 4 1551s # type: flags 1551s # Type: Flags 1551s # TYPE: FLAGS 1551s # value-tail 1551s # EnumName: GDBusServerFlags 1551s # enum_name: g_dbus_server_flags 1551s # ENUMNAME: G_DBUS_SERVER_FLAGS 1551s # ENUMSHORT: DBUS_SERVER_FLAGS 1551s # ENUMPREFIX: G 1551s # enumsince: 1551s # type: flags 1551s # Type: Flags 1551s # TYPE: FLAGS 1551s # file-tail 1551s # 1551s # comment 1551s # comment: Generated data ends here 1551s ok 5 __main__.TestMkenums.test_empty_header 1551s # tmpdir: /tmp/tmpk3kw776d 1551s # rspfile: False, mkenums: /usr/bin/glib-mkenums 1551s # /tmp/tmpk3kw776d/tmpturruulp.h: 1551s # /tmp/tmpk3kw776d/tmpsawaz43h.template: 1551s # /*** BEGIN file-header ***/ 1551s # file-header 1551s # /*** END file-header ***/ 1551s # 1551s # /*** BEGIN file-production ***/ 1551s # file-production 1551s # filename: @filename@ 1551s # basename: @basename@ 1551s # /*** END file-production ***/ 1551s # 1551s # /*** BEGIN enumeration-production ***/ 1551s # enumeration-production 1551s # EnumName: @EnumName@ 1551s # enum_name: @enum_name@ 1551s # ENUMNAME: @ENUMNAME@ 1551s # ENUMSHORT: @ENUMSHORT@ 1551s # ENUMPREFIX: @ENUMPREFIX@ 1551s # enumsince: @enumsince@ 1551s # type: @type@ 1551s # Type: @Type@ 1551s # TYPE: @TYPE@ 1551s # /*** END enumeration-production ***/ 1551s # 1551s # /*** BEGIN value-header ***/ 1551s # value-header 1551s # EnumName: @EnumName@ 1551s # enum_name: @enum_name@ 1551s # ENUMNAME: @ENUMNAME@ 1551s # ENUMSHORT: @ENUMSHORT@ 1551s # ENUMPREFIX: @ENUMPREFIX@ 1551s # enumsince: @enumsince@ 1551s # type: @type@ 1551s # Type: @Type@ 1551s # TYPE: @TYPE@ 1551s # /*** END value-header ***/ 1551s # 1551s # /*** BEGIN value-production ***/ 1551s # value-production 1551s # VALUENAME: @VALUENAME@ 1551s # valuenick: @valuenick@ 1551s # valuenum: @valuenum@ 1551s # type: @type@ 1551s # Type: @Type@ 1551s # TYPE: @TYPE@ 1551s # /*** END value-production ***/ 1551s # 1551s # /*** BEGIN value-tail ***/ 1551s # value-tail 1551s # EnumName: @EnumName@ 1551s # enum_name: @enum_name@ 1551s # ENUMNAME: @ENUMNAME@ 1551s # ENUMSHORT: @ENUMSHORT@ 1551s # ENUMPREFIX: @ENUMPREFIX@ 1551s # enumsince: @enumsince@ 1551s # type: @type@ 1551s # Type: @Type@ 1551s # TYPE: @TYPE@ 1551s # /*** END value-tail ***/ 1551s # 1551s # /*** BEGIN comment ***/ 1551s # comment 1551s # comment: @comment@ 1551s # /*** END comment ***/ 1551s # 1551s # /*** BEGIN file-tail ***/ 1551s # file-tail 1551s # /*** END file-tail ***/ 1551s # 1551s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpk3kw776d/tmpsawaz43h.template', '/tmp/tmpk3kw776d/tmpturruulp.h'] 1551s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-baqskmurxn,guid=fbaffe99d0ccb1f6e1beb84865fc01cd', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.YcZbqk/autopkgtest_tmp', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.YcZbqk/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.YcZbqk/autopkgtest_tmp', 'TERM': 'unknown', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.YcZbqk/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.sVTVMp0Db0', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.rqZsJO/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.YcZbqk/wrapper.sh --artifacts=/tmp/autopkgtest.YcZbqk/installed-tests-artifacts --chdir=/tmp/autopkgtest.YcZbqk/build.S0E/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.YcZbqk/installed-tests-stderr --stdout=/tmp/autopkgtest.YcZbqk/installed-tests-stdout --tmp=/tmp/autopkgtest.YcZbqk/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2' --make-executable=/tmp/autopkgtest.YcZbqk/build.S0E/src/debian/tests/installed-tests -- /tmp/autopkgtest.YcZbqk/build.S0E/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.YcZbqk/build.S0E/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.YcZbqk/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1551s # Output: comment 1551s # 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. 1551s # 1551s # 1551s # file-header 1551s # file-tail 1551s # 1551s # comment 1551s # comment: Generated data ends here 1552s ok 6 __main__.TestMkenums.test_empty_template 1552s # tmpdir: /tmp/tmpmcwxgdj9 1552s # rspfile: False, mkenums: /usr/bin/glib-mkenums 1552s # /tmp/tmpmcwxgdj9/tmpr7m3w3sr.template: 1552s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpmcwxgdj9/tmpr7m3w3sr.template'] 1552s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-baqskmurxn,guid=fbaffe99d0ccb1f6e1beb84865fc01cd', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.YcZbqk/autopkgtest_tmp', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.YcZbqk/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.YcZbqk/autopkgtest_tmp', 'TERM': 'unknown', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.YcZbqk/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.sVTVMp0Db0', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.rqZsJO/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.YcZbqk/wrapper.sh --artifacts=/tmp/autopkgtest.YcZbqk/installed-tests-artifacts --chdir=/tmp/autopkgtest.YcZbqk/build.S0E/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.YcZbqk/installed-tests-stderr --stdout=/tmp/autopkgtest.YcZbqk/installed-tests-stdout --tmp=/tmp/autopkgtest.YcZbqk/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2' --make-executable=/tmp/autopkgtest.YcZbqk/build.S0E/src/debian/tests/installed-tests -- /tmp/autopkgtest.YcZbqk/build.S0E/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.YcZbqk/build.S0E/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.YcZbqk/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1552s # 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. */ 1552s # 1552s # 1552s # /* Generated data ends here */ 1552s ok 7 __main__.TestMkenums.test_enum_name 1552s # tmpdir: /tmp/tmpq9v7da_y 1552s # rspfile: False, mkenums: /usr/bin/glib-mkenums 1552s # /tmp/tmpq9v7da_y/tmplxj4neu5.h: 1552s # typedef enum _SomeEnumIdentifier { 1552s # ENUM_VALUE 1552s # } SomeEnumIdentifier; 1552s # 1552s # /tmp/tmpq9v7da_y/tmp1i_gx1si.template: 1552s # /*** BEGIN file-header ***/ 1552s # file-header 1552s # /*** END file-header ***/ 1552s # 1552s # /*** BEGIN file-production ***/ 1552s # file-production 1552s # filename: @filename@ 1552s # basename: @basename@ 1552s # /*** END file-production ***/ 1552s # 1552s # /*** BEGIN enumeration-production ***/ 1552s # enumeration-production 1552s # EnumName: @EnumName@ 1552s # enum_name: @enum_name@ 1552s # ENUMNAME: @ENUMNAME@ 1552s # ENUMSHORT: @ENUMSHORT@ 1552s # ENUMPREFIX: @ENUMPREFIX@ 1552s # enumsince: @enumsince@ 1552s # type: @type@ 1552s # Type: @Type@ 1552s # TYPE: @TYPE@ 1552s # /*** END enumeration-production ***/ 1552s # 1552s # /*** BEGIN value-header ***/ 1552s # value-header 1552s # EnumName: @EnumName@ 1552s # enum_name: @enum_name@ 1552s # ENUMNAME: @ENUMNAME@ 1552s # ENUMSHORT: @ENUMSHORT@ 1552s # ENUMPREFIX: @ENUMPREFIX@ 1552s # enumsince: @enumsince@ 1552s # type: @type@ 1552s # Type: @Type@ 1552s # TYPE: @TYPE@ 1552s # /*** END value-header ***/ 1552s # 1552s # /*** BEGIN value-production ***/ 1552s # value-production 1552s # VALUENAME: @VALUENAME@ 1552s # valuenick: @valuenick@ 1552s # valuenum: @valuenum@ 1552s # type: @type@ 1552s # Type: @Type@ 1552s # TYPE: @TYPE@ 1552s # /*** END value-production ***/ 1552s # 1552s # /*** BEGIN value-tail ***/ 1552s # value-tail 1552s # EnumName: @EnumName@ 1552s # enum_name: @enum_name@ 1552s # ENUMNAME: @ENUMNAME@ 1552s # ENUMSHORT: @ENUMSHORT@ 1552s # ENUMPREFIX: @ENUMPREFIX@ 1552s # enumsince: @enumsince@ 1552s # type: @type@ 1552s # Type: @Type@ 1552s # TYPE: @TYPE@ 1552s # /*** END value-tail ***/ 1552s # 1552s # /*** BEGIN comment ***/ 1552s # comment 1552s # comment: @comment@ 1552s # /*** END comment ***/ 1552s # 1552s # /*** BEGIN file-tail ***/ 1552s # file-tail 1552s # /*** END file-tail ***/ 1552s # 1552s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpq9v7da_y/tmp1i_gx1si.template', '/tmp/tmpq9v7da_y/tmplxj4neu5.h'] 1552s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-baqskmurxn,guid=fbaffe99d0ccb1f6e1beb84865fc01cd', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.YcZbqk/autopkgtest_tmp', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.YcZbqk/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.YcZbqk/autopkgtest_tmp', 'TERM': 'unknown', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.YcZbqk/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.sVTVMp0Db0', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.rqZsJO/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.YcZbqk/wrapper.sh --artifacts=/tmp/autopkgtest.YcZbqk/installed-tests-artifacts --chdir=/tmp/autopkgtest.YcZbqk/build.S0E/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.YcZbqk/installed-tests-stderr --stdout=/tmp/autopkgtest.YcZbqk/installed-tests-stdout --tmp=/tmp/autopkgtest.YcZbqk/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2' --make-executable=/tmp/autopkgtest.YcZbqk/build.S0E/src/debian/tests/installed-tests -- /tmp/autopkgtest.YcZbqk/build.S0E/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.YcZbqk/build.S0E/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.YcZbqk/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1552s # Output: comment 1552s # 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. 1552s # 1552s # 1552s # file-header 1552s # file-production 1552s # filename: /tmp/tmpq9v7da_y/tmplxj4neu5.h 1552s # basename: tmplxj4neu5.h 1552s # enumeration-production 1552s # EnumName: SomeEnumIdentifier 1552s # enum_name: some_enum_identifier 1552s # ENUMNAME: SOME_ENUM_IDENTIFIER 1552s # ENUMSHORT: ENUM_IDENTIFIER 1552s # ENUMPREFIX: SOME 1552s # enumsince: 1552s # type: enum 1552s # Type: Enum 1552s # TYPE: ENUM 1552s # value-header 1552s # EnumName: SomeEnumIdentifier 1552s # enum_name: some_enum_identifier 1552s # ENUMNAME: SOME_ENUM_IDENTIFIER 1552s # ENUMSHORT: ENUM_IDENTIFIER 1552s # ENUMPREFIX: SOME 1552s # enumsince: 1552s # type: enum 1552s # Type: Enum 1552s # TYPE: ENUM 1552s # value-production 1552s # VALUENAME: ENUM_VALUE 1552s # valuenick: value 1552s # valuenum: 0 1552s # type: enum 1552s # Type: Enum 1552s # TYPE: ENUM 1552s # value-tail 1552s # EnumName: SomeEnumIdentifier 1552s # enum_name: some_enum_identifier 1552s # ENUMNAME: SOME_ENUM_IDENTIFIER 1552s # ENUMSHORT: ENUM_IDENTIFIER 1552s # ENUMPREFIX: SOME 1552s # enumsince: 1552s # type: enum 1552s # Type: Enum 1552s # TYPE: ENUM 1552s # file-tail 1552s # 1552s # comment 1552s # comment: Generated data ends here 1552s ok 8 __main__.TestMkenums.test_enum_private_public 1552s # tmpdir: /tmp/tmp8t70zu91 1552s # rspfile: False, mkenums: /usr/bin/glib-mkenums 1552s # /tmp/tmp8t70zu91/tmpp0itt1yd.h: 1552s # typedef enum { 1552s # ENUM_VALUE_PUBLIC1, 1552s # /*< private >*/ 1552s # ENUM_VALUE_PRIVATE, 1552s # } SomeEnumA 1552s # 1552s # /tmp/tmp8t70zu91/tmpcyiuyizb.template: 1552s # /*** BEGIN file-header ***/ 1552s # file-header 1552s # /*** END file-header ***/ 1552s # 1552s # /*** BEGIN file-production ***/ 1552s # file-production 1552s # filename: @filename@ 1552s # basename: @basename@ 1552s # /*** END file-production ***/ 1552s # 1552s # /*** BEGIN enumeration-production ***/ 1552s # enumeration-production 1552s # EnumName: @EnumName@ 1552s # enum_name: @enum_name@ 1552s # ENUMNAME: @ENUMNAME@ 1552s # ENUMSHORT: @ENUMSHORT@ 1552s # ENUMPREFIX: @ENUMPREFIX@ 1552s # enumsince: @enumsince@ 1552s # type: @type@ 1552s # Type: @Type@ 1552s # TYPE: @TYPE@ 1552s # /*** END enumeration-production ***/ 1552s # 1552s # /*** BEGIN value-header ***/ 1552s # value-header 1552s # EnumName: @EnumName@ 1552s # enum_name: @enum_name@ 1552s # ENUMNAME: @ENUMNAME@ 1552s # ENUMSHORT: @ENUMSHORT@ 1552s # ENUMPREFIX: @ENUMPREFIX@ 1552s # enumsince: @enumsince@ 1552s # type: @type@ 1552s # Type: @Type@ 1552s # TYPE: @TYPE@ 1552s # /*** END value-header ***/ 1552s # 1552s # /*** BEGIN value-production ***/ 1552s # value-production 1552s # VALUENAME: @VALUENAME@ 1552s # valuenick: @valuenick@ 1552s # valuenum: @valuenum@ 1552s # type: @type@ 1552s # Type: @Type@ 1552s # TYPE: @TYPE@ 1552s # /*** END value-production ***/ 1552s # 1552s # /*** BEGIN value-tail ***/ 1552s # value-tail 1552s # EnumName: @EnumName@ 1552s # enum_name: @enum_name@ 1552s # ENUMNAME: @ENUMNAME@ 1552s # ENUMSHORT: @ENUMSHORT@ 1552s # ENUMPREFIX: @ENUMPREFIX@ 1552s # enumsince: @enumsince@ 1552s # type: @type@ 1552s # Type: @Type@ 1552s # TYPE: @TYPE@ 1552s # /*** END value-tail ***/ 1552s # 1552s # /*** BEGIN comment ***/ 1552s # comment 1552s # comment: @comment@ 1552s # /*** END comment ***/ 1552s # 1552s # /*** BEGIN file-tail ***/ 1552s # file-tail 1552s # /*** END file-tail ***/ 1552s # 1552s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmp8t70zu91/tmpcyiuyizb.template', '/tmp/tmp8t70zu91/tmpp0itt1yd.h'] 1552s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-baqskmurxn,guid=fbaffe99d0ccb1f6e1beb84865fc01cd', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.YcZbqk/autopkgtest_tmp', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.YcZbqk/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.YcZbqk/autopkgtest_tmp', 'TERM': 'unknown', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.YcZbqk/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.sVTVMp0Db0', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.rqZsJO/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.YcZbqk/wrapper.sh --artifacts=/tmp/autopkgtest.YcZbqk/installed-tests-artifacts --chdir=/tmp/autopkgtest.YcZbqk/build.S0E/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.YcZbqk/installed-tests-stderr --stdout=/tmp/autopkgtest.YcZbqk/installed-tests-stdout --tmp=/tmp/autopkgtest.YcZbqk/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2' --make-executable=/tmp/autopkgtest.YcZbqk/build.S0E/src/debian/tests/installed-tests -- /tmp/autopkgtest.YcZbqk/build.S0E/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.YcZbqk/build.S0E/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.YcZbqk/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1552s # Output: comment 1552s # 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. 1552s # 1552s # 1552s # file-header 1552s # file-production 1552s # filename: /tmp/tmp8t70zu91/tmpp0itt1yd.h 1552s # basename: tmpp0itt1yd.h 1552s # enumeration-production 1552s # EnumName: SomeEnumA 1552s # enum_name: some_enum_a 1552s # ENUMNAME: SOME_ENUM_A 1552s # ENUMSHORT: ENUM_A 1552s # ENUMPREFIX: SOME 1552s # enumsince: 1552s # type: enum 1552s # Type: Enum 1552s # TYPE: ENUM 1552s # value-header 1552s # EnumName: SomeEnumA 1552s # enum_name: some_enum_a 1552s # ENUMNAME: SOME_ENUM_A 1552s # ENUMSHORT: ENUM_A 1552s # ENUMPREFIX: SOME 1552s # enumsince: 1552s # type: enum 1552s # Type: Enum 1552s # TYPE: ENUM 1552s # value-production 1552s # VALUENAME: ENUM_VALUE_PUBLIC1 1552s # valuenick: public1 1552s # valuenum: 0 1552s # type: enum 1552s # Type: Enum 1552s # TYPE: ENUM 1552s # value-tail 1552s # EnumName: SomeEnumA 1552s # enum_name: some_enum_a 1552s # ENUMNAME: SOME_ENUM_A 1552s # ENUMSHORT: ENUM_A 1552s # ENUMPREFIX: SOME 1552s # enumsince: 1552s # type: enum 1552s # Type: Enum 1552s # TYPE: ENUM 1552s # file-tail 1552s # 1552s # comment 1552s # comment: Generated data ends here 1552s # /tmp/tmp8t70zu91/tmpgyokebn9.h: 1552s # typedef enum { 1552s # /*< private >*/ 1552s # ENUM_VALUE_PRIVATE, 1552s # /*< public >*/ 1552s # ENUM_VALUE_PUBLIC2, 1552s # } SomeEnumB; 1552s # 1552s # /tmp/tmp8t70zu91/tmp9s5o4zuf.template: 1552s # /*** BEGIN file-header ***/ 1552s # file-header 1552s # /*** END file-header ***/ 1552s # 1552s # /*** BEGIN file-production ***/ 1552s # file-production 1552s # filename: @filename@ 1552s # basename: @basename@ 1552s # /*** END file-production ***/ 1552s # 1552s # /*** BEGIN enumeration-production ***/ 1552s # enumeration-production 1552s # EnumName: @EnumName@ 1552s # enum_name: @enum_name@ 1552s # ENUMNAME: @ENUMNAME@ 1552s # ENUMSHORT: @ENUMSHORT@ 1552s # ENUMPREFIX: @ENUMPREFIX@ 1552s # enumsince: @enumsince@ 1552s # type: @type@ 1552s # Type: @Type@ 1552s # TYPE: @TYPE@ 1552s # /*** END enumeration-production ***/ 1552s # 1552s # /*** BEGIN value-header ***/ 1552s # value-header 1552s # EnumName: @EnumName@ 1552s # enum_name: @enum_name@ 1552s # ENUMNAME: @ENUMNAME@ 1552s # ENUMSHORT: @ENUMSHORT@ 1552s # ENUMPREFIX: @ENUMPREFIX@ 1552s # enumsince: @enumsince@ 1552s # type: @type@ 1552s # Type: @Type@ 1552s # TYPE: @TYPE@ 1552s # /*** END value-header ***/ 1552s # 1552s # /*** BEGIN value-production ***/ 1552s # value-production 1552s # VALUENAME: @VALUENAME@ 1552s # valuenick: @valuenick@ 1552s # valuenum: @valuenum@ 1552s # type: @type@ 1552s # Type: @Type@ 1552s # TYPE: @TYPE@ 1552s # /*** END value-production ***/ 1552s # 1552s # /*** BEGIN value-tail ***/ 1552s # value-tail 1552s # EnumName: @EnumName@ 1552s # enum_name: @enum_name@ 1552s # ENUMNAME: @ENUMNAME@ 1552s # ENUMSHORT: @ENUMSHORT@ 1552s # ENUMPREFIX: @ENUMPREFIX@ 1552s # enumsince: @enumsince@ 1552s # type: @type@ 1552s # Type: @Type@ 1552s # TYPE: @TYPE@ 1552s # /*** END value-tail ***/ 1552s # 1552s # /*** BEGIN comment ***/ 1552s # comment 1552s # comment: @comment@ 1552s # /*** END comment ***/ 1552s # 1552s # /*** BEGIN file-tail ***/ 1552s # file-tail 1552s # /*** END file-tail ***/ 1552s # 1552s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmp8t70zu91/tmp9s5o4zuf.template', '/tmp/tmp8t70zu91/tmpgyokebn9.h'] 1552s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-baqskmurxn,guid=fbaffe99d0ccb1f6e1beb84865fc01cd', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.YcZbqk/autopkgtest_tmp', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.YcZbqk/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.YcZbqk/autopkgtest_tmp', 'TERM': 'unknown', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.YcZbqk/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.sVTVMp0Db0', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.rqZsJO/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.YcZbqk/wrapper.sh --artifacts=/tmp/autopkgtest.YcZbqk/installed-tests-artifacts --chdir=/tmp/autopkgtest.YcZbqk/build.S0E/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.YcZbqk/installed-tests-stderr --stdout=/tmp/autopkgtest.YcZbqk/installed-tests-stdout --tmp=/tmp/autopkgtest.YcZbqk/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2' --make-executable=/tmp/autopkgtest.YcZbqk/build.S0E/src/debian/tests/installed-tests -- /tmp/autopkgtest.YcZbqk/build.S0E/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.YcZbqk/build.S0E/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.YcZbqk/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1552s # Output: comment 1552s # 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. 1552s # 1552s # 1552s # file-header 1552s # file-production 1552s # filename: /tmp/tmp8t70zu91/tmpgyokebn9.h 1552s # basename: tmpgyokebn9.h 1552s # enumeration-production 1552s # EnumName: SomeEnumB 1552s # enum_name: some_enum_b 1552s # ENUMNAME: SOME_ENUM_B 1552s # ENUMSHORT: ENUM_B 1552s # ENUMPREFIX: SOME 1552s # enumsince: 1552s # type: enum 1552s # Type: Enum 1552s # TYPE: ENUM 1552s # value-header 1552s # EnumName: SomeEnumB 1552s # enum_name: some_enum_b 1552s # ENUMNAME: SOME_ENUM_B 1552s # ENUMSHORT: ENUM_B 1552s # ENUMPREFIX: SOME 1552s # enumsince: 1552s # type: enum 1552s # Type: Enum 1552s # TYPE: ENUM 1552s # value-production 1552s # VALUENAME: ENUM_VALUE_PUBLIC2 1552s # valuenick: public2 1552s # valuenum: 1 1552s # type: enum 1552s # Type: Enum 1552s # TYPE: ENUM 1552s # value-tail 1552s # EnumName: SomeEnumB 1552s # enum_name: some_enum_b 1552s # ENUMNAME: SOME_ENUM_B 1552s # ENUMSHORT: ENUM_B 1552s # ENUMPREFIX: SOME 1552s # enumsince: 1552s # type: enum 1552s # Type: Enum 1552s # TYPE: ENUM 1552s # file-tail 1552s # 1552s # comment 1552s # comment: Generated data ends here 1552s ok 9 __main__.TestMkenums.test_enum_symbolic_expression 1552s # tmpdir: /tmp/tmpmb33nfn8 1552s # rspfile: False, mkenums: /usr/bin/glib-mkenums 1552s # /tmp/tmpmb33nfn8/tmpabuiklym.h: 1552s # typedef enum { 1552s # /*< private >*/ 1552s # ENUM_VALUE_PRIVATE = 5, 1552s # /*< public >*/ 1552s # ENUM_VALUE_PUBLIC = ENUM_VALUE_PRIVATE + 2, 1552s # } TestSymbolicEnum; 1552s # 1552s # /tmp/tmpmb33nfn8/tmpqgkd3o8a.template: 1552s # /*** BEGIN file-header ***/ 1552s # file-header 1552s # /*** END file-header ***/ 1552s # 1552s # /*** BEGIN file-production ***/ 1552s # file-production 1552s # filename: @filename@ 1552s # basename: @basename@ 1552s # /*** END file-production ***/ 1552s # 1552s # /*** BEGIN enumeration-production ***/ 1552s # enumeration-production 1552s # EnumName: @EnumName@ 1552s # enum_name: @enum_name@ 1552s # ENUMNAME: @ENUMNAME@ 1552s # ENUMSHORT: @ENUMSHORT@ 1552s # ENUMPREFIX: @ENUMPREFIX@ 1552s # enumsince: @enumsince@ 1552s # type: @type@ 1552s # Type: @Type@ 1552s # TYPE: @TYPE@ 1552s # /*** END enumeration-production ***/ 1552s # 1552s # /*** BEGIN value-header ***/ 1552s # value-header 1552s # EnumName: @EnumName@ 1552s # enum_name: @enum_name@ 1552s # ENUMNAME: @ENUMNAME@ 1552s # ENUMSHORT: @ENUMSHORT@ 1552s # ENUMPREFIX: @ENUMPREFIX@ 1552s # enumsince: @enumsince@ 1552s # type: @type@ 1552s # Type: @Type@ 1552s # TYPE: @TYPE@ 1552s # /*** END value-header ***/ 1552s # 1552s # /*** BEGIN value-production ***/ 1552s # value-production 1552s # VALUENAME: @VALUENAME@ 1552s # valuenick: @valuenick@ 1552s # valuenum: @valuenum@ 1552s # type: @type@ 1552s # Type: @Type@ 1552s # TYPE: @TYPE@ 1552s # /*** END value-production ***/ 1552s # 1552s # /*** BEGIN value-tail ***/ 1552s # value-tail 1552s # EnumName: @EnumName@ 1552s # enum_name: @enum_name@ 1552s # ENUMNAME: @ENUMNAME@ 1552s # ENUMSHORT: @ENUMSHORT@ 1552s # ENUMPREFIX: @ENUMPREFIX@ 1552s # enumsince: @enumsince@ 1552s # type: @type@ 1552s # Type: @Type@ 1552s # TYPE: @TYPE@ 1552s # /*** END value-tail ***/ 1552s # 1552s # /*** BEGIN comment ***/ 1552s # comment 1552s # comment: @comment@ 1552s # /*** END comment ***/ 1552s # 1552s # /*** BEGIN file-tail ***/ 1552s # file-tail 1552s # /*** END file-tail ***/ 1552s # 1552s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpmb33nfn8/tmpqgkd3o8a.template', '/tmp/tmpmb33nfn8/tmpabuiklym.h'] 1552s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-baqskmurxn,guid=fbaffe99d0ccb1f6e1beb84865fc01cd', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.YcZbqk/autopkgtest_tmp', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.YcZbqk/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.YcZbqk/autopkgtest_tmp', 'TERM': 'unknown', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.YcZbqk/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.sVTVMp0Db0', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.rqZsJO/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.YcZbqk/wrapper.sh --artifacts=/tmp/autopkgtest.YcZbqk/installed-tests-artifacts --chdir=/tmp/autopkgtest.YcZbqk/build.S0E/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.YcZbqk/installed-tests-stderr --stdout=/tmp/autopkgtest.YcZbqk/installed-tests-stdout --tmp=/tmp/autopkgtest.YcZbqk/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2' --make-executable=/tmp/autopkgtest.YcZbqk/build.S0E/src/debian/tests/installed-tests -- /tmp/autopkgtest.YcZbqk/build.S0E/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.YcZbqk/build.S0E/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.YcZbqk/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1552s # Output: comment 1552s # 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. 1552s # 1552s # 1552s # file-header 1552s # file-production 1552s # filename: /tmp/tmpmb33nfn8/tmpabuiklym.h 1552s # basename: tmpabuiklym.h 1552s # enumeration-production 1552s # EnumName: TestSymbolicEnum 1552s # enum_name: test_symbolic_enum 1552s # ENUMNAME: TEST_SYMBOLIC_ENUM 1552s # ENUMSHORT: SYMBOLIC_ENUM 1552s # ENUMPREFIX: TEST 1552s # enumsince: 1552s # type: enum 1552s # Type: Enum 1552s # TYPE: ENUM 1552s # value-header 1552s # EnumName: TestSymbolicEnum 1552s # enum_name: test_symbolic_enum 1552s # ENUMNAME: TEST_SYMBOLIC_ENUM 1552s # ENUMSHORT: SYMBOLIC_ENUM 1552s # ENUMPREFIX: TEST 1552s # enumsince: 1552s # type: enum 1552s # Type: Enum 1552s # TYPE: ENUM 1552s # value-production 1552s # VALUENAME: ENUM_VALUE_PUBLIC 1552s # valuenick: public 1552s # valuenum: 7 1552s # type: enum 1552s # Type: Enum 1552s # TYPE: ENUM 1552s # value-tail 1552s # EnumName: TestSymbolicEnum 1552s # enum_name: test_symbolic_enum 1552s # ENUMNAME: TEST_SYMBOLIC_ENUM 1552s # ENUMSHORT: SYMBOLIC_ENUM 1552s # ENUMPREFIX: TEST 1552s # enumsince: 1552s # type: enum 1552s # Type: Enum 1552s # TYPE: ENUM 1552s # file-tail 1552s # 1552s # comment 1552s # comment: Generated data ends here 1552s ok 10 __main__.TestMkenums.test_filename_basename_in_fhead_ftail 1552s # tmpdir: /tmp/tmpjrmpevhu 1552s # rspfile: False, mkenums: /usr/bin/glib-mkenums 1552s # /tmp/tmpjrmpevhu/tmpktab7m63.template: 1552s # /*** BEGIN file-header ***/ 1552s # file-header 1552s # filename: @filename@ 1552s # basename: @basename@ 1552s # /*** END file-header ***/ 1552s # 1552s # /*** BEGIN comment ***/ 1552s # comment 1552s # comment: @comment@ 1552s # /*** END comment ***/ 1552s # 1552s # /*** BEGIN file-tail ***/ 1552s # file-tail 1552s # filename: @filename@ 1552s # basename: @basename@ 1552s # /*** END file-tail ***/ 1552s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpjrmpevhu/tmpktab7m63.template'] 1552s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-baqskmurxn,guid=fbaffe99d0ccb1f6e1beb84865fc01cd', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.YcZbqk/autopkgtest_tmp', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.YcZbqk/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.YcZbqk/autopkgtest_tmp', 'TERM': 'unknown', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.YcZbqk/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.sVTVMp0Db0', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.rqZsJO/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.YcZbqk/wrapper.sh --artifacts=/tmp/autopkgtest.YcZbqk/installed-tests-artifacts --chdir=/tmp/autopkgtest.YcZbqk/build.S0E/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.YcZbqk/installed-tests-stderr --stdout=/tmp/autopkgtest.YcZbqk/installed-tests-stdout --tmp=/tmp/autopkgtest.YcZbqk/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2' --make-executable=/tmp/autopkgtest.YcZbqk/build.S0E/src/debian/tests/installed-tests -- /tmp/autopkgtest.YcZbqk/build.S0E/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.YcZbqk/build.S0E/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.YcZbqk/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1552s # Output: comment 1552s # 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. 1552s # 1552s # 1552s # file-header 1552s # filename: @filename@ 1552s # basename: @basename@ 1552s # file-tail 1552s # filename: @filename@ 1552s # basename: @basename@ 1552s # 1552s # comment 1552s # comment: Generated data ends here 1552s ok 11 __main__.TestMkenums.test_help 1552s # tmpdir: /tmp/tmp03_f_7uf 1552s # rspfile: False, mkenums: /usr/bin/glib-mkenums 1552s # Running: ['/usr/bin/glib-mkenums', '--help'] 1552s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-baqskmurxn,guid=fbaffe99d0ccb1f6e1beb84865fc01cd', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.YcZbqk/autopkgtest_tmp', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.YcZbqk/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.YcZbqk/autopkgtest_tmp', 'TERM': 'unknown', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.YcZbqk/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.sVTVMp0Db0', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.rqZsJO/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.YcZbqk/wrapper.sh --artifacts=/tmp/autopkgtest.YcZbqk/installed-tests-artifacts --chdir=/tmp/autopkgtest.YcZbqk/build.S0E/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.YcZbqk/installed-tests-stderr --stdout=/tmp/autopkgtest.YcZbqk/installed-tests-stdout --tmp=/tmp/autopkgtest.YcZbqk/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2' --make-executable=/tmp/autopkgtest.YcZbqk/build.S0E/src/debian/tests/installed-tests -- /tmp/autopkgtest.YcZbqk/build.S0E/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.YcZbqk/build.S0E/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.YcZbqk/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1552s # Output: usage: glib-mkenums [-h] [--identifier-prefix IDPREFIX] 1552s # [--symbol-prefix SYMPREFIX] [--fhead FHEAD] 1552s # [--ftail FTAIL] [--fprod FPROD] [--eprod EPROD] 1552s # [--vhead VHEAD] [--vprod VPROD] [--vtail VTAIL] 1552s # [--comments COMMENT_TMPL] [--template TEMPLATE] 1552s # [--output OUTPUT] [--version] 1552s # [args ...] 1552s # 1552s # positional arguments: 1552s # args One or more input files, or a single argument 1552s # @rspfile_path pointing to a file that contains the 1552s # actual arguments 1552s # 1552s # options: 1552s # -h, --help show this help message and exit 1552s # --identifier-prefix IDPREFIX 1552s # Identifier prefix 1552s # --symbol-prefix SYMPREFIX 1552s # Symbol prefix 1552s # --fhead FHEAD Output file header 1552s # --ftail FTAIL Output file footer 1552s # --fprod FPROD Put out TEXT every time a new input file is being 1552s # processed. 1552s # --eprod EPROD Per enum text, produced prior to value iterations 1552s # --vhead VHEAD Value header, produced before iterating over enum 1552s # values 1552s # --vprod VPROD Value text, produced for each enum value. 1552s # --vtail VTAIL Value tail, produced after iterating over enum values 1552s # --comments COMMENT_TMPL 1552s # Comment structure 1552s # --template TEMPLATE Template file 1552s # --output OUTPUT 1552s # --version, -v Print version information 1552s # 1552s # Production text substitutions: 1552s # @EnumName@ PrefixTheXEnum 1552s # @enum_name@ prefix_the_xenum 1552s # @ENUMNAME@ PREFIX_THE_XENUM 1552s # @ENUMSHORT@ THE_XENUM 1552s # @ENUMPREFIX@ PREFIX 1552s # @enumsince@ the user-provided since value given 1552s # @VALUENAME@ PREFIX_THE_XVALUE 1552s # @valuenick@ the-xvalue 1552s # @valuenum@ the integer value (limited support, Since: 2.26) 1552s # @type@ either enum or flags 1552s # @Type@ either Enum or Flags 1552s # @TYPE@ either ENUM or FLAGS 1552s # @filename@ name of current input file 1552s # @basename@ base name of the current input file (Since: 2.22) 1552s ok 12 __main__.TestMkenums.test_no_args 1552s # tmpdir: /tmp/tmpk9ht1xqq 1552s # rspfile: False, mkenums: /usr/bin/glib-mkenums 1552s # Running: ['/usr/bin/glib-mkenums'] 1552s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-baqskmurxn,guid=fbaffe99d0ccb1f6e1beb84865fc01cd', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.YcZbqk/autopkgtest_tmp', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.YcZbqk/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.YcZbqk/autopkgtest_tmp', 'TERM': 'unknown', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.YcZbqk/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.sVTVMp0Db0', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.rqZsJO/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.YcZbqk/wrapper.sh --artifacts=/tmp/autopkgtest.YcZbqk/installed-tests-artifacts --chdir=/tmp/autopkgtest.YcZbqk/build.S0E/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.YcZbqk/installed-tests-stderr --stdout=/tmp/autopkgtest.YcZbqk/installed-tests-stdout --tmp=/tmp/autopkgtest.YcZbqk/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2' --make-executable=/tmp/autopkgtest.YcZbqk/build.S0E/src/debian/tests/installed-tests -- /tmp/autopkgtest.YcZbqk/build.S0E/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.YcZbqk/build.S0E/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.YcZbqk/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1552s # 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. */ 1552s # 1552s # 1552s # /* Generated data ends here */ 1552s ok 13 __main__.TestMkenums.test_no_headers 1552s # tmpdir: /tmp/tmppjjow5ye 1552s # rspfile: False, mkenums: /usr/bin/glib-mkenums 1552s # /tmp/tmppjjow5ye/tmpduw5hwv_.template: 1552s # /*** BEGIN file-header ***/ 1552s # file-header 1552s # /*** END file-header ***/ 1552s # 1552s # /*** BEGIN file-production ***/ 1552s # file-production 1552s # filename: @filename@ 1552s # basename: @basename@ 1552s # /*** END file-production ***/ 1552s # 1552s # /*** BEGIN enumeration-production ***/ 1552s # enumeration-production 1552s # EnumName: @EnumName@ 1552s # enum_name: @enum_name@ 1552s # ENUMNAME: @ENUMNAME@ 1552s # ENUMSHORT: @ENUMSHORT@ 1552s # ENUMPREFIX: @ENUMPREFIX@ 1552s # enumsince: @enumsince@ 1552s # type: @type@ 1552s # Type: @Type@ 1552s # TYPE: @TYPE@ 1552s # /*** END enumeration-production ***/ 1552s # 1552s # /*** BEGIN value-header ***/ 1552s # value-header 1552s # EnumName: @EnumName@ 1552s # enum_name: @enum_name@ 1552s # ENUMNAME: @ENUMNAME@ 1552s # ENUMSHORT: @ENUMSHORT@ 1552s # ENUMPREFIX: @ENUMPREFIX@ 1552s # enumsince: @enumsince@ 1552s # type: @type@ 1552s # Type: @Type@ 1552s # TYPE: @TYPE@ 1552s # /*** END value-header ***/ 1552s # 1552s # /*** BEGIN value-production ***/ 1552s # value-production 1552s # VALUENAME: @VALUENAME@ 1552s # valuenick: @valuenick@ 1552s # valuenum: @valuenum@ 1552s # type: @type@ 1552s # Type: @Type@ 1552s # TYPE: @TYPE@ 1552s # /*** END value-production ***/ 1552s # 1552s # /*** BEGIN value-tail ***/ 1552s # value-tail 1552s # EnumName: @EnumName@ 1552s # enum_name: @enum_name@ 1552s # ENUMNAME: @ENUMNAME@ 1552s # ENUMSHORT: @ENUMSHORT@ 1552s # ENUMPREFIX: @ENUMPREFIX@ 1552s # enumsince: @enumsince@ 1552s # type: @type@ 1552s # Type: @Type@ 1552s # TYPE: @TYPE@ 1552s # /*** END value-tail ***/ 1552s # 1552s # /*** BEGIN comment ***/ 1552s # comment 1552s # comment: @comment@ 1552s # /*** END comment ***/ 1552s # 1552s # /*** BEGIN file-tail ***/ 1552s # file-tail 1552s # /*** END file-tail ***/ 1552s # 1552s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmppjjow5ye/tmpduw5hwv_.template'] 1552s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-baqskmurxn,guid=fbaffe99d0ccb1f6e1beb84865fc01cd', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.YcZbqk/autopkgtest_tmp', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.YcZbqk/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.YcZbqk/autopkgtest_tmp', 'TERM': 'unknown', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.YcZbqk/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.sVTVMp0Db0', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.rqZsJO/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.YcZbqk/wrapper.sh --artifacts=/tmp/autopkgtest.YcZbqk/installed-tests-artifacts --chdir=/tmp/autopkgtest.YcZbqk/build.S0E/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.YcZbqk/installed-tests-stderr --stdout=/tmp/autopkgtest.YcZbqk/installed-tests-stdout --tmp=/tmp/autopkgtest.YcZbqk/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2' --make-executable=/tmp/autopkgtest.YcZbqk/build.S0E/src/debian/tests/installed-tests -- /tmp/autopkgtest.YcZbqk/build.S0E/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.YcZbqk/build.S0E/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.YcZbqk/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1552s # Output: comment 1552s # 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. 1552s # 1552s # 1552s # file-header 1552s # file-tail 1552s # 1552s # comment 1552s # comment: Generated data ends here 1552s # Executing: glib/mkenums.py.test 1552s ok 14 __main__.TestMkenums.test_no_nick 1552s # tmpdir: /tmp/tmp47m2oey0 1552s # rspfile: False, mkenums: /usr/bin/glib-mkenums 1552s # /tmp/tmp47m2oey0/tmpvjex_pfh.h: 1552s # typedef enum { 1552s # GEGL_SAMPLER_NEAREST = 0, /*< desc="nearest" >*/ 1552s # } GeglSamplerType; 1552s # 1552s # /tmp/tmp47m2oey0/tmp_6mg35hh.template: 1552s # /*** BEGIN file-header ***/ 1552s # file-header 1552s # /*** END file-header ***/ 1552s # 1552s # /*** BEGIN file-production ***/ 1552s # file-production 1552s # filename: @filename@ 1552s # basename: @basename@ 1552s # /*** END file-production ***/ 1552s # 1552s # /*** BEGIN enumeration-production ***/ 1552s # enumeration-production 1552s # EnumName: @EnumName@ 1552s # enum_name: @enum_name@ 1552s # ENUMNAME: @ENUMNAME@ 1552s # ENUMSHORT: @ENUMSHORT@ 1552s # ENUMPREFIX: @ENUMPREFIX@ 1552s # enumsince: @enumsince@ 1552s # type: @type@ 1552s # Type: @Type@ 1552s # TYPE: @TYPE@ 1552s # /*** END enumeration-production ***/ 1552s # 1552s # /*** BEGIN value-header ***/ 1552s # value-header 1552s # EnumName: @EnumName@ 1552s # enum_name: @enum_name@ 1552s # ENUMNAME: @ENUMNAME@ 1552s # ENUMSHORT: @ENUMSHORT@ 1552s # ENUMPREFIX: @ENUMPREFIX@ 1552s # enumsince: @enumsince@ 1552s # type: @type@ 1552s # Type: @Type@ 1552s # TYPE: @TYPE@ 1552s # /*** END value-header ***/ 1552s # 1552s # /*** BEGIN value-production ***/ 1552s # value-production 1552s # VALUENAME: @VALUENAME@ 1552s # valuenick: @valuenick@ 1552s # valuenum: @valuenum@ 1552s # type: @type@ 1552s # Type: @Type@ 1552s # TYPE: @TYPE@ 1552s # /*** END value-production ***/ 1552s # 1552s # /*** BEGIN value-tail ***/ 1552s # value-tail 1552s # EnumName: @EnumName@ 1552s # enum_name: @enum_name@ 1552s # ENUMNAME: @ENUMNAME@ 1552s # ENUMSHORT: @ENUMSHORT@ 1552s # ENUMPREFIX: @ENUMPREFIX@ 1552s # enumsince: @enumsince@ 1552s # type: @type@ 1552s # Type: @Type@ 1552s # TYPE: @TYPE@ 1552s # /*** END value-tail ***/ 1552s # 1552s # /*** BEGIN comment ***/ 1552s # comment 1552s # comment: @comment@ 1552s # /*** END comment ***/ 1552s # 1552s # /*** BEGIN file-tail ***/ 1552s # file-tail 1552s # /*** END file-tail ***/ 1552s # 1552s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmp47m2oey0/tmp_6mg35hh.template', '/tmp/tmp47m2oey0/tmpvjex_pfh.h'] 1552s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-baqskmurxn,guid=fbaffe99d0ccb1f6e1beb84865fc01cd', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.YcZbqk/autopkgtest_tmp', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.YcZbqk/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.YcZbqk/autopkgtest_tmp', 'TERM': 'unknown', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.YcZbqk/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.sVTVMp0Db0', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.rqZsJO/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.YcZbqk/wrapper.sh --artifacts=/tmp/autopkgtest.YcZbqk/installed-tests-artifacts --chdir=/tmp/autopkgtest.YcZbqk/build.S0E/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.YcZbqk/installed-tests-stderr --stdout=/tmp/autopkgtest.YcZbqk/installed-tests-stdout --tmp=/tmp/autopkgtest.YcZbqk/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2' --make-executable=/tmp/autopkgtest.YcZbqk/build.S0E/src/debian/tests/installed-tests -- /tmp/autopkgtest.YcZbqk/build.S0E/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.YcZbqk/build.S0E/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.YcZbqk/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1552s # Output: comment 1552s # 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. 1552s # 1552s # 1552s # file-header 1552s # file-production 1552s # filename: /tmp/tmp47m2oey0/tmpvjex_pfh.h 1552s # basename: tmpvjex_pfh.h 1552s # enumeration-production 1552s # EnumName: GeglSamplerType 1552s # enum_name: gegl_sampler_type 1552s # ENUMNAME: GEGL_SAMPLER_TYPE 1552s # ENUMSHORT: SAMPLER_TYPE 1552s # ENUMPREFIX: GEGL 1552s # enumsince: 1552s # type: enum 1552s # Type: Enum 1552s # TYPE: ENUM 1552s # value-header 1552s # EnumName: GeglSamplerType 1552s # enum_name: gegl_sampler_type 1552s # ENUMNAME: GEGL_SAMPLER_TYPE 1552s # ENUMSHORT: SAMPLER_TYPE 1552s # ENUMPREFIX: GEGL 1552s # enumsince: 1552s # type: enum 1552s # Type: Enum 1552s # TYPE: ENUM 1552s # value-production 1552s # VALUENAME: GEGL_SAMPLER_NEAREST 1552s # valuenick: nearest 1552s # valuenum: 0 1552s # type: enum 1552s # Type: Enum 1552s # TYPE: ENUM 1552s # value-tail 1552s # EnumName: GeglSamplerType 1552s # enum_name: gegl_sampler_type 1552s # ENUMNAME: GEGL_SAMPLER_TYPE 1552s # ENUMSHORT: SAMPLER_TYPE 1552s # ENUMPREFIX: GEGL 1552s # enumsince: 1552s # type: enum 1552s # Type: Enum 1552s # TYPE: ENUM 1552s # file-tail 1552s # 1552s # comment 1552s # comment: Generated data ends here 1552s ok 15 __main__.TestMkenums.test_non_utf8_encoding 1552s # tmpdir: /tmp/tmpn8p0882x 1552s # rspfile: False, mkenums: /usr/bin/glib-mkenums 1552s # /tmp/tmpn8p0882x/tmpcm93uj_l.h: 1552s # /* Copyright © La Peña */ 1552s # typedef enum { 1552s # ENUM_VALUE 1552s # } SomeEnumIdentifier; 1552s # 1552s # /tmp/tmpn8p0882x/tmp76dr4jzi.template: 1552s # /*** BEGIN file-header ***/ 1552s # file-header 1552s # /*** END file-header ***/ 1552s # 1552s # /*** BEGIN file-production ***/ 1552s # file-production 1552s # filename: @filename@ 1552s # basename: @basename@ 1552s # /*** END file-production ***/ 1552s # 1552s # /*** BEGIN enumeration-production ***/ 1552s # enumeration-production 1552s # EnumName: @EnumName@ 1552s # enum_name: @enum_name@ 1552s # ENUMNAME: @ENUMNAME@ 1552s # ENUMSHORT: @ENUMSHORT@ 1552s # ENUMPREFIX: @ENUMPREFIX@ 1552s # enumsince: @enumsince@ 1552s # type: @type@ 1552s # Type: @Type@ 1552s # TYPE: @TYPE@ 1552s # /*** END enumeration-production ***/ 1552s # 1552s # /*** BEGIN value-header ***/ 1552s # value-header 1552s # EnumName: @EnumName@ 1552s # enum_name: @enum_name@ 1552s # ENUMNAME: @ENUMNAME@ 1552s # ENUMSHORT: @ENUMSHORT@ 1552s # ENUMPREFIX: @ENUMPREFIX@ 1552s # enumsince: @enumsince@ 1552s # type: @type@ 1552s # Type: @Type@ 1552s # TYPE: @TYPE@ 1552s # /*** END value-header ***/ 1552s # 1552s # /*** BEGIN value-production ***/ 1552s # value-production 1552s # VALUENAME: @VALUENAME@ 1552s # valuenick: @valuenick@ 1552s # valuenum: @valuenum@ 1552s # type: @type@ 1552s # Type: @Type@ 1552s # TYPE: @TYPE@ 1552s # /*** END value-production ***/ 1552s # 1552s # /*** BEGIN value-tail ***/ 1552s # value-tail 1552s # EnumName: @EnumName@ 1552s # enum_name: @enum_name@ 1552s # ENUMNAME: @ENUMNAME@ 1552s # ENUMSHORT: @ENUMSHORT@ 1552s # ENUMPREFIX: @ENUMPREFIX@ 1552s # enumsince: @enumsince@ 1552s # type: @type@ 1552s # Type: @Type@ 1552s # TYPE: @TYPE@ 1552s # /*** END value-tail ***/ 1552s # 1552s # /*** BEGIN comment ***/ 1552s # comment 1552s # comment: @comment@ 1552s # /*** END comment ***/ 1552s # 1552s # /*** BEGIN file-tail ***/ 1552s # file-tail 1552s # /*** END file-tail ***/ 1552s # 1552s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpn8p0882x/tmp76dr4jzi.template', '/tmp/tmpn8p0882x/tmpcm93uj_l.h'] 1552s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-baqskmurxn,guid=fbaffe99d0ccb1f6e1beb84865fc01cd', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.YcZbqk/autopkgtest_tmp', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.YcZbqk/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.YcZbqk/autopkgtest_tmp', 'TERM': 'unknown', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.YcZbqk/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.sVTVMp0Db0', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.rqZsJO/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.YcZbqk/wrapper.sh --artifacts=/tmp/autopkgtest.YcZbqk/installed-tests-artifacts --chdir=/tmp/autopkgtest.YcZbqk/build.S0E/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.YcZbqk/installed-tests-stderr --stdout=/tmp/autopkgtest.YcZbqk/installed-tests-stdout --tmp=/tmp/autopkgtest.YcZbqk/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2' --make-executable=/tmp/autopkgtest.YcZbqk/build.S0E/src/debian/tests/installed-tests -- /tmp/autopkgtest.YcZbqk/build.S0E/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.YcZbqk/build.S0E/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.YcZbqk/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1552s # Output: comment 1552s # 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. 1552s # 1552s # 1552s # file-header 1552s # file-production 1552s # filename: /tmp/tmpn8p0882x/tmpcm93uj_l.h 1552s # basename: tmpcm93uj_l.h 1552s # enumeration-production 1552s # EnumName: SomeEnumIdentifier 1552s # enum_name: some_enum_identifier 1552s # ENUMNAME: SOME_ENUM_IDENTIFIER 1552s # ENUMSHORT: ENUM_IDENTIFIER 1552s # ENUMPREFIX: SOME 1552s # enumsince: 1552s # type: enum 1552s # Type: Enum 1552s # TYPE: ENUM 1552s # value-header 1552s # EnumName: SomeEnumIdentifier 1552s # enum_name: some_enum_identifier 1552s # ENUMNAME: SOME_ENUM_IDENTIFIER 1552s # ENUMSHORT: ENUM_IDENTIFIER 1552s # ENUMPREFIX: SOME 1552s # enumsince: 1552s # type: enum 1552s # Type: Enum 1552s # TYPE: ENUM 1552s # value-production 1552s # VALUENAME: ENUM_VALUE 1552s # valuenick: value 1552s # valuenum: 0 1552s # type: enum 1552s # Type: Enum 1552s # TYPE: ENUM 1552s # value-tail 1552s # EnumName: SomeEnumIdentifier 1552s # enum_name: some_enum_identifier 1552s # ENUMNAME: SOME_ENUM_IDENTIFIER 1552s # ENUMSHORT: ENUM_IDENTIFIER 1552s # ENUMPREFIX: SOME 1552s # enumsince: 1552s # type: enum 1552s # Type: Enum 1552s # TYPE: ENUM 1552s # file-tail 1552s # 1552s # comment 1552s # comment: Generated data ends here 1552s ok 16 __main__.TestMkenums.test_reproducible 1552s # tmpdir: /tmp/tmpfhp0at44 1552s # rspfile: False, mkenums: /usr/bin/glib-mkenums 1552s # /tmp/tmpfhp0at44/tmpffolf7op.template: template 1552s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpfhp0at44/tmpffolf7op.template', '/tmp/tmpfhp0at44/tmpjmrwcrbb1.h', '/tmp/tmpfhp0at44/tmplsy8kwid2.h'] 1552s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-baqskmurxn,guid=fbaffe99d0ccb1f6e1beb84865fc01cd', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.YcZbqk/autopkgtest_tmp', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.YcZbqk/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.YcZbqk/autopkgtest_tmp', 'TERM': 'unknown', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.YcZbqk/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.sVTVMp0Db0', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.rqZsJO/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.YcZbqk/wrapper.sh --artifacts=/tmp/autopkgtest.YcZbqk/installed-tests-artifacts --chdir=/tmp/autopkgtest.YcZbqk/build.S0E/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.YcZbqk/installed-tests-stderr --stdout=/tmp/autopkgtest.YcZbqk/installed-tests-stdout --tmp=/tmp/autopkgtest.YcZbqk/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2' --make-executable=/tmp/autopkgtest.YcZbqk/build.S0E/src/debian/tests/installed-tests -- /tmp/autopkgtest.YcZbqk/build.S0E/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.YcZbqk/build.S0E/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.YcZbqk/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1552s # 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. */ 1552s # 1552s # 1552s # /* Generated data ends here */ 1552s # /tmp/tmpfhp0at44/tmpsmgrmumg.template: template 1552s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpfhp0at44/tmpsmgrmumg.template', '/tmp/tmpfhp0at44/tmplsy8kwid2.h', '/tmp/tmpfhp0at44/tmpjmrwcrbb1.h'] 1552s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-baqskmurxn,guid=fbaffe99d0ccb1f6e1beb84865fc01cd', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.YcZbqk/autopkgtest_tmp', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.YcZbqk/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.YcZbqk/autopkgtest_tmp', 'TERM': 'unknown', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.YcZbqk/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.sVTVMp0Db0', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.rqZsJO/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.YcZbqk/wrapper.sh --artifacts=/tmp/autopkgtest.YcZbqk/installed-tests-artifacts --chdir=/tmp/autopkgtest.YcZbqk/build.S0E/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.YcZbqk/installed-tests-stderr --stdout=/tmp/autopkgtest.YcZbqk/installed-tests-stdout --tmp=/tmp/autopkgtest.YcZbqk/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2' --make-executable=/tmp/autopkgtest.YcZbqk/build.S0E/src/debian/tests/installed-tests -- /tmp/autopkgtest.YcZbqk/build.S0E/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.YcZbqk/build.S0E/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.YcZbqk/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1552s # 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. */ 1552s # 1552s # 1552s # /* Generated data ends here */ 1552s ok 17 __main__.TestMkenums.test_since 1552s # tmpdir: /tmp/tmpcav2mo6r 1552s # rspfile: False, mkenums: /usr/bin/glib-mkenums 1552s # /tmp/tmpcav2mo6r/tmpljpb13s2.h: 1552s # typedef enum { /*< since=1.0 >*/ 1552s # QMI_WMS_MESSAGE_PROTOCOL_CDMA = 0, 1552s # } QmiWmsMessageProtocol; 1552s # 1552s # /tmp/tmpcav2mo6r/tmpmslgq9yp.template: 1552s # /*** BEGIN file-header ***/ 1552s # file-header 1552s # /*** END file-header ***/ 1552s # 1552s # /*** BEGIN file-production ***/ 1552s # file-production 1552s # filename: @filename@ 1552s # basename: @basename@ 1552s # /*** END file-production ***/ 1552s # 1552s # /*** BEGIN enumeration-production ***/ 1552s # enumeration-production 1552s # EnumName: @EnumName@ 1552s # enum_name: @enum_name@ 1552s # ENUMNAME: @ENUMNAME@ 1552s # ENUMSHORT: @ENUMSHORT@ 1552s # ENUMPREFIX: @ENUMPREFIX@ 1552s # enumsince: @enumsince@ 1552s # type: @type@ 1552s # Type: @Type@ 1552s # TYPE: @TYPE@ 1552s # /*** END enumeration-production ***/ 1552s # 1552s # /*** BEGIN value-header ***/ 1552s # value-header 1552s # EnumName: @EnumName@ 1552s # enum_name: @enum_name@ 1552s # ENUMNAME: @ENUMNAME@ 1552s # ENUMSHORT: @ENUMSHORT@ 1552s # ENUMPREFIX: @ENUMPREFIX@ 1552s # enumsince: @enumsince@ 1552s # type: @type@ 1552s # Type: @Type@ 1552s # TYPE: @TYPE@ 1552s # /*** END value-header ***/ 1552s # 1552s # /*** BEGIN value-production ***/ 1552s # value-production 1552s # VALUENAME: @VALUENAME@ 1552s # valuenick: @valuenick@ 1552s # valuenum: @valuenum@ 1552s # type: @type@ 1552s # Type: @Type@ 1552s # TYPE: @TYPE@ 1552s # /*** END value-production ***/ 1552s # 1552s # /*** BEGIN value-tail ***/ 1552s # value-tail 1552s # EnumName: @EnumName@ 1552s # enum_name: @enum_name@ 1552s # ENUMNAME: @ENUMNAME@ 1552s # ENUMSHORT: @ENUMSHORT@ 1552s # ENUMPREFIX: @ENUMPREFIX@ 1552s # enumsince: @enumsince@ 1552s # type: @type@ 1552s # Type: @Type@ 1552s # TYPE: @TYPE@ 1552s # /*** END value-tail ***/ 1552s # 1552s # /*** BEGIN comment ***/ 1552s # comment 1552s # comment: @comment@ 1552s # /*** END comment ***/ 1552s # 1552s # /*** BEGIN file-tail ***/ 1552s # file-tail 1552s # /*** END file-tail ***/ 1552s # 1552s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpcav2mo6r/tmpmslgq9yp.template', '/tmp/tmpcav2mo6r/tmpljpb13s2.h'] 1552s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-baqskmurxn,guid=fbaffe99d0ccb1f6e1beb84865fc01cd', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.YcZbqk/autopkgtest_tmp', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.YcZbqk/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.YcZbqk/autopkgtest_tmp', 'TERM': 'unknown', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.YcZbqk/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.sVTVMp0Db0', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.rqZsJO/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.YcZbqk/wrapper.sh --artifacts=/tmp/autopkgtest.YcZbqk/installed-tests-artifacts --chdir=/tmp/autopkgtest.YcZbqk/build.S0E/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.YcZbqk/installed-tests-stderr --stdout=/tmp/autopkgtest.YcZbqk/installed-tests-stdout --tmp=/tmp/autopkgtest.YcZbqk/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2' --make-executable=/tmp/autopkgtest.YcZbqk/build.S0E/src/debian/tests/installed-tests -- /tmp/autopkgtest.YcZbqk/build.S0E/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.YcZbqk/build.S0E/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.YcZbqk/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1552s # Output: comment 1552s # 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. 1552s # 1552s # 1552s # file-header 1552s # file-production 1552s # filename: /tmp/tmpcav2mo6r/tmpljpb13s2.h 1552s # basename: tmpljpb13s2.h 1552s # enumeration-production 1552s # EnumName: QmiWmsMessageProtocol 1552s # enum_name: qmi_wms_message_protocol 1552s # ENUMNAME: QMI_WMS_MESSAGE_PROTOCOL 1552s # ENUMSHORT: WMS_MESSAGE_PROTOCOL 1552s # ENUMPREFIX: QMI 1552s # enumsince: 1.0 1552s # type: enum 1552s # Type: Enum 1552s # TYPE: ENUM 1552s # value-header 1552s # EnumName: QmiWmsMessageProtocol 1552s # enum_name: qmi_wms_message_protocol 1552s # ENUMNAME: QMI_WMS_MESSAGE_PROTOCOL 1552s # ENUMSHORT: WMS_MESSAGE_PROTOCOL 1552s # ENUMPREFIX: QMI 1552s # enumsince: 1.0 1552s # type: enum 1552s # Type: Enum 1552s # TYPE: ENUM 1552s # value-production 1552s # VALUENAME: QMI_WMS_MESSAGE_PROTOCOL_CDMA 1552s # valuenick: cdma 1552s # valuenum: 0 1552s # type: enum 1552s # Type: Enum 1552s # TYPE: ENUM 1552s # value-tail 1552s # EnumName: QmiWmsMessageProtocol 1552s # enum_name: qmi_wms_message_protocol 1552s # ENUMNAME: QMI_WMS_MESSAGE_PROTOCOL 1552s # ENUMSHORT: WMS_MESSAGE_PROTOCOL 1552s # ENUMPREFIX: QMI 1552s # enumsince: 1.0 1552s # type: enum 1552s # Type: Enum 1552s # TYPE: ENUM 1552s # file-tail 1552s # 1552s # comment 1552s # comment: Generated data ends here 1552s ok 18 __main__.TestMkenums.test_with_double_quotes 1552s # tmpdir: /tmp/tmpf657n2im 1552s # rspfile: False, mkenums: /usr/bin/glib-mkenums 1552s # /tmp/tmpf657n2im/tmp_44pnw55.h: 1552s # typedef enum { 1552s # FOO_VALUE /*< nick="eek, a comma" >*/ 1552s # } Foo; 1552s # 1552s # /tmp/tmpf657n2im/tmpid1xk26w.template: 1552s # /*** BEGIN file-header ***/ 1552s # file-header 1552s # /*** END file-header ***/ 1552s # 1552s # /*** BEGIN file-production ***/ 1552s # file-production 1552s # filename: @filename@ 1552s # basename: @basename@ 1552s # /*** END file-production ***/ 1552s # 1552s # /*** BEGIN enumeration-production ***/ 1552s # enumeration-production 1552s # EnumName: @EnumName@ 1552s # enum_name: @enum_name@ 1552s # ENUMNAME: @ENUMNAME@ 1552s # ENUMSHORT: @ENUMSHORT@ 1552s # ENUMPREFIX: @ENUMPREFIX@ 1552s # enumsince: @enumsince@ 1552s # type: @type@ 1552s # Type: @Type@ 1552s # TYPE: @TYPE@ 1552s # /*** END enumeration-production ***/ 1552s # 1552s # /*** BEGIN value-header ***/ 1552s # value-header 1552s # EnumName: @EnumName@ 1552s # enum_name: @enum_name@ 1552s # ENUMNAME: @ENUMNAME@ 1552s # ENUMSHORT: @ENUMSHORT@ 1552s # ENUMPREFIX: @ENUMPREFIX@ 1552s # enumsince: @enumsince@ 1552s # type: @type@ 1552s # Type: @Type@ 1552s # TYPE: @TYPE@ 1552s # /*** END value-header ***/ 1552s # 1552s # /*** BEGIN value-production ***/ 1552s # value-production 1552s # VALUENAME: @VALUENAME@ 1552s # valuenick: @valuenick@ 1552s # valuenum: @valuenum@ 1552s # type: @type@ 1552s # Type: @Type@ 1552s # TYPE: @TYPE@ 1552s # /*** END value-production ***/ 1552s # 1552s # /*** BEGIN value-tail ***/ 1552s # value-tail 1552s # EnumName: @EnumName@ 1552s # enum_name: @enum_name@ 1552s # ENUMNAME: @ENUMNAME@ 1552s # ENUMSHORT: @ENUMSHORT@ 1552s # ENUMPREFIX: @ENUMPREFIX@ 1552s # enumsince: @enumsince@ 1552s # type: @type@ 1552s # Type: @Type@ 1552s # TYPE: @TYPE@ 1552s # /*** END value-tail ***/ 1552s # 1552s # /*** BEGIN comment ***/ 1552s # comment 1552s # comment: @comment@ 1552s # /*** END comment ***/ 1552s # 1552s # /*** BEGIN file-tail ***/ 1552s # file-tail 1552s # /*** END file-tail ***/ 1552s # 1552s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpf657n2im/tmpid1xk26w.template', '/tmp/tmpf657n2im/tmp_44pnw55.h'] 1552s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-baqskmurxn,guid=fbaffe99d0ccb1f6e1beb84865fc01cd', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.YcZbqk/autopkgtest_tmp', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.YcZbqk/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.YcZbqk/autopkgtest_tmp', 'TERM': 'unknown', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.YcZbqk/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.sVTVMp0Db0', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.rqZsJO/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.YcZbqk/wrapper.sh --artifacts=/tmp/autopkgtest.YcZbqk/installed-tests-artifacts --chdir=/tmp/autopkgtest.YcZbqk/build.S0E/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.YcZbqk/installed-tests-stderr --stdout=/tmp/autopkgtest.YcZbqk/installed-tests-stdout --tmp=/tmp/autopkgtest.YcZbqk/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2' --make-executable=/tmp/autopkgtest.YcZbqk/build.S0E/src/debian/tests/installed-tests -- /tmp/autopkgtest.YcZbqk/build.S0E/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.YcZbqk/build.S0E/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.YcZbqk/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1552s # Output: comment 1552s # 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. 1552s # 1552s # 1552s # file-header 1552s # file-production 1552s # filename: /tmp/tmpf657n2im/tmp_44pnw55.h 1552s # basename: tmp_44pnw55.h 1552s # enumeration-production 1552s # EnumName: Foo 1552s # enum_name: foo_ 1552s # ENUMNAME: FOO_ 1552s # ENUMSHORT: 1552s # ENUMPREFIX: FOO 1552s # enumsince: 1552s # type: enum 1552s # Type: Enum 1552s # TYPE: ENUM 1552s # value-header 1552s # EnumName: Foo 1552s # enum_name: foo_ 1552s # ENUMNAME: FOO_ 1552s # ENUMSHORT: 1552s # ENUMPREFIX: FOO 1552s # enumsince: 1552s # type: enum 1552s # Type: Enum 1552s # TYPE: ENUM 1552s # value-production 1552s # VALUENAME: FOO_VALUE 1552s # valuenick: eek, a comma 1552s # valuenum: 0 1552s # type: enum 1552s # Type: Enum 1552s # TYPE: ENUM 1552s # value-tail 1552s # EnumName: Foo 1552s # enum_name: foo_ 1552s # ENUMNAME: FOO_ 1552s # ENUMSHORT: 1552s # ENUMPREFIX: FOO 1552s # enumsince: 1552s # type: enum 1552s # Type: Enum 1552s # TYPE: ENUM 1552s # file-tail 1552s # 1552s # comment 1552s # comment: Generated data ends here 1552s ok 19 __main__.TestRspMkenums.test_available_in 1552s # tmpdir: /tmp/tmp_3529z00 1552s # rspfile: True, mkenums: /usr/bin/glib-mkenums 1552s # /tmp/tmp_3529z00/tmp17gxyty_.h: 1552s # typedef enum { 1552s # G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER GLIB_AVAILABLE_ENUMERATOR_IN_2_68 = (1<<2) 1552s # } GDBusServerFlags; 1552s # 1552s # /tmp/tmp_3529z00/tmp0w3lpr_i.template: 1552s # /*** BEGIN file-header ***/ 1552s # file-header 1552s # /*** END file-header ***/ 1552s # 1552s # /*** BEGIN file-production ***/ 1552s # file-production 1552s # filename: @filename@ 1552s # basename: @basename@ 1552s # /*** END file-production ***/ 1552s # 1552s # /*** BEGIN enumeration-production ***/ 1552s # enumeration-production 1552s # EnumName: @EnumName@ 1552s # enum_name: @enum_name@ 1552s # ENUMNAME: @ENUMNAME@ 1552s # ENUMSHORT: @ENUMSHORT@ 1552s # ENUMPREFIX: @ENUMPREFIX@ 1552s # enumsince: @enumsince@ 1552s # type: @type@ 1552s # Type: @Type@ 1552s # TYPE: @TYPE@ 1552s # /*** END enumeration-production ***/ 1552s # 1552s # /*** BEGIN value-header ***/ 1552s # value-header 1552s # EnumName: @EnumName@ 1552s # enum_name: @enum_name@ 1552s # ENUMNAME: @ENUMNAME@ 1552s # ENUMSHORT: @ENUMSHORT@ 1552s # ENUMPREFIX: @ENUMPREFIX@ 1552s # enumsince: @enumsince@ 1552s # type: @type@ 1552s # Type: @Type@ 1552s # TYPE: @TYPE@ 1552s # /*** END value-header ***/ 1552s # 1552s # /*** BEGIN value-production ***/ 1552s # value-production 1552s # VALUENAME: @VALUENAME@ 1552s # valuenick: @valuenick@ 1552s # valuenum: @valuenum@ 1552s # type: @type@ 1552s # Type: @Type@ 1552s # TYPE: @TYPE@ 1552s # /*** END value-production ***/ 1552s # 1552s # /*** BEGIN value-tail ***/ 1552s # value-tail 1552s # EnumName: @EnumName@ 1552s # enum_name: @enum_name@ 1552s # ENUMNAME: @ENUMNAME@ 1552s # ENUMSHORT: @ENUMSHORT@ 1552s # ENUMPREFIX: @ENUMPREFIX@ 1552s # enumsince: @enumsince@ 1552s # type: @type@ 1552s # Type: @Type@ 1552s # TYPE: @TYPE@ 1552s # /*** END value-tail ***/ 1552s # 1552s # /*** BEGIN comment ***/ 1552s # comment 1552s # comment: @comment@ 1552s # /*** END comment ***/ 1552s # 1552s # /*** BEGIN file-tail ***/ 1552s # file-tail 1552s # /*** END file-tail ***/ 1552s # 1552s # Response file contains: --template /tmp/tmp_3529z00/tmp0w3lpr_i.template /tmp/tmp_3529z00/tmp17gxyty_.h 1552s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmp_3529z00/tmp7eisodme'] 1552s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-baqskmurxn,guid=fbaffe99d0ccb1f6e1beb84865fc01cd', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.YcZbqk/autopkgtest_tmp', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.YcZbqk/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.YcZbqk/autopkgtest_tmp', 'TERM': 'unknown', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.YcZbqk/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.sVTVMp0Db0', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.rqZsJO/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.YcZbqk/wrapper.sh --artifacts=/tmp/autopkgtest.YcZbqk/installed-tests-artifacts --chdir=/tmp/autopkgtest.YcZbqk/build.S0E/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.YcZbqk/installed-tests-stderr --stdout=/tmp/autopkgtest.YcZbqk/installed-tests-stdout --tmp=/tmp/autopkgtest.YcZbqk/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2' --make-executable=/tmp/autopkgtest.YcZbqk/build.S0E/src/debian/tests/installed-tests -- /tmp/autopkgtest.YcZbqk/build.S0E/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.YcZbqk/build.S0E/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.YcZbqk/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1552s # Output: comment 1552s # 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. 1552s # 1552s # 1552s # file-header 1552s # file-production 1552s # filename: /tmp/tmp_3529z00/tmp17gxyty_.h 1552s # basename: tmp17gxyty_.h 1552s # enumeration-production 1552s # EnumName: GDBusServerFlags 1552s # enum_name: g_dbus_server_flags 1552s # ENUMNAME: G_DBUS_SERVER_FLAGS 1552s # ENUMSHORT: DBUS_SERVER_FLAGS 1552s # ENUMPREFIX: G 1552s # enumsince: 1552s # type: flags 1552s # Type: Flags 1552s # TYPE: FLAGS 1552s # value-header 1552s # EnumName: GDBusServerFlags 1552s # enum_name: g_dbus_server_flags 1552s # ENUMNAME: G_DBUS_SERVER_FLAGS 1552s # ENUMSHORT: DBUS_SERVER_FLAGS 1552s # ENUMPREFIX: G 1552s # enumsince: 1552s # type: flags 1552s # Type: Flags 1552s # TYPE: FLAGS 1552s # value-production 1552s # VALUENAME: G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER 1552s # valuenick: user 1552s # valuenum: 4 1552s # type: flags 1552s # Type: Flags 1552s # TYPE: FLAGS 1552s # value-tail 1552s # EnumName: GDBusServerFlags 1552s # enum_name: g_dbus_server_flags 1552s # ENUMNAME: G_DBUS_SERVER_FLAGS 1552s # ENUMSHORT: DBUS_SERVER_FLAGS 1552s # ENUMPREFIX: G 1552s # enumsince: 1552s # type: flags 1552s # Type: Flags 1552s # TYPE: FLAGS 1552s # file-tail 1552s # 1552s # comment 1552s # comment: Generated data ends here 1552s ok 20 __main__.TestRspMkenums.test_comma_in_enum_value 1552s # tmpdir: /tmp/tmpjib86h_3 1552s # rspfile: True, mkenums: /usr/bin/glib-mkenums 1552s # /tmp/tmpjib86h_3/tmpbz54xg42.h: 1552s # typedef enum { 1552s # ENUM_VALUE_WITH_COMMA = ',', 1552s # } TestCommaEnum; 1552s # 1552s # /tmp/tmpjib86h_3/tmp5vjyj_xu.template: 1552s # /*** BEGIN file-header ***/ 1552s # file-header 1552s # /*** END file-header ***/ 1552s # 1552s # /*** BEGIN file-production ***/ 1552s # file-production 1552s # filename: @filename@ 1552s # basename: @basename@ 1552s # /*** END file-production ***/ 1552s # 1552s # /*** BEGIN enumeration-production ***/ 1552s # enumeration-production 1552s # EnumName: @EnumName@ 1552s # enum_name: @enum_name@ 1552s # ENUMNAME: @ENUMNAME@ 1552s # ENUMSHORT: @ENUMSHORT@ 1552s # ENUMPREFIX: @ENUMPREFIX@ 1552s # enumsince: @enumsince@ 1552s # type: @type@ 1552s # Type: @Type@ 1552s # TYPE: @TYPE@ 1552s # /*** END enumeration-production ***/ 1552s # 1552s # /*** BEGIN value-header ***/ 1552s # value-header 1552s # EnumName: @EnumName@ 1552s # enum_name: @enum_name@ 1552s # ENUMNAME: @ENUMNAME@ 1552s # ENUMSHORT: @ENUMSHORT@ 1552s # ENUMPREFIX: @ENUMPREFIX@ 1552s # enumsince: @enumsince@ 1552s # type: @type@ 1552s # Type: @Type@ 1552s # TYPE: @TYPE@ 1552s # /*** END value-header ***/ 1552s # 1552s # /*** BEGIN value-production ***/ 1552s # value-production 1552s # VALUENAME: @VALUENAME@ 1552s # valuenick: @valuenick@ 1552s # valuenum: @valuenum@ 1552s # type: @type@ 1552s # Type: @Type@ 1552s # TYPE: @TYPE@ 1552s # /*** END value-production ***/ 1552s # 1552s # /*** BEGIN value-tail ***/ 1552s # value-tail 1552s # EnumName: @EnumName@ 1552s # enum_name: @enum_name@ 1552s # ENUMNAME: @ENUMNAME@ 1552s # ENUMSHORT: @ENUMSHORT@ 1552s # ENUMPREFIX: @ENUMPREFIX@ 1552s # enumsince: @enumsince@ 1552s # type: @type@ 1552s # Type: @Type@ 1552s # TYPE: @TYPE@ 1552s # /*** END value-tail ***/ 1552s # 1552s # /*** BEGIN comment ***/ 1552s # comment 1552s # comment: @comment@ 1552s # /*** END comment ***/ 1552s # 1552s # /*** BEGIN file-tail ***/ 1552s # file-tail 1552s # /*** END file-tail ***/ 1552s # 1552s # Response file contains: --template /tmp/tmpjib86h_3/tmp5vjyj_xu.template /tmp/tmpjib86h_3/tmpbz54xg42.h 1552s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpjib86h_3/tmpkzhpsxur'] 1552s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-baqskmurxn,guid=fbaffe99d0ccb1f6e1beb84865fc01cd', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.YcZbqk/autopkgtest_tmp', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.YcZbqk/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.YcZbqk/autopkgtest_tmp', 'TERM': 'unknown', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.YcZbqk/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.sVTVMp0Db0', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.rqZsJO/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.YcZbqk/wrapper.sh --artifacts=/tmp/autopkgtest.YcZbqk/installed-tests-artifacts --chdir=/tmp/autopkgtest.YcZbqk/build.S0E/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.YcZbqk/installed-tests-stderr --stdout=/tmp/autopkgtest.YcZbqk/installed-tests-stdout --tmp=/tmp/autopkgtest.YcZbqk/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2' --make-executable=/tmp/autopkgtest.YcZbqk/build.S0E/src/debian/tests/installed-tests -- /tmp/autopkgtest.YcZbqk/build.S0E/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.YcZbqk/build.S0E/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.YcZbqk/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1552s # Output: comment 1552s # 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. 1552s # 1552s # 1552s # file-header 1552s # file-production 1552s # filename: /tmp/tmpjib86h_3/tmpbz54xg42.h 1552s # basename: tmpbz54xg42.h 1552s # enumeration-production 1552s # EnumName: TestCommaEnum 1552s # enum_name: test_comma_enum 1552s # ENUMNAME: TEST_COMMA_ENUM 1552s # ENUMSHORT: COMMA_ENUM 1552s # ENUMPREFIX: TEST 1552s # enumsince: 1552s # type: enum 1552s # Type: Enum 1552s # TYPE: ENUM 1552s # value-header 1552s # EnumName: TestCommaEnum 1552s # enum_name: test_comma_enum 1552s # ENUMNAME: TEST_COMMA_ENUM 1552s # ENUMSHORT: COMMA_ENUM 1552s # ENUMPREFIX: TEST 1552s # enumsince: 1552s # type: enum 1552s # Type: Enum 1552s # TYPE: ENUM 1552s # value-production 1552s # VALUENAME: ENUM_VALUE_WITH_COMMA 1552s # valuenick: comma 1552s # valuenum: 44 1552s # type: enum 1552s # Type: Enum 1552s # TYPE: ENUM 1552s # value-tail 1552s # EnumName: TestCommaEnum 1552s # enum_name: test_comma_enum 1552s # ENUMNAME: TEST_COMMA_ENUM 1552s # ENUMSHORT: COMMA_ENUM 1552s # ENUMPREFIX: TEST 1552s # enumsince: 1552s # type: enum 1552s # Type: Enum 1552s # TYPE: ENUM 1552s # file-tail 1552s # 1552s # comment 1552s # comment: Generated data ends here 1552s ok 21 __main__.TestRspMkenums.test_deprecated_in 1552s # tmpdir: /tmp/tmpk_3j2t2j 1552s # rspfile: True, mkenums: /usr/bin/glib-mkenums 1552s # /tmp/tmpk_3j2t2j/tmp9hjvnyg3.h: 1552s # typedef enum { 1552s # G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER GLIB_DEPRECATED_ENUMERATOR_IN_2_68 = (1<<2) 1552s # } GDBusServerFlags; 1552s # 1552s # /tmp/tmpk_3j2t2j/tmpw5gjzvq_.template: 1552s # /*** BEGIN file-header ***/ 1552s # file-header 1552s # /*** END file-header ***/ 1552s # 1552s # /*** BEGIN file-production ***/ 1552s # file-production 1552s # filename: @filename@ 1552s # basename: @basename@ 1552s # /*** END file-production ***/ 1552s # 1552s # /*** BEGIN enumeration-production ***/ 1552s # enumeration-production 1552s # EnumName: @EnumName@ 1552s # enum_name: @enum_name@ 1552s # ENUMNAME: @ENUMNAME@ 1552s # ENUMSHORT: @ENUMSHORT@ 1552s # ENUMPREFIX: @ENUMPREFIX@ 1552s # enumsince: @enumsince@ 1552s # type: @type@ 1552s # Type: @Type@ 1552s # TYPE: @TYPE@ 1552s # /*** END enumeration-production ***/ 1552s # 1552s # /*** BEGIN value-header ***/ 1552s # value-header 1552s # EnumName: @EnumName@ 1552s # enum_name: @enum_name@ 1552s # ENUMNAME: @ENUMNAME@ 1552s # ENUMSHORT: @ENUMSHORT@ 1552s # ENUMPREFIX: @ENUMPREFIX@ 1552s # enumsince: @enumsince@ 1552s # type: @type@ 1552s # Type: @Type@ 1552s # TYPE: @TYPE@ 1552s # /*** END value-header ***/ 1552s # 1552s # /*** BEGIN value-production ***/ 1552s # value-production 1552s # VALUENAME: @VALUENAME@ 1552s # valuenick: @valuenick@ 1552s # valuenum: @valuenum@ 1552s # type: @type@ 1552s # Type: @Type@ 1552s # TYPE: @TYPE@ 1552s # /*** END value-production ***/ 1552s # 1552s # /*** BEGIN value-tail ***/ 1552s # value-tail 1552s # EnumName: @EnumName@ 1552s # enum_name: @enum_name@ 1552s # ENUMNAME: @ENUMNAME@ 1552s # ENUMSHORT: @ENUMSHORT@ 1552s # ENUMPREFIX: @ENUMPREFIX@ 1552s # enumsince: @enumsince@ 1552s # type: @type@ 1552s # Type: @Type@ 1552s # TYPE: @TYPE@ 1552s # /*** END value-tail ***/ 1552s # 1552s # /*** BEGIN comment ***/ 1552s # comment 1552s # comment: @comment@ 1552s # /*** END comment ***/ 1552s # 1552s # /*** BEGIN file-tail ***/ 1552s # file-tail 1552s # /*** END file-tail ***/ 1552s # 1552s # Response file contains: --template /tmp/tmpk_3j2t2j/tmpw5gjzvq_.template /tmp/tmpk_3j2t2j/tmp9hjvnyg3.h 1552s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpk_3j2t2j/tmp2_aa7xzh'] 1552s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-baqskmurxn,guid=fbaffe99d0ccb1f6e1beb84865fc01cd', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.YcZbqk/autopkgtest_tmp', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.YcZbqk/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.YcZbqk/autopkgtest_tmp', 'TERM': 'unknown', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.YcZbqk/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.sVTVMp0Db0', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.rqZsJO/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.YcZbqk/wrapper.sh --artifacts=/tmp/autopkgtest.YcZbqk/installed-tests-artifacts --chdir=/tmp/autopkgtest.YcZbqk/build.S0E/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.YcZbqk/installed-tests-stderr --stdout=/tmp/autopkgtest.YcZbqk/installed-tests-stdout --tmp=/tmp/autopkgtest.YcZbqk/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2' --make-executable=/tmp/autopkgtest.YcZbqk/build.S0E/src/debian/tests/installed-tests -- /tmp/autopkgtest.YcZbqk/build.S0E/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.YcZbqk/build.S0E/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.YcZbqk/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1552s # Output: comment 1552s # 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. 1552s # 1552s # 1552s # file-header 1552s # file-production 1552s # filename: /tmp/tmpk_3j2t2j/tmp9hjvnyg3.h 1552s # basename: tmp9hjvnyg3.h 1552s # enumeration-production 1552s # EnumName: GDBusServerFlags 1552s # enum_name: g_dbus_server_flags 1552s # ENUMNAME: G_DBUS_SERVER_FLAGS 1552s # ENUMSHORT: DBUS_SERVER_FLAGS 1552s # ENUMPREFIX: G 1552s # enumsince: 1552s # type: flags 1552s # Type: Flags 1552s # TYPE: FLAGS 1552s # value-header 1552s # EnumName: GDBusServerFlags 1552s # enum_name: g_dbus_server_flags 1552s # ENUMNAME: G_DBUS_SERVER_FLAGS 1552s # ENUMSHORT: DBUS_SERVER_FLAGS 1552s # ENUMPREFIX: G 1552s # enumsince: 1552s # type: flags 1552s # Type: Flags 1552s # TYPE: FLAGS 1552s # value-production 1552s # VALUENAME: G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER 1552s # valuenick: user 1552s # valuenum: 4 1552s # type: flags 1552s # Type: Flags 1552s # TYPE: FLAGS 1552s # value-tail 1552s # EnumName: GDBusServerFlags 1552s # enum_name: g_dbus_server_flags 1552s # ENUMNAME: G_DBUS_SERVER_FLAGS 1552s # ENUMSHORT: DBUS_SERVER_FLAGS 1552s # ENUMPREFIX: G 1552s # enumsince: 1552s # type: flags 1552s # Type: Flags 1552s # TYPE: FLAGS 1552s # file-tail 1552s # 1552s # comment 1552s # comment: Generated data ends here 1552s ok 22 __main__.TestRspMkenums.test_deprecated_in_for 1552s # tmpdir: /tmp/tmpve04fb1i 1552s # rspfile: True, mkenums: /usr/bin/glib-mkenums 1552s # /tmp/tmpve04fb1i/tmp31awll2h.h: 1552s # typedef enum { 1552s # 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) 1552s # } GDBusServerFlags; 1552s # 1552s # /tmp/tmpve04fb1i/tmphno2agd4.template: 1552s # /*** BEGIN file-header ***/ 1552s # file-header 1552s # /*** END file-header ***/ 1552s # 1552s # /*** BEGIN file-production ***/ 1552s # file-production 1552s # filename: @filename@ 1552s # basename: @basename@ 1552s # /*** END file-production ***/ 1552s # 1552s # /*** BEGIN enumeration-production ***/ 1552s # enumeration-production 1552s # EnumName: @EnumName@ 1552s # enum_name: @enum_name@ 1552s # ENUMNAME: @ENUMNAME@ 1552s # ENUMSHORT: @ENUMSHORT@ 1552s # ENUMPREFIX: @ENUMPREFIX@ 1552s # enumsince: @enumsince@ 1552s # type: @type@ 1552s # Type: @Type@ 1552s # TYPE: @TYPE@ 1552s # /*** END enumeration-production ***/ 1552s # 1552s # /*** BEGIN value-header ***/ 1552s # value-header 1552s # EnumName: @EnumName@ 1552s # enum_name: @enum_name@ 1552s # ENUMNAME: @ENUMNAME@ 1552s # ENUMSHORT: @ENUMSHORT@ 1552s # ENUMPREFIX: @ENUMPREFIX@ 1552s # enumsince: @enumsince@ 1552s # type: @type@ 1552s # Type: @Type@ 1552s # TYPE: @TYPE@ 1552s # /*** END value-header ***/ 1552s # 1552s # /*** BEGIN value-production ***/ 1552s # value-production 1552s # VALUENAME: @VALUENAME@ 1552s # valuenick: @valuenick@ 1552s # valuenum: @valuenum@ 1552s # type: @type@ 1552s # Type: @Type@ 1552s # TYPE: @TYPE@ 1552s # /*** END value-production ***/ 1552s # 1552s # /*** BEGIN value-tail ***/ 1552s # value-tail 1552s # EnumName: @EnumName@ 1552s # enum_name: @enum_name@ 1552s # ENUMNAME: @ENUMNAME@ 1552s # ENUMSHORT: @ENUMSHORT@ 1552s # ENUMPREFIX: @ENUMPREFIX@ 1552s # enumsince: @enumsince@ 1552s # type: @type@ 1552s # Type: @Type@ 1552s # TYPE: @TYPE@ 1552s # /*** END value-tail ***/ 1552s # 1552s # /*** BEGIN comment ***/ 1552s # comment 1552s # comment: @comment@ 1552s # /*** END comment ***/ 1552s # 1552s # /*** BEGIN file-tail ***/ 1552s # file-tail 1552s # /*** END file-tail ***/ 1552s # 1552s # Response file contains: --template /tmp/tmpve04fb1i/tmphno2agd4.template /tmp/tmpve04fb1i/tmp31awll2h.h 1552s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpve04fb1i/tmp7iey8_fk'] 1552s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-baqskmurxn,guid=fbaffe99d0ccb1f6e1beb84865fc01cd', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.YcZbqk/autopkgtest_tmp', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.YcZbqk/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.YcZbqk/autopkgtest_tmp', 'TERM': 'unknown', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.YcZbqk/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.sVTVMp0Db0', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.rqZsJO/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.YcZbqk/wrapper.sh --artifacts=/tmp/autopkgtest.YcZbqk/installed-tests-artifacts --chdir=/tmp/autopkgtest.YcZbqk/build.S0E/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.YcZbqk/installed-tests-stderr --stdout=/tmp/autopkgtest.YcZbqk/installed-tests-stdout --tmp=/tmp/autopkgtest.YcZbqk/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2' --make-executable=/tmp/autopkgtest.YcZbqk/build.S0E/src/debian/tests/installed-tests -- /tmp/autopkgtest.YcZbqk/build.S0E/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.YcZbqk/build.S0E/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.YcZbqk/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1552s # Output: comment 1552s # 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. 1552s # 1552s # 1552s # file-header 1552s # file-production 1552s # filename: /tmp/tmpve04fb1i/tmp31awll2h.h 1552s # basename: tmp31awll2h.h 1552s # enumeration-production 1552s # EnumName: GDBusServerFlags 1552s # enum_name: g_dbus_server_flags 1552s # ENUMNAME: G_DBUS_SERVER_FLAGS 1552s # ENUMSHORT: DBUS_SERVER_FLAGS 1552s # ENUMPREFIX: G 1552s # enumsince: 1552s # type: flags 1552s # Type: Flags 1552s # TYPE: FLAGS 1552s # value-header 1552s # EnumName: GDBusServerFlags 1552s # enum_name: g_dbus_server_flags 1552s # ENUMNAME: G_DBUS_SERVER_FLAGS 1552s # ENUMSHORT: DBUS_SERVER_FLAGS 1552s # ENUMPREFIX: G 1552s # enumsince: 1552s # type: flags 1552s # Type: Flags 1552s # TYPE: FLAGS 1552s # value-production 1552s # VALUENAME: G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER 1552s # valuenick: user 1552s # valuenum: 4 1552s # type: flags 1552s # Type: Flags 1552s # TYPE: FLAGS 1552s # value-tail 1552s # EnumName: GDBusServerFlags 1552s # enum_name: g_dbus_server_flags 1552s # ENUMNAME: G_DBUS_SERVER_FLAGS 1552s # ENUMSHORT: DBUS_SERVER_FLAGS 1552s # ENUMPREFIX: G 1552s # enumsince: 1552s # type: flags 1552s # Type: Flags 1552s # TYPE: FLAGS 1552s # file-tail 1552s # 1552s # comment 1552s # comment: Generated data ends here 1552s ok 23 __main__.TestRspMkenums.test_empty_header 1552s # tmpdir: /tmp/tmp0h3ghqte 1552s # rspfile: True, mkenums: /usr/bin/glib-mkenums 1552s # /tmp/tmp0h3ghqte/tmpvifl_mbg.h: 1552s # /tmp/tmp0h3ghqte/tmpnp_x4kxa.template: 1552s # /*** BEGIN file-header ***/ 1552s # file-header 1552s # /*** END file-header ***/ 1552s # 1552s # /*** BEGIN file-production ***/ 1552s # file-production 1552s # filename: @filename@ 1552s # basename: @basename@ 1552s # /*** END file-production ***/ 1552s # 1552s # /*** BEGIN enumeration-production ***/ 1552s # enumeration-production 1552s # EnumName: @EnumName@ 1552s # enum_name: @enum_name@ 1552s # ENUMNAME: @ENUMNAME@ 1552s # ENUMSHORT: @ENUMSHORT@ 1552s # ENUMPREFIX: @ENUMPREFIX@ 1552s # enumsince: @enumsince@ 1552s # type: @type@ 1552s # Type: @Type@ 1552s # TYPE: @TYPE@ 1552s # /*** END enumeration-production ***/ 1552s # 1552s # /*** BEGIN value-header ***/ 1552s # value-header 1552s # EnumName: @EnumName@ 1552s # enum_name: @enum_name@ 1552s # ENUMNAME: @ENUMNAME@ 1552s # ENUMSHORT: @ENUMSHORT@ 1552s # ENUMPREFIX: @ENUMPREFIX@ 1552s # enumsince: @enumsince@ 1552s # type: @type@ 1552s # Type: @Type@ 1552s # TYPE: @TYPE@ 1552s # /*** END value-header ***/ 1552s # 1552s # /*** BEGIN value-production ***/ 1552s # value-production 1552s # VALUENAME: @VALUENAME@ 1552s # valuenick: @valuenick@ 1552s # valuenum: @valuenum@ 1552s # type: @type@ 1552s # Type: @Type@ 1552s # TYPE: @TYPE@ 1552s # /*** END value-production ***/ 1552s # 1552s # /*** BEGIN value-tail ***/ 1552s # value-tail 1552s # EnumName: @EnumName@ 1552s # enum_name: @enum_name@ 1552s # ENUMNAME: @ENUMNAME@ 1552s # ENUMSHORT: @ENUMSHORT@ 1552s # ENUMPREFIX: @ENUMPREFIX@ 1552s # enumsince: @enumsince@ 1552s # type: @type@ 1552s # Type: @Type@ 1552s # TYPE: @TYPE@ 1552s # /*** END value-tail ***/ 1552s # 1552s # /*** BEGIN comment ***/ 1552s # comment 1552s # comment: @comment@ 1552s # /*** END comment ***/ 1552s # 1552s # /*** BEGIN file-tail ***/ 1552s # file-tail 1552s # /*** END file-tail ***/ 1552s # 1552s # Response file contains: --template /tmp/tmp0h3ghqte/tmpnp_x4kxa.template /tmp/tmp0h3ghqte/tmpvifl_mbg.h 1552s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmp0h3ghqte/tmpu36onut3'] 1552s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-baqskmurxn,guid=fbaffe99d0ccb1f6e1beb84865fc01cd', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.YcZbqk/autopkgtest_tmp', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.YcZbqk/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.YcZbqk/autopkgtest_tmp', 'TERM': 'unknown', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.YcZbqk/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.sVTVMp0Db0', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.rqZsJO/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.YcZbqk/wrapper.sh --artifacts=/tmp/autopkgtest.YcZbqk/installed-tests-artifacts --chdir=/tmp/autopkgtest.YcZbqk/build.S0E/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.YcZbqk/installed-tests-stderr --stdout=/tmp/autopkgtest.YcZbqk/installed-tests-stdout --tmp=/tmp/autopkgtest.YcZbqk/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2' --make-executable=/tmp/autopkgtest.YcZbqk/build.S0E/src/debian/tests/installed-tests -- /tmp/autopkgtest.YcZbqk/build.S0E/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.YcZbqk/build.S0E/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.YcZbqk/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1552s # Output: comment 1552s # 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. 1552s # 1552s # 1552s # file-header 1552s # file-tail 1552s # 1552s # comment 1552s # comment: Generated data ends here 1552s ok 24 __main__.TestRspMkenums.test_empty_template 1552s # tmpdir: /tmp/tmpdq1mefv6 1552s # rspfile: True, mkenums: /usr/bin/glib-mkenums 1552s # /tmp/tmpdq1mefv6/tmpf8x4vb0h.template: 1552s # Response file contains: --template /tmp/tmpdq1mefv6/tmpf8x4vb0h.template 1552s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpdq1mefv6/tmp76g2u0px'] 1552s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-baqskmurxn,guid=fbaffe99d0ccb1f6e1beb84865fc01cd', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.YcZbqk/autopkgtest_tmp', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.YcZbqk/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.YcZbqk/autopkgtest_tmp', 'TERM': 'unknown', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.YcZbqk/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.sVTVMp0Db0', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.rqZsJO/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.YcZbqk/wrapper.sh --artifacts=/tmp/autopkgtest.YcZbqk/installed-tests-artifacts --chdir=/tmp/autopkgtest.YcZbqk/build.S0E/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.YcZbqk/installed-tests-stderr --stdout=/tmp/autopkgtest.YcZbqk/installed-tests-stdout --tmp=/tmp/autopkgtest.YcZbqk/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2' --make-executable=/tmp/autopkgtest.YcZbqk/build.S0E/src/debian/tests/installed-tests -- /tmp/autopkgtest.YcZbqk/build.S0E/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.YcZbqk/build.S0E/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.YcZbqk/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1552s # 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. */ 1552s # 1552s # 1552s # /* Generated data ends here */ 1552s ok 25 __main__.TestRspMkenums.test_enum_name 1552s # tmpdir: /tmp/tmp35txaakm 1552s # rspfile: True, mkenums: /usr/bin/glib-mkenums 1552s # /tmp/tmp35txaakm/tmpnd6554db.h: 1552s # typedef enum _SomeEnumIdentifier { 1552s # ENUM_VALUE 1552s # } SomeEnumIdentifier; 1552s # 1552s # /tmp/tmp35txaakm/tmpqkqtsv80.template: 1552s # /*** BEGIN file-header ***/ 1552s # file-header 1552s # /*** END file-header ***/ 1552s # 1552s # /*** BEGIN file-production ***/ 1552s # file-production 1552s # filename: @filename@ 1552s # basename: @basename@ 1552s # /*** END file-production ***/ 1552s # 1552s # /*** BEGIN enumeration-production ***/ 1552s # enumeration-production 1552s # EnumName: @EnumName@ 1552s # enum_name: @enum_name@ 1552s # ENUMNAME: @ENUMNAME@ 1552s # ENUMSHORT: @ENUMSHORT@ 1552s # ENUMPREFIX: @ENUMPREFIX@ 1552s # enumsince: @enumsince@ 1552s # type: @type@ 1552s # Type: @Type@ 1552s # TYPE: @TYPE@ 1552s # /*** END enumeration-production ***/ 1552s # 1552s # /*** BEGIN value-header ***/ 1552s # value-header 1552s # EnumName: @EnumName@ 1552s # enum_name: @enum_name@ 1552s # ENUMNAME: @ENUMNAME@ 1552s # ENUMSHORT: @ENUMSHORT@ 1552s # ENUMPREFIX: @ENUMPREFIX@ 1552s # enumsince: @enumsince@ 1552s # type: @type@ 1552s # Type: @Type@ 1552s # TYPE: @TYPE@ 1552s # /*** END value-header ***/ 1552s # 1552s # /*** BEGIN value-production ***/ 1552s # value-production 1552s # VALUENAME: @VALUENAME@ 1552s # valuenick: @valuenick@ 1552s # valuenum: @valuenum@ 1552s # type: @type@ 1552s # Type: @Type@ 1552s # TYPE: @TYPE@ 1552s # /*** END value-production ***/ 1552s # 1552s # /*** BEGIN value-tail ***/ 1552s # value-tail 1552s # EnumName: @EnumName@ 1552s # enum_name: @enum_name@ 1552s # ENUMNAME: @ENUMNAME@ 1552s # ENUMSHORT: @ENUMSHORT@ 1552s # ENUMPREFIX: @ENUMPREFIX@ 1552s # enumsince: @enumsince@ 1552s # type: @type@ 1552s # Type: @Type@ 1552s # TYPE: @TYPE@ 1552s # /*** END value-tail ***/ 1552s # 1552s # /*** BEGIN comment ***/ 1552s # comment 1552s # comment: @comment@ 1552s # /*** END comment ***/ 1552s # 1552s # /*** BEGIN file-tail ***/ 1552s # file-tail 1552s # /*** END file-tail ***/ 1552s # 1552s # Response file contains: --template /tmp/tmp35txaakm/tmpqkqtsv80.template /tmp/tmp35txaakm/tmpnd6554db.h 1552s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmp35txaakm/tmpqpk7b1k_'] 1552s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-baqskmurxn,guid=fbaffe99d0ccb1f6e1beb84865fc01cd', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.YcZbqk/autopkgtest_tmp', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.YcZbqk/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.YcZbqk/autopkgtest_tmp', 'TERM': 'unknown', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.YcZbqk/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.sVTVMp0Db0', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.rqZsJO/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.YcZbqk/wrapper.sh --artifacts=/tmp/autopkgtest.YcZbqk/installed-tests-artifacts --chdir=/tmp/autopkgtest.YcZbqk/build.S0E/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.YcZbqk/installed-tests-stderr --stdout=/tmp/autopkgtest.YcZbqk/installed-tests-stdout --tmp=/tmp/autopkgtest.YcZbqk/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2' --make-executable=/tmp/autopkgtest.YcZbqk/build.S0E/src/debian/tests/installed-tests -- /tmp/autopkgtest.YcZbqk/build.S0E/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.YcZbqk/build.S0E/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.YcZbqk/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1552s # Output: comment 1552s # 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. 1552s # 1552s # 1552s # file-header 1552s # file-production 1552s # filename: /tmp/tmp35txaakm/tmpnd6554db.h 1552s # basename: tmpnd6554db.h 1552s # enumeration-production 1552s # EnumName: SomeEnumIdentifier 1552s # enum_name: some_enum_identifier 1552s # ENUMNAME: SOME_ENUM_IDENTIFIER 1552s # ENUMSHORT: ENUM_IDENTIFIER 1552s # ENUMPREFIX: SOME 1552s # enumsince: 1552s # type: enum 1552s # Type: Enum 1552s # TYPE: ENUM 1552s # value-header 1552s # EnumName: SomeEnumIdentifier 1552s # enum_name: some_enum_identifier 1552s # ENUMNAME: SOME_ENUM_IDENTIFIER 1552s # ENUMSHORT: ENUM_IDENTIFIER 1552s # ENUMPREFIX: SOME 1552s # enumsince: 1552s # type: enum 1552s # Type: Enum 1552s # TYPE: ENUM 1552s # value-production 1552s # VALUENAME: ENUM_VALUE 1552s # valuenick: value 1552s # valuenum: 0 1552s # type: enum 1552s # Type: Enum 1552s # TYPE: ENUM 1552s # value-tail 1552s # EnumName: SomeEnumIdentifier 1552s # enum_name: some_enum_identifier 1552s # ENUMNAME: SOME_ENUM_IDENTIFIER 1552s # ENUMSHORT: ENUM_IDENTIFIER 1552s # ENUMPREFIX: SOME 1552s # enumsince: 1552s # type: enum 1552s # Type: Enum 1552s # TYPE: ENUM 1552s # file-tail 1552s # 1552s # comment 1552s # comment: Generated data ends here 1552s ok 26 __main__.TestRspMkenums.test_enum_private_public 1552s # tmpdir: /tmp/tmpvu3t_2sa 1552s # rspfile: True, mkenums: /usr/bin/glib-mkenums 1552s # /tmp/tmpvu3t_2sa/tmpn8g7jhr2.h: 1552s # typedef enum { 1552s # ENUM_VALUE_PUBLIC1, 1552s # /*< private >*/ 1552s # ENUM_VALUE_PRIVATE, 1552s # } SomeEnumA 1552s # 1552s # /tmp/tmpvu3t_2sa/tmp_tamks3e.template: 1552s # /*** BEGIN file-header ***/ 1552s # file-header 1552s # /*** END file-header ***/ 1552s # 1552s # /*** BEGIN file-production ***/ 1552s # file-production 1552s # filename: @filename@ 1552s # basename: @basename@ 1552s # /*** END file-production ***/ 1552s # 1552s # /*** BEGIN enumeration-production ***/ 1552s # enumeration-production 1552s # EnumName: @EnumName@ 1552s # enum_name: @enum_name@ 1552s # ENUMNAME: @ENUMNAME@ 1552s # ENUMSHORT: @ENUMSHORT@ 1552s # ENUMPREFIX: @ENUMPREFIX@ 1552s # enumsince: @enumsince@ 1552s # type: @type@ 1552s # Type: @Type@ 1552s # TYPE: @TYPE@ 1552s # /*** END enumeration-production ***/ 1552s # 1552s # /*** BEGIN value-header ***/ 1552s # value-header 1552s # EnumName: @EnumName@ 1552s # enum_name: @enum_name@ 1552s # ENUMNAME: @ENUMNAME@ 1552s # ENUMSHORT: @ENUMSHORT@ 1552s # ENUMPREFIX: @ENUMPREFIX@ 1552s # enumsince: @enumsince@ 1552s # type: @type@ 1552s # Type: @Type@ 1552s # TYPE: @TYPE@ 1552s # /*** END value-header ***/ 1552s # 1552s # /*** BEGIN value-production ***/ 1552s # value-production 1552s # VALUENAME: @VALUENAME@ 1552s # valuenick: @valuenick@ 1552s # valuenum: @valuenum@ 1552s # type: @type@ 1552s # Type: @Type@ 1552s # TYPE: @TYPE@ 1552s # /*** END value-production ***/ 1552s # 1552s # /*** BEGIN value-tail ***/ 1552s # value-tail 1552s # EnumName: @EnumName@ 1552s # enum_name: @enum_name@ 1552s # ENUMNAME: @ENUMNAME@ 1552s # ENUMSHORT: @ENUMSHORT@ 1552s # ENUMPREFIX: @ENUMPREFIX@ 1552s # enumsince: @enumsince@ 1552s # type: @type@ 1552s # Type: @Type@ 1552s # TYPE: @TYPE@ 1552s # /*** END value-tail ***/ 1552s # 1552s # /*** BEGIN comment ***/ 1552s # comment 1552s # comment: @comment@ 1552s # /*** END comment ***/ 1552s # 1552s # /*** BEGIN file-tail ***/ 1552s # file-tail 1552s # /*** END file-tail ***/ 1552s # 1552s # Response file contains: --template /tmp/tmpvu3t_2sa/tmp_tamks3e.template /tmp/tmpvu3t_2sa/tmpn8g7jhr2.h 1552s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpvu3t_2sa/tmp1f7w5dxb'] 1552s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-baqskmurxn,guid=fbaffe99d0ccb1f6e1beb84865fc01cd', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.YcZbqk/autopkgtest_tmp', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.YcZbqk/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.YcZbqk/autopkgtest_tmp', 'TERM': 'unknown', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.YcZbqk/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.sVTVMp0Db0', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.rqZsJO/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.YcZbqk/wrapper.sh --artifacts=/tmp/autopkgtest.YcZbqk/installed-tests-artifacts --chdir=/tmp/autopkgtest.YcZbqk/build.S0E/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.YcZbqk/installed-tests-stderr --stdout=/tmp/autopkgtest.YcZbqk/installed-tests-stdout --tmp=/tmp/autopkgtest.YcZbqk/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2' --make-executable=/tmp/autopkgtest.YcZbqk/build.S0E/src/debian/tests/installed-tests -- /tmp/autopkgtest.YcZbqk/build.S0E/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.YcZbqk/build.S0E/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.YcZbqk/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1552s # Output: comment 1552s # 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. 1552s # 1552s # 1552s # file-header 1552s # file-production 1552s # filename: /tmp/tmpvu3t_2sa/tmpn8g7jhr2.h 1552s # basename: tmpn8g7jhr2.h 1552s # enumeration-production 1552s # EnumName: SomeEnumA 1552s # enum_name: some_enum_a 1552s # ENUMNAME: SOME_ENUM_A 1552s # ENUMSHORT: ENUM_A 1552s # ENUMPREFIX: SOME 1552s # enumsince: 1552s # type: enum 1552s # Type: Enum 1552s # TYPE: ENUM 1552s # value-header 1552s # EnumName: SomeEnumA 1552s # enum_name: some_enum_a 1552s # ENUMNAME: SOME_ENUM_A 1552s # ENUMSHORT: ENUM_A 1552s # ENUMPREFIX: SOME 1552s # enumsince: 1552s # type: enum 1552s # Type: Enum 1552s # TYPE: ENUM 1552s # value-production 1552s # VALUENAME: ENUM_VALUE_PUBLIC1 1552s # valuenick: public1 1552s # valuenum: 0 1552s # type: enum 1552s # Type: Enum 1552s # TYPE: ENUM 1552s # value-tail 1552s # EnumName: SomeEnumA 1552s # enum_name: some_enum_a 1552s # ENUMNAME: SOME_ENUM_A 1552s # ENUMSHORT: ENUM_A 1552s # ENUMPREFIX: SOME 1552s # enumsince: 1552s # type: enum 1552s # Type: Enum 1552s # TYPE: ENUM 1552s # file-tail 1552s # 1552s # comment 1552s # comment: Generated data ends here 1552s # /tmp/tmpvu3t_2sa/tmpzlg0yq7m.h: 1552s # typedef enum { 1552s # /*< private >*/ 1552s # ENUM_VALUE_PRIVATE, 1552s # /*< public >*/ 1552s # ENUM_VALUE_PUBLIC2, 1552s # } SomeEnumB; 1552s # 1552s # /tmp/tmpvu3t_2sa/tmpci_snusy.template: 1552s # /*** BEGIN file-header ***/ 1552s # file-header 1552s # /*** END file-header ***/ 1552s # 1552s # /*** BEGIN file-production ***/ 1552s # file-production 1552s # filename: @filename@ 1552s # basename: @basename@ 1552s # /*** END file-production ***/ 1552s # 1552s # /*** BEGIN enumeration-production ***/ 1552s # enumeration-production 1552s # EnumName: @EnumName@ 1552s # enum_name: @enum_name@ 1552s # ENUMNAME: @ENUMNAME@ 1552s # ENUMSHORT: @ENUMSHORT@ 1552s # ENUMPREFIX: @ENUMPREFIX@ 1552s # enumsince: @enumsince@ 1552s # type: @type@ 1552s # Type: @Type@ 1552s # TYPE: @TYPE@ 1552s # /*** END enumeration-production ***/ 1552s # 1552s # /*** BEGIN value-header ***/ 1552s # value-header 1552s # EnumName: @EnumName@ 1552s # enum_name: @enum_name@ 1552s # ENUMNAME: @ENUMNAME@ 1552s # ENUMSHORT: @ENUMSHORT@ 1552s # ENUMPREFIX: @ENUMPREFIX@ 1552s # enumsince: @enumsince@ 1552s # type: @type@ 1552s # Type: @Type@ 1552s # TYPE: @TYPE@ 1552s # /*** END value-header ***/ 1552s # 1552s # /*** BEGIN value-production ***/ 1552s # value-production 1552s # VALUENAME: @VALUENAME@ 1552s # valuenick: @valuenick@ 1552s # valuenum: @valuenum@ 1552s # type: @type@ 1552s # Type: @Type@ 1552s # TYPE: @TYPE@ 1552s # /*** END value-production ***/ 1552s # 1552s # /*** BEGIN value-tail ***/ 1552s # value-tail 1552s # EnumName: @EnumName@ 1552s # enum_name: @enum_name@ 1552s # ENUMNAME: @ENUMNAME@ 1552s # ENUMSHORT: @ENUMSHORT@ 1552s # ENUMPREFIX: @ENUMPREFIX@ 1552s # enumsince: @enumsince@ 1552s # type: @type@ 1552s # Type: @Type@ 1552s # TYPE: @TYPE@ 1552s # /*** END value-tail ***/ 1552s # 1552s # /*** BEGIN comment ***/ 1552s # comment 1552s # comment: @comment@ 1552s # /*** END comment ***/ 1552s # 1552s # /*** BEGIN file-tail ***/ 1552s # file-tail 1552s # /*** END file-tail ***/ 1552s # 1552s # Response file contains: --template /tmp/tmpvu3t_2sa/tmpci_snusy.template /tmp/tmpvu3t_2sa/tmpzlg0yq7m.h 1552s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpvu3t_2sa/tmp4w0c1ltq'] 1552s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-baqskmurxn,guid=fbaffe99d0ccb1f6e1beb84865fc01cd', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.YcZbqk/autopkgtest_tmp', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.YcZbqk/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.YcZbqk/autopkgtest_tmp', 'TERM': 'unknown', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.YcZbqk/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.sVTVMp0Db0', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.rqZsJO/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.YcZbqk/wrapper.sh --artifacts=/tmp/autopkgtest.YcZbqk/installed-tests-artifacts --chdir=/tmp/autopkgtest.YcZbqk/build.S0E/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.YcZbqk/installed-tests-stderr --stdout=/tmp/autopkgtest.YcZbqk/installed-tests-stdout --tmp=/tmp/autopkgtest.YcZbqk/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2' --make-executable=/tmp/autopkgtest.YcZbqk/build.S0E/src/debian/tests/installed-tests -- /tmp/autopkgtest.YcZbqk/build.S0E/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.YcZbqk/build.S0E/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.YcZbqk/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1552s # Output: comment 1552s # 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. 1552s # 1552s # 1552s # file-header 1552s # file-production 1552s # filename: /tmp/tmpvu3t_2sa/tmpzlg0yq7m.h 1552s # basename: tmpzlg0yq7m.h 1552s # enumeration-production 1552s # EnumName: SomeEnumB 1552s # enum_name: some_enum_b 1552s # ENUMNAME: SOME_ENUM_B 1552s # ENUMSHORT: ENUM_B 1552s # ENUMPREFIX: SOME 1552s # enumsince: 1552s # type: enum 1552s # Type: Enum 1552s # TYPE: ENUM 1552s # value-header 1552s # EnumName: SomeEnumB 1552s # enum_name: some_enum_b 1552s # ENUMNAME: SOME_ENUM_B 1552s # ENUMSHORT: ENUM_B 1552s # ENUMPREFIX: SOME 1552s # enumsince: 1552s # type: enum 1552s # Type: Enum 1552s # TYPE: ENUM 1552s # value-production 1552s # VALUENAME: ENUM_VALUE_PUBLIC2 1552s # valuenick: public2 1552s # valuenum: 1 1552s # type: enum 1552s # Type: Enum 1552s # TYPE: ENUM 1552s # value-tail 1552s # EnumName: SomeEnumB 1552s # enum_name: some_enum_b 1552s # ENUMNAME: SOME_ENUM_B 1552s # ENUMSHORT: ENUM_B 1552s # ENUMPREFIX: SOME 1552s # enumsince: 1552s # type: enum 1552s # Type: Enum 1552s # TYPE: ENUM 1552s # file-tail 1552s # 1552s # comment 1552s # comment: Generated data ends here 1553s ok 27 __main__.TestRspMkenums.test_enum_symbolic_expression 1553s # tmpdir: /tmp/tmpu9jmveir 1553s # rspfile: True, mkenums: /usr/bin/glib-mkenums 1553s # /tmp/tmpu9jmveir/tmp38sjz_9k.h: 1553s # typedef enum { 1553s # /*< private >*/ 1553s # ENUM_VALUE_PRIVATE = 5, 1553s # /*< public >*/ 1553s # ENUM_VALUE_PUBLIC = ENUM_VALUE_PRIVATE + 2, 1553s # } TestSymbolicEnum; 1553s # 1553s # /tmp/tmpu9jmveir/tmprro_ftid.template: 1553s # /*** BEGIN file-header ***/ 1553s # file-header 1553s # /*** END file-header ***/ 1553s # 1553s # /*** BEGIN file-production ***/ 1553s # file-production 1553s # filename: @filename@ 1553s # basename: @basename@ 1553s # /*** END file-production ***/ 1553s # 1553s # /*** BEGIN enumeration-production ***/ 1553s # enumeration-production 1553s # EnumName: @EnumName@ 1553s # enum_name: @enum_name@ 1553s # ENUMNAME: @ENUMNAME@ 1553s # ENUMSHORT: @ENUMSHORT@ 1553s # ENUMPREFIX: @ENUMPREFIX@ 1553s # enumsince: @enumsince@ 1553s # type: @type@ 1553s # Type: @Type@ 1553s # TYPE: @TYPE@ 1553s # /*** END enumeration-production ***/ 1553s # 1553s # /*** BEGIN value-header ***/ 1553s # value-header 1553s # EnumName: @EnumName@ 1553s # enum_name: @enum_name@ 1553s # ENUMNAME: @ENUMNAME@ 1553s # ENUMSHORT: @ENUMSHORT@ 1553s # ENUMPREFIX: @ENUMPREFIX@ 1553s # enumsince: @enumsince@ 1553s # type: @type@ 1553s # Type: @Type@ 1553s # TYPE: @TYPE@ 1553s # /*** END value-header ***/ 1553s # 1553s # /*** BEGIN value-production ***/ 1553s # value-production 1553s # VALUENAME: @VALUENAME@ 1553s # valuenick: @valuenick@ 1553s # valuenum: @valuenum@ 1553s # type: @type@ 1553s # Type: @Type@ 1553s # TYPE: @TYPE@ 1553s # /*** END value-production ***/ 1553s # 1553s # /*** BEGIN value-tail ***/ 1553s # value-tail 1553s # EnumName: @EnumName@ 1553s # enum_name: @enum_name@ 1553s # ENUMNAME: @ENUMNAME@ 1553s # ENUMSHORT: @ENUMSHORT@ 1553s # ENUMPREFIX: @ENUMPREFIX@ 1553s # enumsince: @enumsince@ 1553s # type: @type@ 1553s # Type: @Type@ 1553s # TYPE: @TYPE@ 1553s # /*** END value-tail ***/ 1553s # 1553s # /*** BEGIN comment ***/ 1553s # comment 1553s # comment: @comment@ 1553s # /*** END comment ***/ 1553s # 1553s # /*** BEGIN file-tail ***/ 1553s # file-tail 1553s # /*** END file-tail ***/ 1553s # 1553s # Response file contains: --template /tmp/tmpu9jmveir/tmprro_ftid.template /tmp/tmpu9jmveir/tmp38sjz_9k.h 1553s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpu9jmveir/tmp90d3qz7s'] 1553s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-baqskmurxn,guid=fbaffe99d0ccb1f6e1beb84865fc01cd', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.YcZbqk/autopkgtest_tmp', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.YcZbqk/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.YcZbqk/autopkgtest_tmp', 'TERM': 'unknown', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.YcZbqk/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.sVTVMp0Db0', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.rqZsJO/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.YcZbqk/wrapper.sh --artifacts=/tmp/autopkgtest.YcZbqk/installed-tests-artifacts --chdir=/tmp/autopkgtest.YcZbqk/build.S0E/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.YcZbqk/installed-tests-stderr --stdout=/tmp/autopkgtest.YcZbqk/installed-tests-stdout --tmp=/tmp/autopkgtest.YcZbqk/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2' --make-executable=/tmp/autopkgtest.YcZbqk/build.S0E/src/debian/tests/installed-tests -- /tmp/autopkgtest.YcZbqk/build.S0E/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.YcZbqk/build.S0E/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.YcZbqk/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1553s # Output: comment 1553s # 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. 1553s # 1553s # 1553s # file-header 1553s # file-production 1553s # filename: /tmp/tmpu9jmveir/tmp38sjz_9k.h 1553s # basename: tmp38sjz_9k.h 1553s # enumeration-production 1553s # EnumName: TestSymbolicEnum 1553s # enum_name: test_symbolic_enum 1553s # ENUMNAME: TEST_SYMBOLIC_ENUM 1553s # ENUMSHORT: SYMBOLIC_ENUM 1553s # ENUMPREFIX: TEST 1553s # enumsince: 1553s # type: enum 1553s # Type: Enum 1553s # TYPE: ENUM 1553s # value-header 1553s # EnumName: TestSymbolicEnum 1553s # enum_name: test_symbolic_enum 1553s # ENUMNAME: TEST_SYMBOLIC_ENUM 1553s # ENUMSHORT: SYMBOLIC_ENUM 1553s # ENUMPREFIX: TEST 1553s # enumsince: 1553s # type: enum 1553s # Type: Enum 1553s # TYPE: ENUM 1553s # value-production 1553s # VALUENAME: ENUM_VALUE_PUBLIC 1553s # valuenick: public 1553s # valuenum: 7 1553s # type: enum 1553s # Type: Enum 1553s # TYPE: ENUM 1553s # value-tail 1553s # EnumName: TestSymbolicEnum 1553s # enum_name: test_symbolic_enum 1553s # ENUMNAME: TEST_SYMBOLIC_ENUM 1553s # ENUMSHORT: SYMBOLIC_ENUM 1553s # ENUMPREFIX: TEST 1553s # enumsince: 1553s # type: enum 1553s # Type: Enum 1553s # TYPE: ENUM 1553s # file-tail 1553s # 1553s # comment 1553s # comment: Generated data ends here 1553s ok 28 __main__.TestRspMkenums.test_filename_basename_in_fhead_ftail 1553s # tmpdir: /tmp/tmp2iups3h5 1553s # rspfile: True, mkenums: /usr/bin/glib-mkenums 1553s # /tmp/tmp2iups3h5/tmpxc870oc0.template: 1553s # /*** BEGIN file-header ***/ 1553s # file-header 1553s # filename: @filename@ 1553s # basename: @basename@ 1553s # /*** END file-header ***/ 1553s # 1553s # /*** BEGIN comment ***/ 1553s # comment 1553s # comment: @comment@ 1553s # /*** END comment ***/ 1553s # 1553s # /*** BEGIN file-tail ***/ 1553s # file-tail 1553s # filename: @filename@ 1553s # basename: @basename@ 1553s # /*** END file-tail ***/ 1553s # Response file contains: --template /tmp/tmp2iups3h5/tmpxc870oc0.template 1553s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmp2iups3h5/tmpqbp8pj2w'] 1553s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-baqskmurxn,guid=fbaffe99d0ccb1f6e1beb84865fc01cd', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.YcZbqk/autopkgtest_tmp', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.YcZbqk/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.YcZbqk/autopkgtest_tmp', 'TERM': 'unknown', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.YcZbqk/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.sVTVMp0Db0', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.rqZsJO/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.YcZbqk/wrapper.sh --artifacts=/tmp/autopkgtest.YcZbqk/installed-tests-artifacts --chdir=/tmp/autopkgtest.YcZbqk/build.S0E/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.YcZbqk/installed-tests-stderr --stdout=/tmp/autopkgtest.YcZbqk/installed-tests-stdout --tmp=/tmp/autopkgtest.YcZbqk/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2' --make-executable=/tmp/autopkgtest.YcZbqk/build.S0E/src/debian/tests/installed-tests -- /tmp/autopkgtest.YcZbqk/build.S0E/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.YcZbqk/build.S0E/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.YcZbqk/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1553s # Output: comment 1553s # 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. 1553s # 1553s # 1553s # file-header 1553s # filename: @filename@ 1553s # basename: @basename@ 1553s # file-tail 1553s # filename: @filename@ 1553s # basename: @basename@ 1553s # 1553s # comment 1553s # comment: Generated data ends here 1553s ok 29 __main__.TestRspMkenums.test_help 1553s # tmpdir: /tmp/tmpjnprz0mu 1553s # rspfile: True, mkenums: /usr/bin/glib-mkenums 1553s # Response file contains: --help 1553s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpjnprz0mu/tmp2azdigmj'] 1553s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-baqskmurxn,guid=fbaffe99d0ccb1f6e1beb84865fc01cd', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.YcZbqk/autopkgtest_tmp', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.YcZbqk/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.YcZbqk/autopkgtest_tmp', 'TERM': 'unknown', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.YcZbqk/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.sVTVMp0Db0', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.rqZsJO/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.YcZbqk/wrapper.sh --artifacts=/tmp/autopkgtest.YcZbqk/installed-tests-artifacts --chdir=/tmp/autopkgtest.YcZbqk/build.S0E/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.YcZbqk/installed-tests-stderr --stdout=/tmp/autopkgtest.YcZbqk/installed-tests-stdout --tmp=/tmp/autopkgtest.YcZbqk/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2' --make-executable=/tmp/autopkgtest.YcZbqk/build.S0E/src/debian/tests/installed-tests -- /tmp/autopkgtest.YcZbqk/build.S0E/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.YcZbqk/build.S0E/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.YcZbqk/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1553s # Output: usage: glib-mkenums [-h] [--identifier-prefix IDPREFIX] 1553s # [--symbol-prefix SYMPREFIX] [--fhead FHEAD] 1553s # [--ftail FTAIL] [--fprod FPROD] [--eprod EPROD] 1553s # [--vhead VHEAD] [--vprod VPROD] [--vtail VTAIL] 1553s # [--comments COMMENT_TMPL] [--template TEMPLATE] 1553s # [--output OUTPUT] [--version] 1553s # [args ...] 1553s # 1553s # positional arguments: 1553s # args One or more input files, or a single argument 1553s # @rspfile_path pointing to a file that contains the 1553s # actual arguments 1553s # 1553s # options: 1553s # -h, --help show this help message and exit 1553s # --identifier-prefix IDPREFIX 1553s # Identifier prefix 1553s # --symbol-prefix SYMPREFIX 1553s # Symbol prefix 1553s # --fhead FHEAD Output file header 1553s # --ftail FTAIL Output file footer 1553s # --fprod FPROD Put out TEXT every time a new input file is being 1553s # processed. 1553s # --eprod EPROD Per enum text, produced prior to value iterations 1553s # --vhead VHEAD Value header, produced before iterating over enum 1553s # values 1553s # --vprod VPROD Value text, produced for each enum value. 1553s # --vtail VTAIL Value tail, produced after iterating over enum values 1553s # --comments COMMENT_TMPL 1553s # Comment structure 1553s # --template TEMPLATE Template file 1553s # --output OUTPUT 1553s # --version, -v Print version information 1553s # 1553s # Production text substitutions: 1553s # @EnumName@ PrefixTheXEnum 1553s # @enum_name@ prefix_the_xenum 1553s # @ENUMNAME@ PREFIX_THE_XENUM 1553s # @ENUMSHORT@ THE_XENUM 1553s # @ENUMPREFIX@ PREFIX 1553s # @enumsince@ the user-provided since value given 1553s # @VALUENAME@ PREFIX_THE_XVALUE 1553s # @valuenick@ the-xvalue 1553s # @valuenum@ the integer value (limited support, Since: 2.26) 1553s # @type@ either enum or flags 1553s # @Type@ either Enum or Flags 1553s # @TYPE@ either ENUM or FLAGS 1553s # @filename@ name of current input file 1553s # @basename@ base name of the current input file (Since: 2.22) 1553s ok 30 __main__.TestRspMkenums.test_no_args 1553s # tmpdir: /tmp/tmpvx_xhsdx 1553s # rspfile: True, mkenums: /usr/bin/glib-mkenums 1553s # Response file contains: 1553s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpvx_xhsdx/tmpk49wqzwf'] 1553s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-baqskmurxn,guid=fbaffe99d0ccb1f6e1beb84865fc01cd', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.YcZbqk/autopkgtest_tmp', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.YcZbqk/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.YcZbqk/autopkgtest_tmp', 'TERM': 'unknown', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.YcZbqk/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.sVTVMp0Db0', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.rqZsJO/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.YcZbqk/wrapper.sh --artifacts=/tmp/autopkgtest.YcZbqk/installed-tests-artifacts --chdir=/tmp/autopkgtest.YcZbqk/build.S0E/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.YcZbqk/installed-tests-stderr --stdout=/tmp/autopkgtest.YcZbqk/installed-tests-stdout --tmp=/tmp/autopkgtest.YcZbqk/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2' --make-executable=/tmp/autopkgtest.YcZbqk/build.S0E/src/debian/tests/installed-tests -- /tmp/autopkgtest.YcZbqk/build.S0E/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.YcZbqk/build.S0E/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.YcZbqk/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1553s # 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. */ 1553s # 1553s # 1553s # /* Generated data ends here */ 1553s ok 31 __main__.TestRspMkenums.test_no_headers 1553s # tmpdir: /tmp/tmpmsskcici 1553s # rspfile: True, mkenums: /usr/bin/glib-mkenums 1553s # /tmp/tmpmsskcici/tmpahsgfr06.template: 1553s # /*** BEGIN file-header ***/ 1553s # file-header 1553s # /*** END file-header ***/ 1553s # 1553s # /*** BEGIN file-production ***/ 1553s # file-production 1553s # filename: @filename@ 1553s # basename: @basename@ 1553s # /*** END file-production ***/ 1553s # 1553s # /*** BEGIN enumeration-production ***/ 1553s # enumeration-production 1553s # EnumName: @EnumName@ 1553s # enum_name: @enum_name@ 1553s # ENUMNAME: @ENUMNAME@ 1553s # ENUMSHORT: @ENUMSHORT@ 1553s # ENUMPREFIX: @ENUMPREFIX@ 1553s # enumsince: @enumsince@ 1553s # type: @type@ 1553s # Type: @Type@ 1553s # TYPE: @TYPE@ 1553s # /*** END enumeration-production ***/ 1553s # 1553s # /*** BEGIN value-header ***/ 1553s # value-header 1553s # EnumName: @EnumName@ 1553s # enum_name: @enum_name@ 1553s # ENUMNAME: @ENUMNAME@ 1553s # ENUMSHORT: @ENUMSHORT@ 1553s # ENUMPREFIX: @ENUMPREFIX@ 1553s # enumsince: @enumsince@ 1553s # type: @type@ 1553s # Type: @Type@ 1553s # TYPE: @TYPE@ 1553s # /*** END value-header ***/ 1553s # 1553s # /*** BEGIN value-production ***/ 1553s # value-production 1553s # VALUENAME: @VALUENAME@ 1553s # valuenick: @valuenick@ 1553s # valuenum: @valuenum@ 1553s # type: @type@ 1553s # Type: @Type@ 1553s # TYPE: @TYPE@ 1553s # /*** END value-production ***/ 1553s # 1553s # /*** BEGIN value-tail ***/ 1553s # value-tail 1553s # EnumName: @EnumName@ 1553s # enum_name: @enum_name@ 1553s # ENUMNAME: @ENUMNAME@ 1553s # ENUMSHORT: @ENUMSHORT@ 1553s # ENUMPREFIX: @ENUMPREFIX@ 1553s # enumsince: @enumsince@ 1553s # type: @type@ 1553s # Type: @Type@ 1553s # TYPE: @TYPE@ 1553s # /*** END value-tail ***/ 1553s # 1553s # /*** BEGIN comment ***/ 1553s # comment 1553s # comment: @comment@ 1553s # /*** END comment ***/ 1553s # 1553s # /*** BEGIN file-tail ***/ 1553s # file-tail 1553s # /*** END file-tail ***/ 1553s # 1553s # Response file contains: --template /tmp/tmpmsskcici/tmpahsgfr06.template 1553s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpmsskcici/tmpglic8mol'] 1553s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-baqskmurxn,guid=fbaffe99d0ccb1f6e1beb84865fc01cd', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.YcZbqk/autopkgtest_tmp', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.YcZbqk/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.YcZbqk/autopkgtest_tmp', 'TERM': 'unknown', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.YcZbqk/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.sVTVMp0Db0', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.rqZsJO/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.YcZbqk/wrapper.sh --artifacts=/tmp/autopkgtest.YcZbqk/installed-tests-artifacts --chdir=/tmp/autopkgtest.YcZbqk/build.S0E/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.YcZbqk/installed-tests-stderr --stdout=/tmp/autopkgtest.YcZbqk/installed-tests-stdout --tmp=/tmp/autopkgtest.YcZbqk/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2' --make-executable=/tmp/autopkgtest.YcZbqk/build.S0E/src/debian/tests/installed-tests -- /tmp/autopkgtest.YcZbqk/build.S0E/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.YcZbqk/build.S0E/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.YcZbqk/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1553s # Output: comment 1553s # 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. 1553s # 1553s # 1553s # file-header 1553s # file-tail 1553s # 1553s # comment 1553s # comment: Generated data ends here 1553s ok 32 __main__.TestRspMkenums.test_no_nick 1553s # tmpdir: /tmp/tmpqlvfgwdb 1553s # rspfile: True, mkenums: /usr/bin/glib-mkenums 1553s # /tmp/tmpqlvfgwdb/tmpd35f84fm.h: 1553s # typedef enum { 1553s # GEGL_SAMPLER_NEAREST = 0, /*< desc="nearest" >*/ 1553s # } GeglSamplerType; 1553s # 1553s # /tmp/tmpqlvfgwdb/tmpdf83w_vj.template: 1553s # /*** BEGIN file-header ***/ 1553s # file-header 1553s # /*** END file-header ***/ 1553s # 1553s # /*** BEGIN file-production ***/ 1553s # file-production 1553s # filename: @filename@ 1553s # basename: @basename@ 1553s # /*** END file-production ***/ 1553s # 1553s # /*** BEGIN enumeration-production ***/ 1553s # enumeration-production 1553s # EnumName: @EnumName@ 1553s # enum_name: @enum_name@ 1553s # ENUMNAME: @ENUMNAME@ 1553s # ENUMSHORT: @ENUMSHORT@ 1553s # ENUMPREFIX: @ENUMPREFIX@ 1553s # enumsince: @enumsince@ 1553s # type: @type@ 1553s # Type: @Type@ 1553s # TYPE: @TYPE@ 1553s # /*** END enumeration-production ***/ 1553s # 1553s # /*** BEGIN value-header ***/ 1553s # value-header 1553s # EnumName: @EnumName@ 1553s # enum_name: @enum_name@ 1553s # ENUMNAME: @ENUMNAME@ 1553s # ENUMSHORT: @ENUMSHORT@ 1553s # ENUMPREFIX: @ENUMPREFIX@ 1553s # enumsince: @enumsince@ 1553s # type: @type@ 1553s # Type: @Type@ 1553s # TYPE: @TYPE@ 1553s # /*** END value-header ***/ 1553s # 1553s # /*** BEGIN value-production ***/ 1553s # value-production 1553s # VALUENAME: @VALUENAME@ 1553s # valuenick: @valuenick@ 1553s # valuenum: @valuenum@ 1553s # type: @type@ 1553s # Type: @Type@ 1553s # TYPE: @TYPE@ 1553s # /*** END value-production ***/ 1553s # 1553s # /*** BEGIN value-tail ***/ 1553s # value-tail 1553s # EnumName: @EnumName@ 1553s # enum_name: @enum_name@ 1553s # ENUMNAME: @ENUMNAME@ 1553s # ENUMSHORT: @ENUMSHORT@ 1553s # ENUMPREFIX: @ENUMPREFIX@ 1553s # enumsince: @enumsince@ 1553s # type: @type@ 1553s # Type: @Type@ 1553s # TYPE: @TYPE@ 1553s # /*** END value-tail ***/ 1553s # 1553s # /*** BEGIN comment ***/ 1553s # comment 1553s # comment: @comment@ 1553s # /*** END comment ***/ 1553s # 1553s # /*** BEGIN file-tail ***/ 1553s # file-tail 1553s # /*** END file-tail ***/ 1553s # 1553s # Response file contains: --template /tmp/tmpqlvfgwdb/tmpdf83w_vj.template /tmp/tmpqlvfgwdb/tmpd35f84fm.h 1553s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpqlvfgwdb/tmpg7vf5n4k'] 1553s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-baqskmurxn,guid=fbaffe99d0ccb1f6e1beb84865fc01cd', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.YcZbqk/autopkgtest_tmp', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.YcZbqk/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.YcZbqk/autopkgtest_tmp', 'TERM': 'unknown', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.YcZbqk/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.sVTVMp0Db0', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.rqZsJO/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.YcZbqk/wrapper.sh --artifacts=/tmp/autopkgtest.YcZbqk/installed-tests-artifacts --chdir=/tmp/autopkgtest.YcZbqk/build.S0E/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.YcZbqk/installed-tests-stderr --stdout=/tmp/autopkgtest.YcZbqk/installed-tests-stdout --tmp=/tmp/autopkgtest.YcZbqk/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2' --make-executable=/tmp/autopkgtest.YcZbqk/build.S0E/src/debian/tests/installed-tests -- /tmp/autopkgtest.YcZbqk/build.S0E/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.YcZbqk/build.S0E/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.YcZbqk/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1553s # Output: comment 1553s # 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. 1553s # 1553s # 1553s # file-header 1553s # file-production 1553s # filename: /tmp/tmpqlvfgwdb/tmpd35f84fm.h 1553s # basename: tmpd35f84fm.h 1553s # enumeration-production 1553s # EnumName: GeglSamplerType 1553s # enum_name: gegl_sampler_type 1553s # ENUMNAME: GEGL_SAMPLER_TYPE 1553s # ENUMSHORT: SAMPLER_TYPE 1553s # ENUMPREFIX: GEGL 1553s # enumsince: 1553s # type: enum 1553s # Type: Enum 1553s # TYPE: ENUM 1553s # value-header 1553s # EnumName: GeglSamplerType 1553s # enum_name: gegl_sampler_type 1553s # ENUMNAME: GEGL_SAMPLER_TYPE 1553s # ENUMSHORT: SAMPLER_TYPE 1553s # ENUMPREFIX: GEGL 1553s # enumsince: 1553s # type: enum 1553s # Type: Enum 1553s # TYPE: ENUM 1553s # value-production 1553s # VALUENAME: GEGL_SAMPLER_NEAREST 1553s # valuenick: nearest 1553s # valuenum: 0 1553s # type: enum 1553s # Type: Enum 1553s # TYPE: ENUM 1553s # value-tail 1553s # EnumName: GeglSamplerType 1553s # enum_name: gegl_sampler_type 1553s # ENUMNAME: GEGL_SAMPLER_TYPE 1553s # ENUMSHORT: SAMPLER_TYPE 1553s # ENUMPREFIX: GEGL 1553s # enumsince: 1553s # type: enum 1553s # Type: Enum 1553s # TYPE: ENUM 1553s # file-tail 1553s # 1553s # comment 1553s # comment: Generated data ends here 1553s ok 33 __main__.TestRspMkenums.test_non_utf8_encoding 1553s # tmpdir: /tmp/tmpz645qxya 1553s # rspfile: True, mkenums: /usr/bin/glib-mkenums 1553s # /tmp/tmpz645qxya/tmpo4x4nh3x.h: 1553s # /* Copyright © La Peña */ 1553s # typedef enum { 1553s # ENUM_VALUE 1553s # } SomeEnumIdentifier; 1553s # 1553s # /tmp/tmpz645qxya/tmpd77p6dr8.template: 1553s # /*** BEGIN file-header ***/ 1553s # file-header 1553s # /*** END file-header ***/ 1553s # 1553s # /*** BEGIN file-production ***/ 1553s # file-production 1553s # filename: @filename@ 1553s # basename: @basename@ 1553s # /*** END file-production ***/ 1553s # 1553s # /*** BEGIN enumeration-production ***/ 1553s # enumeration-production 1553s # EnumName: @EnumName@ 1553s # enum_name: @enum_name@ 1553s # ENUMNAME: @ENUMNAME@ 1553s # ENUMSHORT: @ENUMSHORT@ 1553s # ENUMPREFIX: @ENUMPREFIX@ 1553s # enumsince: @enumsince@ 1553s # type: @type@ 1553s # Type: @Type@ 1553s # TYPE: @TYPE@ 1553s # /*** END enumeration-production ***/ 1553s # 1553s # /*** BEGIN value-header ***/ 1553s # value-header 1553s # EnumName: @EnumName@ 1553s # enum_name: @enum_name@ 1553s # ENUMNAME: @ENUMNAME@ 1553s # ENUMSHORT: @ENUMSHORT@ 1553s # ENUMPREFIX: @ENUMPREFIX@ 1553s # enumsince: @enumsince@ 1553s # type: @type@ 1553s # Type: @Type@ 1553s # TYPE: @TYPE@ 1553s # /*** END value-header ***/ 1553s # 1553s # /*** BEGIN value-production ***/ 1553s # value-production 1553s # VALUENAME: @VALUENAME@ 1553s # valuenick: @valuenick@ 1553s # valuenum: @valuenum@ 1553s # type: @type@ 1553s # Type: @Type@ 1553s # TYPE: @TYPE@ 1553s # /*** END value-production ***/ 1553s # 1553s # /*** BEGIN value-tail ***/ 1553s # value-tail 1553s # EnumName: @EnumName@ 1553s # enum_name: @enum_name@ 1553s # ENUMNAME: @ENUMNAME@ 1553s # ENUMSHORT: @ENUMSHORT@ 1553s # ENUMPREFIX: @ENUMPREFIX@ 1553s # enumsince: @enumsince@ 1553s # type: @type@ 1553s # Type: @Type@ 1553s # TYPE: @TYPE@ 1553s # /*** END value-tail ***/ 1553s # 1553s # /*** BEGIN comment ***/ 1553s # comment 1553s # comment: @comment@ 1553s # /*** END comment ***/ 1553s # 1553s # /*** BEGIN file-tail ***/ 1553s # file-tail 1553s # /*** END file-tail ***/ 1553s # 1553s # Response file contains: --template /tmp/tmpz645qxya/tmpd77p6dr8.template /tmp/tmpz645qxya/tmpo4x4nh3x.h 1553s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpz645qxya/tmpkyxq0imh'] 1553s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-baqskmurxn,guid=fbaffe99d0ccb1f6e1beb84865fc01cd', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.YcZbqk/autopkgtest_tmp', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.YcZbqk/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.YcZbqk/autopkgtest_tmp', 'TERM': 'unknown', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.YcZbqk/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.sVTVMp0Db0', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.rqZsJO/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.YcZbqk/wrapper.sh --artifacts=/tmp/autopkgtest.YcZbqk/installed-tests-artifacts --chdir=/tmp/autopkgtest.YcZbqk/build.S0E/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.YcZbqk/installed-tests-stderr --stdout=/tmp/autopkgtest.YcZbqk/installed-tests-stdout --tmp=/tmp/autopkgtest.YcZbqk/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2' --make-executable=/tmp/autopkgtest.YcZbqk/build.S0E/src/debian/tests/installed-tests -- /tmp/autopkgtest.YcZbqk/build.S0E/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.YcZbqk/build.S0E/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.YcZbqk/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1553s # Output: comment 1553s # 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. 1553s # 1553s # 1553s # file-header 1553s # file-production 1553s # filename: /tmp/tmpz645qxya/tmpo4x4nh3x.h 1553s # basename: tmpo4x4nh3x.h 1553s # enumeration-production 1553s # EnumName: SomeEnumIdentifier 1553s # enum_name: some_enum_identifier 1553s # ENUMNAME: SOME_ENUM_IDENTIFIER 1553s # ENUMSHORT: ENUM_IDENTIFIER 1553s # ENUMPREFIX: SOME 1553s # enumsince: 1553s # type: enum 1553s # Type: Enum 1553s # TYPE: ENUM 1553s # value-header 1553s # EnumName: SomeEnumIdentifier 1553s # enum_name: some_enum_identifier 1553s # ENUMNAME: SOME_ENUM_IDENTIFIER 1553s # ENUMSHORT: ENUM_IDENTIFIER 1553s # ENUMPREFIX: SOME 1553s # enumsince: 1553s # type: enum 1553s # Type: Enum 1553s # TYPE: ENUM 1553s # value-production 1553s # VALUENAME: ENUM_VALUE 1553s # valuenick: value 1553s # valuenum: 0 1553s # type: enum 1553s # Type: Enum 1553s # TYPE: ENUM 1553s # value-tail 1553s # EnumName: SomeEnumIdentifier 1553s # enum_name: some_enum_identifier 1553s # ENUMNAME: SOME_ENUM_IDENTIFIER 1553s # ENUMSHORT: ENUM_IDENTIFIER 1553s # ENUMPREFIX: SOME 1553s # enumsince: 1553s # type: enum 1553s # Type: Enum 1553s # TYPE: ENUM 1553s # file-tail 1553s # 1553s # comment 1553s # comment: Generated data ends here 1553s ok 34 __main__.TestRspMkenums.test_reproducible 1553s # tmpdir: /tmp/tmphoegtpy_ 1553s # rspfile: True, mkenums: /usr/bin/glib-mkenums 1553s # /tmp/tmphoegtpy_/tmprfd8tjhd.template: template 1553s # Response file contains: --template /tmp/tmphoegtpy_/tmprfd8tjhd.template /tmp/tmphoegtpy_/tmp9rjh0ldj1.h /tmp/tmphoegtpy_/tmpuxp18gek2.h 1553s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmphoegtpy_/tmp_swi61en'] 1553s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-baqskmurxn,guid=fbaffe99d0ccb1f6e1beb84865fc01cd', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.YcZbqk/autopkgtest_tmp', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.YcZbqk/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.YcZbqk/autopkgtest_tmp', 'TERM': 'unknown', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.YcZbqk/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.sVTVMp0Db0', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.rqZsJO/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.YcZbqk/wrapper.sh --artifacts=/tmp/autopkgtest.YcZbqk/installed-tests-artifacts --chdir=/tmp/autopkgtest.YcZbqk/build.S0E/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.YcZbqk/installed-tests-stderr --stdout=/tmp/autopkgtest.YcZbqk/installed-tests-stdout --tmp=/tmp/autopkgtest.YcZbqk/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2' --make-executable=/tmp/autopkgtest.YcZbqk/build.S0E/src/debian/tests/installed-tests -- /tmp/autopkgtest.YcZbqk/build.S0E/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.YcZbqk/build.S0E/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.YcZbqk/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1553s # 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. */ 1553s # 1553s # 1553s # /* Generated data ends here */ 1553s # /tmp/tmphoegtpy_/tmpe6n0o1i6.template: template 1553s # Response file contains: --template /tmp/tmphoegtpy_/tmpe6n0o1i6.template /tmp/tmphoegtpy_/tmpuxp18gek2.h /tmp/tmphoegtpy_/tmp9rjh0ldj1.h 1553s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmphoegtpy_/tmpi6zpm1mm'] 1553s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-baqskmurxn,guid=fbaffe99d0ccb1f6e1beb84865fc01cd', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.YcZbqk/autopkgtest_tmp', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.YcZbqk/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.YcZbqk/autopkgtest_tmp', 'TERM': 'unknown', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.YcZbqk/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.sVTVMp0Db0', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.rqZsJO/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.YcZbqk/wrapper.sh --artifacts=/tmp/autopkgtest.YcZbqk/installed-tests-artifacts --chdir=/tmp/autopkgtest.YcZbqk/build.S0E/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.YcZbqk/installed-tests-stderr --stdout=/tmp/autopkgtest.YcZbqk/installed-tests-stdout --tmp=/tmp/autopkgtest.YcZbqk/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2' --make-executable=/tmp/autopkgtest.YcZbqk/build.S0E/src/debian/tests/installed-tests -- /tmp/autopkgtest.YcZbqk/build.S0E/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.YcZbqk/build.S0E/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.YcZbqk/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1553s # 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. */ 1553s # 1553s # 1553s # /* Generated data ends here */ 1553s ok 35 __main__.TestRspMkenums.test_since 1553s # tmpdir: /tmp/tmp9lg5q_e8 1553s # rspfile: True, mkenums: /usr/bin/glib-mkenums 1553s # /tmp/tmp9lg5q_e8/tmp3esuxxuv.h: 1553s # typedef enum { /*< since=1.0 >*/ 1553s # QMI_WMS_MESSAGE_PROTOCOL_CDMA = 0, 1553s # } QmiWmsMessageProtocol; 1553s # 1553s # /tmp/tmp9lg5q_e8/tmpjrsvtynr.template: 1553s # /*** BEGIN file-header ***/ 1553s # file-header 1553s # /*** END file-header ***/ 1553s # 1553s # /*** BEGIN file-production ***/ 1553s # file-production 1553s # filename: @filename@ 1553s # basename: @basename@ 1553s # /*** END file-production ***/ 1553s # 1553s # /*** BEGIN enumeration-production ***/ 1553s # enumeration-production 1553s # EnumName: @EnumName@ 1553s # enum_name: @enum_name@ 1553s # ENUMNAME: @ENUMNAME@ 1553s # ENUMSHORT: @ENUMSHORT@ 1553s # ENUMPREFIX: @ENUMPREFIX@ 1553s # enumsince: @enumsince@ 1553s # type: @type@ 1553s # Type: @Type@ 1553s # TYPE: @TYPE@ 1553s # /*** END enumeration-production ***/ 1553s # 1553s # /*** BEGIN value-header ***/ 1553s # value-header 1553s # EnumName: @EnumName@ 1553s # enum_name: @enum_name@ 1553s # ENUMNAME: @ENUMNAME@ 1553s # ENUMSHORT: @ENUMSHORT@ 1553s # ENUMPREFIX: @ENUMPREFIX@ 1553s # enumsince: @enumsince@ 1553s # type: @type@ 1553s # Type: @Type@ 1553s # TYPE: @TYPE@ 1553s # /*** END value-header ***/ 1553s # 1553s # /*** BEGIN value-production ***/ 1553s # value-production 1553s # VALUENAME: @VALUENAME@ 1553s # valuenick: @valuenick@ 1553s # valuenum: @valuenum@ 1553s # type: @type@ 1553s # Type: @Type@ 1553s # TYPE: @TYPE@ 1553s # /*** END value-production ***/ 1553s # 1553s # /*** BEGIN value-tail ***/ 1553s # value-tail 1553s # EnumName: @EnumName@ 1553s # enum_name: @enum_name@ 1553s # ENUMNAME: @ENUMNAME@ 1553s # ENUMSHORT: @ENUMSHORT@ 1553s # ENUMPREFIX: @ENUMPREFIX@ 1553s # enumsince: @enumsince@ 1553s # type: @type@ 1553s # Type: @Type@ 1553s # TYPE: @TYPE@ 1553s # /*** END value-tail ***/ 1553s # 1553s # /*** BEGIN comment ***/ 1553s # comment 1553s # comment: @comment@ 1553s # /*** END comment ***/ 1553s # 1553s # /*** BEGIN file-tail ***/ 1553s # file-tail 1553s # /*** END file-tail ***/ 1553s # 1553s # Response file contains: --template /tmp/tmp9lg5q_e8/tmpjrsvtynr.template /tmp/tmp9lg5q_e8/tmp3esuxxuv.h 1553s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmp9lg5q_e8/tmp8aukk5as'] 1553s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-baqskmurxn,guid=fbaffe99d0ccb1f6e1beb84865fc01cd', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.YcZbqk/autopkgtest_tmp', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.YcZbqk/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.YcZbqk/autopkgtest_tmp', 'TERM': 'unknown', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.YcZbqk/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.sVTVMp0Db0', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.rqZsJO/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.YcZbqk/wrapper.sh --artifacts=/tmp/autopkgtest.YcZbqk/installed-tests-artifacts --chdir=/tmp/autopkgtest.YcZbqk/build.S0E/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.YcZbqk/installed-tests-stderr --stdout=/tmp/autopkgtest.YcZbqk/installed-tests-stdout --tmp=/tmp/autopkgtest.YcZbqk/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2' --make-executable=/tmp/autopkgtest.YcZbqk/build.S0E/src/debian/tests/installed-tests -- /tmp/autopkgtest.YcZbqk/build.S0E/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.YcZbqk/build.S0E/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.YcZbqk/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1553s # Output: comment 1553s # 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. 1553s # 1553s # 1553s # file-header 1553s # file-production 1553s # filename: /tmp/tmp9lg5q_e8/tmp3esuxxuv.h 1553s # basename: tmp3esuxxuv.h 1553s # enumeration-production 1553s # EnumName: QmiWmsMessageProtocol 1553s # enum_name: qmi_wms_message_protocol 1553s # ENUMNAME: QMI_WMS_MESSAGE_PROTOCOL 1553s # ENUMSHORT: WMS_MESSAGE_PROTOCOL 1553s # ENUMPREFIX: QMI 1553s # enumsince: 1.0 1553s # type: enum 1553s # Type: Enum 1553s # TYPE: ENUM 1553s # value-header 1553s # EnumName: QmiWmsMessageProtocol 1553s # enum_name: qmi_wms_message_protocol 1553s # ENUMNAME: QMI_WMS_MESSAGE_PROTOCOL 1553s # ENUMSHORT: WMS_MESSAGE_PROTOCOL 1553s # ENUMPREFIX: QMI 1553s # enumsince: 1.0 1553s # type: enum 1553s # Type: Enum 1553s # TYPE: ENUM 1553s # value-production 1553s # VALUENAME: QMI_WMS_MESSAGE_PROTOCOL_CDMA 1553s # valuenick: cdma 1553s # valuenum: 0 1553s # type: enum 1553s # Type: Enum 1553s # TYPE: ENUM 1553s # value-tail 1553s # EnumName: QmiWmsMessageProtocol 1553s # enum_name: qmi_wms_message_protocol 1553s # ENUMNAME: QMI_WMS_MESSAGE_PROTOCOL 1553s # ENUMSHORT: WMS_MESSAGE_PROTOCOL 1553s # ENUMPREFIX: QMI 1553s # enumsince: 1.0 1553s # type: enum 1553s # Type: Enum 1553s # TYPE: ENUM 1553s # file-tail 1553s # 1553s # comment 1553s # comment: Generated data ends here 1553s ok 36 __main__.TestRspMkenums.test_with_double_quotes 1553s # tmpdir: /tmp/tmpxkyq50q5 1553s # rspfile: True, mkenums: /usr/bin/glib-mkenums 1553s # /tmp/tmpxkyq50q5/tmpdppnzals.h: 1553s # typedef enum { 1553s # FOO_VALUE /*< nick="eek, a comma" >*/ 1553s # } Foo; 1553s # 1553s # /tmp/tmpxkyq50q5/tmptfe5m7a_.template: 1553s # /*** BEGIN file-header ***/ 1553s # file-header 1553s # /*** END file-header ***/ 1553s # 1553s # /*** BEGIN file-production ***/ 1553s # file-production 1553s # filename: @filename@ 1553s # basename: @basename@ 1553s # /*** END file-production ***/ 1553s # 1553s # /*** BEGIN enumeration-production ***/ 1553s # enumeration-production 1553s # EnumName: @EnumName@ 1553s # enum_name: @enum_name@ 1553s # ENUMNAME: @ENUMNAME@ 1553s # ENUMSHORT: @ENUMSHORT@ 1553s # ENUMPREFIX: @ENUMPREFIX@ 1553s # enumsince: @enumsince@ 1553s # type: @type@ 1553s # Type: @Type@ 1553s # TYPE: @TYPE@ 1553s # /*** END enumeration-production ***/ 1553s # 1553s # /*** BEGIN value-header ***/ 1553s # value-header 1553s # EnumName: @EnumName@ 1553s # enum_name: @enum_name@ 1553s # ENUMNAME: @ENUMNAME@ 1553s # ENUMSHORT: @ENUMSHORT@ 1553s # ENUMPREFIX: @ENUMPREFIX@ 1553s # enumsince: @enumsince@ 1553s # type: @type@ 1553s # Type: @Type@ 1553s # TYPE: @TYPE@ 1553s # /*** END value-header ***/ 1553s # 1553s # /*** BEGIN value-production ***/ 1553s # value-production 1553s # VALUENAME: @VALUENAME@ 1553s # valuenick: @valuenick@ 1553s # valuenum: @valuenum@ 1553s # type: @type@ 1553s # Type: @Type@ 1553s # TYPE: @TYPE@ 1553s # /*** END value-production ***/ 1553s # 1553s # /*** BEGIN value-tail ***/ 1553s # value-tail 1553s # EnumName: @EnumName@ 1553s # enum_name: @enum_name@ 1553s # ENUMNAME: @ENUMNAME@ 1553s # ENUMSHORT: @ENUMSHORT@ 1553s # ENUMPREFIX: @ENUMPREFIX@ 1553s # enumsince: @enumsince@ 1553s # type: @type@ 1553s # Type: @Type@ 1553s # TYPE: @TYPE@ 1553s # /*** END value-tail ***/ 1553s # 1553s # /*** BEGIN comment ***/ 1553s # comment 1553s # comment: @comment@ 1553s # /*** END comment ***/ 1553s # 1553s # /*** BEGIN file-tail ***/ 1553s # file-tail 1553s # /*** END file-tail ***/ 1553s # 1553s # Response file contains: --template /tmp/tmpxkyq50q5/tmptfe5m7a_.template /tmp/tmpxkyq50q5/tmpdppnzals.h 1553s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpxkyq50q5/tmp4m3wubep'] 1553s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-baqskmurxn,guid=fbaffe99d0ccb1f6e1beb84865fc01cd', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.YcZbqk/autopkgtest_tmp', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.YcZbqk/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.YcZbqk/autopkgtest_tmp', 'TERM': 'unknown', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.YcZbqk/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.sVTVMp0Db0', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.rqZsJO/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.YcZbqk/wrapper.sh --artifacts=/tmp/autopkgtest.YcZbqk/installed-tests-artifacts --chdir=/tmp/autopkgtest.YcZbqk/build.S0E/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.YcZbqk/installed-tests-stderr --stdout=/tmp/autopkgtest.YcZbqk/installed-tests-stdout --tmp=/tmp/autopkgtest.YcZbqk/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2' --make-executable=/tmp/autopkgtest.YcZbqk/build.S0E/src/debian/tests/installed-tests -- /tmp/autopkgtest.YcZbqk/build.S0E/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.YcZbqk/build.S0E/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.YcZbqk/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1553s # Output: comment 1553s # 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. 1553s # 1553s # 1553s # file-header 1553s # file-production 1553s # filename: /tmp/tmpxkyq50q5/tmpdppnzals.h 1553s # basename: tmpdppnzals.h 1553s # enumeration-production 1553s # EnumName: Foo 1553s # enum_name: foo_ 1553s # ENUMNAME: FOO_ 1553s # ENUMSHORT: 1553s # ENUMPREFIX: FOO 1553s # enumsince: 1553s # type: enum 1553s # Type: Enum 1553s # TYPE: ENUM 1553s # value-header 1553s # EnumName: Foo 1553s # enum_name: foo_ 1553s # ENUMNAME: FOO_ 1553s # ENUMSHORT: 1553s # ENUMPREFIX: FOO 1553s # enumsince: 1553s # type: enum 1553s # Type: Enum 1553s # TYPE: ENUM 1553s # value-production 1553s # VALUENAME: FOO_VALUE 1553s # valuenick: eek, a comma 1553s # valuenum: 0 1553s # type: enum 1553s # Type: Enum 1553s # TYPE: ENUM 1553s # value-tail 1553s # EnumName: Foo 1553s # enum_name: foo_ 1553s # ENUMNAME: FOO_ 1553s # ENUMSHORT: 1553s # ENUMPREFIX: FOO 1553s # enumsince: 1553s # type: enum 1553s # Type: Enum 1553s # TYPE: ENUM 1553s # file-tail 1553s # 1553s # comment 1553s # comment: Generated data ends here 1553s 1..36 1553s ok - glib/mkenums.py.test 1553s # Running test: glib/tls-database.test 1553s TAP version 13 1553s # random seed: R02Sa7bcf600f65fc4e85efe619716fabd04 1553s 1..1 1553s # Start of tls-backend tests 1553s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation test (GTestTlsBackend) for ?gio-tls-backend? 1553s ok 1 /tls-backend/set-default-database 1553s # End of tls-backend tests 1553s ok - glib/tls-database.test 1553s # Running test: glib/hook.test 1553s TAP version 13 1553s # random seed: R02S0df12f26ac81a8d0c1f5b69e1be6242b 1553s 1..2 1553s # Start of hook tests 1553s ok 1 /hook/basics 1553s ok 2 /hook/corner-cases 1553s # End of hook tests 1553s ok - glib/hook.test 1553s # Running test: glib/gdbus-method-invocation.test 1553s TAP version 13 1553s # random seed: R02Scd15ed9b4419ae6ddfb5f25302f88e53 1553s 1..1 1553s # Start of gdbus tests 1553s # Start of method-invocation tests 1553s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-method-invocation_17QWK2/gdbus/method-invocation/return/.dirs/home 1553s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-method-invocation_17QWK2/gdbus/method-invocation/return/.dirs/cache 1553s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-method-invocation_17QWK2/gdbus/method-invocation/return/.dirs/system-config1:/tmp/test_gdbus-method-invocation_17QWK2/gdbus/method-invocation/return/.dirs/system-config2 1553s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-method-invocation_17QWK2/gdbus/method-invocation/return/.dirs/config 1553s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-method-invocation_17QWK2/gdbus/method-invocation/return/.dirs/system-data1:/tmp/test_gdbus-method-invocation_17QWK2/gdbus/method-invocation/return/.dirs/system-data2 1553s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-method-invocation_17QWK2/gdbus/method-invocation/return/.dirs/data 1553s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-method-invocation_17QWK2/gdbus/method-invocation/return/.dirs/state 1553s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-method-invocation_17QWK2/gdbus/method-invocation/return/.dirs/runtime 1553s # /gdbus/method-invocation/return summary: Test calling g_dbus_method_invocation_return_*() in various ways 1553s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1553s # Calling org.freedesktop.DBus.Properties.Get 1553s # Calling org.freedesktop.DBus.Properties.Get 1553s # Calling org.freedesktop.DBus.Properties.Get 1553s # Calling org.freedesktop.DBus.Properties.Set 1553s # Calling org.freedesktop.DBus.Properties.GetAll 1553s # Calling org.example.Foo.WrongReturnType 1553s # Calling org.example.Foo.GetFDs 1553s # Calling org.example.Foo.GetFDs 1553s # Calling org.example.Foo.ReturnError 1553s # Calling org.example.Foo.CloseBeforeReturning 1553s ok 1 /gdbus/method-invocation/return 1553s # End of method-invocation tests 1553s # End of gdbus tests 1553s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1553s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1553s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1553s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1553s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1553s ok - glib/gdbus-method-invocation.test 1553s # Running test: glib/cmph-bdz.test 1553s TAP version 13 1553s # random seed: R02S1f714ef32c64a77783218749d3db6e7a 1553s 1..2 1553s # Start of cmph-bdz tests 1553s ok 1 /cmph-bdz/search 1553s ok 2 /cmph-bdz/search-packed 1553s # End of cmph-bdz tests 1553s ok - glib/cmph-bdz.test 1553s # Running test: glib/singleton.test 1553s TAP version 13 1553s # random seed: R02Sffe963da1cd7db041fa61945789c8470 1553s 1..2 1553s # Start of gobject tests 1553s # Start of singleton tests 1553s ok 1 /gobject/singleton/construction 1553s # /gobject/singleton/construct-property summary: Test that creating a singleton with a construct-time property works 1553s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2666 1553s ok 2 /gobject/singleton/construct-property 1553s # End of singleton tests 1553s # End of gobject tests 1553s ok - glib/singleton.test 1553s # Running test: glib/utils.test 1553s TAP version 13 1553s # random seed: R02Se130c16dfcf84695d9d1c900df87c0c2 1553s 1..40 1553s # Start of utils tests 1553s ok 1 /utils/language-names 1553s ok 2 /utils/locale-variants 1553s ok 3 /utils/version 1553s ok 4 /utils/appname 1553s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/847 1553s # /utils/prgname-thread-safety summary: Test that threads racing to get and set the program name always receive a valid program name. 1553s ok 5 /utils/prgname-thread-safety 1553s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=627969 1553s # /utils/tmpdir summary: Test that g_get_tmp_dir() returns a correct default if TMPDIR is set to the empty string 1553s ok 6 /utils/tmpdir 1553s ok 7 /utils/basic_bits 1553s ok 8 /utils/bits 1553s ok 9 /utils/swap 1553s ok 10 /utils/find-program 1553s ok 11 /utils/find-program-for-path 1553s ok 12 /utils/debug 1553s ok 13 /utils/codeset 1553s ok 14 /utils/codeset2 1553s ok 15 /utils/console-charset 1553s ok 16 /utils/gettext 1553s ok 17 /utils/username 1553s ok 18 /utils/realname 1553s ok 19 /utils/hostname 1553s ok 20 /utils/xdgdirs 1553s ok 21 /utils/specialdir 1553s # NAME: Ubuntu 1553s ok 22 /utils/os-info 1553s ok 23 /utils/clear-pointer 1553s ok 24 /utils/clear-pointer-cast 1553s ok 25 /utils/take-pointer 1553s ok 26 /utils/clear-source 1553s ok 27 /utils/misc-mem 1553s # /utils/aligned-mem summary: Aligned memory allocator 1553s # Alignment must not be zero 1553s # Alignment must be a power of two 1553s # Alignment must be a multiple of sizeof(void*) 1553s ok 28 /utils/aligned-mem 1553s # /utils/free-sized summary: Check that g_free_sized() works 1553s ok 29 /utils/free-sized 1553s ok 30 /utils/nullify 1553s ok 31 /utils/atexit 1553s ok 32 /utils/check-setuid 1553s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1663 1553s ok 33 /utils/int-limits 1553s ok 34 /utils/clear-list 1553s ok 35 /utils/clear-slist 1553s # Start of specialdir tests 1553s ok 36 /utils/specialdir/desktop 1553s # End of specialdir tests 1553s # Start of clear-pointer tests 1553s ok 37 /utils/clear-pointer/side-effects 1553s # End of clear-pointer tests 1553s # Start of aligned-mem tests 1553s # /utils/aligned-mem/alignment summary: Check that g_aligned_alloc() returns a correctly aligned pointer 1553s ok 38 /utils/aligned-mem/alignment 1553s # /utils/aligned-mem/zeroed summary: Check that g_aligned_alloc0() zeroes out its allocation 1553s ok 39 /utils/aligned-mem/zeroed 1553s # /utils/aligned-mem/free-sized summary: Check that g_aligned_free_sized() works 1553s ok 40 /utils/aligned-mem/free-sized 1553s # Start of subprocess tests 1553s # End of subprocess tests 1553s # End of aligned-mem tests 1553s # End of utils tests 1553s ok - glib/utils.test 1553s # Running test: glib/gdbus-non-socket.test 1553s TAP version 13 1553s # random seed: R02S5969e635eb3a38aedbb77126f6ab26d4 1553s 1..1 1553s # Start of gdbus tests 1553s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-non-socket_Z30YK2/gdbus/non-socket/.dirs/home 1553s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-non-socket_Z30YK2/gdbus/non-socket/.dirs/cache 1553s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-non-socket_Z30YK2/gdbus/non-socket/.dirs/system-config1:/tmp/test_gdbus-non-socket_Z30YK2/gdbus/non-socket/.dirs/system-config2 1553s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-non-socket_Z30YK2/gdbus/non-socket/.dirs/config 1553s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-non-socket_Z30YK2/gdbus/non-socket/.dirs/system-data1:/tmp/test_gdbus-non-socket_Z30YK2/gdbus/non-socket/.dirs/system-data2 1553s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-non-socket_Z30YK2/gdbus/non-socket/.dirs/data 1553s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-non-socket_Z30YK2/gdbus/non-socket/.dirs/state 1553s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-non-socket_Z30YK2/gdbus/non-socket/.dirs/runtime 1553s ok 1 /gdbus/non-socket 1553s # End of gdbus tests 1553s ok - glib/gdbus-non-socket.test 1553s # Running test: glib/memory-monitor-portal.test 1553s TAP version 13 1553s ok 1 __main__.TestLowMemoryMonitorPortal.test_low_memory_warning_portal_signal # SKIP xdg-desktop-portal not available 1553s 1..1 1554s ok - glib/memory-monitor-portal.test 1554s # Running test: glib/cxx-98.test 1554s TAP version 13 1554s # random seed: R02Sb5af73304c04304808b89b36cd10fa44 1554s 1..2 1554s # Start of gtask tests 1554s # 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. 1554s ok 1 /gtask/name 1554s # Start of name tests 1554s # 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. 1554s ok 2 /gtask/name/macro-wrapper 1554s # End of name tests 1554s # End of gtask tests 1554s ok - glib/cxx-98.test 1554s # Running test: glib/debugcontroller.test 1554s TAP version 13 1554s # random seed: R02Sc0782b4506606e7b1f42b979692404ee 1554s 1..3 1554s # Start of debug-controller tests 1554s # Start of dbus tests 1554s # /debug-controller/dbus/basic summary: Smoketest for construction and setting of a #GDebugControllerDBus. 1554s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1554s # GLib-GIO-DEBUG: Debug output enabled 1554s # GLib-GIO-DEBUG: Debug output disabled 1554s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1554s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1554s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1554s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1554s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1554s ok 1 /debug-controller/dbus/basic 1554s # /debug-controller/dbus/duplicate summary: Test that creating a second #GDebugControllerDBus on the same D-Bus connection fails. 1554s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1554s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1554s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1554s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1554s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1554s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1554s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1554s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1554s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1554s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1554s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1554s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1554s ok 2 /debug-controller/dbus/duplicate 1554s # /debug-controller/dbus/properties summary: Test getting and setting properties on a #GDebugControllerDBus. 1554s ok 3 /debug-controller/dbus/properties # SKIP https://gitlab.gnome.org/GNOME/glib/-/merge_requests/2486#note_1384102 1554s # End of dbus tests 1554s # End of debug-controller tests 1554s ok - glib/debugcontroller.test 1554s # Running test: glib/gdbus-proxy-well-known-name.test 1554s TAP version 13 1554s # random seed: R02Sd00449c9b06b23138515897ed2c7f379 1554s 1..1 1554s # Start of gdbus tests 1554s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-proxy-well-known-name_JVCZK2/gdbus/proxy-well-known-name/.dirs/home 1554s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-proxy-well-known-name_JVCZK2/gdbus/proxy-well-known-name/.dirs/cache 1554s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-proxy-well-known-name_JVCZK2/gdbus/proxy-well-known-name/.dirs/system-config1:/tmp/test_gdbus-proxy-well-known-name_JVCZK2/gdbus/proxy-well-known-name/.dirs/system-config2 1554s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-proxy-well-known-name_JVCZK2/gdbus/proxy-well-known-name/.dirs/config 1554s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-proxy-well-known-name_JVCZK2/gdbus/proxy-well-known-name/.dirs/system-data1:/tmp/test_gdbus-proxy-well-known-name_JVCZK2/gdbus/proxy-well-known-name/.dirs/system-data2 1554s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-proxy-well-known-name_JVCZK2/gdbus/proxy-well-known-name/.dirs/data 1554s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-proxy-well-known-name_JVCZK2/gdbus/proxy-well-known-name/.dirs/state 1554s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-proxy-well-known-name_JVCZK2/gdbus/proxy-well-known-name/.dirs/runtime 1554s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1554s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1554s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1554s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1554s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1554s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1554s ok 1 /gdbus/proxy-well-known-name 1554s # End of gdbus tests 1554s ok - glib/gdbus-proxy-well-known-name.test 1554s # Running test: glib/markup-subparser.test 1554s TAP version 13 1554s # random seed: R02S9bc296556f3f9f68dcd92d99edf841e4 1554s 1..14 1554s # Start of glib tests 1554s # Start of markup tests 1554s # Start of subparser tests 1554s # Start of success tests 1554s ok 1 /glib/markup/subparser/success/0 1554s ok 2 /glib/markup/subparser/success/1 1554s ok 3 /glib/markup/subparser/success/2 1554s ok 4 /glib/markup/subparser/success/3 1554s ok 5 /glib/markup/subparser/success/4 1554s ok 6 /glib/markup/subparser/success/5 1554s ok 7 /glib/markup/subparser/success/6 1554s # End of success tests 1554s # Start of failure tests 1554s ok 8 /glib/markup/subparser/failure/0 1554s ok 9 /glib/markup/subparser/failure/1 1554s ok 10 /glib/markup/subparser/failure/2 1554s ok 11 /glib/markup/subparser/failure/3 1554s ok 12 /glib/markup/subparser/failure/4 1554s ok 13 /glib/markup/subparser/failure/5 1554s ok 14 /glib/markup/subparser/failure/6 1554s # End of failure tests 1554s # End of subparser tests 1554s # End of markup tests 1554s # End of glib tests 1554s ok - glib/markup-subparser.test 1554s # Running test: glib/resolver-parsing.test 1554s TAP version 13 1554s # random seed: R02S0b74e8b03ed68c3fb6fadb20f9a6fc47 1554s 1..20 1554s # Start of gresolver tests 1554s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_LD1ZK2/gresolver/invalid-header/.dirs/home 1554s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_LD1ZK2/gresolver/invalid-header/.dirs/cache 1554s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_LD1ZK2/gresolver/invalid-header/.dirs/system-config1:/tmp/test_resolver-parsing_LD1ZK2/gresolver/invalid-header/.dirs/system-config2 1554s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_LD1ZK2/gresolver/invalid-header/.dirs/config 1554s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_LD1ZK2/gresolver/invalid-header/.dirs/system-data1:/tmp/test_resolver-parsing_LD1ZK2/gresolver/invalid-header/.dirs/system-data2 1554s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_LD1ZK2/gresolver/invalid-header/.dirs/data 1554s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_LD1ZK2/gresolver/invalid-header/.dirs/state 1554s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_LD1ZK2/gresolver/invalid-header/.dirs/runtime 1554s ok 1 /gresolver/invalid-header 1554s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_LD1ZK2/gresolver/unknown-record-type/.dirs/home 1554s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_LD1ZK2/gresolver/unknown-record-type/.dirs/cache 1554s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_LD1ZK2/gresolver/unknown-record-type/.dirs/system-config1:/tmp/test_resolver-parsing_LD1ZK2/gresolver/unknown-record-type/.dirs/system-config2 1554s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_LD1ZK2/gresolver/unknown-record-type/.dirs/config 1554s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_LD1ZK2/gresolver/unknown-record-type/.dirs/system-data1:/tmp/test_resolver-parsing_LD1ZK2/gresolver/unknown-record-type/.dirs/system-data2 1554s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_LD1ZK2/gresolver/unknown-record-type/.dirs/data 1554s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_LD1ZK2/gresolver/unknown-record-type/.dirs/state 1554s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_LD1ZK2/gresolver/unknown-record-type/.dirs/runtime 1554s # GLib-GIO-DEBUG: Unrecognised DNS record type 20 1554s ok 2 /gresolver/unknown-record-type 1554s # Start of mx tests 1554s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_LD1ZK2/gresolver/mx/valid/.dirs/home 1554s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_LD1ZK2/gresolver/mx/valid/.dirs/cache 1554s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_LD1ZK2/gresolver/mx/valid/.dirs/system-config1:/tmp/test_resolver-parsing_LD1ZK2/gresolver/mx/valid/.dirs/system-config2 1554s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_LD1ZK2/gresolver/mx/valid/.dirs/config 1554s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_LD1ZK2/gresolver/mx/valid/.dirs/system-data1:/tmp/test_resolver-parsing_LD1ZK2/gresolver/mx/valid/.dirs/system-data2 1554s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_LD1ZK2/gresolver/mx/valid/.dirs/data 1554s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_LD1ZK2/gresolver/mx/valid/.dirs/state 1554s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_LD1ZK2/gresolver/mx/valid/.dirs/runtime 1554s ok 3 /gresolver/mx/valid 1554s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_LD1ZK2/gresolver/mx/invalid/.dirs/home 1554s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_LD1ZK2/gresolver/mx/invalid/.dirs/cache 1554s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_LD1ZK2/gresolver/mx/invalid/.dirs/system-config1:/tmp/test_resolver-parsing_LD1ZK2/gresolver/mx/invalid/.dirs/system-config2 1554s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_LD1ZK2/gresolver/mx/invalid/.dirs/config 1554s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_LD1ZK2/gresolver/mx/invalid/.dirs/system-data1:/tmp/test_resolver-parsing_LD1ZK2/gresolver/mx/invalid/.dirs/system-data2 1554s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_LD1ZK2/gresolver/mx/invalid/.dirs/data 1554s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_LD1ZK2/gresolver/mx/invalid/.dirs/state 1554s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_LD1ZK2/gresolver/mx/invalid/.dirs/runtime 1554s ok 4 /gresolver/mx/invalid 1554s # Start of invalid tests 1554s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_LD1ZK2/gresolver/mx/invalid/too-short/.dirs/home 1554s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_LD1ZK2/gresolver/mx/invalid/too-short/.dirs/cache 1554s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_LD1ZK2/gresolver/mx/invalid/too-short/.dirs/system-config1:/tmp/test_resolver-parsing_LD1ZK2/gresolver/mx/invalid/too-short/.dirs/system-config2 1554s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_LD1ZK2/gresolver/mx/invalid/too-short/.dirs/config 1554s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_LD1ZK2/gresolver/mx/invalid/too-short/.dirs/system-data1:/tmp/test_resolver-parsing_LD1ZK2/gresolver/mx/invalid/too-short/.dirs/system-data2 1554s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_LD1ZK2/gresolver/mx/invalid/too-short/.dirs/data 1554s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_LD1ZK2/gresolver/mx/invalid/too-short/.dirs/state 1554s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_LD1ZK2/gresolver/mx/invalid/too-short/.dirs/runtime 1554s ok 5 /gresolver/mx/invalid/too-short 1554s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_LD1ZK2/gresolver/mx/invalid/too-short2/.dirs/home 1554s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_LD1ZK2/gresolver/mx/invalid/too-short2/.dirs/cache 1554s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_LD1ZK2/gresolver/mx/invalid/too-short2/.dirs/system-config1:/tmp/test_resolver-parsing_LD1ZK2/gresolver/mx/invalid/too-short2/.dirs/system-config2 1554s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_LD1ZK2/gresolver/mx/invalid/too-short2/.dirs/config 1554s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_LD1ZK2/gresolver/mx/invalid/too-short2/.dirs/system-data1:/tmp/test_resolver-parsing_LD1ZK2/gresolver/mx/invalid/too-short2/.dirs/system-data2 1554s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_LD1ZK2/gresolver/mx/invalid/too-short2/.dirs/data 1554s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_LD1ZK2/gresolver/mx/invalid/too-short2/.dirs/state 1554s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_LD1ZK2/gresolver/mx/invalid/too-short2/.dirs/runtime 1554s ok 6 /gresolver/mx/invalid/too-short2 1554s # End of invalid tests 1554s # End of mx tests 1554s # Start of ns tests 1554s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_LD1ZK2/gresolver/ns/valid/.dirs/home 1554s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_LD1ZK2/gresolver/ns/valid/.dirs/cache 1554s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_LD1ZK2/gresolver/ns/valid/.dirs/system-config1:/tmp/test_resolver-parsing_LD1ZK2/gresolver/ns/valid/.dirs/system-config2 1554s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_LD1ZK2/gresolver/ns/valid/.dirs/config 1554s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_LD1ZK2/gresolver/ns/valid/.dirs/system-data1:/tmp/test_resolver-parsing_LD1ZK2/gresolver/ns/valid/.dirs/system-data2 1554s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_LD1ZK2/gresolver/ns/valid/.dirs/data 1554s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_LD1ZK2/gresolver/ns/valid/.dirs/state 1554s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_LD1ZK2/gresolver/ns/valid/.dirs/runtime 1554s ok 7 /gresolver/ns/valid 1554s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_LD1ZK2/gresolver/ns/invalid/.dirs/home 1554s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_LD1ZK2/gresolver/ns/invalid/.dirs/cache 1554s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_LD1ZK2/gresolver/ns/invalid/.dirs/system-config1:/tmp/test_resolver-parsing_LD1ZK2/gresolver/ns/invalid/.dirs/system-config2 1554s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_LD1ZK2/gresolver/ns/invalid/.dirs/config 1554s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_LD1ZK2/gresolver/ns/invalid/.dirs/system-data1:/tmp/test_resolver-parsing_LD1ZK2/gresolver/ns/invalid/.dirs/system-data2 1554s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_LD1ZK2/gresolver/ns/invalid/.dirs/data 1554s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_LD1ZK2/gresolver/ns/invalid/.dirs/state 1554s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_LD1ZK2/gresolver/ns/invalid/.dirs/runtime 1554s ok 8 /gresolver/ns/invalid 1554s # End of ns tests 1554s # Start of soa tests 1554s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_LD1ZK2/gresolver/soa/valid/.dirs/home 1554s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_LD1ZK2/gresolver/soa/valid/.dirs/cache 1554s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_LD1ZK2/gresolver/soa/valid/.dirs/system-config1:/tmp/test_resolver-parsing_LD1ZK2/gresolver/soa/valid/.dirs/system-config2 1554s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_LD1ZK2/gresolver/soa/valid/.dirs/config 1554s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_LD1ZK2/gresolver/soa/valid/.dirs/system-data1:/tmp/test_resolver-parsing_LD1ZK2/gresolver/soa/valid/.dirs/system-data2 1554s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_LD1ZK2/gresolver/soa/valid/.dirs/data 1554s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_LD1ZK2/gresolver/soa/valid/.dirs/state 1554s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_LD1ZK2/gresolver/soa/valid/.dirs/runtime 1554s ok 9 /gresolver/soa/valid 1554s # Start of invalid tests 1554s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_LD1ZK2/gresolver/soa/invalid/mname/.dirs/home 1554s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_LD1ZK2/gresolver/soa/invalid/mname/.dirs/cache 1554s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_LD1ZK2/gresolver/soa/invalid/mname/.dirs/system-config1:/tmp/test_resolver-parsing_LD1ZK2/gresolver/soa/invalid/mname/.dirs/system-config2 1554s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_LD1ZK2/gresolver/soa/invalid/mname/.dirs/config 1554s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_LD1ZK2/gresolver/soa/invalid/mname/.dirs/system-data1:/tmp/test_resolver-parsing_LD1ZK2/gresolver/soa/invalid/mname/.dirs/system-data2 1554s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_LD1ZK2/gresolver/soa/invalid/mname/.dirs/data 1554s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_LD1ZK2/gresolver/soa/invalid/mname/.dirs/state 1554s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_LD1ZK2/gresolver/soa/invalid/mname/.dirs/runtime 1554s ok 10 /gresolver/soa/invalid/mname 1554s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_LD1ZK2/gresolver/soa/invalid/rname/.dirs/home 1554s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_LD1ZK2/gresolver/soa/invalid/rname/.dirs/cache 1554s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_LD1ZK2/gresolver/soa/invalid/rname/.dirs/system-config1:/tmp/test_resolver-parsing_LD1ZK2/gresolver/soa/invalid/rname/.dirs/system-config2 1554s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_LD1ZK2/gresolver/soa/invalid/rname/.dirs/config 1554s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_LD1ZK2/gresolver/soa/invalid/rname/.dirs/system-data1:/tmp/test_resolver-parsing_LD1ZK2/gresolver/soa/invalid/rname/.dirs/system-data2 1554s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_LD1ZK2/gresolver/soa/invalid/rname/.dirs/data 1554s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_LD1ZK2/gresolver/soa/invalid/rname/.dirs/state 1554s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_LD1ZK2/gresolver/soa/invalid/rname/.dirs/runtime 1554s ok 11 /gresolver/soa/invalid/rname 1554s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_LD1ZK2/gresolver/soa/invalid/too-short/.dirs/home 1554s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_LD1ZK2/gresolver/soa/invalid/too-short/.dirs/cache 1554s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_LD1ZK2/gresolver/soa/invalid/too-short/.dirs/system-config1:/tmp/test_resolver-parsing_LD1ZK2/gresolver/soa/invalid/too-short/.dirs/system-config2 1554s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_LD1ZK2/gresolver/soa/invalid/too-short/.dirs/config 1554s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_LD1ZK2/gresolver/soa/invalid/too-short/.dirs/system-data1:/tmp/test_resolver-parsing_LD1ZK2/gresolver/soa/invalid/too-short/.dirs/system-data2 1554s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_LD1ZK2/gresolver/soa/invalid/too-short/.dirs/data 1554s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_LD1ZK2/gresolver/soa/invalid/too-short/.dirs/state 1554s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_LD1ZK2/gresolver/soa/invalid/too-short/.dirs/runtime 1554s ok 12 /gresolver/soa/invalid/too-short 1554s # End of invalid tests 1554s # End of soa tests 1554s # Start of srv tests 1554s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_LD1ZK2/gresolver/srv/valid/.dirs/home 1554s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_LD1ZK2/gresolver/srv/valid/.dirs/cache 1554s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_LD1ZK2/gresolver/srv/valid/.dirs/system-config1:/tmp/test_resolver-parsing_LD1ZK2/gresolver/srv/valid/.dirs/system-config2 1554s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_LD1ZK2/gresolver/srv/valid/.dirs/config 1554s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_LD1ZK2/gresolver/srv/valid/.dirs/system-data1:/tmp/test_resolver-parsing_LD1ZK2/gresolver/srv/valid/.dirs/system-data2 1554s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_LD1ZK2/gresolver/srv/valid/.dirs/data 1554s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_LD1ZK2/gresolver/srv/valid/.dirs/state 1554s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_LD1ZK2/gresolver/srv/valid/.dirs/runtime 1554s ok 13 /gresolver/srv/valid 1554s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_LD1ZK2/gresolver/srv/invalid/.dirs/home 1554s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_LD1ZK2/gresolver/srv/invalid/.dirs/cache 1554s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_LD1ZK2/gresolver/srv/invalid/.dirs/system-config1:/tmp/test_resolver-parsing_LD1ZK2/gresolver/srv/invalid/.dirs/system-config2 1554s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_LD1ZK2/gresolver/srv/invalid/.dirs/config 1554s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_LD1ZK2/gresolver/srv/invalid/.dirs/system-data1:/tmp/test_resolver-parsing_LD1ZK2/gresolver/srv/invalid/.dirs/system-data2 1554s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_LD1ZK2/gresolver/srv/invalid/.dirs/data 1554s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_LD1ZK2/gresolver/srv/invalid/.dirs/state 1554s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_LD1ZK2/gresolver/srv/invalid/.dirs/runtime 1554s ok 14 /gresolver/srv/invalid 1554s # Start of invalid tests 1554s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_LD1ZK2/gresolver/srv/invalid/too-short/.dirs/home 1554s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_LD1ZK2/gresolver/srv/invalid/too-short/.dirs/cache 1554s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_LD1ZK2/gresolver/srv/invalid/too-short/.dirs/system-config1:/tmp/test_resolver-parsing_LD1ZK2/gresolver/srv/invalid/too-short/.dirs/system-config2 1554s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_LD1ZK2/gresolver/srv/invalid/too-short/.dirs/config 1554s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_LD1ZK2/gresolver/srv/invalid/too-short/.dirs/system-data1:/tmp/test_resolver-parsing_LD1ZK2/gresolver/srv/invalid/too-short/.dirs/system-data2 1554s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_LD1ZK2/gresolver/srv/invalid/too-short/.dirs/data 1554s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_LD1ZK2/gresolver/srv/invalid/too-short/.dirs/state 1554s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_LD1ZK2/gresolver/srv/invalid/too-short/.dirs/runtime 1554s ok 15 /gresolver/srv/invalid/too-short 1554s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_LD1ZK2/gresolver/srv/invalid/too-short2/.dirs/home 1554s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_LD1ZK2/gresolver/srv/invalid/too-short2/.dirs/cache 1554s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_LD1ZK2/gresolver/srv/invalid/too-short2/.dirs/system-config1:/tmp/test_resolver-parsing_LD1ZK2/gresolver/srv/invalid/too-short2/.dirs/system-config2 1554s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_LD1ZK2/gresolver/srv/invalid/too-short2/.dirs/config 1554s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_LD1ZK2/gresolver/srv/invalid/too-short2/.dirs/system-data1:/tmp/test_resolver-parsing_LD1ZK2/gresolver/srv/invalid/too-short2/.dirs/system-data2 1554s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_LD1ZK2/gresolver/srv/invalid/too-short2/.dirs/data 1554s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_LD1ZK2/gresolver/srv/invalid/too-short2/.dirs/state 1554s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_LD1ZK2/gresolver/srv/invalid/too-short2/.dirs/runtime 1554s ok 16 /gresolver/srv/invalid/too-short2 1554s # End of invalid tests 1554s # End of srv tests 1554s # Start of txt tests 1554s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_LD1ZK2/gresolver/txt/valid/.dirs/home 1554s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_LD1ZK2/gresolver/txt/valid/.dirs/cache 1554s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_LD1ZK2/gresolver/txt/valid/.dirs/system-config1:/tmp/test_resolver-parsing_LD1ZK2/gresolver/txt/valid/.dirs/system-config2 1554s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_LD1ZK2/gresolver/txt/valid/.dirs/config 1554s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_LD1ZK2/gresolver/txt/valid/.dirs/system-data1:/tmp/test_resolver-parsing_LD1ZK2/gresolver/txt/valid/.dirs/system-data2 1554s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_LD1ZK2/gresolver/txt/valid/.dirs/data 1554s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_LD1ZK2/gresolver/txt/valid/.dirs/state 1554s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_LD1ZK2/gresolver/txt/valid/.dirs/runtime 1554s ok 17 /gresolver/txt/valid 1554s # Start of valid tests 1554s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_LD1ZK2/gresolver/txt/valid/multiple-strings/.dirs/home 1554s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_LD1ZK2/gresolver/txt/valid/multiple-strings/.dirs/cache 1554s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_LD1ZK2/gresolver/txt/valid/multiple-strings/.dirs/system-config1:/tmp/test_resolver-parsing_LD1ZK2/gresolver/txt/valid/multiple-strings/.dirs/system-config2 1554s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_LD1ZK2/gresolver/txt/valid/multiple-strings/.dirs/config 1554s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_LD1ZK2/gresolver/txt/valid/multiple-strings/.dirs/system-data1:/tmp/test_resolver-parsing_LD1ZK2/gresolver/txt/valid/multiple-strings/.dirs/system-data2 1554s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_LD1ZK2/gresolver/txt/valid/multiple-strings/.dirs/data 1554s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_LD1ZK2/gresolver/txt/valid/multiple-strings/.dirs/state 1554s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_LD1ZK2/gresolver/txt/valid/multiple-strings/.dirs/runtime 1554s ok 18 /gresolver/txt/valid/multiple-strings 1554s # End of valid tests 1554s # Start of invalid tests 1554s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_LD1ZK2/gresolver/txt/invalid/empty/.dirs/home 1554s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_LD1ZK2/gresolver/txt/invalid/empty/.dirs/cache 1554s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_LD1ZK2/gresolver/txt/invalid/empty/.dirs/system-config1:/tmp/test_resolver-parsing_LD1ZK2/gresolver/txt/invalid/empty/.dirs/system-config2 1554s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_LD1ZK2/gresolver/txt/invalid/empty/.dirs/config 1554s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_LD1ZK2/gresolver/txt/invalid/empty/.dirs/system-data1:/tmp/test_resolver-parsing_LD1ZK2/gresolver/txt/invalid/empty/.dirs/system-data2 1554s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_LD1ZK2/gresolver/txt/invalid/empty/.dirs/data 1554s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_LD1ZK2/gresolver/txt/invalid/empty/.dirs/state 1554s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_LD1ZK2/gresolver/txt/invalid/empty/.dirs/runtime 1554s ok 19 /gresolver/txt/invalid/empty 1554s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_LD1ZK2/gresolver/txt/invalid/overflow/.dirs/home 1554s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_LD1ZK2/gresolver/txt/invalid/overflow/.dirs/cache 1554s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_LD1ZK2/gresolver/txt/invalid/overflow/.dirs/system-config1:/tmp/test_resolver-parsing_LD1ZK2/gresolver/txt/invalid/overflow/.dirs/system-config2 1554s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_LD1ZK2/gresolver/txt/invalid/overflow/.dirs/config 1554s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_LD1ZK2/gresolver/txt/invalid/overflow/.dirs/system-data1:/tmp/test_resolver-parsing_LD1ZK2/gresolver/txt/invalid/overflow/.dirs/system-data2 1554s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_LD1ZK2/gresolver/txt/invalid/overflow/.dirs/data 1554s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_LD1ZK2/gresolver/txt/invalid/overflow/.dirs/state 1554s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_LD1ZK2/gresolver/txt/invalid/overflow/.dirs/runtime 1554s ok 20 /gresolver/txt/invalid/overflow 1554s # End of invalid tests 1554s # End of txt tests 1554s # End of gresolver tests 1554s ok - glib/resolver-parsing.test 1554s # Running test: glib/memory-input-stream.test 1554s TAP version 13 1554s # random seed: R02S1478bfad8aa09c3e17d64536e134c141 1554s 1..6 1554s # Start of memory-input-stream tests 1554s ok 1 /memory-input-stream/read-chunks 1554s ok 2 /memory-input-stream/async 1554s ok 3 /memory-input-stream/seek 1554s ok 4 /memory-input-stream/truncate 1554s ok 5 /memory-input-stream/read-bytes 1554s ok 6 /memory-input-stream/from-bytes 1554s # End of memory-input-stream tests 1554s ok - glib/memory-input-stream.test 1554s # Running test: glib/gsubprocess.test 1554s TAP version 13 1554s # random seed: R02S24f3131f54c549b15e227e7133e41b8f 1554s 1..83 1554s # Start of gsubprocess tests 1554s ok 1 /gsubprocess/noop 1554s ok 2 /gsubprocess/noop-all-to-null 1554s ok 3 /gsubprocess/noop-no-wait 1554s ok 4 /gsubprocess/noop-stdin-inherit 1554s ok 5 /gsubprocess/search-path 1554s ok 6 /gsubprocess/search-path-from-envp 1557s # Executing: glib/gsubprocess.test 1557s ok 7 /gsubprocess/signal 1557s # slow test /gsubprocess/signal executed in 3.28 secs 1557s ok 8 /gsubprocess/exit1 1557s ok 9 /gsubprocess/echo1 1557s ok 10 /gsubprocess/echo-merged 1557s ok 11 /gsubprocess/cat-utf8 1558s ok 12 /gsubprocess/cat-eof 1558s # slow test /gsubprocess/cat-eof executed in 1.00 secs 1561s ok 13 /gsubprocess/multi1 1561s # slow test /gsubprocess/multi1 executed in 3.01 secs 1561s ok 14 /gsubprocess/communicate 1562s # Executing: glib/gsubprocess.test 1564s ok 15 /gsubprocess/terminate 1564s # slow test /gsubprocess/terminate executed in 2.97 secs 1564s ok 16 /gsubprocess/env 1564s ok 17 /gsubprocess/cwd 1564s ok 18 /gsubprocess/launcher-close 1564s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 1564s ok 19 /gsubprocess/stdout-file 1564s ok 20 /gsubprocess/stdout-fd 1564s ok 21 /gsubprocess/child-setup 1564s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1564s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1564s ok 22 /gsubprocess/launcher-environment 1564s # Start of exit1 tests 1564s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=786456 1564s ok 23 /gsubprocess/exit1/cancel 1564s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=786456 1564s ok 24 /gsubprocess/exit1/cancel_in_cb 1564s # End of exit1 tests 1564s # Start of communicate tests 1564s ok 25 /gsubprocess/communicate/cancelled 1564s ok 26 /gsubprocess/communicate/async 1564s ok 27 /gsubprocess/communicate/utf8 1564s # hello world 1564s ok 28 /gsubprocess/communicate/no-pipes 1564s ok 29 /gsubprocess/communicate/separate-stderr 1564s ok 30 /gsubprocess/communicate/stdout-only 1564s # hello world 1564s ok 31 /gsubprocess/communicate/stderr-only 1564s ok 32 /gsubprocess/communicate/stdout-silence 1564s ok 33 /gsubprocess/communicate/nothing 1564s # Start of async tests 1564s ok 34 /gsubprocess/communicate/async/cancelled 1564s # hello world 1564s ok 35 /gsubprocess/communicate/async/no-pipes 1564s ok 36 /gsubprocess/communicate/async/separate-stderr 1564s ok 37 /gsubprocess/communicate/async/stdout-only 1564s # hello world 1564s ok 38 /gsubprocess/communicate/async/stderr-only 1564s ok 39 /gsubprocess/communicate/async/stdout-silence 1564s # Start of cancelled tests 1564s ok 40 /gsubprocess/communicate/async/cancelled/no-pipes 1564s ok 41 /gsubprocess/communicate/async/cancelled/separate-stderr 1564s ok 42 /gsubprocess/communicate/async/cancelled/stdout-only 1564s ok 43 /gsubprocess/communicate/async/cancelled/stderr-only 1564s ok 44 /gsubprocess/communicate/async/cancelled/stdout-silence 1564s # End of cancelled tests 1564s # End of async tests 1564s # Start of utf8 tests 1564s ok 45 /gsubprocess/communicate/utf8/cancelled 1564s ok 46 /gsubprocess/communicate/utf8/async 1564s # hello world 1564s ok 47 /gsubprocess/communicate/utf8/no-pipes 1564s ok 48 /gsubprocess/communicate/utf8/separate-stderr 1564s ok 49 /gsubprocess/communicate/utf8/stdout-only 1564s # hello world 1564s ok 50 /gsubprocess/communicate/utf8/stderr-only 1564s ok 51 /gsubprocess/communicate/utf8/stdout-silence 1564s ok 52 /gsubprocess/communicate/utf8/invalid 1564s # Start of async tests 1564s ok 53 /gsubprocess/communicate/utf8/async/cancelled 1564s # hello world 1564s ok 54 /gsubprocess/communicate/utf8/async/no-pipes 1564s ok 55 /gsubprocess/communicate/utf8/async/separate-stderr 1564s ok 56 /gsubprocess/communicate/utf8/async/stdout-only 1564s # hello world 1564s ok 57 /gsubprocess/communicate/utf8/async/stderr-only 1564s ok 58 /gsubprocess/communicate/utf8/async/stdout-silence 1564s ok 59 /gsubprocess/communicate/utf8/async/invalid 1564s # Start of cancelled tests 1564s ok 60 /gsubprocess/communicate/utf8/async/cancelled/no-pipes 1564s ok 61 /gsubprocess/communicate/utf8/async/cancelled/separate-stderr 1564s ok 62 /gsubprocess/communicate/utf8/async/cancelled/stdout-only 1564s ok 63 /gsubprocess/communicate/utf8/async/cancelled/stderr-only 1564s ok 64 /gsubprocess/communicate/utf8/async/cancelled/stdout-silence 1564s # End of cancelled tests 1564s # End of async tests 1564s # Start of cancelled tests 1564s ok 65 /gsubprocess/communicate/utf8/cancelled/no-pipes 1564s ok 66 /gsubprocess/communicate/utf8/cancelled/separate-stderr 1564s ok 67 /gsubprocess/communicate/utf8/cancelled/stdout-only 1564s ok 68 /gsubprocess/communicate/utf8/cancelled/stderr-only 1564s ok 69 /gsubprocess/communicate/utf8/cancelled/stdout-silence 1564s # End of cancelled tests 1564s # End of utf8 tests 1564s # Start of cancelled tests 1564s ok 70 /gsubprocess/communicate/cancelled/no-pipes 1564s ok 71 /gsubprocess/communicate/cancelled/separate-stderr 1564s ok 72 /gsubprocess/communicate/cancelled/stdout-only 1564s ok 73 /gsubprocess/communicate/cancelled/stderr-only 1564s ok 74 /gsubprocess/communicate/cancelled/stdout-silence 1564s # End of cancelled tests 1564s # End of communicate tests 1564s # Start of env tests 1564s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1564s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1564s ok 75 /gsubprocess/env/inherit 1564s # End of env tests 1564s # Start of pass-fd tests 1564s ok 76 /gsubprocess/pass-fd/basic 1564s ok 77 /gsubprocess/pass-fd/empty-child-setup 1564s ok 78 /gsubprocess/pass-fd/inherit-fds 1564s # End of pass-fd tests 1564s # Start of fd-conflation tests 1564s ok 79 /gsubprocess/fd-conflation/basic 1564s ok 80 /gsubprocess/fd-conflation/empty-child-setup 1564s ok 81 /gsubprocess/fd-conflation/inherit-fds 1564s ok 82 /gsubprocess/fd-conflation/child-err-report-fd 1564s # End of fd-conflation tests 1564s # Start of exit-status tests 1564s # /gsubprocess/exit-status/trapped summary: Test that exit status is reported correctly for ptrace()d child processes 1564s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/merge_requests/3433 1564s ok 83 /gsubprocess/exit-status/trapped 1564s # End of exit-status tests 1564s # End of gsubprocess tests 1564s ok - glib/gsubprocess.test 1564s # Running test: glib/gdbus-test-codegen.test 1564s TAP version 13 1564s # random seed: R02S7011f651d97d6411e35253d29a5bccb9 1564s 1..8 1564s # Start of gdbus tests 1564s # Start of codegen tests 1564s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen_SE8NK2/gdbus/codegen/annotations/.dirs/home 1564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen_SE8NK2/gdbus/codegen/annotations/.dirs/cache 1564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen_SE8NK2/gdbus/codegen/annotations/.dirs/system-config1:/tmp/test_gdbus-test-codegen_SE8NK2/gdbus/codegen/annotations/.dirs/system-config2 1564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen_SE8NK2/gdbus/codegen/annotations/.dirs/config 1564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen_SE8NK2/gdbus/codegen/annotations/.dirs/system-data1:/tmp/test_gdbus-test-codegen_SE8NK2/gdbus/codegen/annotations/.dirs/system-data2 1564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen_SE8NK2/gdbus/codegen/annotations/.dirs/data 1564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen_SE8NK2/gdbus/codegen/annotations/.dirs/state 1564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen_SE8NK2/gdbus/codegen/annotations/.dirs/runtime 1564s ok 1 /gdbus/codegen/annotations 1564s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen_SE8NK2/gdbus/codegen/interface_stability/.dirs/home 1564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen_SE8NK2/gdbus/codegen/interface_stability/.dirs/cache 1564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen_SE8NK2/gdbus/codegen/interface_stability/.dirs/system-config1:/tmp/test_gdbus-test-codegen_SE8NK2/gdbus/codegen/interface_stability/.dirs/system-config2 1564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen_SE8NK2/gdbus/codegen/interface_stability/.dirs/config 1564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen_SE8NK2/gdbus/codegen/interface_stability/.dirs/system-data1:/tmp/test_gdbus-test-codegen_SE8NK2/gdbus/codegen/interface_stability/.dirs/system-data2 1564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen_SE8NK2/gdbus/codegen/interface_stability/.dirs/data 1564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen_SE8NK2/gdbus/codegen/interface_stability/.dirs/state 1564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen_SE8NK2/gdbus/codegen/interface_stability/.dirs/runtime 1564s ok 2 /gdbus/codegen/interface_stability 1564s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen_SE8NK2/gdbus/codegen/object-manager/.dirs/home 1564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen_SE8NK2/gdbus/codegen/object-manager/.dirs/cache 1564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen_SE8NK2/gdbus/codegen/object-manager/.dirs/system-config1:/tmp/test_gdbus-test-codegen_SE8NK2/gdbus/codegen/object-manager/.dirs/system-config2 1564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen_SE8NK2/gdbus/codegen/object-manager/.dirs/config 1564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen_SE8NK2/gdbus/codegen/object-manager/.dirs/system-data1:/tmp/test_gdbus-test-codegen_SE8NK2/gdbus/codegen/object-manager/.dirs/system-data2 1564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen_SE8NK2/gdbus/codegen/object-manager/.dirs/data 1564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen_SE8NK2/gdbus/codegen/object-manager/.dirs/state 1564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen_SE8NK2/gdbus/codegen/object-manager/.dirs/runtime 1564s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1564s ok 3 /gdbus/codegen/object-manager 1564s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen_SE8NK2/gdbus/codegen/property-naming/.dirs/home 1564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen_SE8NK2/gdbus/codegen/property-naming/.dirs/cache 1564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen_SE8NK2/gdbus/codegen/property-naming/.dirs/system-config1:/tmp/test_gdbus-test-codegen_SE8NK2/gdbus/codegen/property-naming/.dirs/system-config2 1564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen_SE8NK2/gdbus/codegen/property-naming/.dirs/config 1564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen_SE8NK2/gdbus/codegen/property-naming/.dirs/system-data1:/tmp/test_gdbus-test-codegen_SE8NK2/gdbus/codegen/property-naming/.dirs/system-data2 1564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen_SE8NK2/gdbus/codegen/property-naming/.dirs/data 1564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen_SE8NK2/gdbus/codegen/property-naming/.dirs/state 1564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen_SE8NK2/gdbus/codegen/property-naming/.dirs/runtime 1564s ok 4 /gdbus/codegen/property-naming 1564s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen_SE8NK2/gdbus/codegen/autocleanups/.dirs/home 1564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen_SE8NK2/gdbus/codegen/autocleanups/.dirs/cache 1564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen_SE8NK2/gdbus/codegen/autocleanups/.dirs/system-config1:/tmp/test_gdbus-test-codegen_SE8NK2/gdbus/codegen/autocleanups/.dirs/system-config2 1564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen_SE8NK2/gdbus/codegen/autocleanups/.dirs/config 1564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen_SE8NK2/gdbus/codegen/autocleanups/.dirs/system-data1:/tmp/test_gdbus-test-codegen_SE8NK2/gdbus/codegen/autocleanups/.dirs/system-data2 1564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen_SE8NK2/gdbus/codegen/autocleanups/.dirs/data 1564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen_SE8NK2/gdbus/codegen/autocleanups/.dirs/state 1564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen_SE8NK2/gdbus/codegen/autocleanups/.dirs/runtime 1564s ok 5 /gdbus/codegen/autocleanups 1564s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen_SE8NK2/gdbus/codegen/deprecations/.dirs/home 1564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen_SE8NK2/gdbus/codegen/deprecations/.dirs/cache 1564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen_SE8NK2/gdbus/codegen/deprecations/.dirs/system-config1:/tmp/test_gdbus-test-codegen_SE8NK2/gdbus/codegen/deprecations/.dirs/system-config2 1564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen_SE8NK2/gdbus/codegen/deprecations/.dirs/config 1564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen_SE8NK2/gdbus/codegen/deprecations/.dirs/system-data1:/tmp/test_gdbus-test-codegen_SE8NK2/gdbus/codegen/deprecations/.dirs/system-data2 1564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen_SE8NK2/gdbus/codegen/deprecations/.dirs/data 1564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen_SE8NK2/gdbus/codegen/deprecations/.dirs/state 1564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen_SE8NK2/gdbus/codegen/deprecations/.dirs/runtime 1564s ok 6 /gdbus/codegen/deprecations 1564s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen_SE8NK2/gdbus/codegen/standalone-interface-info/.dirs/home 1564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen_SE8NK2/gdbus/codegen/standalone-interface-info/.dirs/cache 1564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen_SE8NK2/gdbus/codegen/standalone-interface-info/.dirs/system-config1:/tmp/test_gdbus-test-codegen_SE8NK2/gdbus/codegen/standalone-interface-info/.dirs/system-config2 1564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen_SE8NK2/gdbus/codegen/standalone-interface-info/.dirs/config 1564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen_SE8NK2/gdbus/codegen/standalone-interface-info/.dirs/system-data1:/tmp/test_gdbus-test-codegen_SE8NK2/gdbus/codegen/standalone-interface-info/.dirs/system-data2 1564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen_SE8NK2/gdbus/codegen/standalone-interface-info/.dirs/data 1564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen_SE8NK2/gdbus/codegen/standalone-interface-info/.dirs/state 1564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen_SE8NK2/gdbus/codegen/standalone-interface-info/.dirs/runtime 1564s ok 7 /gdbus/codegen/standalone-interface-info 1564s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen_SE8NK2/gdbus/codegen/unix-fd-list/.dirs/home 1564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen_SE8NK2/gdbus/codegen/unix-fd-list/.dirs/cache 1564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen_SE8NK2/gdbus/codegen/unix-fd-list/.dirs/system-config1:/tmp/test_gdbus-test-codegen_SE8NK2/gdbus/codegen/unix-fd-list/.dirs/system-config2 1564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen_SE8NK2/gdbus/codegen/unix-fd-list/.dirs/config 1564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen_SE8NK2/gdbus/codegen/unix-fd-list/.dirs/system-data1:/tmp/test_gdbus-test-codegen_SE8NK2/gdbus/codegen/unix-fd-list/.dirs/system-data2 1564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen_SE8NK2/gdbus/codegen/unix-fd-list/.dirs/data 1564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen_SE8NK2/gdbus/codegen/unix-fd-list/.dirs/state 1564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen_SE8NK2/gdbus/codegen/unix-fd-list/.dirs/runtime 1564s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1726 1564s ok 8 /gdbus/codegen/unix-fd-list 1564s # End of codegen tests 1564s # End of gdbus tests 1564s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1564s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1564s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1564s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1564s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1564s ok - glib/gdbus-test-codegen.test 1564s cleaning up pid 13124 1564s # Running test: glib/gobject-private.test 1564s TAP version 13 1564s # random seed: R02Se1aac8f1e586d05a03e37f63909bb490 1564s 1..3 1564s # Start of private tests 1564s ok 1 /private/instance 1564s ok 2 /private/derived-instance 1564s ok 3 /private/mixed-derived-instance 1564s # End of private tests 1564s ok - glib/gobject-private.test 1564s # Running test: glib/memchunk.test 1564s TAP version 13 1564s # random seed: R02S709abd7023e1718bb2a9d80cf7278891 1564s 1..1 1564s # Start of memchunk tests 1564s ok 1 /memchunk/basic 1564s # End of memchunk tests 1564s ok - glib/memchunk.test 1564s # Running test: glib/pollable.test 1564s TAP version 13 1564s # random seed: R02S00decadc9c5bdc5202b42229e594db54 1564s 1..6 1564s # Start of pollable tests 1564s ok 1 /pollable/converter 1564s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation dummy (GDummyProxyResolver) for ?gio-proxy-resolver? 1564s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x2aa33657670 and GSocketClientAsyncConnectData 0x2aa3364a9a0 1564s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1564s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1564s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x2aa336586f0 for GSocketClientAsyncConnectData 0x2aa3364a9a0 1564s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1564s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 1564s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 1564s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 1564s ok 2 /pollable/socket 1564s # Start of unix tests 1564s # /pollable/unix/pipe summary: Test that pipes are considered pollable, just like sockets 1564s ok 3 /pollable/unix/pipe 1564s # /pollable/unix/pty summary: Test that PTYs are considered pollable 1564s ok 4 /pollable/unix/pty 1564s # /pollable/unix/file summary: Test that regular files are not considered pollable 1564s ok 5 /pollable/unix/file 1564s # /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 1564s ok 6 /pollable/unix/nulldev 1564s # End of unix tests 1564s # End of pollable tests 1564s ok - glib/pollable.test 1564s # Running test: glib/struct-info.test 1564s TAP version 13 1564s # random seed: R02Sb07f2e73860f54fbd5a801855671bfae 1564s 1..4 1564s # Start of struct-info tests 1564s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_struct-info_LDVPK2/struct-info/field-iterators/.dirs/home 1564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_struct-info_LDVPK2/struct-info/field-iterators/.dirs/cache 1564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_struct-info_LDVPK2/struct-info/field-iterators/.dirs/system-config1:/tmp/test_struct-info_LDVPK2/struct-info/field-iterators/.dirs/system-config2 1564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_struct-info_LDVPK2/struct-info/field-iterators/.dirs/config 1564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_struct-info_LDVPK2/struct-info/field-iterators/.dirs/system-data1:/tmp/test_struct-info_LDVPK2/struct-info/field-iterators/.dirs/system-data2 1564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_struct-info_LDVPK2/struct-info/field-iterators/.dirs/data 1564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_struct-info_LDVPK2/struct-info/field-iterators/.dirs/state 1564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_struct-info_LDVPK2/struct-info/field-iterators/.dirs/runtime 1564s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1564s # /struct-info/field-iterators summary: Test iterating through a struct's fields with gi_struct_info_get_field() 1564s ok 1 /struct-info/field-iterators 1564s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_struct-info_LDVPK2/struct-info/sizeof-gvalue/.dirs/home 1564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_struct-info_LDVPK2/struct-info/sizeof-gvalue/.dirs/cache 1564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_struct-info_LDVPK2/struct-info/sizeof-gvalue/.dirs/system-config1:/tmp/test_struct-info_LDVPK2/struct-info/sizeof-gvalue/.dirs/system-config2 1564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_struct-info_LDVPK2/struct-info/sizeof-gvalue/.dirs/config 1564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_struct-info_LDVPK2/struct-info/sizeof-gvalue/.dirs/system-data1:/tmp/test_struct-info_LDVPK2/struct-info/sizeof-gvalue/.dirs/system-data2 1564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_struct-info_LDVPK2/struct-info/sizeof-gvalue/.dirs/data 1564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_struct-info_LDVPK2/struct-info/sizeof-gvalue/.dirs/state 1564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_struct-info_LDVPK2/struct-info/sizeof-gvalue/.dirs/runtime 1564s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1564s # /struct-info/sizeof-gvalue summary: Test that gi_struct_info_get_size() reports the correct sizeof GValue 1564s ok 2 /struct-info/sizeof-gvalue 1564s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_struct-info_LDVPK2/struct-info/is-pointer-for-struct-method-arg/.dirs/home 1564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_struct-info_LDVPK2/struct-info/is-pointer-for-struct-method-arg/.dirs/cache 1564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_struct-info_LDVPK2/struct-info/is-pointer-for-struct-method-arg/.dirs/system-config1:/tmp/test_struct-info_LDVPK2/struct-info/is-pointer-for-struct-method-arg/.dirs/system-config2 1564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_struct-info_LDVPK2/struct-info/is-pointer-for-struct-method-arg/.dirs/config 1564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_struct-info_LDVPK2/struct-info/is-pointer-for-struct-method-arg/.dirs/system-data1:/tmp/test_struct-info_LDVPK2/struct-info/is-pointer-for-struct-method-arg/.dirs/system-data2 1564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_struct-info_LDVPK2/struct-info/is-pointer-for-struct-method-arg/.dirs/data 1564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_struct-info_LDVPK2/struct-info/is-pointer-for-struct-method-arg/.dirs/state 1564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_struct-info_LDVPK2/struct-info/is-pointer-for-struct-method-arg/.dirs/runtime 1564s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1564s # /struct-info/is-pointer-for-struct-method-arg summary: Test that a struct method reports the correct type with gi_type_info_is_pointer() 1564s ok 3 /struct-info/is-pointer-for-struct-method-arg 1564s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_struct-info_LDVPK2/struct-info/boxed/.dirs/home 1564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_struct-info_LDVPK2/struct-info/boxed/.dirs/cache 1564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_struct-info_LDVPK2/struct-info/boxed/.dirs/system-config1:/tmp/test_struct-info_LDVPK2/struct-info/boxed/.dirs/system-config2 1564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_struct-info_LDVPK2/struct-info/boxed/.dirs/config 1564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_struct-info_LDVPK2/struct-info/boxed/.dirs/system-data1:/tmp/test_struct-info_LDVPK2/struct-info/boxed/.dirs/system-data2 1564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_struct-info_LDVPK2/struct-info/boxed/.dirs/data 1564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_struct-info_LDVPK2/struct-info/boxed/.dirs/state 1564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_struct-info_LDVPK2/struct-info/boxed/.dirs/runtime 1564s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1564s # /struct-info/boxed summary: Test that a boxed struct is recognised as such 1564s ok 4 /struct-info/boxed 1564s # End of struct-info tests 1564s ok - glib/struct-info.test 1564s # Running test: glib/cxx-20.test 1564s TAP version 13 1564s # random seed: R02S15533d2e1d80be84befee6c15013d6de 1564s 1..2 1564s # Start of gtask tests 1564s # 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. 1564s ok 1 /gtask/name 1564s # Start of name tests 1564s # 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. 1564s ok 2 /gtask/name/macro-wrapper 1564s # End of name tests 1564s # End of gtask tests 1564s ok - glib/cxx-20.test 1564s # Running test: glib/thumbnail-verification.test 1564s TAP version 13 1564s # random seed: R02Sc7eb720c6a200d68abf421c5cc1fac24 1564s 1..1 1564s # Start of png-thumbs tests 1564s ok 1 /png-thumbs/validity 1564s # End of png-thumbs tests 1564s ok - glib/thumbnail-verification.test 1564s # Running test: glib/throws.test 1564s TAP version 13 1564s # random seed: R02Sd35d4ef92e24f6ca8fb00c47c60812e4 1564s 1..3 1564s # Start of throws tests 1564s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_throws_4NAQK2/throws/invoke-gerror/.dirs/home 1564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_throws_4NAQK2/throws/invoke-gerror/.dirs/cache 1564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_throws_4NAQK2/throws/invoke-gerror/.dirs/system-config1:/tmp/test_throws_4NAQK2/throws/invoke-gerror/.dirs/system-config2 1564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_throws_4NAQK2/throws/invoke-gerror/.dirs/config 1564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_throws_4NAQK2/throws/invoke-gerror/.dirs/system-data1:/tmp/test_throws_4NAQK2/throws/invoke-gerror/.dirs/system-data2 1564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_throws_4NAQK2/throws/invoke-gerror/.dirs/data 1564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_throws_4NAQK2/throws/invoke-gerror/.dirs/state 1564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_throws_4NAQK2/throws/invoke-gerror/.dirs/runtime 1564s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1564s # /throws/invoke-gerror summary: Test invoking a function that throws a GError 1564s ok 1 /throws/invoke-gerror 1564s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_throws_4NAQK2/throws/vfunc-can-throw-gerror/.dirs/home 1564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_throws_4NAQK2/throws/vfunc-can-throw-gerror/.dirs/cache 1564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_throws_4NAQK2/throws/vfunc-can-throw-gerror/.dirs/system-config1:/tmp/test_throws_4NAQK2/throws/vfunc-can-throw-gerror/.dirs/system-config2 1564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_throws_4NAQK2/throws/vfunc-can-throw-gerror/.dirs/config 1564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_throws_4NAQK2/throws/vfunc-can-throw-gerror/.dirs/system-data1:/tmp/test_throws_4NAQK2/throws/vfunc-can-throw-gerror/.dirs/system-data2 1564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_throws_4NAQK2/throws/vfunc-can-throw-gerror/.dirs/data 1564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_throws_4NAQK2/throws/vfunc-can-throw-gerror/.dirs/state 1564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_throws_4NAQK2/throws/vfunc-can-throw-gerror/.dirs/runtime 1564s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1564s # /throws/vfunc-can-throw-gerror summary: Test gi_callable_info_can_throw_gerror() on a vfunc 1564s ok 2 /throws/vfunc-can-throw-gerror 1564s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_throws_4NAQK2/throws/callback-can-throw-gerror/.dirs/home 1564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_throws_4NAQK2/throws/callback-can-throw-gerror/.dirs/cache 1564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_throws_4NAQK2/throws/callback-can-throw-gerror/.dirs/system-config1:/tmp/test_throws_4NAQK2/throws/callback-can-throw-gerror/.dirs/system-config2 1564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_throws_4NAQK2/throws/callback-can-throw-gerror/.dirs/config 1564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_throws_4NAQK2/throws/callback-can-throw-gerror/.dirs/system-data1:/tmp/test_throws_4NAQK2/throws/callback-can-throw-gerror/.dirs/system-data2 1564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_throws_4NAQK2/throws/callback-can-throw-gerror/.dirs/data 1564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_throws_4NAQK2/throws/callback-can-throw-gerror/.dirs/state 1564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_throws_4NAQK2/throws/callback-can-throw-gerror/.dirs/runtime 1564s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1564s # /throws/callback-can-throw-gerror summary: Test gi_callable_info_can_throw_gerror() on a callback 1564s ok 3 /throws/callback-can-throw-gerror 1564s # End of throws tests 1564s ok - glib/throws.test 1564s # Running test: glib/option-argv0.test 1564s TAP version 13 1564s # random seed: R02S8e3c79d0b99770e1d99925d9894eb11c 1564s 1..1 1564s # Start of option tests 1564s ok 1 /option/argv0 1564s # End of option tests 1564s ok - glib/option-argv0.test 1564s # Running test: glib/codegen.py.test 1564s TAP version 13 1564s ok 1 __main__.TestCodegen.test_call_flags_and_timeout_method_args 1564s # tmpdir: /tmp/tmpne1kxyh6 1564s # codegen: /usr/bin/gdbus-codegen 1564s # /tmp/tmpne1kxyh6/tmp76e_qsho.xml: 1564s # 1564s # 1564s # 1564s # 1564s # 1564s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpne1kxyh6/tmp76e_qsho.xml', '--output', '-', '--header'] 1564s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-baqskmurxn,guid=fbaffe99d0ccb1f6e1beb84865fc01cd', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.YcZbqk/autopkgtest_tmp', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.YcZbqk/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.YcZbqk/autopkgtest_tmp', 'TERM': 'unknown', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.YcZbqk/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.sVTVMp0Db0', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.rqZsJO/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.YcZbqk/wrapper.sh --artifacts=/tmp/autopkgtest.YcZbqk/installed-tests-artifacts --chdir=/tmp/autopkgtest.YcZbqk/build.S0E/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.YcZbqk/installed-tests-stderr --stdout=/tmp/autopkgtest.YcZbqk/installed-tests-stdout --tmp=/tmp/autopkgtest.YcZbqk/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2' --make-executable=/tmp/autopkgtest.YcZbqk/build.S0E/src/debian/tests/installed-tests -- /tmp/autopkgtest.YcZbqk/build.S0E/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.YcZbqk/build.S0E/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.YcZbqk/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1564s # Output: /* 1564s # * This file is generated by gdbus-codegen, do not modify it. 1564s # * 1564s # * The license of this code is the same as for the D-Bus interface description 1564s # * it was derived from. Note that it links to GLib, so must comply with the 1564s # * LGPL linking clauses. 1564s # */ 1564s # 1564s # #ifndef __STDOUT__ 1564s # #define __STDOUT__ 1564s # 1564s # #include 1564s # 1564s # G_BEGIN_DECLS 1564s # 1564s # 1564s # /* ------------------------------------------------------------------------ */ 1564s # /* Declarations for org.project.UsefulInterface */ 1564s # 1564s # #define TYPE_ORG_PROJECT_USEFUL_INTERFACE (org_project_useful_interface_get_type ()) 1564s # #define ORG_PROJECT_USEFUL_INTERFACE(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE, OrgProjectUsefulInterface)) 1564s # #define IS_ORG_PROJECT_USEFUL_INTERFACE(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE)) 1564s # #define ORG_PROJECT_USEFUL_INTERFACE_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE, OrgProjectUsefulInterfaceIface)) 1564s # 1564s # struct _OrgProjectUsefulInterface; 1564s # typedef struct _OrgProjectUsefulInterface OrgProjectUsefulInterface; 1564s # typedef struct _OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceIface; 1564s # 1564s # struct _OrgProjectUsefulInterfaceIface 1564s # { 1564s # GTypeInterface parent_iface; 1564s # 1564s # gboolean (*handle_useful_method) ( 1564s # OrgProjectUsefulInterface *object, 1564s # GDBusMethodInvocation *invocation); 1564s # 1564s # }; 1564s # 1564s # GType org_project_useful_interface_get_type (void) G_GNUC_CONST; 1564s # 1564s # GDBusInterfaceInfo *org_project_useful_interface_interface_info (void); 1564s # guint org_project_useful_interface_override_properties (GObjectClass *klass, guint property_id_begin); 1564s # 1564s # 1564s # /* D-Bus method call completion functions: */ 1564s # void org_project_useful_interface_complete_useful_method ( 1564s # OrgProjectUsefulInterface *object, 1564s # GDBusMethodInvocation *invocation); 1564s # 1564s # 1564s # 1564s # /* D-Bus method calls: */ 1564s # void org_project_useful_interface_call_useful_method ( 1564s # OrgProjectUsefulInterface *proxy, 1564s # GCancellable *cancellable, 1564s # GAsyncReadyCallback callback, 1564s # gpointer user_data); 1564s # 1564s # gboolean org_project_useful_interface_call_useful_method_finish ( 1564s # OrgProjectUsefulInterface *proxy, 1564s # GAsyncResult *res, 1564s # GError **error); 1564s # 1564s # gboolean org_project_useful_interface_call_useful_method_sync ( 1564s # OrgProjectUsefulInterface *proxy, 1564s # GCancellable *cancellable, 1564s # GError **error); 1564s # 1564s # 1564s # 1564s # /* ---- */ 1564s # 1564s # #define TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY (org_project_useful_interface_proxy_get_type ()) 1564s # #define ORG_PROJECT_USEFUL_INTERFACE_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxy)) 1564s # #define ORG_PROJECT_USEFUL_INTERFACE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyClass)) 1564s # #define ORG_PROJECT_USEFUL_INTERFACE_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyClass)) 1564s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY)) 1564s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY)) 1564s # 1564s # typedef struct _OrgProjectUsefulInterfaceProxy OrgProjectUsefulInterfaceProxy; 1564s # typedef struct _OrgProjectUsefulInterfaceProxyClass OrgProjectUsefulInterfaceProxyClass; 1564s # typedef struct _OrgProjectUsefulInterfaceProxyPrivate OrgProjectUsefulInterfaceProxyPrivate; 1564s # 1564s # struct _OrgProjectUsefulInterfaceProxy 1564s # { 1564s # /*< private >*/ 1564s # GDBusProxy parent_instance; 1564s # OrgProjectUsefulInterfaceProxyPrivate *priv; 1564s # }; 1564s # 1564s # struct _OrgProjectUsefulInterfaceProxyClass 1564s # { 1564s # GDBusProxyClass parent_class; 1564s # }; 1564s # 1564s # GType org_project_useful_interface_proxy_get_type (void) G_GNUC_CONST; 1564s # 1564s # #if GLIB_CHECK_VERSION(2, 44, 0) 1564s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectUsefulInterfaceProxy, g_object_unref) 1564s # #endif 1564s # 1564s # void org_project_useful_interface_proxy_new ( 1564s # GDBusConnection *connection, 1564s # GDBusProxyFlags flags, 1564s # const gchar *name, 1564s # const gchar *object_path, 1564s # GCancellable *cancellable, 1564s # GAsyncReadyCallback callback, 1564s # gpointer user_data); 1564s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_finish ( 1564s # GAsyncResult *res, 1564s # GError **error); 1564s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_sync ( 1564s # GDBusConnection *connection, 1564s # GDBusProxyFlags flags, 1564s # const gchar *name, 1564s # const gchar *object_path, 1564s # GCancellable *cancellable, 1564s # GError **error); 1564s # 1564s # void org_project_useful_interface_proxy_new_for_bus ( 1564s # GBusType bus_type, 1564s # GDBusProxyFlags flags, 1564s # const gchar *name, 1564s # const gchar *object_path, 1564s # GCancellable *cancellable, 1564s # GAsyncReadyCallback callback, 1564s # gpointer user_data); 1564s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_for_bus_finish ( 1564s # GAsyncResult *res, 1564s # GError **error); 1564s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_for_bus_sync ( 1564s # GBusType bus_type, 1564s # GDBusProxyFlags flags, 1564s # const gchar *name, 1564s # const gchar *object_path, 1564s # GCancellable *cancellable, 1564s # GError **error); 1564s # 1564s # 1564s # /* ---- */ 1564s # 1564s # #define TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON (org_project_useful_interface_skeleton_get_type ()) 1564s # #define ORG_PROJECT_USEFUL_INTERFACE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeleton)) 1564s # #define ORG_PROJECT_USEFUL_INTERFACE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonClass)) 1564s # #define ORG_PROJECT_USEFUL_INTERFACE_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonClass)) 1564s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON)) 1564s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON)) 1564s # 1564s # typedef struct _OrgProjectUsefulInterfaceSkeleton OrgProjectUsefulInterfaceSkeleton; 1564s # typedef struct _OrgProjectUsefulInterfaceSkeletonClass OrgProjectUsefulInterfaceSkeletonClass; 1564s # typedef struct _OrgProjectUsefulInterfaceSkeletonPrivate OrgProjectUsefulInterfaceSkeletonPrivate; 1564s # 1564s # struct _OrgProjectUsefulInterfaceSkeleton 1564s # { 1564s # /*< private >*/ 1564s # GDBusInterfaceSkeleton parent_instance; 1564s # OrgProjectUsefulInterfaceSkeletonPrivate *priv; 1564s # }; 1564s # 1564s # struct _OrgProjectUsefulInterfaceSkeletonClass 1564s # { 1564s # GDBusInterfaceSkeletonClass parent_class; 1564s # }; 1564s # 1564s # GType org_project_useful_interface_skeleton_get_type (void) G_GNUC_CONST; 1564s # 1564s # #if GLIB_CHECK_VERSION(2, 44, 0) 1564s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectUsefulInterfaceSkeleton, g_object_unref) 1564s # #endif 1564s # 1564s # OrgProjectUsefulInterface *org_project_useful_interface_skeleton_new (void); 1564s # 1564s # 1564s # G_END_DECLS 1564s # 1564s # #endif /* __STDOUT__ */ 1564s # /tmp/tmpne1kxyh6/tmp670e9b6c.xml: 1564s # 1564s # 1564s # 1564s # 1564s # 1564s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpne1kxyh6/tmp670e9b6c.xml', '--output', '-', '--header', '--glib-min-required', '2.32'] 1564s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-baqskmurxn,guid=fbaffe99d0ccb1f6e1beb84865fc01cd', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.YcZbqk/autopkgtest_tmp', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.YcZbqk/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.YcZbqk/autopkgtest_tmp', 'TERM': 'unknown', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.YcZbqk/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.sVTVMp0Db0', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.rqZsJO/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.YcZbqk/wrapper.sh --artifacts=/tmp/autopkgtest.YcZbqk/installed-tests-artifacts --chdir=/tmp/autopkgtest.YcZbqk/build.S0E/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.YcZbqk/installed-tests-stderr --stdout=/tmp/autopkgtest.YcZbqk/installed-tests-stdout --tmp=/tmp/autopkgtest.YcZbqk/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2' --make-executable=/tmp/autopkgtest.YcZbqk/build.S0E/src/debian/tests/installed-tests -- /tmp/autopkgtest.YcZbqk/build.S0E/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.YcZbqk/build.S0E/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.YcZbqk/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1564s # Output: /* 1564s # * This file is generated by gdbus-codegen, do not modify it. 1564s # * 1564s # * The license of this code is the same as for the D-Bus interface description 1564s # * it was derived from. Note that it links to GLib, so must comply with the 1564s # * LGPL linking clauses. 1564s # */ 1564s # 1564s # #ifndef __STDOUT__ 1564s # #define __STDOUT__ 1564s # 1564s # #include 1564s # 1564s # G_BEGIN_DECLS 1564s # 1564s # 1564s # /* ------------------------------------------------------------------------ */ 1564s # /* Declarations for org.project.UsefulInterface */ 1564s # 1564s # #define TYPE_ORG_PROJECT_USEFUL_INTERFACE (org_project_useful_interface_get_type ()) 1564s # #define ORG_PROJECT_USEFUL_INTERFACE(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE, OrgProjectUsefulInterface)) 1564s # #define IS_ORG_PROJECT_USEFUL_INTERFACE(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE)) 1564s # #define ORG_PROJECT_USEFUL_INTERFACE_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE, OrgProjectUsefulInterfaceIface)) 1564s # 1564s # struct _OrgProjectUsefulInterface; 1564s # typedef struct _OrgProjectUsefulInterface OrgProjectUsefulInterface; 1564s # typedef struct _OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceIface; 1564s # 1564s # struct _OrgProjectUsefulInterfaceIface 1564s # { 1564s # GTypeInterface parent_iface; 1564s # 1564s # gboolean (*handle_useful_method) ( 1564s # OrgProjectUsefulInterface *object, 1564s # GDBusMethodInvocation *invocation); 1564s # 1564s # }; 1564s # 1564s # GType org_project_useful_interface_get_type (void) G_GNUC_CONST; 1564s # 1564s # GDBusInterfaceInfo *org_project_useful_interface_interface_info (void); 1564s # guint org_project_useful_interface_override_properties (GObjectClass *klass, guint property_id_begin); 1564s # 1564s # 1564s # /* D-Bus method call completion functions: */ 1564s # void org_project_useful_interface_complete_useful_method ( 1564s # OrgProjectUsefulInterface *object, 1564s # GDBusMethodInvocation *invocation); 1564s # 1564s # 1564s # 1564s # /* D-Bus method calls: */ 1564s # void org_project_useful_interface_call_useful_method ( 1564s # OrgProjectUsefulInterface *proxy, 1564s # GCancellable *cancellable, 1564s # GAsyncReadyCallback callback, 1564s # gpointer user_data); 1564s # 1564s # gboolean org_project_useful_interface_call_useful_method_finish ( 1564s # OrgProjectUsefulInterface *proxy, 1564s # GAsyncResult *res, 1564s # GError **error); 1564s # 1564s # gboolean org_project_useful_interface_call_useful_method_sync ( 1564s # OrgProjectUsefulInterface *proxy, 1564s # GCancellable *cancellable, 1564s # GError **error); 1564s # 1564s # 1564s # 1564s # /* ---- */ 1564s # 1564s # #define TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY (org_project_useful_interface_proxy_get_type ()) 1564s # #define ORG_PROJECT_USEFUL_INTERFACE_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxy)) 1564s # #define ORG_PROJECT_USEFUL_INTERFACE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyClass)) 1564s # #define ORG_PROJECT_USEFUL_INTERFACE_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyClass)) 1564s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY)) 1564s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY)) 1564s # 1564s # typedef struct _OrgProjectUsefulInterfaceProxy OrgProjectUsefulInterfaceProxy; 1564s # typedef struct _OrgProjectUsefulInterfaceProxyClass OrgProjectUsefulInterfaceProxyClass; 1564s # typedef struct _OrgProjectUsefulInterfaceProxyPrivate OrgProjectUsefulInterfaceProxyPrivate; 1564s # 1564s # struct _OrgProjectUsefulInterfaceProxy 1564s # { 1564s # /*< private >*/ 1564s # GDBusProxy parent_instance; 1564s # OrgProjectUsefulInterfaceProxyPrivate *priv; 1564s # }; 1564s # 1564s # struct _OrgProjectUsefulInterfaceProxyClass 1564s # { 1564s # GDBusProxyClass parent_class; 1564s # }; 1564s # 1564s # GType org_project_useful_interface_proxy_get_type (void) G_GNUC_CONST; 1564s # 1564s # #if GLIB_CHECK_VERSION(2, 44, 0) 1564s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectUsefulInterfaceProxy, g_object_unref) 1564s # #endif 1564s # 1564s # void org_project_useful_interface_proxy_new ( 1564s # GDBusConnection *connection, 1564s # GDBusProxyFlags flags, 1564s # const gchar *name, 1564s # const gchar *object_path, 1564s # GCancellable *cancellable, 1564s # GAsyncReadyCallback callback, 1564s # gpointer user_data); 1564s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_finish ( 1564s # GAsyncResult *res, 1564s # GError **error); 1564s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_sync ( 1564s # GDBusConnection *connection, 1564s # GDBusProxyFlags flags, 1564s # const gchar *name, 1564s # const gchar *object_path, 1564s # GCancellable *cancellable, 1564s # GError **error); 1564s # 1564s # void org_project_useful_interface_proxy_new_for_bus ( 1564s # GBusType bus_type, 1564s # GDBusProxyFlags flags, 1564s # const gchar *name, 1564s # const gchar *object_path, 1564s # GCancellable *cancellable, 1564s # GAsyncReadyCallback callback, 1564s # gpointer user_data); 1564s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_for_bus_finish ( 1564s # GAsyncResult *res, 1564s # GError **error); 1564s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_for_bus_sync ( 1564s # GBusType bus_type, 1564s # GDBusProxyFlags flags, 1564s # const gchar *name, 1564s # const gchar *object_path, 1564s # GCancellable *cancellable, 1564s # GError **error); 1564s # 1564s # 1564s # /* ---- */ 1564s # 1564s # #define TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON (org_project_useful_interface_skeleton_get_type ()) 1564s # #define ORG_PROJECT_USEFUL_INTERFACE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeleton)) 1564s # #define ORG_PROJECT_USEFUL_INTERFACE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonClass)) 1564s # #define ORG_PROJECT_USEFUL_INTERFACE_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonClass)) 1564s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON)) 1564s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON)) 1564s # 1564s # typedef struct _OrgProjectUsefulInterfaceSkeleton OrgProjectUsefulInterfaceSkeleton; 1564s # typedef struct _OrgProjectUsefulInterfaceSkeletonClass OrgProjectUsefulInterfaceSkeletonClass; 1564s # typedef struct _OrgProjectUsefulInterfaceSkeletonPrivate OrgProjectUsefulInterfaceSkeletonPrivate; 1564s # 1564s # struct _OrgProjectUsefulInterfaceSkeleton 1564s # { 1564s # /*< private >*/ 1564s # GDBusInterfaceSkeleton parent_instance; 1564s # OrgProjectUsefulInterfaceSkeletonPrivate *priv; 1564s # }; 1564s # 1564s # struct _OrgProjectUsefulInterfaceSkeletonClass 1564s # { 1564s # GDBusInterfaceSkeletonClass parent_class; 1564s # }; 1564s # 1564s # GType org_project_useful_interface_skeleton_get_type (void) G_GNUC_CONST; 1564s # 1564s # #if GLIB_CHECK_VERSION(2, 44, 0) 1564s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectUsefulInterfaceSkeleton, g_object_unref) 1564s # #endif 1564s # 1564s # OrgProjectUsefulInterface *org_project_useful_interface_skeleton_new (void); 1564s # 1564s # 1564s # G_END_DECLS 1564s # 1564s # #endif /* __STDOUT__ */ 1564s # /tmp/tmpne1kxyh6/tmpi3v9yrx7.xml: 1564s # 1564s # 1564s # 1564s # 1564s # 1564s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpne1kxyh6/tmpi3v9yrx7.xml', '--output', '-', '--header', '--glib-min-required', '2.64'] 1564s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-baqskmurxn,guid=fbaffe99d0ccb1f6e1beb84865fc01cd', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.YcZbqk/autopkgtest_tmp', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.YcZbqk/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.YcZbqk/autopkgtest_tmp', 'TERM': 'unknown', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.YcZbqk/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.sVTVMp0Db0', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.rqZsJO/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.YcZbqk/wrapper.sh --artifacts=/tmp/autopkgtest.YcZbqk/installed-tests-artifacts --chdir=/tmp/autopkgtest.YcZbqk/build.S0E/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.YcZbqk/installed-tests-stderr --stdout=/tmp/autopkgtest.YcZbqk/installed-tests-stdout --tmp=/tmp/autopkgtest.YcZbqk/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2' --make-executable=/tmp/autopkgtest.YcZbqk/build.S0E/src/debian/tests/installed-tests -- /tmp/autopkgtest.YcZbqk/build.S0E/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.YcZbqk/build.S0E/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.YcZbqk/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1564s # Output: /* 1564s # * This file is generated by gdbus-codegen, do not modify it. 1564s # * 1564s # * The license of this code is the same as for the D-Bus interface description 1564s # * it was derived from. Note that it links to GLib, so must comply with the 1564s # * LGPL linking clauses. 1564s # */ 1564s # 1564s # #ifndef __STDOUT__ 1564s # #define __STDOUT__ 1564s # 1564s # #include 1564s # 1564s # G_BEGIN_DECLS 1564s # 1564s # 1564s # /* ------------------------------------------------------------------------ */ 1564s # /* Declarations for org.project.UsefulInterface */ 1564s # 1564s # #define TYPE_ORG_PROJECT_USEFUL_INTERFACE (org_project_useful_interface_get_type ()) 1564s # #define ORG_PROJECT_USEFUL_INTERFACE(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE, OrgProjectUsefulInterface)) 1564s # #define IS_ORG_PROJECT_USEFUL_INTERFACE(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE)) 1564s # #define ORG_PROJECT_USEFUL_INTERFACE_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE, OrgProjectUsefulInterfaceIface)) 1564s # 1564s # struct _OrgProjectUsefulInterface; 1564s # typedef struct _OrgProjectUsefulInterface OrgProjectUsefulInterface; 1564s # typedef struct _OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceIface; 1564s # 1564s # struct _OrgProjectUsefulInterfaceIface 1564s # { 1564s # GTypeInterface parent_iface; 1564s # 1564s # gboolean (*handle_useful_method) ( 1564s # OrgProjectUsefulInterface *object, 1564s # GDBusMethodInvocation *invocation); 1564s # 1564s # }; 1564s # 1564s # GType org_project_useful_interface_get_type (void) G_GNUC_CONST; 1564s # 1564s # GDBusInterfaceInfo *org_project_useful_interface_interface_info (void); 1564s # guint org_project_useful_interface_override_properties (GObjectClass *klass, guint property_id_begin); 1564s # 1564s # 1564s # /* D-Bus method call completion functions: */ 1564s # void org_project_useful_interface_complete_useful_method ( 1564s # OrgProjectUsefulInterface *object, 1564s # GDBusMethodInvocation *invocation); 1564s # 1564s # 1564s # 1564s # /* D-Bus method calls: */ 1564s # void org_project_useful_interface_call_useful_method ( 1564s # OrgProjectUsefulInterface *proxy, 1564s # GDBusCallFlags call_flags, 1564s # gint timeout_msec, 1564s # GCancellable *cancellable, 1564s # GAsyncReadyCallback callback, 1564s # gpointer user_data); 1564s # 1564s # gboolean org_project_useful_interface_call_useful_method_finish ( 1564s # OrgProjectUsefulInterface *proxy, 1564s # GAsyncResult *res, 1564s # GError **error); 1564s # 1564s # gboolean org_project_useful_interface_call_useful_method_sync ( 1564s # OrgProjectUsefulInterface *proxy, 1564s # GDBusCallFlags call_flags, 1564s # gint timeout_msec, 1564s # GCancellable *cancellable, 1564s # GError **error); 1564s # 1564s # 1564s # 1564s # /* ---- */ 1564s # 1564s # #define TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY (org_project_useful_interface_proxy_get_type ()) 1564s # #define ORG_PROJECT_USEFUL_INTERFACE_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxy)) 1564s # #define ORG_PROJECT_USEFUL_INTERFACE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyClass)) 1564s # #define ORG_PROJECT_USEFUL_INTERFACE_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyClass)) 1564s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY)) 1564s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY)) 1564s # 1564s # typedef struct _OrgProjectUsefulInterfaceProxy OrgProjectUsefulInterfaceProxy; 1564s # typedef struct _OrgProjectUsefulInterfaceProxyClass OrgProjectUsefulInterfaceProxyClass; 1564s # typedef struct _OrgProjectUsefulInterfaceProxyPrivate OrgProjectUsefulInterfaceProxyPrivate; 1564s # 1564s # struct _OrgProjectUsefulInterfaceProxy 1564s # { 1564s # /*< private >*/ 1564s # GDBusProxy parent_instance; 1564s # OrgProjectUsefulInterfaceProxyPrivate *priv; 1564s # }; 1564s # 1564s # struct _OrgProjectUsefulInterfaceProxyClass 1564s # { 1564s # GDBusProxyClass parent_class; 1564s # }; 1564s # 1564s # GType org_project_useful_interface_proxy_get_type (void) G_GNUC_CONST; 1564s # 1564s # #if GLIB_CHECK_VERSION(2, 44, 0) 1564s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectUsefulInterfaceProxy, g_object_unref) 1564s # #endif 1564s # 1564s # void org_project_useful_interface_proxy_new ( 1564s # GDBusConnection *connection, 1564s # GDBusProxyFlags flags, 1564s # const gchar *name, 1564s # const gchar *object_path, 1564s # GCancellable *cancellable, 1564s # GAsyncReadyCallback callback, 1564s # gpointer user_data); 1564s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_finish ( 1564s # GAsyncResult *res, 1564s # GError **error); 1564s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_sync ( 1564s # GDBusConnection *connection, 1564s # GDBusProxyFlags flags, 1564s # const gchar *name, 1564s # const gchar *object_path, 1564s # GCancellable *cancellable, 1564s # GError **error); 1564s # 1564s # void org_project_useful_interface_proxy_new_for_bus ( 1564s # GBusType bus_type, 1564s # GDBusProxyFlags flags, 1564s # const gchar *name, 1564s # const gchar *object_path, 1564s # GCancellable *cancellable, 1564s # GAsyncReadyCallback callback, 1564s # gpointer user_data); 1564s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_for_bus_finish ( 1564s # GAsyncResult *res, 1564s # GError **error); 1564s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_for_bus_sync ( 1564s # GBusType bus_type, 1564s # GDBusProxyFlags flags, 1564s # const gchar *name, 1564s # const gchar *object_path, 1564s # GCancellable *cancellable, 1564s # GError **error); 1564s # 1564s # 1564s # /* ---- */ 1564s # 1564s # #define TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON (org_project_useful_interface_skeleton_get_type ()) 1564s # #define ORG_PROJECT_USEFUL_INTERFACE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeleton)) 1564s # #define ORG_PROJECT_USEFUL_INTERFACE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonClass)) 1564s # #define ORG_PROJECT_USEFUL_INTERFACE_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonClass)) 1564s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON)) 1564s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON)) 1564s # 1564s # typedef struct _OrgProjectUsefulInterfaceSkeleton OrgProjectUsefulInterfaceSkeleton; 1564s # typedef struct _OrgProjectUsefulInterfaceSkeletonClass OrgProjectUsefulInterfaceSkeletonClass; 1564s # typedef struct _OrgProjectUsefulInterfaceSkeletonPrivate OrgProjectUsefulInterfaceSkeletonPrivate; 1564s # 1564s # struct _OrgProjectUsefulInterfaceSkeleton 1564s # { 1564s # /*< private >*/ 1564s # GDBusInterfaceSkeleton parent_instance; 1564s # OrgProjectUsefulInterfaceSkeletonPrivate *priv; 1564s # }; 1564s # 1564s # struct _OrgProjectUsefulInterfaceSkeletonClass 1564s # { 1564s # GDBusInterfaceSkeletonClass parent_class; 1564s # }; 1564s # 1564s # GType org_project_useful_interface_skeleton_get_type (void) G_GNUC_CONST; 1564s # 1564s # #if GLIB_CHECK_VERSION(2, 44, 0) 1564s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectUsefulInterfaceSkeleton, g_object_unref) 1564s # #endif 1564s # 1564s # OrgProjectUsefulInterface *org_project_useful_interface_skeleton_new (void); 1564s # 1564s # 1564s # G_END_DECLS 1564s # 1564s # #endif /* __STDOUT__ */ 1565s ok 2 __main__.TestCodegen.test_dbus_types 1565s # tmpdir: /tmp/tmp102oia9v 1565s # codegen: /usr/bin/gdbus-codegen 1565s # /tmp/tmp102oia9v/tmph1t1a8un.xml: 1565s # 1565s # 1565s # 1565s # 1565s # 1565s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp102oia9v/tmph1t1a8un.xml', '--output', '-', '--body'] 1565s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-baqskmurxn,guid=fbaffe99d0ccb1f6e1beb84865fc01cd', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.YcZbqk/autopkgtest_tmp', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.YcZbqk/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.YcZbqk/autopkgtest_tmp', 'TERM': 'unknown', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.YcZbqk/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.sVTVMp0Db0', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.rqZsJO/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.YcZbqk/wrapper.sh --artifacts=/tmp/autopkgtest.YcZbqk/installed-tests-artifacts --chdir=/tmp/autopkgtest.YcZbqk/build.S0E/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.YcZbqk/installed-tests-stderr --stdout=/tmp/autopkgtest.YcZbqk/installed-tests-stdout --tmp=/tmp/autopkgtest.YcZbqk/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2' --make-executable=/tmp/autopkgtest.YcZbqk/build.S0E/src/debian/tests/installed-tests -- /tmp/autopkgtest.YcZbqk/build.S0E/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.YcZbqk/build.S0E/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.YcZbqk/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1565s # /tmp/tmp102oia9v/tmpb2whcflf.xml: 1565s # 1565s # 1565s # 1565s # 1565s # 1565s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp102oia9v/tmpb2whcflf.xml', '--output', '-', '--body'] 1565s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-baqskmurxn,guid=fbaffe99d0ccb1f6e1beb84865fc01cd', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.YcZbqk/autopkgtest_tmp', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.YcZbqk/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.YcZbqk/autopkgtest_tmp', 'TERM': 'unknown', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.YcZbqk/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.sVTVMp0Db0', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.rqZsJO/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.YcZbqk/wrapper.sh --artifacts=/tmp/autopkgtest.YcZbqk/installed-tests-artifacts --chdir=/tmp/autopkgtest.YcZbqk/build.S0E/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.YcZbqk/installed-tests-stderr --stdout=/tmp/autopkgtest.YcZbqk/installed-tests-stdout --tmp=/tmp/autopkgtest.YcZbqk/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2' --make-executable=/tmp/autopkgtest.YcZbqk/build.S0E/src/debian/tests/installed-tests -- /tmp/autopkgtest.YcZbqk/build.S0E/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.YcZbqk/build.S0E/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.YcZbqk/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1565s # /tmp/tmp102oia9v/tmpz7esny8o.xml: 1565s # 1565s # 1565s # 1565s # 1565s # 1565s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp102oia9v/tmpz7esny8o.xml', '--output', '-', '--body'] 1565s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-baqskmurxn,guid=fbaffe99d0ccb1f6e1beb84865fc01cd', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.YcZbqk/autopkgtest_tmp', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.YcZbqk/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.YcZbqk/autopkgtest_tmp', 'TERM': 'unknown', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.YcZbqk/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.sVTVMp0Db0', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.rqZsJO/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.YcZbqk/wrapper.sh --artifacts=/tmp/autopkgtest.YcZbqk/installed-tests-artifacts --chdir=/tmp/autopkgtest.YcZbqk/build.S0E/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.YcZbqk/installed-tests-stderr --stdout=/tmp/autopkgtest.YcZbqk/installed-tests-stdout --tmp=/tmp/autopkgtest.YcZbqk/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2' --make-executable=/tmp/autopkgtest.YcZbqk/build.S0E/src/debian/tests/installed-tests -- /tmp/autopkgtest.YcZbqk/build.S0E/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.YcZbqk/build.S0E/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.YcZbqk/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1565s # /tmp/tmp102oia9v/tmp1r97_b4b.xml: 1565s # 1565s # 1565s # 1565s # 1565s # 1565s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp102oia9v/tmp1r97_b4b.xml', '--output', '-', '--body'] 1565s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-baqskmurxn,guid=fbaffe99d0ccb1f6e1beb84865fc01cd', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.YcZbqk/autopkgtest_tmp', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.YcZbqk/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.YcZbqk/autopkgtest_tmp', 'TERM': 'unknown', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.YcZbqk/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.sVTVMp0Db0', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.rqZsJO/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.YcZbqk/wrapper.sh --artifacts=/tmp/autopkgtest.YcZbqk/installed-tests-artifacts --chdir=/tmp/autopkgtest.YcZbqk/build.S0E/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.YcZbqk/installed-tests-stderr --stdout=/tmp/autopkgtest.YcZbqk/installed-tests-stdout --tmp=/tmp/autopkgtest.YcZbqk/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2' --make-executable=/tmp/autopkgtest.YcZbqk/build.S0E/src/debian/tests/installed-tests -- /tmp/autopkgtest.YcZbqk/build.S0E/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.YcZbqk/build.S0E/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.YcZbqk/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1565s # /tmp/tmp102oia9v/tmp9y8b07_x.xml: 1565s # 1565s # 1565s # 1565s # 1565s # 1565s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp102oia9v/tmp9y8b07_x.xml', '--output', '-', '--body'] 1565s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-baqskmurxn,guid=fbaffe99d0ccb1f6e1beb84865fc01cd', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.YcZbqk/autopkgtest_tmp', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.YcZbqk/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.YcZbqk/autopkgtest_tmp', 'TERM': 'unknown', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.YcZbqk/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.sVTVMp0Db0', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.rqZsJO/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.YcZbqk/wrapper.sh --artifacts=/tmp/autopkgtest.YcZbqk/installed-tests-artifacts --chdir=/tmp/autopkgtest.YcZbqk/build.S0E/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.YcZbqk/installed-tests-stderr --stdout=/tmp/autopkgtest.YcZbqk/installed-tests-stdout --tmp=/tmp/autopkgtest.YcZbqk/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2' --make-executable=/tmp/autopkgtest.YcZbqk/build.S0E/src/debian/tests/installed-tests -- /tmp/autopkgtest.YcZbqk/build.S0E/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.YcZbqk/build.S0E/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.YcZbqk/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1565s # /tmp/tmp102oia9v/tmp15_bmcc5.xml: 1565s # 1565s # 1565s # 1565s # 1565s # 1565s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp102oia9v/tmp15_bmcc5.xml', '--output', '-', '--body'] 1565s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-baqskmurxn,guid=fbaffe99d0ccb1f6e1beb84865fc01cd', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.YcZbqk/autopkgtest_tmp', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.YcZbqk/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.YcZbqk/autopkgtest_tmp', 'TERM': 'unknown', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.YcZbqk/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.sVTVMp0Db0', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.rqZsJO/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.YcZbqk/wrapper.sh --artifacts=/tmp/autopkgtest.YcZbqk/installed-tests-artifacts --chdir=/tmp/autopkgtest.YcZbqk/build.S0E/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.YcZbqk/installed-tests-stderr --stdout=/tmp/autopkgtest.YcZbqk/installed-tests-stdout --tmp=/tmp/autopkgtest.YcZbqk/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2' --make-executable=/tmp/autopkgtest.YcZbqk/build.S0E/src/debian/tests/installed-tests -- /tmp/autopkgtest.YcZbqk/build.S0E/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.YcZbqk/build.S0E/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.YcZbqk/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1565s # /tmp/tmp102oia9v/tmp3jqntzj8.xml: 1565s # 1565s # 1565s # 1565s # 1565s # 1565s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp102oia9v/tmp3jqntzj8.xml', '--output', '-', '--body'] 1565s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-baqskmurxn,guid=fbaffe99d0ccb1f6e1beb84865fc01cd', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.YcZbqk/autopkgtest_tmp', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.YcZbqk/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.YcZbqk/autopkgtest_tmp', 'TERM': 'unknown', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.YcZbqk/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.sVTVMp0Db0', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.rqZsJO/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.YcZbqk/wrapper.sh --artifacts=/tmp/autopkgtest.YcZbqk/installed-tests-artifacts --chdir=/tmp/autopkgtest.YcZbqk/build.S0E/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.YcZbqk/installed-tests-stderr --stdout=/tmp/autopkgtest.YcZbqk/installed-tests-stdout --tmp=/tmp/autopkgtest.YcZbqk/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2' --make-executable=/tmp/autopkgtest.YcZbqk/build.S0E/src/debian/tests/installed-tests -- /tmp/autopkgtest.YcZbqk/build.S0E/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.YcZbqk/build.S0E/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.YcZbqk/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1565s # /tmp/tmp102oia9v/tmpzmy1g_5h.xml: 1565s # 1565s # 1565s # 1565s # 1565s # 1565s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp102oia9v/tmpzmy1g_5h.xml', '--output', '-', '--body'] 1565s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-baqskmurxn,guid=fbaffe99d0ccb1f6e1beb84865fc01cd', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.YcZbqk/autopkgtest_tmp', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.YcZbqk/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.YcZbqk/autopkgtest_tmp', 'TERM': 'unknown', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.YcZbqk/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.sVTVMp0Db0', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.rqZsJO/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.YcZbqk/wrapper.sh --artifacts=/tmp/autopkgtest.YcZbqk/installed-tests-artifacts --chdir=/tmp/autopkgtest.YcZbqk/build.S0E/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.YcZbqk/installed-tests-stderr --stdout=/tmp/autopkgtest.YcZbqk/installed-tests-stdout --tmp=/tmp/autopkgtest.YcZbqk/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2' --make-executable=/tmp/autopkgtest.YcZbqk/build.S0E/src/debian/tests/installed-tests -- /tmp/autopkgtest.YcZbqk/build.S0E/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.YcZbqk/build.S0E/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.YcZbqk/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1565s # /tmp/tmp102oia9v/tmphp3hqfrd.xml: 1565s # 1565s # 1565s # 1565s # 1565s # 1565s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp102oia9v/tmphp3hqfrd.xml', '--output', '-', '--body'] 1565s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-baqskmurxn,guid=fbaffe99d0ccb1f6e1beb84865fc01cd', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.YcZbqk/autopkgtest_tmp', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.YcZbqk/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.YcZbqk/autopkgtest_tmp', 'TERM': 'unknown', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.YcZbqk/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.sVTVMp0Db0', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.rqZsJO/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.YcZbqk/wrapper.sh --artifacts=/tmp/autopkgtest.YcZbqk/installed-tests-artifacts --chdir=/tmp/autopkgtest.YcZbqk/build.S0E/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.YcZbqk/installed-tests-stderr --stdout=/tmp/autopkgtest.YcZbqk/installed-tests-stdout --tmp=/tmp/autopkgtest.YcZbqk/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2' --make-executable=/tmp/autopkgtest.YcZbqk/build.S0E/src/debian/tests/installed-tests -- /tmp/autopkgtest.YcZbqk/build.S0E/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.YcZbqk/build.S0E/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.YcZbqk/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1565s # /tmp/tmp102oia9v/tmpcoj5heqd.xml: 1565s # 1565s # 1565s # 1565s # 1565s # 1565s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp102oia9v/tmpcoj5heqd.xml', '--output', '-', '--body'] 1565s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-baqskmurxn,guid=fbaffe99d0ccb1f6e1beb84865fc01cd', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.YcZbqk/autopkgtest_tmp', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.YcZbqk/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.YcZbqk/autopkgtest_tmp', 'TERM': 'unknown', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.YcZbqk/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.sVTVMp0Db0', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.rqZsJO/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.YcZbqk/wrapper.sh --artifacts=/tmp/autopkgtest.YcZbqk/installed-tests-artifacts --chdir=/tmp/autopkgtest.YcZbqk/build.S0E/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.YcZbqk/installed-tests-stderr --stdout=/tmp/autopkgtest.YcZbqk/installed-tests-stdout --tmp=/tmp/autopkgtest.YcZbqk/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2' --make-executable=/tmp/autopkgtest.YcZbqk/build.S0E/src/debian/tests/installed-tests -- /tmp/autopkgtest.YcZbqk/build.S0E/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.YcZbqk/build.S0E/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.YcZbqk/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1565s # /tmp/tmp102oia9v/tmpmcaeg9uy.xml: 1565s # 1565s # 1565s # 1565s # 1565s # 1565s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp102oia9v/tmpmcaeg9uy.xml', '--output', '-', '--body'] 1565s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-baqskmurxn,guid=fbaffe99d0ccb1f6e1beb84865fc01cd', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.YcZbqk/autopkgtest_tmp', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.YcZbqk/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.YcZbqk/autopkgtest_tmp', 'TERM': 'unknown', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.YcZbqk/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.sVTVMp0Db0', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.rqZsJO/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.YcZbqk/wrapper.sh --artifacts=/tmp/autopkgtest.YcZbqk/installed-tests-artifacts --chdir=/tmp/autopkgtest.YcZbqk/build.S0E/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.YcZbqk/installed-tests-stderr --stdout=/tmp/autopkgtest.YcZbqk/installed-tests-stdout --tmp=/tmp/autopkgtest.YcZbqk/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2' --make-executable=/tmp/autopkgtest.YcZbqk/build.S0E/src/debian/tests/installed-tests -- /tmp/autopkgtest.YcZbqk/build.S0E/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.YcZbqk/build.S0E/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.YcZbqk/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1565s # /tmp/tmp102oia9v/tmpw79cxtoy.xml: 1565s # 1565s # 1565s # 1565s # 1565s # 1565s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp102oia9v/tmpw79cxtoy.xml', '--output', '-', '--body'] 1565s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-baqskmurxn,guid=fbaffe99d0ccb1f6e1beb84865fc01cd', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.YcZbqk/autopkgtest_tmp', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.YcZbqk/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.YcZbqk/autopkgtest_tmp', 'TERM': 'unknown', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.YcZbqk/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.sVTVMp0Db0', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.rqZsJO/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.YcZbqk/wrapper.sh --artifacts=/tmp/autopkgtest.YcZbqk/installed-tests-artifacts --chdir=/tmp/autopkgtest.YcZbqk/build.S0E/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.YcZbqk/installed-tests-stderr --stdout=/tmp/autopkgtest.YcZbqk/installed-tests-stdout --tmp=/tmp/autopkgtest.YcZbqk/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2' --make-executable=/tmp/autopkgtest.YcZbqk/build.S0E/src/debian/tests/installed-tests -- /tmp/autopkgtest.YcZbqk/build.S0E/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.YcZbqk/build.S0E/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.YcZbqk/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1565s # /tmp/tmp102oia9v/tmp_hktuqul.xml: 1565s # 1565s # 1565s # 1565s # 1565s # 1565s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp102oia9v/tmp_hktuqul.xml', '--output', '-', '--body'] 1565s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-baqskmurxn,guid=fbaffe99d0ccb1f6e1beb84865fc01cd', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.YcZbqk/autopkgtest_tmp', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.YcZbqk/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.YcZbqk/autopkgtest_tmp', 'TERM': 'unknown', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.YcZbqk/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.sVTVMp0Db0', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.rqZsJO/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.YcZbqk/wrapper.sh --artifacts=/tmp/autopkgtest.YcZbqk/installed-tests-artifacts --chdir=/tmp/autopkgtest.YcZbqk/build.S0E/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.YcZbqk/installed-tests-stderr --stdout=/tmp/autopkgtest.YcZbqk/installed-tests-stdout --tmp=/tmp/autopkgtest.YcZbqk/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2' --make-executable=/tmp/autopkgtest.YcZbqk/build.S0E/src/debian/tests/installed-tests -- /tmp/autopkgtest.YcZbqk/build.S0E/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.YcZbqk/build.S0E/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.YcZbqk/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1565s # /tmp/tmp102oia9v/tmpoduuhsft.xml: 1565s # 1565s # 1565s # 1565s # 1565s # 1565s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp102oia9v/tmpoduuhsft.xml', '--output', '-', '--body'] 1565s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-baqskmurxn,guid=fbaffe99d0ccb1f6e1beb84865fc01cd', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.YcZbqk/autopkgtest_tmp', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.YcZbqk/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.YcZbqk/autopkgtest_tmp', 'TERM': 'unknown', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.YcZbqk/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.sVTVMp0Db0', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.rqZsJO/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.YcZbqk/wrapper.sh --artifacts=/tmp/autopkgtest.YcZbqk/installed-tests-artifacts --chdir=/tmp/autopkgtest.YcZbqk/build.S0E/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.YcZbqk/installed-tests-stderr --stdout=/tmp/autopkgtest.YcZbqk/installed-tests-stdout --tmp=/tmp/autopkgtest.YcZbqk/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2' --make-executable=/tmp/autopkgtest.YcZbqk/build.S0E/src/debian/tests/installed-tests -- /tmp/autopkgtest.YcZbqk/build.S0E/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.YcZbqk/build.S0E/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.YcZbqk/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1565s # Output: /* 1565s # * This file is generated by gdbus-codegen, do not modify it. 1565s # * 1565s # * The license of this code is the same as for the D-Bus interface description 1565s # * it was derived from. Note that it links to GLib, so must comply with the 1565s # * LGPL linking clauses. 1565s # */ 1565s # 1565s # #ifdef HAVE_CONFIG_H 1565s # # include "config.h" 1565s # #endif 1565s # 1565s # #include 1565s # #ifdef G_OS_UNIX 1565s # # include 1565s # #endif 1565s # 1565s # #ifdef G_ENABLE_DEBUG 1565s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1565s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1565s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1565s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1565s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1565s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1565s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1565s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1565s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1565s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1565s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1565s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1565s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1565s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1565s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1565s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1565s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1565s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1565s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1565s # #else /* !G_ENABLE_DEBUG */ 1565s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1565s # * Do not access GValues directly in your code. Instead, use the 1565s # * g_value_get_*() functions 1565s # */ 1565s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1565s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1565s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1565s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1565s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1565s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1565s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1565s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1565s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1565s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1565s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1565s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1565s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1565s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1565s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1565s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1565s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1565s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1565s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1565s # #endif /* !G_ENABLE_DEBUG */ 1565s # 1565s # typedef struct 1565s # { 1565s # GDBusArgInfo parent_struct; 1565s # gboolean use_gvariant; 1565s # } _ExtendedGDBusArgInfo; 1565s # 1565s # typedef struct 1565s # { 1565s # GDBusMethodInfo parent_struct; 1565s # const gchar *signal_name; 1565s # gboolean pass_fdlist; 1565s # } _ExtendedGDBusMethodInfo; 1565s # 1565s # typedef struct 1565s # { 1565s # GDBusSignalInfo parent_struct; 1565s # const gchar *signal_name; 1565s # } _ExtendedGDBusSignalInfo; 1565s # 1565s # typedef struct 1565s # { 1565s # GDBusPropertyInfo parent_struct; 1565s # const gchar *hyphen_name; 1565s # guint use_gvariant : 1; 1565s # guint emits_changed_signal : 1; 1565s # } _ExtendedGDBusPropertyInfo; 1565s # 1565s # typedef struct 1565s # { 1565s # GDBusInterfaceInfo parent_struct; 1565s # const gchar *hyphen_name; 1565s # } _ExtendedGDBusInterfaceInfo; 1565s # 1565s # typedef struct 1565s # { 1565s # const _ExtendedGDBusPropertyInfo *info; 1565s # guint prop_id; 1565s # GValue orig_value; /* the value before the change */ 1565s # } ChangedProperty; 1565s # 1565s # static void 1565s # _changed_property_free (ChangedProperty *data) 1565s # { 1565s # g_value_unset (&data->orig_value); 1565s # g_free (data); 1565s # } 1565s # 1565s # static gboolean 1565s # _g_strv_equal0 (gchar **a, gchar **b) 1565s # { 1565s # gboolean ret = FALSE; 1565s # guint n; 1565s # if (a == NULL && b == NULL) 1565s # { 1565s # ret = TRUE; 1565s # goto out; 1565s # } 1565s # if (a == NULL || b == NULL) 1565s # goto out; 1565s # if (g_strv_length (a) != g_strv_length (b)) 1565s # goto out; 1565s # for (n = 0; a[n] != NULL; n++) 1565s # if (g_strcmp0 (a[n], b[n]) != 0) 1565s # goto out; 1565s # ret = TRUE; 1565s # out: 1565s # return ret; 1565s # } 1565s # 1565s # static gboolean 1565s # _g_variant_equal0 (GVariant *a, GVariant *b) 1565s # { 1565s # gboolean ret = FALSE; 1565s # if (a == NULL && b == NULL) 1565s # { 1565s # ret = TRUE; 1565s # goto out; 1565s # } 1565s # if (a == NULL || b == NULL) 1565s # goto out; 1565s # ret = g_variant_equal (a, b); 1565s # out: 1565s # return ret; 1565s # } 1565s # 1565s # G_GNUC_UNUSED static gboolean 1565s # _g_value_equal (const GValue *a, const GValue *b) 1565s # { 1565s # gboolean ret = FALSE; 1565s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1565s # switch (G_VALUE_TYPE (a)) 1565s # { 1565s # case G_TYPE_BOOLEAN: 1565s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1565s # break; 1565s # case G_TYPE_UCHAR: 1565s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1565s # break; 1565s # case G_TYPE_INT: 1565s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1565s # break; 1565s # case G_TYPE_UINT: 1565s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1565s # break; 1565s # case G_TYPE_INT64: 1565s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1565s # break; 1565s # case G_TYPE_UINT64: 1565s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1565s # break; 1565s # case G_TYPE_DOUBLE: 1565s # { 1565s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1565s # gdouble da = g_value_get_double (a); 1565s # gdouble db = g_value_get_double (b); 1565s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1565s # } 1565s # break; 1565s # case G_TYPE_STRING: 1565s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1565s # break; 1565s # case G_TYPE_VARIANT: 1565s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1565s # break; 1565s # default: 1565s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1565s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1565s # else 1565s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1565s # break; 1565s # } 1565s # return ret; 1565s # } 1565s # 1565s # /* ------------------------------------------------------------------------ 1565s # * Code for interface GoodTypes 1565s # * ------------------------------------------------------------------------ 1565s # */ 1565s # 1565s # /** 1565s # * SECTION:GoodTypes 1565s # * @title: GoodTypes 1565s # * @short_description: Generated C code for the GoodTypes D-Bus interface 1565s # * 1565s # * This section contains code for working with the GoodTypes D-Bus interface in C. 1565s # */ 1565s # 1565s # /* ---- Introspection data for GoodTypes ---- */ 1565s # 1565s # static const _ExtendedGDBusPropertyInfo _good_types_property_info_good_property_type = 1565s # { 1565s # { 1565s # -1, 1565s # (gchar *) "GoodPropertyType", 1565s # (gchar *) "si{s{b(ybnqiuxtdh)}}{yv}{nv}{dv}", 1565s # G_DBUS_PROPERTY_INFO_FLAGS_READABLE, 1565s # NULL 1565s # }, 1565s # "good-property-type", 1565s # FALSE, 1565s # TRUE 1565s # }; 1565s # 1565s # static const GDBusPropertyInfo * const _good_types_property_info_pointers[] = 1565s # { 1565s # &_good_types_property_info_good_property_type.parent_struct, 1565s # NULL 1565s # }; 1565s # 1565s # static const _ExtendedGDBusInterfaceInfo _good_types_interface_info = 1565s # { 1565s # { 1565s # -1, 1565s # (gchar *) "GoodTypes", 1565s # NULL, 1565s # NULL, 1565s # (GDBusPropertyInfo **) &_good_types_property_info_pointers, 1565s # NULL 1565s # }, 1565s # "good-types", 1565s # }; 1565s # 1565s # 1565s # /** 1565s # * good_types_interface_info: 1565s # * 1565s # * Gets a machine-readable description of the GoodTypes D-Bus interface. 1565s # * 1565s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1565s # */ 1565s # GDBusInterfaceInfo * 1565s # good_types_interface_info (void) 1565s # { 1565s # return (GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct; 1565s # } 1565s # 1565s # /** 1565s # * good_types_override_properties: 1565s # * @klass: The class structure for a #GObject derived class. 1565s # * @property_id_begin: The property id to assign to the first overridden property. 1565s # * 1565s # * Overrides all #GObject properties in the GoodTypes interface for a concrete class. 1565s # * The properties are overridden in the order they are defined. 1565s # * 1565s # * Returns: The last property id. 1565s # */ 1565s # guint 1565s # good_types_override_properties (GObjectClass *klass, guint property_id_begin) 1565s # { 1565s # g_object_class_override_property (klass, property_id_begin++, "good-property-type"); 1565s # return property_id_begin - 1; 1565s # } 1565s # 1565s # 1565s # 1565s # /** 1565s # * GoodTypes: 1565s # * 1565s # * Abstract interface type for the D-Bus interface GoodTypes. 1565s # */ 1565s # 1565s # /** 1565s # * GoodTypesIface: 1565s # * @parent_iface: The parent interface. 1565s # * @get_good_property_type: Getter for the #GoodTypes:good-property-type property. 1565s # * 1565s # * Virtual table for the D-Bus interface GoodTypes. 1565s # */ 1565s # 1565s # typedef GoodTypesIface GoodTypesInterface; 1565s # G_DEFINE_INTERFACE (GoodTypes, good_types, G_TYPE_OBJECT) 1565s # 1565s # static void 1565s # good_types_default_init (GoodTypesIface *iface) 1565s # { 1565s # /* GObject properties for D-Bus properties: */ 1565s # /** 1565s # * GoodTypes:good-property-type: 1565s # * 1565s # * Represents the D-Bus property "GoodPropertyType". 1565s # * 1565s # * 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. 1565s # */ 1565s # g_object_interface_install_property (iface, 1565s # 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)); 1565s # } 1565s # 1565s # /** 1565s # * good_types_get_good_property_type: (skip) 1565s # * @object: A GoodTypes. 1565s # * 1565s # * Gets the value of the "GoodPropertyType" D-Bus property. 1565s # * 1565s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side. 1565s # * 1565s # * 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. 1565s # * 1565s # * 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. 1565s # */ 1565s # GVariant * 1565s # good_types_get_good_property_type (GoodTypes *object) 1565s # { 1565s # g_return_val_if_fail (IS_GOOD_TYPES (object), NULL); 1565s # 1565s # return GOOD_TYPES_GET_IFACE (object)->get_good_property_type (object); 1565s # } 1565s # 1565s # /** 1565s # * good_types_dup_good_property_type: (skip) 1565s # * @object: A GoodTypes. 1565s # * 1565s # * Gets a copy of the "GoodPropertyType" D-Bus property. 1565s # * 1565s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side. 1565s # * 1565s # * 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(). 1565s # */ 1565s # GVariant * 1565s # good_types_dup_good_property_type (GoodTypes *object) 1565s # { 1565s # GVariant *value; 1565s # g_object_get (G_OBJECT (object), "good-property-type", &value, NULL); 1565s # return value; 1565s # } 1565s # 1565s # /** 1565s # * good_types_set_good_property_type: (skip) 1565s # * @object: A GoodTypes. 1565s # * @value: The value to set. 1565s # * 1565s # * Sets the "GoodPropertyType" D-Bus property to @value. 1565s # * 1565s # * Since this D-Bus property is not writable, it is only meaningful to use this function on the service-side. 1565s # */ 1565s # void 1565s # good_types_set_good_property_type (GoodTypes *object, GVariant *value) 1565s # { 1565s # g_object_set (G_OBJECT (object), "good-property-type", value, NULL); 1565s # } 1565s # 1565s # /* ------------------------------------------------------------------------ */ 1565s # 1565s # /** 1565s # * GoodTypesProxy: 1565s # * 1565s # * The GoodTypesProxy structure contains only private data and should only be accessed using the provided API. 1565s # */ 1565s # 1565s # /** 1565s # * GoodTypesProxyClass: 1565s # * @parent_class: The parent class. 1565s # * 1565s # * Class structure for GoodTypesProxy. 1565s # */ 1565s # 1565s # struct _GoodTypesProxyPrivate 1565s # { 1565s # GData *qdata; 1565s # }; 1565s # 1565s # static void good_types_proxy_iface_init (GoodTypesIface *iface); 1565s # 1565s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1565s # G_DEFINE_TYPE_WITH_CODE (GoodTypesProxy, good_types_proxy, G_TYPE_DBUS_PROXY, 1565s # G_ADD_PRIVATE (GoodTypesProxy) 1565s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_proxy_iface_init)) 1565s # 1565s # #else 1565s # G_DEFINE_TYPE_WITH_CODE (GoodTypesProxy, good_types_proxy, G_TYPE_DBUS_PROXY, 1565s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_proxy_iface_init)) 1565s # 1565s # #endif 1565s # static void 1565s # good_types_proxy_finalize (GObject *object) 1565s # { 1565s # GoodTypesProxy *proxy = GOOD_TYPES_PROXY (object); 1565s # g_datalist_clear (&proxy->priv->qdata); 1565s # G_OBJECT_CLASS (good_types_proxy_parent_class)->finalize (object); 1565s # } 1565s # 1565s # static void 1565s # good_types_proxy_get_property (GObject *object, 1565s # guint prop_id, 1565s # GValue *value, 1565s # GParamSpec *pspec G_GNUC_UNUSED) 1565s # { 1565s # const _ExtendedGDBusPropertyInfo *info; 1565s # GVariant *variant; 1565s # g_assert (prop_id != 0 && prop_id - 1 < 1); 1565s # info = (const _ExtendedGDBusPropertyInfo *) _good_types_property_info_pointers[prop_id - 1]; 1565s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (object), info->parent_struct.name); 1565s # if (info->use_gvariant) 1565s # { 1565s # g_value_set_variant (value, variant); 1565s # } 1565s # else 1565s # { 1565s # if (variant != NULL) 1565s # g_dbus_gvariant_to_gvalue (variant, value); 1565s # } 1565s # if (variant != NULL) 1565s # g_variant_unref (variant); 1565s # } 1565s # 1565s # static void 1565s # good_types_proxy_set_property_cb (GDBusProxy *proxy, 1565s # GAsyncResult *res, 1565s # gpointer user_data) 1565s # { 1565s # const _ExtendedGDBusPropertyInfo *info = user_data; 1565s # GError *error; 1565s # GVariant *_ret; 1565s # error = NULL; 1565s # _ret = g_dbus_proxy_call_finish (proxy, res, &error); 1565s # if (!_ret) 1565s # { 1565s # g_warning ("Error setting property '%s' on interface GoodTypes: %s (%s, %d)", 1565s # info->parent_struct.name, 1565s # error->message, g_quark_to_string (error->domain), error->code); 1565s # g_error_free (error); 1565s # } 1565s # else 1565s # { 1565s # g_variant_unref (_ret); 1565s # } 1565s # } 1565s # 1565s # static void 1565s # good_types_proxy_set_property (GObject *object, 1565s # guint prop_id, 1565s # const GValue *value, 1565s # GParamSpec *pspec G_GNUC_UNUSED) 1565s # { 1565s # const _ExtendedGDBusPropertyInfo *info; 1565s # GVariant *variant; 1565s # g_assert (prop_id != 0 && prop_id - 1 < 1); 1565s # info = (const _ExtendedGDBusPropertyInfo *) _good_types_property_info_pointers[prop_id - 1]; 1565s # variant = g_dbus_gvalue_to_gvariant (value, G_VARIANT_TYPE (info->parent_struct.signature)); 1565s # g_dbus_proxy_call (G_DBUS_PROXY (object), 1565s # "org.freedesktop.DBus.Properties.Set", 1565s # g_variant_new ("(ssv)", "GoodTypes", info->parent_struct.name, variant), 1565s # G_DBUS_CALL_FLAGS_NONE, 1565s # -1, 1565s # NULL, (GAsyncReadyCallback) good_types_proxy_set_property_cb, (GDBusPropertyInfo *) &info->parent_struct); 1565s # g_variant_unref (variant); 1565s # } 1565s # 1565s # static void 1565s # good_types_proxy_g_signal (GDBusProxy *proxy, 1565s # const gchar *sender_name G_GNUC_UNUSED, 1565s # const gchar *signal_name, 1565s # GVariant *parameters) 1565s # { 1565s # _ExtendedGDBusSignalInfo *info; 1565s # GVariantIter iter; 1565s # GVariant *child; 1565s # GValue *paramv; 1565s # gsize num_params; 1565s # gsize n; 1565s # guint signal_id; 1565s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, signal_name); 1565s # if (info == NULL) 1565s # return; 1565s # num_params = g_variant_n_children (parameters); 1565s # paramv = g_new0 (GValue, num_params + 1); 1565s # g_value_init (¶mv[0], TYPE_GOOD_TYPES); 1565s # g_value_set_object (¶mv[0], proxy); 1565s # g_variant_iter_init (&iter, parameters); 1565s # n = 1; 1565s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1565s # { 1565s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1565s # if (arg_info->use_gvariant) 1565s # { 1565s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1565s # g_value_set_variant (¶mv[n], child); 1565s # n++; 1565s # } 1565s # else 1565s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1565s # g_variant_unref (child); 1565s # } 1565s # signal_id = g_signal_lookup (info->signal_name, TYPE_GOOD_TYPES); 1565s # g_signal_emitv (paramv, signal_id, 0, NULL); 1565s # for (n = 0; n < num_params + 1; n++) 1565s # g_value_unset (¶mv[n]); 1565s # g_free (paramv); 1565s # } 1565s # 1565s # static void 1565s # good_types_proxy_g_properties_changed (GDBusProxy *_proxy, 1565s # GVariant *changed_properties, 1565s # const gchar *const *invalidated_properties) 1565s # { 1565s # GoodTypesProxy *proxy = GOOD_TYPES_PROXY (_proxy); 1565s # guint n; 1565s # const gchar *key; 1565s # GVariantIter *iter; 1565s # _ExtendedGDBusPropertyInfo *info; 1565s # g_variant_get (changed_properties, "a{sv}", &iter); 1565s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1565s # { 1565s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, key); 1565s # g_datalist_remove_data (&proxy->priv->qdata, key); 1565s # if (info != NULL) 1565s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1565s # } 1565s # g_variant_iter_free (iter); 1565s # for (n = 0; invalidated_properties[n] != NULL; n++) 1565s # { 1565s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, invalidated_properties[n]); 1565s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1565s # if (info != NULL) 1565s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1565s # } 1565s # } 1565s # 1565s # static GVariant * 1565s # good_types_proxy_get_good_property_type (GoodTypes *object) 1565s # { 1565s # GoodTypesProxy *proxy = GOOD_TYPES_PROXY (object); 1565s # GVariant *variant; 1565s # GVariant *value = NULL; 1565s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (proxy), "GoodPropertyType"); 1565s # value = variant; 1565s # if (variant != NULL) 1565s # g_variant_unref (variant); 1565s # return value; 1565s # } 1565s # 1565s # static void 1565s # good_types_proxy_init (GoodTypesProxy *proxy) 1565s # { 1565s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1565s # proxy->priv = good_types_proxy_get_instance_private (proxy); 1565s # #else 1565s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_GOOD_TYPES_PROXY, GoodTypesProxyPrivate); 1565s # #endif 1565s # 1565s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), good_types_interface_info ()); 1565s # } 1565s # 1565s # static void 1565s # good_types_proxy_class_init (GoodTypesProxyClass *klass) 1565s # { 1565s # GObjectClass *gobject_class; 1565s # GDBusProxyClass *proxy_class; 1565s # 1565s # gobject_class = G_OBJECT_CLASS (klass); 1565s # gobject_class->finalize = good_types_proxy_finalize; 1565s # gobject_class->get_property = good_types_proxy_get_property; 1565s # gobject_class->set_property = good_types_proxy_set_property; 1565s # 1565s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1565s # proxy_class->g_signal = good_types_proxy_g_signal; 1565s # proxy_class->g_properties_changed = good_types_proxy_g_properties_changed; 1565s # 1565s # good_types_override_properties (gobject_class, 1); 1565s # 1565s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1565s # g_type_class_add_private (klass, sizeof (GoodTypesProxyPrivate)); 1565s # #endif 1565s # } 1565s # 1565s # static void 1565s # good_types_proxy_iface_init (GoodTypesIface *iface) 1565s # { 1565s # iface->get_good_property_type = good_types_proxy_get_good_property_type; 1565s # } 1565s # 1565s # /** 1565s # * good_types_proxy_new: 1565s # * @connection: A #GDBusConnection. 1565s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1565s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1565s # * @object_path: An object path. 1565s # * @cancellable: (nullable): A #GCancellable or %NULL. 1565s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1565s # * @user_data: User data to pass to @callback. 1565s # * 1565s # * Asynchronously creates a proxy for the D-Bus interface GoodTypes. See g_dbus_proxy_new() for more details. 1565s # * 1565s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1565s # * You can then call good_types_proxy_new_finish() to get the result of the operation. 1565s # * 1565s # * See good_types_proxy_new_sync() for the synchronous, blocking version of this constructor. 1565s # */ 1565s # void 1565s # good_types_proxy_new ( 1565s # GDBusConnection *connection, 1565s # GDBusProxyFlags flags, 1565s # const gchar *name, 1565s # const gchar *object_path, 1565s # GCancellable *cancellable, 1565s # GAsyncReadyCallback callback, 1565s # gpointer user_data) 1565s # { 1565s # 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); 1565s # } 1565s # 1565s # /** 1565s # * good_types_proxy_new_finish: 1565s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to good_types_proxy_new(). 1565s # * @error: Return location for error or %NULL 1565s # * 1565s # * Finishes an operation started with good_types_proxy_new(). 1565s # * 1565s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 1565s # */ 1565s # GoodTypes * 1565s # good_types_proxy_new_finish ( 1565s # GAsyncResult *res, 1565s # GError **error) 1565s # { 1565s # GObject *ret; 1565s # GObject *source_object; 1565s # source_object = g_async_result_get_source_object (res); 1565s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1565s # g_object_unref (source_object); 1565s # if (ret != NULL) 1565s # return GOOD_TYPES (ret); 1565s # else 1565s # return NULL; 1565s # } 1565s # 1565s # /** 1565s # * good_types_proxy_new_sync: 1565s # * @connection: A #GDBusConnection. 1565s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1565s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1565s # * @object_path: An object path. 1565s # * @cancellable: (nullable): A #GCancellable or %NULL. 1565s # * @error: Return location for error or %NULL 1565s # * 1565s # * Synchronously creates a proxy for the D-Bus interface GoodTypes. See g_dbus_proxy_new_sync() for more details. 1565s # * 1565s # * The calling thread is blocked until a reply is received. 1565s # * 1565s # * See good_types_proxy_new() for the asynchronous version of this constructor. 1565s # * 1565s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 1565s # */ 1565s # GoodTypes * 1565s # good_types_proxy_new_sync ( 1565s # GDBusConnection *connection, 1565s # GDBusProxyFlags flags, 1565s # const gchar *name, 1565s # const gchar *object_path, 1565s # GCancellable *cancellable, 1565s # GError **error) 1565s # { 1565s # GInitable *ret; 1565s # 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); 1565s # if (ret != NULL) 1565s # return GOOD_TYPES (ret); 1565s # else 1565s # return NULL; 1565s # } 1565s # 1565s # 1565s # /** 1565s # * good_types_proxy_new_for_bus: 1565s # * @bus_type: A #GBusType. 1565s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1565s # * @name: A bus name (well-known or unique). 1565s # * @object_path: An object path. 1565s # * @cancellable: (nullable): A #GCancellable or %NULL. 1565s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1565s # * @user_data: User data to pass to @callback. 1565s # * 1565s # * Like good_types_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1565s # * 1565s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1565s # * You can then call good_types_proxy_new_for_bus_finish() to get the result of the operation. 1565s # * 1565s # * See good_types_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1565s # */ 1565s # void 1565s # good_types_proxy_new_for_bus ( 1565s # GBusType bus_type, 1565s # GDBusProxyFlags flags, 1565s # const gchar *name, 1565s # const gchar *object_path, 1565s # GCancellable *cancellable, 1565s # GAsyncReadyCallback callback, 1565s # gpointer user_data) 1565s # { 1565s # 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); 1565s # } 1565s # 1565s # /** 1565s # * good_types_proxy_new_for_bus_finish: 1565s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to good_types_proxy_new_for_bus(). 1565s # * @error: Return location for error or %NULL 1565s # * 1565s # * Finishes an operation started with good_types_proxy_new_for_bus(). 1565s # * 1565s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 1565s # */ 1565s # GoodTypes * 1565s # good_types_proxy_new_for_bus_finish ( 1565s # GAsyncResult *res, 1565s # GError **error) 1565s # { 1565s # GObject *ret; 1565s # GObject *source_object; 1565s # source_object = g_async_result_get_source_object (res); 1565s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1565s # g_object_unref (source_object); 1565s # if (ret != NULL) 1565s # return GOOD_TYPES (ret); 1565s # else 1565s # return NULL; 1565s # } 1565s # 1565s # /** 1565s # * good_types_proxy_new_for_bus_sync: 1565s # * @bus_type: A #GBusType. 1565s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1565s # * @name: A bus name (well-known or unique). 1565s # * @object_path: An object path. 1565s # * @cancellable: (nullable): A #GCancellable or %NULL. 1565s # * @error: Return location for error or %NULL 1565s # * 1565s # * Like good_types_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1565s # * 1565s # * The calling thread is blocked until a reply is received. 1565s # * 1565s # * See good_types_proxy_new_for_bus() for the asynchronous version of this constructor. 1565s # * 1565s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 1565s # */ 1565s # GoodTypes * 1565s # good_types_proxy_new_for_bus_sync ( 1565s # GBusType bus_type, 1565s # GDBusProxyFlags flags, 1565s # const gchar *name, 1565s # const gchar *object_path, 1565s # GCancellable *cancellable, 1565s # GError **error) 1565s # { 1565s # GInitable *ret; 1565s # 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); 1565s # if (ret != NULL) 1565s # return GOOD_TYPES (ret); 1565s # else 1565s # return NULL; 1565s # } 1565s # 1565s # 1565s # /* ------------------------------------------------------------------------ */ 1565s # 1565s # /** 1565s # * GoodTypesSkeleton: 1565s # * 1565s # * The GoodTypesSkeleton structure contains only private data and should only be accessed using the provided API. 1565s # */ 1565s # 1565s # /** 1565s # * GoodTypesSkeletonClass: 1565s # * @parent_class: The parent class. 1565s # * 1565s # * Class structure for GoodTypesSkeleton. 1565s # */ 1565s # 1565s # struct _GoodTypesSkeletonPrivate 1565s # { 1565s # GValue *properties; 1565s # GList *changed_properties; 1565s # GSource *changed_properties_idle_source; 1565s # GMainContext *context; 1565s # GMutex lock; 1565s # }; 1565s # 1565s # static void 1565s # _good_types_skeleton_handle_method_call ( 1565s # GDBusConnection *connection G_GNUC_UNUSED, 1565s # const gchar *sender G_GNUC_UNUSED, 1565s # const gchar *object_path G_GNUC_UNUSED, 1565s # const gchar *interface_name, 1565s # const gchar *method_name, 1565s # GVariant *parameters, 1565s # GDBusMethodInvocation *invocation, 1565s # gpointer user_data) 1565s # { 1565s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 1565s # _ExtendedGDBusMethodInfo *info; 1565s # GVariantIter iter; 1565s # GVariant *child; 1565s # GValue *paramv; 1565s # gsize num_params; 1565s # guint num_extra; 1565s # gsize n; 1565s # guint signal_id; 1565s # GValue return_value = G_VALUE_INIT; 1565s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1565s # g_assert (info != NULL); 1565s # num_params = g_variant_n_children (parameters); 1565s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1565s # n = 0; 1565s # g_value_init (¶mv[n], TYPE_GOOD_TYPES); 1565s # g_value_set_object (¶mv[n++], skeleton); 1565s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1565s # g_value_set_object (¶mv[n++], invocation); 1565s # if (info->pass_fdlist) 1565s # { 1565s # #ifdef G_OS_UNIX 1565s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1565s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1565s # #else 1565s # g_assert_not_reached (); 1565s # #endif 1565s # } 1565s # g_variant_iter_init (&iter, parameters); 1565s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1565s # { 1565s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1565s # if (arg_info->use_gvariant) 1565s # { 1565s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1565s # g_value_set_variant (¶mv[n], child); 1565s # n++; 1565s # } 1565s # else 1565s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1565s # g_variant_unref (child); 1565s # } 1565s # signal_id = g_signal_lookup (info->signal_name, TYPE_GOOD_TYPES); 1565s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1565s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1565s # if (!g_value_get_boolean (&return_value)) 1565s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1565s # g_value_unset (&return_value); 1565s # for (n = 0; n < num_params + num_extra; n++) 1565s # g_value_unset (¶mv[n]); 1565s # g_free (paramv); 1565s # } 1565s # 1565s # static GVariant * 1565s # _good_types_skeleton_handle_get_property ( 1565s # GDBusConnection *connection G_GNUC_UNUSED, 1565s # const gchar *sender G_GNUC_UNUSED, 1565s # const gchar *object_path G_GNUC_UNUSED, 1565s # const gchar *interface_name G_GNUC_UNUSED, 1565s # const gchar *property_name, 1565s # GError **error, 1565s # gpointer user_data) 1565s # { 1565s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 1565s # GValue value = G_VALUE_INIT; 1565s # GParamSpec *pspec; 1565s # _ExtendedGDBusPropertyInfo *info; 1565s # GVariant *ret; 1565s # ret = NULL; 1565s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, property_name); 1565s # g_assert (info != NULL); 1565s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1565s # if (pspec == NULL) 1565s # { 1565s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1565s # } 1565s # else 1565s # { 1565s # g_value_init (&value, pspec->value_type); 1565s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1565s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1565s # g_value_unset (&value); 1565s # } 1565s # return ret; 1565s # } 1565s # 1565s # static gboolean 1565s # _good_types_skeleton_handle_set_property ( 1565s # GDBusConnection *connection G_GNUC_UNUSED, 1565s # const gchar *sender G_GNUC_UNUSED, 1565s # const gchar *object_path G_GNUC_UNUSED, 1565s # const gchar *interface_name G_GNUC_UNUSED, 1565s # const gchar *property_name, 1565s # GVariant *variant, 1565s # GError **error, 1565s # gpointer user_data) 1565s # { 1565s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 1565s # GValue value = G_VALUE_INIT; 1565s # GParamSpec *pspec; 1565s # _ExtendedGDBusPropertyInfo *info; 1565s # gboolean ret; 1565s # ret = FALSE; 1565s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, property_name); 1565s # g_assert (info != NULL); 1565s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1565s # if (pspec == NULL) 1565s # { 1565s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1565s # } 1565s # else 1565s # { 1565s # if (info->use_gvariant) 1565s # g_value_set_variant (&value, variant); 1565s # else 1565s # g_dbus_gvariant_to_gvalue (variant, &value); 1565s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1565s # g_value_unset (&value); 1565s # ret = TRUE; 1565s # } 1565s # return ret; 1565s # } 1565s # 1565s # static const GDBusInterfaceVTable _good_types_skeleton_vtable = 1565s # { 1565s # _good_types_skeleton_handle_method_call, 1565s # _good_types_skeleton_handle_get_property, 1565s # _good_types_skeleton_handle_set_property, 1565s # {NULL} 1565s # }; 1565s # 1565s # static GDBusInterfaceInfo * 1565s # good_types_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1565s # { 1565s # return good_types_interface_info (); 1565s # } 1565s # 1565s # static GDBusInterfaceVTable * 1565s # good_types_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1565s # { 1565s # return (GDBusInterfaceVTable *) &_good_types_skeleton_vtable; 1565s # } 1565s # 1565s # static GVariant * 1565s # good_types_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1565s # { 1565s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (_skeleton); 1565s # 1565s # GVariantBuilder builder; 1565s # guint n; 1565s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1565s # if (_good_types_interface_info.parent_struct.properties == NULL) 1565s # goto out; 1565s # for (n = 0; _good_types_interface_info.parent_struct.properties[n] != NULL; n++) 1565s # { 1565s # GDBusPropertyInfo *info = _good_types_interface_info.parent_struct.properties[n]; 1565s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1565s # { 1565s # GVariant *value; 1565s # 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); 1565s # if (value != NULL) 1565s # { 1565s # g_variant_take_ref (value); 1565s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1565s # g_variant_unref (value); 1565s # } 1565s # } 1565s # } 1565s # out: 1565s # return g_variant_builder_end (&builder); 1565s # } 1565s # 1565s # static gboolean _good_types_emit_changed (gpointer user_data); 1565s # 1565s # static void 1565s # good_types_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton) 1565s # { 1565s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (_skeleton); 1565s # gboolean emit_changed = FALSE; 1565s # 1565s # g_mutex_lock (&skeleton->priv->lock); 1565s # if (skeleton->priv->changed_properties_idle_source != NULL) 1565s # { 1565s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1565s # skeleton->priv->changed_properties_idle_source = NULL; 1565s # emit_changed = TRUE; 1565s # } 1565s # g_mutex_unlock (&skeleton->priv->lock); 1565s # 1565s # if (emit_changed) 1565s # _good_types_emit_changed (skeleton); 1565s # } 1565s # 1565s # static void good_types_skeleton_iface_init (GoodTypesIface *iface); 1565s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1565s # G_DEFINE_TYPE_WITH_CODE (GoodTypesSkeleton, good_types_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1565s # G_ADD_PRIVATE (GoodTypesSkeleton) 1565s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_skeleton_iface_init)) 1565s # 1565s # #else 1565s # G_DEFINE_TYPE_WITH_CODE (GoodTypesSkeleton, good_types_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1565s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_skeleton_iface_init)) 1565s # 1565s # #endif 1565s # static void 1565s # good_types_skeleton_finalize (GObject *object) 1565s # { 1565s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 1565s # guint n; 1565s # for (n = 0; n < 1; n++) 1565s # g_value_unset (&skeleton->priv->properties[n]); 1565s # g_free (skeleton->priv->properties); 1565s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1565s # if (skeleton->priv->changed_properties_idle_source != NULL) 1565s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1565s # g_main_context_unref (skeleton->priv->context); 1565s # g_mutex_clear (&skeleton->priv->lock); 1565s # G_OBJECT_CLASS (good_types_skeleton_parent_class)->finalize (object); 1565s # } 1565s # 1565s # static void 1565s # good_types_skeleton_get_property (GObject *object, 1565s # guint prop_id, 1565s # GValue *value, 1565s # GParamSpec *pspec G_GNUC_UNUSED) 1565s # { 1565s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 1565s # g_assert (prop_id != 0 && prop_id - 1 < 1); 1565s # g_mutex_lock (&skeleton->priv->lock); 1565s # g_value_copy (&skeleton->priv->properties[prop_id - 1], value); 1565s # g_mutex_unlock (&skeleton->priv->lock); 1565s # } 1565s # 1565s # static gboolean 1565s # _good_types_emit_changed (gpointer user_data) 1565s # { 1565s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 1565s # GList *l; 1565s # GVariantBuilder builder; 1565s # GVariantBuilder invalidated_builder; 1565s # guint num_changes; 1565s # 1565s # g_mutex_lock (&skeleton->priv->lock); 1565s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1565s # g_variant_builder_init (&invalidated_builder, G_VARIANT_TYPE ("as")); 1565s # for (l = skeleton->priv->changed_properties, num_changes = 0; l != NULL; l = l->next) 1565s # { 1565s # ChangedProperty *cp = l->data; 1565s # GVariant *variant; 1565s # const GValue *cur_value; 1565s # 1565s # cur_value = &skeleton->priv->properties[cp->prop_id - 1]; 1565s # if (!_g_value_equal (cur_value, &cp->orig_value)) 1565s # { 1565s # variant = g_dbus_gvalue_to_gvariant (cur_value, G_VARIANT_TYPE (cp->info->parent_struct.signature)); 1565s # g_variant_builder_add (&builder, "{sv}", cp->info->parent_struct.name, variant); 1565s # g_variant_unref (variant); 1565s # num_changes++; 1565s # } 1565s # } 1565s # if (num_changes > 0) 1565s # { 1565s # GList *connections, *ll; 1565s # GVariant *signal_variant; 1565s # signal_variant = g_variant_ref_sink (g_variant_new ("(sa{sv}as)", "GoodTypes", 1565s # &builder, &invalidated_builder)); 1565s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1565s # for (ll = connections; ll != NULL; ll = ll->next) 1565s # { 1565s # GDBusConnection *connection = ll->data; 1565s # 1565s # g_dbus_connection_emit_signal (connection, 1565s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), 1565s # "org.freedesktop.DBus.Properties", 1565s # "PropertiesChanged", 1565s # signal_variant, 1565s # NULL); 1565s # } 1565s # g_variant_unref (signal_variant); 1565s # g_list_free_full (connections, g_object_unref); 1565s # } 1565s # else 1565s # { 1565s # g_variant_builder_clear (&builder); 1565s # g_variant_builder_clear (&invalidated_builder); 1565s # } 1565s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1565s # skeleton->priv->changed_properties = NULL; 1565s # skeleton->priv->changed_properties_idle_source = NULL; 1565s # g_mutex_unlock (&skeleton->priv->lock); 1565s # return FALSE; 1565s # } 1565s # 1565s # static void 1565s # _good_types_schedule_emit_changed (GoodTypesSkeleton *skeleton, const _ExtendedGDBusPropertyInfo *info, guint prop_id, const GValue *orig_value) 1565s # { 1565s # ChangedProperty *cp; 1565s # GList *l; 1565s # cp = NULL; 1565s # for (l = skeleton->priv->changed_properties; l != NULL; l = l->next) 1565s # { 1565s # ChangedProperty *i_cp = l->data; 1565s # if (i_cp->info == info) 1565s # { 1565s # cp = i_cp; 1565s # break; 1565s # } 1565s # } 1565s # if (cp == NULL) 1565s # { 1565s # cp = g_new0 (ChangedProperty, 1); 1565s # cp->prop_id = prop_id; 1565s # cp->info = info; 1565s # skeleton->priv->changed_properties = g_list_prepend (skeleton->priv->changed_properties, cp); 1565s # g_value_init (&cp->orig_value, G_VALUE_TYPE (orig_value)); 1565s # g_value_copy (orig_value, &cp->orig_value); 1565s # } 1565s # } 1565s # 1565s # static void 1565s # good_types_skeleton_notify (GObject *object, 1565s # GParamSpec *pspec G_GNUC_UNUSED) 1565s # { 1565s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 1565s # g_mutex_lock (&skeleton->priv->lock); 1565s # if (skeleton->priv->changed_properties != NULL && 1565s # skeleton->priv->changed_properties_idle_source == NULL) 1565s # { 1565s # skeleton->priv->changed_properties_idle_source = g_idle_source_new (); 1565s # g_source_set_priority (skeleton->priv->changed_properties_idle_source, G_PRIORITY_DEFAULT); 1565s # g_source_set_callback (skeleton->priv->changed_properties_idle_source, _good_types_emit_changed, g_object_ref (skeleton), (GDestroyNotify) g_object_unref); 1565s # g_source_set_name (skeleton->priv->changed_properties_idle_source, "[generated] _good_types_emit_changed"); 1565s # g_source_attach (skeleton->priv->changed_properties_idle_source, skeleton->priv->context); 1565s # g_source_unref (skeleton->priv->changed_properties_idle_source); 1565s # } 1565s # g_mutex_unlock (&skeleton->priv->lock); 1565s # } 1565s # 1565s # static void 1565s # good_types_skeleton_set_property (GObject *object, 1565s # guint prop_id, 1565s # const GValue *value, 1565s # GParamSpec *pspec) 1565s # { 1565s # const _ExtendedGDBusPropertyInfo *info; 1565s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 1565s # g_assert (prop_id != 0 && prop_id - 1 < 1); 1565s # info = (const _ExtendedGDBusPropertyInfo *) _good_types_property_info_pointers[prop_id - 1]; 1565s # g_mutex_lock (&skeleton->priv->lock); 1565s # g_object_freeze_notify (object); 1565s # if (!_g_value_equal (value, &skeleton->priv->properties[prop_id - 1])) 1565s # { 1565s # if (g_dbus_interface_skeleton_get_connection (G_DBUS_INTERFACE_SKELETON (skeleton)) != NULL && 1565s # info->emits_changed_signal) 1565s # _good_types_schedule_emit_changed (skeleton, info, prop_id, &skeleton->priv->properties[prop_id - 1]); 1565s # g_value_copy (value, &skeleton->priv->properties[prop_id - 1]); 1565s # g_object_notify_by_pspec (object, pspec); 1565s # } 1565s # g_mutex_unlock (&skeleton->priv->lock); 1565s # g_object_thaw_notify (object); 1565s # } 1565s # 1565s # static void 1565s # good_types_skeleton_init (GoodTypesSkeleton *skeleton) 1565s # { 1565s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1565s # skeleton->priv = good_types_skeleton_get_instance_private (skeleton); 1565s # #else 1565s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_GOOD_TYPES_SKELETON, GoodTypesSkeletonPrivate); 1565s # #endif 1565s # 1565s # g_mutex_init (&skeleton->priv->lock); 1565s # skeleton->priv->context = g_main_context_ref_thread_default (); 1565s # skeleton->priv->properties = g_new0 (GValue, 1); 1565s # g_value_init (&skeleton->priv->properties[0], G_TYPE_VARIANT); 1565s # } 1565s # 1565s # static GVariant * 1565s # good_types_skeleton_get_good_property_type (GoodTypes *object) 1565s # { 1565s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 1565s # GVariant *value; 1565s # g_mutex_lock (&skeleton->priv->lock); 1565s # value = g_marshal_value_peek_variant (&(skeleton->priv->properties[0])); 1565s # g_mutex_unlock (&skeleton->priv->lock); 1565s # return value; 1565s # } 1565s # 1565s # static void 1565s # good_types_skeleton_class_init (GoodTypesSkeletonClass *klass) 1565s # { 1565s # GObjectClass *gobject_class; 1565s # GDBusInterfaceSkeletonClass *skeleton_class; 1565s # 1565s # gobject_class = G_OBJECT_CLASS (klass); 1565s # gobject_class->finalize = good_types_skeleton_finalize; 1565s # gobject_class->get_property = good_types_skeleton_get_property; 1565s # gobject_class->set_property = good_types_skeleton_set_property; 1565s # gobject_class->notify = good_types_skeleton_notify; 1565s # 1565s # 1565s # good_types_override_properties (gobject_class, 1); 1565s # 1565s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1565s # skeleton_class->get_info = good_types_skeleton_dbus_interface_get_info; 1565s # skeleton_class->get_properties = good_types_skeleton_dbus_interface_get_properties; 1565s # skeleton_class->flush = good_types_skeleton_dbus_interface_flush; 1565s # skeleton_class->get_vtable = good_types_skeleton_dbus_interface_get_vtable; 1565s # 1565s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1565s # g_type_class_add_private (klass, sizeof (GoodTypesSkeletonPrivate)); 1565s # #endif 1565s # } 1565s # 1565s # static void 1565s # good_types_skeleton_iface_init (GoodTypesIface *iface) 1565s # { 1565s # iface->get_good_property_type = good_types_skeleton_get_good_property_type; 1565s # } 1565s # 1565s # /** 1565s # * good_types_skeleton_new: 1565s # * 1565s # * Creates a skeleton object for the D-Bus interface GoodTypes. 1565s # * 1565s # * Returns: (transfer full) (type GoodTypesSkeleton): The skeleton object. 1565s # */ 1565s # GoodTypes * 1565s # good_types_skeleton_new (void) 1565s # { 1565s # return GOOD_TYPES (g_object_new (TYPE_GOOD_TYPES_SKELETON, NULL)); 1565s # } 1565s # /tmp/tmp102oia9v/tmpmdwg6k59.xml: 1565s # 1565s # 1565s # 1565s # 1565s # 1565s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp102oia9v/tmpmdwg6k59.xml', '--output', '-', '--body'] 1565s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-baqskmurxn,guid=fbaffe99d0ccb1f6e1beb84865fc01cd', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.YcZbqk/autopkgtest_tmp', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.YcZbqk/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.YcZbqk/autopkgtest_tmp', 'TERM': 'unknown', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.YcZbqk/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.sVTVMp0Db0', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.rqZsJO/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.YcZbqk/wrapper.sh --artifacts=/tmp/autopkgtest.YcZbqk/installed-tests-artifacts --chdir=/tmp/autopkgtest.YcZbqk/build.S0E/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.YcZbqk/installed-tests-stderr --stdout=/tmp/autopkgtest.YcZbqk/installed-tests-stdout --tmp=/tmp/autopkgtest.YcZbqk/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2' --make-executable=/tmp/autopkgtest.YcZbqk/build.S0E/src/debian/tests/installed-tests -- /tmp/autopkgtest.YcZbqk/build.S0E/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.YcZbqk/build.S0E/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.YcZbqk/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1565s # Output: /* 1565s # * This file is generated by gdbus-codegen, do not modify it. 1565s # * 1565s # * The license of this code is the same as for the D-Bus interface description 1565s # * it was derived from. Note that it links to GLib, so must comply with the 1565s # * LGPL linking clauses. 1565s # */ 1565s # 1565s # #ifdef HAVE_CONFIG_H 1565s # # include "config.h" 1565s # #endif 1565s # 1565s # #include 1565s # #ifdef G_OS_UNIX 1565s # # include 1565s # #endif 1565s # 1565s # #ifdef G_ENABLE_DEBUG 1565s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1565s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1565s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1565s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1565s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1565s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1565s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1565s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1565s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1565s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1565s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1565s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1565s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1565s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1565s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1565s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1565s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1565s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1565s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1565s # #else /* !G_ENABLE_DEBUG */ 1565s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1565s # * Do not access GValues directly in your code. Instead, use the 1565s # * g_value_get_*() functions 1565s # */ 1565s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1565s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1565s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1565s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1565s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1565s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1565s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1565s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1565s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1565s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1565s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1565s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1565s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1565s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1565s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1565s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1565s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1565s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1565s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1565s # #endif /* !G_ENABLE_DEBUG */ 1565s # 1565s # typedef struct 1565s # { 1565s # GDBusArgInfo parent_struct; 1565s # gboolean use_gvariant; 1565s # } _ExtendedGDBusArgInfo; 1565s # 1565s # typedef struct 1565s # { 1565s # GDBusMethodInfo parent_struct; 1565s # const gchar *signal_name; 1565s # gboolean pass_fdlist; 1565s # } _ExtendedGDBusMethodInfo; 1565s # 1565s # typedef struct 1565s # { 1565s # GDBusSignalInfo parent_struct; 1565s # const gchar *signal_name; 1565s # } _ExtendedGDBusSignalInfo; 1565s # 1565s # typedef struct 1565s # { 1565s # GDBusPropertyInfo parent_struct; 1565s # const gchar *hyphen_name; 1565s # guint use_gvariant : 1; 1565s # guint emits_changed_signal : 1; 1565s # } _ExtendedGDBusPropertyInfo; 1565s # 1565s # typedef struct 1565s # { 1565s # GDBusInterfaceInfo parent_struct; 1565s # const gchar *hyphen_name; 1565s # } _ExtendedGDBusInterfaceInfo; 1565s # 1565s # typedef struct 1565s # { 1565s # const _ExtendedGDBusPropertyInfo *info; 1565s # guint prop_id; 1565s # GValue orig_value; /* the value before the change */ 1565s # } ChangedProperty; 1565s # 1565s # static void 1565s # _changed_property_free (ChangedProperty *data) 1565s # { 1565s # g_value_unset (&data->orig_value); 1565s # g_free (data); 1565s # } 1565s # 1565s # static gboolean 1565s # _g_strv_equal0 (gchar **a, gchar **b) 1565s # { 1565s # gboolean ret = FALSE; 1565s # guint n; 1565s # if (a == NULL && b == NULL) 1565s # { 1565s # ret = TRUE; 1565s # goto out; 1565s # } 1565s # if (a == NULL || b == NULL) 1565s # goto out; 1565s # if (g_strv_length (a) != g_strv_length (b)) 1565s # goto out; 1565s # for (n = 0; a[n] != NULL; n++) 1565s # if (g_strcmp0 (a[n], b[n]) != 0) 1565s # goto out; 1565s # ret = TRUE; 1565s # out: 1565s # return ret; 1565s # } 1565s # 1565s # static gboolean 1565s # _g_variant_equal0 (GVariant *a, GVariant *b) 1565s # { 1565s # gboolean ret = FALSE; 1565s # if (a == NULL && b == NULL) 1565s # { 1565s # ret = TRUE; 1565s # goto out; 1565s # } 1565s # if (a == NULL || b == NULL) 1565s # goto out; 1565s # ret = g_variant_equal (a, b); 1565s # out: 1565s # return ret; 1565s # } 1565s # 1565s # G_GNUC_UNUSED static gboolean 1565s # _g_value_equal (const GValue *a, const GValue *b) 1565s # { 1565s # gboolean ret = FALSE; 1565s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1565s # switch (G_VALUE_TYPE (a)) 1565s # { 1565s # case G_TYPE_BOOLEAN: 1565s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1565s # break; 1565s # case G_TYPE_UCHAR: 1565s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1565s # break; 1565s # case G_TYPE_INT: 1565s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1565s # break; 1565s # case G_TYPE_UINT: 1565s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1565s # break; 1565s # case G_TYPE_INT64: 1565s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1565s # break; 1565s # case G_TYPE_UINT64: 1565s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1565s # break; 1565s # case G_TYPE_DOUBLE: 1565s # { 1565s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1565s # gdouble da = g_value_get_double (a); 1565s # gdouble db = g_value_get_double (b); 1565s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1565s # } 1565s # break; 1565s # case G_TYPE_STRING: 1565s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1565s # break; 1565s # case G_TYPE_VARIANT: 1565s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1565s # break; 1565s # default: 1565s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1565s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1565s # else 1565s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1565s # break; 1565s # } 1565s # return ret; 1565s # } 1565s # 1565s # /* ------------------------------------------------------------------------ 1565s # * Code for interface GoodTypes 1565s # * ------------------------------------------------------------------------ 1565s # */ 1565s # 1565s # /** 1565s # * SECTION:GoodTypes 1565s # * @title: GoodTypes 1565s # * @short_description: Generated C code for the GoodTypes D-Bus interface 1565s # * 1565s # * This section contains code for working with the GoodTypes D-Bus interface in C. 1565s # */ 1565s # 1565s # /* ---- Introspection data for GoodTypes ---- */ 1565s # 1565s # static const _ExtendedGDBusPropertyInfo _good_types_property_info_good_property_type = 1565s # { 1565s # { 1565s # -1, 1565s # (gchar *) "GoodPropertyType", 1565s # (gchar *) "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaas", 1565s # G_DBUS_PROPERTY_INFO_FLAGS_READABLE, 1565s # NULL 1565s # }, 1565s # "good-property-type", 1565s # FALSE, 1565s # TRUE 1565s # }; 1565s # 1565s # static const GDBusPropertyInfo * const _good_types_property_info_pointers[] = 1565s # { 1565s # &_good_types_property_info_good_property_type.parent_struct, 1565s # NULL 1565s # }; 1565s # 1565s # static const _ExtendedGDBusInterfaceInfo _good_types_interface_info = 1565s # { 1565s # { 1565s # -1, 1565s # (gchar *) "GoodTypes", 1565s # NULL, 1565s # NULL, 1565s # (GDBusPropertyInfo **) &_good_types_property_info_pointers, 1565s # NULL 1565s # }, 1565s # "good-types", 1565s # }; 1565s # 1565s # 1565s # /** 1565s # * good_types_interface_info: 1565s # * 1565s # * Gets a machine-readable description of the GoodTypes D-Bus interface. 1565s # * 1565s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1565s # */ 1565s # GDBusInterfaceInfo * 1565s # good_types_interface_info (void) 1565s # { 1565s # return (GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct; 1565s # } 1565s # 1565s # /** 1565s # * good_types_override_properties: 1565s # * @klass: The class structure for a #GObject derived class. 1565s # * @property_id_begin: The property id to assign to the first overridden property. 1565s # * 1565s # * Overrides all #GObject properties in the GoodTypes interface for a concrete class. 1565s # * The properties are overridden in the order they are defined. 1565s # * 1565s # * Returns: The last property id. 1565s # */ 1565s # guint 1565s # good_types_override_properties (GObjectClass *klass, guint property_id_begin) 1565s # { 1565s # g_object_class_override_property (klass, property_id_begin++, "good-property-type"); 1565s # return property_id_begin - 1; 1565s # } 1565s # 1565s # 1565s # 1565s # /** 1565s # * GoodTypes: 1565s # * 1565s # * Abstract interface type for the D-Bus interface GoodTypes. 1565s # */ 1565s # 1565s # /** 1565s # * GoodTypesIface: 1565s # * @parent_iface: The parent interface. 1565s # * @get_good_property_type: Getter for the #GoodTypes:good-property-type property. 1565s # * 1565s # * Virtual table for the D-Bus interface GoodTypes. 1565s # */ 1565s # 1565s # typedef GoodTypesIface GoodTypesInterface; 1565s # G_DEFINE_INTERFACE (GoodTypes, good_types, G_TYPE_OBJECT) 1565s # 1565s # static void 1565s # good_types_default_init (GoodTypesIface *iface) 1565s # { 1565s # /* GObject properties for D-Bus properties: */ 1565s # /** 1565s # * GoodTypes:good-property-type: 1565s # * 1565s # * Represents the D-Bus property "GoodPropertyType". 1565s # * 1565s # * 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. 1565s # */ 1565s # g_object_interface_install_property (iface, 1565s # g_param_spec_variant ("good-property-type", "GoodPropertyType", "GoodPropertyType", G_VARIANT_TYPE ("aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaas"), NULL, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)); 1565s # } 1565s # 1565s # /** 1565s # * good_types_get_good_property_type: (skip) 1565s # * @object: A GoodTypes. 1565s # * 1565s # * Gets the value of the "GoodPropertyType" D-Bus property. 1565s # * 1565s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side. 1565s # * 1565s # * 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. 1565s # * 1565s # * 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. 1565s # */ 1565s # GVariant * 1565s # good_types_get_good_property_type (GoodTypes *object) 1565s # { 1565s # g_return_val_if_fail (IS_GOOD_TYPES (object), NULL); 1565s # 1565s # return GOOD_TYPES_GET_IFACE (object)->get_good_property_type (object); 1565s # } 1565s # 1565s # /** 1565s # * good_types_dup_good_property_type: (skip) 1565s # * @object: A GoodTypes. 1565s # * 1565s # * Gets a copy of the "GoodPropertyType" D-Bus property. 1565s # * 1565s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side. 1565s # * 1565s # * 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(). 1565s # */ 1565s # GVariant * 1565s # good_types_dup_good_property_type (GoodTypes *object) 1565s # { 1565s # GVariant *value; 1565s # g_object_get (G_OBJECT (object), "good-property-type", &value, NULL); 1565s # return value; 1565s # } 1565s # 1565s # /** 1565s # * good_types_set_good_property_type: (skip) 1565s # * @object: A GoodTypes. 1565s # * @value: The value to set. 1565s # * 1565s # * Sets the "GoodPropertyType" D-Bus property to @value. 1565s # * 1565s # * Since this D-Bus property is not writable, it is only meaningful to use this function on the service-side. 1565s # */ 1565s # void 1565s # good_types_set_good_property_type (GoodTypes *object, GVariant *value) 1565s # { 1565s # g_object_set (G_OBJECT (object), "good-property-type", value, NULL); 1565s # } 1565s # 1565s # /* ------------------------------------------------------------------------ */ 1565s # 1565s # /** 1565s # * GoodTypesProxy: 1565s # * 1565s # * The GoodTypesProxy structure contains only private data and should only be accessed using the provided API. 1565s # */ 1565s # 1565s # /** 1565s # * GoodTypesProxyClass: 1565s # * @parent_class: The parent class. 1565s # * 1565s # * Class structure for GoodTypesProxy. 1565s # */ 1565s # 1565s # struct _GoodTypesProxyPrivate 1565s # { 1565s # GData *qdata; 1565s # }; 1565s # 1565s # static void good_types_proxy_iface_init (GoodTypesIface *iface); 1565s # 1565s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1565s # G_DEFINE_TYPE_WITH_CODE (GoodTypesProxy, good_types_proxy, G_TYPE_DBUS_PROXY, 1565s # G_ADD_PRIVATE (GoodTypesProxy) 1565s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_proxy_iface_init)) 1565s # 1565s # #else 1565s # G_DEFINE_TYPE_WITH_CODE (GoodTypesProxy, good_types_proxy, G_TYPE_DBUS_PROXY, 1565s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_proxy_iface_init)) 1565s # 1565s # #endif 1565s # static void 1565s # good_types_proxy_finalize (GObject *object) 1565s # { 1565s # GoodTypesProxy *proxy = GOOD_TYPES_PROXY (object); 1565s # g_datalist_clear (&proxy->priv->qdata); 1565s # G_OBJECT_CLASS (good_types_proxy_parent_class)->finalize (object); 1565s # } 1565s # 1565s # static void 1565s # good_types_proxy_get_property (GObject *object, 1565s # guint prop_id, 1565s # GValue *value, 1565s # GParamSpec *pspec G_GNUC_UNUSED) 1565s # { 1565s # const _ExtendedGDBusPropertyInfo *info; 1565s # GVariant *variant; 1565s # g_assert (prop_id != 0 && prop_id - 1 < 1); 1565s # info = (const _ExtendedGDBusPropertyInfo *) _good_types_property_info_pointers[prop_id - 1]; 1565s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (object), info->parent_struct.name); 1565s # if (info->use_gvariant) 1565s # { 1565s # g_value_set_variant (value, variant); 1565s # } 1565s # else 1565s # { 1565s # if (variant != NULL) 1565s # g_dbus_gvariant_to_gvalue (variant, value); 1565s # } 1565s # if (variant != NULL) 1565s # g_variant_unref (variant); 1565s # } 1565s # 1565s # static void 1565s # good_types_proxy_set_property_cb (GDBusProxy *proxy, 1565s # GAsyncResult *res, 1565s # gpointer user_data) 1565s # { 1565s # const _ExtendedGDBusPropertyInfo *info = user_data; 1565s # GError *error; 1565s # GVariant *_ret; 1565s # error = NULL; 1565s # _ret = g_dbus_proxy_call_finish (proxy, res, &error); 1565s # if (!_ret) 1565s # { 1565s # g_warning ("Error setting property '%s' on interface GoodTypes: %s (%s, %d)", 1565s # info->parent_struct.name, 1565s # error->message, g_quark_to_string (error->domain), error->code); 1565s # g_error_free (error); 1565s # } 1565s # else 1565s # { 1565s # g_variant_unref (_ret); 1565s # } 1565s # } 1565s # 1565s # static void 1565s # good_types_proxy_set_property (GObject *object, 1565s # guint prop_id, 1565s # const GValue *value, 1565s # GParamSpec *pspec G_GNUC_UNUSED) 1565s # { 1565s # const _ExtendedGDBusPropertyInfo *info; 1565s # GVariant *variant; 1565s # g_assert (prop_id != 0 && prop_id - 1 < 1); 1565s # info = (const _ExtendedGDBusPropertyInfo *) _good_types_property_info_pointers[prop_id - 1]; 1565s # variant = g_dbus_gvalue_to_gvariant (value, G_VARIANT_TYPE (info->parent_struct.signature)); 1565s # g_dbus_proxy_call (G_DBUS_PROXY (object), 1565s # "org.freedesktop.DBus.Properties.Set", 1565s # g_variant_new ("(ssv)", "GoodTypes", info->parent_struct.name, variant), 1565s # G_DBUS_CALL_FLAGS_NONE, 1565s # -1, 1565s # NULL, (GAsyncReadyCallback) good_types_proxy_set_property_cb, (GDBusPropertyInfo *) &info->parent_struct); 1565s # g_variant_unref (variant); 1565s # } 1565s # 1565s # static void 1565s # good_types_proxy_g_signal (GDBusProxy *proxy, 1565s # const gchar *sender_name G_GNUC_UNUSED, 1565s # const gchar *signal_name, 1565s # GVariant *parameters) 1565s # { 1565s # _ExtendedGDBusSignalInfo *info; 1565s # GVariantIter iter; 1565s # GVariant *child; 1565s # GValue *paramv; 1565s # gsize num_params; 1565s # gsize n; 1565s # guint signal_id; 1565s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, signal_name); 1565s # if (info == NULL) 1565s # return; 1565s # num_params = g_variant_n_children (parameters); 1565s # paramv = g_new0 (GValue, num_params + 1); 1565s # g_value_init (¶mv[0], TYPE_GOOD_TYPES); 1565s # g_value_set_object (¶mv[0], proxy); 1565s # g_variant_iter_init (&iter, parameters); 1565s # n = 1; 1565s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1565s # { 1565s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1565s # if (arg_info->use_gvariant) 1565s # { 1565s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1565s # g_value_set_variant (¶mv[n], child); 1565s # n++; 1565s # } 1565s # else 1565s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1565s # g_variant_unref (child); 1565s # } 1565s # signal_id = g_signal_lookup (info->signal_name, TYPE_GOOD_TYPES); 1565s # g_signal_emitv (paramv, signal_id, 0, NULL); 1565s # for (n = 0; n < num_params + 1; n++) 1565s # g_value_unset (¶mv[n]); 1565s # g_free (paramv); 1565s # } 1565s # 1565s # static void 1565s # good_types_proxy_g_properties_changed (GDBusProxy *_proxy, 1565s # GVariant *changed_properties, 1565s # const gchar *const *invalidated_properties) 1565s # { 1565s # GoodTypesProxy *proxy = GOOD_TYPES_PROXY (_proxy); 1565s # guint n; 1565s # const gchar *key; 1565s # GVariantIter *iter; 1565s # _ExtendedGDBusPropertyInfo *info; 1565s # g_variant_get (changed_properties, "a{sv}", &iter); 1565s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1565s # { 1565s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, key); 1565s # g_datalist_remove_data (&proxy->priv->qdata, key); 1565s # if (info != NULL) 1565s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1565s # } 1565s # g_variant_iter_free (iter); 1565s # for (n = 0; invalidated_properties[n] != NULL; n++) 1565s # { 1565s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, invalidated_properties[n]); 1565s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1565s # if (info != NULL) 1565s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1565s # } 1565s # } 1565s # 1565s # static GVariant * 1565s # good_types_proxy_get_good_property_type (GoodTypes *object) 1565s # { 1565s # GoodTypesProxy *proxy = GOOD_TYPES_PROXY (object); 1565s # GVariant *variant; 1565s # GVariant *value = NULL; 1565s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (proxy), "GoodPropertyType"); 1565s # value = variant; 1565s # if (variant != NULL) 1565s # g_variant_unref (variant); 1565s # return value; 1565s # } 1565s # 1565s # static void 1565s # good_types_proxy_init (GoodTypesProxy *proxy) 1565s # { 1565s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1565s # proxy->priv = good_types_proxy_get_instance_private (proxy); 1565s # #else 1565s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_GOOD_TYPES_PROXY, GoodTypesProxyPrivate); 1565s # #endif 1565s # 1565s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), good_types_interface_info ()); 1565s # } 1565s # 1565s # static void 1565s # good_types_proxy_class_init (GoodTypesProxyClass *klass) 1565s # { 1565s # GObjectClass *gobject_class; 1565s # GDBusProxyClass *proxy_class; 1565s # 1565s # gobject_class = G_OBJECT_CLASS (klass); 1565s # gobject_class->finalize = good_types_proxy_finalize; 1565s # gobject_class->get_property = good_types_proxy_get_property; 1565s # gobject_class->set_property = good_types_proxy_set_property; 1565s # 1565s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1565s # proxy_class->g_signal = good_types_proxy_g_signal; 1565s # proxy_class->g_properties_changed = good_types_proxy_g_properties_changed; 1565s # 1565s # good_types_override_properties (gobject_class, 1); 1565s # 1565s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1565s # g_type_class_add_private (klass, sizeof (GoodTypesProxyPrivate)); 1565s # #endif 1565s # } 1565s # 1565s # static void 1565s # good_types_proxy_iface_init (GoodTypesIface *iface) 1565s # { 1565s # iface->get_good_property_type = good_types_proxy_get_good_property_type; 1565s # } 1565s # 1565s # /** 1565s # * good_types_proxy_new: 1565s # * @connection: A #GDBusConnection. 1565s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1565s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1565s # * @object_path: An object path. 1565s # * @cancellable: (nullable): A #GCancellable or %NULL. 1565s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1565s # * @user_data: User data to pass to @callback. 1565s # * 1565s # * Asynchronously creates a proxy for the D-Bus interface GoodTypes. See g_dbus_proxy_new() for more details. 1565s # * 1565s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1565s # * You can then call good_types_proxy_new_finish() to get the result of the operation. 1565s # * 1565s # * See good_types_proxy_new_sync() for the synchronous, blocking version of this constructor. 1565s # */ 1565s # void 1565s # good_types_proxy_new ( 1565s # GDBusConnection *connection, 1565s # GDBusProxyFlags flags, 1565s # const gchar *name, 1565s # const gchar *object_path, 1565s # GCancellable *cancellable, 1565s # GAsyncReadyCallback callback, 1565s # gpointer user_data) 1565s # { 1565s # 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); 1565s # } 1565s # 1565s # /** 1565s # * good_types_proxy_new_finish: 1565s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to good_types_proxy_new(). 1565s # * @error: Return location for error or %NULL 1565s # * 1565s # * Finishes an operation started with good_types_proxy_new(). 1565s # * 1565s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 1565s # */ 1565s # GoodTypes * 1565s # good_types_proxy_new_finish ( 1565s # GAsyncResult *res, 1565s # GError **error) 1565s # { 1565s # GObject *ret; 1565s # GObject *source_object; 1565s # source_object = g_async_result_get_source_object (res); 1565s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1565s # g_object_unref (source_object); 1565s # if (ret != NULL) 1565s # return GOOD_TYPES (ret); 1565s # else 1565s # return NULL; 1565s # } 1565s # 1565s # /** 1565s # * good_types_proxy_new_sync: 1565s # * @connection: A #GDBusConnection. 1565s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1565s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1565s # * @object_path: An object path. 1565s # * @cancellable: (nullable): A #GCancellable or %NULL. 1565s # * @error: Return location for error or %NULL 1565s # * 1565s # * Synchronously creates a proxy for the D-Bus interface GoodTypes. See g_dbus_proxy_new_sync() for more details. 1565s # * 1565s # * The calling thread is blocked until a reply is received. 1565s # * 1565s # * See good_types_proxy_new() for the asynchronous version of this constructor. 1565s # * 1565s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 1565s # */ 1565s # GoodTypes * 1565s # good_types_proxy_new_sync ( 1565s # GDBusConnection *connection, 1565s # GDBusProxyFlags flags, 1565s # const gchar *name, 1565s # const gchar *object_path, 1565s # GCancellable *cancellable, 1565s # GError **error) 1565s # { 1565s # GInitable *ret; 1565s # 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); 1565s # if (ret != NULL) 1565s # return GOOD_TYPES (ret); 1565s # else 1565s # return NULL; 1565s # } 1565s # 1565s # 1565s # /** 1565s # * good_types_proxy_new_for_bus: 1565s # * @bus_type: A #GBusType. 1565s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1565s # * @name: A bus name (well-known or unique). 1565s # * @object_path: An object path. 1565s # * @cancellable: (nullable): A #GCancellable or %NULL. 1565s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1565s # * @user_data: User data to pass to @callback. 1565s # * 1565s # * Like good_types_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1565s # * 1565s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1565s # * You can then call good_types_proxy_new_for_bus_finish() to get the result of the operation. 1565s # * 1565s # * See good_types_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1565s # */ 1565s # void 1565s # good_types_proxy_new_for_bus ( 1565s # GBusType bus_type, 1565s # GDBusProxyFlags flags, 1565s # const gchar *name, 1565s # const gchar *object_path, 1565s # GCancellable *cancellable, 1565s # GAsyncReadyCallback callback, 1565s # gpointer user_data) 1565s # { 1565s # 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); 1565s # } 1565s # 1565s # /** 1565s # * good_types_proxy_new_for_bus_finish: 1565s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to good_types_proxy_new_for_bus(). 1565s # * @error: Return location for error or %NULL 1565s # * 1565s # * Finishes an operation started with good_types_proxy_new_for_bus(). 1565s # * 1565s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 1565s # */ 1565s # GoodTypes * 1565s # good_types_proxy_new_for_bus_finish ( 1565s # GAsyncResult *res, 1565s # GError **error) 1565s # { 1565s # GObject *ret; 1565s # GObject *source_object; 1565s # source_object = g_async_result_get_source_object (res); 1565s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1565s # g_object_unref (source_object); 1565s # if (ret != NULL) 1565s # return GOOD_TYPES (ret); 1565s # else 1565s # return NULL; 1565s # } 1565s # 1565s # /** 1565s # * good_types_proxy_new_for_bus_sync: 1565s # * @bus_type: A #GBusType. 1565s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1565s # * @name: A bus name (well-known or unique). 1565s # * @object_path: An object path. 1565s # * @cancellable: (nullable): A #GCancellable or %NULL. 1565s # * @error: Return location for error or %NULL 1565s # * 1565s # * Like good_types_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1565s # * 1565s # * The calling thread is blocked until a reply is received. 1565s # * 1565s # * See good_types_proxy_new_for_bus() for the asynchronous version of this constructor. 1565s # * 1565s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 1565s # */ 1565s # GoodTypes * 1565s # good_types_proxy_new_for_bus_sync ( 1565s # GBusType bus_type, 1565s # GDBusProxyFlags flags, 1565s # const gchar *name, 1565s # const gchar *object_path, 1565s # GCancellable *cancellable, 1565s # GError **error) 1565s # { 1565s # GInitable *ret; 1565s # 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); 1565s # if (ret != NULL) 1565s # return GOOD_TYPES (ret); 1565s # else 1565s # return NULL; 1565s # } 1565s # 1565s # 1565s # /* ------------------------------------------------------------------------ */ 1565s # 1565s # /** 1565s # * GoodTypesSkeleton: 1565s # * 1565s # * The GoodTypesSkeleton structure contains only private data and should only be accessed using the provided API. 1565s # */ 1565s # 1565s # /** 1565s # * GoodTypesSkeletonClass: 1565s # * @parent_class: The parent class. 1565s # * 1565s # * Class structure for GoodTypesSkeleton. 1565s # */ 1565s # 1565s # struct _GoodTypesSkeletonPrivate 1565s # { 1565s # GValue *properties; 1565s # GList *changed_properties; 1565s # GSource *changed_properties_idle_source; 1565s # GMainContext *context; 1565s # GMutex lock; 1565s # }; 1565s # 1565s # static void 1565s # _good_types_skeleton_handle_method_call ( 1565s # GDBusConnection *connection G_GNUC_UNUSED, 1565s # const gchar *sender G_GNUC_UNUSED, 1565s # const gchar *object_path G_GNUC_UNUSED, 1565s # const gchar *interface_name, 1565s # const gchar *method_name, 1565s # GVariant *parameters, 1565s # GDBusMethodInvocation *invocation, 1565s # gpointer user_data) 1565s # { 1565s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 1565s # _ExtendedGDBusMethodInfo *info; 1565s # GVariantIter iter; 1565s # GVariant *child; 1565s # GValue *paramv; 1565s # gsize num_params; 1565s # guint num_extra; 1565s # gsize n; 1565s # guint signal_id; 1565s # GValue return_value = G_VALUE_INIT; 1565s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1565s # g_assert (info != NULL); 1565s # num_params = g_variant_n_children (parameters); 1565s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1565s # n = 0; 1565s # g_value_init (¶mv[n], TYPE_GOOD_TYPES); 1565s # g_value_set_object (¶mv[n++], skeleton); 1565s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1565s # g_value_set_object (¶mv[n++], invocation); 1565s # if (info->pass_fdlist) 1565s # { 1565s # #ifdef G_OS_UNIX 1565s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1565s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1565s # #else 1565s # g_assert_not_reached (); 1565s # #endif 1565s # } 1565s # g_variant_iter_init (&iter, parameters); 1565s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1565s # { 1565s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1565s # if (arg_info->use_gvariant) 1565s # { 1565s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1565s # g_value_set_variant (¶mv[n], child); 1565s # n++; 1565s # } 1565s # else 1565s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1565s # g_variant_unref (child); 1565s # } 1565s # signal_id = g_signal_lookup (info->signal_name, TYPE_GOOD_TYPES); 1565s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1565s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1565s # if (!g_value_get_boolean (&return_value)) 1565s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1565s # g_value_unset (&return_value); 1565s # for (n = 0; n < num_params + num_extra; n++) 1565s # g_value_unset (¶mv[n]); 1565s # g_free (paramv); 1565s # } 1565s # 1565s # static GVariant * 1565s # _good_types_skeleton_handle_get_property ( 1565s # GDBusConnection *connection G_GNUC_UNUSED, 1565s # const gchar *sender G_GNUC_UNUSED, 1565s # const gchar *object_path G_GNUC_UNUSED, 1565s # const gchar *interface_name G_GNUC_UNUSED, 1565s # const gchar *property_name, 1565s # GError **error, 1565s # gpointer user_data) 1565s # { 1565s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 1565s # GValue value = G_VALUE_INIT; 1565s # GParamSpec *pspec; 1565s # _ExtendedGDBusPropertyInfo *info; 1565s # GVariant *ret; 1565s # ret = NULL; 1565s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, property_name); 1565s # g_assert (info != NULL); 1565s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1565s # if (pspec == NULL) 1565s # { 1565s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1565s # } 1565s # else 1565s # { 1565s # g_value_init (&value, pspec->value_type); 1565s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1565s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1565s # g_value_unset (&value); 1565s # } 1565s # return ret; 1565s # } 1565s # 1565s # static gboolean 1565s # _good_types_skeleton_handle_set_property ( 1565s # GDBusConnection *connection G_GNUC_UNUSED, 1565s # const gchar *sender G_GNUC_UNUSED, 1565s # const gchar *object_path G_GNUC_UNUSED, 1565s # const gchar *interface_name G_GNUC_UNUSED, 1565s # const gchar *property_name, 1565s # GVariant *variant, 1565s # GError **error, 1565s # gpointer user_data) 1565s # { 1565s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 1565s # GValue value = G_VALUE_INIT; 1565s # GParamSpec *pspec; 1565s # _ExtendedGDBusPropertyInfo *info; 1565s # gboolean ret; 1565s # ret = FALSE; 1565s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, property_name); 1565s # g_assert (info != NULL); 1565s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1565s # if (pspec == NULL) 1565s # { 1565s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1565s # } 1565s # else 1565s # { 1565s # if (info->use_gvariant) 1565s # g_value_set_variant (&value, variant); 1565s # else 1565s # g_dbus_gvariant_to_gvalue (variant, &value); 1565s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1565s # g_value_unset (&value); 1565s # ret = TRUE; 1565s # } 1565s # return ret; 1565s # } 1565s # 1565s # static const GDBusInterfaceVTable _good_types_skeleton_vtable = 1565s # { 1565s # _good_types_skeleton_handle_method_call, 1565s # _good_types_skeleton_handle_get_property, 1565s # _good_types_skeleton_handle_set_property, 1565s # {NULL} 1565s # }; 1565s # 1565s # static GDBusInterfaceInfo * 1565s # good_types_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1565s # { 1565s # return good_types_interface_info (); 1565s # } 1565s # 1565s # static GDBusInterfaceVTable * 1565s # good_types_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1565s # { 1565s # return (GDBusInterfaceVTable *) &_good_types_skeleton_vtable; 1565s # } 1565s # 1565s # static GVariant * 1565s # good_types_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1565s # { 1565s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (_skeleton); 1565s # 1565s # GVariantBuilder builder; 1565s # guint n; 1565s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1565s # if (_good_types_interface_info.parent_struct.properties == NULL) 1565s # goto out; 1565s # for (n = 0; _good_types_interface_info.parent_struct.properties[n] != NULL; n++) 1565s # { 1565s # GDBusPropertyInfo *info = _good_types_interface_info.parent_struct.properties[n]; 1565s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1565s # { 1565s # GVariant *value; 1565s # 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); 1565s # if (value != NULL) 1565s # { 1565s # g_variant_take_ref (value); 1565s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1565s # g_variant_unref (value); 1565s # } 1565s # } 1565s # } 1565s # out: 1565s # return g_variant_builder_end (&builder); 1565s # } 1565s # 1565s # static gboolean _good_types_emit_changed (gpointer user_data); 1565s # 1565s # static void 1565s # good_types_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton) 1565s # { 1565s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (_skeleton); 1565s # gboolean emit_changed = FALSE; 1565s # 1565s # g_mutex_lock (&skeleton->priv->lock); 1565s # if (skeleton->priv->changed_properties_idle_source != NULL) 1565s # { 1565s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1565s # skeleton->priv->changed_properties_idle_source = NULL; 1565s # emit_changed = TRUE; 1565s # } 1565s # g_mutex_unlock (&skeleton->priv->lock); 1565s # 1565s # if (emit_changed) 1565s # _good_types_emit_changed (skeleton); 1565s # } 1565s # 1565s # static void good_types_skeleton_iface_init (GoodTypesIface *iface); 1565s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1565s # G_DEFINE_TYPE_WITH_CODE (GoodTypesSkeleton, good_types_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1565s # G_ADD_PRIVATE (GoodTypesSkeleton) 1565s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_skeleton_iface_init)) 1565s # 1565s # #else 1565s # G_DEFINE_TYPE_WITH_CODE (GoodTypesSkeleton, good_types_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1565s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_skeleton_iface_init)) 1565s # 1565s # #endif 1565s # static void 1565s # good_types_skeleton_finalize (GObject *object) 1565s # { 1565s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 1565s # guint n; 1565s # for (n = 0; n < 1; n++) 1565s # g_value_unset (&skeleton->priv->properties[n]); 1565s # g_free (skeleton->priv->properties); 1565s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1565s # if (skeleton->priv->changed_properties_idle_source != NULL) 1565s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1565s # g_main_context_unref (skeleton->priv->context); 1565s # g_mutex_clear (&skeleton->priv->lock); 1565s # G_OBJECT_CLASS (good_types_skeleton_parent_class)->finalize (object); 1565s # } 1565s # 1565s # static void 1565s # good_types_skeleton_get_property (GObject *object, 1565s # guint prop_id, 1565s # GValue *value, 1565s # GParamSpec *pspec G_GNUC_UNUSED) 1565s # { 1565s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 1565s # g_assert (prop_id != 0 && prop_id - 1 < 1); 1565s # g_mutex_lock (&skeleton->priv->lock); 1565s # g_value_copy (&skeleton->priv->properties[prop_id - 1], value); 1565s # g_mutex_unlock (&skeleton->priv->lock); 1565s # } 1565s # 1565s # static gboolean 1565s # _good_types_emit_changed (gpointer user_data) 1565s # { 1565s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 1565s # GList *l; 1565s # GVariantBuilder builder; 1565s # GVariantBuilder invalidated_builder; 1565s # guint num_changes; 1565s # 1565s # g_mutex_lock (&skeleton->priv->lock); 1565s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1565s # g_variant_builder_init (&invalidated_builder, G_VARIANT_TYPE ("as")); 1565s # for (l = skeleton->priv->changed_properties, num_changes = 0; l != NULL; l = l->next) 1565s # { 1565s # ChangedProperty *cp = l->data; 1565s # GVariant *variant; 1565s # const GValue *cur_value; 1565s # 1565s # cur_value = &skeleton->priv->properties[cp->prop_id - 1]; 1565s # if (!_g_value_equal (cur_value, &cp->orig_value)) 1565s # { 1565s # variant = g_dbus_gvalue_to_gvariant (cur_value, G_VARIANT_TYPE (cp->info->parent_struct.signature)); 1565s # g_variant_builder_add (&builder, "{sv}", cp->info->parent_struct.name, variant); 1565s # g_variant_unref (variant); 1565s # num_changes++; 1565s # } 1565s # } 1565s # if (num_changes > 0) 1565s # { 1565s # GList *connections, *ll; 1565s # GVariant *signal_variant; 1565s # signal_variant = g_variant_ref_sink (g_variant_new ("(sa{sv}as)", "GoodTypes", 1565s # &builder, &invalidated_builder)); 1565s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1565s # for (ll = connections; ll != NULL; ll = ll->next) 1565s # { 1565s # GDBusConnection *connection = ll->data; 1565s # 1565s # g_dbus_connection_emit_signal (connection, 1565s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), 1565s # "org.freedesktop.DBus.Properties", 1565s # "PropertiesChanged", 1565s # signal_variant, 1565s # NULL); 1565s # } 1565s # g_variant_unref (signal_variant); 1565s # g_list_free_full (connections, g_object_unref); 1565s # } 1565s # else 1565s # { 1565s # g_variant_builder_clear (&builder); 1565s # g_variant_builder_clear (&invalidated_builder); 1565s # } 1565s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1565s # skeleton->priv->changed_properties = NULL; 1565s # skeleton->priv->changed_properties_idle_source = NULL; 1565s # g_mutex_unlock (&skeleton->priv->lock); 1565s # return FALSE; 1565s # } 1565s # 1565s # static void 1565s # _good_types_schedule_emit_changed (GoodTypesSkeleton *skeleton, const _ExtendedGDBusPropertyInfo *info, guint prop_id, const GValue *orig_value) 1565s # { 1565s # ChangedProperty *cp; 1565s # GList *l; 1565s # cp = NULL; 1565s # for (l = skeleton->priv->changed_properties; l != NULL; l = l->next) 1565s # { 1565s # ChangedProperty *i_cp = l->data; 1565s # if (i_cp->info == info) 1565s # { 1565s # cp = i_cp; 1565s # break; 1565s # } 1565s # } 1565s # if (cp == NULL) 1565s # { 1565s # cp = g_new0 (ChangedProperty, 1); 1565s # cp->prop_id = prop_id; 1565s # cp->info = info; 1565s # skeleton->priv->changed_properties = g_list_prepend (skeleton->priv->changed_properties, cp); 1565s # g_value_init (&cp->orig_value, G_VALUE_TYPE (orig_value)); 1565s # g_value_copy (orig_value, &cp->orig_value); 1565s # } 1565s # } 1565s # 1565s # static void 1565s # good_types_skeleton_notify (GObject *object, 1565s # GParamSpec *pspec G_GNUC_UNUSED) 1565s # { 1565s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 1565s # g_mutex_lock (&skeleton->priv->lock); 1565s # if (skeleton->priv->changed_properties != NULL && 1565s # skeleton->priv->changed_properties_idle_source == NULL) 1565s # { 1565s # skeleton->priv->changed_properties_idle_source = g_idle_source_new (); 1565s # g_source_set_priority (skeleton->priv->changed_properties_idle_source, G_PRIORITY_DEFAULT); 1565s # g_source_set_callback (skeleton->priv->changed_properties_idle_source, _good_types_emit_changed, g_object_ref (skeleton), (GDestroyNotify) g_object_unref); 1565s # g_source_set_name (skeleton->priv->changed_properties_idle_source, "[generated] _good_types_emit_changed"); 1565s # g_source_attach (skeleton->priv->changed_properties_idle_source, skeleton->priv->context); 1565s # g_source_unref (skeleton->priv->changed_properties_idle_source); 1565s # } 1565s # g_mutex_unlock (&skeleton->priv->lock); 1565s # } 1565s # 1565s # static void 1565s # good_types_skeleton_set_property (GObject *object, 1565s # guint prop_id, 1565s # const GValue *value, 1565s # GParamSpec *pspec) 1565s # { 1565s # const _ExtendedGDBusPropertyInfo *info; 1565s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 1565s # g_assert (prop_id != 0 && prop_id - 1 < 1); 1565s # info = (const _ExtendedGDBusPropertyInfo *) _good_types_property_info_pointers[prop_id - 1]; 1565s # g_mutex_lock (&skeleton->priv->lock); 1565s # g_object_freeze_notify (object); 1565s # if (!_g_value_equal (value, &skeleton->priv->properties[prop_id - 1])) 1565s # { 1565s # if (g_dbus_interface_skeleton_get_connection (G_DBUS_INTERFACE_SKELETON (skeleton)) != NULL && 1565s # info->emits_changed_signal) 1565s # _good_types_schedule_emit_changed (skeleton, info, prop_id, &skeleton->priv->properties[prop_id - 1]); 1565s # g_value_copy (value, &skeleton->priv->properties[prop_id - 1]); 1565s # g_object_notify_by_pspec (object, pspec); 1565s # } 1565s # g_mutex_unlock (&skeleton->priv->lock); 1565s # g_object_thaw_notify (object); 1565s # } 1565s # 1565s # static void 1565s # good_types_skeleton_init (GoodTypesSkeleton *skeleton) 1565s # { 1565s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1565s # skeleton->priv = good_types_skeleton_get_instance_private (skeleton); 1565s # #else 1565s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_GOOD_TYPES_SKELETON, GoodTypesSkeletonPrivate); 1565s # #endif 1565s # 1565s # g_mutex_init (&skeleton->priv->lock); 1565s # skeleton->priv->context = g_main_context_ref_thread_default (); 1565s # skeleton->priv->properties = g_new0 (GValue, 1); 1565s # g_value_init (&skeleton->priv->properties[0], G_TYPE_VARIANT); 1565s # } 1565s # 1565s # static GVariant * 1565s # good_types_skeleton_get_good_property_type (GoodTypes *object) 1565s # { 1565s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 1565s # GVariant *value; 1565s # g_mutex_lock (&skeleton->priv->lock); 1565s # value = g_marshal_value_peek_variant (&(skeleton->priv->properties[0])); 1565s # g_mutex_unlock (&skeleton->priv->lock); 1565s # return value; 1565s # } 1565s # 1565s # static void 1565s # good_types_skeleton_class_init (GoodTypesSkeletonClass *klass) 1565s # { 1565s # GObjectClass *gobject_class; 1565s # GDBusInterfaceSkeletonClass *skeleton_class; 1565s # 1565s # gobject_class = G_OBJECT_CLASS (klass); 1565s # gobject_class->finalize = good_types_skeleton_finalize; 1565s # gobject_class->get_property = good_types_skeleton_get_property; 1565s # gobject_class->set_property = good_types_skeleton_set_property; 1565s # gobject_class->notify = good_types_skeleton_notify; 1565s # 1565s # 1565s # good_types_override_properties (gobject_class, 1); 1565s # 1565s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1565s # skeleton_class->get_info = good_types_skeleton_dbus_interface_get_info; 1565s # skeleton_class->get_properties = good_types_skeleton_dbus_interface_get_properties; 1565s # skeleton_class->flush = good_types_skeleton_dbus_interface_flush; 1565s # skeleton_class->get_vtable = good_types_skeleton_dbus_interface_get_vtable; 1565s # 1565s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1565s # g_type_class_add_private (klass, sizeof (GoodTypesSkeletonPrivate)); 1565s # #endif 1565s # } 1565s # 1565s # static void 1565s # good_types_skeleton_iface_init (GoodTypesIface *iface) 1565s # { 1565s # iface->get_good_property_type = good_types_skeleton_get_good_property_type; 1565s # } 1565s # 1565s # /** 1565s # * good_types_skeleton_new: 1565s # * 1565s # * Creates a skeleton object for the D-Bus interface GoodTypes. 1565s # * 1565s # * Returns: (transfer full) (type GoodTypesSkeleton): The skeleton object. 1565s # */ 1565s # GoodTypes * 1565s # good_types_skeleton_new (void) 1565s # { 1565s # return GOOD_TYPES (g_object_new (TYPE_GOOD_TYPES_SKELETON, NULL)); 1565s # } 1565s # /tmp/tmp102oia9v/tmprbg2qnnd.xml: 1565s # 1565s # 1565s # 1565s # 1565s # 1565s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp102oia9v/tmprbg2qnnd.xml', '--output', '-', '--body'] 1565s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-baqskmurxn,guid=fbaffe99d0ccb1f6e1beb84865fc01cd', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.YcZbqk/autopkgtest_tmp', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.YcZbqk/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.YcZbqk/autopkgtest_tmp', 'TERM': 'unknown', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.YcZbqk/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.sVTVMp0Db0', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.rqZsJO/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.YcZbqk/wrapper.sh --artifacts=/tmp/autopkgtest.YcZbqk/installed-tests-artifacts --chdir=/tmp/autopkgtest.YcZbqk/build.S0E/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.YcZbqk/installed-tests-stderr --stdout=/tmp/autopkgtest.YcZbqk/installed-tests-stdout --tmp=/tmp/autopkgtest.YcZbqk/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2' --make-executable=/tmp/autopkgtest.YcZbqk/build.S0E/src/debian/tests/installed-tests -- /tmp/autopkgtest.YcZbqk/build.S0E/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.YcZbqk/build.S0E/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.YcZbqk/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1565s # Output: /* 1565s # * This file is generated by gdbus-codegen, do not modify it. 1565s # * 1565s # * The license of this code is the same as for the D-Bus interface description 1565s # * it was derived from. Note that it links to GLib, so must comply with the 1565s # * LGPL linking clauses. 1565s # */ 1565s # 1565s # #ifdef HAVE_CONFIG_H 1565s # # include "config.h" 1565s # #endif 1565s # 1565s # #include 1565s # #ifdef G_OS_UNIX 1565s # # include 1565s # #endif 1565s # 1565s # #ifdef G_ENABLE_DEBUG 1565s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1565s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1565s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1565s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1565s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1565s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1565s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1565s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1565s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1565s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1565s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1565s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1565s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1565s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1565s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1565s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1565s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1565s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1565s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1565s # #else /* !G_ENABLE_DEBUG */ 1565s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1565s # * Do not access GValues directly in your code. Instead, use the 1565s # * g_value_get_*() functions 1565s # */ 1565s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1565s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1565s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1565s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1565s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1565s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1565s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1565s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1565s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1565s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1565s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1565s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1565s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1565s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1565s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1565s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1565s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1565s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1565s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1565s # #endif /* !G_ENABLE_DEBUG */ 1565s # 1565s # typedef struct 1565s # { 1565s # GDBusArgInfo parent_struct; 1565s # gboolean use_gvariant; 1565s # } _ExtendedGDBusArgInfo; 1565s # 1565s # typedef struct 1565s # { 1565s # GDBusMethodInfo parent_struct; 1565s # const gchar *signal_name; 1565s # gboolean pass_fdlist; 1565s # } _ExtendedGDBusMethodInfo; 1565s # 1565s # typedef struct 1565s # { 1565s # GDBusSignalInfo parent_struct; 1565s # const gchar *signal_name; 1565s # } _ExtendedGDBusSignalInfo; 1565s # 1565s # typedef struct 1565s # { 1565s # GDBusPropertyInfo parent_struct; 1565s # const gchar *hyphen_name; 1565s # guint use_gvariant : 1; 1565s # guint emits_changed_signal : 1; 1565s # } _ExtendedGDBusPropertyInfo; 1565s # 1565s # typedef struct 1565s # { 1565s # GDBusInterfaceInfo parent_struct; 1565s # const gchar *hyphen_name; 1565s # } _ExtendedGDBusInterfaceInfo; 1565s # 1565s # typedef struct 1565s # { 1565s # const _ExtendedGDBusPropertyInfo *info; 1565s # guint prop_id; 1565s # GValue orig_value; /* the value before the change */ 1565s # } ChangedProperty; 1565s # 1565s # static void 1565s # _changed_property_free (ChangedProperty *data) 1565s # { 1565s # g_value_unset (&data->orig_value); 1565s # g_free (data); 1565s # } 1565s # 1565s # static gboolean 1565s # _g_strv_equal0 (gchar **a, gchar **b) 1565s # { 1565s # gboolean ret = FALSE; 1565s # guint n; 1565s # if (a == NULL && b == NULL) 1565s # { 1565s # ret = TRUE; 1565s # goto out; 1565s # } 1565s # if (a == NULL || b == NULL) 1565s # goto out; 1565s # if (g_strv_length (a) != g_strv_length (b)) 1565s # goto out; 1565s # for (n = 0; a[n] != NULL; n++) 1565s # if (g_strcmp0 (a[n], b[n]) != 0) 1565s # goto out; 1565s # ret = TRUE; 1565s # out: 1565s # return ret; 1565s # } 1565s # 1565s # static gboolean 1565s # _g_variant_equal0 (GVariant *a, GVariant *b) 1565s # { 1565s # gboolean ret = FALSE; 1565s # if (a == NULL && b == NULL) 1565s # { 1565s # ret = TRUE; 1565s # goto out; 1565s # } 1565s # if (a == NULL || b == NULL) 1565s # goto out; 1565s # ret = g_variant_equal (a, b); 1565s # out: 1565s # return ret; 1565s # } 1565s # 1565s # G_GNUC_UNUSED static gboolean 1565s # _g_value_equal (const GValue *a, const GValue *b) 1565s # { 1565s # gboolean ret = FALSE; 1565s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1565s # switch (G_VALUE_TYPE (a)) 1565s # { 1565s # case G_TYPE_BOOLEAN: 1565s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1565s # break; 1565s # case G_TYPE_UCHAR: 1565s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1565s # break; 1565s # case G_TYPE_INT: 1565s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1565s # break; 1565s # case G_TYPE_UINT: 1565s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1565s # break; 1565s # case G_TYPE_INT64: 1565s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1565s # break; 1565s # case G_TYPE_UINT64: 1565s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1565s # break; 1565s # case G_TYPE_DOUBLE: 1565s # { 1565s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1565s # gdouble da = g_value_get_double (a); 1565s # gdouble db = g_value_get_double (b); 1565s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1565s # } 1565s # break; 1565s # case G_TYPE_STRING: 1565s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1565s # break; 1565s # case G_TYPE_VARIANT: 1565s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1565s # break; 1565s # default: 1565s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1565s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1565s # else 1565s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1565s # break; 1565s # } 1565s # return ret; 1565s # } 1565s # 1565s # /* ------------------------------------------------------------------------ 1565s # * Code for interface GoodTypes 1565s # * ------------------------------------------------------------------------ 1565s # */ 1565s # 1565s # /** 1565s # * SECTION:GoodTypes 1565s # * @title: GoodTypes 1565s # * @short_description: Generated C code for the GoodTypes D-Bus interface 1565s # * 1565s # * This section contains code for working with the GoodTypes D-Bus interface in C. 1565s # */ 1565s # 1565s # /* ---- Introspection data for GoodTypes ---- */ 1565s # 1565s # static const _ExtendedGDBusPropertyInfo _good_types_property_info_good_property_type = 1565s # { 1565s # { 1565s # -1, 1565s # (gchar *) "GoodPropertyType", 1565s # (gchar *) "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa(aaaaaaaaaaaaaaaaa{sv})", 1565s # G_DBUS_PROPERTY_INFO_FLAGS_READABLE, 1565s # NULL 1565s # }, 1565s # "good-property-type", 1565s # FALSE, 1565s # TRUE 1565s # }; 1565s # 1565s # static const GDBusPropertyInfo * const _good_types_property_info_pointers[] = 1565s # { 1565s # &_good_types_property_info_good_property_type.parent_struct, 1565s # NULL 1565s # }; 1565s # 1565s # static const _ExtendedGDBusInterfaceInfo _good_types_interface_info = 1565s # { 1565s # { 1565s # -1, 1565s # (gchar *) "GoodTypes", 1565s # NULL, 1565s # NULL, 1565s # (GDBusPropertyInfo **) &_good_types_property_info_pointers, 1565s # NULL 1565s # }, 1565s # "good-types", 1565s # }; 1565s # 1565s # 1565s # /** 1565s # * good_types_interface_info: 1565s # * 1565s # * Gets a machine-readable description of the GoodTypes D-Bus interface. 1565s # * 1565s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1565s # */ 1565s # GDBusInterfaceInfo * 1565s # good_types_interface_info (void) 1565s # { 1565s # return (GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct; 1565s # } 1565s # 1565s # /** 1565s # * good_types_override_properties: 1565s # * @klass: The class structure for a #GObject derived class. 1565s # * @property_id_begin: The property id to assign to the first overridden property. 1565s # * 1565s # * Overrides all #GObject properties in the GoodTypes interface for a concrete class. 1565s # * The properties are overridden in the order they are defined. 1565s # * 1565s # * Returns: The last property id. 1565s # */ 1565s # guint 1565s # good_types_override_properties (GObjectClass *klass, guint property_id_begin) 1565s # { 1565s # g_object_class_override_property (klass, property_id_begin++, "good-property-type"); 1565s # return property_id_begin - 1; 1565s # } 1565s # 1565s # 1565s # 1565s # /** 1565s # * GoodTypes: 1565s # * 1565s # * Abstract interface type for the D-Bus interface GoodTypes. 1565s # */ 1565s # 1565s # /** 1565s # * GoodTypesIface: 1565s # * @parent_iface: The parent interface. 1565s # * @get_good_property_type: Getter for the #GoodTypes:good-property-type property. 1565s # * 1565s # * Virtual table for the D-Bus interface GoodTypes. 1565s # */ 1565s # 1565s # typedef GoodTypesIface GoodTypesInterface; 1565s # G_DEFINE_INTERFACE (GoodTypes, good_types, G_TYPE_OBJECT) 1565s # 1565s # static void 1565s # good_types_default_init (GoodTypesIface *iface) 1565s # { 1565s # /* GObject properties for D-Bus properties: */ 1565s # /** 1565s # * GoodTypes:good-property-type: 1565s # * 1565s # * Represents the D-Bus property "GoodPropertyType". 1565s # * 1565s # * 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. 1565s # */ 1565s # g_object_interface_install_property (iface, 1565s # g_param_spec_variant ("good-property-type", "GoodPropertyType", "GoodPropertyType", G_VARIANT_TYPE ("aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa(aaaaaaaaaaaaaaaaa{sv})"), NULL, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)); 1565s # } 1565s # 1565s # /** 1565s # * good_types_get_good_property_type: (skip) 1565s # * @object: A GoodTypes. 1565s # * 1565s # * Gets the value of the "GoodPropertyType" D-Bus property. 1565s # * 1565s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side. 1565s # * 1565s # * 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. 1565s # * 1565s # * 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. 1565s # */ 1565s # GVariant * 1565s # good_types_get_good_property_type (GoodTypes *object) 1565s # { 1565s # g_return_val_if_fail (IS_GOOD_TYPES (object), NULL); 1565s # 1565s # return GOOD_TYPES_GET_IFACE (object)->get_good_property_type (object); 1565s # } 1565s # 1565s # /** 1565s # * good_types_dup_good_property_type: (skip) 1565s # * @object: A GoodTypes. 1565s # * 1565s # * Gets a copy of the "GoodPropertyType" D-Bus property. 1565s # * 1565s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side. 1565s # * 1565s # * 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(). 1565s # */ 1565s # GVariant * 1565s # good_types_dup_good_property_type (GoodTypes *object) 1565s # { 1565s # GVariant *value; 1565s # g_object_get (G_OBJECT (object), "good-property-type", &value, NULL); 1565s # return value; 1565s # } 1565s # 1565s # /** 1565s # * good_types_set_good_property_type: (skip) 1565s # * @object: A GoodTypes. 1565s # * @value: The value to set. 1565s # * 1565s # * Sets the "GoodPropertyType" D-Bus property to @value. 1565s # * 1565s # * Since this D-Bus property is not writable, it is only meaningful to use this function on the service-side. 1565s # */ 1565s # void 1565s # good_types_set_good_property_type (GoodTypes *object, GVariant *value) 1565s # { 1565s # g_object_set (G_OBJECT (object), "good-property-type", value, NULL); 1565s # } 1565s # 1565s # /* ------------------------------------------------------------------------ */ 1565s # 1565s # /** 1565s # * GoodTypesProxy: 1565s # * 1565s # * The GoodTypesProxy structure contains only private data and should only be accessed using the provided API. 1565s # */ 1565s # 1565s # /** 1565s # * GoodTypesProxyClass: 1565s # * @parent_class: The parent class. 1565s # * 1565s # * Class structure for GoodTypesProxy. 1565s # */ 1565s # 1565s # struct _GoodTypesProxyPrivate 1565s # { 1565s # GData *qdata; 1565s # }; 1565s # 1565s # static void good_types_proxy_iface_init (GoodTypesIface *iface); 1565s # 1565s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1565s # G_DEFINE_TYPE_WITH_CODE (GoodTypesProxy, good_types_proxy, G_TYPE_DBUS_PROXY, 1565s # G_ADD_PRIVATE (GoodTypesProxy) 1565s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_proxy_iface_init)) 1565s # 1565s # #else 1565s # G_DEFINE_TYPE_WITH_CODE (GoodTypesProxy, good_types_proxy, G_TYPE_DBUS_PROXY, 1565s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_proxy_iface_init)) 1565s # 1565s # #endif 1565s # static void 1565s # good_types_proxy_finalize (GObject *object) 1565s # { 1565s # GoodTypesProxy *proxy = GOOD_TYPES_PROXY (object); 1565s # g_datalist_clear (&proxy->priv->qdata); 1565s # G_OBJECT_CLASS (good_types_proxy_parent_class)->finalize (object); 1565s # } 1565s # 1565s # static void 1565s # good_types_proxy_get_property (GObject *object, 1565s # guint prop_id, 1565s # GValue *value, 1565s # GParamSpec *pspec G_GNUC_UNUSED) 1565s # { 1565s # const _ExtendedGDBusPropertyInfo *info; 1565s # GVariant *variant; 1565s # g_assert (prop_id != 0 && prop_id - 1 < 1); 1565s # info = (const _ExtendedGDBusPropertyInfo *) _good_types_property_info_pointers[prop_id - 1]; 1565s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (object), info->parent_struct.name); 1565s # if (info->use_gvariant) 1565s # { 1565s # g_value_set_variant (value, variant); 1565s # } 1565s # else 1565s # { 1565s # if (variant != NULL) 1565s # g_dbus_gvariant_to_gvalue (variant, value); 1565s # } 1565s # if (variant != NULL) 1565s # g_variant_unref (variant); 1565s # } 1565s # 1565s # static void 1565s # good_types_proxy_set_property_cb (GDBusProxy *proxy, 1565s # GAsyncResult *res, 1565s # gpointer user_data) 1565s # { 1565s # const _ExtendedGDBusPropertyInfo *info = user_data; 1565s # GError *error; 1565s # GVariant *_ret; 1565s # error = NULL; 1565s # _ret = g_dbus_proxy_call_finish (proxy, res, &error); 1565s # if (!_ret) 1565s # { 1565s # g_warning ("Error setting property '%s' on interface GoodTypes: %s (%s, %d)", 1565s # info->parent_struct.name, 1565s # error->message, g_quark_to_string (error->domain), error->code); 1565s # g_error_free (error); 1565s # } 1565s # else 1565s # { 1565s # g_variant_unref (_ret); 1565s # } 1565s # } 1565s # 1565s # static void 1565s # good_types_proxy_set_property (GObject *object, 1565s # guint prop_id, 1565s # const GValue *value, 1565s # GParamSpec *pspec G_GNUC_UNUSED) 1565s # { 1565s # const _ExtendedGDBusPropertyInfo *info; 1565s # GVariant *variant; 1565s # g_assert (prop_id != 0 && prop_id - 1 < 1); 1565s # info = (const _ExtendedGDBusPropertyInfo *) _good_types_property_info_pointers[prop_id - 1]; 1565s # variant = g_dbus_gvalue_to_gvariant (value, G_VARIANT_TYPE (info->parent_struct.signature)); 1565s # g_dbus_proxy_call (G_DBUS_PROXY (object), 1565s # "org.freedesktop.DBus.Properties.Set", 1565s # g_variant_new ("(ssv)", "GoodTypes", info->parent_struct.name, variant), 1565s # G_DBUS_CALL_FLAGS_NONE, 1565s # -1, 1565s # NULL, (GAsyncReadyCallback) good_types_proxy_set_property_cb, (GDBusPropertyInfo *) &info->parent_struct); 1565s # g_variant_unref (variant); 1565s # } 1565s # 1565s # static void 1565s # good_types_proxy_g_signal (GDBusProxy *proxy, 1565s # const gchar *sender_name G_GNUC_UNUSED, 1565s # const gchar *signal_name, 1565s # GVariant *parameters) 1565s # { 1565s # _ExtendedGDBusSignalInfo *info; 1565s # GVariantIter iter; 1565s # GVariant *child; 1565s # GValue *paramv; 1565s # gsize num_params; 1565s # gsize n; 1565s # guint signal_id; 1565s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, signal_name); 1565s # if (info == NULL) 1565s # return; 1565s # num_params = g_variant_n_children (parameters); 1565s # paramv = g_new0 (GValue, num_params + 1); 1565s # g_value_init (¶mv[0], TYPE_GOOD_TYPES); 1565s # g_value_set_object (¶mv[0], proxy); 1565s # g_variant_iter_init (&iter, parameters); 1565s # n = 1; 1565s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1565s # { 1565s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1565s # if (arg_info->use_gvariant) 1565s # { 1565s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1565s # g_value_set_variant (¶mv[n], child); 1565s # n++; 1565s # } 1565s # else 1565s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1565s # g_variant_unref (child); 1565s # } 1565s # signal_id = g_signal_lookup (info->signal_name, TYPE_GOOD_TYPES); 1565s # g_signal_emitv (paramv, signal_id, 0, NULL); 1565s # for (n = 0; n < num_params + 1; n++) 1565s # g_value_unset (¶mv[n]); 1565s # g_free (paramv); 1565s # } 1565s # 1565s # static void 1565s # good_types_proxy_g_properties_changed (GDBusProxy *_proxy, 1565s # GVariant *changed_properties, 1565s # const gchar *const *invalidated_properties) 1565s # { 1565s # GoodTypesProxy *proxy = GOOD_TYPES_PROXY (_proxy); 1565s # guint n; 1565s # const gchar *key; 1565s # GVariantIter *iter; 1565s # _ExtendedGDBusPropertyInfo *info; 1565s # g_variant_get (changed_properties, "a{sv}", &iter); 1565s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1565s # { 1565s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, key); 1565s # g_datalist_remove_data (&proxy->priv->qdata, key); 1565s # if (info != NULL) 1565s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1565s # } 1565s # g_variant_iter_free (iter); 1565s # for (n = 0; invalidated_properties[n] != NULL; n++) 1565s # { 1565s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, invalidated_properties[n]); 1565s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1565s # if (info != NULL) 1565s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1565s # } 1565s # } 1565s # 1565s # static GVariant * 1565s # good_types_proxy_get_good_property_type (GoodTypes *object) 1565s # { 1565s # GoodTypesProxy *proxy = GOOD_TYPES_PROXY (object); 1565s # GVariant *variant; 1565s # GVariant *value = NULL; 1565s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (proxy), "GoodPropertyType"); 1565s # value = variant; 1565s # if (variant != NULL) 1565s # g_variant_unref (variant); 1565s # return value; 1565s # } 1565s # 1565s # static void 1565s # good_types_proxy_init (GoodTypesProxy *proxy) 1565s # { 1565s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1565s # proxy->priv = good_types_proxy_get_instance_private (proxy); 1565s # #else 1565s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_GOOD_TYPES_PROXY, GoodTypesProxyPrivate); 1565s # #endif 1565s # 1565s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), good_types_interface_info ()); 1565s # } 1565s # 1565s # static void 1565s # good_types_proxy_class_init (GoodTypesProxyClass *klass) 1565s # { 1565s # GObjectClass *gobject_class; 1565s # GDBusProxyClass *proxy_class; 1565s # 1565s # gobject_class = G_OBJECT_CLASS (klass); 1565s # gobject_class->finalize = good_types_proxy_finalize; 1565s # gobject_class->get_property = good_types_proxy_get_property; 1565s # gobject_class->set_property = good_types_proxy_set_property; 1565s # 1565s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1565s # proxy_class->g_signal = good_types_proxy_g_signal; 1565s # proxy_class->g_properties_changed = good_types_proxy_g_properties_changed; 1565s # 1565s # good_types_override_properties (gobject_class, 1); 1565s # 1565s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1565s # g_type_class_add_private (klass, sizeof (GoodTypesProxyPrivate)); 1565s # #endif 1565s # } 1565s # 1565s # static void 1565s # good_types_proxy_iface_init (GoodTypesIface *iface) 1565s # { 1565s # iface->get_good_property_type = good_types_proxy_get_good_property_type; 1565s # } 1565s # 1565s # /** 1565s # * good_types_proxy_new: 1565s # * @connection: A #GDBusConnection. 1565s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1565s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1565s # * @object_path: An object path. 1565s # * @cancellable: (nullable): A #GCancellable or %NULL. 1565s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1565s # * @user_data: User data to pass to @callback. 1565s # * 1565s # * Asynchronously creates a proxy for the D-Bus interface GoodTypes. See g_dbus_proxy_new() for more details. 1565s # * 1565s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1565s # * You can then call good_types_proxy_new_finish() to get the result of the operation. 1565s # * 1565s # * See good_types_proxy_new_sync() for the synchronous, blocking version of this constructor. 1565s # */ 1565s # void 1565s # good_types_proxy_new ( 1565s # GDBusConnection *connection, 1565s # GDBusProxyFlags flags, 1565s # const gchar *name, 1565s # const gchar *object_path, 1565s # GCancellable *cancellable, 1565s # GAsyncReadyCallback callback, 1565s # gpointer user_data) 1565s # { 1565s # 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); 1565s # } 1565s # 1565s # /** 1565s # * good_types_proxy_new_finish: 1565s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to good_types_proxy_new(). 1565s # * @error: Return location for error or %NULL 1565s # * 1565s # * Finishes an operation started with good_types_proxy_new(). 1565s # * 1565s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 1565s # */ 1565s # GoodTypes * 1565s # good_types_proxy_new_finish ( 1565s # GAsyncResult *res, 1565s # GError **error) 1565s # { 1565s # GObject *ret; 1565s # GObject *source_object; 1565s # source_object = g_async_result_get_source_object (res); 1565s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1565s # g_object_unref (source_object); 1565s # if (ret != NULL) 1565s # return GOOD_TYPES (ret); 1565s # else 1565s # return NULL; 1565s # } 1565s # 1565s # /** 1565s # * good_types_proxy_new_sync: 1565s # * @connection: A #GDBusConnection. 1565s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1565s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1565s # * @object_path: An object path. 1565s # * @cancellable: (nullable): A #GCancellable or %NULL. 1565s # * @error: Return location for error or %NULL 1565s # * 1565s # * Synchronously creates a proxy for the D-Bus interface GoodTypes. See g_dbus_proxy_new_sync() for more details. 1565s # * 1565s # * The calling thread is blocked until a reply is received. 1565s # * 1565s # * See good_types_proxy_new() for the asynchronous version of this constructor. 1565s # * 1565s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 1565s # */ 1565s # GoodTypes * 1565s # good_types_proxy_new_sync ( 1565s # GDBusConnection *connection, 1565s # GDBusProxyFlags flags, 1565s # const gchar *name, 1565s # const gchar *object_path, 1565s # GCancellable *cancellable, 1565s # GError **error) 1565s # { 1565s # GInitable *ret; 1565s # 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); 1565s # if (ret != NULL) 1565s # return GOOD_TYPES (ret); 1565s # else 1565s # return NULL; 1565s # } 1565s # 1565s # 1565s # /** 1565s # * good_types_proxy_new_for_bus: 1565s # * @bus_type: A #GBusType. 1565s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1565s # * @name: A bus name (well-known or unique). 1565s # * @object_path: An object path. 1565s # * @cancellable: (nullable): A #GCancellable or %NULL. 1565s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1565s # * @user_data: User data to pass to @callback. 1565s # * 1565s # * Like good_types_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1565s # * 1565s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1565s # * You can then call good_types_proxy_new_for_bus_finish() to get the result of the operation. 1565s # * 1565s # * See good_types_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1565s # */ 1565s # void 1565s # good_types_proxy_new_for_bus ( 1565s # GBusType bus_type, 1565s # GDBusProxyFlags flags, 1565s # const gchar *name, 1565s # const gchar *object_path, 1565s # GCancellable *cancellable, 1565s # GAsyncReadyCallback callback, 1565s # gpointer user_data) 1565s # { 1565s # 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); 1565s # } 1565s # 1565s # /** 1565s # * good_types_proxy_new_for_bus_finish: 1565s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to good_types_proxy_new_for_bus(). 1565s # * @error: Return location for error or %NULL 1565s # * 1565s # * Finishes an operation started with good_types_proxy_new_for_bus(). 1565s # * 1565s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 1565s # */ 1565s # GoodTypes * 1565s # good_types_proxy_new_for_bus_finish ( 1565s # GAsyncResult *res, 1565s # GError **error) 1565s # { 1565s # GObject *ret; 1565s # GObject *source_object; 1565s # source_object = g_async_result_get_source_object (res); 1565s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1565s # g_object_unref (source_object); 1565s # if (ret != NULL) 1565s # return GOOD_TYPES (ret); 1565s # else 1565s # return NULL; 1565s # } 1565s # 1565s # /** 1565s # * good_types_proxy_new_for_bus_sync: 1565s # * @bus_type: A #GBusType. 1565s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1565s # * @name: A bus name (well-known or unique). 1565s # * @object_path: An object path. 1565s # * @cancellable: (nullable): A #GCancellable or %NULL. 1565s # * @error: Return location for error or %NULL 1565s # * 1565s # * Like good_types_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1565s # * 1565s # * The calling thread is blocked until a reply is received. 1565s # * 1565s # * See good_types_proxy_new_for_bus() for the asynchronous version of this constructor. 1565s # * 1565s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 1565s # */ 1565s # GoodTypes * 1565s # good_types_proxy_new_for_bus_sync ( 1565s # GBusType bus_type, 1565s # GDBusProxyFlags flags, 1565s # const gchar *name, 1565s # const gchar *object_path, 1565s # GCancellable *cancellable, 1565s # GError **error) 1565s # { 1565s # GInitable *ret; 1565s # 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); 1565s # if (ret != NULL) 1565s # return GOOD_TYPES (ret); 1565s # else 1565s # return NULL; 1565s # } 1565s # 1565s # 1565s # /* ------------------------------------------------------------------------ */ 1565s # 1565s # /** 1565s # * GoodTypesSkeleton: 1565s # * 1565s # * The GoodTypesSkeleton structure contains only private data and should only be accessed using the provided API. 1565s # */ 1565s # 1565s # /** 1565s # * GoodTypesSkeletonClass: 1565s # * @parent_class: The parent class. 1565s # * 1565s # * Class structure for GoodTypesSkeleton. 1565s # */ 1565s # 1565s # struct _GoodTypesSkeletonPrivate 1565s # { 1565s # GValue *properties; 1565s # GList *changed_properties; 1565s # GSource *changed_properties_idle_source; 1565s # GMainContext *context; 1565s # GMutex lock; 1565s # }; 1565s # 1565s # static void 1565s # _good_types_skeleton_handle_method_call ( 1565s # GDBusConnection *connection G_GNUC_UNUSED, 1565s # const gchar *sender G_GNUC_UNUSED, 1565s # const gchar *object_path G_GNUC_UNUSED, 1565s # const gchar *interface_name, 1565s # const gchar *method_name, 1565s # GVariant *parameters, 1565s # GDBusMethodInvocation *invocation, 1565s # gpointer user_data) 1565s # { 1565s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 1565s # _ExtendedGDBusMethodInfo *info; 1565s # GVariantIter iter; 1565s # GVariant *child; 1565s # GValue *paramv; 1565s # gsize num_params; 1565s # guint num_extra; 1565s # gsize n; 1565s # guint signal_id; 1565s # GValue return_value = G_VALUE_INIT; 1565s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1565s # g_assert (info != NULL); 1565s # num_params = g_variant_n_children (parameters); 1565s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1565s # n = 0; 1565s # g_value_init (¶mv[n], TYPE_GOOD_TYPES); 1565s # g_value_set_object (¶mv[n++], skeleton); 1565s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1565s # g_value_set_object (¶mv[n++], invocation); 1565s # if (info->pass_fdlist) 1565s # { 1565s # #ifdef G_OS_UNIX 1565s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1565s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1565s # #else 1565s # g_assert_not_reached (); 1565s # #endif 1565s # } 1565s # g_variant_iter_init (&iter, parameters); 1565s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1565s # { 1565s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1565s # if (arg_info->use_gvariant) 1565s # { 1565s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1565s # g_value_set_variant (¶mv[n], child); 1565s # n++; 1565s # } 1565s # else 1565s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1565s # g_variant_unref (child); 1565s # } 1565s # signal_id = g_signal_lookup (info->signal_name, TYPE_GOOD_TYPES); 1565s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1565s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1565s # if (!g_value_get_boolean (&return_value)) 1565s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1565s # g_value_unset (&return_value); 1565s # for (n = 0; n < num_params + num_extra; n++) 1565s # g_value_unset (¶mv[n]); 1565s # g_free (paramv); 1565s # } 1565s # 1565s # static GVariant * 1565s # _good_types_skeleton_handle_get_property ( 1565s # GDBusConnection *connection G_GNUC_UNUSED, 1565s # const gchar *sender G_GNUC_UNUSED, 1565s # const gchar *object_path G_GNUC_UNUSED, 1565s # const gchar *interface_name G_GNUC_UNUSED, 1565s # const gchar *property_name, 1565s # GError **error, 1565s # gpointer user_data) 1565s # { 1565s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 1565s # GValue value = G_VALUE_INIT; 1565s # GParamSpec *pspec; 1565s # _ExtendedGDBusPropertyInfo *info; 1565s # GVariant *ret; 1565s # ret = NULL; 1565s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, property_name); 1565s # g_assert (info != NULL); 1565s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1565s # if (pspec == NULL) 1565s # { 1565s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1565s # } 1565s # else 1565s # { 1565s # g_value_init (&value, pspec->value_type); 1565s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1565s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1565s # g_value_unset (&value); 1565s # } 1565s # return ret; 1565s # } 1565s # 1565s # static gboolean 1565s # _good_types_skeleton_handle_set_property ( 1565s # GDBusConnection *connection G_GNUC_UNUSED, 1565s # const gchar *sender G_GNUC_UNUSED, 1565s # const gchar *object_path G_GNUC_UNUSED, 1565s # const gchar *interface_name G_GNUC_UNUSED, 1565s # const gchar *property_name, 1565s # GVariant *variant, 1565s # GError **error, 1565s # gpointer user_data) 1565s # { 1565s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 1565s # GValue value = G_VALUE_INIT; 1565s # GParamSpec *pspec; 1565s # _ExtendedGDBusPropertyInfo *info; 1565s # gboolean ret; 1565s # ret = FALSE; 1565s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, property_name); 1565s # g_assert (info != NULL); 1565s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1565s # if (pspec == NULL) 1565s # { 1565s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1565s # } 1565s # else 1565s # { 1565s # if (info->use_gvariant) 1565s # g_value_set_variant (&value, variant); 1565s # else 1565s # g_dbus_gvariant_to_gvalue (variant, &value); 1565s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1565s # g_value_unset (&value); 1565s # ret = TRUE; 1565s # } 1565s # return ret; 1565s # } 1565s # 1565s # static const GDBusInterfaceVTable _good_types_skeleton_vtable = 1565s # { 1565s # _good_types_skeleton_handle_method_call, 1565s # _good_types_skeleton_handle_get_property, 1565s # _good_types_skeleton_handle_set_property, 1565s # {NULL} 1565s # }; 1565s # 1565s # static GDBusInterfaceInfo * 1565s # good_types_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1565s # { 1565s # return good_types_interface_info (); 1565s # } 1565s # 1565s # static GDBusInterfaceVTable * 1565s # good_types_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1565s # { 1565s # return (GDBusInterfaceVTable *) &_good_types_skeleton_vtable; 1565s # } 1565s # 1565s # static GVariant * 1565s # good_types_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1565s # { 1565s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (_skeleton); 1565s # 1565s # GVariantBuilder builder; 1565s # guint n; 1565s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1565s # if (_good_types_interface_info.parent_struct.properties == NULL) 1565s # goto out; 1565s # for (n = 0; _good_types_interface_info.parent_struct.properties[n] != NULL; n++) 1565s # { 1565s # GDBusPropertyInfo *info = _good_types_interface_info.parent_struct.properties[n]; 1565s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1565s # { 1565s # GVariant *value; 1565s # 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); 1565s # if (value != NULL) 1565s # { 1565s # g_variant_take_ref (value); 1565s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1565s # g_variant_unref (value); 1565s # } 1565s # } 1565s # } 1565s # out: 1565s # return g_variant_builder_end (&builder); 1565s # } 1565s # 1565s # static gboolean _good_types_emit_changed (gpointer user_data); 1565s # 1565s # static void 1565s # good_types_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton) 1565s # { 1565s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (_skeleton); 1565s # gboolean emit_changed = FALSE; 1565s # 1565s # g_mutex_lock (&skeleton->priv->lock); 1565s # if (skeleton->priv->changed_properties_idle_source != NULL) 1565s # { 1565s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1565s # skeleton->priv->changed_properties_idle_source = NULL; 1565s # emit_changed = TRUE; 1565s # } 1565s # g_mutex_unlock (&skeleton->priv->lock); 1565s # 1565s # if (emit_changed) 1565s # _good_types_emit_changed (skeleton); 1565s # } 1565s # 1565s # static void good_types_skeleton_iface_init (GoodTypesIface *iface); 1565s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1565s # G_DEFINE_TYPE_WITH_CODE (GoodTypesSkeleton, good_types_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1565s # G_ADD_PRIVATE (GoodTypesSkeleton) 1565s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_skeleton_iface_init)) 1565s # 1565s # #else 1565s # G_DEFINE_TYPE_WITH_CODE (GoodTypesSkeleton, good_types_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1565s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_skeleton_iface_init)) 1565s # 1565s # #endif 1565s # static void 1565s # good_types_skeleton_finalize (GObject *object) 1565s # { 1565s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 1565s # guint n; 1565s # for (n = 0; n < 1; n++) 1565s # g_value_unset (&skeleton->priv->properties[n]); 1565s # g_free (skeleton->priv->properties); 1565s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1565s # if (skeleton->priv->changed_properties_idle_source != NULL) 1565s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1565s # g_main_context_unref (skeleton->priv->context); 1565s # g_mutex_clear (&skeleton->priv->lock); 1565s # G_OBJECT_CLASS (good_types_skeleton_parent_class)->finalize (object); 1565s # } 1565s # 1565s # static void 1565s # good_types_skeleton_get_property (GObject *object, 1565s # guint prop_id, 1565s # GValue *value, 1565s # GParamSpec *pspec G_GNUC_UNUSED) 1565s # { 1565s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 1565s # g_assert (prop_id != 0 && prop_id - 1 < 1); 1565s # g_mutex_lock (&skeleton->priv->lock); 1565s # g_value_copy (&skeleton->priv->properties[prop_id - 1], value); 1565s # g_mutex_unlock (&skeleton->priv->lock); 1565s # } 1565s # 1565s # static gboolean 1565s # _good_types_emit_changed (gpointer user_data) 1565s # { 1565s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 1565s # GList *l; 1565s # GVariantBuilder builder; 1565s # GVariantBuilder invalidated_builder; 1565s # guint num_changes; 1565s # 1565s # g_mutex_lock (&skeleton->priv->lock); 1565s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1565s # g_variant_builder_init (&invalidated_builder, G_VARIANT_TYPE ("as")); 1565s # for (l = skeleton->priv->changed_properties, num_changes = 0; l != NULL; l = l->next) 1565s # { 1565s # ChangedProperty *cp = l->data; 1565s # GVariant *variant; 1565s # const GValue *cur_value; 1565s # 1565s # cur_value = &skeleton->priv->properties[cp->prop_id - 1]; 1565s # if (!_g_value_equal (cur_value, &cp->orig_value)) 1565s # { 1565s # variant = g_dbus_gvalue_to_gvariant (cur_value, G_VARIANT_TYPE (cp->info->parent_struct.signature)); 1565s # g_variant_builder_add (&builder, "{sv}", cp->info->parent_struct.name, variant); 1565s # g_variant_unref (variant); 1565s # num_changes++; 1565s # } 1565s # } 1565s # if (num_changes > 0) 1565s # { 1565s # GList *connections, *ll; 1565s # GVariant *signal_variant; 1565s # signal_variant = g_variant_ref_sink (g_variant_new ("(sa{sv}as)", "GoodTypes", 1565s # &builder, &invalidated_builder)); 1565s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1565s # for (ll = connections; ll != NULL; ll = ll->next) 1565s # { 1565s # GDBusConnection *connection = ll->data; 1565s # 1565s # g_dbus_connection_emit_signal (connection, 1565s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), 1565s # "org.freedesktop.DBus.Properties", 1565s # "PropertiesChanged", 1565s # signal_variant, 1565s # NULL); 1565s # } 1565s # g_variant_unref (signal_variant); 1565s # g_list_free_full (connections, g_object_unref); 1565s # } 1565s # else 1565s # { 1565s # g_variant_builder_clear (&builder); 1565s # g_variant_builder_clear (&invalidated_builder); 1565s # } 1565s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1565s # skeleton->priv->changed_properties = NULL; 1565s # skeleton->priv->changed_properties_idle_source = NULL; 1565s # g_mutex_unlock (&skeleton->priv->lock); 1565s # return FALSE; 1565s # } 1565s # 1565s # static void 1565s # _good_types_schedule_emit_changed (GoodTypesSkeleton *skeleton, const _ExtendedGDBusPropertyInfo *info, guint prop_id, const GValue *orig_value) 1565s # { 1565s # ChangedProperty *cp; 1565s # GList *l; 1565s # cp = NULL; 1565s # for (l = skeleton->priv->changed_properties; l != NULL; l = l->next) 1565s # { 1565s # ChangedProperty *i_cp = l->data; 1565s # if (i_cp->info == info) 1565s # { 1565s # cp = i_cp; 1565s # break; 1565s # } 1565s # } 1565s # if (cp == NULL) 1565s # { 1565s # cp = g_new0 (ChangedProperty, 1); 1565s # cp->prop_id = prop_id; 1565s # cp->info = info; 1565s # skeleton->priv->changed_properties = g_list_prepend (skeleton->priv->changed_properties, cp); 1565s # g_value_init (&cp->orig_value, G_VALUE_TYPE (orig_value)); 1565s # g_value_copy (orig_value, &cp->orig_value); 1565s # } 1565s # } 1565s # 1565s # static void 1565s # good_types_skeleton_notify (GObject *object, 1565s # GParamSpec *pspec G_GNUC_UNUSED) 1565s # { 1565s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 1565s # g_mutex_lock (&skeleton->priv->lock); 1565s # if (skeleton->priv->changed_properties != NULL && 1565s # skeleton->priv->changed_properties_idle_source == NULL) 1565s # { 1565s # skeleton->priv->changed_properties_idle_source = g_idle_source_new (); 1565s # g_source_set_priority (skeleton->priv->changed_properties_idle_source, G_PRIORITY_DEFAULT); 1565s # g_source_set_callback (skeleton->priv->changed_properties_idle_source, _good_types_emit_changed, g_object_ref (skeleton), (GDestroyNotify) g_object_unref); 1565s # g_source_set_name (skeleton->priv->changed_properties_idle_source, "[generated] _good_types_emit_changed"); 1565s # g_source_attach (skeleton->priv->changed_properties_idle_source, skeleton->priv->context); 1565s # g_source_unref (skeleton->priv->changed_properties_idle_source); 1565s # } 1565s # g_mutex_unlock (&skeleton->priv->lock); 1565s # } 1565s # 1565s # static void 1565s # good_types_skeleton_set_property (GObject *object, 1565s # guint prop_id, 1565s # const GValue *value, 1565s # GParamSpec *pspec) 1565s # { 1565s # const _ExtendedGDBusPropertyInfo *info; 1565s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 1565s # g_assert (prop_id != 0 && prop_id - 1 < 1); 1565s # info = (const _ExtendedGDBusPropertyInfo *) _good_types_property_info_pointers[prop_id - 1]; 1565s # g_mutex_lock (&skeleton->priv->lock); 1565s # g_object_freeze_notify (object); 1565s # if (!_g_value_equal (value, &skeleton->priv->properties[prop_id - 1])) 1565s # { 1565s # if (g_dbus_interface_skeleton_get_connection (G_DBUS_INTERFACE_SKELETON (skeleton)) != NULL && 1565s # info->emits_changed_signal) 1565s # _good_types_schedule_emit_changed (skeleton, info, prop_id, &skeleton->priv->properties[prop_id - 1]); 1565s # g_value_copy (value, &skeleton->priv->properties[prop_id - 1]); 1565s # g_object_notify_by_pspec (object, pspec); 1565s # } 1565s # g_mutex_unlock (&skeleton->priv->lock); 1565s # g_object_thaw_notify (object); 1565s # } 1565s # 1565s # static void 1565s # good_types_skeleton_init (GoodTypesSkeleton *skeleton) 1565s # { 1565s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1565s # skeleton->priv = good_types_skeleton_get_instance_private (skeleton); 1565s # #else 1565s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_GOOD_TYPES_SKELETON, GoodTypesSkeletonPrivate); 1565s # #endif 1565s # 1565s # g_mutex_init (&skeleton->priv->lock); 1565s # skeleton->priv->context = g_main_context_ref_thread_default (); 1565s # skeleton->priv->properties = g_new0 (GValue, 1); 1565s # g_value_init (&skeleton->priv->properties[0], G_TYPE_VARIANT); 1565s # } 1565s # 1565s # static GVariant * 1565s # good_types_skeleton_get_good_property_type (GoodTypes *object) 1565s # { 1565s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 1565s # GVariant *value; 1565s # g_mutex_lock (&skeleton->priv->lock); 1565s # value = g_marshal_value_peek_variant (&(skeleton->priv->properties[0])); 1565s # g_mutex_unlock (&skeleton->priv->lock); 1565s # return value; 1565s # } 1565s # 1565s # static void 1565s # good_types_skeleton_class_init (GoodTypesSkeletonClass *klass) 1565s # { 1565s # GObjectClass *gobject_class; 1565s # GDBusInterfaceSkeletonClass *skeleton_class; 1565s # 1565s # gobject_class = G_OBJECT_CLASS (klass); 1565s # gobject_class->finalize = good_types_skeleton_finalize; 1565s # gobject_class->get_property = good_types_skeleton_get_property; 1565s # gobject_class->set_property = good_types_skeleton_set_property; 1565s # gobject_class->notify = good_types_skeleton_notify; 1565s # 1565s # 1565s # good_types_override_properties (gobject_class, 1); 1565s # 1565s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1565s # skeleton_class->get_info = good_types_skeleton_dbus_interface_get_info; 1565s # skeleton_class->get_properties = good_types_skeleton_dbus_interface_get_properties; 1565s # skeleton_class->flush = good_types_skeleton_dbus_interface_flush; 1565s # skeleton_class->get_vtable = good_types_skeleton_dbus_interface_get_vtable; 1565s # 1565s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1565s # g_type_class_add_private (klass, sizeof (GoodTypesSkeletonPrivate)); 1565s # #endif 1565s # } 1565s # 1565s # static void 1565s # good_types_skeleton_iface_init (GoodTypesIface *iface) 1565s # { 1565s # iface->get_good_property_type = good_types_skeleton_get_good_property_type; 1565s # } 1565s # 1565s # /** 1565s # * good_types_skeleton_new: 1565s # * 1565s # * Creates a skeleton object for the D-Bus interface GoodTypes. 1565s # * 1565s # * Returns: (transfer full) (type GoodTypesSkeleton): The skeleton object. 1565s # */ 1565s # GoodTypes * 1565s # good_types_skeleton_new (void) 1565s # { 1565s # return GOOD_TYPES (g_object_new (TYPE_GOOD_TYPES_SKELETON, NULL)); 1565s # } 1565s ok 3 __main__.TestCodegen.test_empty_interface_body 1565s # tmpdir: /tmp/tmpnjmox5dq 1565s # codegen: /usr/bin/gdbus-codegen 1565s # /tmp/tmpnjmox5dq/tmpizbjik03.xml: 1565s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpnjmox5dq/tmpizbjik03.xml', '--output', '-', '--body'] 1565s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-baqskmurxn,guid=fbaffe99d0ccb1f6e1beb84865fc01cd', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.YcZbqk/autopkgtest_tmp', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.YcZbqk/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.YcZbqk/autopkgtest_tmp', 'TERM': 'unknown', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.YcZbqk/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.sVTVMp0Db0', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.rqZsJO/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.YcZbqk/wrapper.sh --artifacts=/tmp/autopkgtest.YcZbqk/installed-tests-artifacts --chdir=/tmp/autopkgtest.YcZbqk/build.S0E/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.YcZbqk/installed-tests-stderr --stdout=/tmp/autopkgtest.YcZbqk/installed-tests-stdout --tmp=/tmp/autopkgtest.YcZbqk/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2' --make-executable=/tmp/autopkgtest.YcZbqk/build.S0E/src/debian/tests/installed-tests -- /tmp/autopkgtest.YcZbqk/build.S0E/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.YcZbqk/build.S0E/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.YcZbqk/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1565s # Output: /* 1565s # * This file is generated by gdbus-codegen, do not modify it. 1565s # * 1565s # * The license of this code is the same as for the D-Bus interface description 1565s # * it was derived from. Note that it links to GLib, so must comply with the 1565s # * LGPL linking clauses. 1565s # */ 1565s # 1565s # #ifdef HAVE_CONFIG_H 1565s # # include "config.h" 1565s # #endif 1565s # 1565s # #include 1565s # #ifdef G_OS_UNIX 1565s # # include 1565s # #endif 1565s # 1565s # #ifdef G_ENABLE_DEBUG 1565s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1565s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1565s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1565s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1565s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1565s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1565s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1565s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1565s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1565s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1565s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1565s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1565s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1565s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1565s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1565s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1565s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1565s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1565s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1565s # #else /* !G_ENABLE_DEBUG */ 1565s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1565s # * Do not access GValues directly in your code. Instead, use the 1565s # * g_value_get_*() functions 1565s # */ 1565s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1565s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1565s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1565s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1565s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1565s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1565s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1565s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1565s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1565s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1565s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1565s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1565s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1565s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1565s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1565s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1565s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1565s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1565s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1565s # #endif /* !G_ENABLE_DEBUG */ 1565s # 1565s # typedef struct 1565s # { 1565s # GDBusArgInfo parent_struct; 1565s # gboolean use_gvariant; 1565s # } _ExtendedGDBusArgInfo; 1565s # 1565s # typedef struct 1565s # { 1565s # GDBusMethodInfo parent_struct; 1565s # const gchar *signal_name; 1565s # gboolean pass_fdlist; 1565s # } _ExtendedGDBusMethodInfo; 1565s # 1565s # typedef struct 1565s # { 1565s # GDBusSignalInfo parent_struct; 1565s # const gchar *signal_name; 1565s # } _ExtendedGDBusSignalInfo; 1565s # 1565s # typedef struct 1565s # { 1565s # GDBusPropertyInfo parent_struct; 1565s # const gchar *hyphen_name; 1565s # guint use_gvariant : 1; 1565s # guint emits_changed_signal : 1; 1565s # } _ExtendedGDBusPropertyInfo; 1565s # 1565s # typedef struct 1565s # { 1565s # GDBusInterfaceInfo parent_struct; 1565s # const gchar *hyphen_name; 1565s # } _ExtendedGDBusInterfaceInfo; 1565s # 1565s # typedef struct 1565s # { 1565s # const _ExtendedGDBusPropertyInfo *info; 1565s # guint prop_id; 1565s # GValue orig_value; /* the value before the change */ 1565s # } ChangedProperty; 1565s # 1565s # static void 1565s # _changed_property_free (ChangedProperty *data) 1565s # { 1565s # g_value_unset (&data->orig_value); 1565s # g_free (data); 1565s # } 1565s # 1565s # static gboolean 1565s # _g_strv_equal0 (gchar **a, gchar **b) 1565s # { 1565s # gboolean ret = FALSE; 1565s # guint n; 1565s # if (a == NULL && b == NULL) 1565s # { 1565s # ret = TRUE; 1565s # goto out; 1565s # } 1565s # if (a == NULL || b == NULL) 1565s # goto out; 1565s # if (g_strv_length (a) != g_strv_length (b)) 1565s # goto out; 1565s # for (n = 0; a[n] != NULL; n++) 1565s # if (g_strcmp0 (a[n], b[n]) != 0) 1565s # goto out; 1565s # ret = TRUE; 1565s # out: 1565s # return ret; 1565s # } 1565s # 1565s # static gboolean 1565s # _g_variant_equal0 (GVariant *a, GVariant *b) 1565s # { 1565s # gboolean ret = FALSE; 1565s # if (a == NULL && b == NULL) 1565s # { 1565s # ret = TRUE; 1565s # goto out; 1565s # } 1565s # if (a == NULL || b == NULL) 1565s # goto out; 1565s # ret = g_variant_equal (a, b); 1565s # out: 1565s # return ret; 1565s # } 1565s # 1565s # G_GNUC_UNUSED static gboolean 1565s # _g_value_equal (const GValue *a, const GValue *b) 1565s # { 1565s # gboolean ret = FALSE; 1565s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1565s # switch (G_VALUE_TYPE (a)) 1565s # { 1565s # case G_TYPE_BOOLEAN: 1565s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1565s # break; 1565s # case G_TYPE_UCHAR: 1565s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1565s # break; 1565s # case G_TYPE_INT: 1565s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1565s # break; 1565s # case G_TYPE_UINT: 1565s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1565s # break; 1565s # case G_TYPE_INT64: 1565s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1565s # break; 1565s # case G_TYPE_UINT64: 1565s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1565s # break; 1565s # case G_TYPE_DOUBLE: 1565s # { 1565s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1565s # gdouble da = g_value_get_double (a); 1565s # gdouble db = g_value_get_double (b); 1565s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1565s # } 1565s # break; 1565s # case G_TYPE_STRING: 1565s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1565s # break; 1565s # case G_TYPE_VARIANT: 1565s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1565s # break; 1565s # default: 1565s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1565s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1565s # else 1565s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1565s # break; 1565s # } 1565s # return ret; 1565s # } 1565s ok 4 __main__.TestCodegen.test_empty_interface_header 1565s # tmpdir: /tmp/tmpqjtbiscz 1565s # codegen: /usr/bin/gdbus-codegen 1565s # /tmp/tmpqjtbiscz/tmp88_61trt.xml: 1565s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpqjtbiscz/tmp88_61trt.xml', '--output', '-', '--header'] 1565s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-baqskmurxn,guid=fbaffe99d0ccb1f6e1beb84865fc01cd', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.YcZbqk/autopkgtest_tmp', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.YcZbqk/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.YcZbqk/autopkgtest_tmp', 'TERM': 'unknown', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.YcZbqk/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.sVTVMp0Db0', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.rqZsJO/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.YcZbqk/wrapper.sh --artifacts=/tmp/autopkgtest.YcZbqk/installed-tests-artifacts --chdir=/tmp/autopkgtest.YcZbqk/build.S0E/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.YcZbqk/installed-tests-stderr --stdout=/tmp/autopkgtest.YcZbqk/installed-tests-stdout --tmp=/tmp/autopkgtest.YcZbqk/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2' --make-executable=/tmp/autopkgtest.YcZbqk/build.S0E/src/debian/tests/installed-tests -- /tmp/autopkgtest.YcZbqk/build.S0E/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.YcZbqk/build.S0E/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.YcZbqk/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1565s # Output: /* 1565s # * This file is generated by gdbus-codegen, do not modify it. 1565s # * 1565s # * The license of this code is the same as for the D-Bus interface description 1565s # * it was derived from. Note that it links to GLib, so must comply with the 1565s # * LGPL linking clauses. 1565s # */ 1565s # 1565s # #ifndef __STDOUT__ 1565s # #define __STDOUT__ 1565s # 1565s # #include 1565s # 1565s # G_BEGIN_DECLS 1565s # 1565s # 1565s # G_END_DECLS 1565s # 1565s # #endif /* __STDOUT__ */ 1565s ok 5 __main__.TestCodegen.test_empty_interface_info_body 1565s # tmpdir: /tmp/tmpau7kgfj6 1565s # codegen: /usr/bin/gdbus-codegen 1565s # /tmp/tmpau7kgfj6/tmp22d0nohr.xml: 1565s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpau7kgfj6/tmp22d0nohr.xml', '--output', '-', '--interface-info-body'] 1565s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-baqskmurxn,guid=fbaffe99d0ccb1f6e1beb84865fc01cd', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.YcZbqk/autopkgtest_tmp', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.YcZbqk/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.YcZbqk/autopkgtest_tmp', 'TERM': 'unknown', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.YcZbqk/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.sVTVMp0Db0', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.rqZsJO/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.YcZbqk/wrapper.sh --artifacts=/tmp/autopkgtest.YcZbqk/installed-tests-artifacts --chdir=/tmp/autopkgtest.YcZbqk/build.S0E/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.YcZbqk/installed-tests-stderr --stdout=/tmp/autopkgtest.YcZbqk/installed-tests-stdout --tmp=/tmp/autopkgtest.YcZbqk/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2' --make-executable=/tmp/autopkgtest.YcZbqk/build.S0E/src/debian/tests/installed-tests -- /tmp/autopkgtest.YcZbqk/build.S0E/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.YcZbqk/build.S0E/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.YcZbqk/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1565s # Output: /* 1565s # * This file is generated by gdbus-codegen, do not modify it. 1565s # * 1565s # * The license of this code is the same as for the D-Bus interface description 1565s # * it was derived from. Note that it links to GLib, so must comply with the 1565s # * LGPL linking clauses. 1565s # */ 1565s # 1565s # #ifdef HAVE_CONFIG_H 1565s # # include "config.h" 1565s # #endif 1565s # 1565s # #include 1565s ok 6 __main__.TestCodegen.test_empty_interface_info_header 1565s # tmpdir: /tmp/tmpxhwxei9q 1565s # codegen: /usr/bin/gdbus-codegen 1565s # /tmp/tmpxhwxei9q/tmpgcsi7lbp.xml: 1565s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpxhwxei9q/tmpgcsi7lbp.xml', '--output', '-', '--interface-info-header'] 1565s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-baqskmurxn,guid=fbaffe99d0ccb1f6e1beb84865fc01cd', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.YcZbqk/autopkgtest_tmp', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.YcZbqk/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.YcZbqk/autopkgtest_tmp', 'TERM': 'unknown', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.YcZbqk/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.sVTVMp0Db0', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.rqZsJO/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.YcZbqk/wrapper.sh --artifacts=/tmp/autopkgtest.YcZbqk/installed-tests-artifacts --chdir=/tmp/autopkgtest.YcZbqk/build.S0E/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.YcZbqk/installed-tests-stderr --stdout=/tmp/autopkgtest.YcZbqk/installed-tests-stdout --tmp=/tmp/autopkgtest.YcZbqk/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2' --make-executable=/tmp/autopkgtest.YcZbqk/build.S0E/src/debian/tests/installed-tests -- /tmp/autopkgtest.YcZbqk/build.S0E/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.YcZbqk/build.S0E/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.YcZbqk/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1565s # Output: /* 1565s # * This file is generated by gdbus-codegen, do not modify it. 1565s # * 1565s # * The license of this code is the same as for the D-Bus interface description 1565s # * it was derived from. Note that it links to GLib, so must comply with the 1565s # * LGPL linking clauses. 1565s # */ 1565s # 1565s # #ifndef __STDOUT__ 1565s # #define __STDOUT__ 1565s # 1565s # #include 1565s # 1565s # G_BEGIN_DECLS 1565s # 1565s # 1565s # G_END_DECLS 1565s # 1565s # #endif /* __STDOUT__ */ 1565s ok 7 __main__.TestCodegen.test_generate_docbook 1565s # tmpdir: /tmp/tmp_msbjwf7 1565s # codegen: /usr/bin/gdbus-codegen 1565s # /tmp/tmp_msbjwf7/tmpjhot3i31.xml: 1565s # 1565s # 1565s # 1565s # 1565s # 1565s # 1565s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp_msbjwf7/tmpjhot3i31.xml', '--generate-docbook', 'test'] 1565s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-baqskmurxn,guid=fbaffe99d0ccb1f6e1beb84865fc01cd', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.YcZbqk/autopkgtest_tmp', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.YcZbqk/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.YcZbqk/autopkgtest_tmp', 'TERM': 'unknown', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.YcZbqk/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.sVTVMp0Db0', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.rqZsJO/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.YcZbqk/wrapper.sh --artifacts=/tmp/autopkgtest.YcZbqk/installed-tests-artifacts --chdir=/tmp/autopkgtest.YcZbqk/build.S0E/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.YcZbqk/installed-tests-stderr --stdout=/tmp/autopkgtest.YcZbqk/installed-tests-stdout --tmp=/tmp/autopkgtest.YcZbqk/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2' --make-executable=/tmp/autopkgtest.YcZbqk/build.S0E/src/debian/tests/installed-tests -- /tmp/autopkgtest.YcZbqk/build.S0E/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.YcZbqk/build.S0E/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.YcZbqk/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1565s # Output: 1565s ok 8 __main__.TestCodegen.test_generate_md 1565s # tmpdir: /tmp/tmpacli752l 1565s # codegen: /usr/bin/gdbus-codegen 1565s # /tmp/tmpacli752l/tmp9ph1inw_.xml: 1565s # 1565s # 1565s # 1565s # 1565s # 1565s # 1565s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpacli752l/tmp9ph1inw_.xml', '--generate-md', 'test'] 1565s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-baqskmurxn,guid=fbaffe99d0ccb1f6e1beb84865fc01cd', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.YcZbqk/autopkgtest_tmp', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.YcZbqk/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.YcZbqk/autopkgtest_tmp', 'TERM': 'unknown', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.YcZbqk/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.sVTVMp0Db0', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.rqZsJO/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.YcZbqk/wrapper.sh --artifacts=/tmp/autopkgtest.YcZbqk/installed-tests-artifacts --chdir=/tmp/autopkgtest.YcZbqk/build.S0E/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.YcZbqk/installed-tests-stderr --stdout=/tmp/autopkgtest.YcZbqk/installed-tests-stdout --tmp=/tmp/autopkgtest.YcZbqk/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2' --make-executable=/tmp/autopkgtest.YcZbqk/build.S0E/src/debian/tests/installed-tests -- /tmp/autopkgtest.YcZbqk/build.S0E/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.YcZbqk/build.S0E/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.YcZbqk/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1565s # Output: 1565s ok 9 __main__.TestCodegen.test_generate_methods_marshaller_simple_method 1565s # tmpdir: /tmp/tmpqzzh_hwh 1565s # codegen: /usr/bin/gdbus-codegen 1565s # /tmp/tmpqzzh_hwh/tmpsnddcnbq.xml: 1565s # 1565s # 1565s # 1565s # 1565s # 1565s # 1565s # 1565s # 1565s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpqzzh_hwh/tmpsnddcnbq.xml', '--output', '-', '--body'] 1565s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-baqskmurxn,guid=fbaffe99d0ccb1f6e1beb84865fc01cd', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.YcZbqk/autopkgtest_tmp', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.YcZbqk/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.YcZbqk/autopkgtest_tmp', 'TERM': 'unknown', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.YcZbqk/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.sVTVMp0Db0', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.rqZsJO/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.YcZbqk/wrapper.sh --artifacts=/tmp/autopkgtest.YcZbqk/installed-tests-artifacts --chdir=/tmp/autopkgtest.YcZbqk/build.S0E/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.YcZbqk/installed-tests-stderr --stdout=/tmp/autopkgtest.YcZbqk/installed-tests-stdout --tmp=/tmp/autopkgtest.YcZbqk/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2' --make-executable=/tmp/autopkgtest.YcZbqk/build.S0E/src/debian/tests/installed-tests -- /tmp/autopkgtest.YcZbqk/build.S0E/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.YcZbqk/build.S0E/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.YcZbqk/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1565s # Output: /* 1565s # * This file is generated by gdbus-codegen, do not modify it. 1565s # * 1565s # * The license of this code is the same as for the D-Bus interface description 1565s # * it was derived from. Note that it links to GLib, so must comply with the 1565s # * LGPL linking clauses. 1565s # */ 1565s # 1565s # #ifdef HAVE_CONFIG_H 1565s # # include "config.h" 1565s # #endif 1565s # 1565s # #include 1565s # #ifdef G_OS_UNIX 1565s # # include 1565s # #endif 1565s # 1565s # #ifdef G_ENABLE_DEBUG 1565s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1565s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1565s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1565s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1565s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1565s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1565s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1565s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1565s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1565s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1565s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1565s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1565s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1565s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1565s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1565s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1565s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1565s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1565s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1565s # #else /* !G_ENABLE_DEBUG */ 1565s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1565s # * Do not access GValues directly in your code. Instead, use the 1565s # * g_value_get_*() functions 1565s # */ 1565s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1565s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1565s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1565s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1565s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1565s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1565s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1565s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1565s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1565s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1565s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1565s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1565s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1565s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1565s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1565s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1565s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1565s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1565s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1565s # #endif /* !G_ENABLE_DEBUG */ 1565s # 1565s # typedef struct 1565s # { 1565s # GDBusArgInfo parent_struct; 1565s # gboolean use_gvariant; 1565s # } _ExtendedGDBusArgInfo; 1565s # 1565s # typedef struct 1565s # { 1565s # GDBusMethodInfo parent_struct; 1565s # const gchar *signal_name; 1565s # gboolean pass_fdlist; 1565s # } _ExtendedGDBusMethodInfo; 1565s # 1565s # typedef struct 1565s # { 1565s # GDBusSignalInfo parent_struct; 1565s # const gchar *signal_name; 1565s # } _ExtendedGDBusSignalInfo; 1565s # 1565s # typedef struct 1565s # { 1565s # GDBusPropertyInfo parent_struct; 1565s # const gchar *hyphen_name; 1565s # guint use_gvariant : 1; 1565s # guint emits_changed_signal : 1; 1565s # } _ExtendedGDBusPropertyInfo; 1565s # 1565s # typedef struct 1565s # { 1565s # GDBusInterfaceInfo parent_struct; 1565s # const gchar *hyphen_name; 1565s # } _ExtendedGDBusInterfaceInfo; 1565s # 1565s # typedef struct 1565s # { 1565s # const _ExtendedGDBusPropertyInfo *info; 1565s # guint prop_id; 1565s # GValue orig_value; /* the value before the change */ 1565s # } ChangedProperty; 1565s # 1565s # static void 1565s # _changed_property_free (ChangedProperty *data) 1565s # { 1565s # g_value_unset (&data->orig_value); 1565s # g_free (data); 1565s # } 1565s # 1565s # static gboolean 1565s # _g_strv_equal0 (gchar **a, gchar **b) 1565s # { 1565s # gboolean ret = FALSE; 1565s # guint n; 1565s # if (a == NULL && b == NULL) 1565s # { 1565s # ret = TRUE; 1565s # goto out; 1565s # } 1565s # if (a == NULL || b == NULL) 1565s # goto out; 1565s # if (g_strv_length (a) != g_strv_length (b)) 1565s # goto out; 1565s # for (n = 0; a[n] != NULL; n++) 1565s # if (g_strcmp0 (a[n], b[n]) != 0) 1565s # goto out; 1565s # ret = TRUE; 1565s # out: 1565s # return ret; 1565s # } 1565s # 1565s # static gboolean 1565s # _g_variant_equal0 (GVariant *a, GVariant *b) 1565s # { 1565s # gboolean ret = FALSE; 1565s # if (a == NULL && b == NULL) 1565s # { 1565s # ret = TRUE; 1565s # goto out; 1565s # } 1565s # if (a == NULL || b == NULL) 1565s # goto out; 1565s # ret = g_variant_equal (a, b); 1565s # out: 1565s # return ret; 1565s # } 1565s # 1565s # G_GNUC_UNUSED static gboolean 1565s # _g_value_equal (const GValue *a, const GValue *b) 1565s # { 1565s # gboolean ret = FALSE; 1565s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1565s # switch (G_VALUE_TYPE (a)) 1565s # { 1565s # case G_TYPE_BOOLEAN: 1565s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1565s # break; 1565s # case G_TYPE_UCHAR: 1565s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1565s # break; 1565s # case G_TYPE_INT: 1565s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1565s # break; 1565s # case G_TYPE_UINT: 1565s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1565s # break; 1565s # case G_TYPE_INT64: 1565s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1565s # break; 1565s # case G_TYPE_UINT64: 1565s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1565s # break; 1565s # case G_TYPE_DOUBLE: 1565s # { 1565s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1565s # gdouble da = g_value_get_double (a); 1565s # gdouble db = g_value_get_double (b); 1565s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1565s # } 1565s # break; 1565s # case G_TYPE_STRING: 1565s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1565s # break; 1565s # case G_TYPE_VARIANT: 1565s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1565s # break; 1565s # default: 1565s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1565s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1565s # else 1565s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1565s # break; 1565s # } 1565s # return ret; 1565s # } 1565s # 1565s # static void 1565s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 1565s # GClosure *closure, 1565s # GValue *return_value, 1565s # unsigned int n_param_values, 1565s # const GValue *param_values, 1565s # void *invocation_hint G_GNUC_UNUSED, 1565s # void *marshal_data) 1565s # { 1565s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 1565s # (void *data1, 1565s # GDBusMethodInvocation *arg_method_invocation, 1565s # void *data2); 1565s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 1565s # GCClosure *cc = (GCClosure*) closure; 1565s # void *data1, *data2; 1565s # gboolean v_return; 1565s # 1565s # g_return_if_fail (return_value != NULL); 1565s # g_return_if_fail (n_param_values == 2); 1565s # 1565s # if (G_CCLOSURE_SWAP_DATA (closure)) 1565s # { 1565s # data1 = closure->data; 1565s # data2 = g_value_peek_pointer (param_values + 0); 1565s # } 1565s # else 1565s # { 1565s # data1 = g_value_peek_pointer (param_values + 0); 1565s # data2 = closure->data; 1565s # } 1565s # 1565s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 1565s # (marshal_data ? marshal_data : cc->callback); 1565s # 1565s # v_return = 1565s # callback (data1, 1565s # g_marshal_value_peek_object (param_values + 1), 1565s # data2); 1565s # 1565s # g_value_set_boolean (return_value, v_return); 1565s # } 1565s # 1565s # /* ------------------------------------------------------------------------ 1565s # * Code for interface org.project.CallableIface 1565s # * ------------------------------------------------------------------------ 1565s # */ 1565s # 1565s # /** 1565s # * SECTION:OrgProjectCallableIface 1565s # * @title: OrgProjectCallableIface 1565s # * @short_description: Generated C code for the org.project.CallableIface D-Bus interface 1565s # * 1565s # * This section contains code for working with the org.project.CallableIface D-Bus interface in C. 1565s # */ 1565s # 1565s # /* ---- Introspection data for org.project.CallableIface ---- */ 1565s # 1565s # static const _ExtendedGDBusMethodInfo _org_project_callable_iface_method_info_simple_method = 1565s # { 1565s # { 1565s # -1, 1565s # (gchar *) "SimpleMethod", 1565s # NULL, 1565s # NULL, 1565s # NULL 1565s # }, 1565s # "handle-simple-method", 1565s # FALSE 1565s # }; 1565s # 1565s # static const GDBusMethodInfo * const _org_project_callable_iface_method_info_pointers[] = 1565s # { 1565s # &_org_project_callable_iface_method_info_simple_method.parent_struct, 1565s # NULL 1565s # }; 1565s # 1565s # static const _ExtendedGDBusInterfaceInfo _org_project_callable_iface_interface_info = 1565s # { 1565s # { 1565s # -1, 1565s # (gchar *) "org.project.CallableIface", 1565s # (GDBusMethodInfo **) &_org_project_callable_iface_method_info_pointers, 1565s # NULL, 1565s # NULL, 1565s # NULL 1565s # }, 1565s # "org-project-callable-iface", 1565s # }; 1565s # 1565s # 1565s # /** 1565s # * org_project_callable_iface_interface_info: 1565s # * 1565s # * Gets a machine-readable description of the org.project.CallableIface D-Bus interface. 1565s # * 1565s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1565s # */ 1565s # GDBusInterfaceInfo * 1565s # org_project_callable_iface_interface_info (void) 1565s # { 1565s # return (GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct; 1565s # } 1565s # 1565s # /** 1565s # * org_project_callable_iface_override_properties: 1565s # * @klass: The class structure for a #GObject derived class. 1565s # * @property_id_begin: The property id to assign to the first overridden property. 1565s # * 1565s # * Overrides all #GObject properties in the #OrgProjectCallableIface interface for a concrete class. 1565s # * The properties are overridden in the order they are defined. 1565s # * 1565s # * Returns: The last property id. 1565s # */ 1565s # guint 1565s # org_project_callable_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1565s # { 1565s # return property_id_begin - 1; 1565s # } 1565s # 1565s # 1565s # inline static void 1565s # org_project_callable_iface_method_marshal_simple_method ( 1565s # GClosure *closure, 1565s # GValue *return_value, 1565s # unsigned int n_param_values, 1565s # const GValue *param_values, 1565s # void *invocation_hint, 1565s # void *marshal_data) 1565s # { 1565s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1565s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1565s # } 1565s # 1565s # 1565s # /** 1565s # * OrgProjectCallableIface: 1565s # * 1565s # * Abstract interface type for the D-Bus interface org.project.CallableIface. 1565s # */ 1565s # 1565s # /** 1565s # * OrgProjectCallableIfaceIface: 1565s # * @parent_iface: The parent interface. 1565s # * @handle_simple_method: Handler for the #OrgProjectCallableIface::handle-simple-method signal. 1565s # * 1565s # * Virtual table for the D-Bus interface org.project.CallableIface. 1565s # */ 1565s # 1565s # typedef OrgProjectCallableIfaceIface OrgProjectCallableIfaceInterface; 1565s # G_DEFINE_INTERFACE (OrgProjectCallableIface, org_project_callable_iface, G_TYPE_OBJECT) 1565s # 1565s # static void 1565s # org_project_callable_iface_default_init (OrgProjectCallableIfaceIface *iface) 1565s # { 1565s # /* GObject signals for incoming D-Bus method calls: */ 1565s # /** 1565s # * OrgProjectCallableIface::handle-simple-method: 1565s # * @object: A #OrgProjectCallableIface. 1565s # * @invocation: A #GDBusMethodInvocation. 1565s # * 1565s # * Signal emitted when a remote caller is invoking the SimpleMethod() D-Bus method. 1565s # * 1565s # * 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. 1565s # * 1565s # * 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. 1565s # */ 1565s # g_signal_new ("handle-simple-method", 1565s # G_TYPE_FROM_INTERFACE (iface), 1565s # G_SIGNAL_RUN_LAST, 1565s # G_STRUCT_OFFSET (OrgProjectCallableIfaceIface, handle_simple_method), 1565s # g_signal_accumulator_true_handled, 1565s # NULL, 1565s # org_project_callable_iface_method_marshal_simple_method, 1565s # G_TYPE_BOOLEAN, 1565s # 1, 1565s # G_TYPE_DBUS_METHOD_INVOCATION); 1565s # 1565s # } 1565s # 1565s # /** 1565s # * org_project_callable_iface_call_simple_method: 1565s # * @proxy: A #OrgProjectCallableIfaceProxy. 1565s # * @cancellable: (nullable): A #GCancellable or %NULL. 1565s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1565s # * @user_data: User data to pass to @callback. 1565s # * 1565s # * Asynchronously invokes the SimpleMethod() D-Bus method on @proxy. 1565s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1565s # * You can then call org_project_callable_iface_call_simple_method_finish() to get the result of the operation. 1565s # * 1565s # * See org_project_callable_iface_call_simple_method_sync() for the synchronous, blocking version of this method. 1565s # */ 1565s # void 1565s # org_project_callable_iface_call_simple_method ( 1565s # OrgProjectCallableIface *proxy, 1565s # GCancellable *cancellable, 1565s # GAsyncReadyCallback callback, 1565s # gpointer user_data) 1565s # { 1565s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1565s # "SimpleMethod", 1565s # g_variant_new ("()"), 1565s # G_DBUS_CALL_FLAGS_NONE, 1565s # -1, 1565s # cancellable, 1565s # callback, 1565s # user_data); 1565s # } 1565s # 1565s # /** 1565s # * org_project_callable_iface_call_simple_method_finish: 1565s # * @proxy: A #OrgProjectCallableIfaceProxy. 1565s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_call_simple_method(). 1565s # * @error: Return location for error or %NULL. 1565s # * 1565s # * Finishes an operation started with org_project_callable_iface_call_simple_method(). 1565s # * 1565s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1565s # */ 1565s # gboolean 1565s # org_project_callable_iface_call_simple_method_finish ( 1565s # OrgProjectCallableIface *proxy, 1565s # GAsyncResult *res, 1565s # GError **error) 1565s # { 1565s # GVariant *_ret; 1565s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1565s # if (_ret == NULL) 1565s # goto _out; 1565s # g_variant_get (_ret, 1565s # "()"); 1565s # g_variant_unref (_ret); 1565s # _out: 1565s # return _ret != NULL; 1565s # } 1565s # 1565s # /** 1565s # * org_project_callable_iface_call_simple_method_sync: 1565s # * @proxy: A #OrgProjectCallableIfaceProxy. 1565s # * @cancellable: (nullable): A #GCancellable or %NULL. 1565s # * @error: Return location for error or %NULL. 1565s # * 1565s # * Synchronously invokes the SimpleMethod() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1565s # * 1565s # * See org_project_callable_iface_call_simple_method() for the asynchronous version of this method. 1565s # * 1565s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1565s # */ 1565s # gboolean 1565s # org_project_callable_iface_call_simple_method_sync ( 1565s # OrgProjectCallableIface *proxy, 1565s # GCancellable *cancellable, 1565s # GError **error) 1565s # { 1565s # GVariant *_ret; 1565s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1565s # "SimpleMethod", 1565s # g_variant_new ("()"), 1565s # G_DBUS_CALL_FLAGS_NONE, 1565s # -1, 1565s # cancellable, 1565s # error); 1565s # if (_ret == NULL) 1565s # goto _out; 1565s # g_variant_get (_ret, 1565s # "()"); 1565s # g_variant_unref (_ret); 1565s # _out: 1565s # return _ret != NULL; 1565s # } 1565s # 1565s # /** 1565s # * org_project_callable_iface_complete_simple_method: 1565s # * @object: A #OrgProjectCallableIface. 1565s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1565s # * 1565s # * 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. 1565s # * 1565s # * This method will free @invocation, you cannot use it afterwards. 1565s # */ 1565s # void 1565s # org_project_callable_iface_complete_simple_method ( 1565s # OrgProjectCallableIface *object G_GNUC_UNUSED, 1565s # GDBusMethodInvocation *invocation) 1565s # { 1565s # g_dbus_method_invocation_return_value (invocation, 1565s # g_variant_new ("()")); 1565s # } 1565s # 1565s # /* ------------------------------------------------------------------------ */ 1565s # 1565s # /** 1565s # * OrgProjectCallableIfaceProxy: 1565s # * 1565s # * The #OrgProjectCallableIfaceProxy structure contains only private data and should only be accessed using the provided API. 1565s # */ 1565s # 1565s # /** 1565s # * OrgProjectCallableIfaceProxyClass: 1565s # * @parent_class: The parent class. 1565s # * 1565s # * Class structure for #OrgProjectCallableIfaceProxy. 1565s # */ 1565s # 1565s # struct _OrgProjectCallableIfaceProxyPrivate 1565s # { 1565s # GData *qdata; 1565s # }; 1565s # 1565s # static void org_project_callable_iface_proxy_iface_init (OrgProjectCallableIfaceIface *iface); 1565s # 1565s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1565s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceProxy, org_project_callable_iface_proxy, G_TYPE_DBUS_PROXY, 1565s # G_ADD_PRIVATE (OrgProjectCallableIfaceProxy) 1565s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_proxy_iface_init)) 1565s # 1565s # #else 1565s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceProxy, org_project_callable_iface_proxy, G_TYPE_DBUS_PROXY, 1565s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_proxy_iface_init)) 1565s # 1565s # #endif 1565s # static void 1565s # org_project_callable_iface_proxy_finalize (GObject *object) 1565s # { 1565s # OrgProjectCallableIfaceProxy *proxy = ORG_PROJECT_CALLABLE_IFACE_PROXY (object); 1565s # g_datalist_clear (&proxy->priv->qdata); 1565s # G_OBJECT_CLASS (org_project_callable_iface_proxy_parent_class)->finalize (object); 1565s # } 1565s # 1565s # static void 1565s # org_project_callable_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1565s # guint prop_id G_GNUC_UNUSED, 1565s # GValue *value G_GNUC_UNUSED, 1565s # GParamSpec *pspec G_GNUC_UNUSED) 1565s # { 1565s # } 1565s # 1565s # static void 1565s # org_project_callable_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1565s # guint prop_id G_GNUC_UNUSED, 1565s # const GValue *value G_GNUC_UNUSED, 1565s # GParamSpec *pspec G_GNUC_UNUSED) 1565s # { 1565s # } 1565s # 1565s # static void 1565s # org_project_callable_iface_proxy_g_signal (GDBusProxy *proxy, 1565s # const gchar *sender_name G_GNUC_UNUSED, 1565s # const gchar *signal_name, 1565s # GVariant *parameters) 1565s # { 1565s # _ExtendedGDBusSignalInfo *info; 1565s # GVariantIter iter; 1565s # GVariant *child; 1565s # GValue *paramv; 1565s # gsize num_params; 1565s # gsize n; 1565s # guint signal_id; 1565s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, signal_name); 1565s # if (info == NULL) 1565s # return; 1565s # num_params = g_variant_n_children (parameters); 1565s # paramv = g_new0 (GValue, num_params + 1); 1565s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_CALLABLE_IFACE); 1565s # g_value_set_object (¶mv[0], proxy); 1565s # g_variant_iter_init (&iter, parameters); 1565s # n = 1; 1565s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1565s # { 1565s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1565s # if (arg_info->use_gvariant) 1565s # { 1565s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1565s # g_value_set_variant (¶mv[n], child); 1565s # n++; 1565s # } 1565s # else 1565s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1565s # g_variant_unref (child); 1565s # } 1565s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_CALLABLE_IFACE); 1565s # g_signal_emitv (paramv, signal_id, 0, NULL); 1565s # for (n = 0; n < num_params + 1; n++) 1565s # g_value_unset (¶mv[n]); 1565s # g_free (paramv); 1565s # } 1565s # 1565s # static void 1565s # org_project_callable_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1565s # GVariant *changed_properties, 1565s # const gchar *const *invalidated_properties) 1565s # { 1565s # OrgProjectCallableIfaceProxy *proxy = ORG_PROJECT_CALLABLE_IFACE_PROXY (_proxy); 1565s # guint n; 1565s # const gchar *key; 1565s # GVariantIter *iter; 1565s # _ExtendedGDBusPropertyInfo *info; 1565s # g_variant_get (changed_properties, "a{sv}", &iter); 1565s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1565s # { 1565s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, key); 1565s # g_datalist_remove_data (&proxy->priv->qdata, key); 1565s # if (info != NULL) 1565s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1565s # } 1565s # g_variant_iter_free (iter); 1565s # for (n = 0; invalidated_properties[n] != NULL; n++) 1565s # { 1565s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, invalidated_properties[n]); 1565s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1565s # if (info != NULL) 1565s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1565s # } 1565s # } 1565s # 1565s # static void 1565s # org_project_callable_iface_proxy_init (OrgProjectCallableIfaceProxy *proxy) 1565s # { 1565s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1565s # proxy->priv = org_project_callable_iface_proxy_get_instance_private (proxy); 1565s # #else 1565s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_CALLABLE_IFACE_PROXY, OrgProjectCallableIfaceProxyPrivate); 1565s # #endif 1565s # 1565s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_callable_iface_interface_info ()); 1565s # } 1565s # 1565s # static void 1565s # org_project_callable_iface_proxy_class_init (OrgProjectCallableIfaceProxyClass *klass) 1565s # { 1565s # GObjectClass *gobject_class; 1565s # GDBusProxyClass *proxy_class; 1565s # 1565s # gobject_class = G_OBJECT_CLASS (klass); 1565s # gobject_class->finalize = org_project_callable_iface_proxy_finalize; 1565s # gobject_class->get_property = org_project_callable_iface_proxy_get_property; 1565s # gobject_class->set_property = org_project_callable_iface_proxy_set_property; 1565s # 1565s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1565s # proxy_class->g_signal = org_project_callable_iface_proxy_g_signal; 1565s # proxy_class->g_properties_changed = org_project_callable_iface_proxy_g_properties_changed; 1565s # 1565s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1565s # g_type_class_add_private (klass, sizeof (OrgProjectCallableIfaceProxyPrivate)); 1565s # #endif 1565s # } 1565s # 1565s # static void 1565s # org_project_callable_iface_proxy_iface_init (OrgProjectCallableIfaceIface *iface G_GNUC_UNUSED) 1565s # { 1565s # } 1565s # 1565s # /** 1565s # * org_project_callable_iface_proxy_new: 1565s # * @connection: A #GDBusConnection. 1565s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1565s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1565s # * @object_path: An object path. 1565s # * @cancellable: (nullable): A #GCancellable or %NULL. 1565s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1565s # * @user_data: User data to pass to @callback. 1565s # * 1565s # * Asynchronously creates a proxy for the D-Bus interface org.project.CallableIface. See g_dbus_proxy_new() for more details. 1565s # * 1565s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1565s # * You can then call org_project_callable_iface_proxy_new_finish() to get the result of the operation. 1565s # * 1565s # * See org_project_callable_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1565s # */ 1565s # void 1565s # org_project_callable_iface_proxy_new ( 1565s # GDBusConnection *connection, 1565s # GDBusProxyFlags flags, 1565s # const gchar *name, 1565s # const gchar *object_path, 1565s # GCancellable *cancellable, 1565s # GAsyncReadyCallback callback, 1565s # gpointer user_data) 1565s # { 1565s # 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); 1565s # } 1565s # 1565s # /** 1565s # * org_project_callable_iface_proxy_new_finish: 1565s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_proxy_new(). 1565s # * @error: Return location for error or %NULL 1565s # * 1565s # * Finishes an operation started with org_project_callable_iface_proxy_new(). 1565s # * 1565s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 1565s # */ 1565s # OrgProjectCallableIface * 1565s # org_project_callable_iface_proxy_new_finish ( 1565s # GAsyncResult *res, 1565s # GError **error) 1565s # { 1565s # GObject *ret; 1565s # GObject *source_object; 1565s # source_object = g_async_result_get_source_object (res); 1565s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1565s # g_object_unref (source_object); 1565s # if (ret != NULL) 1565s # return ORG_PROJECT_CALLABLE_IFACE (ret); 1565s # else 1565s # return NULL; 1565s # } 1565s # 1565s # /** 1565s # * org_project_callable_iface_proxy_new_sync: 1565s # * @connection: A #GDBusConnection. 1565s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1565s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1565s # * @object_path: An object path. 1565s # * @cancellable: (nullable): A #GCancellable or %NULL. 1565s # * @error: Return location for error or %NULL 1565s # * 1565s # * Synchronously creates a proxy for the D-Bus interface org.project.CallableIface. See g_dbus_proxy_new_sync() for more details. 1565s # * 1565s # * The calling thread is blocked until a reply is received. 1565s # * 1565s # * See org_project_callable_iface_proxy_new() for the asynchronous version of this constructor. 1565s # * 1565s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 1565s # */ 1565s # OrgProjectCallableIface * 1565s # org_project_callable_iface_proxy_new_sync ( 1565s # GDBusConnection *connection, 1565s # GDBusProxyFlags flags, 1565s # const gchar *name, 1565s # const gchar *object_path, 1565s # GCancellable *cancellable, 1565s # GError **error) 1565s # { 1565s # GInitable *ret; 1565s # 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); 1565s # if (ret != NULL) 1565s # return ORG_PROJECT_CALLABLE_IFACE (ret); 1565s # else 1565s # return NULL; 1565s # } 1565s # 1565s # 1565s # /** 1565s # * org_project_callable_iface_proxy_new_for_bus: 1565s # * @bus_type: A #GBusType. 1565s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1565s # * @name: A bus name (well-known or unique). 1565s # * @object_path: An object path. 1565s # * @cancellable: (nullable): A #GCancellable or %NULL. 1565s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1565s # * @user_data: User data to pass to @callback. 1565s # * 1565s # * Like org_project_callable_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1565s # * 1565s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1565s # * You can then call org_project_callable_iface_proxy_new_for_bus_finish() to get the result of the operation. 1565s # * 1565s # * See org_project_callable_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1565s # */ 1565s # void 1565s # org_project_callable_iface_proxy_new_for_bus ( 1565s # GBusType bus_type, 1565s # GDBusProxyFlags flags, 1565s # const gchar *name, 1565s # const gchar *object_path, 1565s # GCancellable *cancellable, 1565s # GAsyncReadyCallback callback, 1565s # gpointer user_data) 1565s # { 1565s # 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); 1565s # } 1565s # 1565s # /** 1565s # * org_project_callable_iface_proxy_new_for_bus_finish: 1565s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_proxy_new_for_bus(). 1565s # * @error: Return location for error or %NULL 1565s # * 1565s # * Finishes an operation started with org_project_callable_iface_proxy_new_for_bus(). 1565s # * 1565s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 1565s # */ 1565s # OrgProjectCallableIface * 1565s # org_project_callable_iface_proxy_new_for_bus_finish ( 1565s # GAsyncResult *res, 1565s # GError **error) 1565s # { 1565s # GObject *ret; 1565s # GObject *source_object; 1565s # source_object = g_async_result_get_source_object (res); 1565s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1565s # g_object_unref (source_object); 1565s # if (ret != NULL) 1565s # return ORG_PROJECT_CALLABLE_IFACE (ret); 1565s # else 1565s # return NULL; 1565s # } 1565s # 1565s # /** 1565s # * org_project_callable_iface_proxy_new_for_bus_sync: 1565s # * @bus_type: A #GBusType. 1565s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1565s # * @name: A bus name (well-known or unique). 1565s # * @object_path: An object path. 1565s # * @cancellable: (nullable): A #GCancellable or %NULL. 1565s # * @error: Return location for error or %NULL 1565s # * 1565s # * Like org_project_callable_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1565s # * 1565s # * The calling thread is blocked until a reply is received. 1565s # * 1565s # * See org_project_callable_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1565s # * 1565s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 1565s # */ 1565s # OrgProjectCallableIface * 1565s # org_project_callable_iface_proxy_new_for_bus_sync ( 1565s # GBusType bus_type, 1565s # GDBusProxyFlags flags, 1565s # const gchar *name, 1565s # const gchar *object_path, 1565s # GCancellable *cancellable, 1565s # GError **error) 1565s # { 1565s # GInitable *ret; 1565s # 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); 1565s # if (ret != NULL) 1565s # return ORG_PROJECT_CALLABLE_IFACE (ret); 1565s # else 1565s # return NULL; 1565s # } 1565s # 1565s # 1565s # /* ------------------------------------------------------------------------ */ 1565s # 1565s # /** 1565s # * OrgProjectCallableIfaceSkeleton: 1565s # * 1565s # * The #OrgProjectCallableIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1565s # */ 1565s # 1565s # /** 1565s # * OrgProjectCallableIfaceSkeletonClass: 1565s # * @parent_class: The parent class. 1565s # * 1565s # * Class structure for #OrgProjectCallableIfaceSkeleton. 1565s # */ 1565s # 1565s # struct _OrgProjectCallableIfaceSkeletonPrivate 1565s # { 1565s # GValue *properties; 1565s # GList *changed_properties; 1565s # GSource *changed_properties_idle_source; 1565s # GMainContext *context; 1565s # GMutex lock; 1565s # }; 1565s # 1565s # static void 1565s # _org_project_callable_iface_skeleton_handle_method_call ( 1565s # GDBusConnection *connection G_GNUC_UNUSED, 1565s # const gchar *sender G_GNUC_UNUSED, 1565s # const gchar *object_path G_GNUC_UNUSED, 1565s # const gchar *interface_name, 1565s # const gchar *method_name, 1565s # GVariant *parameters, 1565s # GDBusMethodInvocation *invocation, 1565s # gpointer user_data) 1565s # { 1565s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (user_data); 1565s # _ExtendedGDBusMethodInfo *info; 1565s # GVariantIter iter; 1565s # GVariant *child; 1565s # GValue *paramv; 1565s # gsize num_params; 1565s # guint num_extra; 1565s # gsize n; 1565s # guint signal_id; 1565s # GValue return_value = G_VALUE_INIT; 1565s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1565s # g_assert (info != NULL); 1565s # num_params = g_variant_n_children (parameters); 1565s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1565s # n = 0; 1565s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_CALLABLE_IFACE); 1565s # g_value_set_object (¶mv[n++], skeleton); 1565s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1565s # g_value_set_object (¶mv[n++], invocation); 1565s # if (info->pass_fdlist) 1565s # { 1565s # #ifdef G_OS_UNIX 1565s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1565s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1565s # #else 1565s # g_assert_not_reached (); 1565s # #endif 1565s # } 1565s # g_variant_iter_init (&iter, parameters); 1565s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1565s # { 1565s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1565s # if (arg_info->use_gvariant) 1565s # { 1565s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1565s # g_value_set_variant (¶mv[n], child); 1565s # n++; 1565s # } 1565s # else 1565s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1565s # g_variant_unref (child); 1565s # } 1565s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_CALLABLE_IFACE); 1565s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1565s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1565s # if (!g_value_get_boolean (&return_value)) 1565s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1565s # g_value_unset (&return_value); 1565s # for (n = 0; n < num_params + num_extra; n++) 1565s # g_value_unset (¶mv[n]); 1565s # g_free (paramv); 1565s # } 1565s # 1565s # static GVariant * 1565s # _org_project_callable_iface_skeleton_handle_get_property ( 1565s # GDBusConnection *connection G_GNUC_UNUSED, 1565s # const gchar *sender G_GNUC_UNUSED, 1565s # const gchar *object_path G_GNUC_UNUSED, 1565s # const gchar *interface_name G_GNUC_UNUSED, 1565s # const gchar *property_name, 1565s # GError **error, 1565s # gpointer user_data) 1565s # { 1565s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (user_data); 1565s # GValue value = G_VALUE_INIT; 1565s # GParamSpec *pspec; 1565s # _ExtendedGDBusPropertyInfo *info; 1565s # GVariant *ret; 1565s # ret = NULL; 1565s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, property_name); 1565s # g_assert (info != NULL); 1565s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1565s # if (pspec == NULL) 1565s # { 1565s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1565s # } 1565s # else 1565s # { 1565s # g_value_init (&value, pspec->value_type); 1565s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1565s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1565s # g_value_unset (&value); 1565s # } 1565s # return ret; 1565s # } 1565s # 1565s # static gboolean 1565s # _org_project_callable_iface_skeleton_handle_set_property ( 1565s # GDBusConnection *connection G_GNUC_UNUSED, 1565s # const gchar *sender G_GNUC_UNUSED, 1565s # const gchar *object_path G_GNUC_UNUSED, 1565s # const gchar *interface_name G_GNUC_UNUSED, 1565s # const gchar *property_name, 1565s # GVariant *variant, 1565s # GError **error, 1565s # gpointer user_data) 1565s # { 1565s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (user_data); 1565s # GValue value = G_VALUE_INIT; 1565s # GParamSpec *pspec; 1565s # _ExtendedGDBusPropertyInfo *info; 1565s # gboolean ret; 1565s # ret = FALSE; 1565s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, property_name); 1565s # g_assert (info != NULL); 1565s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1565s # if (pspec == NULL) 1565s # { 1565s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1565s # } 1565s # else 1565s # { 1565s # if (info->use_gvariant) 1565s # g_value_set_variant (&value, variant); 1565s # else 1565s # g_dbus_gvariant_to_gvalue (variant, &value); 1565s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1565s # g_value_unset (&value); 1565s # ret = TRUE; 1565s # } 1565s # return ret; 1565s # } 1565s # 1565s # static const GDBusInterfaceVTable _org_project_callable_iface_skeleton_vtable = 1565s # { 1565s # _org_project_callable_iface_skeleton_handle_method_call, 1565s # _org_project_callable_iface_skeleton_handle_get_property, 1565s # _org_project_callable_iface_skeleton_handle_set_property, 1565s # {NULL} 1565s # }; 1565s # 1565s # static GDBusInterfaceInfo * 1565s # org_project_callable_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1565s # { 1565s # return org_project_callable_iface_interface_info (); 1565s # } 1565s # 1565s # static GDBusInterfaceVTable * 1565s # org_project_callable_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1565s # { 1565s # return (GDBusInterfaceVTable *) &_org_project_callable_iface_skeleton_vtable; 1565s # } 1565s # 1565s # static GVariant * 1565s # org_project_callable_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1565s # { 1565s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (_skeleton); 1565s # 1565s # GVariantBuilder builder; 1565s # guint n; 1565s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1565s # if (_org_project_callable_iface_interface_info.parent_struct.properties == NULL) 1565s # goto out; 1565s # for (n = 0; _org_project_callable_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1565s # { 1565s # GDBusPropertyInfo *info = _org_project_callable_iface_interface_info.parent_struct.properties[n]; 1565s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1565s # { 1565s # GVariant *value; 1565s # 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); 1565s # if (value != NULL) 1565s # { 1565s # g_variant_take_ref (value); 1565s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1565s # g_variant_unref (value); 1565s # } 1565s # } 1565s # } 1565s # out: 1565s # return g_variant_builder_end (&builder); 1565s # } 1565s # 1565s # static void 1565s # org_project_callable_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1565s # { 1565s # } 1565s # 1565s # static void org_project_callable_iface_skeleton_iface_init (OrgProjectCallableIfaceIface *iface); 1565s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1565s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceSkeleton, org_project_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1565s # G_ADD_PRIVATE (OrgProjectCallableIfaceSkeleton) 1565s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_skeleton_iface_init)) 1565s # 1565s # #else 1565s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceSkeleton, org_project_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1565s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_skeleton_iface_init)) 1565s # 1565s # #endif 1565s # static void 1565s # org_project_callable_iface_skeleton_finalize (GObject *object) 1565s # { 1565s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (object); 1565s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1565s # if (skeleton->priv->changed_properties_idle_source != NULL) 1565s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1565s # g_main_context_unref (skeleton->priv->context); 1565s # g_mutex_clear (&skeleton->priv->lock); 1565s # G_OBJECT_CLASS (org_project_callable_iface_skeleton_parent_class)->finalize (object); 1565s # } 1565s # 1565s # static void 1565s # org_project_callable_iface_skeleton_init (OrgProjectCallableIfaceSkeleton *skeleton) 1565s # { 1565s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1565s # skeleton->priv = org_project_callable_iface_skeleton_get_instance_private (skeleton); 1565s # #else 1565s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_CALLABLE_IFACE_SKELETON, OrgProjectCallableIfaceSkeletonPrivate); 1565s # #endif 1565s # 1565s # g_mutex_init (&skeleton->priv->lock); 1565s # skeleton->priv->context = g_main_context_ref_thread_default (); 1565s # } 1565s # 1565s # static void 1565s # org_project_callable_iface_skeleton_class_init (OrgProjectCallableIfaceSkeletonClass *klass) 1565s # { 1565s # GObjectClass *gobject_class; 1565s # GDBusInterfaceSkeletonClass *skeleton_class; 1565s # 1565s # gobject_class = G_OBJECT_CLASS (klass); 1565s # gobject_class->finalize = org_project_callable_iface_skeleton_finalize; 1565s # 1565s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1565s # skeleton_class->get_info = org_project_callable_iface_skeleton_dbus_interface_get_info; 1565s # skeleton_class->get_properties = org_project_callable_iface_skeleton_dbus_interface_get_properties; 1565s # skeleton_class->flush = org_project_callable_iface_skeleton_dbus_interface_flush; 1565s # skeleton_class->get_vtable = org_project_callable_iface_skeleton_dbus_interface_get_vtable; 1565s # 1565s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1565s # g_type_class_add_private (klass, sizeof (OrgProjectCallableIfaceSkeletonPrivate)); 1565s # #endif 1565s # } 1565s # 1565s # static void 1565s # org_project_callable_iface_skeleton_iface_init (OrgProjectCallableIfaceIface *iface G_GNUC_UNUSED) 1565s # { 1565s # } 1565s # 1565s # /** 1565s # * org_project_callable_iface_skeleton_new: 1565s # * 1565s # * Creates a skeleton object for the D-Bus interface org.project.CallableIface. 1565s # * 1565s # * Returns: (transfer full) (type OrgProjectCallableIfaceSkeleton): The skeleton object. 1565s # */ 1565s # OrgProjectCallableIface * 1565s # org_project_callable_iface_skeleton_new (void) 1565s # { 1565s # return ORG_PROJECT_CALLABLE_IFACE (g_object_new (TYPE_ORG_PROJECT_CALLABLE_IFACE_SKELETON, NULL)); 1565s # } 1565s # 1565s # /* ------------------------------------------------------------------------ 1565s # * Code for interface org.project.OtherCallableIface 1565s # * ------------------------------------------------------------------------ 1565s # */ 1565s # 1565s # /** 1565s # * SECTION:OrgProjectOtherCallableIface 1565s # * @title: OrgProjectOtherCallableIface 1565s # * @short_description: Generated C code for the org.project.OtherCallableIface D-Bus interface 1565s # * 1565s # * This section contains code for working with the org.project.OtherCallableIface D-Bus interface in C. 1565s # */ 1565s # 1565s # /* ---- Introspection data for org.project.OtherCallableIface ---- */ 1565s # 1565s # static const _ExtendedGDBusMethodInfo _org_project_other_callable_iface_method_info_simple_method = 1565s # { 1565s # { 1565s # -1, 1565s # (gchar *) "SimpleMethod", 1565s # NULL, 1565s # NULL, 1565s # NULL 1565s # }, 1565s # "handle-simple-method", 1565s # FALSE 1565s # }; 1565s # 1565s # static const GDBusMethodInfo * const _org_project_other_callable_iface_method_info_pointers[] = 1565s # { 1565s # &_org_project_other_callable_iface_method_info_simple_method.parent_struct, 1565s # NULL 1565s # }; 1565s # 1565s # static const _ExtendedGDBusInterfaceInfo _org_project_other_callable_iface_interface_info = 1565s # { 1565s # { 1565s # -1, 1565s # (gchar *) "org.project.OtherCallableIface", 1565s # (GDBusMethodInfo **) &_org_project_other_callable_iface_method_info_pointers, 1565s # NULL, 1565s # NULL, 1565s # NULL 1565s # }, 1565s # "org-project-other-callable-iface", 1565s # }; 1565s # 1565s # 1565s # /** 1565s # * org_project_other_callable_iface_interface_info: 1565s # * 1565s # * Gets a machine-readable description of the org.project.OtherCallableIface D-Bus interface. 1565s # * 1565s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1565s # */ 1565s # GDBusInterfaceInfo * 1565s # org_project_other_callable_iface_interface_info (void) 1565s # { 1565s # return (GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct; 1565s # } 1565s # 1565s # /** 1565s # * org_project_other_callable_iface_override_properties: 1565s # * @klass: The class structure for a #GObject derived class. 1565s # * @property_id_begin: The property id to assign to the first overridden property. 1565s # * 1565s # * Overrides all #GObject properties in the #OrgProjectOtherCallableIface interface for a concrete class. 1565s # * The properties are overridden in the order they are defined. 1565s # * 1565s # * Returns: The last property id. 1565s # */ 1565s # guint 1565s # org_project_other_callable_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1565s # { 1565s # return property_id_begin - 1; 1565s # } 1565s # 1565s # 1565s # inline static void 1565s # org_project_other_callable_iface_method_marshal_simple_method ( 1565s # GClosure *closure, 1565s # GValue *return_value, 1565s # unsigned int n_param_values, 1565s # const GValue *param_values, 1565s # void *invocation_hint, 1565s # void *marshal_data) 1565s # { 1565s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1565s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1565s # } 1565s # 1565s # 1565s # /** 1565s # * OrgProjectOtherCallableIface: 1565s # * 1565s # * Abstract interface type for the D-Bus interface org.project.OtherCallableIface. 1565s # */ 1565s # 1565s # /** 1565s # * OrgProjectOtherCallableIfaceIface: 1565s # * @parent_iface: The parent interface. 1565s # * @handle_simple_method: Handler for the #OrgProjectOtherCallableIface::handle-simple-method signal. 1565s # * 1565s # * Virtual table for the D-Bus interface org.project.OtherCallableIface. 1565s # */ 1565s # 1565s # typedef OrgProjectOtherCallableIfaceIface OrgProjectOtherCallableIfaceInterface; 1565s # G_DEFINE_INTERFACE (OrgProjectOtherCallableIface, org_project_other_callable_iface, G_TYPE_OBJECT) 1565s # 1565s # static void 1565s # org_project_other_callable_iface_default_init (OrgProjectOtherCallableIfaceIface *iface) 1565s # { 1565s # /* GObject signals for incoming D-Bus method calls: */ 1565s # /** 1565s # * OrgProjectOtherCallableIface::handle-simple-method: 1565s # * @object: A #OrgProjectOtherCallableIface. 1565s # * @invocation: A #GDBusMethodInvocation. 1565s # * 1565s # * Signal emitted when a remote caller is invoking the SimpleMethod() D-Bus method. 1565s # * 1565s # * 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. 1565s # * 1565s # * 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. 1565s # */ 1565s # g_signal_new ("handle-simple-method", 1565s # G_TYPE_FROM_INTERFACE (iface), 1565s # G_SIGNAL_RUN_LAST, 1565s # G_STRUCT_OFFSET (OrgProjectOtherCallableIfaceIface, handle_simple_method), 1565s # g_signal_accumulator_true_handled, 1565s # NULL, 1565s # org_project_other_callable_iface_method_marshal_simple_method, 1565s # G_TYPE_BOOLEAN, 1565s # 1, 1565s # G_TYPE_DBUS_METHOD_INVOCATION); 1565s # 1565s # } 1565s # 1565s # /** 1565s # * org_project_other_callable_iface_call_simple_method: 1565s # * @proxy: A #OrgProjectOtherCallableIfaceProxy. 1565s # * @cancellable: (nullable): A #GCancellable or %NULL. 1565s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1565s # * @user_data: User data to pass to @callback. 1565s # * 1565s # * Asynchronously invokes the SimpleMethod() D-Bus method on @proxy. 1565s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1565s # * You can then call org_project_other_callable_iface_call_simple_method_finish() to get the result of the operation. 1565s # * 1565s # * See org_project_other_callable_iface_call_simple_method_sync() for the synchronous, blocking version of this method. 1565s # */ 1565s # void 1565s # org_project_other_callable_iface_call_simple_method ( 1565s # OrgProjectOtherCallableIface *proxy, 1565s # GCancellable *cancellable, 1565s # GAsyncReadyCallback callback, 1565s # gpointer user_data) 1565s # { 1565s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1565s # "SimpleMethod", 1565s # g_variant_new ("()"), 1565s # G_DBUS_CALL_FLAGS_NONE, 1565s # -1, 1565s # cancellable, 1565s # callback, 1565s # user_data); 1565s # } 1565s # 1565s # /** 1565s # * org_project_other_callable_iface_call_simple_method_finish: 1565s # * @proxy: A #OrgProjectOtherCallableIfaceProxy. 1565s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_callable_iface_call_simple_method(). 1565s # * @error: Return location for error or %NULL. 1565s # * 1565s # * Finishes an operation started with org_project_other_callable_iface_call_simple_method(). 1565s # * 1565s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1565s # */ 1565s # gboolean 1565s # org_project_other_callable_iface_call_simple_method_finish ( 1565s # OrgProjectOtherCallableIface *proxy, 1565s # GAsyncResult *res, 1565s # GError **error) 1565s # { 1565s # GVariant *_ret; 1565s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1565s # if (_ret == NULL) 1565s # goto _out; 1565s # g_variant_get (_ret, 1565s # "()"); 1565s # g_variant_unref (_ret); 1565s # _out: 1565s # return _ret != NULL; 1565s # } 1565s # 1565s # /** 1565s # * org_project_other_callable_iface_call_simple_method_sync: 1565s # * @proxy: A #OrgProjectOtherCallableIfaceProxy. 1565s # * @cancellable: (nullable): A #GCancellable or %NULL. 1565s # * @error: Return location for error or %NULL. 1565s # * 1565s # * Synchronously invokes the SimpleMethod() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1565s # * 1565s # * See org_project_other_callable_iface_call_simple_method() for the asynchronous version of this method. 1565s # * 1565s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1565s # */ 1565s # gboolean 1565s # org_project_other_callable_iface_call_simple_method_sync ( 1565s # OrgProjectOtherCallableIface *proxy, 1565s # GCancellable *cancellable, 1565s # GError **error) 1565s # { 1565s # GVariant *_ret; 1565s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1565s # "SimpleMethod", 1565s # g_variant_new ("()"), 1565s # G_DBUS_CALL_FLAGS_NONE, 1565s # -1, 1565s # cancellable, 1565s # error); 1565s # if (_ret == NULL) 1565s # goto _out; 1565s # g_variant_get (_ret, 1565s # "()"); 1565s # g_variant_unref (_ret); 1565s # _out: 1565s # return _ret != NULL; 1565s # } 1565s # 1565s # /** 1565s # * org_project_other_callable_iface_complete_simple_method: 1565s # * @object: A #OrgProjectOtherCallableIface. 1565s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1565s # * 1565s # * 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. 1565s # * 1565s # * This method will free @invocation, you cannot use it afterwards. 1565s # */ 1565s # void 1565s # org_project_other_callable_iface_complete_simple_method ( 1565s # OrgProjectOtherCallableIface *object G_GNUC_UNUSED, 1565s # GDBusMethodInvocation *invocation) 1565s # { 1565s # g_dbus_method_invocation_return_value (invocation, 1565s # g_variant_new ("()")); 1565s # } 1565s # 1565s # /* ------------------------------------------------------------------------ */ 1565s # 1565s # /** 1565s # * OrgProjectOtherCallableIfaceProxy: 1565s # * 1565s # * The #OrgProjectOtherCallableIfaceProxy structure contains only private data and should only be accessed using the provided API. 1565s # */ 1565s # 1565s # /** 1565s # * OrgProjectOtherCallableIfaceProxyClass: 1565s # * @parent_class: The parent class. 1565s # * 1565s # * Class structure for #OrgProjectOtherCallableIfaceProxy. 1565s # */ 1565s # 1565s # struct _OrgProjectOtherCallableIfaceProxyPrivate 1565s # { 1565s # GData *qdata; 1565s # }; 1565s # 1565s # static void org_project_other_callable_iface_proxy_iface_init (OrgProjectOtherCallableIfaceIface *iface); 1565s # 1565s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1565s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherCallableIfaceProxy, org_project_other_callable_iface_proxy, G_TYPE_DBUS_PROXY, 1565s # G_ADD_PRIVATE (OrgProjectOtherCallableIfaceProxy) 1565s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE, org_project_other_callable_iface_proxy_iface_init)) 1565s # 1565s # #else 1565s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherCallableIfaceProxy, org_project_other_callable_iface_proxy, G_TYPE_DBUS_PROXY, 1565s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE, org_project_other_callable_iface_proxy_iface_init)) 1565s # 1565s # #endif 1565s # static void 1565s # org_project_other_callable_iface_proxy_finalize (GObject *object) 1565s # { 1565s # OrgProjectOtherCallableIfaceProxy *proxy = ORG_PROJECT_OTHER_CALLABLE_IFACE_PROXY (object); 1565s # g_datalist_clear (&proxy->priv->qdata); 1565s # G_OBJECT_CLASS (org_project_other_callable_iface_proxy_parent_class)->finalize (object); 1565s # } 1565s # 1565s # static void 1565s # org_project_other_callable_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1565s # guint prop_id G_GNUC_UNUSED, 1565s # GValue *value G_GNUC_UNUSED, 1565s # GParamSpec *pspec G_GNUC_UNUSED) 1565s # { 1565s # } 1565s # 1565s # static void 1565s # org_project_other_callable_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1565s # guint prop_id G_GNUC_UNUSED, 1565s # const GValue *value G_GNUC_UNUSED, 1565s # GParamSpec *pspec G_GNUC_UNUSED) 1565s # { 1565s # } 1565s # 1565s # static void 1565s # org_project_other_callable_iface_proxy_g_signal (GDBusProxy *proxy, 1565s # const gchar *sender_name G_GNUC_UNUSED, 1565s # const gchar *signal_name, 1565s # GVariant *parameters) 1565s # { 1565s # _ExtendedGDBusSignalInfo *info; 1565s # GVariantIter iter; 1565s # GVariant *child; 1565s # GValue *paramv; 1565s # gsize num_params; 1565s # gsize n; 1565s # guint signal_id; 1565s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, signal_name); 1565s # if (info == NULL) 1565s # return; 1565s # num_params = g_variant_n_children (parameters); 1565s # paramv = g_new0 (GValue, num_params + 1); 1565s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE); 1565s # g_value_set_object (¶mv[0], proxy); 1565s # g_variant_iter_init (&iter, parameters); 1565s # n = 1; 1565s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1565s # { 1565s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1565s # if (arg_info->use_gvariant) 1565s # { 1565s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1565s # g_value_set_variant (¶mv[n], child); 1565s # n++; 1565s # } 1565s # else 1565s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1565s # g_variant_unref (child); 1565s # } 1565s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE); 1565s # g_signal_emitv (paramv, signal_id, 0, NULL); 1565s # for (n = 0; n < num_params + 1; n++) 1565s # g_value_unset (¶mv[n]); 1565s # g_free (paramv); 1565s # } 1565s # 1565s # static void 1565s # org_project_other_callable_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1565s # GVariant *changed_properties, 1565s # const gchar *const *invalidated_properties) 1565s # { 1565s # OrgProjectOtherCallableIfaceProxy *proxy = ORG_PROJECT_OTHER_CALLABLE_IFACE_PROXY (_proxy); 1565s # guint n; 1565s # const gchar *key; 1565s # GVariantIter *iter; 1565s # _ExtendedGDBusPropertyInfo *info; 1565s # g_variant_get (changed_properties, "a{sv}", &iter); 1565s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1565s # { 1565s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, key); 1565s # g_datalist_remove_data (&proxy->priv->qdata, key); 1565s # if (info != NULL) 1565s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1565s # } 1565s # g_variant_iter_free (iter); 1565s # for (n = 0; invalidated_properties[n] != NULL; n++) 1565s # { 1565s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, invalidated_properties[n]); 1565s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1565s # if (info != NULL) 1565s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1565s # } 1565s # } 1565s # 1565s # static void 1565s # org_project_other_callable_iface_proxy_init (OrgProjectOtherCallableIfaceProxy *proxy) 1565s # { 1565s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1565s # proxy->priv = org_project_other_callable_iface_proxy_get_instance_private (proxy); 1565s # #else 1565s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE_PROXY, OrgProjectOtherCallableIfaceProxyPrivate); 1565s # #endif 1565s # 1565s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_other_callable_iface_interface_info ()); 1565s # } 1565s # 1565s # static void 1565s # org_project_other_callable_iface_proxy_class_init (OrgProjectOtherCallableIfaceProxyClass *klass) 1565s # { 1565s # GObjectClass *gobject_class; 1565s # GDBusProxyClass *proxy_class; 1565s # 1565s # gobject_class = G_OBJECT_CLASS (klass); 1565s # gobject_class->finalize = org_project_other_callable_iface_proxy_finalize; 1565s # gobject_class->get_property = org_project_other_callable_iface_proxy_get_property; 1565s # gobject_class->set_property = org_project_other_callable_iface_proxy_set_property; 1565s # 1565s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1565s # proxy_class->g_signal = org_project_other_callable_iface_proxy_g_signal; 1565s # proxy_class->g_properties_changed = org_project_other_callable_iface_proxy_g_properties_changed; 1565s # 1565s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1565s # g_type_class_add_private (klass, sizeof (OrgProjectOtherCallableIfaceProxyPrivate)); 1565s # #endif 1565s # } 1565s # 1565s # static void 1565s # org_project_other_callable_iface_proxy_iface_init (OrgProjectOtherCallableIfaceIface *iface G_GNUC_UNUSED) 1565s # { 1565s # } 1565s # 1565s # /** 1565s # * org_project_other_callable_iface_proxy_new: 1565s # * @connection: A #GDBusConnection. 1565s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1565s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1565s # * @object_path: An object path. 1565s # * @cancellable: (nullable): A #GCancellable or %NULL. 1565s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1565s # * @user_data: User data to pass to @callback. 1565s # * 1565s # * Asynchronously creates a proxy for the D-Bus interface org.project.OtherCallableIface. See g_dbus_proxy_new() for more details. 1565s # * 1565s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1565s # * You can then call org_project_other_callable_iface_proxy_new_finish() to get the result of the operation. 1565s # * 1565s # * See org_project_other_callable_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1565s # */ 1565s # void 1565s # org_project_other_callable_iface_proxy_new ( 1565s # GDBusConnection *connection, 1565s # GDBusProxyFlags flags, 1565s # const gchar *name, 1565s # const gchar *object_path, 1565s # GCancellable *cancellable, 1565s # GAsyncReadyCallback callback, 1565s # gpointer user_data) 1565s # { 1565s # 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); 1565s # } 1565s # 1565s # /** 1565s # * org_project_other_callable_iface_proxy_new_finish: 1565s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_callable_iface_proxy_new(). 1565s # * @error: Return location for error or %NULL 1565s # * 1565s # * Finishes an operation started with org_project_other_callable_iface_proxy_new(). 1565s # * 1565s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 1565s # */ 1565s # OrgProjectOtherCallableIface * 1565s # org_project_other_callable_iface_proxy_new_finish ( 1565s # GAsyncResult *res, 1565s # GError **error) 1565s # { 1565s # GObject *ret; 1565s # GObject *source_object; 1565s # source_object = g_async_result_get_source_object (res); 1565s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1565s # g_object_unref (source_object); 1565s # if (ret != NULL) 1565s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (ret); 1565s # else 1565s # return NULL; 1565s # } 1565s # 1565s # /** 1565s # * org_project_other_callable_iface_proxy_new_sync: 1565s # * @connection: A #GDBusConnection. 1565s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1565s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1565s # * @object_path: An object path. 1565s # * @cancellable: (nullable): A #GCancellable or %NULL. 1565s # * @error: Return location for error or %NULL 1565s # * 1565s # * Synchronously creates a proxy for the D-Bus interface org.project.OtherCallableIface. See g_dbus_proxy_new_sync() for more details. 1565s # * 1565s # * The calling thread is blocked until a reply is received. 1565s # * 1565s # * See org_project_other_callable_iface_proxy_new() for the asynchronous version of this constructor. 1565s # * 1565s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 1565s # */ 1565s # OrgProjectOtherCallableIface * 1565s # org_project_other_callable_iface_proxy_new_sync ( 1565s # GDBusConnection *connection, 1565s # GDBusProxyFlags flags, 1565s # const gchar *name, 1565s # const gchar *object_path, 1565s # GCancellable *cancellable, 1565s # GError **error) 1565s # { 1565s # GInitable *ret; 1565s # 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); 1565s # if (ret != NULL) 1565s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (ret); 1565s # else 1565s # return NULL; 1565s # } 1565s # 1565s # 1565s # /** 1565s # * org_project_other_callable_iface_proxy_new_for_bus: 1565s # * @bus_type: A #GBusType. 1565s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1565s # * @name: A bus name (well-known or unique). 1565s # * @object_path: An object path. 1565s # * @cancellable: (nullable): A #GCancellable or %NULL. 1565s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1565s # * @user_data: User data to pass to @callback. 1565s # * 1565s # * Like org_project_other_callable_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1565s # * 1565s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1565s # * You can then call org_project_other_callable_iface_proxy_new_for_bus_finish() to get the result of the operation. 1565s # * 1565s # * See org_project_other_callable_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1565s # */ 1565s # void 1565s # org_project_other_callable_iface_proxy_new_for_bus ( 1565s # GBusType bus_type, 1565s # GDBusProxyFlags flags, 1565s # const gchar *name, 1565s # const gchar *object_path, 1565s # GCancellable *cancellable, 1565s # GAsyncReadyCallback callback, 1565s # gpointer user_data) 1565s # { 1565s # 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); 1565s # } 1565s # 1565s # /** 1565s # * org_project_other_callable_iface_proxy_new_for_bus_finish: 1565s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_callable_iface_proxy_new_for_bus(). 1565s # * @error: Return location for error or %NULL 1565s # * 1565s # * Finishes an operation started with org_project_other_callable_iface_proxy_new_for_bus(). 1565s # * 1565s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 1565s # */ 1565s # OrgProjectOtherCallableIface * 1565s # org_project_other_callable_iface_proxy_new_for_bus_finish ( 1565s # GAsyncResult *res, 1565s # GError **error) 1565s # { 1565s # GObject *ret; 1565s # GObject *source_object; 1565s # source_object = g_async_result_get_source_object (res); 1565s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1565s # g_object_unref (source_object); 1565s # if (ret != NULL) 1565s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (ret); 1565s # else 1565s # return NULL; 1565s # } 1565s # 1565s # /** 1565s # * org_project_other_callable_iface_proxy_new_for_bus_sync: 1565s # * @bus_type: A #GBusType. 1565s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1565s # * @name: A bus name (well-known or unique). 1565s # * @object_path: An object path. 1565s # * @cancellable: (nullable): A #GCancellable or %NULL. 1565s # * @error: Return location for error or %NULL 1565s # * 1565s # * Like org_project_other_callable_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1565s # * 1565s # * The calling thread is blocked until a reply is received. 1565s # * 1565s # * See org_project_other_callable_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1565s # * 1565s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 1565s # */ 1565s # OrgProjectOtherCallableIface * 1565s # org_project_other_callable_iface_proxy_new_for_bus_sync ( 1565s # GBusType bus_type, 1565s # GDBusProxyFlags flags, 1565s # const gchar *name, 1565s # const gchar *object_path, 1565s # GCancellable *cancellable, 1565s # GError **error) 1565s # { 1565s # GInitable *ret; 1565s # 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); 1565s # if (ret != NULL) 1565s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (ret); 1565s # else 1565s # return NULL; 1565s # } 1565s # 1565s # 1565s # /* ------------------------------------------------------------------------ */ 1565s # 1565s # /** 1565s # * OrgProjectOtherCallableIfaceSkeleton: 1565s # * 1565s # * The #OrgProjectOtherCallableIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1565s # */ 1565s # 1565s # /** 1565s # * OrgProjectOtherCallableIfaceSkeletonClass: 1565s # * @parent_class: The parent class. 1565s # * 1565s # * Class structure for #OrgProjectOtherCallableIfaceSkeleton. 1565s # */ 1565s # 1565s # struct _OrgProjectOtherCallableIfaceSkeletonPrivate 1565s # { 1565s # GValue *properties; 1565s # GList *changed_properties; 1565s # GSource *changed_properties_idle_source; 1565s # GMainContext *context; 1565s # GMutex lock; 1565s # }; 1565s # 1565s # static void 1565s # _org_project_other_callable_iface_skeleton_handle_method_call ( 1565s # GDBusConnection *connection G_GNUC_UNUSED, 1565s # const gchar *sender G_GNUC_UNUSED, 1565s # const gchar *object_path G_GNUC_UNUSED, 1565s # const gchar *interface_name, 1565s # const gchar *method_name, 1565s # GVariant *parameters, 1565s # GDBusMethodInvocation *invocation, 1565s # gpointer user_data) 1565s # { 1565s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (user_data); 1565s # _ExtendedGDBusMethodInfo *info; 1565s # GVariantIter iter; 1565s # GVariant *child; 1565s # GValue *paramv; 1565s # gsize num_params; 1565s # guint num_extra; 1565s # gsize n; 1565s # guint signal_id; 1565s # GValue return_value = G_VALUE_INIT; 1565s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1565s # g_assert (info != NULL); 1565s # num_params = g_variant_n_children (parameters); 1565s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1565s # n = 0; 1565s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE); 1565s # g_value_set_object (¶mv[n++], skeleton); 1565s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1565s # g_value_set_object (¶mv[n++], invocation); 1565s # if (info->pass_fdlist) 1565s # { 1565s # #ifdef G_OS_UNIX 1565s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1565s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1565s # #else 1565s # g_assert_not_reached (); 1565s # #endif 1565s # } 1565s # g_variant_iter_init (&iter, parameters); 1565s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1565s # { 1565s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1565s # if (arg_info->use_gvariant) 1565s # { 1565s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1565s # g_value_set_variant (¶mv[n], child); 1565s # n++; 1565s # } 1565s # else 1565s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1565s # g_variant_unref (child); 1565s # } 1565s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE); 1565s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1565s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1565s # if (!g_value_get_boolean (&return_value)) 1565s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1565s # g_value_unset (&return_value); 1565s # for (n = 0; n < num_params + num_extra; n++) 1565s # g_value_unset (¶mv[n]); 1565s # g_free (paramv); 1565s # } 1565s # 1565s # static GVariant * 1565s # _org_project_other_callable_iface_skeleton_handle_get_property ( 1565s # GDBusConnection *connection G_GNUC_UNUSED, 1565s # const gchar *sender G_GNUC_UNUSED, 1565s # const gchar *object_path G_GNUC_UNUSED, 1565s # const gchar *interface_name G_GNUC_UNUSED, 1565s # const gchar *property_name, 1565s # GError **error, 1565s # gpointer user_data) 1565s # { 1565s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (user_data); 1565s # GValue value = G_VALUE_INIT; 1565s # GParamSpec *pspec; 1565s # _ExtendedGDBusPropertyInfo *info; 1565s # GVariant *ret; 1565s # ret = NULL; 1565s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, property_name); 1565s # g_assert (info != NULL); 1565s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1565s # if (pspec == NULL) 1565s # { 1565s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1565s # } 1565s # else 1565s # { 1565s # g_value_init (&value, pspec->value_type); 1565s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1565s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1565s # g_value_unset (&value); 1565s # } 1565s # return ret; 1565s # } 1565s # 1565s # static gboolean 1565s # _org_project_other_callable_iface_skeleton_handle_set_property ( 1565s # GDBusConnection *connection G_GNUC_UNUSED, 1565s # const gchar *sender G_GNUC_UNUSED, 1565s # const gchar *object_path G_GNUC_UNUSED, 1565s # const gchar *interface_name G_GNUC_UNUSED, 1565s # const gchar *property_name, 1565s # GVariant *variant, 1565s # GError **error, 1565s # gpointer user_data) 1565s # { 1565s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (user_data); 1565s # GValue value = G_VALUE_INIT; 1565s # GParamSpec *pspec; 1565s # _ExtendedGDBusPropertyInfo *info; 1565s # gboolean ret; 1565s # ret = FALSE; 1565s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, property_name); 1565s # g_assert (info != NULL); 1565s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1565s # if (pspec == NULL) 1565s # { 1565s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1565s # } 1565s # else 1565s # { 1565s # if (info->use_gvariant) 1565s # g_value_set_variant (&value, variant); 1565s # else 1565s # g_dbus_gvariant_to_gvalue (variant, &value); 1565s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1565s # g_value_unset (&value); 1565s # ret = TRUE; 1565s # } 1565s # return ret; 1565s # } 1565s # 1565s # static const GDBusInterfaceVTable _org_project_other_callable_iface_skeleton_vtable = 1565s # { 1565s # _org_project_other_callable_iface_skeleton_handle_method_call, 1565s # _org_project_other_callable_iface_skeleton_handle_get_property, 1565s # _org_project_other_callable_iface_skeleton_handle_set_property, 1565s # {NULL} 1565s # }; 1565s # 1565s # static GDBusInterfaceInfo * 1565s # org_project_other_callable_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1565s # { 1565s # return org_project_other_callable_iface_interface_info (); 1565s # } 1565s # 1565s # static GDBusInterfaceVTable * 1565s # org_project_other_callable_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1565s # { 1565s # return (GDBusInterfaceVTable *) &_org_project_other_callable_iface_skeleton_vtable; 1565s # } 1565s # 1565s # static GVariant * 1565s # org_project_other_callable_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1565s # { 1565s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (_skeleton); 1565s # 1565s # GVariantBuilder builder; 1565s # guint n; 1565s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1565s # if (_org_project_other_callable_iface_interface_info.parent_struct.properties == NULL) 1565s # goto out; 1565s # for (n = 0; _org_project_other_callable_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1565s # { 1565s # GDBusPropertyInfo *info = _org_project_other_callable_iface_interface_info.parent_struct.properties[n]; 1565s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1565s # { 1565s # GVariant *value; 1565s # 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); 1565s # if (value != NULL) 1565s # { 1565s # g_variant_take_ref (value); 1565s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1565s # g_variant_unref (value); 1565s # } 1565s # } 1565s # } 1565s # out: 1565s # return g_variant_builder_end (&builder); 1565s # } 1565s # 1565s # static void 1565s # org_project_other_callable_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1565s # { 1565s # } 1565s # 1565s # static void org_project_other_callable_iface_skeleton_iface_init (OrgProjectOtherCallableIfaceIface *iface); 1565s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1565s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherCallableIfaceSkeleton, org_project_other_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1565s # G_ADD_PRIVATE (OrgProjectOtherCallableIfaceSkeleton) 1565s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE, org_project_other_callable_iface_skeleton_iface_init)) 1565s # 1565s # #else 1565s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherCallableIfaceSkeleton, org_project_other_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1565s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE, org_project_other_callable_iface_skeleton_iface_init)) 1565s # 1565s # #endif 1565s # static void 1565s # org_project_other_callable_iface_skeleton_finalize (GObject *object) 1565s # { 1565s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (object); 1565s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1565s # if (skeleton->priv->changed_properties_idle_source != NULL) 1565s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1565s # g_main_context_unref (skeleton->priv->context); 1565s # g_mutex_clear (&skeleton->priv->lock); 1565s # G_OBJECT_CLASS (org_project_other_callable_iface_skeleton_parent_class)->finalize (object); 1565s # } 1565s # 1565s # static void 1565s # org_project_other_callable_iface_skeleton_init (OrgProjectOtherCallableIfaceSkeleton *skeleton) 1565s # { 1565s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1565s # skeleton->priv = org_project_other_callable_iface_skeleton_get_instance_private (skeleton); 1565s # #else 1565s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON, OrgProjectOtherCallableIfaceSkeletonPrivate); 1565s # #endif 1565s # 1565s # g_mutex_init (&skeleton->priv->lock); 1565s # skeleton->priv->context = g_main_context_ref_thread_default (); 1565s # } 1565s # 1565s # static void 1565s # org_project_other_callable_iface_skeleton_class_init (OrgProjectOtherCallableIfaceSkeletonClass *klass) 1565s # { 1565s # GObjectClass *gobject_class; 1565s # GDBusInterfaceSkeletonClass *skeleton_class; 1565s # 1565s # gobject_class = G_OBJECT_CLASS (klass); 1565s # gobject_class->finalize = org_project_other_callable_iface_skeleton_finalize; 1565s # 1565s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1565s # skeleton_class->get_info = org_project_other_callable_iface_skeleton_dbus_interface_get_info; 1565s # skeleton_class->get_properties = org_project_other_callable_iface_skeleton_dbus_interface_get_properties; 1565s # skeleton_class->flush = org_project_other_callable_iface_skeleton_dbus_interface_flush; 1565s # skeleton_class->get_vtable = org_project_other_callable_iface_skeleton_dbus_interface_get_vtable; 1565s # 1565s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1565s # g_type_class_add_private (klass, sizeof (OrgProjectOtherCallableIfaceSkeletonPrivate)); 1565s # #endif 1565s # } 1565s # 1565s # static void 1565s # org_project_other_callable_iface_skeleton_iface_init (OrgProjectOtherCallableIfaceIface *iface G_GNUC_UNUSED) 1565s # { 1565s # } 1565s # 1565s # /** 1565s # * org_project_other_callable_iface_skeleton_new: 1565s # * 1565s # * Creates a skeleton object for the D-Bus interface org.project.OtherCallableIface. 1565s # * 1565s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceSkeleton): The skeleton object. 1565s # */ 1565s # OrgProjectOtherCallableIface * 1565s # org_project_other_callable_iface_skeleton_new (void) 1565s # { 1565s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (g_object_new (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON, NULL)); 1565s # } 1566s ok 10 __main__.TestCodegen.test_generate_methods_marshaller_single_typed_in_args 1566s # tmpdir: /tmp/tmppzwln7e0 1566s # codegen: /usr/bin/gdbus-codegen 1566s # /tmp/tmppzwln7e0/tmpk8aespad.xml: 1566s # 1566s # 1566s # 1566s # 1566s # 1566s # 1566s # 1566s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmppzwln7e0/tmpk8aespad.xml', '--output', '-', '--body'] 1566s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-baqskmurxn,guid=fbaffe99d0ccb1f6e1beb84865fc01cd', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.YcZbqk/autopkgtest_tmp', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.YcZbqk/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.YcZbqk/autopkgtest_tmp', 'TERM': 'unknown', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.YcZbqk/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.sVTVMp0Db0', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.rqZsJO/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.YcZbqk/wrapper.sh --artifacts=/tmp/autopkgtest.YcZbqk/installed-tests-artifacts --chdir=/tmp/autopkgtest.YcZbqk/build.S0E/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.YcZbqk/installed-tests-stderr --stdout=/tmp/autopkgtest.YcZbqk/installed-tests-stdout --tmp=/tmp/autopkgtest.YcZbqk/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2' --make-executable=/tmp/autopkgtest.YcZbqk/build.S0E/src/debian/tests/installed-tests -- /tmp/autopkgtest.YcZbqk/build.S0E/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.YcZbqk/build.S0E/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.YcZbqk/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1566s # Output: /* 1566s # * This file is generated by gdbus-codegen, do not modify it. 1566s # * 1566s # * The license of this code is the same as for the D-Bus interface description 1566s # * it was derived from. Note that it links to GLib, so must comply with the 1566s # * LGPL linking clauses. 1566s # */ 1566s # 1566s # #ifdef HAVE_CONFIG_H 1566s # # include "config.h" 1566s # #endif 1566s # 1566s # #include 1566s # #ifdef G_OS_UNIX 1566s # # include 1566s # #endif 1566s # 1566s # #ifdef G_ENABLE_DEBUG 1566s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1566s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1566s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1566s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1566s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1566s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1566s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1566s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1566s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1566s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1566s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1566s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1566s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1566s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1566s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1566s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1566s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1566s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1566s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1566s # #else /* !G_ENABLE_DEBUG */ 1566s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1566s # * Do not access GValues directly in your code. Instead, use the 1566s # * g_value_get_*() functions 1566s # */ 1566s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1566s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1566s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1566s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1566s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1566s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1566s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1566s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1566s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1566s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1566s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1566s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1566s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1566s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1566s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1566s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1566s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1566s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1566s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1566s # #endif /* !G_ENABLE_DEBUG */ 1566s # 1566s # typedef struct 1566s # { 1566s # GDBusArgInfo parent_struct; 1566s # gboolean use_gvariant; 1566s # } _ExtendedGDBusArgInfo; 1566s # 1566s # typedef struct 1566s # { 1566s # GDBusMethodInfo parent_struct; 1566s # const gchar *signal_name; 1566s # gboolean pass_fdlist; 1566s # } _ExtendedGDBusMethodInfo; 1566s # 1566s # typedef struct 1566s # { 1566s # GDBusSignalInfo parent_struct; 1566s # const gchar *signal_name; 1566s # } _ExtendedGDBusSignalInfo; 1566s # 1566s # typedef struct 1566s # { 1566s # GDBusPropertyInfo parent_struct; 1566s # const gchar *hyphen_name; 1566s # guint use_gvariant : 1; 1566s # guint emits_changed_signal : 1; 1566s # } _ExtendedGDBusPropertyInfo; 1566s # 1566s # typedef struct 1566s # { 1566s # GDBusInterfaceInfo parent_struct; 1566s # const gchar *hyphen_name; 1566s # } _ExtendedGDBusInterfaceInfo; 1566s # 1566s # typedef struct 1566s # { 1566s # const _ExtendedGDBusPropertyInfo *info; 1566s # guint prop_id; 1566s # GValue orig_value; /* the value before the change */ 1566s # } ChangedProperty; 1566s # 1566s # static void 1566s # _changed_property_free (ChangedProperty *data) 1566s # { 1566s # g_value_unset (&data->orig_value); 1566s # g_free (data); 1566s # } 1566s # 1566s # static gboolean 1566s # _g_strv_equal0 (gchar **a, gchar **b) 1566s # { 1566s # gboolean ret = FALSE; 1566s # guint n; 1566s # if (a == NULL && b == NULL) 1566s # { 1566s # ret = TRUE; 1566s # goto out; 1566s # } 1566s # if (a == NULL || b == NULL) 1566s # goto out; 1566s # if (g_strv_length (a) != g_strv_length (b)) 1566s # goto out; 1566s # for (n = 0; a[n] != NULL; n++) 1566s # if (g_strcmp0 (a[n], b[n]) != 0) 1566s # goto out; 1566s # ret = TRUE; 1566s # out: 1566s # return ret; 1566s # } 1566s # 1566s # static gboolean 1566s # _g_variant_equal0 (GVariant *a, GVariant *b) 1566s # { 1566s # gboolean ret = FALSE; 1566s # if (a == NULL && b == NULL) 1566s # { 1566s # ret = TRUE; 1566s # goto out; 1566s # } 1566s # if (a == NULL || b == NULL) 1566s # goto out; 1566s # ret = g_variant_equal (a, b); 1566s # out: 1566s # return ret; 1566s # } 1566s # 1566s # G_GNUC_UNUSED static gboolean 1566s # _g_value_equal (const GValue *a, const GValue *b) 1566s # { 1566s # gboolean ret = FALSE; 1566s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1566s # switch (G_VALUE_TYPE (a)) 1566s # { 1566s # case G_TYPE_BOOLEAN: 1566s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1566s # break; 1566s # case G_TYPE_UCHAR: 1566s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1566s # break; 1566s # case G_TYPE_INT: 1566s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1566s # break; 1566s # case G_TYPE_UINT: 1566s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1566s # break; 1566s # case G_TYPE_INT64: 1566s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1566s # break; 1566s # case G_TYPE_UINT64: 1566s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1566s # break; 1566s # case G_TYPE_DOUBLE: 1566s # { 1566s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1566s # gdouble da = g_value_get_double (a); 1566s # gdouble db = g_value_get_double (b); 1566s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1566s # } 1566s # break; 1566s # case G_TYPE_STRING: 1566s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1566s # break; 1566s # case G_TYPE_VARIANT: 1566s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1566s # break; 1566s # default: 1566s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1566s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1566s # else 1566s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1566s # break; 1566s # } 1566s # return ret; 1566s # } 1566s # 1566s # static void 1566s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_BOOLEAN ( 1566s # GClosure *closure, 1566s # GValue *return_value, 1566s # unsigned int n_param_values, 1566s # const GValue *param_values, 1566s # void *invocation_hint G_GNUC_UNUSED, 1566s # void *marshal_data) 1566s # { 1566s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectBooleanFunc) 1566s # (void *data1, 1566s # GDBusMethodInvocation *arg_method_invocation, 1566s # gboolean arg_arg_b, 1566s # void *data2); 1566s # _GDbusCodegenMarshalBoolean_ObjectBooleanFunc callback; 1566s # GCClosure *cc = (GCClosure*) closure; 1566s # void *data1, *data2; 1566s # gboolean v_return; 1566s # 1566s # g_return_if_fail (return_value != NULL); 1566s # g_return_if_fail (n_param_values == 3); 1566s # 1566s # if (G_CCLOSURE_SWAP_DATA (closure)) 1566s # { 1566s # data1 = closure->data; 1566s # data2 = g_value_peek_pointer (param_values + 0); 1566s # } 1566s # else 1566s # { 1566s # data1 = g_value_peek_pointer (param_values + 0); 1566s # data2 = closure->data; 1566s # } 1566s # 1566s # callback = (_GDbusCodegenMarshalBoolean_ObjectBooleanFunc) 1566s # (marshal_data ? marshal_data : cc->callback); 1566s # 1566s # v_return = 1566s # callback (data1, 1566s # g_marshal_value_peek_object (param_values + 1), 1566s # g_marshal_value_peek_boolean (param_values + 2), 1566s # data2); 1566s # 1566s # g_value_set_boolean (return_value, v_return); 1566s # } 1566s # 1566s # /* ------------------------------------------------------------------------ 1566s # * Code for interface org.project.UsefulInterface 1566s # * ------------------------------------------------------------------------ 1566s # */ 1566s # 1566s # /** 1566s # * SECTION:OrgProjectUsefulInterface 1566s # * @title: OrgProjectUsefulInterface 1566s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1566s # * 1566s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1566s # */ 1566s # 1566s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1566s # 1566s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_b_IN_ARG_arg_b = 1566s # { 1566s # { 1566s # -1, 1566s # (gchar *) "arg_b", 1566s # (gchar *) "b", 1566s # NULL 1566s # }, 1566s # FALSE 1566s # }; 1566s # 1566s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_b_IN_ARG_pointers[] = 1566s # { 1566s # &_org_project_useful_interface_method_info_single_arg_method_b_IN_ARG_arg_b.parent_struct, 1566s # NULL 1566s # }; 1566s # 1566s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_b = 1566s # { 1566s # { 1566s # -1, 1566s # (gchar *) "SingleArgMethodB", 1566s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_b_IN_ARG_pointers, 1566s # NULL, 1566s # NULL 1566s # }, 1566s # "handle-single-arg-method-b", 1566s # FALSE 1566s # }; 1566s # 1566s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1566s # { 1566s # &_org_project_useful_interface_method_info_single_arg_method_b.parent_struct, 1566s # NULL 1566s # }; 1566s # 1566s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1566s # { 1566s # { 1566s # -1, 1566s # (gchar *) "org.project.UsefulInterface", 1566s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1566s # NULL, 1566s # NULL, 1566s # NULL 1566s # }, 1566s # "org-project-useful-interface", 1566s # }; 1566s # 1566s # 1566s # /** 1566s # * org_project_useful_interface_interface_info: 1566s # * 1566s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1566s # * 1566s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1566s # */ 1566s # GDBusInterfaceInfo * 1566s # org_project_useful_interface_interface_info (void) 1566s # { 1566s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1566s # } 1566s # 1566s # /** 1566s # * org_project_useful_interface_override_properties: 1566s # * @klass: The class structure for a #GObject derived class. 1566s # * @property_id_begin: The property id to assign to the first overridden property. 1566s # * 1566s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1566s # * The properties are overridden in the order they are defined. 1566s # * 1566s # * Returns: The last property id. 1566s # */ 1566s # guint 1566s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1566s # { 1566s # return property_id_begin - 1; 1566s # } 1566s # 1566s # 1566s # inline static void 1566s # org_project_useful_interface_method_marshal_single_arg_method_b ( 1566s # GClosure *closure, 1566s # GValue *return_value, 1566s # unsigned int n_param_values, 1566s # const GValue *param_values, 1566s # void *invocation_hint, 1566s # void *marshal_data) 1566s # { 1566s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_BOOLEAN (closure, 1566s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1566s # } 1566s # 1566s # 1566s # /** 1566s # * OrgProjectUsefulInterface: 1566s # * 1566s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1566s # */ 1566s # 1566s # /** 1566s # * OrgProjectUsefulInterfaceIface: 1566s # * @parent_iface: The parent interface. 1566s # * @handle_single_arg_method_b: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-b signal. 1566s # * 1566s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1566s # */ 1566s # 1566s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1566s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1566s # 1566s # static void 1566s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1566s # { 1566s # /* GObject signals for incoming D-Bus method calls: */ 1566s # /** 1566s # * OrgProjectUsefulInterface::handle-single-arg-method-b: 1566s # * @object: A #OrgProjectUsefulInterface. 1566s # * @invocation: A #GDBusMethodInvocation. 1566s # * @arg_arg_b: Argument passed by remote caller. 1566s # * 1566s # * Signal emitted when a remote caller is invoking the SingleArgMethodB() D-Bus method. 1566s # * 1566s # * 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. 1566s # * 1566s # * 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. 1566s # */ 1566s # g_signal_new ("handle-single-arg-method-b", 1566s # G_TYPE_FROM_INTERFACE (iface), 1566s # G_SIGNAL_RUN_LAST, 1566s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_b), 1566s # g_signal_accumulator_true_handled, 1566s # NULL, 1566s # org_project_useful_interface_method_marshal_single_arg_method_b, 1566s # G_TYPE_BOOLEAN, 1566s # 2, 1566s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_BOOLEAN); 1566s # 1566s # } 1566s # 1566s # /** 1566s # * org_project_useful_interface_call_single_arg_method_b: 1566s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1566s # * @arg_arg_b: Argument to pass with the method invocation. 1566s # * @cancellable: (nullable): A #GCancellable or %NULL. 1566s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1566s # * @user_data: User data to pass to @callback. 1566s # * 1566s # * Asynchronously invokes the SingleArgMethodB() D-Bus method on @proxy. 1566s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1566s # * You can then call org_project_useful_interface_call_single_arg_method_b_finish() to get the result of the operation. 1566s # * 1566s # * See org_project_useful_interface_call_single_arg_method_b_sync() for the synchronous, blocking version of this method. 1566s # */ 1566s # void 1566s # org_project_useful_interface_call_single_arg_method_b ( 1566s # OrgProjectUsefulInterface *proxy, 1566s # gboolean arg_arg_b, 1566s # GCancellable *cancellable, 1566s # GAsyncReadyCallback callback, 1566s # gpointer user_data) 1566s # { 1566s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1566s # "SingleArgMethodB", 1566s # g_variant_new ("(b)", 1566s # arg_arg_b), 1566s # G_DBUS_CALL_FLAGS_NONE, 1566s # -1, 1566s # cancellable, 1566s # callback, 1566s # user_data); 1566s # } 1566s # 1566s # /** 1566s # * org_project_useful_interface_call_single_arg_method_b_finish: 1566s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1566s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_b(). 1566s # * @error: Return location for error or %NULL. 1566s # * 1566s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_b(). 1566s # * 1566s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1566s # */ 1566s # gboolean 1566s # org_project_useful_interface_call_single_arg_method_b_finish ( 1566s # OrgProjectUsefulInterface *proxy, 1566s # GAsyncResult *res, 1566s # GError **error) 1566s # { 1566s # GVariant *_ret; 1566s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1566s # if (_ret == NULL) 1566s # goto _out; 1566s # g_variant_get (_ret, 1566s # "()"); 1566s # g_variant_unref (_ret); 1566s # _out: 1566s # return _ret != NULL; 1566s # } 1566s # 1566s # /** 1566s # * org_project_useful_interface_call_single_arg_method_b_sync: 1566s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1566s # * @arg_arg_b: Argument to pass with the method invocation. 1566s # * @cancellable: (nullable): A #GCancellable or %NULL. 1566s # * @error: Return location for error or %NULL. 1566s # * 1566s # * Synchronously invokes the SingleArgMethodB() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1566s # * 1566s # * See org_project_useful_interface_call_single_arg_method_b() for the asynchronous version of this method. 1566s # * 1566s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1566s # */ 1566s # gboolean 1566s # org_project_useful_interface_call_single_arg_method_b_sync ( 1566s # OrgProjectUsefulInterface *proxy, 1566s # gboolean arg_arg_b, 1566s # GCancellable *cancellable, 1566s # GError **error) 1566s # { 1566s # GVariant *_ret; 1566s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1566s # "SingleArgMethodB", 1566s # g_variant_new ("(b)", 1566s # arg_arg_b), 1566s # G_DBUS_CALL_FLAGS_NONE, 1566s # -1, 1566s # cancellable, 1566s # error); 1566s # if (_ret == NULL) 1566s # goto _out; 1566s # g_variant_get (_ret, 1566s # "()"); 1566s # g_variant_unref (_ret); 1566s # _out: 1566s # return _ret != NULL; 1566s # } 1566s # 1566s # /** 1566s # * org_project_useful_interface_complete_single_arg_method_b: 1566s # * @object: A #OrgProjectUsefulInterface. 1566s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1566s # * 1566s # * 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. 1566s # * 1566s # * This method will free @invocation, you cannot use it afterwards. 1566s # */ 1566s # void 1566s # org_project_useful_interface_complete_single_arg_method_b ( 1566s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1566s # GDBusMethodInvocation *invocation) 1566s # { 1566s # g_dbus_method_invocation_return_value (invocation, 1566s # g_variant_new ("()")); 1566s # } 1566s # 1566s # /* ------------------------------------------------------------------------ */ 1566s # 1566s # /** 1566s # * OrgProjectUsefulInterfaceProxy: 1566s # * 1566s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1566s # */ 1566s # 1566s # /** 1566s # * OrgProjectUsefulInterfaceProxyClass: 1566s # * @parent_class: The parent class. 1566s # * 1566s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1566s # */ 1566s # 1566s # struct _OrgProjectUsefulInterfaceProxyPrivate 1566s # { 1566s # GData *qdata; 1566s # }; 1566s # 1566s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1566s # 1566s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1566s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1566s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1566s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1566s # 1566s # #else 1566s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1566s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1566s # 1566s # #endif 1566s # static void 1566s # org_project_useful_interface_proxy_finalize (GObject *object) 1566s # { 1566s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1566s # g_datalist_clear (&proxy->priv->qdata); 1566s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1566s # } 1566s # 1566s # static void 1566s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1566s # guint prop_id G_GNUC_UNUSED, 1566s # GValue *value G_GNUC_UNUSED, 1566s # GParamSpec *pspec G_GNUC_UNUSED) 1566s # { 1566s # } 1566s # 1566s # static void 1566s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1566s # guint prop_id G_GNUC_UNUSED, 1566s # const GValue *value G_GNUC_UNUSED, 1566s # GParamSpec *pspec G_GNUC_UNUSED) 1566s # { 1566s # } 1566s # 1566s # static void 1566s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1566s # const gchar *sender_name G_GNUC_UNUSED, 1566s # const gchar *signal_name, 1566s # GVariant *parameters) 1566s # { 1566s # _ExtendedGDBusSignalInfo *info; 1566s # GVariantIter iter; 1566s # GVariant *child; 1566s # GValue *paramv; 1566s # gsize num_params; 1566s # gsize n; 1566s # guint signal_id; 1566s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1566s # if (info == NULL) 1566s # return; 1566s # num_params = g_variant_n_children (parameters); 1566s # paramv = g_new0 (GValue, num_params + 1); 1566s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1566s # g_value_set_object (¶mv[0], proxy); 1566s # g_variant_iter_init (&iter, parameters); 1566s # n = 1; 1566s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1566s # { 1566s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1566s # if (arg_info->use_gvariant) 1566s # { 1566s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1566s # g_value_set_variant (¶mv[n], child); 1566s # n++; 1566s # } 1566s # else 1566s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1566s # g_variant_unref (child); 1566s # } 1566s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1566s # g_signal_emitv (paramv, signal_id, 0, NULL); 1566s # for (n = 0; n < num_params + 1; n++) 1566s # g_value_unset (¶mv[n]); 1566s # g_free (paramv); 1566s # } 1566s # 1566s # static void 1566s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1566s # GVariant *changed_properties, 1566s # const gchar *const *invalidated_properties) 1566s # { 1566s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1566s # guint n; 1566s # const gchar *key; 1566s # GVariantIter *iter; 1566s # _ExtendedGDBusPropertyInfo *info; 1566s # g_variant_get (changed_properties, "a{sv}", &iter); 1566s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1566s # { 1566s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1566s # g_datalist_remove_data (&proxy->priv->qdata, key); 1566s # if (info != NULL) 1566s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1566s # } 1566s # g_variant_iter_free (iter); 1566s # for (n = 0; invalidated_properties[n] != NULL; n++) 1566s # { 1566s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1566s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1566s # if (info != NULL) 1566s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1566s # } 1566s # } 1566s # 1566s # static void 1566s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1566s # { 1566s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1566s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1566s # #else 1566s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1566s # #endif 1566s # 1566s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1566s # } 1566s # 1566s # static void 1566s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1566s # { 1566s # GObjectClass *gobject_class; 1566s # GDBusProxyClass *proxy_class; 1566s # 1566s # gobject_class = G_OBJECT_CLASS (klass); 1566s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1566s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1566s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1566s # 1566s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1566s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1566s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1566s # 1566s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1566s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1566s # #endif 1566s # } 1566s # 1566s # static void 1566s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1566s # { 1566s # } 1566s # 1566s # /** 1566s # * org_project_useful_interface_proxy_new: 1566s # * @connection: A #GDBusConnection. 1566s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1566s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1566s # * @object_path: An object path. 1566s # * @cancellable: (nullable): A #GCancellable or %NULL. 1566s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1566s # * @user_data: User data to pass to @callback. 1566s # * 1566s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1566s # * 1566s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1566s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1566s # * 1566s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1566s # */ 1566s # void 1566s # org_project_useful_interface_proxy_new ( 1566s # GDBusConnection *connection, 1566s # GDBusProxyFlags flags, 1566s # const gchar *name, 1566s # const gchar *object_path, 1566s # GCancellable *cancellable, 1566s # GAsyncReadyCallback callback, 1566s # gpointer user_data) 1566s # { 1566s # g_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); 1566s # } 1566s # 1566s # /** 1566s # * org_project_useful_interface_proxy_new_finish: 1566s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1566s # * @error: Return location for error or %NULL 1566s # * 1566s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1566s # * 1566s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1566s # */ 1566s # OrgProjectUsefulInterface * 1566s # org_project_useful_interface_proxy_new_finish ( 1566s # GAsyncResult *res, 1566s # GError **error) 1566s # { 1566s # GObject *ret; 1566s # GObject *source_object; 1566s # source_object = g_async_result_get_source_object (res); 1566s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1566s # g_object_unref (source_object); 1566s # if (ret != NULL) 1566s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1566s # else 1566s # return NULL; 1566s # } 1566s # 1566s # /** 1566s # * org_project_useful_interface_proxy_new_sync: 1566s # * @connection: A #GDBusConnection. 1566s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1566s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1566s # * @object_path: An object path. 1566s # * @cancellable: (nullable): A #GCancellable or %NULL. 1566s # * @error: Return location for error or %NULL 1566s # * 1566s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1566s # * 1566s # * The calling thread is blocked until a reply is received. 1566s # * 1566s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1566s # * 1566s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1566s # */ 1566s # OrgProjectUsefulInterface * 1566s # org_project_useful_interface_proxy_new_sync ( 1566s # GDBusConnection *connection, 1566s # GDBusProxyFlags flags, 1566s # const gchar *name, 1566s # const gchar *object_path, 1566s # GCancellable *cancellable, 1566s # GError **error) 1566s # { 1566s # GInitable *ret; 1566s # 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); 1566s # if (ret != NULL) 1566s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1566s # else 1566s # return NULL; 1566s # } 1566s # 1566s # 1566s # /** 1566s # * org_project_useful_interface_proxy_new_for_bus: 1566s # * @bus_type: A #GBusType. 1566s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1566s # * @name: A bus name (well-known or unique). 1566s # * @object_path: An object path. 1566s # * @cancellable: (nullable): A #GCancellable or %NULL. 1566s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1566s # * @user_data: User data to pass to @callback. 1566s # * 1566s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1566s # * 1566s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1566s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1566s # * 1566s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1566s # */ 1566s # void 1566s # org_project_useful_interface_proxy_new_for_bus ( 1566s # GBusType bus_type, 1566s # GDBusProxyFlags flags, 1566s # const gchar *name, 1566s # const gchar *object_path, 1566s # GCancellable *cancellable, 1566s # GAsyncReadyCallback callback, 1566s # gpointer user_data) 1566s # { 1566s # g_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); 1566s # } 1566s # 1566s # /** 1566s # * org_project_useful_interface_proxy_new_for_bus_finish: 1566s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1566s # * @error: Return location for error or %NULL 1566s # * 1566s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1566s # * 1566s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1566s # */ 1566s # OrgProjectUsefulInterface * 1566s # org_project_useful_interface_proxy_new_for_bus_finish ( 1566s # GAsyncResult *res, 1566s # GError **error) 1566s # { 1566s # GObject *ret; 1566s # GObject *source_object; 1566s # source_object = g_async_result_get_source_object (res); 1566s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1566s # g_object_unref (source_object); 1566s # if (ret != NULL) 1566s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1566s # else 1566s # return NULL; 1566s # } 1566s # 1566s # /** 1566s # * org_project_useful_interface_proxy_new_for_bus_sync: 1566s # * @bus_type: A #GBusType. 1566s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1566s # * @name: A bus name (well-known or unique). 1566s # * @object_path: An object path. 1566s # * @cancellable: (nullable): A #GCancellable or %NULL. 1566s # * @error: Return location for error or %NULL 1566s # * 1566s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1566s # * 1566s # * The calling thread is blocked until a reply is received. 1566s # * 1566s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1566s # * 1566s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1566s # */ 1566s # OrgProjectUsefulInterface * 1566s # org_project_useful_interface_proxy_new_for_bus_sync ( 1566s # GBusType bus_type, 1566s # GDBusProxyFlags flags, 1566s # const gchar *name, 1566s # const gchar *object_path, 1566s # GCancellable *cancellable, 1566s # GError **error) 1566s # { 1566s # GInitable *ret; 1566s # 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); 1566s # if (ret != NULL) 1566s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1566s # else 1566s # return NULL; 1566s # } 1566s # 1566s # 1566s # /* ------------------------------------------------------------------------ */ 1566s # 1566s # /** 1566s # * OrgProjectUsefulInterfaceSkeleton: 1566s # * 1566s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1566s # */ 1566s # 1566s # /** 1566s # * OrgProjectUsefulInterfaceSkeletonClass: 1566s # * @parent_class: The parent class. 1566s # * 1566s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1566s # */ 1566s # 1566s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1566s # { 1566s # GValue *properties; 1566s # GList *changed_properties; 1566s # GSource *changed_properties_idle_source; 1566s # GMainContext *context; 1566s # GMutex lock; 1566s # }; 1566s # 1566s # static void 1566s # _org_project_useful_interface_skeleton_handle_method_call ( 1566s # GDBusConnection *connection G_GNUC_UNUSED, 1566s # const gchar *sender G_GNUC_UNUSED, 1566s # const gchar *object_path G_GNUC_UNUSED, 1566s # const gchar *interface_name, 1566s # const gchar *method_name, 1566s # GVariant *parameters, 1566s # GDBusMethodInvocation *invocation, 1566s # gpointer user_data) 1566s # { 1566s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1566s # _ExtendedGDBusMethodInfo *info; 1566s # GVariantIter iter; 1566s # GVariant *child; 1566s # GValue *paramv; 1566s # gsize num_params; 1566s # guint num_extra; 1566s # gsize n; 1566s # guint signal_id; 1566s # GValue return_value = G_VALUE_INIT; 1566s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1566s # g_assert (info != NULL); 1566s # num_params = g_variant_n_children (parameters); 1566s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1566s # n = 0; 1566s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1566s # g_value_set_object (¶mv[n++], skeleton); 1566s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1566s # g_value_set_object (¶mv[n++], invocation); 1566s # if (info->pass_fdlist) 1566s # { 1566s # #ifdef G_OS_UNIX 1566s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1566s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1566s # #else 1566s # g_assert_not_reached (); 1566s # #endif 1566s # } 1566s # g_variant_iter_init (&iter, parameters); 1566s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1566s # { 1566s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1566s # if (arg_info->use_gvariant) 1566s # { 1566s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1566s # g_value_set_variant (¶mv[n], child); 1566s # n++; 1566s # } 1566s # else 1566s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1566s # g_variant_unref (child); 1566s # } 1566s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1566s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1566s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1566s # if (!g_value_get_boolean (&return_value)) 1566s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1566s # g_value_unset (&return_value); 1566s # for (n = 0; n < num_params + num_extra; n++) 1566s # g_value_unset (¶mv[n]); 1566s # g_free (paramv); 1566s # } 1566s # 1566s # static GVariant * 1566s # _org_project_useful_interface_skeleton_handle_get_property ( 1566s # GDBusConnection *connection G_GNUC_UNUSED, 1566s # const gchar *sender G_GNUC_UNUSED, 1566s # const gchar *object_path G_GNUC_UNUSED, 1566s # const gchar *interface_name G_GNUC_UNUSED, 1566s # const gchar *property_name, 1566s # GError **error, 1566s # gpointer user_data) 1566s # { 1566s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1566s # GValue value = G_VALUE_INIT; 1566s # GParamSpec *pspec; 1566s # _ExtendedGDBusPropertyInfo *info; 1566s # GVariant *ret; 1566s # ret = NULL; 1566s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1566s # g_assert (info != NULL); 1566s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1566s # if (pspec == NULL) 1566s # { 1566s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1566s # } 1566s # else 1566s # { 1566s # g_value_init (&value, pspec->value_type); 1566s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1566s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1566s # g_value_unset (&value); 1566s # } 1566s # return ret; 1566s # } 1566s # 1566s # static gboolean 1566s # _org_project_useful_interface_skeleton_handle_set_property ( 1566s # GDBusConnection *connection G_GNUC_UNUSED, 1566s # const gchar *sender G_GNUC_UNUSED, 1566s # const gchar *object_path G_GNUC_UNUSED, 1566s # const gchar *interface_name G_GNUC_UNUSED, 1566s # const gchar *property_name, 1566s # GVariant *variant, 1566s # GError **error, 1566s # gpointer user_data) 1566s # { 1566s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1566s # GValue value = G_VALUE_INIT; 1566s # GParamSpec *pspec; 1566s # _ExtendedGDBusPropertyInfo *info; 1566s # gboolean ret; 1566s # ret = FALSE; 1566s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1566s # g_assert (info != NULL); 1566s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1566s # if (pspec == NULL) 1566s # { 1566s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1566s # } 1566s # else 1566s # { 1566s # if (info->use_gvariant) 1566s # g_value_set_variant (&value, variant); 1566s # else 1566s # g_dbus_gvariant_to_gvalue (variant, &value); 1566s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1566s # g_value_unset (&value); 1566s # ret = TRUE; 1566s # } 1566s # return ret; 1566s # } 1566s # 1566s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1566s # { 1566s # _org_project_useful_interface_skeleton_handle_method_call, 1566s # _org_project_useful_interface_skeleton_handle_get_property, 1566s # _org_project_useful_interface_skeleton_handle_set_property, 1566s # {NULL} 1566s # }; 1566s # 1566s # static GDBusInterfaceInfo * 1566s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1566s # { 1566s # return org_project_useful_interface_interface_info (); 1566s # } 1566s # 1566s # static GDBusInterfaceVTable * 1566s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1566s # { 1566s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1566s # } 1566s # 1566s # static GVariant * 1566s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1566s # { 1566s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1566s # 1566s # GVariantBuilder builder; 1566s # guint n; 1566s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1566s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1566s # goto out; 1566s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1566s # { 1566s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1566s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1566s # { 1566s # GVariant *value; 1566s # 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); 1566s # if (value != NULL) 1566s # { 1566s # g_variant_take_ref (value); 1566s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1566s # g_variant_unref (value); 1566s # } 1566s # } 1566s # } 1566s # out: 1566s # return g_variant_builder_end (&builder); 1566s # } 1566s # 1566s # static void 1566s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1566s # { 1566s # } 1566s # 1566s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1566s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1566s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1566s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1566s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1566s # 1566s # #else 1566s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1566s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1566s # 1566s # #endif 1566s # static void 1566s # org_project_useful_interface_skeleton_finalize (GObject *object) 1566s # { 1566s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1566s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1566s # if (skeleton->priv->changed_properties_idle_source != NULL) 1566s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1566s # g_main_context_unref (skeleton->priv->context); 1566s # g_mutex_clear (&skeleton->priv->lock); 1566s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1566s # } 1566s # 1566s # static void 1566s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1566s # { 1566s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1566s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1566s # #else 1566s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1566s # #endif 1566s # 1566s # g_mutex_init (&skeleton->priv->lock); 1566s # skeleton->priv->context = g_main_context_ref_thread_default (); 1566s # } 1566s # 1566s # static void 1566s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1566s # { 1566s # GObjectClass *gobject_class; 1566s # GDBusInterfaceSkeletonClass *skeleton_class; 1566s # 1566s # gobject_class = G_OBJECT_CLASS (klass); 1566s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1566s # 1566s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1566s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1566s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1566s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1566s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1566s # 1566s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1566s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1566s # #endif 1566s # } 1566s # 1566s # static void 1566s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1566s # { 1566s # } 1566s # 1566s # /** 1566s # * org_project_useful_interface_skeleton_new: 1566s # * 1566s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1566s # * 1566s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1566s # */ 1566s # OrgProjectUsefulInterface * 1566s # org_project_useful_interface_skeleton_new (void) 1566s # { 1566s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1566s # } 1566s # /tmp/tmppzwln7e0/tmpblasmc5_.xml: 1566s # 1566s # 1566s # 1566s # 1566s # 1566s # 1566s # 1566s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmppzwln7e0/tmpblasmc5_.xml', '--output', '-', '--body'] 1566s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-baqskmurxn,guid=fbaffe99d0ccb1f6e1beb84865fc01cd', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.YcZbqk/autopkgtest_tmp', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.YcZbqk/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.YcZbqk/autopkgtest_tmp', 'TERM': 'unknown', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.YcZbqk/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.sVTVMp0Db0', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.rqZsJO/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.YcZbqk/wrapper.sh --artifacts=/tmp/autopkgtest.YcZbqk/installed-tests-artifacts --chdir=/tmp/autopkgtest.YcZbqk/build.S0E/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.YcZbqk/installed-tests-stderr --stdout=/tmp/autopkgtest.YcZbqk/installed-tests-stdout --tmp=/tmp/autopkgtest.YcZbqk/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2' --make-executable=/tmp/autopkgtest.YcZbqk/build.S0E/src/debian/tests/installed-tests -- /tmp/autopkgtest.YcZbqk/build.S0E/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.YcZbqk/build.S0E/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.YcZbqk/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1566s # Output: /* 1566s # * This file is generated by gdbus-codegen, do not modify it. 1566s # * 1566s # * The license of this code is the same as for the D-Bus interface description 1566s # * it was derived from. Note that it links to GLib, so must comply with the 1566s # * LGPL linking clauses. 1566s # */ 1566s # 1566s # #ifdef HAVE_CONFIG_H 1566s # # include "config.h" 1566s # #endif 1566s # 1566s # #include 1566s # #ifdef G_OS_UNIX 1566s # # include 1566s # #endif 1566s # 1566s # #ifdef G_ENABLE_DEBUG 1566s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1566s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1566s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1566s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1566s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1566s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1566s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1566s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1566s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1566s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1566s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1566s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1566s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1566s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1566s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1566s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1566s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1566s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1566s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1566s # #else /* !G_ENABLE_DEBUG */ 1566s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1566s # * Do not access GValues directly in your code. Instead, use the 1566s # * g_value_get_*() functions 1566s # */ 1566s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1566s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1566s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1566s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1566s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1566s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1566s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1566s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1566s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1566s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1566s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1566s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1566s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1566s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1566s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1566s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1566s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1566s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1566s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1566s # #endif /* !G_ENABLE_DEBUG */ 1566s # 1566s # typedef struct 1566s # { 1566s # GDBusArgInfo parent_struct; 1566s # gboolean use_gvariant; 1566s # } _ExtendedGDBusArgInfo; 1566s # 1566s # typedef struct 1566s # { 1566s # GDBusMethodInfo parent_struct; 1566s # const gchar *signal_name; 1566s # gboolean pass_fdlist; 1566s # } _ExtendedGDBusMethodInfo; 1566s # 1566s # typedef struct 1566s # { 1566s # GDBusSignalInfo parent_struct; 1566s # const gchar *signal_name; 1566s # } _ExtendedGDBusSignalInfo; 1566s # 1566s # typedef struct 1566s # { 1566s # GDBusPropertyInfo parent_struct; 1566s # const gchar *hyphen_name; 1566s # guint use_gvariant : 1; 1566s # guint emits_changed_signal : 1; 1566s # } _ExtendedGDBusPropertyInfo; 1566s # 1566s # typedef struct 1566s # { 1566s # GDBusInterfaceInfo parent_struct; 1566s # const gchar *hyphen_name; 1566s # } _ExtendedGDBusInterfaceInfo; 1566s # 1566s # typedef struct 1566s # { 1566s # const _ExtendedGDBusPropertyInfo *info; 1566s # guint prop_id; 1566s # GValue orig_value; /* the value before the change */ 1566s # } ChangedProperty; 1566s # 1566s # static void 1566s # _changed_property_free (ChangedProperty *data) 1566s # { 1566s # g_value_unset (&data->orig_value); 1566s # g_free (data); 1566s # } 1566s # 1566s # static gboolean 1566s # _g_strv_equal0 (gchar **a, gchar **b) 1566s # { 1566s # gboolean ret = FALSE; 1566s # guint n; 1566s # if (a == NULL && b == NULL) 1566s # { 1566s # ret = TRUE; 1566s # goto out; 1566s # } 1566s # if (a == NULL || b == NULL) 1566s # goto out; 1566s # if (g_strv_length (a) != g_strv_length (b)) 1566s # goto out; 1566s # for (n = 0; a[n] != NULL; n++) 1566s # if (g_strcmp0 (a[n], b[n]) != 0) 1566s # goto out; 1566s # ret = TRUE; 1566s # out: 1566s # return ret; 1566s # } 1566s # 1566s # static gboolean 1566s # _g_variant_equal0 (GVariant *a, GVariant *b) 1566s # { 1566s # gboolean ret = FALSE; 1566s # if (a == NULL && b == NULL) 1566s # { 1566s # ret = TRUE; 1566s # goto out; 1566s # } 1566s # if (a == NULL || b == NULL) 1566s # goto out; 1566s # ret = g_variant_equal (a, b); 1566s # out: 1566s # return ret; 1566s # } 1566s # 1566s # G_GNUC_UNUSED static gboolean 1566s # _g_value_equal (const GValue *a, const GValue *b) 1566s # { 1566s # gboolean ret = FALSE; 1566s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1566s # switch (G_VALUE_TYPE (a)) 1566s # { 1566s # case G_TYPE_BOOLEAN: 1566s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1566s # break; 1566s # case G_TYPE_UCHAR: 1566s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1566s # break; 1566s # case G_TYPE_INT: 1566s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1566s # break; 1566s # case G_TYPE_UINT: 1566s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1566s # break; 1566s # case G_TYPE_INT64: 1566s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1566s # break; 1566s # case G_TYPE_UINT64: 1566s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1566s # break; 1566s # case G_TYPE_DOUBLE: 1566s # { 1566s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1566s # gdouble da = g_value_get_double (a); 1566s # gdouble db = g_value_get_double (b); 1566s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1566s # } 1566s # break; 1566s # case G_TYPE_STRING: 1566s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1566s # break; 1566s # case G_TYPE_VARIANT: 1566s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1566s # break; 1566s # default: 1566s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1566s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1566s # else 1566s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1566s # break; 1566s # } 1566s # return ret; 1566s # } 1566s # 1566s # static void 1566s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_UCHAR ( 1566s # GClosure *closure, 1566s # GValue *return_value, 1566s # unsigned int n_param_values, 1566s # const GValue *param_values, 1566s # void *invocation_hint G_GNUC_UNUSED, 1566s # void *marshal_data) 1566s # { 1566s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectUcharFunc) 1566s # (void *data1, 1566s # GDBusMethodInvocation *arg_method_invocation, 1566s # guchar arg_arg_y, 1566s # void *data2); 1566s # _GDbusCodegenMarshalBoolean_ObjectUcharFunc callback; 1566s # GCClosure *cc = (GCClosure*) closure; 1566s # void *data1, *data2; 1566s # gboolean v_return; 1566s # 1566s # g_return_if_fail (return_value != NULL); 1566s # g_return_if_fail (n_param_values == 3); 1566s # 1566s # if (G_CCLOSURE_SWAP_DATA (closure)) 1566s # { 1566s # data1 = closure->data; 1566s # data2 = g_value_peek_pointer (param_values + 0); 1566s # } 1566s # else 1566s # { 1566s # data1 = g_value_peek_pointer (param_values + 0); 1566s # data2 = closure->data; 1566s # } 1566s # 1566s # callback = (_GDbusCodegenMarshalBoolean_ObjectUcharFunc) 1566s # (marshal_data ? marshal_data : cc->callback); 1566s # 1566s # v_return = 1566s # callback (data1, 1566s # g_marshal_value_peek_object (param_values + 1), 1566s # g_marshal_value_peek_uchar (param_values + 2), 1566s # data2); 1566s # 1566s # g_value_set_boolean (return_value, v_return); 1566s # } 1566s # 1566s # /* ------------------------------------------------------------------------ 1566s # * Code for interface org.project.UsefulInterface 1566s # * ------------------------------------------------------------------------ 1566s # */ 1566s # 1566s # /** 1566s # * SECTION:OrgProjectUsefulInterface 1566s # * @title: OrgProjectUsefulInterface 1566s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1566s # * 1566s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1566s # */ 1566s # 1566s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1566s # 1566s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_y_IN_ARG_arg_y = 1566s # { 1566s # { 1566s # -1, 1566s # (gchar *) "arg_y", 1566s # (gchar *) "y", 1566s # NULL 1566s # }, 1566s # FALSE 1566s # }; 1566s # 1566s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_y_IN_ARG_pointers[] = 1566s # { 1566s # &_org_project_useful_interface_method_info_single_arg_method_y_IN_ARG_arg_y.parent_struct, 1566s # NULL 1566s # }; 1566s # 1566s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_y = 1566s # { 1566s # { 1566s # -1, 1566s # (gchar *) "SingleArgMethodY", 1566s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_y_IN_ARG_pointers, 1566s # NULL, 1566s # NULL 1566s # }, 1566s # "handle-single-arg-method-y", 1566s # FALSE 1566s # }; 1566s # 1566s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1566s # { 1566s # &_org_project_useful_interface_method_info_single_arg_method_y.parent_struct, 1566s # NULL 1566s # }; 1566s # 1566s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1566s # { 1566s # { 1566s # -1, 1566s # (gchar *) "org.project.UsefulInterface", 1566s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1566s # NULL, 1566s # NULL, 1566s # NULL 1566s # }, 1566s # "org-project-useful-interface", 1566s # }; 1566s # 1566s # 1566s # /** 1566s # * org_project_useful_interface_interface_info: 1566s # * 1566s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1566s # * 1566s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1566s # */ 1566s # GDBusInterfaceInfo * 1566s # org_project_useful_interface_interface_info (void) 1566s # { 1566s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1566s # } 1566s # 1566s # /** 1566s # * org_project_useful_interface_override_properties: 1566s # * @klass: The class structure for a #GObject derived class. 1566s # * @property_id_begin: The property id to assign to the first overridden property. 1566s # * 1566s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1566s # * The properties are overridden in the order they are defined. 1566s # * 1566s # * Returns: The last property id. 1566s # */ 1566s # guint 1566s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1566s # { 1566s # return property_id_begin - 1; 1566s # } 1566s # 1566s # 1566s # inline static void 1566s # org_project_useful_interface_method_marshal_single_arg_method_y ( 1566s # GClosure *closure, 1566s # GValue *return_value, 1566s # unsigned int n_param_values, 1566s # const GValue *param_values, 1566s # void *invocation_hint, 1566s # void *marshal_data) 1566s # { 1566s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_UCHAR (closure, 1566s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1566s # } 1566s # 1566s # 1566s # /** 1566s # * OrgProjectUsefulInterface: 1566s # * 1566s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1566s # */ 1566s # 1566s # /** 1566s # * OrgProjectUsefulInterfaceIface: 1566s # * @parent_iface: The parent interface. 1566s # * @handle_single_arg_method_y: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-y signal. 1566s # * 1566s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1566s # */ 1566s # 1566s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1566s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1566s # 1566s # static void 1566s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1566s # { 1566s # /* GObject signals for incoming D-Bus method calls: */ 1566s # /** 1566s # * OrgProjectUsefulInterface::handle-single-arg-method-y: 1566s # * @object: A #OrgProjectUsefulInterface. 1566s # * @invocation: A #GDBusMethodInvocation. 1566s # * @arg_arg_y: Argument passed by remote caller. 1566s # * 1566s # * Signal emitted when a remote caller is invoking the SingleArgMethodY() D-Bus method. 1566s # * 1566s # * 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. 1566s # * 1566s # * 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. 1566s # */ 1566s # g_signal_new ("handle-single-arg-method-y", 1566s # G_TYPE_FROM_INTERFACE (iface), 1566s # G_SIGNAL_RUN_LAST, 1566s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_y), 1566s # g_signal_accumulator_true_handled, 1566s # NULL, 1566s # org_project_useful_interface_method_marshal_single_arg_method_y, 1566s # G_TYPE_BOOLEAN, 1566s # 2, 1566s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_UCHAR); 1566s # 1566s # } 1566s # 1566s # /** 1566s # * org_project_useful_interface_call_single_arg_method_y: 1566s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1566s # * @arg_arg_y: Argument to pass with the method invocation. 1566s # * @cancellable: (nullable): A #GCancellable or %NULL. 1566s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1566s # * @user_data: User data to pass to @callback. 1566s # * 1566s # * Asynchronously invokes the SingleArgMethodY() D-Bus method on @proxy. 1566s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1566s # * You can then call org_project_useful_interface_call_single_arg_method_y_finish() to get the result of the operation. 1566s # * 1566s # * See org_project_useful_interface_call_single_arg_method_y_sync() for the synchronous, blocking version of this method. 1566s # */ 1566s # void 1566s # org_project_useful_interface_call_single_arg_method_y ( 1566s # OrgProjectUsefulInterface *proxy, 1566s # guchar arg_arg_y, 1566s # GCancellable *cancellable, 1566s # GAsyncReadyCallback callback, 1566s # gpointer user_data) 1566s # { 1566s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1566s # "SingleArgMethodY", 1566s # g_variant_new ("(y)", 1566s # arg_arg_y), 1566s # G_DBUS_CALL_FLAGS_NONE, 1566s # -1, 1566s # cancellable, 1566s # callback, 1566s # user_data); 1566s # } 1566s # 1566s # /** 1566s # * org_project_useful_interface_call_single_arg_method_y_finish: 1566s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1566s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_y(). 1566s # * @error: Return location for error or %NULL. 1566s # * 1566s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_y(). 1566s # * 1566s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1566s # */ 1566s # gboolean 1566s # org_project_useful_interface_call_single_arg_method_y_finish ( 1566s # OrgProjectUsefulInterface *proxy, 1566s # GAsyncResult *res, 1566s # GError **error) 1566s # { 1566s # GVariant *_ret; 1566s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1566s # if (_ret == NULL) 1566s # goto _out; 1566s # g_variant_get (_ret, 1566s # "()"); 1566s # g_variant_unref (_ret); 1566s # _out: 1566s # return _ret != NULL; 1566s # } 1566s # 1566s # /** 1566s # * org_project_useful_interface_call_single_arg_method_y_sync: 1566s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1566s # * @arg_arg_y: Argument to pass with the method invocation. 1566s # * @cancellable: (nullable): A #GCancellable or %NULL. 1566s # * @error: Return location for error or %NULL. 1566s # * 1566s # * Synchronously invokes the SingleArgMethodY() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1566s # * 1566s # * See org_project_useful_interface_call_single_arg_method_y() for the asynchronous version of this method. 1566s # * 1566s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1566s # */ 1566s # gboolean 1566s # org_project_useful_interface_call_single_arg_method_y_sync ( 1566s # OrgProjectUsefulInterface *proxy, 1566s # guchar arg_arg_y, 1566s # GCancellable *cancellable, 1566s # GError **error) 1566s # { 1566s # GVariant *_ret; 1566s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1566s # "SingleArgMethodY", 1566s # g_variant_new ("(y)", 1566s # arg_arg_y), 1566s # G_DBUS_CALL_FLAGS_NONE, 1566s # -1, 1566s # cancellable, 1566s # error); 1566s # if (_ret == NULL) 1566s # goto _out; 1566s # g_variant_get (_ret, 1566s # "()"); 1566s # g_variant_unref (_ret); 1566s # _out: 1566s # return _ret != NULL; 1566s # } 1566s # 1566s # /** 1566s # * org_project_useful_interface_complete_single_arg_method_y: 1566s # * @object: A #OrgProjectUsefulInterface. 1566s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1566s # * 1566s # * 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. 1566s # * 1566s # * This method will free @invocation, you cannot use it afterwards. 1566s # */ 1566s # void 1566s # org_project_useful_interface_complete_single_arg_method_y ( 1566s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1566s # GDBusMethodInvocation *invocation) 1566s # { 1566s # g_dbus_method_invocation_return_value (invocation, 1566s # g_variant_new ("()")); 1566s # } 1566s # 1566s # /* ------------------------------------------------------------------------ */ 1566s # 1566s # /** 1566s # * OrgProjectUsefulInterfaceProxy: 1566s # * 1566s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1566s # */ 1566s # 1566s # /** 1566s # * OrgProjectUsefulInterfaceProxyClass: 1566s # * @parent_class: The parent class. 1566s # * 1566s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1566s # */ 1566s # 1566s # struct _OrgProjectUsefulInterfaceProxyPrivate 1566s # { 1566s # GData *qdata; 1566s # }; 1566s # 1566s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1566s # 1566s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1566s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1566s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1566s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1566s # 1566s # #else 1566s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1566s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1566s # 1566s # #endif 1566s # static void 1566s # org_project_useful_interface_proxy_finalize (GObject *object) 1566s # { 1566s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1566s # g_datalist_clear (&proxy->priv->qdata); 1566s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1566s # } 1566s # 1566s # static void 1566s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1566s # guint prop_id G_GNUC_UNUSED, 1566s # GValue *value G_GNUC_UNUSED, 1566s # GParamSpec *pspec G_GNUC_UNUSED) 1566s # { 1566s # } 1566s # 1566s # static void 1566s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1566s # guint prop_id G_GNUC_UNUSED, 1566s # const GValue *value G_GNUC_UNUSED, 1566s # GParamSpec *pspec G_GNUC_UNUSED) 1566s # { 1566s # } 1566s # 1566s # static void 1566s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1566s # const gchar *sender_name G_GNUC_UNUSED, 1566s # const gchar *signal_name, 1566s # GVariant *parameters) 1566s # { 1566s # _ExtendedGDBusSignalInfo *info; 1566s # GVariantIter iter; 1566s # GVariant *child; 1566s # GValue *paramv; 1566s # gsize num_params; 1566s # gsize n; 1566s # guint signal_id; 1566s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1566s # if (info == NULL) 1566s # return; 1566s # num_params = g_variant_n_children (parameters); 1566s # paramv = g_new0 (GValue, num_params + 1); 1566s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1566s # g_value_set_object (¶mv[0], proxy); 1566s # g_variant_iter_init (&iter, parameters); 1566s # n = 1; 1566s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1566s # { 1566s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1566s # if (arg_info->use_gvariant) 1566s # { 1566s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1566s # g_value_set_variant (¶mv[n], child); 1566s # n++; 1566s # } 1566s # else 1566s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1566s # g_variant_unref (child); 1566s # } 1566s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1566s # g_signal_emitv (paramv, signal_id, 0, NULL); 1566s # for (n = 0; n < num_params + 1; n++) 1566s # g_value_unset (¶mv[n]); 1566s # g_free (paramv); 1566s # } 1566s # 1566s # static void 1566s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1566s # GVariant *changed_properties, 1566s # const gchar *const *invalidated_properties) 1566s # { 1566s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1566s # guint n; 1566s # const gchar *key; 1566s # GVariantIter *iter; 1566s # _ExtendedGDBusPropertyInfo *info; 1566s # g_variant_get (changed_properties, "a{sv}", &iter); 1566s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1566s # { 1566s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1566s # g_datalist_remove_data (&proxy->priv->qdata, key); 1566s # if (info != NULL) 1566s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1566s # } 1566s # g_variant_iter_free (iter); 1566s # for (n = 0; invalidated_properties[n] != NULL; n++) 1566s # { 1566s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1566s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1566s # if (info != NULL) 1566s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1566s # } 1566s # } 1566s # 1566s # static void 1566s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1566s # { 1566s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1566s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1566s # #else 1566s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1566s # #endif 1566s # 1566s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1566s # } 1566s # 1566s # static void 1566s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1566s # { 1566s # GObjectClass *gobject_class; 1566s # GDBusProxyClass *proxy_class; 1566s # 1566s # gobject_class = G_OBJECT_CLASS (klass); 1566s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1566s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1566s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1566s # 1566s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1566s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1566s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1566s # 1566s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1566s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1566s # #endif 1566s # } 1566s # 1566s # static void 1566s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1566s # { 1566s # } 1566s # 1566s # /** 1566s # * org_project_useful_interface_proxy_new: 1566s # * @connection: A #GDBusConnection. 1566s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1566s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1566s # * @object_path: An object path. 1566s # * @cancellable: (nullable): A #GCancellable or %NULL. 1566s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1566s # * @user_data: User data to pass to @callback. 1566s # * 1566s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1566s # * 1566s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1566s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1566s # * 1566s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1566s # */ 1566s # void 1566s # org_project_useful_interface_proxy_new ( 1566s # GDBusConnection *connection, 1566s # GDBusProxyFlags flags, 1566s # const gchar *name, 1566s # const gchar *object_path, 1566s # GCancellable *cancellable, 1566s # GAsyncReadyCallback callback, 1566s # gpointer user_data) 1566s # { 1566s # g_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); 1566s # } 1566s # 1566s # /** 1566s # * org_project_useful_interface_proxy_new_finish: 1566s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1566s # * @error: Return location for error or %NULL 1566s # * 1566s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1566s # * 1566s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1566s # */ 1566s # OrgProjectUsefulInterface * 1566s # org_project_useful_interface_proxy_new_finish ( 1566s # GAsyncResult *res, 1566s # GError **error) 1566s # { 1566s # GObject *ret; 1566s # GObject *source_object; 1566s # source_object = g_async_result_get_source_object (res); 1566s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1566s # g_object_unref (source_object); 1566s # if (ret != NULL) 1566s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1566s # else 1566s # return NULL; 1566s # } 1566s # 1566s # /** 1566s # * org_project_useful_interface_proxy_new_sync: 1566s # * @connection: A #GDBusConnection. 1566s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1566s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1566s # * @object_path: An object path. 1566s # * @cancellable: (nullable): A #GCancellable or %NULL. 1566s # * @error: Return location for error or %NULL 1566s # * 1566s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1566s # * 1566s # * The calling thread is blocked until a reply is received. 1566s # * 1566s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1566s # * 1566s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1566s # */ 1566s # OrgProjectUsefulInterface * 1566s # org_project_useful_interface_proxy_new_sync ( 1566s # GDBusConnection *connection, 1566s # GDBusProxyFlags flags, 1566s # const gchar *name, 1566s # const gchar *object_path, 1566s # GCancellable *cancellable, 1566s # GError **error) 1566s # { 1566s # GInitable *ret; 1566s # 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); 1566s # if (ret != NULL) 1566s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1566s # else 1566s # return NULL; 1566s # } 1566s # 1566s # 1566s # /** 1566s # * org_project_useful_interface_proxy_new_for_bus: 1566s # * @bus_type: A #GBusType. 1566s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1566s # * @name: A bus name (well-known or unique). 1566s # * @object_path: An object path. 1566s # * @cancellable: (nullable): A #GCancellable or %NULL. 1566s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1566s # * @user_data: User data to pass to @callback. 1566s # * 1566s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1566s # * 1566s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1566s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1566s # * 1566s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1566s # */ 1566s # void 1566s # org_project_useful_interface_proxy_new_for_bus ( 1566s # GBusType bus_type, 1566s # GDBusProxyFlags flags, 1566s # const gchar *name, 1566s # const gchar *object_path, 1566s # GCancellable *cancellable, 1566s # GAsyncReadyCallback callback, 1566s # gpointer user_data) 1566s # { 1566s # g_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); 1566s # } 1566s # 1566s # /** 1566s # * org_project_useful_interface_proxy_new_for_bus_finish: 1566s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1566s # * @error: Return location for error or %NULL 1566s # * 1566s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1566s # * 1566s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1566s # */ 1566s # OrgProjectUsefulInterface * 1566s # org_project_useful_interface_proxy_new_for_bus_finish ( 1566s # GAsyncResult *res, 1566s # GError **error) 1566s # { 1566s # GObject *ret; 1566s # GObject *source_object; 1566s # source_object = g_async_result_get_source_object (res); 1566s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1566s # g_object_unref (source_object); 1566s # if (ret != NULL) 1566s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1566s # else 1566s # return NULL; 1566s # } 1566s # 1566s # /** 1566s # * org_project_useful_interface_proxy_new_for_bus_sync: 1566s # * @bus_type: A #GBusType. 1566s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1566s # * @name: A bus name (well-known or unique). 1566s # * @object_path: An object path. 1566s # * @cancellable: (nullable): A #GCancellable or %NULL. 1566s # * @error: Return location for error or %NULL 1566s # * 1566s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1566s # * 1566s # * The calling thread is blocked until a reply is received. 1566s # * 1566s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1566s # * 1566s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1566s # */ 1566s # OrgProjectUsefulInterface * 1566s # org_project_useful_interface_proxy_new_for_bus_sync ( 1566s # GBusType bus_type, 1566s # GDBusProxyFlags flags, 1566s # const gchar *name, 1566s # const gchar *object_path, 1566s # GCancellable *cancellable, 1566s # GError **error) 1566s # { 1566s # GInitable *ret; 1566s # 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); 1566s # if (ret != NULL) 1566s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1566s # else 1566s # return NULL; 1566s # } 1566s # 1566s # 1566s # /* ------------------------------------------------------------------------ */ 1566s # 1566s # /** 1566s # * OrgProjectUsefulInterfaceSkeleton: 1566s # * 1566s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1566s # */ 1566s # 1566s # /** 1566s # * OrgProjectUsefulInterfaceSkeletonClass: 1566s # * @parent_class: The parent class. 1566s # * 1566s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1566s # */ 1566s # 1566s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1566s # { 1566s # GValue *properties; 1566s # GList *changed_properties; 1566s # GSource *changed_properties_idle_source; 1566s # GMainContext *context; 1566s # GMutex lock; 1566s # }; 1566s # 1566s # static void 1566s # _org_project_useful_interface_skeleton_handle_method_call ( 1566s # GDBusConnection *connection G_GNUC_UNUSED, 1566s # const gchar *sender G_GNUC_UNUSED, 1566s # const gchar *object_path G_GNUC_UNUSED, 1566s # const gchar *interface_name, 1566s # const gchar *method_name, 1566s # GVariant *parameters, 1566s # GDBusMethodInvocation *invocation, 1566s # gpointer user_data) 1566s # { 1566s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1566s # _ExtendedGDBusMethodInfo *info; 1566s # GVariantIter iter; 1566s # GVariant *child; 1566s # GValue *paramv; 1566s # gsize num_params; 1566s # guint num_extra; 1566s # gsize n; 1566s # guint signal_id; 1566s # GValue return_value = G_VALUE_INIT; 1566s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1566s # g_assert (info != NULL); 1566s # num_params = g_variant_n_children (parameters); 1566s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1566s # n = 0; 1566s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1566s # g_value_set_object (¶mv[n++], skeleton); 1566s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1566s # g_value_set_object (¶mv[n++], invocation); 1566s # if (info->pass_fdlist) 1566s # { 1566s # #ifdef G_OS_UNIX 1566s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1566s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1566s # #else 1566s # g_assert_not_reached (); 1566s # #endif 1566s # } 1566s # g_variant_iter_init (&iter, parameters); 1566s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1566s # { 1566s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1566s # if (arg_info->use_gvariant) 1566s # { 1566s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1566s # g_value_set_variant (¶mv[n], child); 1566s # n++; 1566s # } 1566s # else 1566s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1566s # g_variant_unref (child); 1566s # } 1566s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1566s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1566s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1566s # if (!g_value_get_boolean (&return_value)) 1566s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1566s # g_value_unset (&return_value); 1566s # for (n = 0; n < num_params + num_extra; n++) 1566s # g_value_unset (¶mv[n]); 1566s # g_free (paramv); 1566s # } 1566s # 1566s # static GVariant * 1566s # _org_project_useful_interface_skeleton_handle_get_property ( 1566s # GDBusConnection *connection G_GNUC_UNUSED, 1566s # const gchar *sender G_GNUC_UNUSED, 1566s # const gchar *object_path G_GNUC_UNUSED, 1566s # const gchar *interface_name G_GNUC_UNUSED, 1566s # const gchar *property_name, 1566s # GError **error, 1566s # gpointer user_data) 1566s # { 1566s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1566s # GValue value = G_VALUE_INIT; 1566s # GParamSpec *pspec; 1566s # _ExtendedGDBusPropertyInfo *info; 1566s # GVariant *ret; 1566s # ret = NULL; 1566s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1566s # g_assert (info != NULL); 1566s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1566s # if (pspec == NULL) 1566s # { 1566s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1566s # } 1566s # else 1566s # { 1566s # g_value_init (&value, pspec->value_type); 1566s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1566s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1566s # g_value_unset (&value); 1566s # } 1566s # return ret; 1566s # } 1566s # 1566s # static gboolean 1566s # _org_project_useful_interface_skeleton_handle_set_property ( 1566s # GDBusConnection *connection G_GNUC_UNUSED, 1566s # const gchar *sender G_GNUC_UNUSED, 1566s # const gchar *object_path G_GNUC_UNUSED, 1566s # const gchar *interface_name G_GNUC_UNUSED, 1566s # const gchar *property_name, 1566s # GVariant *variant, 1566s # GError **error, 1566s # gpointer user_data) 1566s # { 1566s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1566s # GValue value = G_VALUE_INIT; 1566s # GParamSpec *pspec; 1566s # _ExtendedGDBusPropertyInfo *info; 1566s # gboolean ret; 1566s # ret = FALSE; 1566s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1566s # g_assert (info != NULL); 1566s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1566s # if (pspec == NULL) 1566s # { 1566s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1566s # } 1566s # else 1566s # { 1566s # if (info->use_gvariant) 1566s # g_value_set_variant (&value, variant); 1566s # else 1566s # g_dbus_gvariant_to_gvalue (variant, &value); 1566s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1566s # g_value_unset (&value); 1566s # ret = TRUE; 1566s # } 1566s # return ret; 1566s # } 1566s # 1566s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1566s # { 1566s # _org_project_useful_interface_skeleton_handle_method_call, 1566s # _org_project_useful_interface_skeleton_handle_get_property, 1566s # _org_project_useful_interface_skeleton_handle_set_property, 1566s # {NULL} 1566s # }; 1566s # 1566s # static GDBusInterfaceInfo * 1566s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1566s # { 1566s # return org_project_useful_interface_interface_info (); 1566s # } 1566s # 1566s # static GDBusInterfaceVTable * 1566s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1566s # { 1566s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1566s # } 1566s # 1566s # static GVariant * 1566s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1566s # { 1566s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1566s # 1566s # GVariantBuilder builder; 1566s # guint n; 1566s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1566s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1566s # goto out; 1566s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1566s # { 1566s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1566s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1566s # { 1566s # GVariant *value; 1566s # 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); 1566s # if (value != NULL) 1566s # { 1566s # g_variant_take_ref (value); 1566s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1566s # g_variant_unref (value); 1566s # } 1566s # } 1566s # } 1566s # out: 1566s # return g_variant_builder_end (&builder); 1566s # } 1566s # 1566s # static void 1566s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1566s # { 1566s # } 1566s # 1566s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1566s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1566s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1566s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1566s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1566s # 1566s # #else 1566s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1566s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1566s # 1566s # #endif 1566s # static void 1566s # org_project_useful_interface_skeleton_finalize (GObject *object) 1566s # { 1566s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1566s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1566s # if (skeleton->priv->changed_properties_idle_source != NULL) 1566s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1566s # g_main_context_unref (skeleton->priv->context); 1566s # g_mutex_clear (&skeleton->priv->lock); 1566s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1566s # } 1566s # 1566s # static void 1566s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1566s # { 1566s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1566s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1566s # #else 1566s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1566s # #endif 1566s # 1566s # g_mutex_init (&skeleton->priv->lock); 1566s # skeleton->priv->context = g_main_context_ref_thread_default (); 1566s # } 1566s # 1566s # static void 1566s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1566s # { 1566s # GObjectClass *gobject_class; 1566s # GDBusInterfaceSkeletonClass *skeleton_class; 1566s # 1566s # gobject_class = G_OBJECT_CLASS (klass); 1566s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1566s # 1566s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1566s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1566s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1566s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1566s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1566s # 1566s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1566s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1566s # #endif 1566s # } 1566s # 1566s # static void 1566s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1566s # { 1566s # } 1566s # 1566s # /** 1566s # * org_project_useful_interface_skeleton_new: 1566s # * 1566s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1566s # * 1566s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1566s # */ 1566s # OrgProjectUsefulInterface * 1566s # org_project_useful_interface_skeleton_new (void) 1566s # { 1566s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1566s # } 1566s # /tmp/tmppzwln7e0/tmp_ocshd9d.xml: 1566s # 1566s # 1566s # 1566s # 1566s # 1566s # 1566s # 1566s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmppzwln7e0/tmp_ocshd9d.xml', '--output', '-', '--body'] 1566s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-baqskmurxn,guid=fbaffe99d0ccb1f6e1beb84865fc01cd', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.YcZbqk/autopkgtest_tmp', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.YcZbqk/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.YcZbqk/autopkgtest_tmp', 'TERM': 'unknown', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.YcZbqk/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.sVTVMp0Db0', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.rqZsJO/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.YcZbqk/wrapper.sh --artifacts=/tmp/autopkgtest.YcZbqk/installed-tests-artifacts --chdir=/tmp/autopkgtest.YcZbqk/build.S0E/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.YcZbqk/installed-tests-stderr --stdout=/tmp/autopkgtest.YcZbqk/installed-tests-stdout --tmp=/tmp/autopkgtest.YcZbqk/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2' --make-executable=/tmp/autopkgtest.YcZbqk/build.S0E/src/debian/tests/installed-tests -- /tmp/autopkgtest.YcZbqk/build.S0E/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.YcZbqk/build.S0E/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.YcZbqk/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1566s # Output: /* 1566s # * This file is generated by gdbus-codegen, do not modify it. 1566s # * 1566s # * The license of this code is the same as for the D-Bus interface description 1566s # * it was derived from. Note that it links to GLib, so must comply with the 1566s # * LGPL linking clauses. 1566s # */ 1566s # 1566s # #ifdef HAVE_CONFIG_H 1566s # # include "config.h" 1566s # #endif 1566s # 1566s # #include 1566s # #ifdef G_OS_UNIX 1566s # # include 1566s # #endif 1566s # 1566s # #ifdef G_ENABLE_DEBUG 1566s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1566s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1566s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1566s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1566s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1566s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1566s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1566s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1566s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1566s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1566s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1566s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1566s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1566s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1566s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1566s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1566s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1566s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1566s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1566s # #else /* !G_ENABLE_DEBUG */ 1566s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1566s # * Do not access GValues directly in your code. Instead, use the 1566s # * g_value_get_*() functions 1566s # */ 1566s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1566s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1566s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1566s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1566s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1566s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1566s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1566s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1566s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1566s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1566s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1566s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1566s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1566s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1566s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1566s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1566s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1566s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1566s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1566s # #endif /* !G_ENABLE_DEBUG */ 1566s # 1566s # typedef struct 1566s # { 1566s # GDBusArgInfo parent_struct; 1566s # gboolean use_gvariant; 1566s # } _ExtendedGDBusArgInfo; 1566s # 1566s # typedef struct 1566s # { 1566s # GDBusMethodInfo parent_struct; 1566s # const gchar *signal_name; 1566s # gboolean pass_fdlist; 1566s # } _ExtendedGDBusMethodInfo; 1566s # 1566s # typedef struct 1566s # { 1566s # GDBusSignalInfo parent_struct; 1566s # const gchar *signal_name; 1566s # } _ExtendedGDBusSignalInfo; 1566s # 1566s # typedef struct 1566s # { 1566s # GDBusPropertyInfo parent_struct; 1566s # const gchar *hyphen_name; 1566s # guint use_gvariant : 1; 1566s # guint emits_changed_signal : 1; 1566s # } _ExtendedGDBusPropertyInfo; 1566s # 1566s # typedef struct 1566s # { 1566s # GDBusInterfaceInfo parent_struct; 1566s # const gchar *hyphen_name; 1566s # } _ExtendedGDBusInterfaceInfo; 1566s # 1566s # typedef struct 1566s # { 1566s # const _ExtendedGDBusPropertyInfo *info; 1566s # guint prop_id; 1566s # GValue orig_value; /* the value before the change */ 1566s # } ChangedProperty; 1566s # 1566s # static void 1566s # _changed_property_free (ChangedProperty *data) 1566s # { 1566s # g_value_unset (&data->orig_value); 1566s # g_free (data); 1566s # } 1566s # 1566s # static gboolean 1566s # _g_strv_equal0 (gchar **a, gchar **b) 1566s # { 1566s # gboolean ret = FALSE; 1566s # guint n; 1566s # if (a == NULL && b == NULL) 1566s # { 1566s # ret = TRUE; 1566s # goto out; 1566s # } 1566s # if (a == NULL || b == NULL) 1566s # goto out; 1566s # if (g_strv_length (a) != g_strv_length (b)) 1566s # goto out; 1566s # for (n = 0; a[n] != NULL; n++) 1566s # if (g_strcmp0 (a[n], b[n]) != 0) 1566s # goto out; 1566s # ret = TRUE; 1566s # out: 1566s # return ret; 1566s # } 1566s # 1566s # static gboolean 1566s # _g_variant_equal0 (GVariant *a, GVariant *b) 1566s # { 1566s # gboolean ret = FALSE; 1566s # if (a == NULL && b == NULL) 1566s # { 1566s # ret = TRUE; 1566s # goto out; 1566s # } 1566s # if (a == NULL || b == NULL) 1566s # goto out; 1566s # ret = g_variant_equal (a, b); 1566s # out: 1566s # return ret; 1566s # } 1566s # 1566s # G_GNUC_UNUSED static gboolean 1566s # _g_value_equal (const GValue *a, const GValue *b) 1566s # { 1566s # gboolean ret = FALSE; 1566s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1566s # switch (G_VALUE_TYPE (a)) 1566s # { 1566s # case G_TYPE_BOOLEAN: 1566s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1566s # break; 1566s # case G_TYPE_UCHAR: 1566s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1566s # break; 1566s # case G_TYPE_INT: 1566s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1566s # break; 1566s # case G_TYPE_UINT: 1566s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1566s # break; 1566s # case G_TYPE_INT64: 1566s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1566s # break; 1566s # case G_TYPE_UINT64: 1566s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1566s # break; 1566s # case G_TYPE_DOUBLE: 1566s # { 1566s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1566s # gdouble da = g_value_get_double (a); 1566s # gdouble db = g_value_get_double (b); 1566s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1566s # } 1566s # break; 1566s # case G_TYPE_STRING: 1566s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1566s # break; 1566s # case G_TYPE_VARIANT: 1566s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1566s # break; 1566s # default: 1566s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1566s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1566s # else 1566s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1566s # break; 1566s # } 1566s # return ret; 1566s # } 1566s # 1566s # static void 1566s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_INT ( 1566s # GClosure *closure, 1566s # GValue *return_value, 1566s # unsigned int n_param_values, 1566s # const GValue *param_values, 1566s # void *invocation_hint G_GNUC_UNUSED, 1566s # void *marshal_data) 1566s # { 1566s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectIntFunc) 1566s # (void *data1, 1566s # GDBusMethodInvocation *arg_method_invocation, 1566s # gint16 arg_arg_n, 1566s # void *data2); 1566s # _GDbusCodegenMarshalBoolean_ObjectIntFunc callback; 1566s # GCClosure *cc = (GCClosure*) closure; 1566s # void *data1, *data2; 1566s # gboolean v_return; 1566s # 1566s # g_return_if_fail (return_value != NULL); 1566s # g_return_if_fail (n_param_values == 3); 1566s # 1566s # if (G_CCLOSURE_SWAP_DATA (closure)) 1566s # { 1566s # data1 = closure->data; 1566s # data2 = g_value_peek_pointer (param_values + 0); 1566s # } 1566s # else 1566s # { 1566s # data1 = g_value_peek_pointer (param_values + 0); 1566s # data2 = closure->data; 1566s # } 1566s # 1566s # callback = (_GDbusCodegenMarshalBoolean_ObjectIntFunc) 1566s # (marshal_data ? marshal_data : cc->callback); 1566s # 1566s # v_return = 1566s # callback (data1, 1566s # g_marshal_value_peek_object (param_values + 1), 1566s # g_marshal_value_peek_int (param_values + 2), 1566s # data2); 1566s # 1566s # g_value_set_boolean (return_value, v_return); 1566s # } 1566s # 1566s # /* ------------------------------------------------------------------------ 1566s # * Code for interface org.project.UsefulInterface 1566s # * ------------------------------------------------------------------------ 1566s # */ 1566s # 1566s # /** 1566s # * SECTION:OrgProjectUsefulInterface 1566s # * @title: OrgProjectUsefulInterface 1566s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1566s # * 1566s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1566s # */ 1566s # 1566s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1566s # 1566s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_n_IN_ARG_arg_n = 1566s # { 1566s # { 1566s # -1, 1566s # (gchar *) "arg_n", 1566s # (gchar *) "n", 1566s # NULL 1566s # }, 1566s # FALSE 1566s # }; 1566s # 1566s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_n_IN_ARG_pointers[] = 1566s # { 1566s # &_org_project_useful_interface_method_info_single_arg_method_n_IN_ARG_arg_n.parent_struct, 1566s # NULL 1566s # }; 1566s # 1566s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_n = 1566s # { 1566s # { 1566s # -1, 1566s # (gchar *) "SingleArgMethodN", 1566s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_n_IN_ARG_pointers, 1566s # NULL, 1566s # NULL 1566s # }, 1566s # "handle-single-arg-method-n", 1566s # FALSE 1566s # }; 1566s # 1566s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1566s # { 1566s # &_org_project_useful_interface_method_info_single_arg_method_n.parent_struct, 1566s # NULL 1566s # }; 1566s # 1566s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1566s # { 1566s # { 1566s # -1, 1566s # (gchar *) "org.project.UsefulInterface", 1566s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1566s # NULL, 1566s # NULL, 1566s # NULL 1566s # }, 1566s # "org-project-useful-interface", 1566s # }; 1566s # 1566s # 1566s # /** 1566s # * org_project_useful_interface_interface_info: 1566s # * 1566s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1566s # * 1566s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1566s # */ 1566s # GDBusInterfaceInfo * 1566s # org_project_useful_interface_interface_info (void) 1566s # { 1566s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1566s # } 1566s # 1566s # /** 1566s # * org_project_useful_interface_override_properties: 1566s # * @klass: The class structure for a #GObject derived class. 1566s # * @property_id_begin: The property id to assign to the first overridden property. 1566s # * 1566s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1566s # * The properties are overridden in the order they are defined. 1566s # * 1566s # * Returns: The last property id. 1566s # */ 1566s # guint 1566s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1566s # { 1566s # return property_id_begin - 1; 1566s # } 1566s # 1566s # 1566s # inline static void 1566s # org_project_useful_interface_method_marshal_single_arg_method_n ( 1566s # GClosure *closure, 1566s # GValue *return_value, 1566s # unsigned int n_param_values, 1566s # const GValue *param_values, 1566s # void *invocation_hint, 1566s # void *marshal_data) 1566s # { 1566s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_INT (closure, 1566s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1566s # } 1566s # 1566s # 1566s # /** 1566s # * OrgProjectUsefulInterface: 1566s # * 1566s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1566s # */ 1566s # 1566s # /** 1566s # * OrgProjectUsefulInterfaceIface: 1566s # * @parent_iface: The parent interface. 1566s # * @handle_single_arg_method_n: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-n signal. 1566s # * 1566s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1566s # */ 1566s # 1566s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1566s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1566s # 1566s # static void 1566s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1566s # { 1566s # /* GObject signals for incoming D-Bus method calls: */ 1566s # /** 1566s # * OrgProjectUsefulInterface::handle-single-arg-method-n: 1566s # * @object: A #OrgProjectUsefulInterface. 1566s # * @invocation: A #GDBusMethodInvocation. 1566s # * @arg_arg_n: Argument passed by remote caller. 1566s # * 1566s # * Signal emitted when a remote caller is invoking the SingleArgMethodN() D-Bus method. 1566s # * 1566s # * 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. 1566s # * 1566s # * 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. 1566s # */ 1566s # g_signal_new ("handle-single-arg-method-n", 1566s # G_TYPE_FROM_INTERFACE (iface), 1566s # G_SIGNAL_RUN_LAST, 1566s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_n), 1566s # g_signal_accumulator_true_handled, 1566s # NULL, 1566s # org_project_useful_interface_method_marshal_single_arg_method_n, 1566s # G_TYPE_BOOLEAN, 1566s # 2, 1566s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_INT); 1566s # 1566s # } 1566s # 1566s # /** 1566s # * org_project_useful_interface_call_single_arg_method_n: 1566s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1566s # * @arg_arg_n: Argument to pass with the method invocation. 1566s # * @cancellable: (nullable): A #GCancellable or %NULL. 1566s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1566s # * @user_data: User data to pass to @callback. 1566s # * 1566s # * Asynchronously invokes the SingleArgMethodN() D-Bus method on @proxy. 1566s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1566s # * You can then call org_project_useful_interface_call_single_arg_method_n_finish() to get the result of the operation. 1566s # * 1566s # * See org_project_useful_interface_call_single_arg_method_n_sync() for the synchronous, blocking version of this method. 1566s # */ 1566s # void 1566s # org_project_useful_interface_call_single_arg_method_n ( 1566s # OrgProjectUsefulInterface *proxy, 1566s # gint16 arg_arg_n, 1566s # GCancellable *cancellable, 1566s # GAsyncReadyCallback callback, 1566s # gpointer user_data) 1566s # { 1566s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1566s # "SingleArgMethodN", 1566s # g_variant_new ("(n)", 1566s # arg_arg_n), 1566s # G_DBUS_CALL_FLAGS_NONE, 1566s # -1, 1566s # cancellable, 1566s # callback, 1566s # user_data); 1566s # } 1566s # 1566s # /** 1566s # * org_project_useful_interface_call_single_arg_method_n_finish: 1566s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1566s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_n(). 1566s # * @error: Return location for error or %NULL. 1566s # * 1566s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_n(). 1566s # * 1566s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1566s # */ 1566s # gboolean 1566s # org_project_useful_interface_call_single_arg_method_n_finish ( 1566s # OrgProjectUsefulInterface *proxy, 1566s # GAsyncResult *res, 1566s # GError **error) 1566s # { 1566s # GVariant *_ret; 1566s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1566s # if (_ret == NULL) 1566s # goto _out; 1566s # g_variant_get (_ret, 1566s # "()"); 1566s # g_variant_unref (_ret); 1566s # _out: 1566s # return _ret != NULL; 1566s # } 1566s # 1566s # /** 1566s # * org_project_useful_interface_call_single_arg_method_n_sync: 1566s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1566s # * @arg_arg_n: Argument to pass with the method invocation. 1566s # * @cancellable: (nullable): A #GCancellable or %NULL. 1566s # * @error: Return location for error or %NULL. 1566s # * 1566s # * Synchronously invokes the SingleArgMethodN() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1566s # * 1566s # * See org_project_useful_interface_call_single_arg_method_n() for the asynchronous version of this method. 1566s # * 1566s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1566s # */ 1566s # gboolean 1566s # org_project_useful_interface_call_single_arg_method_n_sync ( 1566s # OrgProjectUsefulInterface *proxy, 1566s # gint16 arg_arg_n, 1566s # GCancellable *cancellable, 1566s # GError **error) 1566s # { 1566s # GVariant *_ret; 1566s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1566s # "SingleArgMethodN", 1566s # g_variant_new ("(n)", 1566s # arg_arg_n), 1566s # G_DBUS_CALL_FLAGS_NONE, 1566s # -1, 1566s # cancellable, 1566s # error); 1566s # if (_ret == NULL) 1566s # goto _out; 1566s # g_variant_get (_ret, 1566s # "()"); 1566s # g_variant_unref (_ret); 1566s # _out: 1566s # return _ret != NULL; 1566s # } 1566s # 1566s # /** 1566s # * org_project_useful_interface_complete_single_arg_method_n: 1566s # * @object: A #OrgProjectUsefulInterface. 1566s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1566s # * 1566s # * 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. 1566s # * 1566s # * This method will free @invocation, you cannot use it afterwards. 1566s # */ 1566s # void 1566s # org_project_useful_interface_complete_single_arg_method_n ( 1566s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1566s # GDBusMethodInvocation *invocation) 1566s # { 1566s # g_dbus_method_invocation_return_value (invocation, 1566s # g_variant_new ("()")); 1566s # } 1566s # 1566s # /* ------------------------------------------------------------------------ */ 1566s # 1566s # /** 1566s # * OrgProjectUsefulInterfaceProxy: 1566s # * 1566s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1566s # */ 1566s # 1566s # /** 1566s # * OrgProjectUsefulInterfaceProxyClass: 1566s # * @parent_class: The parent class. 1566s # * 1566s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1566s # */ 1566s # 1566s # struct _OrgProjectUsefulInterfaceProxyPrivate 1566s # { 1566s # GData *qdata; 1566s # }; 1566s # 1566s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1566s # 1566s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1566s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1566s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1566s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1566s # 1566s # #else 1566s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1566s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1566s # 1566s # #endif 1566s # static void 1566s # org_project_useful_interface_proxy_finalize (GObject *object) 1566s # { 1566s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1566s # g_datalist_clear (&proxy->priv->qdata); 1566s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1566s # } 1566s # 1566s # static void 1566s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1566s # guint prop_id G_GNUC_UNUSED, 1566s # GValue *value G_GNUC_UNUSED, 1566s # GParamSpec *pspec G_GNUC_UNUSED) 1566s # { 1566s # } 1566s # 1566s # static void 1566s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1566s # guint prop_id G_GNUC_UNUSED, 1566s # const GValue *value G_GNUC_UNUSED, 1566s # GParamSpec *pspec G_GNUC_UNUSED) 1566s # { 1566s # } 1566s # 1566s # static void 1566s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1566s # const gchar *sender_name G_GNUC_UNUSED, 1566s # const gchar *signal_name, 1566s # GVariant *parameters) 1566s # { 1566s # _ExtendedGDBusSignalInfo *info; 1566s # GVariantIter iter; 1566s # GVariant *child; 1566s # GValue *paramv; 1566s # gsize num_params; 1566s # gsize n; 1566s # guint signal_id; 1566s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1566s # if (info == NULL) 1566s # return; 1566s # num_params = g_variant_n_children (parameters); 1566s # paramv = g_new0 (GValue, num_params + 1); 1566s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1566s # g_value_set_object (¶mv[0], proxy); 1566s # g_variant_iter_init (&iter, parameters); 1566s # n = 1; 1566s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1566s # { 1566s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1566s # if (arg_info->use_gvariant) 1566s # { 1566s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1566s # g_value_set_variant (¶mv[n], child); 1566s # n++; 1566s # } 1566s # else 1566s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1566s # g_variant_unref (child); 1566s # } 1566s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1566s # g_signal_emitv (paramv, signal_id, 0, NULL); 1566s # for (n = 0; n < num_params + 1; n++) 1566s # g_value_unset (¶mv[n]); 1566s # g_free (paramv); 1566s # } 1566s # 1566s # static void 1566s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1566s # GVariant *changed_properties, 1566s # const gchar *const *invalidated_properties) 1566s # { 1566s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1566s # guint n; 1566s # const gchar *key; 1566s # GVariantIter *iter; 1566s # _ExtendedGDBusPropertyInfo *info; 1566s # g_variant_get (changed_properties, "a{sv}", &iter); 1566s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1566s # { 1566s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1566s # g_datalist_remove_data (&proxy->priv->qdata, key); 1566s # if (info != NULL) 1566s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1566s # } 1566s # g_variant_iter_free (iter); 1566s # for (n = 0; invalidated_properties[n] != NULL; n++) 1566s # { 1566s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1566s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1566s # if (info != NULL) 1566s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1566s # } 1566s # } 1566s # 1566s # static void 1566s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1566s # { 1566s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1566s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1566s # #else 1566s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1566s # #endif 1566s # 1566s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1566s # } 1566s # 1566s # static void 1566s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1566s # { 1566s # GObjectClass *gobject_class; 1566s # GDBusProxyClass *proxy_class; 1566s # 1566s # gobject_class = G_OBJECT_CLASS (klass); 1566s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1566s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1566s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1566s # 1566s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1566s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1566s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1566s # 1566s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1566s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1566s # #endif 1566s # } 1566s # 1566s # static void 1566s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1566s # { 1566s # } 1566s # 1566s # /** 1566s # * org_project_useful_interface_proxy_new: 1566s # * @connection: A #GDBusConnection. 1566s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1566s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1566s # * @object_path: An object path. 1566s # * @cancellable: (nullable): A #GCancellable or %NULL. 1566s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1566s # * @user_data: User data to pass to @callback. 1566s # * 1566s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1566s # * 1566s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1566s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1566s # * 1566s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1566s # */ 1566s # void 1566s # org_project_useful_interface_proxy_new ( 1566s # GDBusConnection *connection, 1566s # GDBusProxyFlags flags, 1566s # const gchar *name, 1566s # const gchar *object_path, 1566s # GCancellable *cancellable, 1566s # GAsyncReadyCallback callback, 1566s # gpointer user_data) 1566s # { 1566s # g_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); 1566s # } 1566s # 1566s # /** 1566s # * org_project_useful_interface_proxy_new_finish: 1566s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1566s # * @error: Return location for error or %NULL 1566s # * 1566s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1566s # * 1566s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1566s # */ 1566s # OrgProjectUsefulInterface * 1566s # org_project_useful_interface_proxy_new_finish ( 1566s # GAsyncResult *res, 1566s # GError **error) 1566s # { 1566s # GObject *ret; 1566s # GObject *source_object; 1566s # source_object = g_async_result_get_source_object (res); 1566s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1566s # g_object_unref (source_object); 1566s # if (ret != NULL) 1566s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1566s # else 1566s # return NULL; 1566s # } 1566s # 1566s # /** 1566s # * org_project_useful_interface_proxy_new_sync: 1566s # * @connection: A #GDBusConnection. 1566s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1566s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1566s # * @object_path: An object path. 1566s # * @cancellable: (nullable): A #GCancellable or %NULL. 1566s # * @error: Return location for error or %NULL 1566s # * 1566s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1566s # * 1566s # * The calling thread is blocked until a reply is received. 1566s # * 1566s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1566s # * 1566s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1566s # */ 1566s # OrgProjectUsefulInterface * 1566s # org_project_useful_interface_proxy_new_sync ( 1566s # GDBusConnection *connection, 1566s # GDBusProxyFlags flags, 1566s # const gchar *name, 1566s # const gchar *object_path, 1566s # GCancellable *cancellable, 1566s # GError **error) 1566s # { 1566s # GInitable *ret; 1566s # 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); 1566s # if (ret != NULL) 1566s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1566s # else 1566s # return NULL; 1566s # } 1566s # 1566s # 1566s # /** 1566s # * org_project_useful_interface_proxy_new_for_bus: 1566s # * @bus_type: A #GBusType. 1566s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1566s # * @name: A bus name (well-known or unique). 1566s # * @object_path: An object path. 1566s # * @cancellable: (nullable): A #GCancellable or %NULL. 1566s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1566s # * @user_data: User data to pass to @callback. 1566s # * 1566s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1566s # * 1566s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1566s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1566s # * 1566s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1566s # */ 1566s # void 1566s # org_project_useful_interface_proxy_new_for_bus ( 1566s # GBusType bus_type, 1566s # GDBusProxyFlags flags, 1566s # const gchar *name, 1566s # const gchar *object_path, 1566s # GCancellable *cancellable, 1566s # GAsyncReadyCallback callback, 1566s # gpointer user_data) 1566s # { 1566s # g_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); 1566s # } 1566s # 1566s # /** 1566s # * org_project_useful_interface_proxy_new_for_bus_finish: 1566s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1566s # * @error: Return location for error or %NULL 1566s # * 1566s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1566s # * 1566s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1566s # */ 1566s # OrgProjectUsefulInterface * 1566s # org_project_useful_interface_proxy_new_for_bus_finish ( 1566s # GAsyncResult *res, 1566s # GError **error) 1566s # { 1566s # GObject *ret; 1566s # GObject *source_object; 1566s # source_object = g_async_result_get_source_object (res); 1566s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1566s # g_object_unref (source_object); 1566s # if (ret != NULL) 1566s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1566s # else 1566s # return NULL; 1566s # } 1566s # 1566s # /** 1566s # * org_project_useful_interface_proxy_new_for_bus_sync: 1566s # * @bus_type: A #GBusType. 1566s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1566s # * @name: A bus name (well-known or unique). 1566s # * @object_path: An object path. 1566s # * @cancellable: (nullable): A #GCancellable or %NULL. 1566s # * @error: Return location for error or %NULL 1566s # * 1566s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1566s # * 1566s # * The calling thread is blocked until a reply is received. 1566s # * 1566s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1566s # * 1566s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1566s # */ 1566s # OrgProjectUsefulInterface * 1566s # org_project_useful_interface_proxy_new_for_bus_sync ( 1566s # GBusType bus_type, 1566s # GDBusProxyFlags flags, 1566s # const gchar *name, 1566s # const gchar *object_path, 1566s # GCancellable *cancellable, 1566s # GError **error) 1566s # { 1566s # GInitable *ret; 1566s # 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); 1566s # if (ret != NULL) 1566s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1566s # else 1566s # return NULL; 1566s # } 1566s # 1566s # 1566s # /* ------------------------------------------------------------------------ */ 1566s # 1566s # /** 1566s # * OrgProjectUsefulInterfaceSkeleton: 1566s # * 1566s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1566s # */ 1566s # 1566s # /** 1566s # * OrgProjectUsefulInterfaceSkeletonClass: 1566s # * @parent_class: The parent class. 1566s # * 1566s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1566s # */ 1566s # 1566s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1566s # { 1566s # GValue *properties; 1566s # GList *changed_properties; 1566s # GSource *changed_properties_idle_source; 1566s # GMainContext *context; 1566s # GMutex lock; 1566s # }; 1566s # 1566s # static void 1566s # _org_project_useful_interface_skeleton_handle_method_call ( 1566s # GDBusConnection *connection G_GNUC_UNUSED, 1566s # const gchar *sender G_GNUC_UNUSED, 1566s # const gchar *object_path G_GNUC_UNUSED, 1566s # const gchar *interface_name, 1566s # const gchar *method_name, 1566s # GVariant *parameters, 1566s # GDBusMethodInvocation *invocation, 1566s # gpointer user_data) 1566s # { 1566s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1566s # _ExtendedGDBusMethodInfo *info; 1566s # GVariantIter iter; 1566s # GVariant *child; 1566s # GValue *paramv; 1566s # gsize num_params; 1566s # guint num_extra; 1566s # gsize n; 1566s # guint signal_id; 1566s # GValue return_value = G_VALUE_INIT; 1566s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1566s # g_assert (info != NULL); 1566s # num_params = g_variant_n_children (parameters); 1566s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1566s # n = 0; 1566s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1566s # g_value_set_object (¶mv[n++], skeleton); 1566s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1566s # g_value_set_object (¶mv[n++], invocation); 1566s # if (info->pass_fdlist) 1566s # { 1566s # #ifdef G_OS_UNIX 1566s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1566s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1566s # #else 1566s # g_assert_not_reached (); 1566s # #endif 1566s # } 1566s # g_variant_iter_init (&iter, parameters); 1566s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1566s # { 1566s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1566s # if (arg_info->use_gvariant) 1566s # { 1566s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1566s # g_value_set_variant (¶mv[n], child); 1566s # n++; 1566s # } 1566s # else 1566s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1566s # g_variant_unref (child); 1566s # } 1566s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1566s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1566s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1566s # if (!g_value_get_boolean (&return_value)) 1566s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1566s # g_value_unset (&return_value); 1566s # for (n = 0; n < num_params + num_extra; n++) 1566s # g_value_unset (¶mv[n]); 1566s # g_free (paramv); 1566s # } 1566s # 1566s # static GVariant * 1566s # _org_project_useful_interface_skeleton_handle_get_property ( 1566s # GDBusConnection *connection G_GNUC_UNUSED, 1566s # const gchar *sender G_GNUC_UNUSED, 1566s # const gchar *object_path G_GNUC_UNUSED, 1566s # const gchar *interface_name G_GNUC_UNUSED, 1566s # const gchar *property_name, 1566s # GError **error, 1566s # gpointer user_data) 1566s # { 1566s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1566s # GValue value = G_VALUE_INIT; 1566s # GParamSpec *pspec; 1566s # _ExtendedGDBusPropertyInfo *info; 1566s # GVariant *ret; 1566s # ret = NULL; 1566s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1566s # g_assert (info != NULL); 1566s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1566s # if (pspec == NULL) 1566s # { 1566s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1566s # } 1566s # else 1566s # { 1566s # g_value_init (&value, pspec->value_type); 1566s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1566s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1566s # g_value_unset (&value); 1566s # } 1566s # return ret; 1566s # } 1566s # 1566s # static gboolean 1566s # _org_project_useful_interface_skeleton_handle_set_property ( 1566s # GDBusConnection *connection G_GNUC_UNUSED, 1566s # const gchar *sender G_GNUC_UNUSED, 1566s # const gchar *object_path G_GNUC_UNUSED, 1566s # const gchar *interface_name G_GNUC_UNUSED, 1566s # const gchar *property_name, 1566s # GVariant *variant, 1566s # GError **error, 1566s # gpointer user_data) 1566s # { 1566s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1566s # GValue value = G_VALUE_INIT; 1566s # GParamSpec *pspec; 1566s # _ExtendedGDBusPropertyInfo *info; 1566s # gboolean ret; 1566s # ret = FALSE; 1566s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1566s # g_assert (info != NULL); 1566s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1566s # if (pspec == NULL) 1566s # { 1566s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1566s # } 1566s # else 1566s # { 1566s # if (info->use_gvariant) 1566s # g_value_set_variant (&value, variant); 1566s # else 1566s # g_dbus_gvariant_to_gvalue (variant, &value); 1566s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1566s # g_value_unset (&value); 1566s # ret = TRUE; 1566s # } 1566s # return ret; 1566s # } 1566s # 1566s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1566s # { 1566s # _org_project_useful_interface_skeleton_handle_method_call, 1566s # _org_project_useful_interface_skeleton_handle_get_property, 1566s # _org_project_useful_interface_skeleton_handle_set_property, 1566s # {NULL} 1566s # }; 1566s # 1566s # static GDBusInterfaceInfo * 1566s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1566s # { 1566s # return org_project_useful_interface_interface_info (); 1566s # } 1566s # 1566s # static GDBusInterfaceVTable * 1566s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1566s # { 1566s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1566s # } 1566s # 1566s # static GVariant * 1566s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1566s # { 1566s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1566s # 1566s # GVariantBuilder builder; 1566s # guint n; 1566s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1566s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1566s # goto out; 1566s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1566s # { 1566s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1566s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1566s # { 1566s # GVariant *value; 1566s # 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); 1566s # if (value != NULL) 1566s # { 1566s # g_variant_take_ref (value); 1566s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1566s # g_variant_unref (value); 1566s # } 1566s # } 1566s # } 1566s # out: 1566s # return g_variant_builder_end (&builder); 1566s # } 1566s # 1566s # static void 1566s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1566s # { 1566s # } 1566s # 1566s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1566s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1566s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1566s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1566s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1566s # 1566s # #else 1566s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1566s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1566s # 1566s # #endif 1566s # static void 1566s # org_project_useful_interface_skeleton_finalize (GObject *object) 1566s # { 1566s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1566s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1566s # if (skeleton->priv->changed_properties_idle_source != NULL) 1566s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1566s # g_main_context_unref (skeleton->priv->context); 1566s # g_mutex_clear (&skeleton->priv->lock); 1566s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1566s # } 1566s # 1566s # static void 1566s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1566s # { 1566s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1566s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1566s # #else 1566s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1566s # #endif 1566s # 1566s # g_mutex_init (&skeleton->priv->lock); 1566s # skeleton->priv->context = g_main_context_ref_thread_default (); 1566s # } 1566s # 1566s # static void 1566s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1566s # { 1566s # GObjectClass *gobject_class; 1566s # GDBusInterfaceSkeletonClass *skeleton_class; 1566s # 1566s # gobject_class = G_OBJECT_CLASS (klass); 1566s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1566s # 1566s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1566s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1566s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1566s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1566s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1566s # 1566s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1566s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1566s # #endif 1566s # } 1566s # 1566s # static void 1566s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1566s # { 1566s # } 1566s # 1566s # /** 1566s # * org_project_useful_interface_skeleton_new: 1566s # * 1566s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1566s # * 1566s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1566s # */ 1566s # OrgProjectUsefulInterface * 1566s # org_project_useful_interface_skeleton_new (void) 1566s # { 1566s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1566s # } 1566s # /tmp/tmppzwln7e0/tmpnb1zs4sd.xml: 1566s # 1566s # 1566s # 1566s # 1566s # 1566s # 1566s # 1566s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmppzwln7e0/tmpnb1zs4sd.xml', '--output', '-', '--body'] 1566s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-baqskmurxn,guid=fbaffe99d0ccb1f6e1beb84865fc01cd', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.YcZbqk/autopkgtest_tmp', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.YcZbqk/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.YcZbqk/autopkgtest_tmp', 'TERM': 'unknown', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.YcZbqk/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.sVTVMp0Db0', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.rqZsJO/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.YcZbqk/wrapper.sh --artifacts=/tmp/autopkgtest.YcZbqk/installed-tests-artifacts --chdir=/tmp/autopkgtest.YcZbqk/build.S0E/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.YcZbqk/installed-tests-stderr --stdout=/tmp/autopkgtest.YcZbqk/installed-tests-stdout --tmp=/tmp/autopkgtest.YcZbqk/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2' --make-executable=/tmp/autopkgtest.YcZbqk/build.S0E/src/debian/tests/installed-tests -- /tmp/autopkgtest.YcZbqk/build.S0E/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.YcZbqk/build.S0E/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.YcZbqk/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1566s # Output: /* 1566s # * This file is generated by gdbus-codegen, do not modify it. 1566s # * 1566s # * The license of this code is the same as for the D-Bus interface description 1566s # * it was derived from. Note that it links to GLib, so must comply with the 1566s # * LGPL linking clauses. 1566s # */ 1566s # 1566s # #ifdef HAVE_CONFIG_H 1566s # # include "config.h" 1566s # #endif 1566s # 1566s # #include 1566s # #ifdef G_OS_UNIX 1566s # # include 1566s # #endif 1566s # 1566s # #ifdef G_ENABLE_DEBUG 1566s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1566s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1566s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1566s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1566s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1566s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1566s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1566s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1566s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1566s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1566s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1566s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1566s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1566s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1566s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1566s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1566s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1566s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1566s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1566s # #else /* !G_ENABLE_DEBUG */ 1566s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1566s # * Do not access GValues directly in your code. Instead, use the 1566s # * g_value_get_*() functions 1566s # */ 1566s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1566s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1566s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1566s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1566s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1566s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1566s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1566s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1566s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1566s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1566s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1566s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1566s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1566s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1566s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1566s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1566s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1566s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1566s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1566s # #endif /* !G_ENABLE_DEBUG */ 1566s # 1566s # typedef struct 1566s # { 1566s # GDBusArgInfo parent_struct; 1566s # gboolean use_gvariant; 1566s # } _ExtendedGDBusArgInfo; 1566s # 1566s # typedef struct 1566s # { 1566s # GDBusMethodInfo parent_struct; 1566s # const gchar *signal_name; 1566s # gboolean pass_fdlist; 1566s # } _ExtendedGDBusMethodInfo; 1566s # 1566s # typedef struct 1566s # { 1566s # GDBusSignalInfo parent_struct; 1566s # const gchar *signal_name; 1566s # } _ExtendedGDBusSignalInfo; 1566s # 1566s # typedef struct 1566s # { 1566s # GDBusPropertyInfo parent_struct; 1566s # const gchar *hyphen_name; 1566s # guint use_gvariant : 1; 1566s # guint emits_changed_signal : 1; 1566s # } _ExtendedGDBusPropertyInfo; 1566s # 1566s # typedef struct 1566s # { 1566s # GDBusInterfaceInfo parent_struct; 1566s # const gchar *hyphen_name; 1566s # } _ExtendedGDBusInterfaceInfo; 1566s # 1566s # typedef struct 1566s # { 1566s # const _ExtendedGDBusPropertyInfo *info; 1566s # guint prop_id; 1566s # GValue orig_value; /* the value before the change */ 1566s # } ChangedProperty; 1566s # 1566s # static void 1566s # _changed_property_free (ChangedProperty *data) 1566s # { 1566s # g_value_unset (&data->orig_value); 1566s # g_free (data); 1566s # } 1566s # 1566s # static gboolean 1566s # _g_strv_equal0 (gchar **a, gchar **b) 1566s # { 1566s # gboolean ret = FALSE; 1566s # guint n; 1566s # if (a == NULL && b == NULL) 1566s # { 1566s # ret = TRUE; 1566s # goto out; 1566s # } 1566s # if (a == NULL || b == NULL) 1566s # goto out; 1566s # if (g_strv_length (a) != g_strv_length (b)) 1566s # goto out; 1566s # for (n = 0; a[n] != NULL; n++) 1566s # if (g_strcmp0 (a[n], b[n]) != 0) 1566s # goto out; 1566s # ret = TRUE; 1566s # out: 1566s # return ret; 1566s # } 1566s # 1566s # static gboolean 1566s # _g_variant_equal0 (GVariant *a, GVariant *b) 1566s # { 1566s # gboolean ret = FALSE; 1566s # if (a == NULL && b == NULL) 1566s # { 1566s # ret = TRUE; 1566s # goto out; 1566s # } 1566s # if (a == NULL || b == NULL) 1566s # goto out; 1566s # ret = g_variant_equal (a, b); 1566s # out: 1566s # return ret; 1566s # } 1566s # 1566s # G_GNUC_UNUSED static gboolean 1566s # _g_value_equal (const GValue *a, const GValue *b) 1566s # { 1566s # gboolean ret = FALSE; 1566s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1566s # switch (G_VALUE_TYPE (a)) 1566s # { 1566s # case G_TYPE_BOOLEAN: 1566s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1566s # break; 1566s # case G_TYPE_UCHAR: 1566s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1566s # break; 1566s # case G_TYPE_INT: 1566s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1566s # break; 1566s # case G_TYPE_UINT: 1566s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1566s # break; 1566s # case G_TYPE_INT64: 1566s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1566s # break; 1566s # case G_TYPE_UINT64: 1566s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1566s # break; 1566s # case G_TYPE_DOUBLE: 1566s # { 1566s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1566s # gdouble da = g_value_get_double (a); 1566s # gdouble db = g_value_get_double (b); 1566s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1566s # } 1566s # break; 1566s # case G_TYPE_STRING: 1566s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1566s # break; 1566s # case G_TYPE_VARIANT: 1566s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1566s # break; 1566s # default: 1566s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1566s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1566s # else 1566s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1566s # break; 1566s # } 1566s # return ret; 1566s # } 1566s # 1566s # static void 1566s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_UINT ( 1566s # GClosure *closure, 1566s # GValue *return_value, 1566s # unsigned int n_param_values, 1566s # const GValue *param_values, 1566s # void *invocation_hint G_GNUC_UNUSED, 1566s # void *marshal_data) 1566s # { 1566s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectUintFunc) 1566s # (void *data1, 1566s # GDBusMethodInvocation *arg_method_invocation, 1566s # guint16 arg_arg_q, 1566s # void *data2); 1566s # _GDbusCodegenMarshalBoolean_ObjectUintFunc callback; 1566s # GCClosure *cc = (GCClosure*) closure; 1566s # void *data1, *data2; 1566s # gboolean v_return; 1566s # 1566s # g_return_if_fail (return_value != NULL); 1566s # g_return_if_fail (n_param_values == 3); 1566s # 1566s # if (G_CCLOSURE_SWAP_DATA (closure)) 1566s # { 1566s # data1 = closure->data; 1566s # data2 = g_value_peek_pointer (param_values + 0); 1566s # } 1566s # else 1566s # { 1566s # data1 = g_value_peek_pointer (param_values + 0); 1566s # data2 = closure->data; 1566s # } 1566s # 1566s # callback = (_GDbusCodegenMarshalBoolean_ObjectUintFunc) 1566s # (marshal_data ? marshal_data : cc->callback); 1566s # 1566s # v_return = 1566s # callback (data1, 1566s # g_marshal_value_peek_object (param_values + 1), 1566s # g_marshal_value_peek_uint (param_values + 2), 1566s # data2); 1566s # 1566s # g_value_set_boolean (return_value, v_return); 1566s # } 1566s # 1566s # /* ------------------------------------------------------------------------ 1566s # * Code for interface org.project.UsefulInterface 1566s # * ------------------------------------------------------------------------ 1566s # */ 1566s # 1566s # /** 1566s # * SECTION:OrgProjectUsefulInterface 1566s # * @title: OrgProjectUsefulInterface 1566s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1566s # * 1566s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1566s # */ 1566s # 1566s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1566s # 1566s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_q_IN_ARG_arg_q = 1566s # { 1566s # { 1566s # -1, 1566s # (gchar *) "arg_q", 1566s # (gchar *) "q", 1566s # NULL 1566s # }, 1566s # FALSE 1566s # }; 1566s # 1566s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_q_IN_ARG_pointers[] = 1566s # { 1566s # &_org_project_useful_interface_method_info_single_arg_method_q_IN_ARG_arg_q.parent_struct, 1566s # NULL 1566s # }; 1566s # 1566s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_q = 1566s # { 1566s # { 1566s # -1, 1566s # (gchar *) "SingleArgMethodQ", 1566s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_q_IN_ARG_pointers, 1566s # NULL, 1566s # NULL 1566s # }, 1566s # "handle-single-arg-method-q", 1566s # FALSE 1566s # }; 1566s # 1566s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1566s # { 1566s # &_org_project_useful_interface_method_info_single_arg_method_q.parent_struct, 1566s # NULL 1566s # }; 1566s # 1566s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1566s # { 1566s # { 1566s # -1, 1566s # (gchar *) "org.project.UsefulInterface", 1566s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1566s # NULL, 1566s # NULL, 1566s # NULL 1566s # }, 1566s # "org-project-useful-interface", 1566s # }; 1566s # 1566s # 1566s # /** 1566s # * org_project_useful_interface_interface_info: 1566s # * 1566s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1566s # * 1566s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1566s # */ 1566s # GDBusInterfaceInfo * 1566s # org_project_useful_interface_interface_info (void) 1566s # { 1566s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1566s # } 1566s # 1566s # /** 1566s # * org_project_useful_interface_override_properties: 1566s # * @klass: The class structure for a #GObject derived class. 1566s # * @property_id_begin: The property id to assign to the first overridden property. 1566s # * 1566s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1566s # * The properties are overridden in the order they are defined. 1566s # * 1566s # * Returns: The last property id. 1566s # */ 1566s # guint 1566s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1566s # { 1566s # return property_id_begin - 1; 1566s # } 1566s # 1566s # 1566s # inline static void 1566s # org_project_useful_interface_method_marshal_single_arg_method_q ( 1566s # GClosure *closure, 1566s # GValue *return_value, 1566s # unsigned int n_param_values, 1566s # const GValue *param_values, 1566s # void *invocation_hint, 1566s # void *marshal_data) 1566s # { 1566s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_UINT (closure, 1566s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1566s # } 1566s # 1566s # 1566s # /** 1566s # * OrgProjectUsefulInterface: 1566s # * 1566s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1566s # */ 1566s # 1566s # /** 1566s # * OrgProjectUsefulInterfaceIface: 1566s # * @parent_iface: The parent interface. 1566s # * @handle_single_arg_method_q: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-q signal. 1566s # * 1566s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1566s # */ 1566s # 1566s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1566s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1566s # 1566s # static void 1566s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1566s # { 1566s # /* GObject signals for incoming D-Bus method calls: */ 1566s # /** 1566s # * OrgProjectUsefulInterface::handle-single-arg-method-q: 1566s # * @object: A #OrgProjectUsefulInterface. 1566s # * @invocation: A #GDBusMethodInvocation. 1566s # * @arg_arg_q: Argument passed by remote caller. 1566s # * 1566s # * Signal emitted when a remote caller is invoking the SingleArgMethodQ() D-Bus method. 1566s # * 1566s # * 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. 1566s # * 1566s # * 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. 1566s # */ 1566s # g_signal_new ("handle-single-arg-method-q", 1566s # G_TYPE_FROM_INTERFACE (iface), 1566s # G_SIGNAL_RUN_LAST, 1566s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_q), 1566s # g_signal_accumulator_true_handled, 1566s # NULL, 1566s # org_project_useful_interface_method_marshal_single_arg_method_q, 1566s # G_TYPE_BOOLEAN, 1566s # 2, 1566s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_UINT); 1566s # 1566s # } 1566s # 1566s # /** 1566s # * org_project_useful_interface_call_single_arg_method_q: 1566s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1566s # * @arg_arg_q: Argument to pass with the method invocation. 1566s # * @cancellable: (nullable): A #GCancellable or %NULL. 1566s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1566s # * @user_data: User data to pass to @callback. 1566s # * 1566s # * Asynchronously invokes the SingleArgMethodQ() D-Bus method on @proxy. 1566s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1566s # * You can then call org_project_useful_interface_call_single_arg_method_q_finish() to get the result of the operation. 1566s # * 1566s # * See org_project_useful_interface_call_single_arg_method_q_sync() for the synchronous, blocking version of this method. 1566s # */ 1566s # void 1566s # org_project_useful_interface_call_single_arg_method_q ( 1566s # OrgProjectUsefulInterface *proxy, 1566s # guint16 arg_arg_q, 1566s # GCancellable *cancellable, 1566s # GAsyncReadyCallback callback, 1566s # gpointer user_data) 1566s # { 1566s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1566s # "SingleArgMethodQ", 1566s # g_variant_new ("(q)", 1566s # arg_arg_q), 1566s # G_DBUS_CALL_FLAGS_NONE, 1566s # -1, 1566s # cancellable, 1566s # callback, 1566s # user_data); 1566s # } 1566s # 1566s # /** 1566s # * org_project_useful_interface_call_single_arg_method_q_finish: 1566s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1566s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_q(). 1566s # * @error: Return location for error or %NULL. 1566s # * 1566s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_q(). 1566s # * 1566s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1566s # */ 1566s # gboolean 1566s # org_project_useful_interface_call_single_arg_method_q_finish ( 1566s # OrgProjectUsefulInterface *proxy, 1566s # GAsyncResult *res, 1566s # GError **error) 1566s # { 1566s # GVariant *_ret; 1566s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1566s # if (_ret == NULL) 1566s # goto _out; 1566s # g_variant_get (_ret, 1566s # "()"); 1566s # g_variant_unref (_ret); 1566s # _out: 1566s # return _ret != NULL; 1566s # } 1566s # 1566s # /** 1566s # * org_project_useful_interface_call_single_arg_method_q_sync: 1566s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1566s # * @arg_arg_q: Argument to pass with the method invocation. 1566s # * @cancellable: (nullable): A #GCancellable or %NULL. 1566s # * @error: Return location for error or %NULL. 1566s # * 1566s # * Synchronously invokes the SingleArgMethodQ() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1566s # * 1566s # * See org_project_useful_interface_call_single_arg_method_q() for the asynchronous version of this method. 1566s # * 1566s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1566s # */ 1566s # gboolean 1566s # org_project_useful_interface_call_single_arg_method_q_sync ( 1566s # OrgProjectUsefulInterface *proxy, 1566s # guint16 arg_arg_q, 1566s # GCancellable *cancellable, 1566s # GError **error) 1566s # { 1566s # GVariant *_ret; 1566s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1566s # "SingleArgMethodQ", 1566s # g_variant_new ("(q)", 1566s # arg_arg_q), 1566s # G_DBUS_CALL_FLAGS_NONE, 1566s # -1, 1566s # cancellable, 1566s # error); 1566s # if (_ret == NULL) 1566s # goto _out; 1566s # g_variant_get (_ret, 1566s # "()"); 1566s # g_variant_unref (_ret); 1566s # _out: 1566s # return _ret != NULL; 1566s # } 1566s # 1566s # /** 1566s # * org_project_useful_interface_complete_single_arg_method_q: 1566s # * @object: A #OrgProjectUsefulInterface. 1566s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1566s # * 1566s # * 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. 1566s # * 1566s # * This method will free @invocation, you cannot use it afterwards. 1566s # */ 1566s # void 1566s # org_project_useful_interface_complete_single_arg_method_q ( 1566s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1566s # GDBusMethodInvocation *invocation) 1566s # { 1566s # g_dbus_method_invocation_return_value (invocation, 1566s # g_variant_new ("()")); 1566s # } 1566s # 1566s # /* ------------------------------------------------------------------------ */ 1566s # 1566s # /** 1566s # * OrgProjectUsefulInterfaceProxy: 1566s # * 1566s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1566s # */ 1566s # 1566s # /** 1566s # * OrgProjectUsefulInterfaceProxyClass: 1566s # * @parent_class: The parent class. 1566s # * 1566s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1566s # */ 1566s # 1566s # struct _OrgProjectUsefulInterfaceProxyPrivate 1566s # { 1566s # GData *qdata; 1566s # }; 1566s # 1566s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1566s # 1566s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1566s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1566s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1566s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1566s # 1566s # #else 1566s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1566s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1566s # 1566s # #endif 1566s # static void 1566s # org_project_useful_interface_proxy_finalize (GObject *object) 1566s # { 1566s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1566s # g_datalist_clear (&proxy->priv->qdata); 1566s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1566s # } 1566s # 1566s # static void 1566s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1566s # guint prop_id G_GNUC_UNUSED, 1566s # GValue *value G_GNUC_UNUSED, 1566s # GParamSpec *pspec G_GNUC_UNUSED) 1566s # { 1566s # } 1566s # 1566s # static void 1566s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1566s # guint prop_id G_GNUC_UNUSED, 1566s # const GValue *value G_GNUC_UNUSED, 1566s # GParamSpec *pspec G_GNUC_UNUSED) 1566s # { 1566s # } 1566s # 1566s # static void 1566s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1566s # const gchar *sender_name G_GNUC_UNUSED, 1566s # const gchar *signal_name, 1566s # GVariant *parameters) 1566s # { 1566s # _ExtendedGDBusSignalInfo *info; 1566s # GVariantIter iter; 1566s # GVariant *child; 1566s # GValue *paramv; 1566s # gsize num_params; 1566s # gsize n; 1566s # guint signal_id; 1566s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1566s # if (info == NULL) 1566s # return; 1566s # num_params = g_variant_n_children (parameters); 1566s # paramv = g_new0 (GValue, num_params + 1); 1566s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1566s # g_value_set_object (¶mv[0], proxy); 1566s # g_variant_iter_init (&iter, parameters); 1566s # n = 1; 1566s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1566s # { 1566s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1566s # if (arg_info->use_gvariant) 1566s # { 1566s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1566s # g_value_set_variant (¶mv[n], child); 1566s # n++; 1566s # } 1566s # else 1566s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1566s # g_variant_unref (child); 1566s # } 1566s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1566s # g_signal_emitv (paramv, signal_id, 0, NULL); 1566s # for (n = 0; n < num_params + 1; n++) 1566s # g_value_unset (¶mv[n]); 1566s # g_free (paramv); 1566s # } 1566s # 1566s # static void 1566s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1566s # GVariant *changed_properties, 1566s # const gchar *const *invalidated_properties) 1566s # { 1566s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1566s # guint n; 1566s # const gchar *key; 1566s # GVariantIter *iter; 1566s # _ExtendedGDBusPropertyInfo *info; 1566s # g_variant_get (changed_properties, "a{sv}", &iter); 1566s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1566s # { 1566s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1566s # g_datalist_remove_data (&proxy->priv->qdata, key); 1566s # if (info != NULL) 1566s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1566s # } 1566s # g_variant_iter_free (iter); 1566s # for (n = 0; invalidated_properties[n] != NULL; n++) 1566s # { 1566s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1566s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1566s # if (info != NULL) 1566s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1566s # } 1566s # } 1566s # 1566s # static void 1566s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1566s # { 1566s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1566s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1566s # #else 1566s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1566s # #endif 1566s # 1566s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1566s # } 1566s # 1566s # static void 1566s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1566s # { 1566s # GObjectClass *gobject_class; 1566s # GDBusProxyClass *proxy_class; 1566s # 1566s # gobject_class = G_OBJECT_CLASS (klass); 1566s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1566s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1566s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1566s # 1566s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1566s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1566s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1566s # 1566s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1566s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1566s # #endif 1566s # } 1566s # 1566s # static void 1566s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1566s # { 1566s # } 1566s # 1566s # /** 1566s # * org_project_useful_interface_proxy_new: 1566s # * @connection: A #GDBusConnection. 1566s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1566s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1566s # * @object_path: An object path. 1566s # * @cancellable: (nullable): A #GCancellable or %NULL. 1566s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1566s # * @user_data: User data to pass to @callback. 1566s # * 1566s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1566s # * 1566s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1566s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1566s # * 1566s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1566s # */ 1566s # void 1566s # org_project_useful_interface_proxy_new ( 1566s # GDBusConnection *connection, 1566s # GDBusProxyFlags flags, 1566s # const gchar *name, 1566s # const gchar *object_path, 1566s # GCancellable *cancellable, 1566s # GAsyncReadyCallback callback, 1566s # gpointer user_data) 1566s # { 1566s # g_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); 1566s # } 1566s # 1566s # /** 1566s # * org_project_useful_interface_proxy_new_finish: 1566s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1566s # * @error: Return location for error or %NULL 1566s # * 1566s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1566s # * 1566s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1566s # */ 1566s # OrgProjectUsefulInterface * 1566s # org_project_useful_interface_proxy_new_finish ( 1566s # GAsyncResult *res, 1566s # GError **error) 1566s # { 1566s # GObject *ret; 1566s # GObject *source_object; 1566s # source_object = g_async_result_get_source_object (res); 1566s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1566s # g_object_unref (source_object); 1566s # if (ret != NULL) 1566s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1566s # else 1566s # return NULL; 1566s # } 1566s # 1566s # /** 1566s # * org_project_useful_interface_proxy_new_sync: 1566s # * @connection: A #GDBusConnection. 1566s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1566s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1566s # * @object_path: An object path. 1566s # * @cancellable: (nullable): A #GCancellable or %NULL. 1566s # * @error: Return location for error or %NULL 1566s # * 1566s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1566s # * 1566s # * The calling thread is blocked until a reply is received. 1566s # * 1566s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1566s # * 1566s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1566s # */ 1566s # OrgProjectUsefulInterface * 1566s # org_project_useful_interface_proxy_new_sync ( 1566s # GDBusConnection *connection, 1566s # GDBusProxyFlags flags, 1566s # const gchar *name, 1566s # const gchar *object_path, 1566s # GCancellable *cancellable, 1566s # GError **error) 1566s # { 1566s # GInitable *ret; 1566s # 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); 1566s # if (ret != NULL) 1566s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1566s # else 1566s # return NULL; 1566s # } 1566s # 1566s # 1566s # /** 1566s # * org_project_useful_interface_proxy_new_for_bus: 1566s # * @bus_type: A #GBusType. 1566s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1566s # * @name: A bus name (well-known or unique). 1566s # * @object_path: An object path. 1566s # * @cancellable: (nullable): A #GCancellable or %NULL. 1566s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1566s # * @user_data: User data to pass to @callback. 1566s # * 1566s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1566s # * 1566s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1566s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1566s # * 1566s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1566s # */ 1566s # void 1566s # org_project_useful_interface_proxy_new_for_bus ( 1566s # GBusType bus_type, 1566s # GDBusProxyFlags flags, 1566s # const gchar *name, 1566s # const gchar *object_path, 1566s # GCancellable *cancellable, 1566s # GAsyncReadyCallback callback, 1566s # gpointer user_data) 1566s # { 1566s # g_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); 1566s # } 1566s # 1566s # /** 1566s # * org_project_useful_interface_proxy_new_for_bus_finish: 1566s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1566s # * @error: Return location for error or %NULL 1566s # * 1566s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1566s # * 1566s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1566s # */ 1566s # OrgProjectUsefulInterface * 1566s # org_project_useful_interface_proxy_new_for_bus_finish ( 1566s # GAsyncResult *res, 1566s # GError **error) 1566s # { 1566s # GObject *ret; 1566s # GObject *source_object; 1566s # source_object = g_async_result_get_source_object (res); 1566s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1566s # g_object_unref (source_object); 1566s # if (ret != NULL) 1566s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1566s # else 1566s # return NULL; 1566s # } 1566s # 1566s # /** 1566s # * org_project_useful_interface_proxy_new_for_bus_sync: 1566s # * @bus_type: A #GBusType. 1566s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1566s # * @name: A bus name (well-known or unique). 1566s # * @object_path: An object path. 1566s # * @cancellable: (nullable): A #GCancellable or %NULL. 1566s # * @error: Return location for error or %NULL 1566s # * 1566s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1566s # * 1566s # * The calling thread is blocked until a reply is received. 1566s # * 1566s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1566s # * 1566s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1566s # */ 1566s # OrgProjectUsefulInterface * 1566s # org_project_useful_interface_proxy_new_for_bus_sync ( 1566s # GBusType bus_type, 1566s # GDBusProxyFlags flags, 1566s # const gchar *name, 1566s # const gchar *object_path, 1566s # GCancellable *cancellable, 1566s # GError **error) 1566s # { 1566s # GInitable *ret; 1566s # 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); 1566s # if (ret != NULL) 1566s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1566s # else 1566s # return NULL; 1566s # } 1566s # 1566s # 1566s # /* ------------------------------------------------------------------------ */ 1566s # 1566s # /** 1566s # * OrgProjectUsefulInterfaceSkeleton: 1566s # * 1566s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1566s # */ 1566s # 1566s # /** 1566s # * OrgProjectUsefulInterfaceSkeletonClass: 1566s # * @parent_class: The parent class. 1566s # * 1566s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1566s # */ 1566s # 1566s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1566s # { 1566s # GValue *properties; 1566s # GList *changed_properties; 1566s # GSource *changed_properties_idle_source; 1566s # GMainContext *context; 1566s # GMutex lock; 1566s # }; 1566s # 1566s # static void 1566s # _org_project_useful_interface_skeleton_handle_method_call ( 1566s # GDBusConnection *connection G_GNUC_UNUSED, 1566s # const gchar *sender G_GNUC_UNUSED, 1566s # const gchar *object_path G_GNUC_UNUSED, 1566s # const gchar *interface_name, 1566s # const gchar *method_name, 1566s # GVariant *parameters, 1566s # GDBusMethodInvocation *invocation, 1566s # gpointer user_data) 1566s # { 1566s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1566s # _ExtendedGDBusMethodInfo *info; 1566s # GVariantIter iter; 1566s # GVariant *child; 1566s # GValue *paramv; 1566s # gsize num_params; 1566s # guint num_extra; 1566s # gsize n; 1566s # guint signal_id; 1566s # GValue return_value = G_VALUE_INIT; 1566s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1566s # g_assert (info != NULL); 1566s # num_params = g_variant_n_children (parameters); 1566s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1566s # n = 0; 1566s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1566s # g_value_set_object (¶mv[n++], skeleton); 1566s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1566s # g_value_set_object (¶mv[n++], invocation); 1566s # if (info->pass_fdlist) 1566s # { 1566s # #ifdef G_OS_UNIX 1566s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1566s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1566s # #else 1566s # g_assert_not_reached (); 1566s # #endif 1566s # } 1566s # g_variant_iter_init (&iter, parameters); 1566s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1566s # { 1566s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1566s # if (arg_info->use_gvariant) 1566s # { 1566s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1566s # g_value_set_variant (¶mv[n], child); 1566s # n++; 1566s # } 1566s # else 1566s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1566s # g_variant_unref (child); 1566s # } 1566s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1566s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1566s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1566s # if (!g_value_get_boolean (&return_value)) 1566s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1566s # g_value_unset (&return_value); 1566s # for (n = 0; n < num_params + num_extra; n++) 1566s # g_value_unset (¶mv[n]); 1566s # g_free (paramv); 1566s # } 1566s # 1566s # static GVariant * 1566s # _org_project_useful_interface_skeleton_handle_get_property ( 1566s # GDBusConnection *connection G_GNUC_UNUSED, 1566s # const gchar *sender G_GNUC_UNUSED, 1566s # const gchar *object_path G_GNUC_UNUSED, 1566s # const gchar *interface_name G_GNUC_UNUSED, 1566s # const gchar *property_name, 1566s # GError **error, 1566s # gpointer user_data) 1566s # { 1566s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1566s # GValue value = G_VALUE_INIT; 1566s # GParamSpec *pspec; 1566s # _ExtendedGDBusPropertyInfo *info; 1566s # GVariant *ret; 1566s # ret = NULL; 1566s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1566s # g_assert (info != NULL); 1566s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1566s # if (pspec == NULL) 1566s # { 1566s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1566s # } 1566s # else 1566s # { 1566s # g_value_init (&value, pspec->value_type); 1566s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1566s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1566s # g_value_unset (&value); 1566s # } 1566s # return ret; 1566s # } 1566s # 1566s # static gboolean 1566s # _org_project_useful_interface_skeleton_handle_set_property ( 1566s # GDBusConnection *connection G_GNUC_UNUSED, 1566s # const gchar *sender G_GNUC_UNUSED, 1566s # const gchar *object_path G_GNUC_UNUSED, 1566s # const gchar *interface_name G_GNUC_UNUSED, 1566s # const gchar *property_name, 1566s # GVariant *variant, 1566s # GError **error, 1566s # gpointer user_data) 1566s # { 1566s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1566s # GValue value = G_VALUE_INIT; 1566s # GParamSpec *pspec; 1566s # _ExtendedGDBusPropertyInfo *info; 1566s # gboolean ret; 1566s # ret = FALSE; 1566s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1566s # g_assert (info != NULL); 1566s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1566s # if (pspec == NULL) 1566s # { 1566s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1566s # } 1566s # else 1566s # { 1566s # if (info->use_gvariant) 1566s # g_value_set_variant (&value, variant); 1566s # else 1566s # g_dbus_gvariant_to_gvalue (variant, &value); 1566s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1566s # g_value_unset (&value); 1566s # ret = TRUE; 1566s # } 1566s # return ret; 1566s # } 1566s # 1566s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1566s # { 1566s # _org_project_useful_interface_skeleton_handle_method_call, 1566s # _org_project_useful_interface_skeleton_handle_get_property, 1566s # _org_project_useful_interface_skeleton_handle_set_property, 1566s # {NULL} 1566s # }; 1566s # 1566s # static GDBusInterfaceInfo * 1566s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1566s # { 1566s # return org_project_useful_interface_interface_info (); 1566s # } 1566s # 1566s # static GDBusInterfaceVTable * 1566s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1566s # { 1566s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1566s # } 1566s # 1566s # static GVariant * 1566s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1566s # { 1566s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1566s # 1566s # GVariantBuilder builder; 1566s # guint n; 1566s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1566s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1566s # goto out; 1566s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1566s # { 1566s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1566s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1566s # { 1566s # GVariant *value; 1566s # 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); 1566s # if (value != NULL) 1566s # { 1566s # g_variant_take_ref (value); 1566s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1566s # g_variant_unref (value); 1566s # } 1566s # } 1566s # } 1566s # out: 1566s # return g_variant_builder_end (&builder); 1566s # } 1566s # 1566s # static void 1566s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1566s # { 1566s # } 1566s # 1566s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1566s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1566s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1566s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1566s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1566s # 1566s # #else 1566s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1566s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1566s # 1566s # #endif 1566s # static void 1566s # org_project_useful_interface_skeleton_finalize (GObject *object) 1566s # { 1566s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1566s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1566s # if (skeleton->priv->changed_properties_idle_source != NULL) 1566s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1566s # g_main_context_unref (skeleton->priv->context); 1566s # g_mutex_clear (&skeleton->priv->lock); 1566s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1566s # } 1566s # 1566s # static void 1566s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1566s # { 1566s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1566s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1566s # #else 1566s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1566s # #endif 1566s # 1566s # g_mutex_init (&skeleton->priv->lock); 1566s # skeleton->priv->context = g_main_context_ref_thread_default (); 1566s # } 1566s # 1566s # static void 1566s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1566s # { 1566s # GObjectClass *gobject_class; 1566s # GDBusInterfaceSkeletonClass *skeleton_class; 1566s # 1566s # gobject_class = G_OBJECT_CLASS (klass); 1566s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1566s # 1566s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1566s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1566s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1566s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1566s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1566s # 1566s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1566s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1566s # #endif 1566s # } 1566s # 1566s # static void 1566s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1566s # { 1566s # } 1566s # 1566s # /** 1566s # * org_project_useful_interface_skeleton_new: 1566s # * 1566s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1566s # * 1566s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1566s # */ 1566s # OrgProjectUsefulInterface * 1566s # org_project_useful_interface_skeleton_new (void) 1566s # { 1566s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1566s # } 1566s # /tmp/tmppzwln7e0/tmpkrcdkrrv.xml: 1566s # 1566s # 1566s # 1566s # 1566s # 1566s # 1566s # 1566s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmppzwln7e0/tmpkrcdkrrv.xml', '--output', '-', '--body'] 1566s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-baqskmurxn,guid=fbaffe99d0ccb1f6e1beb84865fc01cd', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.YcZbqk/autopkgtest_tmp', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.YcZbqk/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.YcZbqk/autopkgtest_tmp', 'TERM': 'unknown', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.YcZbqk/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.sVTVMp0Db0', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.rqZsJO/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.YcZbqk/wrapper.sh --artifacts=/tmp/autopkgtest.YcZbqk/installed-tests-artifacts --chdir=/tmp/autopkgtest.YcZbqk/build.S0E/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.YcZbqk/installed-tests-stderr --stdout=/tmp/autopkgtest.YcZbqk/installed-tests-stdout --tmp=/tmp/autopkgtest.YcZbqk/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2' --make-executable=/tmp/autopkgtest.YcZbqk/build.S0E/src/debian/tests/installed-tests -- /tmp/autopkgtest.YcZbqk/build.S0E/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.YcZbqk/build.S0E/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.YcZbqk/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1566s # Output: /* 1566s # * This file is generated by gdbus-codegen, do not modify it. 1566s # * 1566s # * The license of this code is the same as for the D-Bus interface description 1566s # * it was derived from. Note that it links to GLib, so must comply with the 1566s # * LGPL linking clauses. 1566s # */ 1566s # 1566s # #ifdef HAVE_CONFIG_H 1566s # # include "config.h" 1566s # #endif 1566s # 1566s # #include 1566s # #ifdef G_OS_UNIX 1566s # # include 1566s # #endif 1566s # 1566s # #ifdef G_ENABLE_DEBUG 1566s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1566s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1566s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1566s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1566s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1566s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1566s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1566s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1566s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1566s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1566s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1566s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1566s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1566s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1566s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1566s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1566s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1566s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1566s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1566s # #else /* !G_ENABLE_DEBUG */ 1566s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1566s # * Do not access GValues directly in your code. Instead, use the 1566s # * g_value_get_*() functions 1566s # */ 1566s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1566s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1566s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1566s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1566s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1566s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1566s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1566s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1566s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1566s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1566s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1566s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1566s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1566s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1566s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1566s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1566s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1566s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1566s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1566s # #endif /* !G_ENABLE_DEBUG */ 1566s # 1566s # typedef struct 1566s # { 1566s # GDBusArgInfo parent_struct; 1566s # gboolean use_gvariant; 1566s # } _ExtendedGDBusArgInfo; 1566s # 1566s # typedef struct 1566s # { 1566s # GDBusMethodInfo parent_struct; 1566s # const gchar *signal_name; 1566s # gboolean pass_fdlist; 1566s # } _ExtendedGDBusMethodInfo; 1566s # 1566s # typedef struct 1566s # { 1566s # GDBusSignalInfo parent_struct; 1566s # const gchar *signal_name; 1566s # } _ExtendedGDBusSignalInfo; 1566s # 1566s # typedef struct 1566s # { 1566s # GDBusPropertyInfo parent_struct; 1566s # const gchar *hyphen_name; 1566s # guint use_gvariant : 1; 1566s # guint emits_changed_signal : 1; 1566s # } _ExtendedGDBusPropertyInfo; 1566s # 1566s # typedef struct 1566s # { 1566s # GDBusInterfaceInfo parent_struct; 1566s # const gchar *hyphen_name; 1566s # } _ExtendedGDBusInterfaceInfo; 1566s # 1566s # typedef struct 1566s # { 1566s # const _ExtendedGDBusPropertyInfo *info; 1566s # guint prop_id; 1566s # GValue orig_value; /* the value before the change */ 1566s # } ChangedProperty; 1566s # 1566s # static void 1566s # _changed_property_free (ChangedProperty *data) 1566s # { 1566s # g_value_unset (&data->orig_value); 1566s # g_free (data); 1566s # } 1566s # 1566s # static gboolean 1566s # _g_strv_equal0 (gchar **a, gchar **b) 1566s # { 1566s # gboolean ret = FALSE; 1566s # guint n; 1566s # if (a == NULL && b == NULL) 1566s # { 1566s # ret = TRUE; 1566s # goto out; 1566s # } 1566s # if (a == NULL || b == NULL) 1566s # goto out; 1566s # if (g_strv_length (a) != g_strv_length (b)) 1566s # goto out; 1566s # for (n = 0; a[n] != NULL; n++) 1566s # if (g_strcmp0 (a[n], b[n]) != 0) 1566s # goto out; 1566s # ret = TRUE; 1566s # out: 1566s # return ret; 1566s # } 1566s # 1566s # static gboolean 1566s # _g_variant_equal0 (GVariant *a, GVariant *b) 1566s # { 1566s # gboolean ret = FALSE; 1566s # if (a == NULL && b == NULL) 1566s # { 1566s # ret = TRUE; 1566s # goto out; 1566s # } 1566s # if (a == NULL || b == NULL) 1566s # goto out; 1566s # ret = g_variant_equal (a, b); 1566s # out: 1566s # return ret; 1566s # } 1566s # 1566s # G_GNUC_UNUSED static gboolean 1566s # _g_value_equal (const GValue *a, const GValue *b) 1566s # { 1566s # gboolean ret = FALSE; 1566s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1566s # switch (G_VALUE_TYPE (a)) 1566s # { 1566s # case G_TYPE_BOOLEAN: 1566s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1566s # break; 1566s # case G_TYPE_UCHAR: 1566s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1566s # break; 1566s # case G_TYPE_INT: 1566s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1566s # break; 1566s # case G_TYPE_UINT: 1566s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1566s # break; 1566s # case G_TYPE_INT64: 1566s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1566s # break; 1566s # case G_TYPE_UINT64: 1566s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1566s # break; 1566s # case G_TYPE_DOUBLE: 1566s # { 1566s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1566s # gdouble da = g_value_get_double (a); 1566s # gdouble db = g_value_get_double (b); 1566s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1566s # } 1566s # break; 1566s # case G_TYPE_STRING: 1566s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1566s # break; 1566s # case G_TYPE_VARIANT: 1566s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1566s # break; 1566s # default: 1566s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1566s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1566s # else 1566s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1566s # break; 1566s # } 1566s # return ret; 1566s # } 1566s # 1566s # static void 1566s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_INT ( 1566s # GClosure *closure, 1566s # GValue *return_value, 1566s # unsigned int n_param_values, 1566s # const GValue *param_values, 1566s # void *invocation_hint G_GNUC_UNUSED, 1566s # void *marshal_data) 1566s # { 1566s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectIntFunc) 1566s # (void *data1, 1566s # GDBusMethodInvocation *arg_method_invocation, 1566s # gint arg_arg_i, 1566s # void *data2); 1566s # _GDbusCodegenMarshalBoolean_ObjectIntFunc callback; 1566s # GCClosure *cc = (GCClosure*) closure; 1566s # void *data1, *data2; 1566s # gboolean v_return; 1566s # 1566s # g_return_if_fail (return_value != NULL); 1566s # g_return_if_fail (n_param_values == 3); 1566s # 1566s # if (G_CCLOSURE_SWAP_DATA (closure)) 1566s # { 1566s # data1 = closure->data; 1566s # data2 = g_value_peek_pointer (param_values + 0); 1566s # } 1566s # else 1566s # { 1566s # data1 = g_value_peek_pointer (param_values + 0); 1566s # data2 = closure->data; 1566s # } 1566s # 1566s # callback = (_GDbusCodegenMarshalBoolean_ObjectIntFunc) 1566s # (marshal_data ? marshal_data : cc->callback); 1566s # 1566s # v_return = 1566s # callback (data1, 1566s # g_marshal_value_peek_object (param_values + 1), 1566s # g_marshal_value_peek_int (param_values + 2), 1566s # data2); 1566s # 1566s # g_value_set_boolean (return_value, v_return); 1566s # } 1566s # 1566s # /* ------------------------------------------------------------------------ 1566s # * Code for interface org.project.UsefulInterface 1566s # * ------------------------------------------------------------------------ 1566s # */ 1566s # 1566s # /** 1566s # * SECTION:OrgProjectUsefulInterface 1566s # * @title: OrgProjectUsefulInterface 1566s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1566s # * 1566s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1566s # */ 1566s # 1566s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1566s # 1566s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_i_IN_ARG_arg_i = 1566s # { 1566s # { 1566s # -1, 1566s # (gchar *) "arg_i", 1566s # (gchar *) "i", 1566s # NULL 1566s # }, 1566s # FALSE 1566s # }; 1566s # 1566s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_i_IN_ARG_pointers[] = 1566s # { 1566s # &_org_project_useful_interface_method_info_single_arg_method_i_IN_ARG_arg_i.parent_struct, 1566s # NULL 1566s # }; 1566s # 1566s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_i = 1566s # { 1566s # { 1566s # -1, 1566s # (gchar *) "SingleArgMethodI", 1566s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_i_IN_ARG_pointers, 1566s # NULL, 1566s # NULL 1566s # }, 1566s # "handle-single-arg-method-i", 1566s # FALSE 1566s # }; 1566s # 1566s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1566s # { 1566s # &_org_project_useful_interface_method_info_single_arg_method_i.parent_struct, 1566s # NULL 1566s # }; 1566s # 1566s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1566s # { 1566s # { 1566s # -1, 1566s # (gchar *) "org.project.UsefulInterface", 1566s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1566s # NULL, 1566s # NULL, 1566s # NULL 1566s # }, 1566s # "org-project-useful-interface", 1566s # }; 1566s # 1566s # 1566s # /** 1566s # * org_project_useful_interface_interface_info: 1566s # * 1566s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1566s # * 1566s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1566s # */ 1566s # GDBusInterfaceInfo * 1566s # org_project_useful_interface_interface_info (void) 1566s # { 1566s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1566s # } 1566s # 1566s # /** 1566s # * org_project_useful_interface_override_properties: 1566s # * @klass: The class structure for a #GObject derived class. 1566s # * @property_id_begin: The property id to assign to the first overridden property. 1566s # * 1566s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1566s # * The properties are overridden in the order they are defined. 1566s # * 1566s # * Returns: The last property id. 1566s # */ 1566s # guint 1566s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1566s # { 1566s # return property_id_begin - 1; 1566s # } 1566s # 1566s # 1566s # inline static void 1566s # org_project_useful_interface_method_marshal_single_arg_method_i ( 1566s # GClosure *closure, 1566s # GValue *return_value, 1566s # unsigned int n_param_values, 1566s # const GValue *param_values, 1566s # void *invocation_hint, 1566s # void *marshal_data) 1566s # { 1566s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_INT (closure, 1566s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1566s # } 1566s # 1566s # 1566s # /** 1566s # * OrgProjectUsefulInterface: 1566s # * 1566s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1566s # */ 1566s # 1566s # /** 1566s # * OrgProjectUsefulInterfaceIface: 1566s # * @parent_iface: The parent interface. 1566s # * @handle_single_arg_method_i: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-i signal. 1566s # * 1566s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1566s # */ 1566s # 1566s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1566s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1566s # 1566s # static void 1566s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1566s # { 1566s # /* GObject signals for incoming D-Bus method calls: */ 1566s # /** 1566s # * OrgProjectUsefulInterface::handle-single-arg-method-i: 1566s # * @object: A #OrgProjectUsefulInterface. 1566s # * @invocation: A #GDBusMethodInvocation. 1566s # * @arg_arg_i: Argument passed by remote caller. 1566s # * 1566s # * Signal emitted when a remote caller is invoking the SingleArgMethodI() D-Bus method. 1566s # * 1566s # * 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. 1566s # * 1566s # * 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. 1566s # */ 1566s # g_signal_new ("handle-single-arg-method-i", 1566s # G_TYPE_FROM_INTERFACE (iface), 1566s # G_SIGNAL_RUN_LAST, 1566s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_i), 1566s # g_signal_accumulator_true_handled, 1566s # NULL, 1566s # org_project_useful_interface_method_marshal_single_arg_method_i, 1566s # G_TYPE_BOOLEAN, 1566s # 2, 1566s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_INT); 1566s # 1566s # } 1566s # 1566s # /** 1566s # * org_project_useful_interface_call_single_arg_method_i: 1566s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1566s # * @arg_arg_i: Argument to pass with the method invocation. 1566s # * @cancellable: (nullable): A #GCancellable or %NULL. 1566s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1566s # * @user_data: User data to pass to @callback. 1566s # * 1566s # * Asynchronously invokes the SingleArgMethodI() D-Bus method on @proxy. 1566s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1566s # * You can then call org_project_useful_interface_call_single_arg_method_i_finish() to get the result of the operation. 1566s # * 1566s # * See org_project_useful_interface_call_single_arg_method_i_sync() for the synchronous, blocking version of this method. 1566s # */ 1566s # void 1566s # org_project_useful_interface_call_single_arg_method_i ( 1566s # OrgProjectUsefulInterface *proxy, 1566s # gint arg_arg_i, 1566s # GCancellable *cancellable, 1566s # GAsyncReadyCallback callback, 1566s # gpointer user_data) 1566s # { 1566s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1566s # "SingleArgMethodI", 1566s # g_variant_new ("(i)", 1566s # arg_arg_i), 1566s # G_DBUS_CALL_FLAGS_NONE, 1566s # -1, 1566s # cancellable, 1566s # callback, 1566s # user_data); 1566s # } 1566s # 1566s # /** 1566s # * org_project_useful_interface_call_single_arg_method_i_finish: 1566s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1566s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_i(). 1566s # * @error: Return location for error or %NULL. 1566s # * 1566s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_i(). 1566s # * 1566s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1566s # */ 1566s # gboolean 1566s # org_project_useful_interface_call_single_arg_method_i_finish ( 1566s # OrgProjectUsefulInterface *proxy, 1566s # GAsyncResult *res, 1566s # GError **error) 1566s # { 1566s # GVariant *_ret; 1566s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1566s # if (_ret == NULL) 1566s # goto _out; 1566s # g_variant_get (_ret, 1566s # "()"); 1566s # g_variant_unref (_ret); 1566s # _out: 1566s # return _ret != NULL; 1566s # } 1566s # 1566s # /** 1566s # * org_project_useful_interface_call_single_arg_method_i_sync: 1566s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1566s # * @arg_arg_i: Argument to pass with the method invocation. 1566s # * @cancellable: (nullable): A #GCancellable or %NULL. 1566s # * @error: Return location for error or %NULL. 1566s # * 1566s # * Synchronously invokes the SingleArgMethodI() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1566s # * 1566s # * See org_project_useful_interface_call_single_arg_method_i() for the asynchronous version of this method. 1566s # * 1566s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1566s # */ 1566s # gboolean 1566s # org_project_useful_interface_call_single_arg_method_i_sync ( 1566s # OrgProjectUsefulInterface *proxy, 1566s # gint arg_arg_i, 1566s # GCancellable *cancellable, 1566s # GError **error) 1566s # { 1566s # GVariant *_ret; 1566s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1566s # "SingleArgMethodI", 1566s # g_variant_new ("(i)", 1566s # arg_arg_i), 1566s # G_DBUS_CALL_FLAGS_NONE, 1566s # -1, 1566s # cancellable, 1566s # error); 1566s # if (_ret == NULL) 1566s # goto _out; 1566s # g_variant_get (_ret, 1566s # "()"); 1566s # g_variant_unref (_ret); 1566s # _out: 1566s # return _ret != NULL; 1566s # } 1566s # 1566s # /** 1566s # * org_project_useful_interface_complete_single_arg_method_i: 1566s # * @object: A #OrgProjectUsefulInterface. 1566s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1566s # * 1566s # * 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. 1566s # * 1566s # * This method will free @invocation, you cannot use it afterwards. 1566s # */ 1566s # void 1566s # org_project_useful_interface_complete_single_arg_method_i ( 1566s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1566s # GDBusMethodInvocation *invocation) 1566s # { 1566s # g_dbus_method_invocation_return_value (invocation, 1566s # g_variant_new ("()")); 1566s # } 1566s # 1566s # /* ------------------------------------------------------------------------ */ 1566s # 1566s # /** 1566s # * OrgProjectUsefulInterfaceProxy: 1566s # * 1566s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1566s # */ 1566s # 1566s # /** 1566s # * OrgProjectUsefulInterfaceProxyClass: 1566s # * @parent_class: The parent class. 1566s # * 1566s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1566s # */ 1566s # 1566s # struct _OrgProjectUsefulInterfaceProxyPrivate 1566s # { 1566s # GData *qdata; 1566s # }; 1566s # 1566s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1566s # 1566s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1566s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1566s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1566s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1566s # 1566s # #else 1566s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1566s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1566s # 1566s # #endif 1566s # static void 1566s # org_project_useful_interface_proxy_finalize (GObject *object) 1566s # { 1566s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1566s # g_datalist_clear (&proxy->priv->qdata); 1566s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1566s # } 1566s # 1566s # static void 1566s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1566s # guint prop_id G_GNUC_UNUSED, 1566s # GValue *value G_GNUC_UNUSED, 1566s # GParamSpec *pspec G_GNUC_UNUSED) 1566s # { 1566s # } 1566s # 1566s # static void 1566s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1566s # guint prop_id G_GNUC_UNUSED, 1566s # const GValue *value G_GNUC_UNUSED, 1566s # GParamSpec *pspec G_GNUC_UNUSED) 1566s # { 1566s # } 1566s # 1566s # static void 1566s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1566s # const gchar *sender_name G_GNUC_UNUSED, 1566s # const gchar *signal_name, 1566s # GVariant *parameters) 1566s # { 1566s # _ExtendedGDBusSignalInfo *info; 1566s # GVariantIter iter; 1566s # GVariant *child; 1566s # GValue *paramv; 1566s # gsize num_params; 1566s # gsize n; 1566s # guint signal_id; 1566s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1566s # if (info == NULL) 1566s # return; 1566s # num_params = g_variant_n_children (parameters); 1566s # paramv = g_new0 (GValue, num_params + 1); 1566s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1566s # g_value_set_object (¶mv[0], proxy); 1566s # g_variant_iter_init (&iter, parameters); 1566s # n = 1; 1566s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1566s # { 1566s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1566s # if (arg_info->use_gvariant) 1566s # { 1566s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1566s # g_value_set_variant (¶mv[n], child); 1566s # n++; 1566s # } 1566s # else 1566s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1566s # g_variant_unref (child); 1566s # } 1566s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1566s # g_signal_emitv (paramv, signal_id, 0, NULL); 1566s # for (n = 0; n < num_params + 1; n++) 1566s # g_value_unset (¶mv[n]); 1566s # g_free (paramv); 1566s # } 1566s # 1566s # static void 1566s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1566s # GVariant *changed_properties, 1566s # const gchar *const *invalidated_properties) 1566s # { 1566s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1566s # guint n; 1566s # const gchar *key; 1566s # GVariantIter *iter; 1566s # _ExtendedGDBusPropertyInfo *info; 1566s # g_variant_get (changed_properties, "a{sv}", &iter); 1566s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1566s # { 1566s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1566s # g_datalist_remove_data (&proxy->priv->qdata, key); 1566s # if (info != NULL) 1566s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1566s # } 1566s # g_variant_iter_free (iter); 1566s # for (n = 0; invalidated_properties[n] != NULL; n++) 1566s # { 1566s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1566s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1566s # if (info != NULL) 1566s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1566s # } 1566s # } 1566s # 1566s # static void 1566s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1566s # { 1566s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1566s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1566s # #else 1566s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1566s # #endif 1566s # 1566s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1566s # } 1566s # 1566s # static void 1566s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1566s # { 1566s # GObjectClass *gobject_class; 1566s # GDBusProxyClass *proxy_class; 1566s # 1566s # gobject_class = G_OBJECT_CLASS (klass); 1566s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1566s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1566s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1566s # 1566s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1566s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1566s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1566s # 1566s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1566s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1566s # #endif 1566s # } 1566s # 1566s # static void 1566s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1566s # { 1566s # } 1566s # 1566s # /** 1566s # * org_project_useful_interface_proxy_new: 1566s # * @connection: A #GDBusConnection. 1566s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1566s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1566s # * @object_path: An object path. 1566s # * @cancellable: (nullable): A #GCancellable or %NULL. 1566s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1566s # * @user_data: User data to pass to @callback. 1566s # * 1566s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1566s # * 1566s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1566s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1566s # * 1566s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1566s # */ 1566s # void 1566s # org_project_useful_interface_proxy_new ( 1566s # GDBusConnection *connection, 1566s # GDBusProxyFlags flags, 1566s # const gchar *name, 1566s # const gchar *object_path, 1566s # GCancellable *cancellable, 1566s # GAsyncReadyCallback callback, 1566s # gpointer user_data) 1566s # { 1566s # g_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); 1566s # } 1566s # 1566s # /** 1566s # * org_project_useful_interface_proxy_new_finish: 1566s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1566s # * @error: Return location for error or %NULL 1566s # * 1566s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1566s # * 1566s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1566s # */ 1566s # OrgProjectUsefulInterface * 1566s # org_project_useful_interface_proxy_new_finish ( 1566s # GAsyncResult *res, 1566s # GError **error) 1566s # { 1566s # GObject *ret; 1566s # GObject *source_object; 1566s # source_object = g_async_result_get_source_object (res); 1566s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1566s # g_object_unref (source_object); 1566s # if (ret != NULL) 1566s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1566s # else 1566s # return NULL; 1566s # } 1566s # 1566s # /** 1566s # * org_project_useful_interface_proxy_new_sync: 1566s # * @connection: A #GDBusConnection. 1566s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1566s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1566s # * @object_path: An object path. 1566s # * @cancellable: (nullable): A #GCancellable or %NULL. 1566s # * @error: Return location for error or %NULL 1566s # * 1566s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1566s # * 1566s # * The calling thread is blocked until a reply is received. 1566s # * 1566s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1566s # * 1566s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1566s # */ 1566s # OrgProjectUsefulInterface * 1566s # org_project_useful_interface_proxy_new_sync ( 1566s # GDBusConnection *connection, 1566s # GDBusProxyFlags flags, 1566s # const gchar *name, 1566s # const gchar *object_path, 1566s # GCancellable *cancellable, 1566s # GError **error) 1566s # { 1566s # GInitable *ret; 1566s # 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); 1566s # if (ret != NULL) 1566s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1566s # else 1566s # return NULL; 1566s # } 1566s # 1566s # 1566s # /** 1566s # * org_project_useful_interface_proxy_new_for_bus: 1566s # * @bus_type: A #GBusType. 1566s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1566s # * @name: A bus name (well-known or unique). 1566s # * @object_path: An object path. 1566s # * @cancellable: (nullable): A #GCancellable or %NULL. 1566s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1566s # * @user_data: User data to pass to @callback. 1566s # * 1566s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1566s # * 1566s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1566s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1566s # * 1566s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1566s # */ 1566s # void 1566s # org_project_useful_interface_proxy_new_for_bus ( 1566s # GBusType bus_type, 1566s # GDBusProxyFlags flags, 1566s # const gchar *name, 1566s # const gchar *object_path, 1566s # GCancellable *cancellable, 1566s # GAsyncReadyCallback callback, 1566s # gpointer user_data) 1566s # { 1566s # g_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); 1566s # } 1566s # 1566s # /** 1566s # * org_project_useful_interface_proxy_new_for_bus_finish: 1566s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1566s # * @error: Return location for error or %NULL 1566s # * 1566s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1566s # * 1566s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1566s # */ 1566s # OrgProjectUsefulInterface * 1566s # org_project_useful_interface_proxy_new_for_bus_finish ( 1566s # GAsyncResult *res, 1566s # GError **error) 1566s # { 1566s # GObject *ret; 1566s # GObject *source_object; 1566s # source_object = g_async_result_get_source_object (res); 1566s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1566s # g_object_unref (source_object); 1566s # if (ret != NULL) 1566s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1566s # else 1566s # return NULL; 1566s # } 1566s # 1566s # /** 1566s # * org_project_useful_interface_proxy_new_for_bus_sync: 1566s # * @bus_type: A #GBusType. 1566s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1566s # * @name: A bus name (well-known or unique). 1566s # * @object_path: An object path. 1566s # * @cancellable: (nullable): A #GCancellable or %NULL. 1566s # * @error: Return location for error or %NULL 1566s # * 1566s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1566s # * 1566s # * The calling thread is blocked until a reply is received. 1566s # * 1566s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1566s # * 1566s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1566s # */ 1566s # OrgProjectUsefulInterface * 1566s # org_project_useful_interface_proxy_new_for_bus_sync ( 1566s # GBusType bus_type, 1566s # GDBusProxyFlags flags, 1566s # const gchar *name, 1566s # const gchar *object_path, 1566s # GCancellable *cancellable, 1566s # GError **error) 1566s # { 1566s # GInitable *ret; 1566s # 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); 1566s # if (ret != NULL) 1566s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1566s # else 1566s # return NULL; 1566s # } 1566s # 1566s # 1566s # /* ------------------------------------------------------------------------ */ 1566s # 1566s # /** 1566s # * OrgProjectUsefulInterfaceSkeleton: 1566s # * 1566s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1566s # */ 1566s # 1566s # /** 1566s # * OrgProjectUsefulInterfaceSkeletonClass: 1566s # * @parent_class: The parent class. 1566s # * 1566s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1566s # */ 1566s # 1566s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1566s # { 1566s # GValue *properties; 1566s # GList *changed_properties; 1566s # GSource *changed_properties_idle_source; 1566s # GMainContext *context; 1566s # GMutex lock; 1566s # }; 1566s # 1566s # static void 1566s # _org_project_useful_interface_skeleton_handle_method_call ( 1566s # GDBusConnection *connection G_GNUC_UNUSED, 1566s # const gchar *sender G_GNUC_UNUSED, 1566s # const gchar *object_path G_GNUC_UNUSED, 1566s # const gchar *interface_name, 1566s # const gchar *method_name, 1566s # GVariant *parameters, 1566s # GDBusMethodInvocation *invocation, 1566s # gpointer user_data) 1566s # { 1566s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1566s # _ExtendedGDBusMethodInfo *info; 1566s # GVariantIter iter; 1566s # GVariant *child; 1566s # GValue *paramv; 1566s # gsize num_params; 1566s # guint num_extra; 1566s # gsize n; 1566s # guint signal_id; 1566s # GValue return_value = G_VALUE_INIT; 1566s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1566s # g_assert (info != NULL); 1566s # num_params = g_variant_n_children (parameters); 1566s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1566s # n = 0; 1566s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1566s # g_value_set_object (¶mv[n++], skeleton); 1566s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1566s # g_value_set_object (¶mv[n++], invocation); 1566s # if (info->pass_fdlist) 1566s # { 1566s # #ifdef G_OS_UNIX 1566s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1566s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1566s # #else 1566s # g_assert_not_reached (); 1566s # #endif 1566s # } 1566s # g_variant_iter_init (&iter, parameters); 1566s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1566s # { 1566s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1566s # if (arg_info->use_gvariant) 1566s # { 1566s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1566s # g_value_set_variant (¶mv[n], child); 1566s # n++; 1566s # } 1566s # else 1566s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1566s # g_variant_unref (child); 1566s # } 1566s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1566s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1566s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1566s # if (!g_value_get_boolean (&return_value)) 1566s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1566s # g_value_unset (&return_value); 1566s # for (n = 0; n < num_params + num_extra; n++) 1566s # g_value_unset (¶mv[n]); 1566s # g_free (paramv); 1566s # } 1566s # 1566s # static GVariant * 1566s # _org_project_useful_interface_skeleton_handle_get_property ( 1566s # GDBusConnection *connection G_GNUC_UNUSED, 1566s # const gchar *sender G_GNUC_UNUSED, 1566s # const gchar *object_path G_GNUC_UNUSED, 1566s # const gchar *interface_name G_GNUC_UNUSED, 1566s # const gchar *property_name, 1566s # GError **error, 1566s # gpointer user_data) 1566s # { 1566s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1566s # GValue value = G_VALUE_INIT; 1566s # GParamSpec *pspec; 1566s # _ExtendedGDBusPropertyInfo *info; 1566s # GVariant *ret; 1566s # ret = NULL; 1566s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1566s # g_assert (info != NULL); 1566s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1566s # if (pspec == NULL) 1566s # { 1566s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1566s # } 1566s # else 1566s # { 1566s # g_value_init (&value, pspec->value_type); 1566s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1566s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1566s # g_value_unset (&value); 1566s # } 1566s # return ret; 1566s # } 1566s # 1566s # static gboolean 1566s # _org_project_useful_interface_skeleton_handle_set_property ( 1566s # GDBusConnection *connection G_GNUC_UNUSED, 1566s # const gchar *sender G_GNUC_UNUSED, 1566s # const gchar *object_path G_GNUC_UNUSED, 1566s # const gchar *interface_name G_GNUC_UNUSED, 1566s # const gchar *property_name, 1566s # GVariant *variant, 1566s # GError **error, 1566s # gpointer user_data) 1566s # { 1566s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1566s # GValue value = G_VALUE_INIT; 1566s # GParamSpec *pspec; 1566s # _ExtendedGDBusPropertyInfo *info; 1566s # gboolean ret; 1566s # ret = FALSE; 1566s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1566s # g_assert (info != NULL); 1566s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1566s # if (pspec == NULL) 1566s # { 1566s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1566s # } 1566s # else 1566s # { 1566s # if (info->use_gvariant) 1566s # g_value_set_variant (&value, variant); 1566s # else 1566s # g_dbus_gvariant_to_gvalue (variant, &value); 1566s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1566s # g_value_unset (&value); 1566s # ret = TRUE; 1566s # } 1566s # return ret; 1566s # } 1566s # 1566s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1566s # { 1566s # _org_project_useful_interface_skeleton_handle_method_call, 1566s # _org_project_useful_interface_skeleton_handle_get_property, 1566s # _org_project_useful_interface_skeleton_handle_set_property, 1566s # {NULL} 1566s # }; 1566s # 1566s # static GDBusInterfaceInfo * 1566s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1566s # { 1566s # return org_project_useful_interface_interface_info (); 1566s # } 1566s # 1566s # static GDBusInterfaceVTable * 1566s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1566s # { 1566s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1566s # } 1566s # 1566s # static GVariant * 1566s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1566s # { 1566s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1566s # 1566s # GVariantBuilder builder; 1566s # guint n; 1566s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1566s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1566s # goto out; 1566s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1566s # { 1566s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1566s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1566s # { 1566s # GVariant *value; 1566s # 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); 1566s # if (value != NULL) 1566s # { 1566s # g_variant_take_ref (value); 1566s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1566s # g_variant_unref (value); 1566s # } 1566s # } 1566s # } 1566s # out: 1566s # return g_variant_builder_end (&builder); 1566s # } 1566s # 1566s # static void 1566s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1566s # { 1566s # } 1566s # 1566s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1566s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1566s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1566s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1566s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1566s # 1566s # #else 1566s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1566s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1566s # 1566s # #endif 1566s # static void 1566s # org_project_useful_interface_skeleton_finalize (GObject *object) 1566s # { 1566s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1566s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1566s # if (skeleton->priv->changed_properties_idle_source != NULL) 1566s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1566s # g_main_context_unref (skeleton->priv->context); 1566s # g_mutex_clear (&skeleton->priv->lock); 1566s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1566s # } 1566s # 1566s # static void 1566s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1566s # { 1566s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1566s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1566s # #else 1566s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1566s # #endif 1566s # 1566s # g_mutex_init (&skeleton->priv->lock); 1566s # skeleton->priv->context = g_main_context_ref_thread_default (); 1566s # } 1566s # 1566s # static void 1566s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1566s # { 1566s # GObjectClass *gobject_class; 1566s # GDBusInterfaceSkeletonClass *skeleton_class; 1566s # 1566s # gobject_class = G_OBJECT_CLASS (klass); 1566s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1566s # 1566s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1566s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1566s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1566s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1566s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1566s # 1566s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1566s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1566s # #endif 1566s # } 1566s # 1566s # static void 1566s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1566s # { 1566s # } 1566s # 1566s # /** 1566s # * org_project_useful_interface_skeleton_new: 1566s # * 1566s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1566s # * 1566s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1566s # */ 1566s # OrgProjectUsefulInterface * 1566s # org_project_useful_interface_skeleton_new (void) 1566s # { 1566s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1566s # } 1566s # /tmp/tmppzwln7e0/tmp3wnualqz.xml: 1566s # 1566s # 1566s # 1566s # 1566s # 1566s # 1566s # 1566s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmppzwln7e0/tmp3wnualqz.xml', '--output', '-', '--body'] 1566s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-baqskmurxn,guid=fbaffe99d0ccb1f6e1beb84865fc01cd', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.YcZbqk/autopkgtest_tmp', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.YcZbqk/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.YcZbqk/autopkgtest_tmp', 'TERM': 'unknown', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.YcZbqk/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.sVTVMp0Db0', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.rqZsJO/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.YcZbqk/wrapper.sh --artifacts=/tmp/autopkgtest.YcZbqk/installed-tests-artifacts --chdir=/tmp/autopkgtest.YcZbqk/build.S0E/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.YcZbqk/installed-tests-stderr --stdout=/tmp/autopkgtest.YcZbqk/installed-tests-stdout --tmp=/tmp/autopkgtest.YcZbqk/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2' --make-executable=/tmp/autopkgtest.YcZbqk/build.S0E/src/debian/tests/installed-tests -- /tmp/autopkgtest.YcZbqk/build.S0E/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.YcZbqk/build.S0E/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.YcZbqk/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1566s # Output: /* 1566s # * This file is generated by gdbus-codegen, do not modify it. 1566s # * 1566s # * The license of this code is the same as for the D-Bus interface description 1566s # * it was derived from. Note that it links to GLib, so must comply with the 1566s # * LGPL linking clauses. 1566s # */ 1566s # 1566s # #ifdef HAVE_CONFIG_H 1566s # # include "config.h" 1566s # #endif 1566s # 1566s # #include 1566s # #ifdef G_OS_UNIX 1566s # # include 1566s # #endif 1566s # 1566s # #ifdef G_ENABLE_DEBUG 1566s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1566s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1566s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1566s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1566s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1566s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1566s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1566s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1566s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1566s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1566s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1566s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1566s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1566s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1566s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1566s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1566s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1566s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1566s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1566s # #else /* !G_ENABLE_DEBUG */ 1566s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1566s # * Do not access GValues directly in your code. Instead, use the 1566s # * g_value_get_*() functions 1566s # */ 1566s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1566s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1566s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1566s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1566s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1566s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1566s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1566s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1566s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1566s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1566s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1566s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1566s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1566s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1566s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1566s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1566s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1566s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1566s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1566s # #endif /* !G_ENABLE_DEBUG */ 1566s # 1566s # typedef struct 1566s # { 1566s # GDBusArgInfo parent_struct; 1566s # gboolean use_gvariant; 1566s # } _ExtendedGDBusArgInfo; 1566s # 1566s # typedef struct 1566s # { 1566s # GDBusMethodInfo parent_struct; 1566s # const gchar *signal_name; 1566s # gboolean pass_fdlist; 1566s # } _ExtendedGDBusMethodInfo; 1566s # 1566s # typedef struct 1566s # { 1566s # GDBusSignalInfo parent_struct; 1566s # const gchar *signal_name; 1566s # } _ExtendedGDBusSignalInfo; 1566s # 1566s # typedef struct 1566s # { 1566s # GDBusPropertyInfo parent_struct; 1566s # const gchar *hyphen_name; 1566s # guint use_gvariant : 1; 1566s # guint emits_changed_signal : 1; 1566s # } _ExtendedGDBusPropertyInfo; 1566s # 1566s # typedef struct 1566s # { 1566s # GDBusInterfaceInfo parent_struct; 1566s # const gchar *hyphen_name; 1566s # } _ExtendedGDBusInterfaceInfo; 1566s # 1566s # typedef struct 1566s # { 1566s # const _ExtendedGDBusPropertyInfo *info; 1566s # guint prop_id; 1566s # GValue orig_value; /* the value before the change */ 1566s # } ChangedProperty; 1566s # 1566s # static void 1566s # _changed_property_free (ChangedProperty *data) 1566s # { 1566s # g_value_unset (&data->orig_value); 1566s # g_free (data); 1566s # } 1566s # 1566s # static gboolean 1566s # _g_strv_equal0 (gchar **a, gchar **b) 1566s # { 1566s # gboolean ret = FALSE; 1566s # guint n; 1566s # if (a == NULL && b == NULL) 1566s # { 1566s # ret = TRUE; 1566s # goto out; 1566s # } 1566s # if (a == NULL || b == NULL) 1566s # goto out; 1566s # if (g_strv_length (a) != g_strv_length (b)) 1566s # goto out; 1566s # for (n = 0; a[n] != NULL; n++) 1566s # if (g_strcmp0 (a[n], b[n]) != 0) 1566s # goto out; 1566s # ret = TRUE; 1566s # out: 1566s # return ret; 1566s # } 1566s # 1566s # static gboolean 1566s # _g_variant_equal0 (GVariant *a, GVariant *b) 1566s # { 1566s # gboolean ret = FALSE; 1566s # if (a == NULL && b == NULL) 1566s # { 1566s # ret = TRUE; 1566s # goto out; 1566s # } 1566s # if (a == NULL || b == NULL) 1566s # goto out; 1566s # ret = g_variant_equal (a, b); 1566s # out: 1566s # return ret; 1566s # } 1566s # 1566s # G_GNUC_UNUSED static gboolean 1566s # _g_value_equal (const GValue *a, const GValue *b) 1566s # { 1566s # gboolean ret = FALSE; 1566s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1566s # switch (G_VALUE_TYPE (a)) 1566s # { 1566s # case G_TYPE_BOOLEAN: 1566s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1566s # break; 1566s # case G_TYPE_UCHAR: 1566s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1566s # break; 1566s # case G_TYPE_INT: 1566s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1566s # break; 1566s # case G_TYPE_UINT: 1566s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1566s # break; 1566s # case G_TYPE_INT64: 1566s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1566s # break; 1566s # case G_TYPE_UINT64: 1566s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1566s # break; 1566s # case G_TYPE_DOUBLE: 1566s # { 1566s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1566s # gdouble da = g_value_get_double (a); 1566s # gdouble db = g_value_get_double (b); 1566s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1566s # } 1566s # break; 1566s # case G_TYPE_STRING: 1566s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1566s # break; 1566s # case G_TYPE_VARIANT: 1566s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1566s # break; 1566s # default: 1566s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1566s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1566s # else 1566s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1566s # break; 1566s # } 1566s # return ret; 1566s # } 1566s # 1566s # static void 1566s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_UINT ( 1566s # GClosure *closure, 1566s # GValue *return_value, 1566s # unsigned int n_param_values, 1566s # const GValue *param_values, 1566s # void *invocation_hint G_GNUC_UNUSED, 1566s # void *marshal_data) 1566s # { 1566s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectUintFunc) 1566s # (void *data1, 1566s # GDBusMethodInvocation *arg_method_invocation, 1566s # guint arg_arg_u, 1566s # void *data2); 1566s # _GDbusCodegenMarshalBoolean_ObjectUintFunc callback; 1566s # GCClosure *cc = (GCClosure*) closure; 1566s # void *data1, *data2; 1566s # gboolean v_return; 1566s # 1566s # g_return_if_fail (return_value != NULL); 1566s # g_return_if_fail (n_param_values == 3); 1566s # 1566s # if (G_CCLOSURE_SWAP_DATA (closure)) 1566s # { 1566s # data1 = closure->data; 1566s # data2 = g_value_peek_pointer (param_values + 0); 1566s # } 1566s # else 1566s # { 1566s # data1 = g_value_peek_pointer (param_values + 0); 1566s # data2 = closure->data; 1566s # } 1566s # 1566s # callback = (_GDbusCodegenMarshalBoolean_ObjectUintFunc) 1566s # (marshal_data ? marshal_data : cc->callback); 1566s # 1566s # v_return = 1566s # callback (data1, 1566s # g_marshal_value_peek_object (param_values + 1), 1566s # g_marshal_value_peek_uint (param_values + 2), 1566s # data2); 1566s # 1566s # g_value_set_boolean (return_value, v_return); 1566s # } 1566s # 1566s # /* ------------------------------------------------------------------------ 1566s # * Code for interface org.project.UsefulInterface 1566s # * ------------------------------------------------------------------------ 1566s # */ 1566s # 1566s # /** 1566s # * SECTION:OrgProjectUsefulInterface 1566s # * @title: OrgProjectUsefulInterface 1566s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1566s # * 1566s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1566s # */ 1566s # 1566s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1566s # 1566s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_u_IN_ARG_arg_u = 1566s # { 1566s # { 1566s # -1, 1566s # (gchar *) "arg_u", 1566s # (gchar *) "u", 1566s # NULL 1566s # }, 1566s # FALSE 1566s # }; 1566s # 1566s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_u_IN_ARG_pointers[] = 1566s # { 1566s # &_org_project_useful_interface_method_info_single_arg_method_u_IN_ARG_arg_u.parent_struct, 1566s # NULL 1566s # }; 1566s # 1566s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_u = 1566s # { 1566s # { 1566s # -1, 1566s # (gchar *) "SingleArgMethodU", 1566s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_u_IN_ARG_pointers, 1566s # NULL, 1566s # NULL 1566s # }, 1566s # "handle-single-arg-method-u", 1566s # FALSE 1566s # }; 1566s # 1566s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1566s # { 1566s # &_org_project_useful_interface_method_info_single_arg_method_u.parent_struct, 1566s # NULL 1566s # }; 1566s # 1566s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1566s # { 1566s # { 1566s # -1, 1566s # (gchar *) "org.project.UsefulInterface", 1566s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1566s # NULL, 1566s # NULL, 1566s # NULL 1566s # }, 1566s # "org-project-useful-interface", 1566s # }; 1566s # 1566s # 1566s # /** 1566s # * org_project_useful_interface_interface_info: 1566s # * 1566s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1566s # * 1566s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1566s # */ 1566s # GDBusInterfaceInfo * 1566s # org_project_useful_interface_interface_info (void) 1566s # { 1566s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1566s # } 1566s # 1566s # /** 1566s # * org_project_useful_interface_override_properties: 1566s # * @klass: The class structure for a #GObject derived class. 1566s # * @property_id_begin: The property id to assign to the first overridden property. 1566s # * 1566s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1566s # * The properties are overridden in the order they are defined. 1566s # * 1566s # * Returns: The last property id. 1566s # */ 1566s # guint 1566s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1566s # { 1566s # return property_id_begin - 1; 1566s # } 1566s # 1566s # 1566s # inline static void 1566s # org_project_useful_interface_method_marshal_single_arg_method_u ( 1566s # GClosure *closure, 1566s # GValue *return_value, 1566s # unsigned int n_param_values, 1566s # const GValue *param_values, 1566s # void *invocation_hint, 1566s # void *marshal_data) 1566s # { 1566s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_UINT (closure, 1566s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1566s # } 1566s # 1566s # 1566s # /** 1566s # * OrgProjectUsefulInterface: 1566s # * 1566s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1566s # */ 1566s # 1566s # /** 1566s # * OrgProjectUsefulInterfaceIface: 1566s # * @parent_iface: The parent interface. 1566s # * @handle_single_arg_method_u: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-u signal. 1566s # * 1566s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1566s # */ 1566s # 1566s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1566s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1566s # 1566s # static void 1566s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1566s # { 1566s # /* GObject signals for incoming D-Bus method calls: */ 1566s # /** 1566s # * OrgProjectUsefulInterface::handle-single-arg-method-u: 1566s # * @object: A #OrgProjectUsefulInterface. 1566s # * @invocation: A #GDBusMethodInvocation. 1566s # * @arg_arg_u: Argument passed by remote caller. 1566s # * 1566s # * Signal emitted when a remote caller is invoking the SingleArgMethodU() D-Bus method. 1566s # * 1566s # * 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. 1566s # * 1566s # * 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. 1566s # */ 1566s # g_signal_new ("handle-single-arg-method-u", 1566s # G_TYPE_FROM_INTERFACE (iface), 1566s # G_SIGNAL_RUN_LAST, 1566s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_u), 1566s # g_signal_accumulator_true_handled, 1566s # NULL, 1566s # org_project_useful_interface_method_marshal_single_arg_method_u, 1566s # G_TYPE_BOOLEAN, 1566s # 2, 1566s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_UINT); 1566s # 1566s # } 1566s # 1566s # /** 1566s # * org_project_useful_interface_call_single_arg_method_u: 1566s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1566s # * @arg_arg_u: Argument to pass with the method invocation. 1566s # * @cancellable: (nullable): A #GCancellable or %NULL. 1566s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1566s # * @user_data: User data to pass to @callback. 1566s # * 1566s # * Asynchronously invokes the SingleArgMethodU() D-Bus method on @proxy. 1566s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1566s # * You can then call org_project_useful_interface_call_single_arg_method_u_finish() to get the result of the operation. 1566s # * 1566s # * See org_project_useful_interface_call_single_arg_method_u_sync() for the synchronous, blocking version of this method. 1566s # */ 1566s # void 1566s # org_project_useful_interface_call_single_arg_method_u ( 1566s # OrgProjectUsefulInterface *proxy, 1566s # guint arg_arg_u, 1566s # GCancellable *cancellable, 1566s # GAsyncReadyCallback callback, 1566s # gpointer user_data) 1566s # { 1566s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1566s # "SingleArgMethodU", 1566s # g_variant_new ("(u)", 1566s # arg_arg_u), 1566s # G_DBUS_CALL_FLAGS_NONE, 1566s # -1, 1566s # cancellable, 1566s # callback, 1566s # user_data); 1566s # } 1566s # 1566s # /** 1566s # * org_project_useful_interface_call_single_arg_method_u_finish: 1566s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1566s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_u(). 1566s # * @error: Return location for error or %NULL. 1566s # * 1566s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_u(). 1566s # * 1566s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1566s # */ 1566s # gboolean 1566s # org_project_useful_interface_call_single_arg_method_u_finish ( 1566s # OrgProjectUsefulInterface *proxy, 1566s # GAsyncResult *res, 1566s # GError **error) 1566s # { 1566s # GVariant *_ret; 1566s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1566s # if (_ret == NULL) 1566s # goto _out; 1566s # g_variant_get (_ret, 1566s # "()"); 1566s # g_variant_unref (_ret); 1566s # _out: 1566s # return _ret != NULL; 1566s # } 1566s # 1566s # /** 1566s # * org_project_useful_interface_call_single_arg_method_u_sync: 1566s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1566s # * @arg_arg_u: Argument to pass with the method invocation. 1566s # * @cancellable: (nullable): A #GCancellable or %NULL. 1566s # * @error: Return location for error or %NULL. 1566s # * 1566s # * Synchronously invokes the SingleArgMethodU() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1566s # * 1566s # * See org_project_useful_interface_call_single_arg_method_u() for the asynchronous version of this method. 1566s # * 1566s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1566s # */ 1566s # gboolean 1566s # org_project_useful_interface_call_single_arg_method_u_sync ( 1566s # OrgProjectUsefulInterface *proxy, 1566s # guint arg_arg_u, 1566s # GCancellable *cancellable, 1566s # GError **error) 1566s # { 1566s # GVariant *_ret; 1566s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1566s # "SingleArgMethodU", 1566s # g_variant_new ("(u)", 1566s # arg_arg_u), 1566s # G_DBUS_CALL_FLAGS_NONE, 1566s # -1, 1566s # cancellable, 1566s # error); 1566s # if (_ret == NULL) 1566s # goto _out; 1566s # g_variant_get (_ret, 1566s # "()"); 1566s # g_variant_unref (_ret); 1566s # _out: 1566s # return _ret != NULL; 1566s # } 1566s # 1566s # /** 1566s # * org_project_useful_interface_complete_single_arg_method_u: 1566s # * @object: A #OrgProjectUsefulInterface. 1566s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1566s # * 1566s # * 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. 1566s # * 1566s # * This method will free @invocation, you cannot use it afterwards. 1566s # */ 1566s # void 1566s # org_project_useful_interface_complete_single_arg_method_u ( 1566s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1566s # GDBusMethodInvocation *invocation) 1566s # { 1566s # g_dbus_method_invocation_return_value (invocation, 1566s # g_variant_new ("()")); 1566s # } 1566s # 1566s # /* ------------------------------------------------------------------------ */ 1566s # 1566s # /** 1566s # * OrgProjectUsefulInterfaceProxy: 1566s # * 1566s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1566s # */ 1566s # 1566s # /** 1566s # * OrgProjectUsefulInterfaceProxyClass: 1566s # * @parent_class: The parent class. 1566s # * 1566s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1566s # */ 1566s # 1566s # struct _OrgProjectUsefulInterfaceProxyPrivate 1566s # { 1566s # GData *qdata; 1566s # }; 1566s # 1566s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1566s # 1566s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1566s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1566s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1566s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1566s # 1566s # #else 1566s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1566s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1566s # 1566s # #endif 1566s # static void 1566s # org_project_useful_interface_proxy_finalize (GObject *object) 1566s # { 1566s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1566s # g_datalist_clear (&proxy->priv->qdata); 1566s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1566s # } 1566s # 1566s # static void 1566s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1566s # guint prop_id G_GNUC_UNUSED, 1566s # GValue *value G_GNUC_UNUSED, 1566s # GParamSpec *pspec G_GNUC_UNUSED) 1566s # { 1566s # } 1566s # 1566s # static void 1566s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1566s # guint prop_id G_GNUC_UNUSED, 1566s # const GValue *value G_GNUC_UNUSED, 1566s # GParamSpec *pspec G_GNUC_UNUSED) 1566s # { 1566s # } 1566s # 1566s # static void 1566s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1566s # const gchar *sender_name G_GNUC_UNUSED, 1566s # const gchar *signal_name, 1566s # GVariant *parameters) 1566s # { 1566s # _ExtendedGDBusSignalInfo *info; 1566s # GVariantIter iter; 1566s # GVariant *child; 1566s # GValue *paramv; 1566s # gsize num_params; 1566s # gsize n; 1566s # guint signal_id; 1566s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1566s # if (info == NULL) 1566s # return; 1566s # num_params = g_variant_n_children (parameters); 1566s # paramv = g_new0 (GValue, num_params + 1); 1566s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1566s # g_value_set_object (¶mv[0], proxy); 1566s # g_variant_iter_init (&iter, parameters); 1566s # n = 1; 1566s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1566s # { 1566s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1566s # if (arg_info->use_gvariant) 1566s # { 1566s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1566s # g_value_set_variant (¶mv[n], child); 1566s # n++; 1566s # } 1566s # else 1566s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1566s # g_variant_unref (child); 1566s # } 1566s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1566s # g_signal_emitv (paramv, signal_id, 0, NULL); 1566s # for (n = 0; n < num_params + 1; n++) 1566s # g_value_unset (¶mv[n]); 1566s # g_free (paramv); 1566s # } 1566s # 1566s # static void 1566s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1566s # GVariant *changed_properties, 1566s # const gchar *const *invalidated_properties) 1566s # { 1566s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1566s # guint n; 1566s # const gchar *key; 1566s # GVariantIter *iter; 1566s # _ExtendedGDBusPropertyInfo *info; 1566s # g_variant_get (changed_properties, "a{sv}", &iter); 1566s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1566s # { 1566s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1566s # g_datalist_remove_data (&proxy->priv->qdata, key); 1566s # if (info != NULL) 1566s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1566s # } 1566s # g_variant_iter_free (iter); 1566s # for (n = 0; invalidated_properties[n] != NULL; n++) 1566s # { 1566s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1566s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1566s # if (info != NULL) 1566s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1566s # } 1566s # } 1566s # 1566s # static void 1566s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1566s # { 1566s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1566s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1566s # #else 1566s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1566s # #endif 1566s # 1566s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1566s # } 1566s # 1566s # static void 1566s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1566s # { 1566s # GObjectClass *gobject_class; 1566s # GDBusProxyClass *proxy_class; 1566s # 1566s # gobject_class = G_OBJECT_CLASS (klass); 1566s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1566s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1566s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1566s # 1566s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1566s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1566s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1566s # 1566s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1566s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1566s # #endif 1566s # } 1566s # 1566s # static void 1566s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1566s # { 1566s # } 1566s # 1566s # /** 1566s # * org_project_useful_interface_proxy_new: 1566s # * @connection: A #GDBusConnection. 1566s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1566s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1566s # * @object_path: An object path. 1566s # * @cancellable: (nullable): A #GCancellable or %NULL. 1566s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1566s # * @user_data: User data to pass to @callback. 1566s # * 1566s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1566s # * 1566s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1566s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1566s # * 1566s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1566s # */ 1566s # void 1566s # org_project_useful_interface_proxy_new ( 1566s # GDBusConnection *connection, 1566s # GDBusProxyFlags flags, 1566s # const gchar *name, 1566s # const gchar *object_path, 1566s # GCancellable *cancellable, 1566s # GAsyncReadyCallback callback, 1566s # gpointer user_data) 1566s # { 1566s # g_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); 1566s # } 1566s # 1566s # /** 1566s # * org_project_useful_interface_proxy_new_finish: 1566s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1566s # * @error: Return location for error or %NULL 1566s # * 1566s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1566s # * 1566s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1566s # */ 1566s # OrgProjectUsefulInterface * 1566s # org_project_useful_interface_proxy_new_finish ( 1566s # GAsyncResult *res, 1566s # GError **error) 1566s # { 1566s # GObject *ret; 1566s # GObject *source_object; 1566s # source_object = g_async_result_get_source_object (res); 1566s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1566s # g_object_unref (source_object); 1566s # if (ret != NULL) 1566s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1566s # else 1566s # return NULL; 1566s # } 1566s # 1566s # /** 1566s # * org_project_useful_interface_proxy_new_sync: 1566s # * @connection: A #GDBusConnection. 1566s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1566s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1566s # * @object_path: An object path. 1566s # * @cancellable: (nullable): A #GCancellable or %NULL. 1566s # * @error: Return location for error or %NULL 1566s # * 1566s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1566s # * 1566s # * The calling thread is blocked until a reply is received. 1566s # * 1566s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1566s # * 1566s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1566s # */ 1566s # OrgProjectUsefulInterface * 1566s # org_project_useful_interface_proxy_new_sync ( 1566s # GDBusConnection *connection, 1566s # GDBusProxyFlags flags, 1566s # const gchar *name, 1566s # const gchar *object_path, 1566s # GCancellable *cancellable, 1566s # GError **error) 1566s # { 1566s # GInitable *ret; 1566s # 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); 1566s # if (ret != NULL) 1566s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1566s # else 1566s # return NULL; 1566s # } 1566s # 1566s # 1566s # /** 1566s # * org_project_useful_interface_proxy_new_for_bus: 1566s # * @bus_type: A #GBusType. 1566s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1566s # * @name: A bus name (well-known or unique). 1566s # * @object_path: An object path. 1566s # * @cancellable: (nullable): A #GCancellable or %NULL. 1566s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1566s # * @user_data: User data to pass to @callback. 1566s # * 1566s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1566s # * 1566s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1566s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1566s # * 1566s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1566s # */ 1566s # void 1566s # org_project_useful_interface_proxy_new_for_bus ( 1566s # GBusType bus_type, 1566s # GDBusProxyFlags flags, 1566s # const gchar *name, 1566s # const gchar *object_path, 1566s # GCancellable *cancellable, 1566s # GAsyncReadyCallback callback, 1566s # gpointer user_data) 1566s # { 1566s # g_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); 1566s # } 1566s # 1566s # /** 1566s # * org_project_useful_interface_proxy_new_for_bus_finish: 1566s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1566s # * @error: Return location for error or %NULL 1566s # * 1566s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1566s # * 1566s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1566s # */ 1566s # OrgProjectUsefulInterface * 1566s # org_project_useful_interface_proxy_new_for_bus_finish ( 1566s # GAsyncResult *res, 1566s # GError **error) 1566s # { 1566s # GObject *ret; 1566s # GObject *source_object; 1566s # source_object = g_async_result_get_source_object (res); 1566s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1566s # g_object_unref (source_object); 1566s # if (ret != NULL) 1566s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1566s # else 1566s # return NULL; 1566s # } 1566s # 1566s # /** 1566s # * org_project_useful_interface_proxy_new_for_bus_sync: 1566s # * @bus_type: A #GBusType. 1566s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1566s # * @name: A bus name (well-known or unique). 1566s # * @object_path: An object path. 1566s # * @cancellable: (nullable): A #GCancellable or %NULL. 1566s # * @error: Return location for error or %NULL 1566s # * 1566s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1566s # * 1566s # * The calling thread is blocked until a reply is received. 1566s # * 1566s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1566s # * 1566s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1566s # */ 1566s # OrgProjectUsefulInterface * 1566s # org_project_useful_interface_proxy_new_for_bus_sync ( 1566s # GBusType bus_type, 1566s # GDBusProxyFlags flags, 1566s # const gchar *name, 1566s # const gchar *object_path, 1566s # GCancellable *cancellable, 1566s # GError **error) 1566s # { 1566s # GInitable *ret; 1566s # 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); 1566s # if (ret != NULL) 1566s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1566s # else 1566s # return NULL; 1566s # } 1566s # 1566s # 1566s # /* ------------------------------------------------------------------------ */ 1566s # 1566s # /** 1566s # * OrgProjectUsefulInterfaceSkeleton: 1566s # * 1566s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1566s # */ 1566s # 1566s # /** 1566s # * OrgProjectUsefulInterfaceSkeletonClass: 1566s # * @parent_class: The parent class. 1566s # * 1566s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1566s # */ 1566s # 1566s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1566s # { 1566s # GValue *properties; 1566s # GList *changed_properties; 1566s # GSource *changed_properties_idle_source; 1566s # GMainContext *context; 1566s # GMutex lock; 1566s # }; 1566s # 1566s # static void 1566s # _org_project_useful_interface_skeleton_handle_method_call ( 1566s # GDBusConnection *connection G_GNUC_UNUSED, 1566s # const gchar *sender G_GNUC_UNUSED, 1566s # const gchar *object_path G_GNUC_UNUSED, 1566s # const gchar *interface_name, 1566s # const gchar *method_name, 1566s # GVariant *parameters, 1566s # GDBusMethodInvocation *invocation, 1566s # gpointer user_data) 1566s # { 1566s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1566s # _ExtendedGDBusMethodInfo *info; 1566s # GVariantIter iter; 1566s # GVariant *child; 1566s # GValue *paramv; 1566s # gsize num_params; 1566s # guint num_extra; 1566s # gsize n; 1566s # guint signal_id; 1566s # GValue return_value = G_VALUE_INIT; 1566s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1566s # g_assert (info != NULL); 1566s # num_params = g_variant_n_children (parameters); 1566s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1566s # n = 0; 1566s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1566s # g_value_set_object (¶mv[n++], skeleton); 1566s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1566s # g_value_set_object (¶mv[n++], invocation); 1566s # if (info->pass_fdlist) 1566s # { 1566s # #ifdef G_OS_UNIX 1566s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1566s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1566s # #else 1566s # g_assert_not_reached (); 1566s # #endif 1566s # } 1566s # g_variant_iter_init (&iter, parameters); 1566s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1566s # { 1566s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1566s # if (arg_info->use_gvariant) 1566s # { 1566s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1566s # g_value_set_variant (¶mv[n], child); 1566s # n++; 1566s # } 1566s # else 1566s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1566s # g_variant_unref (child); 1566s # } 1566s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1566s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1566s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1566s # if (!g_value_get_boolean (&return_value)) 1566s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1566s # g_value_unset (&return_value); 1566s # for (n = 0; n < num_params + num_extra; n++) 1566s # g_value_unset (¶mv[n]); 1566s # g_free (paramv); 1566s # } 1566s # 1566s # static GVariant * 1566s # _org_project_useful_interface_skeleton_handle_get_property ( 1566s # GDBusConnection *connection G_GNUC_UNUSED, 1566s # const gchar *sender G_GNUC_UNUSED, 1566s # const gchar *object_path G_GNUC_UNUSED, 1566s # const gchar *interface_name G_GNUC_UNUSED, 1566s # const gchar *property_name, 1566s # GError **error, 1566s # gpointer user_data) 1566s # { 1566s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1566s # GValue value = G_VALUE_INIT; 1566s # GParamSpec *pspec; 1566s # _ExtendedGDBusPropertyInfo *info; 1566s # GVariant *ret; 1566s # ret = NULL; 1566s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1566s # g_assert (info != NULL); 1566s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1566s # if (pspec == NULL) 1566s # { 1566s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1566s # } 1566s # else 1566s # { 1566s # g_value_init (&value, pspec->value_type); 1566s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1566s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1566s # g_value_unset (&value); 1566s # } 1566s # return ret; 1566s # } 1566s # 1566s # static gboolean 1566s # _org_project_useful_interface_skeleton_handle_set_property ( 1566s # GDBusConnection *connection G_GNUC_UNUSED, 1566s # const gchar *sender G_GNUC_UNUSED, 1566s # const gchar *object_path G_GNUC_UNUSED, 1566s # const gchar *interface_name G_GNUC_UNUSED, 1566s # const gchar *property_name, 1566s # GVariant *variant, 1566s # GError **error, 1566s # gpointer user_data) 1566s # { 1566s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1566s # GValue value = G_VALUE_INIT; 1566s # GParamSpec *pspec; 1566s # _ExtendedGDBusPropertyInfo *info; 1566s # gboolean ret; 1566s # ret = FALSE; 1566s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1566s # g_assert (info != NULL); 1566s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1566s # if (pspec == NULL) 1566s # { 1566s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1566s # } 1566s # else 1566s # { 1566s # if (info->use_gvariant) 1566s # g_value_set_variant (&value, variant); 1566s # else 1566s # g_dbus_gvariant_to_gvalue (variant, &value); 1566s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1566s # g_value_unset (&value); 1566s # ret = TRUE; 1566s # } 1566s # return ret; 1566s # } 1566s # 1566s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1566s # { 1566s # _org_project_useful_interface_skeleton_handle_method_call, 1566s # _org_project_useful_interface_skeleton_handle_get_property, 1566s # _org_project_useful_interface_skeleton_handle_set_property, 1566s # {NULL} 1566s # }; 1566s # 1566s # static GDBusInterfaceInfo * 1566s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1566s # { 1566s # return org_project_useful_interface_interface_info (); 1566s # } 1566s # 1566s # static GDBusInterfaceVTable * 1566s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1566s # { 1566s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1566s # } 1566s # 1566s # static GVariant * 1566s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1566s # { 1566s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1566s # 1566s # GVariantBuilder builder; 1566s # guint n; 1566s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1566s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1566s # goto out; 1566s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1566s # { 1566s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1566s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1566s # { 1566s # GVariant *value; 1566s # 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); 1566s # if (value != NULL) 1566s # { 1566s # g_variant_take_ref (value); 1566s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1566s # g_variant_unref (value); 1566s # } 1566s # } 1566s # } 1566s # out: 1566s # return g_variant_builder_end (&builder); 1566s # } 1566s # 1566s # static void 1566s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1566s # { 1566s # } 1566s # 1566s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1566s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1566s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1566s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1566s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1566s # 1566s # #else 1566s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1566s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1566s # 1566s # #endif 1566s # static void 1566s # org_project_useful_interface_skeleton_finalize (GObject *object) 1566s # { 1566s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1566s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1566s # if (skeleton->priv->changed_properties_idle_source != NULL) 1566s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1566s # g_main_context_unref (skeleton->priv->context); 1566s # g_mutex_clear (&skeleton->priv->lock); 1566s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1566s # } 1566s # 1566s # static void 1566s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1566s # { 1566s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1566s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1566s # #else 1566s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1566s # #endif 1566s # 1566s # g_mutex_init (&skeleton->priv->lock); 1566s # skeleton->priv->context = g_main_context_ref_thread_default (); 1566s # } 1566s # 1566s # static void 1566s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1566s # { 1566s # GObjectClass *gobject_class; 1566s # GDBusInterfaceSkeletonClass *skeleton_class; 1566s # 1566s # gobject_class = G_OBJECT_CLASS (klass); 1566s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1566s # 1566s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1566s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1566s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1566s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1566s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1566s # 1566s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1566s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1566s # #endif 1566s # } 1566s # 1566s # static void 1566s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1566s # { 1566s # } 1566s # 1566s # /** 1566s # * org_project_useful_interface_skeleton_new: 1566s # * 1566s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1566s # * 1566s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1566s # */ 1566s # OrgProjectUsefulInterface * 1566s # org_project_useful_interface_skeleton_new (void) 1566s # { 1566s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1566s # } 1566s # /tmp/tmppzwln7e0/tmpqbpi3ria.xml: 1566s # 1566s # 1566s # 1566s # 1566s # 1566s # 1566s # 1566s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmppzwln7e0/tmpqbpi3ria.xml', '--output', '-', '--body'] 1566s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-baqskmurxn,guid=fbaffe99d0ccb1f6e1beb84865fc01cd', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.YcZbqk/autopkgtest_tmp', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.YcZbqk/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.YcZbqk/autopkgtest_tmp', 'TERM': 'unknown', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.YcZbqk/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.sVTVMp0Db0', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.rqZsJO/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.YcZbqk/wrapper.sh --artifacts=/tmp/autopkgtest.YcZbqk/installed-tests-artifacts --chdir=/tmp/autopkgtest.YcZbqk/build.S0E/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.YcZbqk/installed-tests-stderr --stdout=/tmp/autopkgtest.YcZbqk/installed-tests-stdout --tmp=/tmp/autopkgtest.YcZbqk/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2' --make-executable=/tmp/autopkgtest.YcZbqk/build.S0E/src/debian/tests/installed-tests -- /tmp/autopkgtest.YcZbqk/build.S0E/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.YcZbqk/build.S0E/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.YcZbqk/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1566s # Output: /* 1566s # * This file is generated by gdbus-codegen, do not modify it. 1566s # * 1566s # * The license of this code is the same as for the D-Bus interface description 1566s # * it was derived from. Note that it links to GLib, so must comply with the 1566s # * LGPL linking clauses. 1566s # */ 1566s # 1566s # #ifdef HAVE_CONFIG_H 1566s # # include "config.h" 1566s # #endif 1566s # 1566s # #include 1566s # #ifdef G_OS_UNIX 1566s # # include 1566s # #endif 1566s # 1566s # #ifdef G_ENABLE_DEBUG 1566s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1566s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1566s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1566s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1566s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1566s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1566s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1566s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1566s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1566s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1566s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1566s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1566s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1566s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1566s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1566s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1566s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1566s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1566s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1566s # #else /* !G_ENABLE_DEBUG */ 1566s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1566s # * Do not access GValues directly in your code. Instead, use the 1566s # * g_value_get_*() functions 1566s # */ 1566s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1566s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1566s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1566s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1566s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1566s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1566s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1566s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1566s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1566s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1566s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1566s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1566s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1566s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1566s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1566s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1566s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1566s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1566s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1566s # #endif /* !G_ENABLE_DEBUG */ 1566s # 1566s # typedef struct 1566s # { 1566s # GDBusArgInfo parent_struct; 1566s # gboolean use_gvariant; 1566s # } _ExtendedGDBusArgInfo; 1566s # 1566s # typedef struct 1566s # { 1566s # GDBusMethodInfo parent_struct; 1566s # const gchar *signal_name; 1566s # gboolean pass_fdlist; 1566s # } _ExtendedGDBusMethodInfo; 1566s # 1566s # typedef struct 1566s # { 1566s # GDBusSignalInfo parent_struct; 1566s # const gchar *signal_name; 1566s # } _ExtendedGDBusSignalInfo; 1566s # 1566s # typedef struct 1566s # { 1566s # GDBusPropertyInfo parent_struct; 1566s # const gchar *hyphen_name; 1566s # guint use_gvariant : 1; 1566s # guint emits_changed_signal : 1; 1566s # } _ExtendedGDBusPropertyInfo; 1566s # 1566s # typedef struct 1566s # { 1566s # GDBusInterfaceInfo parent_struct; 1566s # const gchar *hyphen_name; 1566s # } _ExtendedGDBusInterfaceInfo; 1566s # 1566s # typedef struct 1566s # { 1566s # const _ExtendedGDBusPropertyInfo *info; 1566s # guint prop_id; 1566s # GValue orig_value; /* the value before the change */ 1566s # } ChangedProperty; 1566s # 1566s # static void 1566s # _changed_property_free (ChangedProperty *data) 1566s # { 1566s # g_value_unset (&data->orig_value); 1566s # g_free (data); 1566s # } 1566s # 1566s # static gboolean 1566s # _g_strv_equal0 (gchar **a, gchar **b) 1566s # { 1566s # gboolean ret = FALSE; 1566s # guint n; 1566s # if (a == NULL && b == NULL) 1566s # { 1566s # ret = TRUE; 1566s # goto out; 1566s # } 1566s # if (a == NULL || b == NULL) 1566s # goto out; 1566s # if (g_strv_length (a) != g_strv_length (b)) 1566s # goto out; 1566s # for (n = 0; a[n] != NULL; n++) 1566s # if (g_strcmp0 (a[n], b[n]) != 0) 1566s # goto out; 1566s # ret = TRUE; 1566s # out: 1566s # return ret; 1566s # } 1566s # 1566s # static gboolean 1566s # _g_variant_equal0 (GVariant *a, GVariant *b) 1566s # { 1566s # gboolean ret = FALSE; 1566s # if (a == NULL && b == NULL) 1566s # { 1566s # ret = TRUE; 1566s # goto out; 1566s # } 1566s # if (a == NULL || b == NULL) 1566s # goto out; 1566s # ret = g_variant_equal (a, b); 1566s # out: 1566s # return ret; 1566s # } 1566s # 1566s # G_GNUC_UNUSED static gboolean 1566s # _g_value_equal (const GValue *a, const GValue *b) 1566s # { 1566s # gboolean ret = FALSE; 1566s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1566s # switch (G_VALUE_TYPE (a)) 1566s # { 1566s # case G_TYPE_BOOLEAN: 1566s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1566s # break; 1566s # case G_TYPE_UCHAR: 1566s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1566s # break; 1566s # case G_TYPE_INT: 1566s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1566s # break; 1566s # case G_TYPE_UINT: 1566s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1566s # break; 1566s # case G_TYPE_INT64: 1566s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1566s # break; 1566s # case G_TYPE_UINT64: 1566s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1566s # break; 1566s # case G_TYPE_DOUBLE: 1566s # { 1566s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1566s # gdouble da = g_value_get_double (a); 1566s # gdouble db = g_value_get_double (b); 1566s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1566s # } 1566s # break; 1566s # case G_TYPE_STRING: 1566s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1566s # break; 1566s # case G_TYPE_VARIANT: 1566s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1566s # break; 1566s # default: 1566s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1566s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1566s # else 1566s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1566s # break; 1566s # } 1566s # return ret; 1566s # } 1566s # 1566s # static void 1566s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_INT64 ( 1566s # GClosure *closure, 1566s # GValue *return_value, 1566s # unsigned int n_param_values, 1566s # const GValue *param_values, 1566s # void *invocation_hint G_GNUC_UNUSED, 1566s # void *marshal_data) 1566s # { 1566s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectInt64Func) 1566s # (void *data1, 1566s # GDBusMethodInvocation *arg_method_invocation, 1566s # gint64 arg_arg_x, 1566s # void *data2); 1566s # _GDbusCodegenMarshalBoolean_ObjectInt64Func callback; 1566s # GCClosure *cc = (GCClosure*) closure; 1566s # void *data1, *data2; 1566s # gboolean v_return; 1566s # 1566s # g_return_if_fail (return_value != NULL); 1566s # g_return_if_fail (n_param_values == 3); 1566s # 1566s # if (G_CCLOSURE_SWAP_DATA (closure)) 1566s # { 1566s # data1 = closure->data; 1566s # data2 = g_value_peek_pointer (param_values + 0); 1566s # } 1566s # else 1566s # { 1566s # data1 = g_value_peek_pointer (param_values + 0); 1566s # data2 = closure->data; 1566s # } 1566s # 1566s # callback = (_GDbusCodegenMarshalBoolean_ObjectInt64Func) 1566s # (marshal_data ? marshal_data : cc->callback); 1566s # 1566s # v_return = 1566s # callback (data1, 1566s # g_marshal_value_peek_object (param_values + 1), 1566s # g_marshal_value_peek_int64 (param_values + 2), 1566s # data2); 1566s # 1566s # g_value_set_boolean (return_value, v_return); 1566s # } 1566s # 1566s # /* ------------------------------------------------------------------------ 1566s # * Code for interface org.project.UsefulInterface 1566s # * ------------------------------------------------------------------------ 1566s # */ 1566s # 1566s # /** 1566s # * SECTION:OrgProjectUsefulInterface 1566s # * @title: OrgProjectUsefulInterface 1566s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1566s # * 1566s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1566s # */ 1566s # 1566s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1566s # 1566s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_x_IN_ARG_arg_x = 1566s # { 1566s # { 1566s # -1, 1566s # (gchar *) "arg_x", 1566s # (gchar *) "x", 1566s # NULL 1566s # }, 1566s # FALSE 1566s # }; 1566s # 1566s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_x_IN_ARG_pointers[] = 1566s # { 1566s # &_org_project_useful_interface_method_info_single_arg_method_x_IN_ARG_arg_x.parent_struct, 1566s # NULL 1566s # }; 1566s # 1566s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_x = 1566s # { 1566s # { 1566s # -1, 1566s # (gchar *) "SingleArgMethodX", 1566s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_x_IN_ARG_pointers, 1566s # NULL, 1566s # NULL 1566s # }, 1566s # "handle-single-arg-method-x", 1566s # FALSE 1566s # }; 1566s # 1566s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1566s # { 1566s # &_org_project_useful_interface_method_info_single_arg_method_x.parent_struct, 1566s # NULL 1566s # }; 1566s # 1566s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1566s # { 1566s # { 1566s # -1, 1566s # (gchar *) "org.project.UsefulInterface", 1566s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1566s # NULL, 1566s # NULL, 1566s # NULL 1566s # }, 1566s # "org-project-useful-interface", 1566s # }; 1566s # 1566s # 1566s # /** 1566s # * org_project_useful_interface_interface_info: 1566s # * 1566s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1566s # * 1566s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1566s # */ 1566s # GDBusInterfaceInfo * 1566s # org_project_useful_interface_interface_info (void) 1566s # { 1566s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1566s # } 1566s # 1566s # /** 1566s # * org_project_useful_interface_override_properties: 1566s # * @klass: The class structure for a #GObject derived class. 1566s # * @property_id_begin: The property id to assign to the first overridden property. 1566s # * 1566s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1566s # * The properties are overridden in the order they are defined. 1566s # * 1566s # * Returns: The last property id. 1566s # */ 1566s # guint 1566s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1566s # { 1566s # return property_id_begin - 1; 1566s # } 1566s # 1566s # 1566s # inline static void 1566s # org_project_useful_interface_method_marshal_single_arg_method_x ( 1566s # GClosure *closure, 1566s # GValue *return_value, 1566s # unsigned int n_param_values, 1566s # const GValue *param_values, 1566s # void *invocation_hint, 1566s # void *marshal_data) 1566s # { 1566s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_INT64 (closure, 1566s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1566s # } 1566s # 1566s # 1566s # /** 1566s # * OrgProjectUsefulInterface: 1566s # * 1566s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1566s # */ 1566s # 1566s # /** 1566s # * OrgProjectUsefulInterfaceIface: 1566s # * @parent_iface: The parent interface. 1566s # * @handle_single_arg_method_x: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-x signal. 1566s # * 1566s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1566s # */ 1566s # 1566s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1566s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1566s # 1566s # static void 1566s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1566s # { 1566s # /* GObject signals for incoming D-Bus method calls: */ 1566s # /** 1566s # * OrgProjectUsefulInterface::handle-single-arg-method-x: 1566s # * @object: A #OrgProjectUsefulInterface. 1566s # * @invocation: A #GDBusMethodInvocation. 1566s # * @arg_arg_x: Argument passed by remote caller. 1566s # * 1566s # * Signal emitted when a remote caller is invoking the SingleArgMethodX() D-Bus method. 1566s # * 1566s # * 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. 1566s # * 1566s # * 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. 1566s # */ 1566s # g_signal_new ("handle-single-arg-method-x", 1566s # G_TYPE_FROM_INTERFACE (iface), 1566s # G_SIGNAL_RUN_LAST, 1566s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_x), 1566s # g_signal_accumulator_true_handled, 1566s # NULL, 1566s # org_project_useful_interface_method_marshal_single_arg_method_x, 1566s # G_TYPE_BOOLEAN, 1566s # 2, 1566s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_INT64); 1566s # 1566s # } 1566s # 1566s # /** 1566s # * org_project_useful_interface_call_single_arg_method_x: 1566s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1566s # * @arg_arg_x: Argument to pass with the method invocation. 1566s # * @cancellable: (nullable): A #GCancellable or %NULL. 1566s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1566s # * @user_data: User data to pass to @callback. 1566s # * 1566s # * Asynchronously invokes the SingleArgMethodX() D-Bus method on @proxy. 1566s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1566s # * You can then call org_project_useful_interface_call_single_arg_method_x_finish() to get the result of the operation. 1566s # * 1566s # * See org_project_useful_interface_call_single_arg_method_x_sync() for the synchronous, blocking version of this method. 1566s # */ 1566s # void 1566s # org_project_useful_interface_call_single_arg_method_x ( 1566s # OrgProjectUsefulInterface *proxy, 1566s # gint64 arg_arg_x, 1566s # GCancellable *cancellable, 1566s # GAsyncReadyCallback callback, 1566s # gpointer user_data) 1566s # { 1566s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1566s # "SingleArgMethodX", 1566s # g_variant_new ("(x)", 1566s # arg_arg_x), 1566s # G_DBUS_CALL_FLAGS_NONE, 1566s # -1, 1566s # cancellable, 1566s # callback, 1566s # user_data); 1566s # } 1566s # 1566s # /** 1566s # * org_project_useful_interface_call_single_arg_method_x_finish: 1566s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1566s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_x(). 1566s # * @error: Return location for error or %NULL. 1566s # * 1566s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_x(). 1566s # * 1566s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1566s # */ 1566s # gboolean 1566s # org_project_useful_interface_call_single_arg_method_x_finish ( 1566s # OrgProjectUsefulInterface *proxy, 1566s # GAsyncResult *res, 1566s # GError **error) 1566s # { 1566s # GVariant *_ret; 1566s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1566s # if (_ret == NULL) 1566s # goto _out; 1566s # g_variant_get (_ret, 1566s # "()"); 1566s # g_variant_unref (_ret); 1566s # _out: 1566s # return _ret != NULL; 1566s # } 1566s # 1566s # /** 1566s # * org_project_useful_interface_call_single_arg_method_x_sync: 1566s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1566s # * @arg_arg_x: Argument to pass with the method invocation. 1566s # * @cancellable: (nullable): A #GCancellable or %NULL. 1566s # * @error: Return location for error or %NULL. 1566s # * 1566s # * Synchronously invokes the SingleArgMethodX() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1566s # * 1566s # * See org_project_useful_interface_call_single_arg_method_x() for the asynchronous version of this method. 1566s # * 1566s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1566s # */ 1566s # gboolean 1566s # org_project_useful_interface_call_single_arg_method_x_sync ( 1566s # OrgProjectUsefulInterface *proxy, 1566s # gint64 arg_arg_x, 1566s # GCancellable *cancellable, 1566s # GError **error) 1566s # { 1566s # GVariant *_ret; 1566s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1566s # "SingleArgMethodX", 1566s # g_variant_new ("(x)", 1566s # arg_arg_x), 1566s # G_DBUS_CALL_FLAGS_NONE, 1566s # -1, 1566s # cancellable, 1566s # error); 1566s # if (_ret == NULL) 1566s # goto _out; 1566s # g_variant_get (_ret, 1566s # "()"); 1566s # g_variant_unref (_ret); 1566s # _out: 1566s # return _ret != NULL; 1566s # } 1566s # 1566s # /** 1566s # * org_project_useful_interface_complete_single_arg_method_x: 1566s # * @object: A #OrgProjectUsefulInterface. 1566s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1566s # * 1566s # * 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. 1566s # * 1566s # * This method will free @invocation, you cannot use it afterwards. 1566s # */ 1566s # void 1566s # org_project_useful_interface_complete_single_arg_method_x ( 1566s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1566s # GDBusMethodInvocation *invocation) 1566s # { 1566s # g_dbus_method_invocation_return_value (invocation, 1566s # g_variant_new ("()")); 1566s # } 1566s # 1566s # /* ------------------------------------------------------------------------ */ 1566s # 1566s # /** 1566s # * OrgProjectUsefulInterfaceProxy: 1566s # * 1566s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1566s # */ 1566s # 1566s # /** 1566s # * OrgProjectUsefulInterfaceProxyClass: 1566s # * @parent_class: The parent class. 1566s # * 1566s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1566s # */ 1566s # 1566s # struct _OrgProjectUsefulInterfaceProxyPrivate 1566s # { 1566s # GData *qdata; 1566s # }; 1566s # 1566s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1566s # 1566s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1566s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1566s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1566s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1566s # 1566s # #else 1566s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1566s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1566s # 1566s # #endif 1566s # static void 1566s # org_project_useful_interface_proxy_finalize (GObject *object) 1566s # { 1566s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1566s # g_datalist_clear (&proxy->priv->qdata); 1566s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1566s # } 1566s # 1566s # static void 1566s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1566s # guint prop_id G_GNUC_UNUSED, 1566s # GValue *value G_GNUC_UNUSED, 1566s # GParamSpec *pspec G_GNUC_UNUSED) 1566s # { 1566s # } 1566s # 1566s # static void 1566s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1566s # guint prop_id G_GNUC_UNUSED, 1566s # const GValue *value G_GNUC_UNUSED, 1566s # GParamSpec *pspec G_GNUC_UNUSED) 1566s # { 1566s # } 1566s # 1566s # static void 1566s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1566s # const gchar *sender_name G_GNUC_UNUSED, 1566s # const gchar *signal_name, 1566s # GVariant *parameters) 1566s # { 1566s # _ExtendedGDBusSignalInfo *info; 1566s # GVariantIter iter; 1566s # GVariant *child; 1566s # GValue *paramv; 1566s # gsize num_params; 1566s # gsize n; 1566s # guint signal_id; 1566s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1566s # if (info == NULL) 1566s # return; 1566s # num_params = g_variant_n_children (parameters); 1566s # paramv = g_new0 (GValue, num_params + 1); 1566s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1566s # g_value_set_object (¶mv[0], proxy); 1566s # g_variant_iter_init (&iter, parameters); 1566s # n = 1; 1566s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1566s # { 1566s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1566s # if (arg_info->use_gvariant) 1566s # { 1566s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1566s # g_value_set_variant (¶mv[n], child); 1566s # n++; 1566s # } 1566s # else 1566s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1566s # g_variant_unref (child); 1566s # } 1566s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1566s # g_signal_emitv (paramv, signal_id, 0, NULL); 1566s # for (n = 0; n < num_params + 1; n++) 1566s # g_value_unset (¶mv[n]); 1566s # g_free (paramv); 1566s # } 1566s # 1566s # static void 1566s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1566s # GVariant *changed_properties, 1566s # const gchar *const *invalidated_properties) 1566s # { 1566s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1566s # guint n; 1566s # const gchar *key; 1566s # GVariantIter *iter; 1566s # _ExtendedGDBusPropertyInfo *info; 1566s # g_variant_get (changed_properties, "a{sv}", &iter); 1566s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1566s # { 1566s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1566s # g_datalist_remove_data (&proxy->priv->qdata, key); 1566s # if (info != NULL) 1566s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1566s # } 1566s # g_variant_iter_free (iter); 1566s # for (n = 0; invalidated_properties[n] != NULL; n++) 1566s # { 1566s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1566s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1566s # if (info != NULL) 1566s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1566s # } 1566s # } 1566s # 1566s # static void 1566s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1566s # { 1566s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1566s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1566s # #else 1566s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1566s # #endif 1566s # 1566s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1566s # } 1566s # 1566s # static void 1566s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1566s # { 1566s # GObjectClass *gobject_class; 1566s # GDBusProxyClass *proxy_class; 1566s # 1566s # gobject_class = G_OBJECT_CLASS (klass); 1566s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1566s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1566s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1566s # 1566s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1566s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1566s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1566s # 1566s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1566s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1566s # #endif 1566s # } 1566s # 1566s # static void 1566s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1566s # { 1566s # } 1566s # 1566s # /** 1566s # * org_project_useful_interface_proxy_new: 1566s # * @connection: A #GDBusConnection. 1566s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1566s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1566s # * @object_path: An object path. 1566s # * @cancellable: (nullable): A #GCancellable or %NULL. 1566s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1566s # * @user_data: User data to pass to @callback. 1566s # * 1566s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1566s # * 1566s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1566s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1566s # * 1566s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1566s # */ 1566s # void 1566s # org_project_useful_interface_proxy_new ( 1566s # GDBusConnection *connection, 1566s # GDBusProxyFlags flags, 1566s # const gchar *name, 1566s # const gchar *object_path, 1566s # GCancellable *cancellable, 1566s # GAsyncReadyCallback callback, 1566s # gpointer user_data) 1566s # { 1566s # g_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); 1566s # } 1566s # 1566s # /** 1566s # * org_project_useful_interface_proxy_new_finish: 1566s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1566s # * @error: Return location for error or %NULL 1566s # * 1566s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1566s # * 1566s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1566s # */ 1566s # OrgProjectUsefulInterface * 1566s # org_project_useful_interface_proxy_new_finish ( 1566s # GAsyncResult *res, 1566s # GError **error) 1566s # { 1566s # GObject *ret; 1566s # GObject *source_object; 1566s # source_object = g_async_result_get_source_object (res); 1566s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1566s # g_object_unref (source_object); 1566s # if (ret != NULL) 1566s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1566s # else 1566s # return NULL; 1566s # } 1566s # 1566s # /** 1566s # * org_project_useful_interface_proxy_new_sync: 1566s # * @connection: A #GDBusConnection. 1566s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1566s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1566s # * @object_path: An object path. 1566s # * @cancellable: (nullable): A #GCancellable or %NULL. 1566s # * @error: Return location for error or %NULL 1566s # * 1566s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1566s # * 1566s # * The calling thread is blocked until a reply is received. 1566s # * 1566s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1566s # * 1566s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1566s # */ 1566s # OrgProjectUsefulInterface * 1566s # org_project_useful_interface_proxy_new_sync ( 1566s # GDBusConnection *connection, 1566s # GDBusProxyFlags flags, 1566s # const gchar *name, 1566s # const gchar *object_path, 1566s # GCancellable *cancellable, 1566s # GError **error) 1566s # { 1566s # GInitable *ret; 1566s # 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); 1566s # if (ret != NULL) 1566s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1566s # else 1566s # return NULL; 1566s # } 1566s # 1566s # 1566s # /** 1566s # * org_project_useful_interface_proxy_new_for_bus: 1566s # * @bus_type: A #GBusType. 1566s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1566s # * @name: A bus name (well-known or unique). 1566s # * @object_path: An object path. 1566s # * @cancellable: (nullable): A #GCancellable or %NULL. 1566s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1566s # * @user_data: User data to pass to @callback. 1566s # * 1566s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1566s # * 1566s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1566s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1566s # * 1566s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1566s # */ 1566s # void 1566s # org_project_useful_interface_proxy_new_for_bus ( 1566s # GBusType bus_type, 1566s # GDBusProxyFlags flags, 1566s # const gchar *name, 1566s # const gchar *object_path, 1566s # GCancellable *cancellable, 1566s # GAsyncReadyCallback callback, 1566s # gpointer user_data) 1566s # { 1566s # g_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); 1566s # } 1566s # 1566s # /** 1566s # * org_project_useful_interface_proxy_new_for_bus_finish: 1566s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1566s # * @error: Return location for error or %NULL 1566s # * 1566s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1566s # * 1566s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1566s # */ 1566s # OrgProjectUsefulInterface * 1566s # org_project_useful_interface_proxy_new_for_bus_finish ( 1566s # GAsyncResult *res, 1566s # GError **error) 1566s # { 1566s # GObject *ret; 1566s # GObject *source_object; 1566s # source_object = g_async_result_get_source_object (res); 1566s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1566s # g_object_unref (source_object); 1566s # if (ret != NULL) 1566s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1566s # else 1566s # return NULL; 1566s # } 1566s # 1566s # /** 1566s # * org_project_useful_interface_proxy_new_for_bus_sync: 1566s # * @bus_type: A #GBusType. 1566s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1566s # * @name: A bus name (well-known or unique). 1566s # * @object_path: An object path. 1566s # * @cancellable: (nullable): A #GCancellable or %NULL. 1566s # * @error: Return location for error or %NULL 1566s # * 1566s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1566s # * 1566s # * The calling thread is blocked until a reply is received. 1566s # * 1566s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1566s # * 1566s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1566s # */ 1566s # OrgProjectUsefulInterface * 1566s # org_project_useful_interface_proxy_new_for_bus_sync ( 1566s # GBusType bus_type, 1566s # GDBusProxyFlags flags, 1566s # const gchar *name, 1566s # const gchar *object_path, 1566s # GCancellable *cancellable, 1566s # GError **error) 1566s # { 1566s # GInitable *ret; 1566s # 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); 1566s # if (ret != NULL) 1566s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1566s # else 1566s # return NULL; 1566s # } 1566s # 1566s # 1566s # /* ------------------------------------------------------------------------ */ 1566s # 1566s # /** 1566s # * OrgProjectUsefulInterfaceSkeleton: 1566s # * 1566s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1566s # */ 1566s # 1566s # /** 1566s # * OrgProjectUsefulInterfaceSkeletonClass: 1566s # * @parent_class: The parent class. 1566s # * 1566s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1566s # */ 1566s # 1566s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1566s # { 1566s # GValue *properties; 1566s # GList *changed_properties; 1566s # GSource *changed_properties_idle_source; 1566s # GMainContext *context; 1566s # GMutex lock; 1566s # }; 1566s # 1566s # static void 1566s # _org_project_useful_interface_skeleton_handle_method_call ( 1566s # GDBusConnection *connection G_GNUC_UNUSED, 1566s # const gchar *sender G_GNUC_UNUSED, 1566s # const gchar *object_path G_GNUC_UNUSED, 1566s # const gchar *interface_name, 1566s # const gchar *method_name, 1566s # GVariant *parameters, 1566s # GDBusMethodInvocation *invocation, 1566s # gpointer user_data) 1566s # { 1566s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1566s # _ExtendedGDBusMethodInfo *info; 1566s # GVariantIter iter; 1566s # GVariant *child; 1566s # GValue *paramv; 1566s # gsize num_params; 1566s # guint num_extra; 1566s # gsize n; 1566s # guint signal_id; 1566s # GValue return_value = G_VALUE_INIT; 1566s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1566s # g_assert (info != NULL); 1566s # num_params = g_variant_n_children (parameters); 1566s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1566s # n = 0; 1566s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1566s # g_value_set_object (¶mv[n++], skeleton); 1566s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1566s # g_value_set_object (¶mv[n++], invocation); 1566s # if (info->pass_fdlist) 1566s # { 1566s # #ifdef G_OS_UNIX 1566s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1566s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1566s # #else 1566s # g_assert_not_reached (); 1566s # #endif 1566s # } 1566s # g_variant_iter_init (&iter, parameters); 1566s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1566s # { 1566s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1566s # if (arg_info->use_gvariant) 1566s # { 1566s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1566s # g_value_set_variant (¶mv[n], child); 1566s # n++; 1566s # } 1566s # else 1566s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1566s # g_variant_unref (child); 1566s # } 1566s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1566s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1566s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1566s # if (!g_value_get_boolean (&return_value)) 1566s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1566s # g_value_unset (&return_value); 1566s # for (n = 0; n < num_params + num_extra; n++) 1566s # g_value_unset (¶mv[n]); 1566s # g_free (paramv); 1566s # } 1566s # 1566s # static GVariant * 1566s # _org_project_useful_interface_skeleton_handle_get_property ( 1566s # GDBusConnection *connection G_GNUC_UNUSED, 1566s # const gchar *sender G_GNUC_UNUSED, 1566s # const gchar *object_path G_GNUC_UNUSED, 1566s # const gchar *interface_name G_GNUC_UNUSED, 1566s # const gchar *property_name, 1566s # GError **error, 1566s # gpointer user_data) 1566s # { 1566s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1566s # GValue value = G_VALUE_INIT; 1566s # GParamSpec *pspec; 1566s # _ExtendedGDBusPropertyInfo *info; 1566s # GVariant *ret; 1566s # ret = NULL; 1566s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1566s # g_assert (info != NULL); 1566s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1566s # if (pspec == NULL) 1566s # { 1566s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1566s # } 1566s # else 1566s # { 1566s # g_value_init (&value, pspec->value_type); 1566s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1566s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1566s # g_value_unset (&value); 1566s # } 1566s # return ret; 1566s # } 1566s # 1566s # static gboolean 1566s # _org_project_useful_interface_skeleton_handle_set_property ( 1566s # GDBusConnection *connection G_GNUC_UNUSED, 1566s # const gchar *sender G_GNUC_UNUSED, 1566s # const gchar *object_path G_GNUC_UNUSED, 1566s # const gchar *interface_name G_GNUC_UNUSED, 1566s # const gchar *property_name, 1566s # GVariant *variant, 1566s # GError **error, 1566s # gpointer user_data) 1566s # { 1566s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1566s # GValue value = G_VALUE_INIT; 1566s # GParamSpec *pspec; 1566s # _ExtendedGDBusPropertyInfo *info; 1566s # gboolean ret; 1566s # ret = FALSE; 1566s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1566s # g_assert (info != NULL); 1566s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1566s # if (pspec == NULL) 1566s # { 1566s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1566s # } 1566s # else 1566s # { 1566s # if (info->use_gvariant) 1566s # g_value_set_variant (&value, variant); 1566s # else 1566s # g_dbus_gvariant_to_gvalue (variant, &value); 1566s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1566s # g_value_unset (&value); 1566s # ret = TRUE; 1566s # } 1566s # return ret; 1566s # } 1566s # 1566s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1566s # { 1566s # _org_project_useful_interface_skeleton_handle_method_call, 1566s # _org_project_useful_interface_skeleton_handle_get_property, 1566s # _org_project_useful_interface_skeleton_handle_set_property, 1566s # {NULL} 1566s # }; 1566s # 1566s # static GDBusInterfaceInfo * 1566s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1566s # { 1566s # return org_project_useful_interface_interface_info (); 1566s # } 1566s # 1566s # static GDBusInterfaceVTable * 1566s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1566s # { 1566s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1566s # } 1566s # 1566s # static GVariant * 1566s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1566s # { 1566s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1566s # 1566s # GVariantBuilder builder; 1566s # guint n; 1566s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1566s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1566s # goto out; 1566s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1566s # { 1566s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1566s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1566s # { 1566s # GVariant *value; 1566s # 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); 1566s # if (value != NULL) 1566s # { 1566s # g_variant_take_ref (value); 1566s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1566s # g_variant_unref (value); 1566s # } 1566s # } 1566s # } 1566s # out: 1566s # return g_variant_builder_end (&builder); 1566s # } 1566s # 1566s # static void 1566s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1566s # { 1566s # } 1566s # 1566s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1566s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1566s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1566s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1566s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1566s # 1566s # #else 1566s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1566s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1566s # 1566s # #endif 1566s # static void 1566s # org_project_useful_interface_skeleton_finalize (GObject *object) 1566s # { 1566s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1566s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1566s # if (skeleton->priv->changed_properties_idle_source != NULL) 1566s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1566s # g_main_context_unref (skeleton->priv->context); 1566s # g_mutex_clear (&skeleton->priv->lock); 1566s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1566s # } 1566s # 1566s # static void 1566s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1566s # { 1566s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1566s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1566s # #else 1566s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1566s # #endif 1566s # 1566s # g_mutex_init (&skeleton->priv->lock); 1566s # skeleton->priv->context = g_main_context_ref_thread_default (); 1566s # } 1566s # 1566s # static void 1566s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1566s # { 1566s # GObjectClass *gobject_class; 1566s # GDBusInterfaceSkeletonClass *skeleton_class; 1566s # 1566s # gobject_class = G_OBJECT_CLASS (klass); 1566s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1566s # 1566s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1566s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1566s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1566s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1566s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1566s # 1566s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1566s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1566s # #endif 1566s # } 1566s # 1566s # static void 1566s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1566s # { 1566s # } 1566s # 1566s # /** 1566s # * org_project_useful_interface_skeleton_new: 1566s # * 1566s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1566s # * 1566s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1566s # */ 1566s # OrgProjectUsefulInterface * 1566s # org_project_useful_interface_skeleton_new (void) 1566s # { 1566s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1566s # } 1566s # /tmp/tmppzwln7e0/tmpeet7v2dl.xml: 1566s # 1566s # 1566s # 1566s # 1566s # 1566s # 1566s # 1566s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmppzwln7e0/tmpeet7v2dl.xml', '--output', '-', '--body'] 1566s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-baqskmurxn,guid=fbaffe99d0ccb1f6e1beb84865fc01cd', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.YcZbqk/autopkgtest_tmp', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.YcZbqk/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.YcZbqk/autopkgtest_tmp', 'TERM': 'unknown', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.YcZbqk/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.sVTVMp0Db0', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.rqZsJO/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.YcZbqk/wrapper.sh --artifacts=/tmp/autopkgtest.YcZbqk/installed-tests-artifacts --chdir=/tmp/autopkgtest.YcZbqk/build.S0E/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.YcZbqk/installed-tests-stderr --stdout=/tmp/autopkgtest.YcZbqk/installed-tests-stdout --tmp=/tmp/autopkgtest.YcZbqk/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2' --make-executable=/tmp/autopkgtest.YcZbqk/build.S0E/src/debian/tests/installed-tests -- /tmp/autopkgtest.YcZbqk/build.S0E/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.YcZbqk/build.S0E/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.YcZbqk/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1566s # Output: /* 1566s # * This file is generated by gdbus-codegen, do not modify it. 1566s # * 1566s # * The license of this code is the same as for the D-Bus interface description 1566s # * it was derived from. Note that it links to GLib, so must comply with the 1566s # * LGPL linking clauses. 1566s # */ 1566s # 1566s # #ifdef HAVE_CONFIG_H 1566s # # include "config.h" 1566s # #endif 1566s # 1566s # #include 1566s # #ifdef G_OS_UNIX 1566s # # include 1566s # #endif 1566s # 1566s # #ifdef G_ENABLE_DEBUG 1566s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1566s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1566s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1566s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1566s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1566s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1566s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1566s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1566s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1566s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1566s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1566s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1566s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1566s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1566s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1566s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1566s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1566s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1566s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1566s # #else /* !G_ENABLE_DEBUG */ 1566s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1566s # * Do not access GValues directly in your code. Instead, use the 1566s # * g_value_get_*() functions 1566s # */ 1566s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1566s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1566s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1566s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1566s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1566s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1566s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1566s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1566s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1566s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1566s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1566s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1566s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1566s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1566s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1566s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1566s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1566s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1566s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1566s # #endif /* !G_ENABLE_DEBUG */ 1566s # 1566s # typedef struct 1566s # { 1566s # GDBusArgInfo parent_struct; 1566s # gboolean use_gvariant; 1566s # } _ExtendedGDBusArgInfo; 1566s # 1566s # typedef struct 1566s # { 1566s # GDBusMethodInfo parent_struct; 1566s # const gchar *signal_name; 1566s # gboolean pass_fdlist; 1566s # } _ExtendedGDBusMethodInfo; 1566s # 1566s # typedef struct 1566s # { 1566s # GDBusSignalInfo parent_struct; 1566s # const gchar *signal_name; 1566s # } _ExtendedGDBusSignalInfo; 1566s # 1566s # typedef struct 1566s # { 1566s # GDBusPropertyInfo parent_struct; 1566s # const gchar *hyphen_name; 1566s # guint use_gvariant : 1; 1566s # guint emits_changed_signal : 1; 1566s # } _ExtendedGDBusPropertyInfo; 1566s # 1566s # typedef struct 1566s # { 1566s # GDBusInterfaceInfo parent_struct; 1566s # const gchar *hyphen_name; 1566s # } _ExtendedGDBusInterfaceInfo; 1566s # 1566s # typedef struct 1566s # { 1566s # const _ExtendedGDBusPropertyInfo *info; 1566s # guint prop_id; 1566s # GValue orig_value; /* the value before the change */ 1566s # } ChangedProperty; 1566s # 1566s # static void 1566s # _changed_property_free (ChangedProperty *data) 1566s # { 1566s # g_value_unset (&data->orig_value); 1566s # g_free (data); 1566s # } 1566s # 1566s # static gboolean 1566s # _g_strv_equal0 (gchar **a, gchar **b) 1566s # { 1566s # gboolean ret = FALSE; 1566s # guint n; 1566s # if (a == NULL && b == NULL) 1566s # { 1566s # ret = TRUE; 1566s # goto out; 1566s # } 1566s # if (a == NULL || b == NULL) 1566s # goto out; 1566s # if (g_strv_length (a) != g_strv_length (b)) 1566s # goto out; 1566s # for (n = 0; a[n] != NULL; n++) 1566s # if (g_strcmp0 (a[n], b[n]) != 0) 1566s # goto out; 1566s # ret = TRUE; 1566s # out: 1566s # return ret; 1566s # } 1566s # 1566s # static gboolean 1566s # _g_variant_equal0 (GVariant *a, GVariant *b) 1566s # { 1566s # gboolean ret = FALSE; 1566s # if (a == NULL && b == NULL) 1566s # { 1566s # ret = TRUE; 1566s # goto out; 1566s # } 1566s # if (a == NULL || b == NULL) 1566s # goto out; 1566s # ret = g_variant_equal (a, b); 1566s # out: 1566s # return ret; 1566s # } 1566s # 1566s # G_GNUC_UNUSED static gboolean 1566s # _g_value_equal (const GValue *a, const GValue *b) 1566s # { 1566s # gboolean ret = FALSE; 1566s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1566s # switch (G_VALUE_TYPE (a)) 1566s # { 1566s # case G_TYPE_BOOLEAN: 1566s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1566s # break; 1566s # case G_TYPE_UCHAR: 1566s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1566s # break; 1566s # case G_TYPE_INT: 1566s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1566s # break; 1566s # case G_TYPE_UINT: 1566s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1566s # break; 1566s # case G_TYPE_INT64: 1566s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1566s # break; 1566s # case G_TYPE_UINT64: 1566s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1566s # break; 1566s # case G_TYPE_DOUBLE: 1566s # { 1566s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1566s # gdouble da = g_value_get_double (a); 1566s # gdouble db = g_value_get_double (b); 1566s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1566s # } 1566s # break; 1566s # case G_TYPE_STRING: 1566s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1566s # break; 1566s # case G_TYPE_VARIANT: 1566s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1566s # break; 1566s # default: 1566s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1566s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1566s # else 1566s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1566s # break; 1566s # } 1566s # return ret; 1566s # } 1566s # 1566s # static void 1566s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_UINT64 ( 1566s # GClosure *closure, 1566s # GValue *return_value, 1566s # unsigned int n_param_values, 1566s # const GValue *param_values, 1566s # void *invocation_hint G_GNUC_UNUSED, 1566s # void *marshal_data) 1566s # { 1566s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectUint64Func) 1566s # (void *data1, 1566s # GDBusMethodInvocation *arg_method_invocation, 1566s # guint64 arg_arg_t, 1566s # void *data2); 1566s # _GDbusCodegenMarshalBoolean_ObjectUint64Func callback; 1566s # GCClosure *cc = (GCClosure*) closure; 1566s # void *data1, *data2; 1566s # gboolean v_return; 1566s # 1566s # g_return_if_fail (return_value != NULL); 1566s # g_return_if_fail (n_param_values == 3); 1566s # 1566s # if (G_CCLOSURE_SWAP_DATA (closure)) 1566s # { 1566s # data1 = closure->data; 1566s # data2 = g_value_peek_pointer (param_values + 0); 1566s # } 1566s # else 1566s # { 1566s # data1 = g_value_peek_pointer (param_values + 0); 1566s # data2 = closure->data; 1566s # } 1566s # 1566s # callback = (_GDbusCodegenMarshalBoolean_ObjectUint64Func) 1566s # (marshal_data ? marshal_data : cc->callback); 1566s # 1566s # v_return = 1566s # callback (data1, 1566s # g_marshal_value_peek_object (param_values + 1), 1566s # g_marshal_value_peek_uint64 (param_values + 2), 1566s # data2); 1566s # 1566s # g_value_set_boolean (return_value, v_return); 1566s # } 1566s # 1566s # /* ------------------------------------------------------------------------ 1566s # * Code for interface org.project.UsefulInterface 1566s # * ------------------------------------------------------------------------ 1566s # */ 1566s # 1566s # /** 1566s # * SECTION:OrgProjectUsefulInterface 1566s # * @title: OrgProjectUsefulInterface 1566s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1566s # * 1566s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1566s # */ 1566s # 1566s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1566s # 1566s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_t_IN_ARG_arg_t = 1566s # { 1566s # { 1566s # -1, 1566s # (gchar *) "arg_t", 1566s # (gchar *) "t", 1566s # NULL 1566s # }, 1566s # FALSE 1566s # }; 1566s # 1566s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_t_IN_ARG_pointers[] = 1566s # { 1566s # &_org_project_useful_interface_method_info_single_arg_method_t_IN_ARG_arg_t.parent_struct, 1566s # NULL 1566s # }; 1566s # 1566s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_t = 1566s # { 1566s # { 1566s # -1, 1566s # (gchar *) "SingleArgMethodT", 1566s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_t_IN_ARG_pointers, 1566s # NULL, 1566s # NULL 1566s # }, 1566s # "handle-single-arg-method-t", 1566s # FALSE 1566s # }; 1566s # 1566s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1566s # { 1566s # &_org_project_useful_interface_method_info_single_arg_method_t.parent_struct, 1566s # NULL 1566s # }; 1566s # 1566s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1566s # { 1566s # { 1566s # -1, 1566s # (gchar *) "org.project.UsefulInterface", 1566s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1566s # NULL, 1566s # NULL, 1566s # NULL 1566s # }, 1566s # "org-project-useful-interface", 1566s # }; 1566s # 1566s # 1566s # /** 1566s # * org_project_useful_interface_interface_info: 1566s # * 1566s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1566s # * 1566s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1566s # */ 1566s # GDBusInterfaceInfo * 1566s # org_project_useful_interface_interface_info (void) 1566s # { 1566s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1566s # } 1566s # 1566s # /** 1566s # * org_project_useful_interface_override_properties: 1566s # * @klass: The class structure for a #GObject derived class. 1566s # * @property_id_begin: The property id to assign to the first overridden property. 1566s # * 1566s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1566s # * The properties are overridden in the order they are defined. 1566s # * 1566s # * Returns: The last property id. 1566s # */ 1566s # guint 1566s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1566s # { 1566s # return property_id_begin - 1; 1566s # } 1566s # 1566s # 1566s # inline static void 1566s # org_project_useful_interface_method_marshal_single_arg_method_t ( 1566s # GClosure *closure, 1566s # GValue *return_value, 1566s # unsigned int n_param_values, 1566s # const GValue *param_values, 1566s # void *invocation_hint, 1566s # void *marshal_data) 1566s # { 1566s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_UINT64 (closure, 1566s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1566s # } 1566s # 1566s # 1566s # /** 1566s # * OrgProjectUsefulInterface: 1566s # * 1566s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1566s # */ 1566s # 1566s # /** 1566s # * OrgProjectUsefulInterfaceIface: 1566s # * @parent_iface: The parent interface. 1566s # * @handle_single_arg_method_t: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-t signal. 1566s # * 1566s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1566s # */ 1566s # 1566s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1566s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1566s # 1566s # static void 1566s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1566s # { 1566s # /* GObject signals for incoming D-Bus method calls: */ 1566s # /** 1566s # * OrgProjectUsefulInterface::handle-single-arg-method-t: 1566s # * @object: A #OrgProjectUsefulInterface. 1566s # * @invocation: A #GDBusMethodInvocation. 1566s # * @arg_arg_t: Argument passed by remote caller. 1566s # * 1566s # * Signal emitted when a remote caller is invoking the SingleArgMethodT() D-Bus method. 1566s # * 1566s # * 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. 1566s # * 1566s # * 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. 1566s # */ 1566s # g_signal_new ("handle-single-arg-method-t", 1566s # G_TYPE_FROM_INTERFACE (iface), 1566s # G_SIGNAL_RUN_LAST, 1566s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_t), 1566s # g_signal_accumulator_true_handled, 1566s # NULL, 1566s # org_project_useful_interface_method_marshal_single_arg_method_t, 1566s # G_TYPE_BOOLEAN, 1566s # 2, 1566s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_UINT64); 1566s # 1566s # } 1566s # 1566s # /** 1566s # * org_project_useful_interface_call_single_arg_method_t: 1566s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1566s # * @arg_arg_t: Argument to pass with the method invocation. 1566s # * @cancellable: (nullable): A #GCancellable or %NULL. 1566s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1566s # * @user_data: User data to pass to @callback. 1566s # * 1566s # * Asynchronously invokes the SingleArgMethodT() D-Bus method on @proxy. 1566s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1566s # * You can then call org_project_useful_interface_call_single_arg_method_t_finish() to get the result of the operation. 1566s # * 1566s # * See org_project_useful_interface_call_single_arg_method_t_sync() for the synchronous, blocking version of this method. 1566s # */ 1566s # void 1566s # org_project_useful_interface_call_single_arg_method_t ( 1566s # OrgProjectUsefulInterface *proxy, 1566s # guint64 arg_arg_t, 1566s # GCancellable *cancellable, 1566s # GAsyncReadyCallback callback, 1566s # gpointer user_data) 1566s # { 1566s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1566s # "SingleArgMethodT", 1566s # g_variant_new ("(t)", 1566s # arg_arg_t), 1566s # G_DBUS_CALL_FLAGS_NONE, 1566s # -1, 1566s # cancellable, 1566s # callback, 1566s # user_data); 1566s # } 1566s # 1566s # /** 1566s # * org_project_useful_interface_call_single_arg_method_t_finish: 1566s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1566s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_t(). 1566s # * @error: Return location for error or %NULL. 1566s # * 1566s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_t(). 1566s # * 1566s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1566s # */ 1566s # gboolean 1566s # org_project_useful_interface_call_single_arg_method_t_finish ( 1566s # OrgProjectUsefulInterface *proxy, 1566s # GAsyncResult *res, 1566s # GError **error) 1566s # { 1566s # GVariant *_ret; 1566s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1566s # if (_ret == NULL) 1566s # goto _out; 1566s # g_variant_get (_ret, 1566s # "()"); 1566s # g_variant_unref (_ret); 1566s # _out: 1566s # return _ret != NULL; 1566s # } 1566s # 1566s # /** 1566s # * org_project_useful_interface_call_single_arg_method_t_sync: 1566s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1566s # * @arg_arg_t: Argument to pass with the method invocation. 1566s # * @cancellable: (nullable): A #GCancellable or %NULL. 1566s # * @error: Return location for error or %NULL. 1566s # * 1566s # * Synchronously invokes the SingleArgMethodT() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1566s # * 1566s # * See org_project_useful_interface_call_single_arg_method_t() for the asynchronous version of this method. 1566s # * 1566s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1566s # */ 1566s # gboolean 1566s # org_project_useful_interface_call_single_arg_method_t_sync ( 1566s # OrgProjectUsefulInterface *proxy, 1566s # guint64 arg_arg_t, 1566s # GCancellable *cancellable, 1566s # GError **error) 1566s # { 1566s # GVariant *_ret; 1566s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1566s # "SingleArgMethodT", 1566s # g_variant_new ("(t)", 1566s # arg_arg_t), 1566s # G_DBUS_CALL_FLAGS_NONE, 1566s # -1, 1566s # cancellable, 1566s # error); 1566s # if (_ret == NULL) 1566s # goto _out; 1566s # g_variant_get (_ret, 1566s # "()"); 1566s # g_variant_unref (_ret); 1566s # _out: 1566s # return _ret != NULL; 1566s # } 1566s # 1566s # /** 1566s # * org_project_useful_interface_complete_single_arg_method_t: 1566s # * @object: A #OrgProjectUsefulInterface. 1566s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1566s # * 1566s # * 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. 1566s # * 1566s # * This method will free @invocation, you cannot use it afterwards. 1566s # */ 1566s # void 1566s # org_project_useful_interface_complete_single_arg_method_t ( 1566s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1566s # GDBusMethodInvocation *invocation) 1566s # { 1566s # g_dbus_method_invocation_return_value (invocation, 1566s # g_variant_new ("()")); 1566s # } 1566s # 1566s # /* ------------------------------------------------------------------------ */ 1566s # 1566s # /** 1566s # * OrgProjectUsefulInterfaceProxy: 1566s # * 1566s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1566s # */ 1566s # 1566s # /** 1566s # * OrgProjectUsefulInterfaceProxyClass: 1566s # * @parent_class: The parent class. 1566s # * 1566s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1566s # */ 1566s # 1566s # struct _OrgProjectUsefulInterfaceProxyPrivate 1566s # { 1566s # GData *qdata; 1566s # }; 1566s # 1566s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1566s # 1566s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1566s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1566s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1566s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1566s # 1566s # #else 1566s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1566s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1566s # 1566s # #endif 1566s # static void 1566s # org_project_useful_interface_proxy_finalize (GObject *object) 1566s # { 1566s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1566s # g_datalist_clear (&proxy->priv->qdata); 1566s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1566s # } 1566s # 1566s # static void 1566s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1566s # guint prop_id G_GNUC_UNUSED, 1566s # GValue *value G_GNUC_UNUSED, 1566s # GParamSpec *pspec G_GNUC_UNUSED) 1566s # { 1566s # } 1566s # 1566s # static void 1566s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1566s # guint prop_id G_GNUC_UNUSED, 1566s # const GValue *value G_GNUC_UNUSED, 1566s # GParamSpec *pspec G_GNUC_UNUSED) 1566s # { 1566s # } 1566s # 1566s # static void 1566s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1566s # const gchar *sender_name G_GNUC_UNUSED, 1566s # const gchar *signal_name, 1566s # GVariant *parameters) 1566s # { 1566s # _ExtendedGDBusSignalInfo *info; 1566s # GVariantIter iter; 1566s # GVariant *child; 1566s # GValue *paramv; 1566s # gsize num_params; 1566s # gsize n; 1566s # guint signal_id; 1566s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1566s # if (info == NULL) 1566s # return; 1566s # num_params = g_variant_n_children (parameters); 1566s # paramv = g_new0 (GValue, num_params + 1); 1566s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1566s # g_value_set_object (¶mv[0], proxy); 1566s # g_variant_iter_init (&iter, parameters); 1566s # n = 1; 1566s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1566s # { 1566s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1566s # if (arg_info->use_gvariant) 1566s # { 1566s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1566s # g_value_set_variant (¶mv[n], child); 1566s # n++; 1566s # } 1566s # else 1566s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1566s # g_variant_unref (child); 1566s # } 1566s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1566s # g_signal_emitv (paramv, signal_id, 0, NULL); 1566s # for (n = 0; n < num_params + 1; n++) 1566s # g_value_unset (¶mv[n]); 1566s # g_free (paramv); 1566s # } 1566s # 1566s # static void 1566s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1566s # GVariant *changed_properties, 1566s # const gchar *const *invalidated_properties) 1566s # { 1566s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1566s # guint n; 1566s # const gchar *key; 1566s # GVariantIter *iter; 1566s # _ExtendedGDBusPropertyInfo *info; 1566s # g_variant_get (changed_properties, "a{sv}", &iter); 1566s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1566s # { 1566s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1566s # g_datalist_remove_data (&proxy->priv->qdata, key); 1566s # if (info != NULL) 1566s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1566s # } 1566s # g_variant_iter_free (iter); 1566s # for (n = 0; invalidated_properties[n] != NULL; n++) 1566s # { 1566s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1566s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1566s # if (info != NULL) 1566s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1566s # } 1566s # } 1566s # 1566s # static void 1566s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1566s # { 1566s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1566s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1566s # #else 1566s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1566s # #endif 1566s # 1566s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1566s # } 1566s # 1566s # static void 1566s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1566s # { 1566s # GObjectClass *gobject_class; 1566s # GDBusProxyClass *proxy_class; 1566s # 1566s # gobject_class = G_OBJECT_CLASS (klass); 1566s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1566s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1566s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1566s # 1566s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1566s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1566s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1566s # 1566s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1566s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1566s # #endif 1566s # } 1566s # 1566s # static void 1566s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1566s # { 1566s # } 1566s # 1566s # /** 1566s # * org_project_useful_interface_proxy_new: 1566s # * @connection: A #GDBusConnection. 1566s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1566s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1566s # * @object_path: An object path. 1566s # * @cancellable: (nullable): A #GCancellable or %NULL. 1566s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1566s # * @user_data: User data to pass to @callback. 1566s # * 1566s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1566s # * 1566s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1566s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1566s # * 1566s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1566s # */ 1566s # void 1566s # org_project_useful_interface_proxy_new ( 1566s # GDBusConnection *connection, 1566s # GDBusProxyFlags flags, 1566s # const gchar *name, 1566s # const gchar *object_path, 1566s # GCancellable *cancellable, 1566s # GAsyncReadyCallback callback, 1566s # gpointer user_data) 1566s # { 1566s # g_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); 1566s # } 1566s # 1566s # /** 1566s # * org_project_useful_interface_proxy_new_finish: 1566s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1566s # * @error: Return location for error or %NULL 1566s # * 1566s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1566s # * 1566s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1566s # */ 1566s # OrgProjectUsefulInterface * 1566s # org_project_useful_interface_proxy_new_finish ( 1566s # GAsyncResult *res, 1566s # GError **error) 1566s # { 1566s # GObject *ret; 1566s # GObject *source_object; 1566s # source_object = g_async_result_get_source_object (res); 1566s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1566s # g_object_unref (source_object); 1566s # if (ret != NULL) 1566s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1566s # else 1566s # return NULL; 1566s # } 1566s # 1566s # /** 1566s # * org_project_useful_interface_proxy_new_sync: 1566s # * @connection: A #GDBusConnection. 1566s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1566s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1566s # * @object_path: An object path. 1566s # * @cancellable: (nullable): A #GCancellable or %NULL. 1566s # * @error: Return location for error or %NULL 1566s # * 1566s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1566s # * 1566s # * The calling thread is blocked until a reply is received. 1566s # * 1566s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1566s # * 1566s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1566s # */ 1566s # OrgProjectUsefulInterface * 1566s # org_project_useful_interface_proxy_new_sync ( 1566s # GDBusConnection *connection, 1566s # GDBusProxyFlags flags, 1566s # const gchar *name, 1566s # const gchar *object_path, 1566s # GCancellable *cancellable, 1566s # GError **error) 1566s # { 1566s # GInitable *ret; 1566s # 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); 1566s # if (ret != NULL) 1566s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1566s # else 1566s # return NULL; 1566s # } 1566s # 1566s # 1566s # /** 1566s # * org_project_useful_interface_proxy_new_for_bus: 1566s # * @bus_type: A #GBusType. 1566s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1566s # * @name: A bus name (well-known or unique). 1566s # * @object_path: An object path. 1566s # * @cancellable: (nullable): A #GCancellable or %NULL. 1566s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1566s # * @user_data: User data to pass to @callback. 1566s # * 1566s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1566s # * 1566s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1566s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1566s # * 1566s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1566s # */ 1566s # void 1566s # org_project_useful_interface_proxy_new_for_bus ( 1566s # GBusType bus_type, 1566s # GDBusProxyFlags flags, 1566s # const gchar *name, 1566s # const gchar *object_path, 1566s # GCancellable *cancellable, 1566s # GAsyncReadyCallback callback, 1566s # gpointer user_data) 1566s # { 1566s # g_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); 1566s # } 1566s # 1566s # /** 1566s # * org_project_useful_interface_proxy_new_for_bus_finish: 1566s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1566s # * @error: Return location for error or %NULL 1566s # * 1566s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1566s # * 1566s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1566s # */ 1566s # OrgProjectUsefulInterface * 1566s # org_project_useful_interface_proxy_new_for_bus_finish ( 1566s # GAsyncResult *res, 1566s # GError **error) 1566s # { 1566s # GObject *ret; 1566s # GObject *source_object; 1566s # source_object = g_async_result_get_source_object (res); 1566s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1566s # g_object_unref (source_object); 1566s # if (ret != NULL) 1566s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1566s # else 1566s # return NULL; 1566s # } 1566s # 1566s # /** 1566s # * org_project_useful_interface_proxy_new_for_bus_sync: 1566s # * @bus_type: A #GBusType. 1566s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1566s # * @name: A bus name (well-known or unique). 1566s # * @object_path: An object path. 1566s # * @cancellable: (nullable): A #GCancellable or %NULL. 1566s # * @error: Return location for error or %NULL 1566s # * 1566s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1566s # * 1566s # * The calling thread is blocked until a reply is received. 1566s # * 1566s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1566s # * 1566s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1566s # */ 1566s # OrgProjectUsefulInterface * 1566s # org_project_useful_interface_proxy_new_for_bus_sync ( 1566s # GBusType bus_type, 1566s # GDBusProxyFlags flags, 1566s # const gchar *name, 1566s # const gchar *object_path, 1566s # GCancellable *cancellable, 1566s # GError **error) 1566s # { 1566s # GInitable *ret; 1566s # 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); 1566s # if (ret != NULL) 1566s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1566s # else 1566s # return NULL; 1566s # } 1566s # 1566s # 1566s # /* ------------------------------------------------------------------------ */ 1566s # 1566s # /** 1566s # * OrgProjectUsefulInterfaceSkeleton: 1566s # * 1566s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1566s # */ 1566s # 1566s # /** 1566s # * OrgProjectUsefulInterfaceSkeletonClass: 1566s # * @parent_class: The parent class. 1566s # * 1566s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1566s # */ 1566s # 1566s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1566s # { 1566s # GValue *properties; 1566s # GList *changed_properties; 1566s # GSource *changed_properties_idle_source; 1566s # GMainContext *context; 1566s # GMutex lock; 1566s # }; 1566s # 1566s # static void 1566s # _org_project_useful_interface_skeleton_handle_method_call ( 1566s # GDBusConnection *connection G_GNUC_UNUSED, 1566s # const gchar *sender G_GNUC_UNUSED, 1566s # const gchar *object_path G_GNUC_UNUSED, 1566s # const gchar *interface_name, 1566s # const gchar *method_name, 1566s # GVariant *parameters, 1566s # GDBusMethodInvocation *invocation, 1566s # gpointer user_data) 1566s # { 1566s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1566s # _ExtendedGDBusMethodInfo *info; 1566s # GVariantIter iter; 1566s # GVariant *child; 1566s # GValue *paramv; 1566s # gsize num_params; 1566s # guint num_extra; 1566s # gsize n; 1566s # guint signal_id; 1566s # GValue return_value = G_VALUE_INIT; 1566s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1566s # g_assert (info != NULL); 1566s # num_params = g_variant_n_children (parameters); 1566s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1566s # n = 0; 1566s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1566s # g_value_set_object (¶mv[n++], skeleton); 1566s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1566s # g_value_set_object (¶mv[n++], invocation); 1566s # if (info->pass_fdlist) 1566s # { 1566s # #ifdef G_OS_UNIX 1566s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1566s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1566s # #else 1566s # g_assert_not_reached (); 1566s # #endif 1566s # } 1566s # g_variant_iter_init (&iter, parameters); 1566s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1566s # { 1566s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1566s # if (arg_info->use_gvariant) 1566s # { 1566s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1566s # g_value_set_variant (¶mv[n], child); 1566s # n++; 1566s # } 1566s # else 1566s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1566s # g_variant_unref (child); 1566s # } 1566s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1566s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1566s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1566s # if (!g_value_get_boolean (&return_value)) 1566s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1566s # g_value_unset (&return_value); 1566s # for (n = 0; n < num_params + num_extra; n++) 1566s # g_value_unset (¶mv[n]); 1566s # g_free (paramv); 1566s # } 1566s # 1566s # static GVariant * 1566s # _org_project_useful_interface_skeleton_handle_get_property ( 1566s # GDBusConnection *connection G_GNUC_UNUSED, 1566s # const gchar *sender G_GNUC_UNUSED, 1566s # const gchar *object_path G_GNUC_UNUSED, 1566s # const gchar *interface_name G_GNUC_UNUSED, 1566s # const gchar *property_name, 1566s # GError **error, 1566s # gpointer user_data) 1566s # { 1566s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1566s # GValue value = G_VALUE_INIT; 1566s # GParamSpec *pspec; 1566s # _ExtendedGDBusPropertyInfo *info; 1566s # GVariant *ret; 1566s # ret = NULL; 1566s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1566s # g_assert (info != NULL); 1566s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1566s # if (pspec == NULL) 1566s # { 1566s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1566s # } 1566s # else 1566s # { 1566s # g_value_init (&value, pspec->value_type); 1566s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1566s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1566s # g_value_unset (&value); 1566s # } 1566s # return ret; 1566s # } 1566s # 1566s # static gboolean 1566s # _org_project_useful_interface_skeleton_handle_set_property ( 1566s # GDBusConnection *connection G_GNUC_UNUSED, 1566s # const gchar *sender G_GNUC_UNUSED, 1566s # const gchar *object_path G_GNUC_UNUSED, 1566s # const gchar *interface_name G_GNUC_UNUSED, 1566s # const gchar *property_name, 1566s # GVariant *variant, 1566s # GError **error, 1566s # gpointer user_data) 1566s # { 1566s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1566s # GValue value = G_VALUE_INIT; 1566s # GParamSpec *pspec; 1566s # _ExtendedGDBusPropertyInfo *info; 1566s # gboolean ret; 1566s # ret = FALSE; 1566s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1566s # g_assert (info != NULL); 1566s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1566s # if (pspec == NULL) 1566s # { 1566s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1566s # } 1566s # else 1566s # { 1566s # if (info->use_gvariant) 1566s # g_value_set_variant (&value, variant); 1566s # else 1566s # g_dbus_gvariant_to_gvalue (variant, &value); 1566s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1566s # g_value_unset (&value); 1566s # ret = TRUE; 1566s # } 1566s # return ret; 1566s # } 1566s # 1566s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1566s # { 1566s # _org_project_useful_interface_skeleton_handle_method_call, 1566s # _org_project_useful_interface_skeleton_handle_get_property, 1566s # _org_project_useful_interface_skeleton_handle_set_property, 1566s # {NULL} 1566s # }; 1566s # 1566s # static GDBusInterfaceInfo * 1566s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1566s # { 1566s # return org_project_useful_interface_interface_info (); 1566s # } 1566s # 1566s # static GDBusInterfaceVTable * 1566s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1566s # { 1566s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1566s # } 1566s # 1566s # static GVariant * 1566s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1566s # { 1566s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1566s # 1566s # GVariantBuilder builder; 1566s # guint n; 1566s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1566s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1566s # goto out; 1566s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1566s # { 1566s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1566s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1566s # { 1566s # GVariant *value; 1566s # 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); 1566s # if (value != NULL) 1566s # { 1566s # g_variant_take_ref (value); 1566s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1566s # g_variant_unref (value); 1566s # } 1566s # } 1566s # } 1566s # out: 1566s # return g_variant_builder_end (&builder); 1566s # } 1566s # 1566s # static void 1566s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1566s # { 1566s # } 1566s # 1566s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1566s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1566s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1566s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1566s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1566s # 1566s # #else 1566s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1566s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1566s # 1566s # #endif 1566s # static void 1566s # org_project_useful_interface_skeleton_finalize (GObject *object) 1566s # { 1566s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1566s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1566s # if (skeleton->priv->changed_properties_idle_source != NULL) 1566s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1566s # g_main_context_unref (skeleton->priv->context); 1566s # g_mutex_clear (&skeleton->priv->lock); 1566s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1566s # } 1566s # 1566s # static void 1566s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1566s # { 1566s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1566s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1566s # #else 1566s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1566s # #endif 1566s # 1566s # g_mutex_init (&skeleton->priv->lock); 1566s # skeleton->priv->context = g_main_context_ref_thread_default (); 1566s # } 1566s # 1566s # static void 1566s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1566s # { 1566s # GObjectClass *gobject_class; 1566s # GDBusInterfaceSkeletonClass *skeleton_class; 1566s # 1566s # gobject_class = G_OBJECT_CLASS (klass); 1566s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1566s # 1566s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1566s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1566s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1566s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1566s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1566s # 1566s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1566s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1566s # #endif 1566s # } 1566s # 1566s # static void 1566s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1566s # { 1566s # } 1566s # 1566s # /** 1566s # * org_project_useful_interface_skeleton_new: 1566s # * 1566s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1566s # * 1566s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1566s # */ 1566s # OrgProjectUsefulInterface * 1566s # org_project_useful_interface_skeleton_new (void) 1566s # { 1566s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1566s # } 1566s # /tmp/tmppzwln7e0/tmpal31y80o.xml: 1566s # 1566s # 1566s # 1566s # 1566s # 1566s # 1566s # 1566s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmppzwln7e0/tmpal31y80o.xml', '--output', '-', '--body'] 1566s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-baqskmurxn,guid=fbaffe99d0ccb1f6e1beb84865fc01cd', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.YcZbqk/autopkgtest_tmp', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.YcZbqk/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.YcZbqk/autopkgtest_tmp', 'TERM': 'unknown', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.YcZbqk/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.sVTVMp0Db0', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.rqZsJO/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.YcZbqk/wrapper.sh --artifacts=/tmp/autopkgtest.YcZbqk/installed-tests-artifacts --chdir=/tmp/autopkgtest.YcZbqk/build.S0E/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.YcZbqk/installed-tests-stderr --stdout=/tmp/autopkgtest.YcZbqk/installed-tests-stdout --tmp=/tmp/autopkgtest.YcZbqk/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2' --make-executable=/tmp/autopkgtest.YcZbqk/build.S0E/src/debian/tests/installed-tests -- /tmp/autopkgtest.YcZbqk/build.S0E/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.YcZbqk/build.S0E/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.YcZbqk/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1566s # Output: /* 1566s # * This file is generated by gdbus-codegen, do not modify it. 1566s # * 1566s # * The license of this code is the same as for the D-Bus interface description 1566s # * it was derived from. Note that it links to GLib, so must comply with the 1566s # * LGPL linking clauses. 1566s # */ 1566s # 1566s # #ifdef HAVE_CONFIG_H 1566s # # include "config.h" 1566s # #endif 1566s # 1566s # #include 1566s # #ifdef G_OS_UNIX 1566s # # include 1566s # #endif 1566s # 1566s # #ifdef G_ENABLE_DEBUG 1566s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1566s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1566s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1566s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1566s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1566s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1566s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1566s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1566s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1566s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1566s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1566s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1566s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1566s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1566s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1566s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1566s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1566s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1566s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1566s # #else /* !G_ENABLE_DEBUG */ 1566s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1566s # * Do not access GValues directly in your code. Instead, use the 1566s # * g_value_get_*() functions 1566s # */ 1566s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1566s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1566s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1566s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1566s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1566s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1566s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1566s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1566s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1566s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1566s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1566s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1566s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1566s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1566s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1566s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1566s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1566s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1566s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1566s # #endif /* !G_ENABLE_DEBUG */ 1566s # 1566s # typedef struct 1566s # { 1566s # GDBusArgInfo parent_struct; 1566s # gboolean use_gvariant; 1566s # } _ExtendedGDBusArgInfo; 1566s # 1566s # typedef struct 1566s # { 1566s # GDBusMethodInfo parent_struct; 1566s # const gchar *signal_name; 1566s # gboolean pass_fdlist; 1566s # } _ExtendedGDBusMethodInfo; 1566s # 1566s # typedef struct 1566s # { 1566s # GDBusSignalInfo parent_struct; 1566s # const gchar *signal_name; 1566s # } _ExtendedGDBusSignalInfo; 1566s # 1566s # typedef struct 1566s # { 1566s # GDBusPropertyInfo parent_struct; 1566s # const gchar *hyphen_name; 1566s # guint use_gvariant : 1; 1566s # guint emits_changed_signal : 1; 1566s # } _ExtendedGDBusPropertyInfo; 1566s # 1566s # typedef struct 1566s # { 1566s # GDBusInterfaceInfo parent_struct; 1566s # const gchar *hyphen_name; 1566s # } _ExtendedGDBusInterfaceInfo; 1566s # 1566s # typedef struct 1566s # { 1566s # const _ExtendedGDBusPropertyInfo *info; 1566s # guint prop_id; 1566s # GValue orig_value; /* the value before the change */ 1566s # } ChangedProperty; 1566s # 1566s # static void 1566s # _changed_property_free (ChangedProperty *data) 1566s # { 1566s # g_value_unset (&data->orig_value); 1566s # g_free (data); 1566s # } 1566s # 1566s # static gboolean 1566s # _g_strv_equal0 (gchar **a, gchar **b) 1566s # { 1566s # gboolean ret = FALSE; 1566s # guint n; 1566s # if (a == NULL && b == NULL) 1566s # { 1566s # ret = TRUE; 1566s # goto out; 1566s # } 1566s # if (a == NULL || b == NULL) 1566s # goto out; 1566s # if (g_strv_length (a) != g_strv_length (b)) 1566s # goto out; 1566s # for (n = 0; a[n] != NULL; n++) 1566s # if (g_strcmp0 (a[n], b[n]) != 0) 1566s # goto out; 1566s # ret = TRUE; 1566s # out: 1566s # return ret; 1566s # } 1566s # 1566s # static gboolean 1566s # _g_variant_equal0 (GVariant *a, GVariant *b) 1566s # { 1566s # gboolean ret = FALSE; 1566s # if (a == NULL && b == NULL) 1566s # { 1566s # ret = TRUE; 1566s # goto out; 1566s # } 1566s # if (a == NULL || b == NULL) 1566s # goto out; 1566s # ret = g_variant_equal (a, b); 1566s # out: 1566s # return ret; 1566s # } 1566s # 1566s # G_GNUC_UNUSED static gboolean 1566s # _g_value_equal (const GValue *a, const GValue *b) 1566s # { 1566s # gboolean ret = FALSE; 1566s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1566s # switch (G_VALUE_TYPE (a)) 1566s # { 1566s # case G_TYPE_BOOLEAN: 1566s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1566s # break; 1566s # case G_TYPE_UCHAR: 1566s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1566s # break; 1566s # case G_TYPE_INT: 1566s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1566s # break; 1566s # case G_TYPE_UINT: 1566s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1566s # break; 1566s # case G_TYPE_INT64: 1566s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1566s # break; 1566s # case G_TYPE_UINT64: 1566s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1566s # break; 1566s # case G_TYPE_DOUBLE: 1566s # { 1566s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1566s # gdouble da = g_value_get_double (a); 1566s # gdouble db = g_value_get_double (b); 1566s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1566s # } 1566s # break; 1566s # case G_TYPE_STRING: 1566s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1566s # break; 1566s # case G_TYPE_VARIANT: 1566s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1566s # break; 1566s # default: 1566s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1566s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1566s # else 1566s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1566s # break; 1566s # } 1566s # return ret; 1566s # } 1566s # 1566s # static void 1566s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_DOUBLE ( 1566s # GClosure *closure, 1566s # GValue *return_value, 1566s # unsigned int n_param_values, 1566s # const GValue *param_values, 1566s # void *invocation_hint G_GNUC_UNUSED, 1566s # void *marshal_data) 1566s # { 1566s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectDoubleFunc) 1566s # (void *data1, 1566s # GDBusMethodInvocation *arg_method_invocation, 1566s # gdouble arg_arg_d, 1566s # void *data2); 1566s # _GDbusCodegenMarshalBoolean_ObjectDoubleFunc callback; 1566s # GCClosure *cc = (GCClosure*) closure; 1566s # void *data1, *data2; 1566s # gboolean v_return; 1566s # 1566s # g_return_if_fail (return_value != NULL); 1566s # g_return_if_fail (n_param_values == 3); 1566s # 1566s # if (G_CCLOSURE_SWAP_DATA (closure)) 1566s # { 1566s # data1 = closure->data; 1566s # data2 = g_value_peek_pointer (param_values + 0); 1566s # } 1566s # else 1566s # { 1566s # data1 = g_value_peek_pointer (param_values + 0); 1566s # data2 = closure->data; 1566s # } 1566s # 1566s # callback = (_GDbusCodegenMarshalBoolean_ObjectDoubleFunc) 1566s # (marshal_data ? marshal_data : cc->callback); 1566s # 1566s # v_return = 1566s # callback (data1, 1566s # g_marshal_value_peek_object (param_values + 1), 1566s # g_marshal_value_peek_double (param_values + 2), 1566s # data2); 1566s # 1566s # g_value_set_boolean (return_value, v_return); 1566s # } 1566s # 1566s # /* ------------------------------------------------------------------------ 1566s # * Code for interface org.project.UsefulInterface 1566s # * ------------------------------------------------------------------------ 1566s # */ 1566s # 1566s # /** 1566s # * SECTION:OrgProjectUsefulInterface 1566s # * @title: OrgProjectUsefulInterface 1566s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1566s # * 1566s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1566s # */ 1566s # 1566s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1566s # 1566s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_d_IN_ARG_arg_d = 1566s # { 1566s # { 1566s # -1, 1566s # (gchar *) "arg_d", 1566s # (gchar *) "d", 1566s # NULL 1566s # }, 1566s # FALSE 1566s # }; 1566s # 1566s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_d_IN_ARG_pointers[] = 1566s # { 1566s # &_org_project_useful_interface_method_info_single_arg_method_d_IN_ARG_arg_d.parent_struct, 1566s # NULL 1566s # }; 1566s # 1566s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_d = 1566s # { 1566s # { 1566s # -1, 1566s # (gchar *) "SingleArgMethodD", 1566s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_d_IN_ARG_pointers, 1566s # NULL, 1566s # NULL 1566s # }, 1566s # "handle-single-arg-method-d", 1566s # FALSE 1566s # }; 1566s # 1566s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1566s # { 1566s # &_org_project_useful_interface_method_info_single_arg_method_d.parent_struct, 1566s # NULL 1566s # }; 1566s # 1566s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1566s # { 1566s # { 1566s # -1, 1566s # (gchar *) "org.project.UsefulInterface", 1566s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1566s # NULL, 1566s # NULL, 1566s # NULL 1566s # }, 1566s # "org-project-useful-interface", 1566s # }; 1566s # 1566s # 1566s # /** 1566s # * org_project_useful_interface_interface_info: 1566s # * 1566s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1566s # * 1566s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1566s # */ 1566s # GDBusInterfaceInfo * 1566s # org_project_useful_interface_interface_info (void) 1566s # { 1566s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1566s # } 1566s # 1566s # /** 1566s # * org_project_useful_interface_override_properties: 1566s # * @klass: The class structure for a #GObject derived class. 1566s # * @property_id_begin: The property id to assign to the first overridden property. 1566s # * 1566s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1566s # * The properties are overridden in the order they are defined. 1566s # * 1566s # * Returns: The last property id. 1566s # */ 1566s # guint 1566s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1566s # { 1566s # return property_id_begin - 1; 1566s # } 1566s # 1566s # 1566s # inline static void 1566s # org_project_useful_interface_method_marshal_single_arg_method_d ( 1566s # GClosure *closure, 1566s # GValue *return_value, 1566s # unsigned int n_param_values, 1566s # const GValue *param_values, 1566s # void *invocation_hint, 1566s # void *marshal_data) 1566s # { 1566s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_DOUBLE (closure, 1566s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1566s # } 1566s # 1566s # 1566s # /** 1566s # * OrgProjectUsefulInterface: 1566s # * 1566s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1566s # */ 1566s # 1566s # /** 1566s # * OrgProjectUsefulInterfaceIface: 1566s # * @parent_iface: The parent interface. 1566s # * @handle_single_arg_method_d: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-d signal. 1566s # * 1566s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1566s # */ 1566s # 1566s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1566s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1566s # 1566s # static void 1566s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1566s # { 1566s # /* GObject signals for incoming D-Bus method calls: */ 1566s # /** 1566s # * OrgProjectUsefulInterface::handle-single-arg-method-d: 1566s # * @object: A #OrgProjectUsefulInterface. 1566s # * @invocation: A #GDBusMethodInvocation. 1566s # * @arg_arg_d: Argument passed by remote caller. 1566s # * 1566s # * Signal emitted when a remote caller is invoking the SingleArgMethodD() D-Bus method. 1566s # * 1566s # * 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. 1566s # * 1566s # * 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. 1566s # */ 1566s # g_signal_new ("handle-single-arg-method-d", 1566s # G_TYPE_FROM_INTERFACE (iface), 1566s # G_SIGNAL_RUN_LAST, 1566s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_d), 1566s # g_signal_accumulator_true_handled, 1566s # NULL, 1566s # org_project_useful_interface_method_marshal_single_arg_method_d, 1566s # G_TYPE_BOOLEAN, 1566s # 2, 1566s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_DOUBLE); 1566s # 1566s # } 1566s # 1566s # /** 1566s # * org_project_useful_interface_call_single_arg_method_d: 1566s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1566s # * @arg_arg_d: Argument to pass with the method invocation. 1566s # * @cancellable: (nullable): A #GCancellable or %NULL. 1566s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1566s # * @user_data: User data to pass to @callback. 1566s # * 1566s # * Asynchronously invokes the SingleArgMethodD() D-Bus method on @proxy. 1566s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1566s # * You can then call org_project_useful_interface_call_single_arg_method_d_finish() to get the result of the operation. 1566s # * 1566s # * See org_project_useful_interface_call_single_arg_method_d_sync() for the synchronous, blocking version of this method. 1566s # */ 1566s # void 1566s # org_project_useful_interface_call_single_arg_method_d ( 1566s # OrgProjectUsefulInterface *proxy, 1566s # gdouble arg_arg_d, 1566s # GCancellable *cancellable, 1566s # GAsyncReadyCallback callback, 1566s # gpointer user_data) 1566s # { 1566s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1566s # "SingleArgMethodD", 1566s # g_variant_new ("(d)", 1566s # arg_arg_d), 1566s # G_DBUS_CALL_FLAGS_NONE, 1566s # -1, 1566s # cancellable, 1566s # callback, 1566s # user_data); 1566s # } 1566s # 1566s # /** 1566s # * org_project_useful_interface_call_single_arg_method_d_finish: 1566s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1566s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_d(). 1566s # * @error: Return location for error or %NULL. 1566s # * 1566s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_d(). 1566s # * 1566s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1566s # */ 1566s # gboolean 1566s # org_project_useful_interface_call_single_arg_method_d_finish ( 1566s # OrgProjectUsefulInterface *proxy, 1566s # GAsyncResult *res, 1566s # GError **error) 1566s # { 1566s # GVariant *_ret; 1566s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1566s # if (_ret == NULL) 1566s # goto _out; 1566s # g_variant_get (_ret, 1566s # "()"); 1566s # g_variant_unref (_ret); 1566s # _out: 1566s # return _ret != NULL; 1566s # } 1566s # 1566s # /** 1566s # * org_project_useful_interface_call_single_arg_method_d_sync: 1566s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1566s # * @arg_arg_d: Argument to pass with the method invocation. 1566s # * @cancellable: (nullable): A #GCancellable or %NULL. 1566s # * @error: Return location for error or %NULL. 1566s # * 1566s # * Synchronously invokes the SingleArgMethodD() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1566s # * 1566s # * See org_project_useful_interface_call_single_arg_method_d() for the asynchronous version of this method. 1566s # * 1566s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1566s # */ 1566s # gboolean 1566s # org_project_useful_interface_call_single_arg_method_d_sync ( 1566s # OrgProjectUsefulInterface *proxy, 1566s # gdouble arg_arg_d, 1566s # GCancellable *cancellable, 1566s # GError **error) 1566s # { 1566s # GVariant *_ret; 1566s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1566s # "SingleArgMethodD", 1566s # g_variant_new ("(d)", 1566s # arg_arg_d), 1566s # G_DBUS_CALL_FLAGS_NONE, 1566s # -1, 1566s # cancellable, 1566s # error); 1566s # if (_ret == NULL) 1566s # goto _out; 1566s # g_variant_get (_ret, 1566s # "()"); 1566s # g_variant_unref (_ret); 1566s # _out: 1566s # return _ret != NULL; 1566s # } 1566s # 1566s # /** 1566s # * org_project_useful_interface_complete_single_arg_method_d: 1566s # * @object: A #OrgProjectUsefulInterface. 1566s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1566s # * 1566s # * 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. 1566s # * 1566s # * This method will free @invocation, you cannot use it afterwards. 1566s # */ 1566s # void 1566s # org_project_useful_interface_complete_single_arg_method_d ( 1566s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1566s # GDBusMethodInvocation *invocation) 1566s # { 1566s # g_dbus_method_invocation_return_value (invocation, 1566s # g_variant_new ("()")); 1566s # } 1566s # 1566s # /* ------------------------------------------------------------------------ */ 1566s # 1566s # /** 1566s # * OrgProjectUsefulInterfaceProxy: 1566s # * 1566s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1566s # */ 1566s # 1566s # /** 1566s # * OrgProjectUsefulInterfaceProxyClass: 1566s # * @parent_class: The parent class. 1566s # * 1566s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1566s # */ 1566s # 1566s # struct _OrgProjectUsefulInterfaceProxyPrivate 1566s # { 1566s # GData *qdata; 1566s # }; 1566s # 1566s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1566s # 1566s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1566s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1566s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1566s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1566s # 1566s # #else 1566s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1566s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1566s # 1566s # #endif 1566s # static void 1566s # org_project_useful_interface_proxy_finalize (GObject *object) 1566s # { 1566s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1566s # g_datalist_clear (&proxy->priv->qdata); 1566s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1566s # } 1566s # 1566s # static void 1566s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1566s # guint prop_id G_GNUC_UNUSED, 1566s # GValue *value G_GNUC_UNUSED, 1566s # GParamSpec *pspec G_GNUC_UNUSED) 1566s # { 1566s # } 1566s # 1566s # static void 1566s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1566s # guint prop_id G_GNUC_UNUSED, 1566s # const GValue *value G_GNUC_UNUSED, 1566s # GParamSpec *pspec G_GNUC_UNUSED) 1566s # { 1566s # } 1566s # 1566s # static void 1566s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1566s # const gchar *sender_name G_GNUC_UNUSED, 1566s # const gchar *signal_name, 1566s # GVariant *parameters) 1566s # { 1566s # _ExtendedGDBusSignalInfo *info; 1566s # GVariantIter iter; 1566s # GVariant *child; 1566s # GValue *paramv; 1566s # gsize num_params; 1566s # gsize n; 1566s # guint signal_id; 1566s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1566s # if (info == NULL) 1566s # return; 1566s # num_params = g_variant_n_children (parameters); 1566s # paramv = g_new0 (GValue, num_params + 1); 1566s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1566s # g_value_set_object (¶mv[0], proxy); 1566s # g_variant_iter_init (&iter, parameters); 1566s # n = 1; 1566s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1566s # { 1566s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1566s # if (arg_info->use_gvariant) 1566s # { 1566s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1566s # g_value_set_variant (¶mv[n], child); 1566s # n++; 1566s # } 1566s # else 1566s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1566s # g_variant_unref (child); 1566s # } 1566s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1566s # g_signal_emitv (paramv, signal_id, 0, NULL); 1566s # for (n = 0; n < num_params + 1; n++) 1566s # g_value_unset (¶mv[n]); 1566s # g_free (paramv); 1566s # } 1566s # 1566s # static void 1566s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1566s # GVariant *changed_properties, 1566s # const gchar *const *invalidated_properties) 1566s # { 1566s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1566s # guint n; 1566s # const gchar *key; 1566s # GVariantIter *iter; 1566s # _ExtendedGDBusPropertyInfo *info; 1566s # g_variant_get (changed_properties, "a{sv}", &iter); 1566s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1566s # { 1566s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1566s # g_datalist_remove_data (&proxy->priv->qdata, key); 1566s # if (info != NULL) 1566s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1566s # } 1566s # g_variant_iter_free (iter); 1566s # for (n = 0; invalidated_properties[n] != NULL; n++) 1566s # { 1566s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1566s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1566s # if (info != NULL) 1566s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1566s # } 1566s # } 1566s # 1566s # static void 1566s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1566s # { 1566s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1566s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1566s # #else 1566s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1566s # #endif 1566s # 1566s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1566s # } 1566s # 1566s # static void 1566s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1566s # { 1566s # GObjectClass *gobject_class; 1566s # GDBusProxyClass *proxy_class; 1566s # 1566s # gobject_class = G_OBJECT_CLASS (klass); 1566s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1566s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1566s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1566s # 1566s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1566s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1566s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1566s # 1566s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1566s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1566s # #endif 1566s # } 1566s # 1566s # static void 1566s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1566s # { 1566s # } 1566s # 1566s # /** 1566s # * org_project_useful_interface_proxy_new: 1566s # * @connection: A #GDBusConnection. 1566s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1566s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1566s # * @object_path: An object path. 1566s # * @cancellable: (nullable): A #GCancellable or %NULL. 1566s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1566s # * @user_data: User data to pass to @callback. 1566s # * 1566s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1566s # * 1566s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1566s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1566s # * 1566s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1566s # */ 1566s # void 1566s # org_project_useful_interface_proxy_new ( 1566s # GDBusConnection *connection, 1566s # GDBusProxyFlags flags, 1566s # const gchar *name, 1566s # const gchar *object_path, 1566s # GCancellable *cancellable, 1566s # GAsyncReadyCallback callback, 1566s # gpointer user_data) 1566s # { 1566s # g_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); 1566s # } 1566s # 1566s # /** 1566s # * org_project_useful_interface_proxy_new_finish: 1566s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1566s # * @error: Return location for error or %NULL 1566s # * 1566s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1566s # * 1566s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1566s # */ 1566s # OrgProjectUsefulInterface * 1566s # org_project_useful_interface_proxy_new_finish ( 1566s # GAsyncResult *res, 1566s # GError **error) 1566s # { 1566s # GObject *ret; 1566s # GObject *source_object; 1566s # source_object = g_async_result_get_source_object (res); 1566s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1566s # g_object_unref (source_object); 1566s # if (ret != NULL) 1566s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1566s # else 1566s # return NULL; 1566s # } 1566s # 1566s # /** 1566s # * org_project_useful_interface_proxy_new_sync: 1566s # * @connection: A #GDBusConnection. 1566s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1566s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1566s # * @object_path: An object path. 1566s # * @cancellable: (nullable): A #GCancellable or %NULL. 1566s # * @error: Return location for error or %NULL 1566s # * 1566s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1566s # * 1566s # * The calling thread is blocked until a reply is received. 1566s # * 1566s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1566s # * 1566s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1566s # */ 1566s # OrgProjectUsefulInterface * 1566s # org_project_useful_interface_proxy_new_sync ( 1566s # GDBusConnection *connection, 1566s # GDBusProxyFlags flags, 1566s # const gchar *name, 1566s # const gchar *object_path, 1566s # GCancellable *cancellable, 1566s # GError **error) 1566s # { 1566s # GInitable *ret; 1566s # 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); 1566s # if (ret != NULL) 1566s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1566s # else 1566s # return NULL; 1566s # } 1566s # 1566s # 1566s # /** 1566s # * org_project_useful_interface_proxy_new_for_bus: 1566s # * @bus_type: A #GBusType. 1566s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1566s # * @name: A bus name (well-known or unique). 1566s # * @object_path: An object path. 1566s # * @cancellable: (nullable): A #GCancellable or %NULL. 1566s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1566s # * @user_data: User data to pass to @callback. 1566s # * 1566s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1566s # * 1566s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1566s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1566s # * 1566s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1566s # */ 1566s # void 1566s # org_project_useful_interface_proxy_new_for_bus ( 1566s # GBusType bus_type, 1566s # GDBusProxyFlags flags, 1566s # const gchar *name, 1566s # const gchar *object_path, 1566s # GCancellable *cancellable, 1566s # GAsyncReadyCallback callback, 1566s # gpointer user_data) 1566s # { 1566s # g_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); 1566s # } 1566s # 1566s # /** 1566s # * org_project_useful_interface_proxy_new_for_bus_finish: 1566s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1566s # * @error: Return location for error or %NULL 1566s # * 1566s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1566s # * 1566s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1566s # */ 1566s # OrgProjectUsefulInterface * 1566s # org_project_useful_interface_proxy_new_for_bus_finish ( 1566s # GAsyncResult *res, 1566s # GError **error) 1566s # { 1566s # GObject *ret; 1566s # GObject *source_object; 1566s # source_object = g_async_result_get_source_object (res); 1566s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1566s # g_object_unref (source_object); 1566s # if (ret != NULL) 1566s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1566s # else 1566s # return NULL; 1566s # } 1566s # 1566s # /** 1566s # * org_project_useful_interface_proxy_new_for_bus_sync: 1566s # * @bus_type: A #GBusType. 1566s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1566s # * @name: A bus name (well-known or unique). 1566s # * @object_path: An object path. 1566s # * @cancellable: (nullable): A #GCancellable or %NULL. 1566s # * @error: Return location for error or %NULL 1566s # * 1566s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1566s # * 1566s # * The calling thread is blocked until a reply is received. 1566s # * 1566s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1566s # * 1566s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1566s # */ 1566s # OrgProjectUsefulInterface * 1566s # org_project_useful_interface_proxy_new_for_bus_sync ( 1566s # GBusType bus_type, 1566s # GDBusProxyFlags flags, 1566s # const gchar *name, 1566s # const gchar *object_path, 1566s # GCancellable *cancellable, 1566s # GError **error) 1566s # { 1566s # GInitable *ret; 1566s # 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); 1566s # if (ret != NULL) 1566s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1566s # else 1566s # return NULL; 1566s # } 1566s # 1566s # 1566s # /* ------------------------------------------------------------------------ */ 1566s # 1566s # /** 1566s # * OrgProjectUsefulInterfaceSkeleton: 1566s # * 1566s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1566s # */ 1566s # 1566s # /** 1566s # * OrgProjectUsefulInterfaceSkeletonClass: 1566s # * @parent_class: The parent class. 1566s # * 1566s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1566s # */ 1566s # 1566s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1566s # { 1566s # GValue *properties; 1566s # GList *changed_properties; 1566s # GSource *changed_properties_idle_source; 1566s # GMainContext *context; 1566s # GMutex lock; 1566s # }; 1566s # 1566s # static void 1566s # _org_project_useful_interface_skeleton_handle_method_call ( 1566s # GDBusConnection *connection G_GNUC_UNUSED, 1566s # const gchar *sender G_GNUC_UNUSED, 1566s # const gchar *object_path G_GNUC_UNUSED, 1566s # const gchar *interface_name, 1566s # const gchar *method_name, 1566s # GVariant *parameters, 1566s # GDBusMethodInvocation *invocation, 1566s # gpointer user_data) 1566s # { 1566s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1566s # _ExtendedGDBusMethodInfo *info; 1566s # GVariantIter iter; 1566s # GVariant *child; 1566s # GValue *paramv; 1566s # gsize num_params; 1566s # guint num_extra; 1566s # gsize n; 1566s # guint signal_id; 1566s # GValue return_value = G_VALUE_INIT; 1566s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1566s # g_assert (info != NULL); 1566s # num_params = g_variant_n_children (parameters); 1566s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1566s # n = 0; 1566s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1566s # g_value_set_object (¶mv[n++], skeleton); 1566s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1566s # g_value_set_object (¶mv[n++], invocation); 1566s # if (info->pass_fdlist) 1566s # { 1566s # #ifdef G_OS_UNIX 1566s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1566s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1566s # #else 1566s # g_assert_not_reached (); 1566s # #endif 1566s # } 1566s # g_variant_iter_init (&iter, parameters); 1566s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1566s # { 1566s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1566s # if (arg_info->use_gvariant) 1566s # { 1566s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1566s # g_value_set_variant (¶mv[n], child); 1566s # n++; 1566s # } 1566s # else 1566s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1566s # g_variant_unref (child); 1566s # } 1566s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1566s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1566s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1566s # if (!g_value_get_boolean (&return_value)) 1566s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1566s # g_value_unset (&return_value); 1566s # for (n = 0; n < num_params + num_extra; n++) 1566s # g_value_unset (¶mv[n]); 1566s # g_free (paramv); 1566s # } 1566s # 1566s # static GVariant * 1566s # _org_project_useful_interface_skeleton_handle_get_property ( 1566s # GDBusConnection *connection G_GNUC_UNUSED, 1566s # const gchar *sender G_GNUC_UNUSED, 1566s # const gchar *object_path G_GNUC_UNUSED, 1566s # const gchar *interface_name G_GNUC_UNUSED, 1566s # const gchar *property_name, 1566s # GError **error, 1566s # gpointer user_data) 1566s # { 1566s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1566s # GValue value = G_VALUE_INIT; 1566s # GParamSpec *pspec; 1566s # _ExtendedGDBusPropertyInfo *info; 1566s # GVariant *ret; 1566s # ret = NULL; 1566s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1566s # g_assert (info != NULL); 1566s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1566s # if (pspec == NULL) 1566s # { 1566s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1566s # } 1566s # else 1566s # { 1566s # g_value_init (&value, pspec->value_type); 1566s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1566s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1566s # g_value_unset (&value); 1566s # } 1566s # return ret; 1566s # } 1566s # 1566s # static gboolean 1566s # _org_project_useful_interface_skeleton_handle_set_property ( 1566s # GDBusConnection *connection G_GNUC_UNUSED, 1566s # const gchar *sender G_GNUC_UNUSED, 1566s # const gchar *object_path G_GNUC_UNUSED, 1566s # const gchar *interface_name G_GNUC_UNUSED, 1566s # const gchar *property_name, 1566s # GVariant *variant, 1566s # GError **error, 1566s # gpointer user_data) 1566s # { 1566s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1566s # GValue value = G_VALUE_INIT; 1566s # GParamSpec *pspec; 1566s # _ExtendedGDBusPropertyInfo *info; 1566s # gboolean ret; 1566s # ret = FALSE; 1566s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1566s # g_assert (info != NULL); 1566s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1566s # if (pspec == NULL) 1566s # { 1566s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1566s # } 1566s # else 1566s # { 1566s # if (info->use_gvariant) 1566s # g_value_set_variant (&value, variant); 1566s # else 1566s # g_dbus_gvariant_to_gvalue (variant, &value); 1566s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1566s # g_value_unset (&value); 1566s # ret = TRUE; 1566s # } 1566s # return ret; 1566s # } 1566s # 1566s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1566s # { 1566s # _org_project_useful_interface_skeleton_handle_method_call, 1566s # _org_project_useful_interface_skeleton_handle_get_property, 1566s # _org_project_useful_interface_skeleton_handle_set_property, 1566s # {NULL} 1566s # }; 1566s # 1566s # static GDBusInterfaceInfo * 1566s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1566s # { 1566s # return org_project_useful_interface_interface_info (); 1566s # } 1566s # 1566s # static GDBusInterfaceVTable * 1566s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1566s # { 1566s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1566s # } 1566s # 1566s # static GVariant * 1566s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1566s # { 1566s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1566s # 1566s # GVariantBuilder builder; 1566s # guint n; 1566s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1566s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1566s # goto out; 1566s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1566s # { 1566s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1566s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1566s # { 1566s # GVariant *value; 1566s # 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); 1566s # if (value != NULL) 1566s # { 1566s # g_variant_take_ref (value); 1566s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1566s # g_variant_unref (value); 1566s # } 1566s # } 1566s # } 1566s # out: 1566s # return g_variant_builder_end (&builder); 1566s # } 1566s # 1566s # static void 1566s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1566s # { 1566s # } 1566s # 1566s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1566s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1566s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1566s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1566s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1566s # 1566s # #else 1566s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1566s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1566s # 1566s # #endif 1566s # static void 1566s # org_project_useful_interface_skeleton_finalize (GObject *object) 1566s # { 1566s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1566s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1566s # if (skeleton->priv->changed_properties_idle_source != NULL) 1566s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1566s # g_main_context_unref (skeleton->priv->context); 1566s # g_mutex_clear (&skeleton->priv->lock); 1566s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1566s # } 1566s # 1566s # static void 1566s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1566s # { 1566s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1566s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1566s # #else 1566s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1566s # #endif 1566s # 1566s # g_mutex_init (&skeleton->priv->lock); 1566s # skeleton->priv->context = g_main_context_ref_thread_default (); 1566s # } 1566s # 1566s # static void 1566s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1566s # { 1566s # GObjectClass *gobject_class; 1566s # GDBusInterfaceSkeletonClass *skeleton_class; 1566s # 1566s # gobject_class = G_OBJECT_CLASS (klass); 1566s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1566s # 1566s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1566s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1566s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1566s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1566s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1566s # 1566s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1566s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1566s # #endif 1566s # } 1566s # 1566s # static void 1566s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1566s # { 1566s # } 1566s # 1566s # /** 1566s # * org_project_useful_interface_skeleton_new: 1566s # * 1566s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1566s # * 1566s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1566s # */ 1566s # OrgProjectUsefulInterface * 1566s # org_project_useful_interface_skeleton_new (void) 1566s # { 1566s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1566s # } 1566s # /tmp/tmppzwln7e0/tmpm3p2jap8.xml: 1566s # 1566s # 1566s # 1566s # 1566s # 1566s # 1566s # 1566s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmppzwln7e0/tmpm3p2jap8.xml', '--output', '-', '--body'] 1566s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-baqskmurxn,guid=fbaffe99d0ccb1f6e1beb84865fc01cd', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.YcZbqk/autopkgtest_tmp', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.YcZbqk/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.YcZbqk/autopkgtest_tmp', 'TERM': 'unknown', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.YcZbqk/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.sVTVMp0Db0', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.rqZsJO/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.YcZbqk/wrapper.sh --artifacts=/tmp/autopkgtest.YcZbqk/installed-tests-artifacts --chdir=/tmp/autopkgtest.YcZbqk/build.S0E/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.YcZbqk/installed-tests-stderr --stdout=/tmp/autopkgtest.YcZbqk/installed-tests-stdout --tmp=/tmp/autopkgtest.YcZbqk/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2' --make-executable=/tmp/autopkgtest.YcZbqk/build.S0E/src/debian/tests/installed-tests -- /tmp/autopkgtest.YcZbqk/build.S0E/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.YcZbqk/build.S0E/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.YcZbqk/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1566s # Output: /* 1566s # * This file is generated by gdbus-codegen, do not modify it. 1566s # * 1566s # * The license of this code is the same as for the D-Bus interface description 1566s # * it was derived from. Note that it links to GLib, so must comply with the 1566s # * LGPL linking clauses. 1566s # */ 1566s # 1566s # #ifdef HAVE_CONFIG_H 1566s # # include "config.h" 1566s # #endif 1566s # 1566s # #include 1566s # #ifdef G_OS_UNIX 1566s # # include 1566s # #endif 1566s # 1566s # #ifdef G_ENABLE_DEBUG 1566s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1566s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1566s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1566s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1566s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1566s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1566s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1566s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1566s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1566s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1566s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1566s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1566s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1566s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1566s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1566s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1566s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1566s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1566s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1566s # #else /* !G_ENABLE_DEBUG */ 1566s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1566s # * Do not access GValues directly in your code. Instead, use the 1566s # * g_value_get_*() functions 1566s # */ 1566s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1566s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1566s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1566s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1566s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1566s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1566s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1566s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1566s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1566s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1566s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1566s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1566s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1566s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1566s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1566s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1566s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1566s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1566s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1566s # #endif /* !G_ENABLE_DEBUG */ 1566s # 1566s # typedef struct 1566s # { 1566s # GDBusArgInfo parent_struct; 1566s # gboolean use_gvariant; 1566s # } _ExtendedGDBusArgInfo; 1566s # 1566s # typedef struct 1566s # { 1566s # GDBusMethodInfo parent_struct; 1566s # const gchar *signal_name; 1566s # gboolean pass_fdlist; 1566s # } _ExtendedGDBusMethodInfo; 1566s # 1566s # typedef struct 1566s # { 1566s # GDBusSignalInfo parent_struct; 1566s # const gchar *signal_name; 1566s # } _ExtendedGDBusSignalInfo; 1566s # 1566s # typedef struct 1566s # { 1566s # GDBusPropertyInfo parent_struct; 1566s # const gchar *hyphen_name; 1566s # guint use_gvariant : 1; 1566s # guint emits_changed_signal : 1; 1566s # } _ExtendedGDBusPropertyInfo; 1566s # 1566s # typedef struct 1566s # { 1566s # GDBusInterfaceInfo parent_struct; 1566s # const gchar *hyphen_name; 1566s # } _ExtendedGDBusInterfaceInfo; 1566s # 1566s # typedef struct 1566s # { 1566s # const _ExtendedGDBusPropertyInfo *info; 1566s # guint prop_id; 1566s # GValue orig_value; /* the value before the change */ 1566s # } ChangedProperty; 1566s # 1566s # static void 1566s # _changed_property_free (ChangedProperty *data) 1566s # { 1566s # g_value_unset (&data->orig_value); 1566s # g_free (data); 1566s # } 1566s # 1566s # static gboolean 1566s # _g_strv_equal0 (gchar **a, gchar **b) 1566s # { 1566s # gboolean ret = FALSE; 1566s # guint n; 1566s # if (a == NULL && b == NULL) 1566s # { 1566s # ret = TRUE; 1566s # goto out; 1566s # } 1566s # if (a == NULL || b == NULL) 1566s # goto out; 1566s # if (g_strv_length (a) != g_strv_length (b)) 1566s # goto out; 1566s # for (n = 0; a[n] != NULL; n++) 1566s # if (g_strcmp0 (a[n], b[n]) != 0) 1566s # goto out; 1566s # ret = TRUE; 1566s # out: 1566s # return ret; 1566s # } 1566s # 1566s # static gboolean 1566s # _g_variant_equal0 (GVariant *a, GVariant *b) 1566s # { 1566s # gboolean ret = FALSE; 1566s # if (a == NULL && b == NULL) 1566s # { 1566s # ret = TRUE; 1566s # goto out; 1566s # } 1566s # if (a == NULL || b == NULL) 1566s # goto out; 1566s # ret = g_variant_equal (a, b); 1566s # out: 1566s # return ret; 1566s # } 1566s # 1566s # G_GNUC_UNUSED static gboolean 1566s # _g_value_equal (const GValue *a, const GValue *b) 1566s # { 1566s # gboolean ret = FALSE; 1566s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1566s # switch (G_VALUE_TYPE (a)) 1566s # { 1566s # case G_TYPE_BOOLEAN: 1566s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1566s # break; 1566s # case G_TYPE_UCHAR: 1566s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1566s # break; 1566s # case G_TYPE_INT: 1566s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1566s # break; 1566s # case G_TYPE_UINT: 1566s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1566s # break; 1566s # case G_TYPE_INT64: 1566s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1566s # break; 1566s # case G_TYPE_UINT64: 1566s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1566s # break; 1566s # case G_TYPE_DOUBLE: 1566s # { 1566s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1566s # gdouble da = g_value_get_double (a); 1566s # gdouble db = g_value_get_double (b); 1566s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1566s # } 1566s # break; 1566s # case G_TYPE_STRING: 1566s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1566s # break; 1566s # case G_TYPE_VARIANT: 1566s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1566s # break; 1566s # default: 1566s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1566s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1566s # else 1566s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1566s # break; 1566s # } 1566s # return ret; 1566s # } 1566s # 1566s # static void 1566s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_STRING ( 1566s # GClosure *closure, 1566s # GValue *return_value, 1566s # unsigned int n_param_values, 1566s # const GValue *param_values, 1566s # void *invocation_hint G_GNUC_UNUSED, 1566s # void *marshal_data) 1566s # { 1566s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectStringFunc) 1566s # (void *data1, 1566s # GDBusMethodInvocation *arg_method_invocation, 1566s # const gchar *arg_arg_s, 1566s # void *data2); 1566s # _GDbusCodegenMarshalBoolean_ObjectStringFunc callback; 1566s # GCClosure *cc = (GCClosure*) closure; 1566s # void *data1, *data2; 1566s # gboolean v_return; 1566s # 1566s # g_return_if_fail (return_value != NULL); 1566s # g_return_if_fail (n_param_values == 3); 1566s # 1566s # if (G_CCLOSURE_SWAP_DATA (closure)) 1566s # { 1566s # data1 = closure->data; 1566s # data2 = g_value_peek_pointer (param_values + 0); 1566s # } 1566s # else 1566s # { 1566s # data1 = g_value_peek_pointer (param_values + 0); 1566s # data2 = closure->data; 1566s # } 1566s # 1566s # callback = (_GDbusCodegenMarshalBoolean_ObjectStringFunc) 1566s # (marshal_data ? marshal_data : cc->callback); 1566s # 1566s # v_return = 1566s # callback (data1, 1566s # g_marshal_value_peek_object (param_values + 1), 1566s # g_marshal_value_peek_string (param_values + 2), 1566s # data2); 1566s # 1566s # g_value_set_boolean (return_value, v_return); 1566s # } 1566s # 1566s # /* ------------------------------------------------------------------------ 1566s # * Code for interface org.project.UsefulInterface 1566s # * ------------------------------------------------------------------------ 1566s # */ 1566s # 1566s # /** 1566s # * SECTION:OrgProjectUsefulInterface 1566s # * @title: OrgProjectUsefulInterface 1566s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1566s # * 1566s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1566s # */ 1566s # 1566s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1566s # 1566s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_s_IN_ARG_arg_s = 1566s # { 1566s # { 1566s # -1, 1566s # (gchar *) "arg_s", 1566s # (gchar *) "s", 1566s # NULL 1566s # }, 1566s # FALSE 1566s # }; 1566s # 1566s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_s_IN_ARG_pointers[] = 1566s # { 1566s # &_org_project_useful_interface_method_info_single_arg_method_s_IN_ARG_arg_s.parent_struct, 1566s # NULL 1566s # }; 1566s # 1566s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_s = 1566s # { 1566s # { 1566s # -1, 1566s # (gchar *) "SingleArgMethodS", 1566s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_s_IN_ARG_pointers, 1566s # NULL, 1566s # NULL 1566s # }, 1566s # "handle-single-arg-method-s", 1566s # FALSE 1566s # }; 1566s # 1566s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1566s # { 1566s # &_org_project_useful_interface_method_info_single_arg_method_s.parent_struct, 1566s # NULL 1566s # }; 1566s # 1566s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1566s # { 1566s # { 1566s # -1, 1566s # (gchar *) "org.project.UsefulInterface", 1566s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1566s # NULL, 1566s # NULL, 1566s # NULL 1566s # }, 1566s # "org-project-useful-interface", 1566s # }; 1566s # 1566s # 1566s # /** 1566s # * org_project_useful_interface_interface_info: 1566s # * 1566s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1566s # * 1566s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1566s # */ 1566s # GDBusInterfaceInfo * 1566s # org_project_useful_interface_interface_info (void) 1566s # { 1566s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1566s # } 1566s # 1566s # /** 1566s # * org_project_useful_interface_override_properties: 1566s # * @klass: The class structure for a #GObject derived class. 1566s # * @property_id_begin: The property id to assign to the first overridden property. 1566s # * 1566s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1566s # * The properties are overridden in the order they are defined. 1566s # * 1566s # * Returns: The last property id. 1566s # */ 1566s # guint 1566s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1566s # { 1566s # return property_id_begin - 1; 1566s # } 1566s # 1566s # 1566s # inline static void 1566s # org_project_useful_interface_method_marshal_single_arg_method_s ( 1566s # GClosure *closure, 1566s # GValue *return_value, 1566s # unsigned int n_param_values, 1566s # const GValue *param_values, 1566s # void *invocation_hint, 1566s # void *marshal_data) 1566s # { 1566s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_STRING (closure, 1566s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1566s # } 1566s # 1566s # 1566s # /** 1566s # * OrgProjectUsefulInterface: 1566s # * 1566s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1566s # */ 1566s # 1566s # /** 1566s # * OrgProjectUsefulInterfaceIface: 1566s # * @parent_iface: The parent interface. 1566s # * @handle_single_arg_method_s: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-s signal. 1566s # * 1566s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1566s # */ 1566s # 1566s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1566s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1566s # 1566s # static void 1566s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1566s # { 1566s # /* GObject signals for incoming D-Bus method calls: */ 1566s # /** 1566s # * OrgProjectUsefulInterface::handle-single-arg-method-s: 1566s # * @object: A #OrgProjectUsefulInterface. 1566s # * @invocation: A #GDBusMethodInvocation. 1566s # * @arg_arg_s: Argument passed by remote caller. 1566s # * 1566s # * Signal emitted when a remote caller is invoking the SingleArgMethodS() D-Bus method. 1566s # * 1566s # * 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. 1566s # * 1566s # * 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. 1566s # */ 1566s # g_signal_new ("handle-single-arg-method-s", 1566s # G_TYPE_FROM_INTERFACE (iface), 1566s # G_SIGNAL_RUN_LAST, 1566s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_s), 1566s # g_signal_accumulator_true_handled, 1566s # NULL, 1566s # org_project_useful_interface_method_marshal_single_arg_method_s, 1566s # G_TYPE_BOOLEAN, 1566s # 2, 1566s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_STRING); 1566s # 1566s # } 1566s # 1566s # /** 1566s # * org_project_useful_interface_call_single_arg_method_s: 1566s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1566s # * @arg_arg_s: Argument to pass with the method invocation. 1566s # * @cancellable: (nullable): A #GCancellable or %NULL. 1566s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1566s # * @user_data: User data to pass to @callback. 1566s # * 1566s # * Asynchronously invokes the SingleArgMethodS() D-Bus method on @proxy. 1566s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1566s # * You can then call org_project_useful_interface_call_single_arg_method_s_finish() to get the result of the operation. 1566s # * 1566s # * See org_project_useful_interface_call_single_arg_method_s_sync() for the synchronous, blocking version of this method. 1566s # */ 1566s # void 1566s # org_project_useful_interface_call_single_arg_method_s ( 1566s # OrgProjectUsefulInterface *proxy, 1566s # const gchar *arg_arg_s, 1566s # GCancellable *cancellable, 1566s # GAsyncReadyCallback callback, 1566s # gpointer user_data) 1566s # { 1566s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1566s # "SingleArgMethodS", 1566s # g_variant_new ("(s)", 1566s # arg_arg_s), 1566s # G_DBUS_CALL_FLAGS_NONE, 1566s # -1, 1566s # cancellable, 1566s # callback, 1566s # user_data); 1566s # } 1566s # 1566s # /** 1566s # * org_project_useful_interface_call_single_arg_method_s_finish: 1566s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1566s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_s(). 1566s # * @error: Return location for error or %NULL. 1566s # * 1566s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_s(). 1566s # * 1566s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1566s # */ 1566s # gboolean 1566s # org_project_useful_interface_call_single_arg_method_s_finish ( 1566s # OrgProjectUsefulInterface *proxy, 1566s # GAsyncResult *res, 1566s # GError **error) 1566s # { 1566s # GVariant *_ret; 1566s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1566s # if (_ret == NULL) 1566s # goto _out; 1566s # g_variant_get (_ret, 1566s # "()"); 1566s # g_variant_unref (_ret); 1566s # _out: 1566s # return _ret != NULL; 1566s # } 1566s # 1566s # /** 1566s # * org_project_useful_interface_call_single_arg_method_s_sync: 1566s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1566s # * @arg_arg_s: Argument to pass with the method invocation. 1566s # * @cancellable: (nullable): A #GCancellable or %NULL. 1566s # * @error: Return location for error or %NULL. 1566s # * 1566s # * Synchronously invokes the SingleArgMethodS() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1566s # * 1566s # * See org_project_useful_interface_call_single_arg_method_s() for the asynchronous version of this method. 1566s # * 1566s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1566s # */ 1566s # gboolean 1566s # org_project_useful_interface_call_single_arg_method_s_sync ( 1566s # OrgProjectUsefulInterface *proxy, 1566s # const gchar *arg_arg_s, 1566s # GCancellable *cancellable, 1566s # GError **error) 1566s # { 1566s # GVariant *_ret; 1566s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1566s # "SingleArgMethodS", 1566s # g_variant_new ("(s)", 1566s # arg_arg_s), 1566s # G_DBUS_CALL_FLAGS_NONE, 1566s # -1, 1566s # cancellable, 1566s # error); 1566s # if (_ret == NULL) 1566s # goto _out; 1566s # g_variant_get (_ret, 1566s # "()"); 1566s # g_variant_unref (_ret); 1566s # _out: 1566s # return _ret != NULL; 1566s # } 1566s # 1566s # /** 1566s # * org_project_useful_interface_complete_single_arg_method_s: 1566s # * @object: A #OrgProjectUsefulInterface. 1566s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1566s # * 1566s # * 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. 1566s # * 1566s # * This method will free @invocation, you cannot use it afterwards. 1566s # */ 1566s # void 1566s # org_project_useful_interface_complete_single_arg_method_s ( 1566s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1566s # GDBusMethodInvocation *invocation) 1566s # { 1566s # g_dbus_method_invocation_return_value (invocation, 1566s # g_variant_new ("()")); 1566s # } 1566s # 1566s # /* ------------------------------------------------------------------------ */ 1566s # 1566s # /** 1566s # * OrgProjectUsefulInterfaceProxy: 1566s # * 1566s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1566s # */ 1566s # 1566s # /** 1566s # * OrgProjectUsefulInterfaceProxyClass: 1566s # * @parent_class: The parent class. 1566s # * 1566s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1566s # */ 1566s # 1566s # struct _OrgProjectUsefulInterfaceProxyPrivate 1566s # { 1566s # GData *qdata; 1566s # }; 1566s # 1566s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1566s # 1566s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1566s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1566s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1566s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1566s # 1566s # #else 1566s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1566s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1566s # 1566s # #endif 1566s # static void 1566s # org_project_useful_interface_proxy_finalize (GObject *object) 1566s # { 1566s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1566s # g_datalist_clear (&proxy->priv->qdata); 1566s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1566s # } 1566s # 1566s # static void 1566s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1566s # guint prop_id G_GNUC_UNUSED, 1566s # GValue *value G_GNUC_UNUSED, 1566s # GParamSpec *pspec G_GNUC_UNUSED) 1566s # { 1566s # } 1566s # 1566s # static void 1566s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1566s # guint prop_id G_GNUC_UNUSED, 1566s # const GValue *value G_GNUC_UNUSED, 1566s # GParamSpec *pspec G_GNUC_UNUSED) 1566s # { 1566s # } 1566s # 1566s # static void 1566s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1566s # const gchar *sender_name G_GNUC_UNUSED, 1566s # const gchar *signal_name, 1566s # GVariant *parameters) 1566s # { 1566s # _ExtendedGDBusSignalInfo *info; 1566s # GVariantIter iter; 1566s # GVariant *child; 1566s # GValue *paramv; 1566s # gsize num_params; 1566s # gsize n; 1566s # guint signal_id; 1566s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1566s # if (info == NULL) 1566s # return; 1566s # num_params = g_variant_n_children (parameters); 1566s # paramv = g_new0 (GValue, num_params + 1); 1566s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1566s # g_value_set_object (¶mv[0], proxy); 1566s # g_variant_iter_init (&iter, parameters); 1566s # n = 1; 1566s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1566s # { 1566s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1566s # if (arg_info->use_gvariant) 1566s # { 1566s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1566s # g_value_set_variant (¶mv[n], child); 1566s # n++; 1566s # } 1566s # else 1566s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1566s # g_variant_unref (child); 1566s # } 1566s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1566s # g_signal_emitv (paramv, signal_id, 0, NULL); 1566s # for (n = 0; n < num_params + 1; n++) 1566s # g_value_unset (¶mv[n]); 1566s # g_free (paramv); 1566s # } 1566s # 1566s # static void 1566s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1566s # GVariant *changed_properties, 1566s # const gchar *const *invalidated_properties) 1566s # { 1566s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1566s # guint n; 1566s # const gchar *key; 1566s # GVariantIter *iter; 1566s # _ExtendedGDBusPropertyInfo *info; 1566s # g_variant_get (changed_properties, "a{sv}", &iter); 1566s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1566s # { 1566s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1566s # g_datalist_remove_data (&proxy->priv->qdata, key); 1566s # if (info != NULL) 1566s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1566s # } 1566s # g_variant_iter_free (iter); 1566s # for (n = 0; invalidated_properties[n] != NULL; n++) 1566s # { 1566s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1566s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1566s # if (info != NULL) 1566s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1566s # } 1566s # } 1566s # 1566s # static void 1566s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1566s # { 1566s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1566s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1566s # #else 1566s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1566s # #endif 1566s # 1566s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1566s # } 1566s # 1566s # static void 1566s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1566s # { 1566s # GObjectClass *gobject_class; 1566s # GDBusProxyClass *proxy_class; 1566s # 1566s # gobject_class = G_OBJECT_CLASS (klass); 1566s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1566s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1566s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1566s # 1566s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1566s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1566s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1566s # 1566s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1566s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1566s # #endif 1566s # } 1566s # 1566s # static void 1566s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1566s # { 1566s # } 1566s # 1566s # /** 1566s # * org_project_useful_interface_proxy_new: 1566s # * @connection: A #GDBusConnection. 1566s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1566s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1566s # * @object_path: An object path. 1566s # * @cancellable: (nullable): A #GCancellable or %NULL. 1566s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1566s # * @user_data: User data to pass to @callback. 1566s # * 1566s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1566s # * 1566s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1566s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1566s # * 1566s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1566s # */ 1566s # void 1566s # org_project_useful_interface_proxy_new ( 1566s # GDBusConnection *connection, 1566s # GDBusProxyFlags flags, 1566s # const gchar *name, 1566s # const gchar *object_path, 1566s # GCancellable *cancellable, 1566s # GAsyncReadyCallback callback, 1566s # gpointer user_data) 1566s # { 1566s # g_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); 1566s # } 1566s # 1566s # /** 1566s # * org_project_useful_interface_proxy_new_finish: 1566s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1566s # * @error: Return location for error or %NULL 1566s # * 1566s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1566s # * 1566s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1566s # */ 1566s # OrgProjectUsefulInterface * 1566s # org_project_useful_interface_proxy_new_finish ( 1566s # GAsyncResult *res, 1566s # GError **error) 1566s # { 1566s # GObject *ret; 1566s # GObject *source_object; 1566s # source_object = g_async_result_get_source_object (res); 1566s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1566s # g_object_unref (source_object); 1566s # if (ret != NULL) 1566s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1566s # else 1566s # return NULL; 1566s # } 1566s # 1566s # /** 1566s # * org_project_useful_interface_proxy_new_sync: 1566s # * @connection: A #GDBusConnection. 1566s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1566s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1566s # * @object_path: An object path. 1566s # * @cancellable: (nullable): A #GCancellable or %NULL. 1566s # * @error: Return location for error or %NULL 1566s # * 1566s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1566s # * 1566s # * The calling thread is blocked until a reply is received. 1566s # * 1566s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1566s # * 1566s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1566s # */ 1566s # OrgProjectUsefulInterface * 1566s # org_project_useful_interface_proxy_new_sync ( 1566s # GDBusConnection *connection, 1566s # GDBusProxyFlags flags, 1566s # const gchar *name, 1566s # const gchar *object_path, 1566s # GCancellable *cancellable, 1566s # GError **error) 1566s # { 1566s # GInitable *ret; 1566s # 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); 1566s # if (ret != NULL) 1566s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1566s # else 1566s # return NULL; 1566s # } 1566s # 1566s # 1566s # /** 1566s # * org_project_useful_interface_proxy_new_for_bus: 1566s # * @bus_type: A #GBusType. 1566s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1566s # * @name: A bus name (well-known or unique). 1566s # * @object_path: An object path. 1566s # * @cancellable: (nullable): A #GCancellable or %NULL. 1566s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1566s # * @user_data: User data to pass to @callback. 1566s # * 1566s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1566s # * 1566s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1566s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1566s # * 1566s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1566s # */ 1566s # void 1566s # org_project_useful_interface_proxy_new_for_bus ( 1566s # GBusType bus_type, 1566s # GDBusProxyFlags flags, 1566s # const gchar *name, 1566s # const gchar *object_path, 1566s # GCancellable *cancellable, 1566s # GAsyncReadyCallback callback, 1566s # gpointer user_data) 1566s # { 1566s # g_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); 1566s # } 1566s # 1566s # /** 1566s # * org_project_useful_interface_proxy_new_for_bus_finish: 1566s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1566s # * @error: Return location for error or %NULL 1566s # * 1566s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1566s # * 1566s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1566s # */ 1566s # OrgProjectUsefulInterface * 1566s # org_project_useful_interface_proxy_new_for_bus_finish ( 1566s # GAsyncResult *res, 1566s # GError **error) 1566s # { 1566s # GObject *ret; 1566s # GObject *source_object; 1566s # source_object = g_async_result_get_source_object (res); 1566s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1566s # g_object_unref (source_object); 1566s # if (ret != NULL) 1566s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1566s # else 1566s # return NULL; 1566s # } 1566s # 1566s # /** 1566s # * org_project_useful_interface_proxy_new_for_bus_sync: 1566s # * @bus_type: A #GBusType. 1566s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1566s # * @name: A bus name (well-known or unique). 1566s # * @object_path: An object path. 1566s # * @cancellable: (nullable): A #GCancellable or %NULL. 1566s # * @error: Return location for error or %NULL 1566s # * 1566s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1566s # * 1566s # * The calling thread is blocked until a reply is received. 1566s # * 1566s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1566s # * 1566s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1566s # */ 1566s # OrgProjectUsefulInterface * 1566s # org_project_useful_interface_proxy_new_for_bus_sync ( 1566s # GBusType bus_type, 1566s # GDBusProxyFlags flags, 1566s # const gchar *name, 1566s # const gchar *object_path, 1566s # GCancellable *cancellable, 1566s # GError **error) 1566s # { 1566s # GInitable *ret; 1566s # 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); 1566s # if (ret != NULL) 1566s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1566s # else 1566s # return NULL; 1566s # } 1566s # 1566s # 1566s # /* ------------------------------------------------------------------------ */ 1566s # 1566s # /** 1566s # * OrgProjectUsefulInterfaceSkeleton: 1566s # * 1566s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1566s # */ 1566s # 1566s # /** 1566s # * OrgProjectUsefulInterfaceSkeletonClass: 1566s # * @parent_class: The parent class. 1566s # * 1566s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1566s # */ 1566s # 1566s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1566s # { 1566s # GValue *properties; 1566s # GList *changed_properties; 1566s # GSource *changed_properties_idle_source; 1566s # GMainContext *context; 1566s # GMutex lock; 1566s # }; 1566s # 1566s # static void 1566s # _org_project_useful_interface_skeleton_handle_method_call ( 1566s # GDBusConnection *connection G_GNUC_UNUSED, 1566s # const gchar *sender G_GNUC_UNUSED, 1566s # const gchar *object_path G_GNUC_UNUSED, 1566s # const gchar *interface_name, 1566s # const gchar *method_name, 1566s # GVariant *parameters, 1566s # GDBusMethodInvocation *invocation, 1566s # gpointer user_data) 1566s # { 1566s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1566s # _ExtendedGDBusMethodInfo *info; 1566s # GVariantIter iter; 1566s # GVariant *child; 1566s # GValue *paramv; 1566s # gsize num_params; 1566s # guint num_extra; 1566s # gsize n; 1566s # guint signal_id; 1566s # GValue return_value = G_VALUE_INIT; 1566s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1566s # g_assert (info != NULL); 1566s # num_params = g_variant_n_children (parameters); 1566s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1566s # n = 0; 1566s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1566s # g_value_set_object (¶mv[n++], skeleton); 1566s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1566s # g_value_set_object (¶mv[n++], invocation); 1566s # if (info->pass_fdlist) 1566s # { 1566s # #ifdef G_OS_UNIX 1566s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1566s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1566s # #else 1566s # g_assert_not_reached (); 1566s # #endif 1566s # } 1566s # g_variant_iter_init (&iter, parameters); 1566s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1566s # { 1566s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1566s # if (arg_info->use_gvariant) 1566s # { 1566s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1566s # g_value_set_variant (¶mv[n], child); 1566s # n++; 1566s # } 1566s # else 1566s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1566s # g_variant_unref (child); 1566s # } 1566s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1566s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1566s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1566s # if (!g_value_get_boolean (&return_value)) 1566s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1566s # g_value_unset (&return_value); 1566s # for (n = 0; n < num_params + num_extra; n++) 1566s # g_value_unset (¶mv[n]); 1566s # g_free (paramv); 1566s # } 1566s # 1566s # static GVariant * 1566s # _org_project_useful_interface_skeleton_handle_get_property ( 1566s # GDBusConnection *connection G_GNUC_UNUSED, 1566s # const gchar *sender G_GNUC_UNUSED, 1566s # const gchar *object_path G_GNUC_UNUSED, 1566s # const gchar *interface_name G_GNUC_UNUSED, 1566s # const gchar *property_name, 1566s # GError **error, 1566s # gpointer user_data) 1566s # { 1566s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1566s # GValue value = G_VALUE_INIT; 1566s # GParamSpec *pspec; 1566s # _ExtendedGDBusPropertyInfo *info; 1566s # GVariant *ret; 1566s # ret = NULL; 1566s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1566s # g_assert (info != NULL); 1566s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1566s # if (pspec == NULL) 1566s # { 1566s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1566s # } 1566s # else 1566s # { 1566s # g_value_init (&value, pspec->value_type); 1566s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1566s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1566s # g_value_unset (&value); 1566s # } 1566s # return ret; 1566s # } 1566s # 1566s # static gboolean 1566s # _org_project_useful_interface_skeleton_handle_set_property ( 1566s # GDBusConnection *connection G_GNUC_UNUSED, 1566s # const gchar *sender G_GNUC_UNUSED, 1566s # const gchar *object_path G_GNUC_UNUSED, 1566s # const gchar *interface_name G_GNUC_UNUSED, 1566s # const gchar *property_name, 1566s # GVariant *variant, 1566s # GError **error, 1566s # gpointer user_data) 1566s # { 1566s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1566s # GValue value = G_VALUE_INIT; 1566s # GParamSpec *pspec; 1566s # _ExtendedGDBusPropertyInfo *info; 1566s # gboolean ret; 1566s # ret = FALSE; 1566s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1566s # g_assert (info != NULL); 1566s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1566s # if (pspec == NULL) 1566s # { 1566s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1566s # } 1566s # else 1566s # { 1566s # if (info->use_gvariant) 1566s # g_value_set_variant (&value, variant); 1566s # else 1566s # g_dbus_gvariant_to_gvalue (variant, &value); 1566s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1566s # g_value_unset (&value); 1566s # ret = TRUE; 1566s # } 1566s # return ret; 1566s # } 1566s # 1566s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1566s # { 1566s # _org_project_useful_interface_skeleton_handle_method_call, 1566s # _org_project_useful_interface_skeleton_handle_get_property, 1566s # _org_project_useful_interface_skeleton_handle_set_property, 1566s # {NULL} 1566s # }; 1566s # 1566s # static GDBusInterfaceInfo * 1566s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1566s # { 1566s # return org_project_useful_interface_interface_info (); 1566s # } 1566s # 1566s # static GDBusInterfaceVTable * 1566s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1566s # { 1566s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1566s # } 1566s # 1566s # static GVariant * 1566s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1566s # { 1566s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1566s # 1566s # GVariantBuilder builder; 1566s # guint n; 1566s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1566s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1566s # goto out; 1566s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1566s # { 1566s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1566s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1566s # { 1566s # GVariant *value; 1566s # 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); 1566s # if (value != NULL) 1566s # { 1566s # g_variant_take_ref (value); 1566s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1566s # g_variant_unref (value); 1566s # } 1566s # } 1566s # } 1566s # out: 1566s # return g_variant_builder_end (&builder); 1566s # } 1566s # 1566s # static void 1566s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1566s # { 1566s # } 1566s # 1566s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1566s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1566s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1566s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1566s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1566s # 1566s # #else 1566s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1566s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1566s # 1566s # #endif 1566s # static void 1566s # org_project_useful_interface_skeleton_finalize (GObject *object) 1566s # { 1566s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1566s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1566s # if (skeleton->priv->changed_properties_idle_source != NULL) 1566s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1566s # g_main_context_unref (skeleton->priv->context); 1566s # g_mutex_clear (&skeleton->priv->lock); 1566s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1566s # } 1566s # 1566s # static void 1566s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1566s # { 1566s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1566s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1566s # #else 1566s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1566s # #endif 1566s # 1566s # g_mutex_init (&skeleton->priv->lock); 1566s # skeleton->priv->context = g_main_context_ref_thread_default (); 1566s # } 1566s # 1566s # static void 1566s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1566s # { 1566s # GObjectClass *gobject_class; 1566s # GDBusInterfaceSkeletonClass *skeleton_class; 1566s # 1566s # gobject_class = G_OBJECT_CLASS (klass); 1566s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1566s # 1566s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1566s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1566s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1566s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1566s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1566s # 1566s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1566s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1566s # #endif 1566s # } 1566s # 1566s # static void 1566s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1566s # { 1566s # } 1566s # 1566s # /** 1566s # * org_project_useful_interface_skeleton_new: 1566s # * 1566s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1566s # * 1566s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1566s # */ 1566s # OrgProjectUsefulInterface * 1566s # org_project_useful_interface_skeleton_new (void) 1566s # { 1566s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1566s # } 1566s # /tmp/tmppzwln7e0/tmpfdl77x90.xml: 1566s # 1566s # 1566s # 1566s # 1566s # 1566s # 1566s # 1566s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmppzwln7e0/tmpfdl77x90.xml', '--output', '-', '--body'] 1566s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-baqskmurxn,guid=fbaffe99d0ccb1f6e1beb84865fc01cd', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.YcZbqk/autopkgtest_tmp', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.YcZbqk/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.YcZbqk/autopkgtest_tmp', 'TERM': 'unknown', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.YcZbqk/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.sVTVMp0Db0', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.rqZsJO/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.YcZbqk/wrapper.sh --artifacts=/tmp/autopkgtest.YcZbqk/installed-tests-artifacts --chdir=/tmp/autopkgtest.YcZbqk/build.S0E/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.YcZbqk/installed-tests-stderr --stdout=/tmp/autopkgtest.YcZbqk/installed-tests-stdout --tmp=/tmp/autopkgtest.YcZbqk/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2' --make-executable=/tmp/autopkgtest.YcZbqk/build.S0E/src/debian/tests/installed-tests -- /tmp/autopkgtest.YcZbqk/build.S0E/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.YcZbqk/build.S0E/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.YcZbqk/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1566s # Output: /* 1566s # * This file is generated by gdbus-codegen, do not modify it. 1566s # * 1566s # * The license of this code is the same as for the D-Bus interface description 1566s # * it was derived from. Note that it links to GLib, so must comply with the 1566s # * LGPL linking clauses. 1566s # */ 1566s # 1566s # #ifdef HAVE_CONFIG_H 1566s # # include "config.h" 1566s # #endif 1566s # 1566s # #include 1566s # #ifdef G_OS_UNIX 1566s # # include 1566s # #endif 1566s # 1566s # #ifdef G_ENABLE_DEBUG 1566s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1566s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1566s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1566s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1566s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1566s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1566s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1566s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1566s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1566s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1566s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1566s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1566s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1566s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1566s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1566s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1566s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1566s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1566s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1566s # #else /* !G_ENABLE_DEBUG */ 1566s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1566s # * Do not access GValues directly in your code. Instead, use the 1566s # * g_value_get_*() functions 1566s # */ 1566s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1566s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1566s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1566s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1566s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1566s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1566s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1566s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1566s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1566s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1566s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1566s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1566s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1566s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1566s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1566s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1566s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1566s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1566s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1566s # #endif /* !G_ENABLE_DEBUG */ 1566s # 1566s # typedef struct 1566s # { 1566s # GDBusArgInfo parent_struct; 1566s # gboolean use_gvariant; 1566s # } _ExtendedGDBusArgInfo; 1566s # 1566s # typedef struct 1566s # { 1566s # GDBusMethodInfo parent_struct; 1566s # const gchar *signal_name; 1566s # gboolean pass_fdlist; 1566s # } _ExtendedGDBusMethodInfo; 1566s # 1566s # typedef struct 1566s # { 1566s # GDBusSignalInfo parent_struct; 1566s # const gchar *signal_name; 1566s # } _ExtendedGDBusSignalInfo; 1566s # 1566s # typedef struct 1566s # { 1566s # GDBusPropertyInfo parent_struct; 1566s # const gchar *hyphen_name; 1566s # guint use_gvariant : 1; 1566s # guint emits_changed_signal : 1; 1566s # } _ExtendedGDBusPropertyInfo; 1566s # 1566s # typedef struct 1566s # { 1566s # GDBusInterfaceInfo parent_struct; 1566s # const gchar *hyphen_name; 1566s # } _ExtendedGDBusInterfaceInfo; 1566s # 1566s # typedef struct 1566s # { 1566s # const _ExtendedGDBusPropertyInfo *info; 1566s # guint prop_id; 1566s # GValue orig_value; /* the value before the change */ 1566s # } ChangedProperty; 1566s # 1566s # static void 1566s # _changed_property_free (ChangedProperty *data) 1566s # { 1566s # g_value_unset (&data->orig_value); 1566s # g_free (data); 1566s # } 1566s # 1566s # static gboolean 1566s # _g_strv_equal0 (gchar **a, gchar **b) 1566s # { 1566s # gboolean ret = FALSE; 1566s # guint n; 1566s # if (a == NULL && b == NULL) 1566s # { 1566s # ret = TRUE; 1566s # goto out; 1566s # } 1566s # if (a == NULL || b == NULL) 1566s # goto out; 1566s # if (g_strv_length (a) != g_strv_length (b)) 1566s # goto out; 1566s # for (n = 0; a[n] != NULL; n++) 1566s # if (g_strcmp0 (a[n], b[n]) != 0) 1566s # goto out; 1566s # ret = TRUE; 1566s # out: 1566s # return ret; 1566s # } 1566s # 1566s # static gboolean 1566s # _g_variant_equal0 (GVariant *a, GVariant *b) 1566s # { 1566s # gboolean ret = FALSE; 1566s # if (a == NULL && b == NULL) 1566s # { 1566s # ret = TRUE; 1566s # goto out; 1566s # } 1566s # if (a == NULL || b == NULL) 1566s # goto out; 1566s # ret = g_variant_equal (a, b); 1566s # out: 1566s # return ret; 1566s # } 1566s # 1566s # G_GNUC_UNUSED static gboolean 1566s # _g_value_equal (const GValue *a, const GValue *b) 1566s # { 1566s # gboolean ret = FALSE; 1566s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1566s # switch (G_VALUE_TYPE (a)) 1566s # { 1566s # case G_TYPE_BOOLEAN: 1566s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1566s # break; 1566s # case G_TYPE_UCHAR: 1566s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1566s # break; 1566s # case G_TYPE_INT: 1566s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1566s # break; 1566s # case G_TYPE_UINT: 1566s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1566s # break; 1566s # case G_TYPE_INT64: 1566s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1566s # break; 1566s # case G_TYPE_UINT64: 1566s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1566s # break; 1566s # case G_TYPE_DOUBLE: 1566s # { 1566s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1566s # gdouble da = g_value_get_double (a); 1566s # gdouble db = g_value_get_double (b); 1566s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1566s # } 1566s # break; 1566s # case G_TYPE_STRING: 1566s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1566s # break; 1566s # case G_TYPE_VARIANT: 1566s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1566s # break; 1566s # default: 1566s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1566s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1566s # else 1566s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1566s # break; 1566s # } 1566s # return ret; 1566s # } 1566s # 1566s # static void 1566s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_STRING ( 1566s # GClosure *closure, 1566s # GValue *return_value, 1566s # unsigned int n_param_values, 1566s # const GValue *param_values, 1566s # void *invocation_hint G_GNUC_UNUSED, 1566s # void *marshal_data) 1566s # { 1566s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectStringFunc) 1566s # (void *data1, 1566s # GDBusMethodInvocation *arg_method_invocation, 1566s # const gchar *arg_arg_o, 1566s # void *data2); 1566s # _GDbusCodegenMarshalBoolean_ObjectStringFunc callback; 1566s # GCClosure *cc = (GCClosure*) closure; 1566s # void *data1, *data2; 1566s # gboolean v_return; 1566s # 1566s # g_return_if_fail (return_value != NULL); 1566s # g_return_if_fail (n_param_values == 3); 1566s # 1566s # if (G_CCLOSURE_SWAP_DATA (closure)) 1566s # { 1566s # data1 = closure->data; 1566s # data2 = g_value_peek_pointer (param_values + 0); 1566s # } 1566s # else 1566s # { 1566s # data1 = g_value_peek_pointer (param_values + 0); 1566s # data2 = closure->data; 1566s # } 1566s # 1566s # callback = (_GDbusCodegenMarshalBoolean_ObjectStringFunc) 1566s # (marshal_data ? marshal_data : cc->callback); 1566s # 1566s # v_return = 1566s # callback (data1, 1566s # g_marshal_value_peek_object (param_values + 1), 1566s # g_marshal_value_peek_string (param_values + 2), 1566s # data2); 1566s # 1566s # g_value_set_boolean (return_value, v_return); 1566s # } 1566s # 1566s # /* ------------------------------------------------------------------------ 1566s # * Code for interface org.project.UsefulInterface 1566s # * ------------------------------------------------------------------------ 1566s # */ 1566s # 1566s # /** 1566s # * SECTION:OrgProjectUsefulInterface 1566s # * @title: OrgProjectUsefulInterface 1566s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1566s # * 1566s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1566s # */ 1566s # 1566s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1566s # 1566s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_o_IN_ARG_arg_o = 1566s # { 1566s # { 1566s # -1, 1566s # (gchar *) "arg_o", 1566s # (gchar *) "o", 1566s # NULL 1566s # }, 1566s # FALSE 1566s # }; 1566s # 1566s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_o_IN_ARG_pointers[] = 1566s # { 1566s # &_org_project_useful_interface_method_info_single_arg_method_o_IN_ARG_arg_o.parent_struct, 1566s # NULL 1566s # }; 1566s # 1566s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_o = 1566s # { 1566s # { 1566s # -1, 1566s # (gchar *) "SingleArgMethodO", 1566s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_o_IN_ARG_pointers, 1566s # NULL, 1566s # NULL 1566s # }, 1566s # "handle-single-arg-method-o", 1566s # FALSE 1566s # }; 1566s # 1566s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1566s # { 1566s # &_org_project_useful_interface_method_info_single_arg_method_o.parent_struct, 1566s # NULL 1566s # }; 1566s # 1566s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1566s # { 1566s # { 1566s # -1, 1566s # (gchar *) "org.project.UsefulInterface", 1566s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1566s # NULL, 1566s # NULL, 1566s # NULL 1566s # }, 1566s # "org-project-useful-interface", 1566s # }; 1566s # 1566s # 1566s # /** 1566s # * org_project_useful_interface_interface_info: 1566s # * 1566s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1566s # * 1566s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1566s # */ 1566s # GDBusInterfaceInfo * 1566s # org_project_useful_interface_interface_info (void) 1566s # { 1566s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1566s # } 1566s # 1566s # /** 1566s # * org_project_useful_interface_override_properties: 1566s # * @klass: The class structure for a #GObject derived class. 1566s # * @property_id_begin: The property id to assign to the first overridden property. 1566s # * 1566s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1566s # * The properties are overridden in the order they are defined. 1566s # * 1566s # * Returns: The last property id. 1566s # */ 1566s # guint 1566s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1566s # { 1566s # return property_id_begin - 1; 1566s # } 1566s # 1566s # 1566s # inline static void 1566s # org_project_useful_interface_method_marshal_single_arg_method_o ( 1566s # GClosure *closure, 1566s # GValue *return_value, 1566s # unsigned int n_param_values, 1566s # const GValue *param_values, 1566s # void *invocation_hint, 1566s # void *marshal_data) 1566s # { 1566s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_STRING (closure, 1566s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1566s # } 1566s # 1566s # 1566s # /** 1566s # * OrgProjectUsefulInterface: 1566s # * 1566s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1566s # */ 1566s # 1566s # /** 1566s # * OrgProjectUsefulInterfaceIface: 1566s # * @parent_iface: The parent interface. 1566s # * @handle_single_arg_method_o: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-o signal. 1566s # * 1566s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1566s # */ 1566s # 1566s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1566s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1566s # 1566s # static void 1566s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1566s # { 1566s # /* GObject signals for incoming D-Bus method calls: */ 1566s # /** 1566s # * OrgProjectUsefulInterface::handle-single-arg-method-o: 1566s # * @object: A #OrgProjectUsefulInterface. 1566s # * @invocation: A #GDBusMethodInvocation. 1566s # * @arg_arg_o: Argument passed by remote caller. 1566s # * 1566s # * Signal emitted when a remote caller is invoking the SingleArgMethodO() D-Bus method. 1566s # * 1566s # * 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. 1566s # * 1566s # * 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. 1566s # */ 1566s # g_signal_new ("handle-single-arg-method-o", 1566s # G_TYPE_FROM_INTERFACE (iface), 1566s # G_SIGNAL_RUN_LAST, 1566s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_o), 1566s # g_signal_accumulator_true_handled, 1566s # NULL, 1566s # org_project_useful_interface_method_marshal_single_arg_method_o, 1566s # G_TYPE_BOOLEAN, 1566s # 2, 1566s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_STRING); 1566s # 1566s # } 1566s # 1566s # /** 1566s # * org_project_useful_interface_call_single_arg_method_o: 1566s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1566s # * @arg_arg_o: Argument to pass with the method invocation. 1566s # * @cancellable: (nullable): A #GCancellable or %NULL. 1566s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1566s # * @user_data: User data to pass to @callback. 1566s # * 1566s # * Asynchronously invokes the SingleArgMethodO() D-Bus method on @proxy. 1566s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1566s # * You can then call org_project_useful_interface_call_single_arg_method_o_finish() to get the result of the operation. 1566s # * 1566s # * See org_project_useful_interface_call_single_arg_method_o_sync() for the synchronous, blocking version of this method. 1566s # */ 1566s # void 1566s # org_project_useful_interface_call_single_arg_method_o ( 1566s # OrgProjectUsefulInterface *proxy, 1566s # const gchar *arg_arg_o, 1566s # GCancellable *cancellable, 1566s # GAsyncReadyCallback callback, 1566s # gpointer user_data) 1566s # { 1566s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1566s # "SingleArgMethodO", 1566s # g_variant_new ("(o)", 1566s # arg_arg_o), 1566s # G_DBUS_CALL_FLAGS_NONE, 1566s # -1, 1566s # cancellable, 1566s # callback, 1566s # user_data); 1566s # } 1566s # 1566s # /** 1566s # * org_project_useful_interface_call_single_arg_method_o_finish: 1566s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1566s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_o(). 1566s # * @error: Return location for error or %NULL. 1566s # * 1566s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_o(). 1566s # * 1566s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1566s # */ 1566s # gboolean 1566s # org_project_useful_interface_call_single_arg_method_o_finish ( 1566s # OrgProjectUsefulInterface *proxy, 1566s # GAsyncResult *res, 1566s # GError **error) 1566s # { 1566s # GVariant *_ret; 1566s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1566s # if (_ret == NULL) 1566s # goto _out; 1566s # g_variant_get (_ret, 1566s # "()"); 1566s # g_variant_unref (_ret); 1566s # _out: 1566s # return _ret != NULL; 1566s # } 1566s # 1566s # /** 1566s # * org_project_useful_interface_call_single_arg_method_o_sync: 1566s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1566s # * @arg_arg_o: Argument to pass with the method invocation. 1566s # * @cancellable: (nullable): A #GCancellable or %NULL. 1566s # * @error: Return location for error or %NULL. 1566s # * 1566s # * Synchronously invokes the SingleArgMethodO() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1566s # * 1566s # * See org_project_useful_interface_call_single_arg_method_o() for the asynchronous version of this method. 1566s # * 1566s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1566s # */ 1566s # gboolean 1566s # org_project_useful_interface_call_single_arg_method_o_sync ( 1566s # OrgProjectUsefulInterface *proxy, 1566s # const gchar *arg_arg_o, 1566s # GCancellable *cancellable, 1566s # GError **error) 1566s # { 1566s # GVariant *_ret; 1566s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1566s # "SingleArgMethodO", 1566s # g_variant_new ("(o)", 1566s # arg_arg_o), 1566s # G_DBUS_CALL_FLAGS_NONE, 1566s # -1, 1566s # cancellable, 1566s # error); 1566s # if (_ret == NULL) 1566s # goto _out; 1566s # g_variant_get (_ret, 1566s # "()"); 1566s # g_variant_unref (_ret); 1566s # _out: 1566s # return _ret != NULL; 1566s # } 1566s # 1566s # /** 1566s # * org_project_useful_interface_complete_single_arg_method_o: 1566s # * @object: A #OrgProjectUsefulInterface. 1566s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1566s # * 1566s # * 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. 1566s # * 1566s # * This method will free @invocation, you cannot use it afterwards. 1566s # */ 1566s # void 1566s # org_project_useful_interface_complete_single_arg_method_o ( 1566s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1566s # GDBusMethodInvocation *invocation) 1566s # { 1566s # g_dbus_method_invocation_return_value (invocation, 1566s # g_variant_new ("()")); 1566s # } 1566s # 1566s # /* ------------------------------------------------------------------------ */ 1566s # 1566s # /** 1566s # * OrgProjectUsefulInterfaceProxy: 1566s # * 1566s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1566s # */ 1566s # 1566s # /** 1566s # * OrgProjectUsefulInterfaceProxyClass: 1566s # * @parent_class: The parent class. 1566s # * 1566s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1566s # */ 1566s # 1566s # struct _OrgProjectUsefulInterfaceProxyPrivate 1566s # { 1566s # GData *qdata; 1566s # }; 1566s # 1566s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1566s # 1566s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1566s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1566s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1566s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1566s # 1566s # #else 1566s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1566s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1566s # 1566s # #endif 1566s # static void 1566s # org_project_useful_interface_proxy_finalize (GObject *object) 1566s # { 1566s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1566s # g_datalist_clear (&proxy->priv->qdata); 1566s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1566s # } 1566s # 1566s # static void 1566s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1566s # guint prop_id G_GNUC_UNUSED, 1566s # GValue *value G_GNUC_UNUSED, 1566s # GParamSpec *pspec G_GNUC_UNUSED) 1566s # { 1566s # } 1566s # 1566s # static void 1566s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1566s # guint prop_id G_GNUC_UNUSED, 1566s # const GValue *value G_GNUC_UNUSED, 1566s # GParamSpec *pspec G_GNUC_UNUSED) 1566s # { 1566s # } 1566s # 1566s # static void 1566s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1566s # const gchar *sender_name G_GNUC_UNUSED, 1566s # const gchar *signal_name, 1566s # GVariant *parameters) 1566s # { 1566s # _ExtendedGDBusSignalInfo *info; 1566s # GVariantIter iter; 1566s # GVariant *child; 1566s # GValue *paramv; 1566s # gsize num_params; 1566s # gsize n; 1566s # guint signal_id; 1566s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1566s # if (info == NULL) 1566s # return; 1566s # num_params = g_variant_n_children (parameters); 1566s # paramv = g_new0 (GValue, num_params + 1); 1566s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1566s # g_value_set_object (¶mv[0], proxy); 1566s # g_variant_iter_init (&iter, parameters); 1566s # n = 1; 1566s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1566s # { 1566s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1566s # if (arg_info->use_gvariant) 1566s # { 1566s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1566s # g_value_set_variant (¶mv[n], child); 1566s # n++; 1566s # } 1566s # else 1566s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1566s # g_variant_unref (child); 1566s # } 1566s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1566s # g_signal_emitv (paramv, signal_id, 0, NULL); 1566s # for (n = 0; n < num_params + 1; n++) 1566s # g_value_unset (¶mv[n]); 1566s # g_free (paramv); 1566s # } 1566s # 1566s # static void 1566s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1566s # GVariant *changed_properties, 1566s # const gchar *const *invalidated_properties) 1566s # { 1566s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1566s # guint n; 1566s # const gchar *key; 1566s # GVariantIter *iter; 1566s # _ExtendedGDBusPropertyInfo *info; 1566s # g_variant_get (changed_properties, "a{sv}", &iter); 1566s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1566s # { 1566s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1566s # g_datalist_remove_data (&proxy->priv->qdata, key); 1566s # if (info != NULL) 1566s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1566s # } 1566s # g_variant_iter_free (iter); 1566s # for (n = 0; invalidated_properties[n] != NULL; n++) 1566s # { 1566s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1566s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1566s # if (info != NULL) 1566s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1566s # } 1566s # } 1566s # 1566s # static void 1566s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1566s # { 1566s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1566s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1566s # #else 1566s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1566s # #endif 1566s # 1566s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1566s # } 1566s # 1566s # static void 1566s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1566s # { 1566s # GObjectClass *gobject_class; 1566s # GDBusProxyClass *proxy_class; 1566s # 1566s # gobject_class = G_OBJECT_CLASS (klass); 1566s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1566s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1566s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1566s # 1566s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1566s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1566s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1566s # 1566s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1566s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1566s # #endif 1566s # } 1566s # 1566s # static void 1566s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1566s # { 1566s # } 1566s # 1566s # /** 1566s # * org_project_useful_interface_proxy_new: 1566s # * @connection: A #GDBusConnection. 1566s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1566s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1566s # * @object_path: An object path. 1566s # * @cancellable: (nullable): A #GCancellable or %NULL. 1566s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1566s # * @user_data: User data to pass to @callback. 1566s # * 1566s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1566s # * 1566s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1566s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1566s # * 1566s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1566s # */ 1566s # void 1566s # org_project_useful_interface_proxy_new ( 1566s # GDBusConnection *connection, 1566s # GDBusProxyFlags flags, 1566s # const gchar *name, 1566s # const gchar *object_path, 1566s # GCancellable *cancellable, 1566s # GAsyncReadyCallback callback, 1566s # gpointer user_data) 1566s # { 1566s # g_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); 1566s # } 1566s # 1566s # /** 1566s # * org_project_useful_interface_proxy_new_finish: 1566s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1566s # * @error: Return location for error or %NULL 1566s # * 1566s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1566s # * 1566s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1566s # */ 1566s # OrgProjectUsefulInterface * 1566s # org_project_useful_interface_proxy_new_finish ( 1566s # GAsyncResult *res, 1566s # GError **error) 1566s # { 1566s # GObject *ret; 1566s # GObject *source_object; 1566s # source_object = g_async_result_get_source_object (res); 1566s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1566s # g_object_unref (source_object); 1566s # if (ret != NULL) 1566s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1566s # else 1566s # return NULL; 1566s # } 1566s # 1566s # /** 1566s # * org_project_useful_interface_proxy_new_sync: 1566s # * @connection: A #GDBusConnection. 1566s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1566s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1566s # * @object_path: An object path. 1566s # * @cancellable: (nullable): A #GCancellable or %NULL. 1566s # * @error: Return location for error or %NULL 1566s # * 1566s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1566s # * 1566s # * The calling thread is blocked until a reply is received. 1566s # * 1566s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1566s # * 1566s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1566s # */ 1566s # OrgProjectUsefulInterface * 1566s # org_project_useful_interface_proxy_new_sync ( 1566s # GDBusConnection *connection, 1566s # GDBusProxyFlags flags, 1566s # const gchar *name, 1566s # const gchar *object_path, 1566s # GCancellable *cancellable, 1566s # GError **error) 1566s # { 1566s # GInitable *ret; 1566s # 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); 1566s # if (ret != NULL) 1566s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1566s # else 1566s # return NULL; 1566s # } 1566s # 1566s # 1566s # /** 1566s # * org_project_useful_interface_proxy_new_for_bus: 1566s # * @bus_type: A #GBusType. 1566s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1566s # * @name: A bus name (well-known or unique). 1566s # * @object_path: An object path. 1566s # * @cancellable: (nullable): A #GCancellable or %NULL. 1566s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1566s # * @user_data: User data to pass to @callback. 1566s # * 1566s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1566s # * 1566s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1566s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1566s # * 1566s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1566s # */ 1566s # void 1566s # org_project_useful_interface_proxy_new_for_bus ( 1566s # GBusType bus_type, 1566s # GDBusProxyFlags flags, 1566s # const gchar *name, 1566s # const gchar *object_path, 1566s # GCancellable *cancellable, 1566s # GAsyncReadyCallback callback, 1566s # gpointer user_data) 1566s # { 1566s # g_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); 1566s # } 1566s # 1566s # /** 1566s # * org_project_useful_interface_proxy_new_for_bus_finish: 1566s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1566s # * @error: Return location for error or %NULL 1566s # * 1566s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1566s # * 1566s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1566s # */ 1566s # OrgProjectUsefulInterface * 1566s # org_project_useful_interface_proxy_new_for_bus_finish ( 1566s # GAsyncResult *res, 1566s # GError **error) 1566s # { 1566s # GObject *ret; 1566s # GObject *source_object; 1566s # source_object = g_async_result_get_source_object (res); 1566s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1566s # g_object_unref (source_object); 1566s # if (ret != NULL) 1566s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1566s # else 1566s # return NULL; 1566s # } 1566s # 1566s # /** 1566s # * org_project_useful_interface_proxy_new_for_bus_sync: 1566s # * @bus_type: A #GBusType. 1566s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1566s # * @name: A bus name (well-known or unique). 1566s # * @object_path: An object path. 1566s # * @cancellable: (nullable): A #GCancellable or %NULL. 1566s # * @error: Return location for error or %NULL 1566s # * 1566s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1566s # * 1566s # * The calling thread is blocked until a reply is received. 1566s # * 1566s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1566s # * 1566s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1566s # */ 1566s # OrgProjectUsefulInterface * 1566s # org_project_useful_interface_proxy_new_for_bus_sync ( 1566s # GBusType bus_type, 1566s # GDBusProxyFlags flags, 1566s # const gchar *name, 1566s # const gchar *object_path, 1566s # GCancellable *cancellable, 1566s # GError **error) 1566s # { 1566s # GInitable *ret; 1566s # 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); 1566s # if (ret != NULL) 1566s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1566s # else 1566s # return NULL; 1566s # } 1566s # 1566s # 1566s # /* ------------------------------------------------------------------------ */ 1566s # 1566s # /** 1566s # * OrgProjectUsefulInterfaceSkeleton: 1566s # * 1566s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1566s # */ 1566s # 1566s # /** 1566s # * OrgProjectUsefulInterfaceSkeletonClass: 1566s # * @parent_class: The parent class. 1566s # * 1566s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1566s # */ 1566s # 1566s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1566s # { 1566s # GValue *properties; 1566s # GList *changed_properties; 1566s # GSource *changed_properties_idle_source; 1566s # GMainContext *context; 1566s # GMutex lock; 1566s # }; 1566s # 1566s # static void 1566s # _org_project_useful_interface_skeleton_handle_method_call ( 1566s # GDBusConnection *connection G_GNUC_UNUSED, 1566s # const gchar *sender G_GNUC_UNUSED, 1566s # const gchar *object_path G_GNUC_UNUSED, 1566s # const gchar *interface_name, 1566s # const gchar *method_name, 1566s # GVariant *parameters, 1566s # GDBusMethodInvocation *invocation, 1566s # gpointer user_data) 1566s # { 1566s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1566s # _ExtendedGDBusMethodInfo *info; 1566s # GVariantIter iter; 1566s # GVariant *child; 1566s # GValue *paramv; 1566s # gsize num_params; 1566s # guint num_extra; 1566s # gsize n; 1566s # guint signal_id; 1566s # GValue return_value = G_VALUE_INIT; 1566s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1566s # g_assert (info != NULL); 1566s # num_params = g_variant_n_children (parameters); 1566s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1566s # n = 0; 1566s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1566s # g_value_set_object (¶mv[n++], skeleton); 1566s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1566s # g_value_set_object (¶mv[n++], invocation); 1566s # if (info->pass_fdlist) 1566s # { 1566s # #ifdef G_OS_UNIX 1566s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1566s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1566s # #else 1566s # g_assert_not_reached (); 1566s # #endif 1566s # } 1566s # g_variant_iter_init (&iter, parameters); 1566s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1566s # { 1566s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1566s # if (arg_info->use_gvariant) 1566s # { 1566s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1566s # g_value_set_variant (¶mv[n], child); 1566s # n++; 1566s # } 1566s # else 1566s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1566s # g_variant_unref (child); 1566s # } 1566s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1566s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1566s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1566s # if (!g_value_get_boolean (&return_value)) 1566s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1566s # g_value_unset (&return_value); 1566s # for (n = 0; n < num_params + num_extra; n++) 1566s # g_value_unset (¶mv[n]); 1566s # g_free (paramv); 1566s # } 1566s # 1566s # static GVariant * 1566s # _org_project_useful_interface_skeleton_handle_get_property ( 1566s # GDBusConnection *connection G_GNUC_UNUSED, 1566s # const gchar *sender G_GNUC_UNUSED, 1566s # const gchar *object_path G_GNUC_UNUSED, 1566s # const gchar *interface_name G_GNUC_UNUSED, 1566s # const gchar *property_name, 1566s # GError **error, 1566s # gpointer user_data) 1566s # { 1566s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1566s # GValue value = G_VALUE_INIT; 1566s # GParamSpec *pspec; 1566s # _ExtendedGDBusPropertyInfo *info; 1566s # GVariant *ret; 1566s # ret = NULL; 1566s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1566s # g_assert (info != NULL); 1566s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1566s # if (pspec == NULL) 1566s # { 1566s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1566s # } 1566s # else 1566s # { 1566s # g_value_init (&value, pspec->value_type); 1566s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1566s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1566s # g_value_unset (&value); 1566s # } 1566s # return ret; 1566s # } 1566s # 1566s # static gboolean 1566s # _org_project_useful_interface_skeleton_handle_set_property ( 1566s # GDBusConnection *connection G_GNUC_UNUSED, 1566s # const gchar *sender G_GNUC_UNUSED, 1566s # const gchar *object_path G_GNUC_UNUSED, 1566s # const gchar *interface_name G_GNUC_UNUSED, 1566s # const gchar *property_name, 1566s # GVariant *variant, 1566s # GError **error, 1566s # gpointer user_data) 1566s # { 1566s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1566s # GValue value = G_VALUE_INIT; 1566s # GParamSpec *pspec; 1566s # _ExtendedGDBusPropertyInfo *info; 1566s # gboolean ret; 1566s # ret = FALSE; 1566s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1566s # g_assert (info != NULL); 1566s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1566s # if (pspec == NULL) 1566s # { 1566s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1566s # } 1566s # else 1566s # { 1566s # if (info->use_gvariant) 1566s # g_value_set_variant (&value, variant); 1566s # else 1566s # g_dbus_gvariant_to_gvalue (variant, &value); 1566s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1566s # g_value_unset (&value); 1566s # ret = TRUE; 1566s # } 1566s # return ret; 1566s # } 1566s # 1566s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1566s # { 1566s # _org_project_useful_interface_skeleton_handle_method_call, 1566s # _org_project_useful_interface_skeleton_handle_get_property, 1566s # _org_project_useful_interface_skeleton_handle_set_property, 1566s # {NULL} 1566s # }; 1566s # 1566s # static GDBusInterfaceInfo * 1566s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1566s # { 1566s # return org_project_useful_interface_interface_info (); 1566s # } 1566s # 1566s # static GDBusInterfaceVTable * 1566s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1566s # { 1566s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1566s # } 1566s # 1566s # static GVariant * 1566s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1566s # { 1566s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1566s # 1566s # GVariantBuilder builder; 1566s # guint n; 1566s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1566s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1566s # goto out; 1566s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1566s # { 1566s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1566s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1566s # { 1566s # GVariant *value; 1566s # 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); 1566s # if (value != NULL) 1566s # { 1566s # g_variant_take_ref (value); 1566s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1566s # g_variant_unref (value); 1566s # } 1566s # } 1566s # } 1566s # out: 1566s # return g_variant_builder_end (&builder); 1566s # } 1566s # 1566s # static void 1566s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1566s # { 1566s # } 1566s # 1566s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1566s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1566s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1566s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1566s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1566s # 1566s # #else 1566s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1566s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1566s # 1566s # #endif 1566s # static void 1566s # org_project_useful_interface_skeleton_finalize (GObject *object) 1566s # { 1566s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1566s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1566s # if (skeleton->priv->changed_properties_idle_source != NULL) 1566s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1566s # g_main_context_unref (skeleton->priv->context); 1566s # g_mutex_clear (&skeleton->priv->lock); 1566s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1566s # } 1566s # 1566s # static void 1566s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1566s # { 1566s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1566s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1566s # #else 1566s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1566s # #endif 1566s # 1566s # g_mutex_init (&skeleton->priv->lock); 1566s # skeleton->priv->context = g_main_context_ref_thread_default (); 1566s # } 1566s # 1566s # static void 1566s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1566s # { 1566s # GObjectClass *gobject_class; 1566s # GDBusInterfaceSkeletonClass *skeleton_class; 1566s # 1566s # gobject_class = G_OBJECT_CLASS (klass); 1566s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1566s # 1566s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1566s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1566s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1566s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1566s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1566s # 1566s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1566s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1566s # #endif 1566s # } 1566s # 1566s # static void 1566s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1566s # { 1566s # } 1566s # 1566s # /** 1566s # * org_project_useful_interface_skeleton_new: 1566s # * 1566s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1566s # * 1566s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1566s # */ 1566s # OrgProjectUsefulInterface * 1566s # org_project_useful_interface_skeleton_new (void) 1566s # { 1566s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1566s # } 1566s # /tmp/tmppzwln7e0/tmpxci7p44p.xml: 1566s # 1566s # 1566s # 1566s # 1566s # 1566s # 1566s # 1566s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmppzwln7e0/tmpxci7p44p.xml', '--output', '-', '--body'] 1566s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-baqskmurxn,guid=fbaffe99d0ccb1f6e1beb84865fc01cd', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.YcZbqk/autopkgtest_tmp', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.YcZbqk/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.YcZbqk/autopkgtest_tmp', 'TERM': 'unknown', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.YcZbqk/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.sVTVMp0Db0', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.rqZsJO/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.YcZbqk/wrapper.sh --artifacts=/tmp/autopkgtest.YcZbqk/installed-tests-artifacts --chdir=/tmp/autopkgtest.YcZbqk/build.S0E/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.YcZbqk/installed-tests-stderr --stdout=/tmp/autopkgtest.YcZbqk/installed-tests-stdout --tmp=/tmp/autopkgtest.YcZbqk/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2' --make-executable=/tmp/autopkgtest.YcZbqk/build.S0E/src/debian/tests/installed-tests -- /tmp/autopkgtest.YcZbqk/build.S0E/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.YcZbqk/build.S0E/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.YcZbqk/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1566s # Output: /* 1566s # * This file is generated by gdbus-codegen, do not modify it. 1566s # * 1566s # * The license of this code is the same as for the D-Bus interface description 1566s # * it was derived from. Note that it links to GLib, so must comply with the 1566s # * LGPL linking clauses. 1566s # */ 1566s # 1566s # #ifdef HAVE_CONFIG_H 1566s # # include "config.h" 1566s # #endif 1566s # 1566s # #include 1566s # #ifdef G_OS_UNIX 1566s # # include 1566s # #endif 1566s # 1566s # #ifdef G_ENABLE_DEBUG 1566s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1566s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1566s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1566s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1566s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1566s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1566s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1566s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1566s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1566s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1566s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1566s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1566s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1566s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1566s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1566s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1566s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1566s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1566s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1566s # #else /* !G_ENABLE_DEBUG */ 1566s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1566s # * Do not access GValues directly in your code. Instead, use the 1566s # * g_value_get_*() functions 1566s # */ 1566s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1566s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1566s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1566s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1566s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1566s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1566s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1566s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1566s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1566s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1566s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1566s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1566s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1566s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1566s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1566s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1566s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1566s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1566s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1566s # #endif /* !G_ENABLE_DEBUG */ 1566s # 1566s # typedef struct 1566s # { 1566s # GDBusArgInfo parent_struct; 1566s # gboolean use_gvariant; 1566s # } _ExtendedGDBusArgInfo; 1566s # 1566s # typedef struct 1566s # { 1566s # GDBusMethodInfo parent_struct; 1566s # const gchar *signal_name; 1566s # gboolean pass_fdlist; 1566s # } _ExtendedGDBusMethodInfo; 1566s # 1566s # typedef struct 1566s # { 1566s # GDBusSignalInfo parent_struct; 1566s # const gchar *signal_name; 1566s # } _ExtendedGDBusSignalInfo; 1566s # 1566s # typedef struct 1566s # { 1566s # GDBusPropertyInfo parent_struct; 1566s # const gchar *hyphen_name; 1566s # guint use_gvariant : 1; 1566s # guint emits_changed_signal : 1; 1566s # } _ExtendedGDBusPropertyInfo; 1566s # 1566s # typedef struct 1566s # { 1566s # GDBusInterfaceInfo parent_struct; 1566s # const gchar *hyphen_name; 1566s # } _ExtendedGDBusInterfaceInfo; 1566s # 1566s # typedef struct 1566s # { 1566s # const _ExtendedGDBusPropertyInfo *info; 1566s # guint prop_id; 1566s # GValue orig_value; /* the value before the change */ 1566s # } ChangedProperty; 1566s # 1566s # static void 1566s # _changed_property_free (ChangedProperty *data) 1566s # { 1566s # g_value_unset (&data->orig_value); 1566s # g_free (data); 1566s # } 1566s # 1566s # static gboolean 1566s # _g_strv_equal0 (gchar **a, gchar **b) 1566s # { 1566s # gboolean ret = FALSE; 1566s # guint n; 1566s # if (a == NULL && b == NULL) 1566s # { 1566s # ret = TRUE; 1566s # goto out; 1566s # } 1566s # if (a == NULL || b == NULL) 1566s # goto out; 1566s # if (g_strv_length (a) != g_strv_length (b)) 1566s # goto out; 1566s # for (n = 0; a[n] != NULL; n++) 1566s # if (g_strcmp0 (a[n], b[n]) != 0) 1566s # goto out; 1566s # ret = TRUE; 1566s # out: 1566s # return ret; 1566s # } 1566s # 1566s # static gboolean 1566s # _g_variant_equal0 (GVariant *a, GVariant *b) 1566s # { 1566s # gboolean ret = FALSE; 1566s # if (a == NULL && b == NULL) 1566s # { 1566s # ret = TRUE; 1566s # goto out; 1566s # } 1566s # if (a == NULL || b == NULL) 1566s # goto out; 1566s # ret = g_variant_equal (a, b); 1566s # out: 1566s # return ret; 1566s # } 1566s # 1566s # G_GNUC_UNUSED static gboolean 1566s # _g_value_equal (const GValue *a, const GValue *b) 1566s # { 1566s # gboolean ret = FALSE; 1566s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1566s # switch (G_VALUE_TYPE (a)) 1566s # { 1566s # case G_TYPE_BOOLEAN: 1566s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1566s # break; 1566s # case G_TYPE_UCHAR: 1566s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1566s # break; 1566s # case G_TYPE_INT: 1566s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1566s # break; 1566s # case G_TYPE_UINT: 1566s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1566s # break; 1566s # case G_TYPE_INT64: 1566s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1566s # break; 1566s # case G_TYPE_UINT64: 1566s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1566s # break; 1566s # case G_TYPE_DOUBLE: 1566s # { 1566s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1566s # gdouble da = g_value_get_double (a); 1566s # gdouble db = g_value_get_double (b); 1566s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1566s # } 1566s # break; 1566s # case G_TYPE_STRING: 1566s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1566s # break; 1566s # case G_TYPE_VARIANT: 1566s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1566s # break; 1566s # default: 1566s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1566s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1566s # else 1566s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1566s # break; 1566s # } 1566s # return ret; 1566s # } 1566s # 1566s # static void 1566s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_STRING ( 1566s # GClosure *closure, 1566s # GValue *return_value, 1566s # unsigned int n_param_values, 1566s # const GValue *param_values, 1566s # void *invocation_hint G_GNUC_UNUSED, 1566s # void *marshal_data) 1566s # { 1566s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectStringFunc) 1566s # (void *data1, 1566s # GDBusMethodInvocation *arg_method_invocation, 1566s # const gchar *arg_arg_g, 1566s # void *data2); 1566s # _GDbusCodegenMarshalBoolean_ObjectStringFunc callback; 1566s # GCClosure *cc = (GCClosure*) closure; 1566s # void *data1, *data2; 1566s # gboolean v_return; 1566s # 1566s # g_return_if_fail (return_value != NULL); 1566s # g_return_if_fail (n_param_values == 3); 1566s # 1566s # if (G_CCLOSURE_SWAP_DATA (closure)) 1566s # { 1566s # data1 = closure->data; 1566s # data2 = g_value_peek_pointer (param_values + 0); 1566s # } 1566s # else 1566s # { 1566s # data1 = g_value_peek_pointer (param_values + 0); 1566s # data2 = closure->data; 1566s # } 1566s # 1566s # callback = (_GDbusCodegenMarshalBoolean_ObjectStringFunc) 1566s # (marshal_data ? marshal_data : cc->callback); 1566s # 1566s # v_return = 1566s # callback (data1, 1566s # g_marshal_value_peek_object (param_values + 1), 1566s # g_marshal_value_peek_string (param_values + 2), 1566s # data2); 1566s # 1566s # g_value_set_boolean (return_value, v_return); 1566s # } 1566s # 1566s # /* ------------------------------------------------------------------------ 1566s # * Code for interface org.project.UsefulInterface 1566s # * ------------------------------------------------------------------------ 1566s # */ 1566s # 1566s # /** 1566s # * SECTION:OrgProjectUsefulInterface 1566s # * @title: OrgProjectUsefulInterface 1566s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1566s # * 1566s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1566s # */ 1566s # 1566s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1566s # 1566s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_g_IN_ARG_arg_g = 1566s # { 1566s # { 1566s # -1, 1566s # (gchar *) "arg_g", 1566s # (gchar *) "g", 1566s # NULL 1566s # }, 1566s # FALSE 1566s # }; 1566s # 1566s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_g_IN_ARG_pointers[] = 1566s # { 1566s # &_org_project_useful_interface_method_info_single_arg_method_g_IN_ARG_arg_g.parent_struct, 1566s # NULL 1566s # }; 1566s # 1566s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_g = 1566s # { 1566s # { 1566s # -1, 1566s # (gchar *) "SingleArgMethodG", 1566s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_g_IN_ARG_pointers, 1566s # NULL, 1566s # NULL 1566s # }, 1566s # "handle-single-arg-method-g", 1566s # FALSE 1566s # }; 1566s # 1566s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1566s # { 1566s # &_org_project_useful_interface_method_info_single_arg_method_g.parent_struct, 1566s # NULL 1566s # }; 1566s # 1566s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1566s # { 1566s # { 1566s # -1, 1566s # (gchar *) "org.project.UsefulInterface", 1566s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1566s # NULL, 1566s # NULL, 1566s # NULL 1566s # }, 1566s # "org-project-useful-interface", 1566s # }; 1566s # 1566s # 1566s # /** 1566s # * org_project_useful_interface_interface_info: 1566s # * 1566s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1566s # * 1566s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1566s # */ 1566s # GDBusInterfaceInfo * 1566s # org_project_useful_interface_interface_info (void) 1566s # { 1566s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1566s # } 1566s # 1566s # /** 1566s # * org_project_useful_interface_override_properties: 1566s # * @klass: The class structure for a #GObject derived class. 1566s # * @property_id_begin: The property id to assign to the first overridden property. 1566s # * 1566s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1566s # * The properties are overridden in the order they are defined. 1566s # * 1566s # * Returns: The last property id. 1566s # */ 1566s # guint 1566s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1566s # { 1566s # return property_id_begin - 1; 1566s # } 1566s # 1566s # 1566s # inline static void 1566s # org_project_useful_interface_method_marshal_single_arg_method_g ( 1566s # GClosure *closure, 1566s # GValue *return_value, 1566s # unsigned int n_param_values, 1566s # const GValue *param_values, 1566s # void *invocation_hint, 1566s # void *marshal_data) 1566s # { 1566s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_STRING (closure, 1566s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1566s # } 1566s # 1566s # 1566s # /** 1566s # * OrgProjectUsefulInterface: 1566s # * 1566s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1566s # */ 1566s # 1566s # /** 1566s # * OrgProjectUsefulInterfaceIface: 1566s # * @parent_iface: The parent interface. 1566s # * @handle_single_arg_method_g: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-g signal. 1566s # * 1566s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1566s # */ 1566s # 1566s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1566s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1566s # 1566s # static void 1566s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1566s # { 1566s # /* GObject signals for incoming D-Bus method calls: */ 1566s # /** 1566s # * OrgProjectUsefulInterface::handle-single-arg-method-g: 1566s # * @object: A #OrgProjectUsefulInterface. 1566s # * @invocation: A #GDBusMethodInvocation. 1566s # * @arg_arg_g: Argument passed by remote caller. 1566s # * 1566s # * Signal emitted when a remote caller is invoking the SingleArgMethodG() D-Bus method. 1566s # * 1566s # * 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. 1566s # * 1566s # * 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. 1566s # */ 1566s # g_signal_new ("handle-single-arg-method-g", 1566s # G_TYPE_FROM_INTERFACE (iface), 1566s # G_SIGNAL_RUN_LAST, 1566s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_g), 1566s # g_signal_accumulator_true_handled, 1566s # NULL, 1566s # org_project_useful_interface_method_marshal_single_arg_method_g, 1566s # G_TYPE_BOOLEAN, 1566s # 2, 1566s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_STRING); 1566s # 1566s # } 1566s # 1566s # /** 1566s # * org_project_useful_interface_call_single_arg_method_g: 1566s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1566s # * @arg_arg_g: Argument to pass with the method invocation. 1566s # * @cancellable: (nullable): A #GCancellable or %NULL. 1566s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1566s # * @user_data: User data to pass to @callback. 1566s # * 1566s # * Asynchronously invokes the SingleArgMethodG() D-Bus method on @proxy. 1566s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1566s # * You can then call org_project_useful_interface_call_single_arg_method_g_finish() to get the result of the operation. 1566s # * 1566s # * See org_project_useful_interface_call_single_arg_method_g_sync() for the synchronous, blocking version of this method. 1566s # */ 1566s # void 1566s # org_project_useful_interface_call_single_arg_method_g ( 1566s # OrgProjectUsefulInterface *proxy, 1566s # const gchar *arg_arg_g, 1566s # GCancellable *cancellable, 1566s # GAsyncReadyCallback callback, 1566s # gpointer user_data) 1566s # { 1566s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1566s # "SingleArgMethodG", 1566s # g_variant_new ("(g)", 1566s # arg_arg_g), 1566s # G_DBUS_CALL_FLAGS_NONE, 1566s # -1, 1566s # cancellable, 1566s # callback, 1566s # user_data); 1566s # } 1566s # 1566s # /** 1566s # * org_project_useful_interface_call_single_arg_method_g_finish: 1566s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1566s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_g(). 1566s # * @error: Return location for error or %NULL. 1566s # * 1566s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_g(). 1566s # * 1566s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1566s # */ 1566s # gboolean 1566s # org_project_useful_interface_call_single_arg_method_g_finish ( 1566s # OrgProjectUsefulInterface *proxy, 1566s # GAsyncResult *res, 1566s # GError **error) 1566s # { 1566s # GVariant *_ret; 1566s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1566s # if (_ret == NULL) 1566s # goto _out; 1566s # g_variant_get (_ret, 1566s # "()"); 1566s # g_variant_unref (_ret); 1566s # _out: 1566s # return _ret != NULL; 1566s # } 1566s # 1566s # /** 1566s # * org_project_useful_interface_call_single_arg_method_g_sync: 1566s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1566s # * @arg_arg_g: Argument to pass with the method invocation. 1566s # * @cancellable: (nullable): A #GCancellable or %NULL. 1566s # * @error: Return location for error or %NULL. 1566s # * 1566s # * Synchronously invokes the SingleArgMethodG() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1566s # * 1566s # * See org_project_useful_interface_call_single_arg_method_g() for the asynchronous version of this method. 1566s # * 1566s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1566s # */ 1566s # gboolean 1566s # org_project_useful_interface_call_single_arg_method_g_sync ( 1566s # OrgProjectUsefulInterface *proxy, 1566s # const gchar *arg_arg_g, 1566s # GCancellable *cancellable, 1566s # GError **error) 1566s # { 1566s # GVariant *_ret; 1566s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1566s # "SingleArgMethodG", 1566s # g_variant_new ("(g)", 1566s # arg_arg_g), 1566s # G_DBUS_CALL_FLAGS_NONE, 1566s # -1, 1566s # cancellable, 1566s # error); 1566s # if (_ret == NULL) 1566s # goto _out; 1566s # g_variant_get (_ret, 1566s # "()"); 1566s # g_variant_unref (_ret); 1566s # _out: 1566s # return _ret != NULL; 1566s # } 1566s # 1566s # /** 1566s # * org_project_useful_interface_complete_single_arg_method_g: 1566s # * @object: A #OrgProjectUsefulInterface. 1566s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1566s # * 1566s # * 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. 1566s # * 1566s # * This method will free @invocation, you cannot use it afterwards. 1566s # */ 1566s # void 1566s # org_project_useful_interface_complete_single_arg_method_g ( 1566s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1566s # GDBusMethodInvocation *invocation) 1566s # { 1566s # g_dbus_method_invocation_return_value (invocation, 1566s # g_variant_new ("()")); 1566s # } 1566s # 1566s # /* ------------------------------------------------------------------------ */ 1566s # 1566s # /** 1566s # * OrgProjectUsefulInterfaceProxy: 1566s # * 1566s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1566s # */ 1566s # 1566s # /** 1566s # * OrgProjectUsefulInterfaceProxyClass: 1566s # * @parent_class: The parent class. 1566s # * 1566s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1566s # */ 1566s # 1566s # struct _OrgProjectUsefulInterfaceProxyPrivate 1566s # { 1566s # GData *qdata; 1566s # }; 1566s # 1566s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1566s # 1566s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1566s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1566s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1566s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1566s # 1566s # #else 1566s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1566s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1566s # 1566s # #endif 1566s # static void 1566s # org_project_useful_interface_proxy_finalize (GObject *object) 1566s # { 1566s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1566s # g_datalist_clear (&proxy->priv->qdata); 1566s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1566s # } 1566s # 1566s # static void 1566s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1566s # guint prop_id G_GNUC_UNUSED, 1566s # GValue *value G_GNUC_UNUSED, 1566s # GParamSpec *pspec G_GNUC_UNUSED) 1566s # { 1566s # } 1566s # 1566s # static void 1566s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1566s # guint prop_id G_GNUC_UNUSED, 1566s # const GValue *value G_GNUC_UNUSED, 1566s # GParamSpec *pspec G_GNUC_UNUSED) 1566s # { 1566s # } 1566s # 1566s # static void 1566s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1566s # const gchar *sender_name G_GNUC_UNUSED, 1566s # const gchar *signal_name, 1566s # GVariant *parameters) 1566s # { 1566s # _ExtendedGDBusSignalInfo *info; 1566s # GVariantIter iter; 1566s # GVariant *child; 1566s # GValue *paramv; 1566s # gsize num_params; 1566s # gsize n; 1566s # guint signal_id; 1566s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1566s # if (info == NULL) 1566s # return; 1566s # num_params = g_variant_n_children (parameters); 1566s # paramv = g_new0 (GValue, num_params + 1); 1566s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1566s # g_value_set_object (¶mv[0], proxy); 1566s # g_variant_iter_init (&iter, parameters); 1566s # n = 1; 1566s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1566s # { 1566s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1566s # if (arg_info->use_gvariant) 1566s # { 1566s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1566s # g_value_set_variant (¶mv[n], child); 1566s # n++; 1566s # } 1566s # else 1566s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1566s # g_variant_unref (child); 1566s # } 1566s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1566s # g_signal_emitv (paramv, signal_id, 0, NULL); 1566s # for (n = 0; n < num_params + 1; n++) 1566s # g_value_unset (¶mv[n]); 1566s # g_free (paramv); 1566s # } 1566s # 1566s # static void 1566s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1566s # GVariant *changed_properties, 1566s # const gchar *const *invalidated_properties) 1566s # { 1566s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1566s # guint n; 1566s # const gchar *key; 1566s # GVariantIter *iter; 1566s # _ExtendedGDBusPropertyInfo *info; 1566s # g_variant_get (changed_properties, "a{sv}", &iter); 1566s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1566s # { 1566s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1566s # g_datalist_remove_data (&proxy->priv->qdata, key); 1566s # if (info != NULL) 1566s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1566s # } 1566s # g_variant_iter_free (iter); 1566s # for (n = 0; invalidated_properties[n] != NULL; n++) 1566s # { 1566s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1566s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1566s # if (info != NULL) 1566s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1566s # } 1566s # } 1566s # 1566s # static void 1566s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1566s # { 1566s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1566s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1566s # #else 1566s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1566s # #endif 1566s # 1566s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1566s # } 1566s # 1566s # static void 1566s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1566s # { 1566s # GObjectClass *gobject_class; 1566s # GDBusProxyClass *proxy_class; 1566s # 1566s # gobject_class = G_OBJECT_CLASS (klass); 1566s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1566s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1566s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1566s # 1566s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1566s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1566s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1566s # 1566s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1566s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1566s # #endif 1566s # } 1566s # 1566s # static void 1566s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1566s # { 1566s # } 1566s # 1566s # /** 1566s # * org_project_useful_interface_proxy_new: 1566s # * @connection: A #GDBusConnection. 1566s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1566s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1566s # * @object_path: An object path. 1566s # * @cancellable: (nullable): A #GCancellable or %NULL. 1566s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1566s # * @user_data: User data to pass to @callback. 1566s # * 1566s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1566s # * 1566s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1566s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1566s # * 1566s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1566s # */ 1566s # void 1566s # org_project_useful_interface_proxy_new ( 1566s # GDBusConnection *connection, 1566s # GDBusProxyFlags flags, 1566s # const gchar *name, 1566s # const gchar *object_path, 1566s # GCancellable *cancellable, 1566s # GAsyncReadyCallback callback, 1566s # gpointer user_data) 1566s # { 1566s # g_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); 1566s # } 1566s # 1566s # /** 1566s # * org_project_useful_interface_proxy_new_finish: 1566s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1566s # * @error: Return location for error or %NULL 1566s # * 1566s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1566s # * 1566s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1566s # */ 1566s # OrgProjectUsefulInterface * 1566s # org_project_useful_interface_proxy_new_finish ( 1566s # GAsyncResult *res, 1566s # GError **error) 1566s # { 1566s # GObject *ret; 1566s # GObject *source_object; 1566s # source_object = g_async_result_get_source_object (res); 1566s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1566s # g_object_unref (source_object); 1566s # if (ret != NULL) 1566s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1566s # else 1566s # return NULL; 1566s # } 1566s # 1566s # /** 1566s # * org_project_useful_interface_proxy_new_sync: 1566s # * @connection: A #GDBusConnection. 1566s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1566s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1566s # * @object_path: An object path. 1566s # * @cancellable: (nullable): A #GCancellable or %NULL. 1566s # * @error: Return location for error or %NULL 1566s # * 1566s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1566s # * 1566s # * The calling thread is blocked until a reply is received. 1566s # * 1566s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1566s # * 1566s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1566s # */ 1566s # OrgProjectUsefulInterface * 1566s # org_project_useful_interface_proxy_new_sync ( 1566s # GDBusConnection *connection, 1566s # GDBusProxyFlags flags, 1566s # const gchar *name, 1566s # const gchar *object_path, 1566s # GCancellable *cancellable, 1566s # GError **error) 1566s # { 1566s # GInitable *ret; 1566s # 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); 1566s # if (ret != NULL) 1566s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1566s # else 1566s # return NULL; 1566s # } 1566s # 1566s # 1566s # /** 1566s # * org_project_useful_interface_proxy_new_for_bus: 1566s # * @bus_type: A #GBusType. 1566s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1566s # * @name: A bus name (well-known or unique). 1566s # * @object_path: An object path. 1566s # * @cancellable: (nullable): A #GCancellable or %NULL. 1566s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1566s # * @user_data: User data to pass to @callback. 1566s # * 1566s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1566s # * 1566s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1566s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1566s # * 1566s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1566s # */ 1566s # void 1566s # org_project_useful_interface_proxy_new_for_bus ( 1566s # GBusType bus_type, 1566s # GDBusProxyFlags flags, 1566s # const gchar *name, 1566s # const gchar *object_path, 1566s # GCancellable *cancellable, 1566s # GAsyncReadyCallback callback, 1566s # gpointer user_data) 1566s # { 1566s # g_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); 1566s # } 1566s # 1566s # /** 1566s # * org_project_useful_interface_proxy_new_for_bus_finish: 1566s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1566s # * @error: Return location for error or %NULL 1566s # * 1566s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1566s # * 1566s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1566s # */ 1566s # OrgProjectUsefulInterface * 1566s # org_project_useful_interface_proxy_new_for_bus_finish ( 1566s # GAsyncResult *res, 1566s # GError **error) 1566s # { 1566s # GObject *ret; 1566s # GObject *source_object; 1566s # source_object = g_async_result_get_source_object (res); 1566s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1566s # g_object_unref (source_object); 1566s # if (ret != NULL) 1566s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1566s # else 1566s # return NULL; 1566s # } 1566s # 1566s # /** 1566s # * org_project_useful_interface_proxy_new_for_bus_sync: 1566s # * @bus_type: A #GBusType. 1566s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1566s # * @name: A bus name (well-known or unique). 1566s # * @object_path: An object path. 1566s # * @cancellable: (nullable): A #GCancellable or %NULL. 1566s # * @error: Return location for error or %NULL 1566s # * 1566s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1566s # * 1566s # * The calling thread is blocked until a reply is received. 1566s # * 1566s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1566s # * 1566s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1566s # */ 1566s # OrgProjectUsefulInterface * 1566s # org_project_useful_interface_proxy_new_for_bus_sync ( 1566s # GBusType bus_type, 1566s # GDBusProxyFlags flags, 1566s # const gchar *name, 1566s # const gchar *object_path, 1566s # GCancellable *cancellable, 1566s # GError **error) 1566s # { 1566s # GInitable *ret; 1566s # 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); 1566s # if (ret != NULL) 1566s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1566s # else 1566s # return NULL; 1566s # } 1566s # 1566s # 1566s # /* ------------------------------------------------------------------------ */ 1566s # 1566s # /** 1566s # * OrgProjectUsefulInterfaceSkeleton: 1566s # * 1566s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1566s # */ 1566s # 1566s # /** 1566s # * OrgProjectUsefulInterfaceSkeletonClass: 1566s # * @parent_class: The parent class. 1566s # * 1566s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1566s # */ 1566s # 1566s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1566s # { 1566s # GValue *properties; 1566s # GList *changed_properties; 1566s # GSource *changed_properties_idle_source; 1566s # GMainContext *context; 1566s # GMutex lock; 1566s # }; 1566s # 1566s # static void 1566s # _org_project_useful_interface_skeleton_handle_method_call ( 1566s # GDBusConnection *connection G_GNUC_UNUSED, 1566s # const gchar *sender G_GNUC_UNUSED, 1566s # const gchar *object_path G_GNUC_UNUSED, 1566s # const gchar *interface_name, 1566s # const gchar *method_name, 1566s # GVariant *parameters, 1566s # GDBusMethodInvocation *invocation, 1566s # gpointer user_data) 1566s # { 1566s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1566s # _ExtendedGDBusMethodInfo *info; 1566s # GVariantIter iter; 1566s # GVariant *child; 1566s # GValue *paramv; 1566s # gsize num_params; 1566s # guint num_extra; 1566s # gsize n; 1566s # guint signal_id; 1566s # GValue return_value = G_VALUE_INIT; 1566s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1566s # g_assert (info != NULL); 1566s # num_params = g_variant_n_children (parameters); 1566s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1566s # n = 0; 1566s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1566s # g_value_set_object (¶mv[n++], skeleton); 1566s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1566s # g_value_set_object (¶mv[n++], invocation); 1566s # if (info->pass_fdlist) 1566s # { 1566s # #ifdef G_OS_UNIX 1566s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1566s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1566s # #else 1566s # g_assert_not_reached (); 1566s # #endif 1566s # } 1566s # g_variant_iter_init (&iter, parameters); 1566s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1566s # { 1566s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1566s # if (arg_info->use_gvariant) 1566s # { 1566s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1566s # g_value_set_variant (¶mv[n], child); 1566s # n++; 1566s # } 1566s # else 1566s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1566s # g_variant_unref (child); 1566s # } 1566s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1566s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1566s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1566s # if (!g_value_get_boolean (&return_value)) 1566s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1566s # g_value_unset (&return_value); 1566s # for (n = 0; n < num_params + num_extra; n++) 1566s # g_value_unset (¶mv[n]); 1566s # g_free (paramv); 1566s # } 1566s # 1566s # static GVariant * 1566s # _org_project_useful_interface_skeleton_handle_get_property ( 1566s # GDBusConnection *connection G_GNUC_UNUSED, 1566s # const gchar *sender G_GNUC_UNUSED, 1566s # const gchar *object_path G_GNUC_UNUSED, 1566s # const gchar *interface_name G_GNUC_UNUSED, 1566s # const gchar *property_name, 1566s # GError **error, 1566s # gpointer user_data) 1566s # { 1566s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1566s # GValue value = G_VALUE_INIT; 1566s # GParamSpec *pspec; 1566s # _ExtendedGDBusPropertyInfo *info; 1566s # GVariant *ret; 1566s # ret = NULL; 1566s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1566s # g_assert (info != NULL); 1566s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1566s # if (pspec == NULL) 1566s # { 1566s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1566s # } 1566s # else 1566s # { 1566s # g_value_init (&value, pspec->value_type); 1566s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1566s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1566s # g_value_unset (&value); 1566s # } 1566s # return ret; 1566s # } 1566s # 1566s # static gboolean 1566s # _org_project_useful_interface_skeleton_handle_set_property ( 1566s # GDBusConnection *connection G_GNUC_UNUSED, 1566s # const gchar *sender G_GNUC_UNUSED, 1566s # const gchar *object_path G_GNUC_UNUSED, 1566s # const gchar *interface_name G_GNUC_UNUSED, 1566s # const gchar *property_name, 1566s # GVariant *variant, 1566s # GError **error, 1566s # gpointer user_data) 1566s # { 1566s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1566s # GValue value = G_VALUE_INIT; 1566s # GParamSpec *pspec; 1566s # _ExtendedGDBusPropertyInfo *info; 1566s # gboolean ret; 1566s # ret = FALSE; 1566s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1566s # g_assert (info != NULL); 1566s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1566s # if (pspec == NULL) 1566s # { 1566s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1566s # } 1566s # else 1566s # { 1566s # if (info->use_gvariant) 1566s # g_value_set_variant (&value, variant); 1566s # else 1566s # g_dbus_gvariant_to_gvalue (variant, &value); 1566s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1566s # g_value_unset (&value); 1566s # ret = TRUE; 1566s # } 1566s # return ret; 1566s # } 1566s # 1566s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1566s # { 1566s # _org_project_useful_interface_skeleton_handle_method_call, 1566s # _org_project_useful_interface_skeleton_handle_get_property, 1566s # _org_project_useful_interface_skeleton_handle_set_property, 1566s # {NULL} 1566s # }; 1566s # 1566s # static GDBusInterfaceInfo * 1566s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1566s # { 1566s # return org_project_useful_interface_interface_info (); 1566s # } 1566s # 1566s # static GDBusInterfaceVTable * 1566s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1566s # { 1566s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1566s # } 1566s # 1566s # static GVariant * 1566s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1566s # { 1566s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1566s # 1566s # GVariantBuilder builder; 1566s # guint n; 1566s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1566s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1566s # goto out; 1566s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1566s # { 1566s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1566s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1566s # { 1566s # GVariant *value; 1566s # 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); 1566s # if (value != NULL) 1566s # { 1566s # g_variant_take_ref (value); 1566s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1566s # g_variant_unref (value); 1566s # } 1566s # } 1566s # } 1566s # out: 1566s # return g_variant_builder_end (&builder); 1566s # } 1566s # 1566s # static void 1566s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1566s # { 1566s # } 1566s # 1566s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1566s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1566s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1566s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1566s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1566s # 1566s # #else 1566s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1566s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1566s # 1566s # #endif 1566s # static void 1566s # org_project_useful_interface_skeleton_finalize (GObject *object) 1566s # { 1566s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1566s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1566s # if (skeleton->priv->changed_properties_idle_source != NULL) 1566s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1566s # g_main_context_unref (skeleton->priv->context); 1566s # g_mutex_clear (&skeleton->priv->lock); 1566s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1566s # } 1566s # 1566s # static void 1566s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1566s # { 1566s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1566s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1566s # #else 1566s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1566s # #endif 1566s # 1566s # g_mutex_init (&skeleton->priv->lock); 1566s # skeleton->priv->context = g_main_context_ref_thread_default (); 1566s # } 1566s # 1566s # static void 1566s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1566s # { 1566s # GObjectClass *gobject_class; 1566s # GDBusInterfaceSkeletonClass *skeleton_class; 1566s # 1566s # gobject_class = G_OBJECT_CLASS (klass); 1566s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1566s # 1566s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1566s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1566s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1566s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1566s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1566s # 1566s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1566s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1566s # #endif 1566s # } 1566s # 1566s # static void 1566s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1566s # { 1566s # } 1566s # 1566s # /** 1566s # * org_project_useful_interface_skeleton_new: 1566s # * 1566s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1566s # * 1566s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1566s # */ 1566s # OrgProjectUsefulInterface * 1566s # org_project_useful_interface_skeleton_new (void) 1566s # { 1566s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1566s # } 1566s # /tmp/tmppzwln7e0/tmpitzj2e0w.xml: 1566s # 1566s # 1566s # 1566s # 1566s # 1566s # 1566s # 1566s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmppzwln7e0/tmpitzj2e0w.xml', '--output', '-', '--body'] 1566s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-baqskmurxn,guid=fbaffe99d0ccb1f6e1beb84865fc01cd', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.YcZbqk/autopkgtest_tmp', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.YcZbqk/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.YcZbqk/autopkgtest_tmp', 'TERM': 'unknown', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.YcZbqk/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.sVTVMp0Db0', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.rqZsJO/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.YcZbqk/wrapper.sh --artifacts=/tmp/autopkgtest.YcZbqk/installed-tests-artifacts --chdir=/tmp/autopkgtest.YcZbqk/build.S0E/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.YcZbqk/installed-tests-stderr --stdout=/tmp/autopkgtest.YcZbqk/installed-tests-stdout --tmp=/tmp/autopkgtest.YcZbqk/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2' --make-executable=/tmp/autopkgtest.YcZbqk/build.S0E/src/debian/tests/installed-tests -- /tmp/autopkgtest.YcZbqk/build.S0E/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.YcZbqk/build.S0E/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.YcZbqk/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1566s # Output: /* 1566s # * This file is generated by gdbus-codegen, do not modify it. 1566s # * 1566s # * The license of this code is the same as for the D-Bus interface description 1566s # * it was derived from. Note that it links to GLib, so must comply with the 1566s # * LGPL linking clauses. 1566s # */ 1566s # 1566s # #ifdef HAVE_CONFIG_H 1566s # # include "config.h" 1566s # #endif 1566s # 1566s # #include 1566s # #ifdef G_OS_UNIX 1566s # # include 1566s # #endif 1566s # 1566s # #ifdef G_ENABLE_DEBUG 1566s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1566s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1566s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1566s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1566s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1566s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1566s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1566s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1566s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1566s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1566s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1566s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1566s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1566s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1566s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1566s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1566s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1566s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1566s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1566s # #else /* !G_ENABLE_DEBUG */ 1566s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1566s # * Do not access GValues directly in your code. Instead, use the 1566s # * g_value_get_*() functions 1566s # */ 1566s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1566s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1566s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1566s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1566s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1566s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1566s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1566s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1566s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1566s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1566s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1566s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1566s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1566s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1566s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1566s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1566s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1566s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1566s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1566s # #endif /* !G_ENABLE_DEBUG */ 1566s # 1566s # typedef struct 1566s # { 1566s # GDBusArgInfo parent_struct; 1566s # gboolean use_gvariant; 1566s # } _ExtendedGDBusArgInfo; 1566s # 1566s # typedef struct 1566s # { 1566s # GDBusMethodInfo parent_struct; 1566s # const gchar *signal_name; 1566s # gboolean pass_fdlist; 1566s # } _ExtendedGDBusMethodInfo; 1566s # 1566s # typedef struct 1566s # { 1566s # GDBusSignalInfo parent_struct; 1566s # const gchar *signal_name; 1566s # } _ExtendedGDBusSignalInfo; 1566s # 1566s # typedef struct 1566s # { 1566s # GDBusPropertyInfo parent_struct; 1566s # const gchar *hyphen_name; 1566s # guint use_gvariant : 1; 1566s # guint emits_changed_signal : 1; 1566s # } _ExtendedGDBusPropertyInfo; 1566s # 1566s # typedef struct 1566s # { 1566s # GDBusInterfaceInfo parent_struct; 1566s # const gchar *hyphen_name; 1566s # } _ExtendedGDBusInterfaceInfo; 1566s # 1566s # typedef struct 1566s # { 1566s # const _ExtendedGDBusPropertyInfo *info; 1566s # guint prop_id; 1566s # GValue orig_value; /* the value before the change */ 1566s # } ChangedProperty; 1566s # 1566s # static void 1566s # _changed_property_free (ChangedProperty *data) 1566s # { 1566s # g_value_unset (&data->orig_value); 1566s # g_free (data); 1566s # } 1566s # 1566s # static gboolean 1566s # _g_strv_equal0 (gchar **a, gchar **b) 1566s # { 1566s # gboolean ret = FALSE; 1566s # guint n; 1566s # if (a == NULL && b == NULL) 1566s # { 1566s # ret = TRUE; 1566s # goto out; 1566s # } 1566s # if (a == NULL || b == NULL) 1566s # goto out; 1566s # if (g_strv_length (a) != g_strv_length (b)) 1566s # goto out; 1566s # for (n = 0; a[n] != NULL; n++) 1566s # if (g_strcmp0 (a[n], b[n]) != 0) 1566s # goto out; 1566s # ret = TRUE; 1566s # out: 1566s # return ret; 1566s # } 1566s # 1566s # static gboolean 1566s # _g_variant_equal0 (GVariant *a, GVariant *b) 1566s # { 1566s # gboolean ret = FALSE; 1566s # if (a == NULL && b == NULL) 1566s # { 1566s # ret = TRUE; 1566s # goto out; 1566s # } 1566s # if (a == NULL || b == NULL) 1566s # goto out; 1566s # ret = g_variant_equal (a, b); 1566s # out: 1566s # return ret; 1566s # } 1566s # 1566s # G_GNUC_UNUSED static gboolean 1566s # _g_value_equal (const GValue *a, const GValue *b) 1566s # { 1566s # gboolean ret = FALSE; 1566s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1566s # switch (G_VALUE_TYPE (a)) 1566s # { 1566s # case G_TYPE_BOOLEAN: 1566s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1566s # break; 1566s # case G_TYPE_UCHAR: 1566s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1566s # break; 1566s # case G_TYPE_INT: 1566s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1566s # break; 1566s # case G_TYPE_UINT: 1566s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1566s # break; 1566s # case G_TYPE_INT64: 1566s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1566s # break; 1566s # case G_TYPE_UINT64: 1566s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1566s # break; 1566s # case G_TYPE_DOUBLE: 1566s # { 1566s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1566s # gdouble da = g_value_get_double (a); 1566s # gdouble db = g_value_get_double (b); 1566s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1566s # } 1566s # break; 1566s # case G_TYPE_STRING: 1566s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1566s # break; 1566s # case G_TYPE_VARIANT: 1566s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1566s # break; 1566s # default: 1566s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1566s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1566s # else 1566s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1566s # break; 1566s # } 1566s # return ret; 1566s # } 1566s # 1566s # static void 1566s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_VARIANT ( 1566s # GClosure *closure, 1566s # GValue *return_value, 1566s # unsigned int n_param_values, 1566s # const GValue *param_values, 1566s # void *invocation_hint G_GNUC_UNUSED, 1566s # void *marshal_data) 1566s # { 1566s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectVariantFunc) 1566s # (void *data1, 1566s # GDBusMethodInvocation *arg_method_invocation, 1566s # GVariant *arg_arg_h, 1566s # void *data2); 1566s # _GDbusCodegenMarshalBoolean_ObjectVariantFunc callback; 1566s # GCClosure *cc = (GCClosure*) closure; 1566s # void *data1, *data2; 1566s # gboolean v_return; 1566s # 1566s # g_return_if_fail (return_value != NULL); 1566s # g_return_if_fail (n_param_values == 3); 1566s # 1566s # if (G_CCLOSURE_SWAP_DATA (closure)) 1566s # { 1566s # data1 = closure->data; 1566s # data2 = g_value_peek_pointer (param_values + 0); 1566s # } 1566s # else 1566s # { 1566s # data1 = g_value_peek_pointer (param_values + 0); 1566s # data2 = closure->data; 1566s # } 1566s # 1566s # callback = (_GDbusCodegenMarshalBoolean_ObjectVariantFunc) 1566s # (marshal_data ? marshal_data : cc->callback); 1566s # 1566s # v_return = 1566s # callback (data1, 1566s # g_marshal_value_peek_object (param_values + 1), 1566s # g_marshal_value_peek_variant (param_values + 2), 1566s # data2); 1566s # 1566s # g_value_set_boolean (return_value, v_return); 1566s # } 1566s # 1566s # /* ------------------------------------------------------------------------ 1566s # * Code for interface org.project.UsefulInterface 1566s # * ------------------------------------------------------------------------ 1566s # */ 1566s # 1566s # /** 1566s # * SECTION:OrgProjectUsefulInterface 1566s # * @title: OrgProjectUsefulInterface 1566s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1566s # * 1566s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1566s # */ 1566s # 1566s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1566s # 1566s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_h_IN_ARG_arg_h = 1566s # { 1566s # { 1566s # -1, 1566s # (gchar *) "arg_h", 1566s # (gchar *) "h", 1566s # NULL 1566s # }, 1566s # FALSE 1566s # }; 1566s # 1566s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_h_IN_ARG_pointers[] = 1566s # { 1566s # &_org_project_useful_interface_method_info_single_arg_method_h_IN_ARG_arg_h.parent_struct, 1566s # NULL 1566s # }; 1566s # 1566s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_h = 1566s # { 1566s # { 1566s # -1, 1566s # (gchar *) "SingleArgMethodH", 1566s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_h_IN_ARG_pointers, 1566s # NULL, 1566s # NULL 1566s # }, 1566s # "handle-single-arg-method-h", 1566s # FALSE 1566s # }; 1566s # 1566s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1566s # { 1566s # &_org_project_useful_interface_method_info_single_arg_method_h.parent_struct, 1566s # NULL 1566s # }; 1566s # 1566s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1566s # { 1566s # { 1566s # -1, 1566s # (gchar *) "org.project.UsefulInterface", 1566s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1566s # NULL, 1566s # NULL, 1566s # NULL 1566s # }, 1566s # "org-project-useful-interface", 1566s # }; 1566s # 1566s # 1566s # /** 1566s # * org_project_useful_interface_interface_info: 1566s # * 1566s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1566s # * 1566s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1566s # */ 1566s # GDBusInterfaceInfo * 1566s # org_project_useful_interface_interface_info (void) 1566s # { 1566s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1566s # } 1566s # 1566s # /** 1566s # * org_project_useful_interface_override_properties: 1566s # * @klass: The class structure for a #GObject derived class. 1566s # * @property_id_begin: The property id to assign to the first overridden property. 1566s # * 1566s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1566s # * The properties are overridden in the order they are defined. 1566s # * 1566s # * Returns: The last property id. 1566s # */ 1566s # guint 1566s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1566s # { 1566s # return property_id_begin - 1; 1566s # } 1566s # 1566s # 1566s # inline static void 1566s # org_project_useful_interface_method_marshal_single_arg_method_h ( 1566s # GClosure *closure, 1566s # GValue *return_value, 1566s # unsigned int n_param_values, 1566s # const GValue *param_values, 1566s # void *invocation_hint, 1566s # void *marshal_data) 1566s # { 1566s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_VARIANT (closure, 1566s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1566s # } 1566s # 1566s # 1566s # /** 1566s # * OrgProjectUsefulInterface: 1566s # * 1566s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1566s # */ 1566s # 1566s # /** 1566s # * OrgProjectUsefulInterfaceIface: 1566s # * @parent_iface: The parent interface. 1566s # * @handle_single_arg_method_h: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-h signal. 1566s # * 1566s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1566s # */ 1566s # 1566s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1566s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1566s # 1566s # static void 1566s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1566s # { 1566s # /* GObject signals for incoming D-Bus method calls: */ 1566s # /** 1566s # * OrgProjectUsefulInterface::handle-single-arg-method-h: 1566s # * @object: A #OrgProjectUsefulInterface. 1566s # * @invocation: A #GDBusMethodInvocation. 1566s # * @arg_arg_h: Argument passed by remote caller. 1566s # * 1566s # * Signal emitted when a remote caller is invoking the SingleArgMethodH() D-Bus method. 1566s # * 1566s # * 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. 1566s # * 1566s # * 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. 1566s # */ 1566s # g_signal_new ("handle-single-arg-method-h", 1566s # G_TYPE_FROM_INTERFACE (iface), 1566s # G_SIGNAL_RUN_LAST, 1566s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_h), 1566s # g_signal_accumulator_true_handled, 1566s # NULL, 1566s # org_project_useful_interface_method_marshal_single_arg_method_h, 1566s # G_TYPE_BOOLEAN, 1566s # 2, 1566s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_VARIANT); 1566s # 1566s # } 1566s # 1566s # /** 1566s # * org_project_useful_interface_call_single_arg_method_h: 1566s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1566s # * @arg_arg_h: Argument to pass with the method invocation. 1566s # * @cancellable: (nullable): A #GCancellable or %NULL. 1566s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1566s # * @user_data: User data to pass to @callback. 1566s # * 1566s # * Asynchronously invokes the SingleArgMethodH() D-Bus method on @proxy. 1566s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1566s # * You can then call org_project_useful_interface_call_single_arg_method_h_finish() to get the result of the operation. 1566s # * 1566s # * See org_project_useful_interface_call_single_arg_method_h_sync() for the synchronous, blocking version of this method. 1566s # */ 1566s # void 1566s # org_project_useful_interface_call_single_arg_method_h ( 1566s # OrgProjectUsefulInterface *proxy, 1566s # GVariant *arg_arg_h, 1566s # GCancellable *cancellable, 1566s # GAsyncReadyCallback callback, 1566s # gpointer user_data) 1566s # { 1566s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1566s # "SingleArgMethodH", 1566s # g_variant_new ("(@h)", 1566s # arg_arg_h), 1566s # G_DBUS_CALL_FLAGS_NONE, 1566s # -1, 1566s # cancellable, 1566s # callback, 1566s # user_data); 1566s # } 1566s # 1566s # /** 1566s # * org_project_useful_interface_call_single_arg_method_h_finish: 1566s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1566s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_h(). 1566s # * @error: Return location for error or %NULL. 1566s # * 1566s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_h(). 1566s # * 1566s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1566s # */ 1566s # gboolean 1566s # org_project_useful_interface_call_single_arg_method_h_finish ( 1566s # OrgProjectUsefulInterface *proxy, 1566s # GAsyncResult *res, 1566s # GError **error) 1566s # { 1566s # GVariant *_ret; 1566s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1566s # if (_ret == NULL) 1566s # goto _out; 1566s # g_variant_get (_ret, 1566s # "()"); 1566s # g_variant_unref (_ret); 1566s # _out: 1566s # return _ret != NULL; 1566s # } 1566s # 1566s # /** 1566s # * org_project_useful_interface_call_single_arg_method_h_sync: 1566s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1566s # * @arg_arg_h: Argument to pass with the method invocation. 1566s # * @cancellable: (nullable): A #GCancellable or %NULL. 1566s # * @error: Return location for error or %NULL. 1566s # * 1566s # * Synchronously invokes the SingleArgMethodH() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1566s # * 1566s # * See org_project_useful_interface_call_single_arg_method_h() for the asynchronous version of this method. 1566s # * 1566s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1566s # */ 1566s # gboolean 1566s # org_project_useful_interface_call_single_arg_method_h_sync ( 1566s # OrgProjectUsefulInterface *proxy, 1566s # GVariant *arg_arg_h, 1566s # GCancellable *cancellable, 1566s # GError **error) 1566s # { 1566s # GVariant *_ret; 1566s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1566s # "SingleArgMethodH", 1566s # g_variant_new ("(@h)", 1566s # arg_arg_h), 1566s # G_DBUS_CALL_FLAGS_NONE, 1566s # -1, 1566s # cancellable, 1566s # error); 1566s # if (_ret == NULL) 1566s # goto _out; 1566s # g_variant_get (_ret, 1566s # "()"); 1566s # g_variant_unref (_ret); 1566s # _out: 1566s # return _ret != NULL; 1566s # } 1566s # 1566s # /** 1566s # * org_project_useful_interface_complete_single_arg_method_h: 1566s # * @object: A #OrgProjectUsefulInterface. 1566s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1566s # * 1566s # * 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. 1566s # * 1566s # * This method will free @invocation, you cannot use it afterwards. 1566s # */ 1566s # void 1566s # org_project_useful_interface_complete_single_arg_method_h ( 1566s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1566s # GDBusMethodInvocation *invocation) 1566s # { 1566s # g_dbus_method_invocation_return_value (invocation, 1566s # g_variant_new ("()")); 1566s # } 1566s # 1566s # /* ------------------------------------------------------------------------ */ 1566s # 1566s # /** 1566s # * OrgProjectUsefulInterfaceProxy: 1566s # * 1566s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1566s # */ 1566s # 1566s # /** 1566s # * OrgProjectUsefulInterfaceProxyClass: 1566s # * @parent_class: The parent class. 1566s # * 1566s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1566s # */ 1566s # 1566s # struct _OrgProjectUsefulInterfaceProxyPrivate 1566s # { 1566s # GData *qdata; 1566s # }; 1566s # 1566s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1566s # 1566s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1566s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1566s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1566s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1566s # 1566s # #else 1566s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1566s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1566s # 1566s # #endif 1566s # static void 1566s # org_project_useful_interface_proxy_finalize (GObject *object) 1566s # { 1566s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1566s # g_datalist_clear (&proxy->priv->qdata); 1566s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1566s # } 1566s # 1566s # static void 1566s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1566s # guint prop_id G_GNUC_UNUSED, 1566s # GValue *value G_GNUC_UNUSED, 1566s # GParamSpec *pspec G_GNUC_UNUSED) 1566s # { 1566s # } 1566s # 1566s # static void 1566s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1566s # guint prop_id G_GNUC_UNUSED, 1566s # const GValue *value G_GNUC_UNUSED, 1566s # GParamSpec *pspec G_GNUC_UNUSED) 1566s # { 1566s # } 1566s # 1566s # static void 1566s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1566s # const gchar *sender_name G_GNUC_UNUSED, 1566s # const gchar *signal_name, 1566s # GVariant *parameters) 1566s # { 1566s # _ExtendedGDBusSignalInfo *info; 1566s # GVariantIter iter; 1566s # GVariant *child; 1566s # GValue *paramv; 1566s # gsize num_params; 1566s # gsize n; 1566s # guint signal_id; 1566s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1566s # if (info == NULL) 1566s # return; 1566s # num_params = g_variant_n_children (parameters); 1566s # paramv = g_new0 (GValue, num_params + 1); 1566s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1566s # g_value_set_object (¶mv[0], proxy); 1566s # g_variant_iter_init (&iter, parameters); 1566s # n = 1; 1566s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1566s # { 1566s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1566s # if (arg_info->use_gvariant) 1566s # { 1566s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1566s # g_value_set_variant (¶mv[n], child); 1566s # n++; 1566s # } 1566s # else 1566s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1566s # g_variant_unref (child); 1566s # } 1566s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1566s # g_signal_emitv (paramv, signal_id, 0, NULL); 1566s # for (n = 0; n < num_params + 1; n++) 1566s # g_value_unset (¶mv[n]); 1566s # g_free (paramv); 1566s # } 1566s # 1566s # static void 1566s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1566s # GVariant *changed_properties, 1566s # const gchar *const *invalidated_properties) 1566s # { 1566s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1566s # guint n; 1566s # const gchar *key; 1566s # GVariantIter *iter; 1566s # _ExtendedGDBusPropertyInfo *info; 1566s # g_variant_get (changed_properties, "a{sv}", &iter); 1566s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1566s # { 1566s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1566s # g_datalist_remove_data (&proxy->priv->qdata, key); 1566s # if (info != NULL) 1566s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1566s # } 1566s # g_variant_iter_free (iter); 1566s # for (n = 0; invalidated_properties[n] != NULL; n++) 1566s # { 1566s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1566s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1566s # if (info != NULL) 1566s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1566s # } 1566s # } 1566s # 1566s # static void 1566s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1566s # { 1566s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1566s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1566s # #else 1566s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1566s # #endif 1566s # 1566s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1566s # } 1566s # 1566s # static void 1566s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1566s # { 1566s # GObjectClass *gobject_class; 1566s # GDBusProxyClass *proxy_class; 1566s # 1566s # gobject_class = G_OBJECT_CLASS (klass); 1566s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1566s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1566s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1566s # 1566s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1566s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1566s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1566s # 1566s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1566s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1566s # #endif 1566s # } 1566s # 1566s # static void 1566s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1566s # { 1566s # } 1566s # 1566s # /** 1566s # * org_project_useful_interface_proxy_new: 1566s # * @connection: A #GDBusConnection. 1566s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1566s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1566s # * @object_path: An object path. 1566s # * @cancellable: (nullable): A #GCancellable or %NULL. 1566s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1566s # * @user_data: User data to pass to @callback. 1566s # * 1566s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1566s # * 1566s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1566s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1566s # * 1566s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1566s # */ 1566s # void 1566s # org_project_useful_interface_proxy_new ( 1566s # GDBusConnection *connection, 1566s # GDBusProxyFlags flags, 1566s # const gchar *name, 1566s # const gchar *object_path, 1566s # GCancellable *cancellable, 1566s # GAsyncReadyCallback callback, 1566s # gpointer user_data) 1566s # { 1566s # g_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); 1566s # } 1566s # 1566s # /** 1566s # * org_project_useful_interface_proxy_new_finish: 1566s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1566s # * @error: Return location for error or %NULL 1566s # * 1566s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1566s # * 1566s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1566s # */ 1566s # OrgProjectUsefulInterface * 1566s # org_project_useful_interface_proxy_new_finish ( 1566s # GAsyncResult *res, 1566s # GError **error) 1566s # { 1566s # GObject *ret; 1566s # GObject *source_object; 1566s # source_object = g_async_result_get_source_object (res); 1566s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1566s # g_object_unref (source_object); 1566s # if (ret != NULL) 1566s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1566s # else 1566s # return NULL; 1566s # } 1566s # 1566s # /** 1566s # * org_project_useful_interface_proxy_new_sync: 1566s # * @connection: A #GDBusConnection. 1566s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1566s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1566s # * @object_path: An object path. 1566s # * @cancellable: (nullable): A #GCancellable or %NULL. 1566s # * @error: Return location for error or %NULL 1566s # * 1566s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1566s # * 1566s # * The calling thread is blocked until a reply is received. 1566s # * 1566s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1566s # * 1566s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1566s # */ 1566s # OrgProjectUsefulInterface * 1566s # org_project_useful_interface_proxy_new_sync ( 1566s # GDBusConnection *connection, 1566s # GDBusProxyFlags flags, 1566s # const gchar *name, 1566s # const gchar *object_path, 1566s # GCancellable *cancellable, 1566s # GError **error) 1566s # { 1566s # GInitable *ret; 1566s # 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); 1566s # if (ret != NULL) 1566s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1566s # else 1566s # return NULL; 1566s # } 1566s # 1566s # 1566s # /** 1566s # * org_project_useful_interface_proxy_new_for_bus: 1566s # * @bus_type: A #GBusType. 1566s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1566s # * @name: A bus name (well-known or unique). 1566s # * @object_path: An object path. 1566s # * @cancellable: (nullable): A #GCancellable or %NULL. 1566s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1566s # * @user_data: User data to pass to @callback. 1566s # * 1566s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1566s # * 1566s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1566s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1566s # * 1566s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1566s # */ 1566s # void 1566s # org_project_useful_interface_proxy_new_for_bus ( 1566s # GBusType bus_type, 1566s # GDBusProxyFlags flags, 1566s # const gchar *name, 1566s # const gchar *object_path, 1566s # GCancellable *cancellable, 1566s # GAsyncReadyCallback callback, 1566s # gpointer user_data) 1566s # { 1566s # g_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); 1566s # } 1566s # 1566s # /** 1566s # * org_project_useful_interface_proxy_new_for_bus_finish: 1566s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1566s # * @error: Return location for error or %NULL 1566s # * 1566s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1566s # * 1566s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1566s # */ 1566s # OrgProjectUsefulInterface * 1566s # org_project_useful_interface_proxy_new_for_bus_finish ( 1566s # GAsyncResult *res, 1566s # GError **error) 1566s # { 1566s # GObject *ret; 1566s # GObject *source_object; 1566s # source_object = g_async_result_get_source_object (res); 1566s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1566s # g_object_unref (source_object); 1566s # if (ret != NULL) 1566s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1566s # else 1566s # return NULL; 1566s # } 1566s # 1566s # /** 1566s # * org_project_useful_interface_proxy_new_for_bus_sync: 1566s # * @bus_type: A #GBusType. 1566s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1566s # * @name: A bus name (well-known or unique). 1566s # * @object_path: An object path. 1566s # * @cancellable: (nullable): A #GCancellable or %NULL. 1566s # * @error: Return location for error or %NULL 1566s # * 1566s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1566s # * 1566s # * The calling thread is blocked until a reply is received. 1566s # * 1566s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1566s # * 1566s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1566s # */ 1566s # OrgProjectUsefulInterface * 1566s # org_project_useful_interface_proxy_new_for_bus_sync ( 1566s # GBusType bus_type, 1566s # GDBusProxyFlags flags, 1566s # const gchar *name, 1566s # const gchar *object_path, 1566s # GCancellable *cancellable, 1566s # GError **error) 1566s # { 1566s # GInitable *ret; 1566s # 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); 1566s # if (ret != NULL) 1566s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1566s # else 1566s # return NULL; 1566s # } 1566s # 1566s # 1566s # /* ------------------------------------------------------------------------ */ 1566s # 1566s # /** 1566s # * OrgProjectUsefulInterfaceSkeleton: 1566s # * 1566s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1566s # */ 1566s # 1566s # /** 1566s # * OrgProjectUsefulInterfaceSkeletonClass: 1566s # * @parent_class: The parent class. 1566s # * 1566s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1566s # */ 1566s # 1566s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1566s # { 1566s # GValue *properties; 1566s # GList *changed_properties; 1566s # GSource *changed_properties_idle_source; 1566s # GMainContext *context; 1566s # GMutex lock; 1566s # }; 1566s # 1566s # static void 1566s # _org_project_useful_interface_skeleton_handle_method_call ( 1566s # GDBusConnection *connection G_GNUC_UNUSED, 1566s # const gchar *sender G_GNUC_UNUSED, 1566s # const gchar *object_path G_GNUC_UNUSED, 1566s # const gchar *interface_name, 1566s # const gchar *method_name, 1566s # GVariant *parameters, 1566s # GDBusMethodInvocation *invocation, 1566s # gpointer user_data) 1566s # { 1566s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1566s # _ExtendedGDBusMethodInfo *info; 1566s # GVariantIter iter; 1566s # GVariant *child; 1566s # GValue *paramv; 1566s # gsize num_params; 1566s # guint num_extra; 1566s # gsize n; 1566s # guint signal_id; 1566s # GValue return_value = G_VALUE_INIT; 1566s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1566s # g_assert (info != NULL); 1566s # num_params = g_variant_n_children (parameters); 1566s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1566s # n = 0; 1566s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1566s # g_value_set_object (¶mv[n++], skeleton); 1566s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1566s # g_value_set_object (¶mv[n++], invocation); 1566s # if (info->pass_fdlist) 1566s # { 1566s # #ifdef G_OS_UNIX 1566s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1566s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1566s # #else 1566s # g_assert_not_reached (); 1566s # #endif 1566s # } 1566s # g_variant_iter_init (&iter, parameters); 1566s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1566s # { 1566s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1566s # if (arg_info->use_gvariant) 1566s # { 1566s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1566s # g_value_set_variant (¶mv[n], child); 1566s # n++; 1566s # } 1566s # else 1566s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1566s # g_variant_unref (child); 1566s # } 1566s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1566s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1566s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1566s # if (!g_value_get_boolean (&return_value)) 1566s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1566s # g_value_unset (&return_value); 1566s # for (n = 0; n < num_params + num_extra; n++) 1566s # g_value_unset (¶mv[n]); 1566s # g_free (paramv); 1566s # } 1566s # 1566s # static GVariant * 1566s # _org_project_useful_interface_skeleton_handle_get_property ( 1566s # GDBusConnection *connection G_GNUC_UNUSED, 1566s # const gchar *sender G_GNUC_UNUSED, 1566s # const gchar *object_path G_GNUC_UNUSED, 1566s # const gchar *interface_name G_GNUC_UNUSED, 1566s # const gchar *property_name, 1566s # GError **error, 1566s # gpointer user_data) 1566s # { 1566s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1566s # GValue value = G_VALUE_INIT; 1566s # GParamSpec *pspec; 1566s # _ExtendedGDBusPropertyInfo *info; 1566s # GVariant *ret; 1566s # ret = NULL; 1566s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1566s # g_assert (info != NULL); 1566s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1566s # if (pspec == NULL) 1566s # { 1566s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1566s # } 1566s # else 1566s # { 1566s # g_value_init (&value, pspec->value_type); 1566s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1566s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1566s # g_value_unset (&value); 1566s # } 1566s # return ret; 1566s # } 1566s # 1566s # static gboolean 1566s # _org_project_useful_interface_skeleton_handle_set_property ( 1566s # GDBusConnection *connection G_GNUC_UNUSED, 1566s # const gchar *sender G_GNUC_UNUSED, 1566s # const gchar *object_path G_GNUC_UNUSED, 1566s # const gchar *interface_name G_GNUC_UNUSED, 1566s # const gchar *property_name, 1566s # GVariant *variant, 1566s # GError **error, 1566s # gpointer user_data) 1566s # { 1566s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1566s # GValue value = G_VALUE_INIT; 1566s # GParamSpec *pspec; 1566s # _ExtendedGDBusPropertyInfo *info; 1566s # gboolean ret; 1566s # ret = FALSE; 1566s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1566s # g_assert (info != NULL); 1566s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1566s # if (pspec == NULL) 1566s # { 1566s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1566s # } 1566s # else 1566s # { 1566s # if (info->use_gvariant) 1566s # g_value_set_variant (&value, variant); 1566s # else 1566s # g_dbus_gvariant_to_gvalue (variant, &value); 1566s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1566s # g_value_unset (&value); 1566s # ret = TRUE; 1566s # } 1566s # return ret; 1566s # } 1566s # 1566s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1566s # { 1566s # _org_project_useful_interface_skeleton_handle_method_call, 1566s # _org_project_useful_interface_skeleton_handle_get_property, 1566s # _org_project_useful_interface_skeleton_handle_set_property, 1566s # {NULL} 1566s # }; 1566s # 1566s # static GDBusInterfaceInfo * 1566s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1566s # { 1566s # return org_project_useful_interface_interface_info (); 1566s # } 1566s # 1566s # static GDBusInterfaceVTable * 1566s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1566s # { 1566s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1566s # } 1566s # 1566s # static GVariant * 1566s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1566s # { 1566s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1566s # 1566s # GVariantBuilder builder; 1566s # guint n; 1566s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1566s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1566s # goto out; 1566s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1566s # { 1566s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1566s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1566s # { 1566s # GVariant *value; 1566s # 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); 1566s # if (value != NULL) 1566s # { 1566s # g_variant_take_ref (value); 1566s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1566s # g_variant_unref (value); 1566s # } 1566s # } 1566s # } 1566s # out: 1566s # return g_variant_builder_end (&builder); 1566s # } 1566s # 1566s # static void 1566s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1566s # { 1566s # } 1566s # 1566s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1566s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1566s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1566s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1566s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1566s # 1566s # #else 1566s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1566s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1566s # 1566s # #endif 1566s # static void 1566s # org_project_useful_interface_skeleton_finalize (GObject *object) 1566s # { 1566s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1566s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1566s # if (skeleton->priv->changed_properties_idle_source != NULL) 1566s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1566s # g_main_context_unref (skeleton->priv->context); 1566s # g_mutex_clear (&skeleton->priv->lock); 1566s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1566s # } 1566s # 1566s # static void 1566s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1566s # { 1566s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1566s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1566s # #else 1566s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1566s # #endif 1566s # 1566s # g_mutex_init (&skeleton->priv->lock); 1566s # skeleton->priv->context = g_main_context_ref_thread_default (); 1566s # } 1566s # 1566s # static void 1566s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1566s # { 1566s # GObjectClass *gobject_class; 1566s # GDBusInterfaceSkeletonClass *skeleton_class; 1566s # 1566s # gobject_class = G_OBJECT_CLASS (klass); 1566s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1566s # 1566s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1566s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1566s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1566s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1566s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1566s # 1566s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1566s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1566s # #endif 1566s # } 1566s # 1566s # static void 1566s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1566s # { 1566s # } 1566s # 1566s # /** 1566s # * org_project_useful_interface_skeleton_new: 1566s # * 1566s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1566s # * 1566s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1566s # */ 1566s # OrgProjectUsefulInterface * 1566s # org_project_useful_interface_skeleton_new (void) 1566s # { 1566s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1566s # } 1566s # /tmp/tmppzwln7e0/tmpozdcc5tp.xml: 1566s # 1566s # 1566s # 1566s # 1566s # 1566s # 1566s # 1566s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmppzwln7e0/tmpozdcc5tp.xml', '--output', '-', '--body'] 1566s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-baqskmurxn,guid=fbaffe99d0ccb1f6e1beb84865fc01cd', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.YcZbqk/autopkgtest_tmp', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.YcZbqk/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.YcZbqk/autopkgtest_tmp', 'TERM': 'unknown', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.YcZbqk/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.sVTVMp0Db0', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.rqZsJO/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.YcZbqk/wrapper.sh --artifacts=/tmp/autopkgtest.YcZbqk/installed-tests-artifacts --chdir=/tmp/autopkgtest.YcZbqk/build.S0E/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.YcZbqk/installed-tests-stderr --stdout=/tmp/autopkgtest.YcZbqk/installed-tests-stdout --tmp=/tmp/autopkgtest.YcZbqk/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2' --make-executable=/tmp/autopkgtest.YcZbqk/build.S0E/src/debian/tests/installed-tests -- /tmp/autopkgtest.YcZbqk/build.S0E/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.YcZbqk/build.S0E/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.YcZbqk/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1566s # Output: /* 1566s # * This file is generated by gdbus-codegen, do not modify it. 1566s # * 1566s # * The license of this code is the same as for the D-Bus interface description 1566s # * it was derived from. Note that it links to GLib, so must comply with the 1566s # * LGPL linking clauses. 1566s # */ 1566s # 1566s # #ifdef HAVE_CONFIG_H 1566s # # include "config.h" 1566s # #endif 1566s # 1566s # #include 1566s # #ifdef G_OS_UNIX 1566s # # include 1566s # #endif 1566s # 1566s # #ifdef G_ENABLE_DEBUG 1566s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1566s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1566s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1566s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1566s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1566s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1566s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1566s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1566s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1566s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1566s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1566s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1566s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1566s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1566s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1566s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1566s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1566s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1566s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1566s # #else /* !G_ENABLE_DEBUG */ 1566s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1566s # * Do not access GValues directly in your code. Instead, use the 1566s # * g_value_get_*() functions 1566s # */ 1566s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1566s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1566s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1566s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1566s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1566s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1566s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1566s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1566s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1566s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1566s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1566s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1566s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1566s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1566s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1566s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1566s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1566s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1566s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1566s # #endif /* !G_ENABLE_DEBUG */ 1566s # 1566s # typedef struct 1566s # { 1566s # GDBusArgInfo parent_struct; 1566s # gboolean use_gvariant; 1566s # } _ExtendedGDBusArgInfo; 1566s # 1566s # typedef struct 1566s # { 1566s # GDBusMethodInfo parent_struct; 1566s # const gchar *signal_name; 1566s # gboolean pass_fdlist; 1566s # } _ExtendedGDBusMethodInfo; 1566s # 1566s # typedef struct 1566s # { 1566s # GDBusSignalInfo parent_struct; 1566s # const gchar *signal_name; 1566s # } _ExtendedGDBusSignalInfo; 1566s # 1566s # typedef struct 1566s # { 1566s # GDBusPropertyInfo parent_struct; 1566s # const gchar *hyphen_name; 1566s # guint use_gvariant : 1; 1566s # guint emits_changed_signal : 1; 1566s # } _ExtendedGDBusPropertyInfo; 1566s # 1566s # typedef struct 1566s # { 1566s # GDBusInterfaceInfo parent_struct; 1566s # const gchar *hyphen_name; 1566s # } _ExtendedGDBusInterfaceInfo; 1566s # 1566s # typedef struct 1566s # { 1566s # const _ExtendedGDBusPropertyInfo *info; 1566s # guint prop_id; 1566s # GValue orig_value; /* the value before the change */ 1566s # } ChangedProperty; 1566s # 1566s # static void 1566s # _changed_property_free (ChangedProperty *data) 1566s # { 1566s # g_value_unset (&data->orig_value); 1566s # g_free (data); 1566s # } 1566s # 1566s # static gboolean 1566s # _g_strv_equal0 (gchar **a, gchar **b) 1566s # { 1566s # gboolean ret = FALSE; 1566s # guint n; 1566s # if (a == NULL && b == NULL) 1566s # { 1566s # ret = TRUE; 1566s # goto out; 1566s # } 1566s # if (a == NULL || b == NULL) 1566s # goto out; 1566s # if (g_strv_length (a) != g_strv_length (b)) 1566s # goto out; 1566s # for (n = 0; a[n] != NULL; n++) 1566s # if (g_strcmp0 (a[n], b[n]) != 0) 1566s # goto out; 1566s # ret = TRUE; 1566s # out: 1566s # return ret; 1566s # } 1566s # 1566s # static gboolean 1566s # _g_variant_equal0 (GVariant *a, GVariant *b) 1566s # { 1566s # gboolean ret = FALSE; 1566s # if (a == NULL && b == NULL) 1566s # { 1566s # ret = TRUE; 1566s # goto out; 1566s # } 1566s # if (a == NULL || b == NULL) 1566s # goto out; 1566s # ret = g_variant_equal (a, b); 1566s # out: 1566s # return ret; 1566s # } 1566s # 1566s # G_GNUC_UNUSED static gboolean 1566s # _g_value_equal (const GValue *a, const GValue *b) 1566s # { 1566s # gboolean ret = FALSE; 1566s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1566s # switch (G_VALUE_TYPE (a)) 1566s # { 1566s # case G_TYPE_BOOLEAN: 1566s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1566s # break; 1566s # case G_TYPE_UCHAR: 1566s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1566s # break; 1566s # case G_TYPE_INT: 1566s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1566s # break; 1566s # case G_TYPE_UINT: 1566s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1566s # break; 1566s # case G_TYPE_INT64: 1566s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1566s # break; 1566s # case G_TYPE_UINT64: 1566s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1566s # break; 1566s # case G_TYPE_DOUBLE: 1566s # { 1566s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1566s # gdouble da = g_value_get_double (a); 1566s # gdouble db = g_value_get_double (b); 1566s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1566s # } 1566s # break; 1566s # case G_TYPE_STRING: 1566s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1566s # break; 1566s # case G_TYPE_VARIANT: 1566s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1566s # break; 1566s # default: 1566s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1566s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1566s # else 1566s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1566s # break; 1566s # } 1566s # return ret; 1566s # } 1566s # 1566s # static void 1566s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_STRING ( 1566s # GClosure *closure, 1566s # GValue *return_value, 1566s # unsigned int n_param_values, 1566s # const GValue *param_values, 1566s # void *invocation_hint G_GNUC_UNUSED, 1566s # void *marshal_data) 1566s # { 1566s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectStringFunc) 1566s # (void *data1, 1566s # GDBusMethodInvocation *arg_method_invocation, 1566s # const gchar *arg_arg_ay, 1566s # void *data2); 1566s # _GDbusCodegenMarshalBoolean_ObjectStringFunc callback; 1566s # GCClosure *cc = (GCClosure*) closure; 1566s # void *data1, *data2; 1566s # gboolean v_return; 1566s # 1566s # g_return_if_fail (return_value != NULL); 1566s # g_return_if_fail (n_param_values == 3); 1566s # 1566s # if (G_CCLOSURE_SWAP_DATA (closure)) 1566s # { 1566s # data1 = closure->data; 1566s # data2 = g_value_peek_pointer (param_values + 0); 1566s # } 1566s # else 1566s # { 1566s # data1 = g_value_peek_pointer (param_values + 0); 1566s # data2 = closure->data; 1566s # } 1566s # 1566s # callback = (_GDbusCodegenMarshalBoolean_ObjectStringFunc) 1566s # (marshal_data ? marshal_data : cc->callback); 1566s # 1566s # v_return = 1566s # callback (data1, 1566s # g_marshal_value_peek_object (param_values + 1), 1566s # g_marshal_value_peek_string (param_values + 2), 1566s # data2); 1566s # 1566s # g_value_set_boolean (return_value, v_return); 1566s # } 1566s # 1566s # /* ------------------------------------------------------------------------ 1566s # * Code for interface org.project.UsefulInterface 1566s # * ------------------------------------------------------------------------ 1566s # */ 1566s # 1566s # /** 1566s # * SECTION:OrgProjectUsefulInterface 1566s # * @title: OrgProjectUsefulInterface 1566s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1566s # * 1566s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1566s # */ 1566s # 1566s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1566s # 1566s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_ay_IN_ARG_arg_ay = 1566s # { 1566s # { 1566s # -1, 1566s # (gchar *) "arg_ay", 1566s # (gchar *) "ay", 1566s # NULL 1566s # }, 1566s # FALSE 1566s # }; 1566s # 1566s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_ay_IN_ARG_pointers[] = 1566s # { 1566s # &_org_project_useful_interface_method_info_single_arg_method_ay_IN_ARG_arg_ay.parent_struct, 1566s # NULL 1566s # }; 1566s # 1566s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_ay = 1566s # { 1566s # { 1566s # -1, 1566s # (gchar *) "SingleArgMethodAy", 1566s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_ay_IN_ARG_pointers, 1566s # NULL, 1566s # NULL 1566s # }, 1566s # "handle-single-arg-method-ay", 1566s # FALSE 1566s # }; 1566s # 1566s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1566s # { 1566s # &_org_project_useful_interface_method_info_single_arg_method_ay.parent_struct, 1566s # NULL 1566s # }; 1566s # 1566s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1566s # { 1566s # { 1566s # -1, 1566s # (gchar *) "org.project.UsefulInterface", 1566s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1566s # NULL, 1566s # NULL, 1566s # NULL 1566s # }, 1566s # "org-project-useful-interface", 1566s # }; 1566s # 1566s # 1566s # /** 1566s # * org_project_useful_interface_interface_info: 1566s # * 1566s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1566s # * 1566s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1566s # */ 1566s # GDBusInterfaceInfo * 1566s # org_project_useful_interface_interface_info (void) 1566s # { 1566s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1566s # } 1566s # 1566s # /** 1566s # * org_project_useful_interface_override_properties: 1566s # * @klass: The class structure for a #GObject derived class. 1566s # * @property_id_begin: The property id to assign to the first overridden property. 1566s # * 1566s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1566s # * The properties are overridden in the order they are defined. 1566s # * 1566s # * Returns: The last property id. 1566s # */ 1566s # guint 1566s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1566s # { 1566s # return property_id_begin - 1; 1566s # } 1566s # 1566s # 1566s # inline static void 1566s # org_project_useful_interface_method_marshal_single_arg_method_ay ( 1566s # GClosure *closure, 1566s # GValue *return_value, 1566s # unsigned int n_param_values, 1566s # const GValue *param_values, 1566s # void *invocation_hint, 1566s # void *marshal_data) 1566s # { 1566s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_STRING (closure, 1566s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1566s # } 1566s # 1566s # 1566s # /** 1566s # * OrgProjectUsefulInterface: 1566s # * 1566s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1566s # */ 1566s # 1566s # /** 1566s # * OrgProjectUsefulInterfaceIface: 1566s # * @parent_iface: The parent interface. 1566s # * @handle_single_arg_method_ay: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-ay signal. 1566s # * 1566s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1566s # */ 1566s # 1566s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1566s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1566s # 1566s # static void 1566s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1566s # { 1566s # /* GObject signals for incoming D-Bus method calls: */ 1566s # /** 1566s # * OrgProjectUsefulInterface::handle-single-arg-method-ay: 1566s # * @object: A #OrgProjectUsefulInterface. 1566s # * @invocation: A #GDBusMethodInvocation. 1566s # * @arg_arg_ay: Argument passed by remote caller. 1566s # * 1566s # * Signal emitted when a remote caller is invoking the SingleArgMethodAy() D-Bus method. 1566s # * 1566s # * 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. 1566s # * 1566s # * 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. 1566s # */ 1566s # g_signal_new ("handle-single-arg-method-ay", 1566s # G_TYPE_FROM_INTERFACE (iface), 1566s # G_SIGNAL_RUN_LAST, 1566s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_ay), 1566s # g_signal_accumulator_true_handled, 1566s # NULL, 1566s # org_project_useful_interface_method_marshal_single_arg_method_ay, 1566s # G_TYPE_BOOLEAN, 1566s # 2, 1566s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_STRING); 1566s # 1566s # } 1566s # 1566s # /** 1566s # * org_project_useful_interface_call_single_arg_method_ay: 1566s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1566s # * @arg_arg_ay: Argument to pass with the method invocation. 1566s # * @cancellable: (nullable): A #GCancellable or %NULL. 1566s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1566s # * @user_data: User data to pass to @callback. 1566s # * 1566s # * Asynchronously invokes the SingleArgMethodAy() D-Bus method on @proxy. 1566s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1566s # * You can then call org_project_useful_interface_call_single_arg_method_ay_finish() to get the result of the operation. 1566s # * 1566s # * See org_project_useful_interface_call_single_arg_method_ay_sync() for the synchronous, blocking version of this method. 1566s # */ 1566s # void 1566s # org_project_useful_interface_call_single_arg_method_ay ( 1566s # OrgProjectUsefulInterface *proxy, 1566s # const gchar *arg_arg_ay, 1566s # GCancellable *cancellable, 1566s # GAsyncReadyCallback callback, 1566s # gpointer user_data) 1566s # { 1566s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1566s # "SingleArgMethodAy", 1566s # g_variant_new ("(^ay)", 1566s # arg_arg_ay), 1566s # G_DBUS_CALL_FLAGS_NONE, 1566s # -1, 1566s # cancellable, 1566s # callback, 1566s # user_data); 1566s # } 1566s # 1566s # /** 1566s # * org_project_useful_interface_call_single_arg_method_ay_finish: 1566s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1566s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_ay(). 1566s # * @error: Return location for error or %NULL. 1566s # * 1566s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_ay(). 1566s # * 1566s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1566s # */ 1566s # gboolean 1566s # org_project_useful_interface_call_single_arg_method_ay_finish ( 1566s # OrgProjectUsefulInterface *proxy, 1566s # GAsyncResult *res, 1566s # GError **error) 1566s # { 1566s # GVariant *_ret; 1566s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1566s # if (_ret == NULL) 1566s # goto _out; 1566s # g_variant_get (_ret, 1566s # "()"); 1566s # g_variant_unref (_ret); 1566s # _out: 1566s # return _ret != NULL; 1566s # } 1566s # 1566s # /** 1566s # * org_project_useful_interface_call_single_arg_method_ay_sync: 1566s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1566s # * @arg_arg_ay: Argument to pass with the method invocation. 1566s # * @cancellable: (nullable): A #GCancellable or %NULL. 1566s # * @error: Return location for error or %NULL. 1566s # * 1566s # * Synchronously invokes the SingleArgMethodAy() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1566s # * 1566s # * See org_project_useful_interface_call_single_arg_method_ay() for the asynchronous version of this method. 1566s # * 1566s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1566s # */ 1566s # gboolean 1566s # org_project_useful_interface_call_single_arg_method_ay_sync ( 1566s # OrgProjectUsefulInterface *proxy, 1566s # const gchar *arg_arg_ay, 1566s # GCancellable *cancellable, 1566s # GError **error) 1566s # { 1566s # GVariant *_ret; 1566s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1566s # "SingleArgMethodAy", 1566s # g_variant_new ("(^ay)", 1566s # arg_arg_ay), 1566s # G_DBUS_CALL_FLAGS_NONE, 1566s # -1, 1566s # cancellable, 1566s # error); 1566s # if (_ret == NULL) 1566s # goto _out; 1566s # g_variant_get (_ret, 1566s # "()"); 1566s # g_variant_unref (_ret); 1566s # _out: 1566s # return _ret != NULL; 1566s # } 1566s # 1566s # /** 1566s # * org_project_useful_interface_complete_single_arg_method_ay: 1566s # * @object: A #OrgProjectUsefulInterface. 1566s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1566s # * 1566s # * 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. 1566s # * 1566s # * This method will free @invocation, you cannot use it afterwards. 1566s # */ 1566s # void 1566s # org_project_useful_interface_complete_single_arg_method_ay ( 1566s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1566s # GDBusMethodInvocation *invocation) 1566s # { 1566s # g_dbus_method_invocation_return_value (invocation, 1566s # g_variant_new ("()")); 1566s # } 1566s # 1566s # /* ------------------------------------------------------------------------ */ 1566s # 1566s # /** 1566s # * OrgProjectUsefulInterfaceProxy: 1566s # * 1566s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1566s # */ 1566s # 1566s # /** 1566s # * OrgProjectUsefulInterfaceProxyClass: 1566s # * @parent_class: The parent class. 1566s # * 1566s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1566s # */ 1566s # 1566s # struct _OrgProjectUsefulInterfaceProxyPrivate 1566s # { 1566s # GData *qdata; 1566s # }; 1566s # 1566s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1566s # 1566s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1566s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1566s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1566s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1566s # 1566s # #else 1566s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1566s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1566s # 1566s # #endif 1566s # static void 1566s # org_project_useful_interface_proxy_finalize (GObject *object) 1566s # { 1566s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1566s # g_datalist_clear (&proxy->priv->qdata); 1566s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1566s # } 1566s # 1566s # static void 1566s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1566s # guint prop_id G_GNUC_UNUSED, 1566s # GValue *value G_GNUC_UNUSED, 1566s # GParamSpec *pspec G_GNUC_UNUSED) 1566s # { 1566s # } 1566s # 1566s # static void 1566s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1566s # guint prop_id G_GNUC_UNUSED, 1566s # const GValue *value G_GNUC_UNUSED, 1566s # GParamSpec *pspec G_GNUC_UNUSED) 1566s # { 1566s # } 1566s # 1566s # static void 1566s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1566s # const gchar *sender_name G_GNUC_UNUSED, 1566s # const gchar *signal_name, 1566s # GVariant *parameters) 1566s # { 1566s # _ExtendedGDBusSignalInfo *info; 1566s # GVariantIter iter; 1566s # GVariant *child; 1566s # GValue *paramv; 1566s # gsize num_params; 1566s # gsize n; 1566s # guint signal_id; 1566s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1566s # if (info == NULL) 1566s # return; 1566s # num_params = g_variant_n_children (parameters); 1566s # paramv = g_new0 (GValue, num_params + 1); 1566s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1566s # g_value_set_object (¶mv[0], proxy); 1566s # g_variant_iter_init (&iter, parameters); 1566s # n = 1; 1566s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1566s # { 1566s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1566s # if (arg_info->use_gvariant) 1566s # { 1566s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1566s # g_value_set_variant (¶mv[n], child); 1566s # n++; 1566s # } 1566s # else 1566s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1566s # g_variant_unref (child); 1566s # } 1566s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1566s # g_signal_emitv (paramv, signal_id, 0, NULL); 1566s # for (n = 0; n < num_params + 1; n++) 1566s # g_value_unset (¶mv[n]); 1566s # g_free (paramv); 1566s # } 1566s # 1566s # static void 1566s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1566s # GVariant *changed_properties, 1566s # const gchar *const *invalidated_properties) 1566s # { 1566s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1566s # guint n; 1566s # const gchar *key; 1566s # GVariantIter *iter; 1566s # _ExtendedGDBusPropertyInfo *info; 1566s # g_variant_get (changed_properties, "a{sv}", &iter); 1566s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1566s # { 1566s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1566s # g_datalist_remove_data (&proxy->priv->qdata, key); 1566s # if (info != NULL) 1566s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1566s # } 1566s # g_variant_iter_free (iter); 1566s # for (n = 0; invalidated_properties[n] != NULL; n++) 1566s # { 1566s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1566s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1566s # if (info != NULL) 1566s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1566s # } 1566s # } 1566s # 1566s # static void 1566s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1566s # { 1566s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1566s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1566s # #else 1566s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1566s # #endif 1566s # 1566s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1566s # } 1566s # 1566s # static void 1566s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1566s # { 1566s # GObjectClass *gobject_class; 1566s # GDBusProxyClass *proxy_class; 1566s # 1566s # gobject_class = G_OBJECT_CLASS (klass); 1566s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1566s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1566s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1566s # 1566s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1566s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1566s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1566s # 1566s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1566s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1566s # #endif 1566s # } 1566s # 1566s # static void 1566s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1566s # { 1566s # } 1566s # 1566s # /** 1566s # * org_project_useful_interface_proxy_new: 1566s # * @connection: A #GDBusConnection. 1566s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1566s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1566s # * @object_path: An object path. 1566s # * @cancellable: (nullable): A #GCancellable or %NULL. 1566s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1566s # * @user_data: User data to pass to @callback. 1566s # * 1566s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1566s # * 1566s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1566s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1566s # * 1566s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1566s # */ 1566s # void 1566s # org_project_useful_interface_proxy_new ( 1566s # GDBusConnection *connection, 1566s # GDBusProxyFlags flags, 1566s # const gchar *name, 1566s # const gchar *object_path, 1566s # GCancellable *cancellable, 1566s # GAsyncReadyCallback callback, 1566s # gpointer user_data) 1566s # { 1566s # g_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); 1566s # } 1566s # 1566s # /** 1566s # * org_project_useful_interface_proxy_new_finish: 1566s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1566s # * @error: Return location for error or %NULL 1566s # * 1566s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1566s # * 1566s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1566s # */ 1566s # OrgProjectUsefulInterface * 1566s # org_project_useful_interface_proxy_new_finish ( 1566s # GAsyncResult *res, 1566s # GError **error) 1566s # { 1566s # GObject *ret; 1566s # GObject *source_object; 1566s # source_object = g_async_result_get_source_object (res); 1566s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1566s # g_object_unref (source_object); 1566s # if (ret != NULL) 1566s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1566s # else 1566s # return NULL; 1566s # } 1566s # 1566s # /** 1566s # * org_project_useful_interface_proxy_new_sync: 1566s # * @connection: A #GDBusConnection. 1566s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1566s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1566s # * @object_path: An object path. 1566s # * @cancellable: (nullable): A #GCancellable or %NULL. 1566s # * @error: Return location for error or %NULL 1566s # * 1566s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1566s # * 1566s # * The calling thread is blocked until a reply is received. 1566s # * 1566s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1566s # * 1566s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1566s # */ 1566s # OrgProjectUsefulInterface * 1566s # org_project_useful_interface_proxy_new_sync ( 1566s # GDBusConnection *connection, 1566s # GDBusProxyFlags flags, 1566s # const gchar *name, 1566s # const gchar *object_path, 1566s # GCancellable *cancellable, 1566s # GError **error) 1566s # { 1566s # GInitable *ret; 1566s # 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); 1566s # if (ret != NULL) 1566s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1566s # else 1566s # return NULL; 1566s # } 1566s # 1566s # 1566s # /** 1566s # * org_project_useful_interface_proxy_new_for_bus: 1566s # * @bus_type: A #GBusType. 1566s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1566s # * @name: A bus name (well-known or unique). 1566s # * @object_path: An object path. 1566s # * @cancellable: (nullable): A #GCancellable or %NULL. 1566s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1566s # * @user_data: User data to pass to @callback. 1566s # * 1566s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1566s # * 1566s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1566s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1566s # * 1566s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1566s # */ 1566s # void 1566s # org_project_useful_interface_proxy_new_for_bus ( 1566s # GBusType bus_type, 1566s # GDBusProxyFlags flags, 1566s # const gchar *name, 1566s # const gchar *object_path, 1566s # GCancellable *cancellable, 1566s # GAsyncReadyCallback callback, 1566s # gpointer user_data) 1566s # { 1566s # g_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); 1566s # } 1566s # 1566s # /** 1566s # * org_project_useful_interface_proxy_new_for_bus_finish: 1566s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1566s # * @error: Return location for error or %NULL 1566s # * 1566s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1566s # * 1566s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1566s # */ 1566s # OrgProjectUsefulInterface * 1566s # org_project_useful_interface_proxy_new_for_bus_finish ( 1566s # GAsyncResult *res, 1566s # GError **error) 1566s # { 1566s # GObject *ret; 1566s # GObject *source_object; 1566s # source_object = g_async_result_get_source_object (res); 1566s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1566s # g_object_unref (source_object); 1566s # if (ret != NULL) 1566s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1566s # else 1566s # return NULL; 1566s # } 1566s # 1566s # /** 1566s # * org_project_useful_interface_proxy_new_for_bus_sync: 1566s # * @bus_type: A #GBusType. 1566s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1566s # * @name: A bus name (well-known or unique). 1566s # * @object_path: An object path. 1566s # * @cancellable: (nullable): A #GCancellable or %NULL. 1566s # * @error: Return location for error or %NULL 1566s # * 1566s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1566s # * 1566s # * The calling thread is blocked until a reply is received. 1566s # * 1566s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1566s # * 1566s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1566s # */ 1566s # OrgProjectUsefulInterface * 1566s # org_project_useful_interface_proxy_new_for_bus_sync ( 1566s # GBusType bus_type, 1566s # GDBusProxyFlags flags, 1566s # const gchar *name, 1566s # const gchar *object_path, 1566s # GCancellable *cancellable, 1566s # GError **error) 1566s # { 1566s # GInitable *ret; 1566s # 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); 1566s # if (ret != NULL) 1566s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1566s # else 1566s # return NULL; 1566s # } 1566s # 1566s # 1566s # /* ------------------------------------------------------------------------ */ 1566s # 1566s # /** 1566s # * OrgProjectUsefulInterfaceSkeleton: 1566s # * 1566s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1566s # */ 1566s # 1566s # /** 1566s # * OrgProjectUsefulInterfaceSkeletonClass: 1566s # * @parent_class: The parent class. 1566s # * 1566s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1566s # */ 1566s # 1566s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1566s # { 1566s # GValue *properties; 1566s # GList *changed_properties; 1566s # GSource *changed_properties_idle_source; 1566s # GMainContext *context; 1566s # GMutex lock; 1566s # }; 1566s # 1566s # static void 1566s # _org_project_useful_interface_skeleton_handle_method_call ( 1566s # GDBusConnection *connection G_GNUC_UNUSED, 1566s # const gchar *sender G_GNUC_UNUSED, 1566s # const gchar *object_path G_GNUC_UNUSED, 1566s # const gchar *interface_name, 1566s # const gchar *method_name, 1566s # GVariant *parameters, 1566s # GDBusMethodInvocation *invocation, 1566s # gpointer user_data) 1566s # { 1566s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1566s # _ExtendedGDBusMethodInfo *info; 1566s # GVariantIter iter; 1566s # GVariant *child; 1566s # GValue *paramv; 1566s # gsize num_params; 1566s # guint num_extra; 1566s # gsize n; 1566s # guint signal_id; 1566s # GValue return_value = G_VALUE_INIT; 1566s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1566s # g_assert (info != NULL); 1566s # num_params = g_variant_n_children (parameters); 1566s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1566s # n = 0; 1566s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1566s # g_value_set_object (¶mv[n++], skeleton); 1566s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1566s # g_value_set_object (¶mv[n++], invocation); 1566s # if (info->pass_fdlist) 1566s # { 1566s # #ifdef G_OS_UNIX 1566s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1566s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1566s # #else 1566s # g_assert_not_reached (); 1566s # #endif 1566s # } 1566s # g_variant_iter_init (&iter, parameters); 1566s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1566s # { 1566s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1566s # if (arg_info->use_gvariant) 1566s # { 1566s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1566s # g_value_set_variant (¶mv[n], child); 1566s # n++; 1566s # } 1566s # else 1566s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1566s # g_variant_unref (child); 1566s # } 1566s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1566s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1566s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1566s # if (!g_value_get_boolean (&return_value)) 1566s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1566s # g_value_unset (&return_value); 1566s # for (n = 0; n < num_params + num_extra; n++) 1566s # g_value_unset (¶mv[n]); 1566s # g_free (paramv); 1566s # } 1566s # 1566s # static GVariant * 1566s # _org_project_useful_interface_skeleton_handle_get_property ( 1566s # GDBusConnection *connection G_GNUC_UNUSED, 1566s # const gchar *sender G_GNUC_UNUSED, 1566s # const gchar *object_path G_GNUC_UNUSED, 1566s # const gchar *interface_name G_GNUC_UNUSED, 1566s # const gchar *property_name, 1566s # GError **error, 1566s # gpointer user_data) 1566s # { 1566s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1566s # GValue value = G_VALUE_INIT; 1566s # GParamSpec *pspec; 1566s # _ExtendedGDBusPropertyInfo *info; 1566s # GVariant *ret; 1566s # ret = NULL; 1566s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1566s # g_assert (info != NULL); 1566s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1566s # if (pspec == NULL) 1566s # { 1566s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1566s # } 1566s # else 1566s # { 1566s # g_value_init (&value, pspec->value_type); 1566s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1566s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1566s # g_value_unset (&value); 1566s # } 1566s # return ret; 1566s # } 1566s # 1566s # static gboolean 1566s # _org_project_useful_interface_skeleton_handle_set_property ( 1566s # GDBusConnection *connection G_GNUC_UNUSED, 1566s # const gchar *sender G_GNUC_UNUSED, 1566s # const gchar *object_path G_GNUC_UNUSED, 1566s # const gchar *interface_name G_GNUC_UNUSED, 1566s # const gchar *property_name, 1566s # GVariant *variant, 1566s # GError **error, 1566s # gpointer user_data) 1566s # { 1566s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1566s # GValue value = G_VALUE_INIT; 1566s # GParamSpec *pspec; 1566s # _ExtendedGDBusPropertyInfo *info; 1566s # gboolean ret; 1566s # ret = FALSE; 1566s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1566s # g_assert (info != NULL); 1566s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1566s # if (pspec == NULL) 1566s # { 1566s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1566s # } 1566s # else 1566s # { 1566s # if (info->use_gvariant) 1566s # g_value_set_variant (&value, variant); 1566s # else 1566s # g_dbus_gvariant_to_gvalue (variant, &value); 1566s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1566s # g_value_unset (&value); 1566s # ret = TRUE; 1566s # } 1566s # return ret; 1566s # } 1566s # 1566s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1566s # { 1566s # _org_project_useful_interface_skeleton_handle_method_call, 1566s # _org_project_useful_interface_skeleton_handle_get_property, 1566s # _org_project_useful_interface_skeleton_handle_set_property, 1566s # {NULL} 1566s # }; 1566s # 1566s # static GDBusInterfaceInfo * 1566s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1566s # { 1566s # return org_project_useful_interface_interface_info (); 1566s # } 1566s # 1566s # static GDBusInterfaceVTable * 1566s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1566s # { 1566s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1566s # } 1566s # 1566s # static GVariant * 1566s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1566s # { 1566s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1566s # 1566s # GVariantBuilder builder; 1566s # guint n; 1566s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1566s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1566s # goto out; 1566s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1566s # { 1566s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1566s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1566s # { 1566s # GVariant *value; 1566s # 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); 1566s # if (value != NULL) 1566s # { 1566s # g_variant_take_ref (value); 1566s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1566s # g_variant_unref (value); 1566s # } 1566s # } 1566s # } 1566s # out: 1566s # return g_variant_builder_end (&builder); 1566s # } 1566s # 1566s # static void 1566s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1566s # { 1566s # } 1566s # 1566s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1566s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1566s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1566s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1566s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1566s # 1566s # #else 1566s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1566s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1566s # 1566s # #endif 1566s # static void 1566s # org_project_useful_interface_skeleton_finalize (GObject *object) 1566s # { 1566s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1566s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1566s # if (skeleton->priv->changed_properties_idle_source != NULL) 1566s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1566s # g_main_context_unref (skeleton->priv->context); 1566s # g_mutex_clear (&skeleton->priv->lock); 1566s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1566s # } 1566s # 1566s # static void 1566s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1566s # { 1566s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1566s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1566s # #else 1566s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1566s # #endif 1566s # 1566s # g_mutex_init (&skeleton->priv->lock); 1566s # skeleton->priv->context = g_main_context_ref_thread_default (); 1566s # } 1566s # 1566s # static void 1566s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1566s # { 1566s # GObjectClass *gobject_class; 1566s # GDBusInterfaceSkeletonClass *skeleton_class; 1566s # 1566s # gobject_class = G_OBJECT_CLASS (klass); 1566s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1566s # 1566s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1566s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1566s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1566s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1566s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1566s # 1566s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1566s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1566s # #endif 1566s # } 1566s # 1566s # static void 1566s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1566s # { 1566s # } 1566s # 1566s # /** 1566s # * org_project_useful_interface_skeleton_new: 1566s # * 1566s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1566s # * 1566s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1566s # */ 1566s # OrgProjectUsefulInterface * 1566s # org_project_useful_interface_skeleton_new (void) 1566s # { 1566s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1566s # } 1566s # /tmp/tmppzwln7e0/tmpwtz9e4ml.xml: 1566s # 1566s # 1566s # 1566s # 1566s # 1566s # 1566s # 1566s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmppzwln7e0/tmpwtz9e4ml.xml', '--output', '-', '--body'] 1566s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-baqskmurxn,guid=fbaffe99d0ccb1f6e1beb84865fc01cd', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.YcZbqk/autopkgtest_tmp', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.YcZbqk/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.YcZbqk/autopkgtest_tmp', 'TERM': 'unknown', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.YcZbqk/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.sVTVMp0Db0', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.rqZsJO/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.YcZbqk/wrapper.sh --artifacts=/tmp/autopkgtest.YcZbqk/installed-tests-artifacts --chdir=/tmp/autopkgtest.YcZbqk/build.S0E/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.YcZbqk/installed-tests-stderr --stdout=/tmp/autopkgtest.YcZbqk/installed-tests-stdout --tmp=/tmp/autopkgtest.YcZbqk/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2' --make-executable=/tmp/autopkgtest.YcZbqk/build.S0E/src/debian/tests/installed-tests -- /tmp/autopkgtest.YcZbqk/build.S0E/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.YcZbqk/build.S0E/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.YcZbqk/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1566s # Output: /* 1566s # * This file is generated by gdbus-codegen, do not modify it. 1566s # * 1566s # * The license of this code is the same as for the D-Bus interface description 1566s # * it was derived from. Note that it links to GLib, so must comply with the 1566s # * LGPL linking clauses. 1566s # */ 1566s # 1566s # #ifdef HAVE_CONFIG_H 1566s # # include "config.h" 1566s # #endif 1566s # 1566s # #include 1566s # #ifdef G_OS_UNIX 1566s # # include 1566s # #endif 1566s # 1566s # #ifdef G_ENABLE_DEBUG 1566s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1566s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1566s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1566s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1566s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1566s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1566s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1566s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1566s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1566s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1566s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1566s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1566s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1566s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1566s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1566s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1566s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1566s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1566s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1566s # #else /* !G_ENABLE_DEBUG */ 1566s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1566s # * Do not access GValues directly in your code. Instead, use the 1566s # * g_value_get_*() functions 1566s # */ 1566s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1566s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1566s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1566s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1566s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1566s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1566s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1566s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1566s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1566s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1566s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1566s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1566s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1566s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1566s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1566s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1566s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1566s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1566s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1566s # #endif /* !G_ENABLE_DEBUG */ 1566s # 1566s # typedef struct 1566s # { 1566s # GDBusArgInfo parent_struct; 1566s # gboolean use_gvariant; 1566s # } _ExtendedGDBusArgInfo; 1566s # 1566s # typedef struct 1566s # { 1566s # GDBusMethodInfo parent_struct; 1566s # const gchar *signal_name; 1566s # gboolean pass_fdlist; 1566s # } _ExtendedGDBusMethodInfo; 1566s # 1566s # typedef struct 1566s # { 1566s # GDBusSignalInfo parent_struct; 1566s # const gchar *signal_name; 1566s # } _ExtendedGDBusSignalInfo; 1566s # 1566s # typedef struct 1566s # { 1566s # GDBusPropertyInfo parent_struct; 1566s # const gchar *hyphen_name; 1566s # guint use_gvariant : 1; 1566s # guint emits_changed_signal : 1; 1566s # } _ExtendedGDBusPropertyInfo; 1566s # 1566s # typedef struct 1566s # { 1566s # GDBusInterfaceInfo parent_struct; 1566s # const gchar *hyphen_name; 1566s # } _ExtendedGDBusInterfaceInfo; 1566s # 1566s # typedef struct 1566s # { 1566s # const _ExtendedGDBusPropertyInfo *info; 1566s # guint prop_id; 1566s # GValue orig_value; /* the value before the change */ 1566s # } ChangedProperty; 1566s # 1566s # static void 1566s # _changed_property_free (ChangedProperty *data) 1566s # { 1566s # g_value_unset (&data->orig_value); 1566s # g_free (data); 1566s # } 1566s # 1566s # static gboolean 1566s # _g_strv_equal0 (gchar **a, gchar **b) 1566s # { 1566s # gboolean ret = FALSE; 1566s # guint n; 1566s # if (a == NULL && b == NULL) 1566s # { 1566s # ret = TRUE; 1566s # goto out; 1566s # } 1566s # if (a == NULL || b == NULL) 1566s # goto out; 1566s # if (g_strv_length (a) != g_strv_length (b)) 1566s # goto out; 1566s # for (n = 0; a[n] != NULL; n++) 1566s # if (g_strcmp0 (a[n], b[n]) != 0) 1566s # goto out; 1566s # ret = TRUE; 1566s # out: 1566s # return ret; 1566s # } 1566s # 1566s # static gboolean 1566s # _g_variant_equal0 (GVariant *a, GVariant *b) 1566s # { 1566s # gboolean ret = FALSE; 1566s # if (a == NULL && b == NULL) 1566s # { 1566s # ret = TRUE; 1566s # goto out; 1566s # } 1566s # if (a == NULL || b == NULL) 1566s # goto out; 1566s # ret = g_variant_equal (a, b); 1566s # out: 1566s # return ret; 1566s # } 1566s # 1566s # G_GNUC_UNUSED static gboolean 1566s # _g_value_equal (const GValue *a, const GValue *b) 1566s # { 1566s # gboolean ret = FALSE; 1566s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1566s # switch (G_VALUE_TYPE (a)) 1566s # { 1566s # case G_TYPE_BOOLEAN: 1566s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1566s # break; 1566s # case G_TYPE_UCHAR: 1566s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1566s # break; 1566s # case G_TYPE_INT: 1566s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1566s # break; 1566s # case G_TYPE_UINT: 1566s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1566s # break; 1566s # case G_TYPE_INT64: 1566s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1566s # break; 1566s # case G_TYPE_UINT64: 1566s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1566s # break; 1566s # case G_TYPE_DOUBLE: 1566s # { 1566s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1566s # gdouble da = g_value_get_double (a); 1566s # gdouble db = g_value_get_double (b); 1566s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1566s # } 1566s # break; 1566s # case G_TYPE_STRING: 1566s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1566s # break; 1566s # case G_TYPE_VARIANT: 1566s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1566s # break; 1566s # default: 1566s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1566s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1566s # else 1566s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1566s # break; 1566s # } 1566s # return ret; 1566s # } 1566s # 1566s # static void 1566s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_BOXED ( 1566s # GClosure *closure, 1566s # GValue *return_value, 1566s # unsigned int n_param_values, 1566s # const GValue *param_values, 1566s # void *invocation_hint G_GNUC_UNUSED, 1566s # void *marshal_data) 1566s # { 1566s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectBoxedFunc) 1566s # (void *data1, 1566s # GDBusMethodInvocation *arg_method_invocation, 1566s # const gchar *const *arg_arg_as, 1566s # void *data2); 1566s # _GDbusCodegenMarshalBoolean_ObjectBoxedFunc callback; 1566s # GCClosure *cc = (GCClosure*) closure; 1566s # void *data1, *data2; 1566s # gboolean v_return; 1566s # 1566s # g_return_if_fail (return_value != NULL); 1566s # g_return_if_fail (n_param_values == 3); 1566s # 1566s # if (G_CCLOSURE_SWAP_DATA (closure)) 1566s # { 1566s # data1 = closure->data; 1566s # data2 = g_value_peek_pointer (param_values + 0); 1566s # } 1566s # else 1566s # { 1566s # data1 = g_value_peek_pointer (param_values + 0); 1566s # data2 = closure->data; 1566s # } 1566s # 1566s # callback = (_GDbusCodegenMarshalBoolean_ObjectBoxedFunc) 1566s # (marshal_data ? marshal_data : cc->callback); 1566s # 1566s # v_return = 1566s # callback (data1, 1566s # g_marshal_value_peek_object (param_values + 1), 1566s # g_marshal_value_peek_boxed (param_values + 2), 1566s # data2); 1566s # 1566s # g_value_set_boolean (return_value, v_return); 1566s # } 1566s # 1566s # /* ------------------------------------------------------------------------ 1566s # * Code for interface org.project.UsefulInterface 1566s # * ------------------------------------------------------------------------ 1566s # */ 1566s # 1566s # /** 1566s # * SECTION:OrgProjectUsefulInterface 1566s # * @title: OrgProjectUsefulInterface 1566s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1566s # * 1566s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1566s # */ 1566s # 1566s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1566s # 1566s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_as_IN_ARG_arg_as = 1566s # { 1566s # { 1566s # -1, 1566s # (gchar *) "arg_as", 1566s # (gchar *) "as", 1566s # NULL 1566s # }, 1566s # FALSE 1566s # }; 1566s # 1566s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_as_IN_ARG_pointers[] = 1566s # { 1566s # &_org_project_useful_interface_method_info_single_arg_method_as_IN_ARG_arg_as.parent_struct, 1566s # NULL 1566s # }; 1566s # 1566s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_as = 1566s # { 1566s # { 1566s # -1, 1566s # (gchar *) "SingleArgMethodAs", 1566s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_as_IN_ARG_pointers, 1566s # NULL, 1566s # NULL 1566s # }, 1566s # "handle-single-arg-method-as", 1566s # FALSE 1566s # }; 1566s # 1566s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1566s # { 1566s # &_org_project_useful_interface_method_info_single_arg_method_as.parent_struct, 1566s # NULL 1566s # }; 1566s # 1566s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1566s # { 1566s # { 1566s # -1, 1566s # (gchar *) "org.project.UsefulInterface", 1566s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1566s # NULL, 1566s # NULL, 1566s # NULL 1566s # }, 1566s # "org-project-useful-interface", 1566s # }; 1566s # 1566s # 1566s # /** 1566s # * org_project_useful_interface_interface_info: 1566s # * 1566s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1566s # * 1566s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1566s # */ 1566s # GDBusInterfaceInfo * 1566s # org_project_useful_interface_interface_info (void) 1566s # { 1566s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1566s # } 1566s # 1566s # /** 1566s # * org_project_useful_interface_override_properties: 1566s # * @klass: The class structure for a #GObject derived class. 1566s # * @property_id_begin: The property id to assign to the first overridden property. 1566s # * 1566s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1566s # * The properties are overridden in the order they are defined. 1566s # * 1566s # * Returns: The last property id. 1566s # */ 1566s # guint 1566s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1566s # { 1566s # return property_id_begin - 1; 1566s # } 1566s # 1566s # 1566s # inline static void 1566s # org_project_useful_interface_method_marshal_single_arg_method_as ( 1566s # GClosure *closure, 1566s # GValue *return_value, 1566s # unsigned int n_param_values, 1566s # const GValue *param_values, 1566s # void *invocation_hint, 1566s # void *marshal_data) 1566s # { 1566s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_BOXED (closure, 1566s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1566s # } 1566s # 1566s # 1566s # /** 1566s # * OrgProjectUsefulInterface: 1566s # * 1566s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1566s # */ 1566s # 1566s # /** 1566s # * OrgProjectUsefulInterfaceIface: 1566s # * @parent_iface: The parent interface. 1566s # * @handle_single_arg_method_as: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-as signal. 1566s # * 1566s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1566s # */ 1566s # 1566s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1566s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1566s # 1566s # static void 1566s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1566s # { 1566s # /* GObject signals for incoming D-Bus method calls: */ 1566s # /** 1566s # * OrgProjectUsefulInterface::handle-single-arg-method-as: 1566s # * @object: A #OrgProjectUsefulInterface. 1566s # * @invocation: A #GDBusMethodInvocation. 1566s # * @arg_arg_as: Argument passed by remote caller. 1566s # * 1566s # * Signal emitted when a remote caller is invoking the SingleArgMethodAs() D-Bus method. 1566s # * 1566s # * 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. 1566s # * 1566s # * 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. 1566s # */ 1566s # g_signal_new ("handle-single-arg-method-as", 1566s # G_TYPE_FROM_INTERFACE (iface), 1566s # G_SIGNAL_RUN_LAST, 1566s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_as), 1566s # g_signal_accumulator_true_handled, 1566s # NULL, 1566s # org_project_useful_interface_method_marshal_single_arg_method_as, 1566s # G_TYPE_BOOLEAN, 1566s # 2, 1566s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_STRV); 1566s # 1566s # } 1566s # 1566s # /** 1566s # * org_project_useful_interface_call_single_arg_method_as: 1566s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1566s # * @arg_arg_as: Argument to pass with the method invocation. 1566s # * @cancellable: (nullable): A #GCancellable or %NULL. 1566s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1566s # * @user_data: User data to pass to @callback. 1566s # * 1566s # * Asynchronously invokes the SingleArgMethodAs() D-Bus method on @proxy. 1566s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1566s # * You can then call org_project_useful_interface_call_single_arg_method_as_finish() to get the result of the operation. 1566s # * 1566s # * See org_project_useful_interface_call_single_arg_method_as_sync() for the synchronous, blocking version of this method. 1566s # */ 1566s # void 1566s # org_project_useful_interface_call_single_arg_method_as ( 1566s # OrgProjectUsefulInterface *proxy, 1566s # const gchar *const *arg_arg_as, 1566s # GCancellable *cancellable, 1566s # GAsyncReadyCallback callback, 1566s # gpointer user_data) 1566s # { 1566s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1566s # "SingleArgMethodAs", 1566s # g_variant_new ("(^as)", 1566s # arg_arg_as), 1566s # G_DBUS_CALL_FLAGS_NONE, 1566s # -1, 1566s # cancellable, 1566s # callback, 1566s # user_data); 1566s # } 1566s # 1566s # /** 1566s # * org_project_useful_interface_call_single_arg_method_as_finish: 1566s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1566s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_as(). 1566s # * @error: Return location for error or %NULL. 1566s # * 1566s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_as(). 1566s # * 1566s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1566s # */ 1566s # gboolean 1566s # org_project_useful_interface_call_single_arg_method_as_finish ( 1566s # OrgProjectUsefulInterface *proxy, 1566s # GAsyncResult *res, 1566s # GError **error) 1566s # { 1566s # GVariant *_ret; 1566s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1566s # if (_ret == NULL) 1566s # goto _out; 1566s # g_variant_get (_ret, 1566s # "()"); 1566s # g_variant_unref (_ret); 1566s # _out: 1566s # return _ret != NULL; 1566s # } 1566s # 1566s # /** 1566s # * org_project_useful_interface_call_single_arg_method_as_sync: 1566s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1566s # * @arg_arg_as: Argument to pass with the method invocation. 1566s # * @cancellable: (nullable): A #GCancellable or %NULL. 1566s # * @error: Return location for error or %NULL. 1566s # * 1566s # * Synchronously invokes the SingleArgMethodAs() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1566s # * 1566s # * See org_project_useful_interface_call_single_arg_method_as() for the asynchronous version of this method. 1566s # * 1566s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1566s # */ 1566s # gboolean 1566s # org_project_useful_interface_call_single_arg_method_as_sync ( 1566s # OrgProjectUsefulInterface *proxy, 1566s # const gchar *const *arg_arg_as, 1566s # GCancellable *cancellable, 1566s # GError **error) 1566s # { 1566s # GVariant *_ret; 1566s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1566s # "SingleArgMethodAs", 1566s # g_variant_new ("(^as)", 1566s # arg_arg_as), 1566s # G_DBUS_CALL_FLAGS_NONE, 1566s # -1, 1566s # cancellable, 1566s # error); 1566s # if (_ret == NULL) 1566s # goto _out; 1566s # g_variant_get (_ret, 1566s # "()"); 1566s # g_variant_unref (_ret); 1566s # _out: 1566s # return _ret != NULL; 1566s # } 1566s # 1566s # /** 1566s # * org_project_useful_interface_complete_single_arg_method_as: 1566s # * @object: A #OrgProjectUsefulInterface. 1566s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1566s # * 1566s # * 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. 1566s # * 1566s # * This method will free @invocation, you cannot use it afterwards. 1566s # */ 1566s # void 1566s # org_project_useful_interface_complete_single_arg_method_as ( 1566s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1566s # GDBusMethodInvocation *invocation) 1566s # { 1566s # g_dbus_method_invocation_return_value (invocation, 1566s # g_variant_new ("()")); 1566s # } 1566s # 1566s # /* ------------------------------------------------------------------------ */ 1566s # 1566s # /** 1566s # * OrgProjectUsefulInterfaceProxy: 1566s # * 1566s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1566s # */ 1566s # 1566s # /** 1566s # * OrgProjectUsefulInterfaceProxyClass: 1566s # * @parent_class: The parent class. 1566s # * 1566s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1566s # */ 1566s # 1566s # struct _OrgProjectUsefulInterfaceProxyPrivate 1566s # { 1566s # GData *qdata; 1566s # }; 1566s # 1566s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1566s # 1566s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1566s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1566s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1566s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1566s # 1566s # #else 1566s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1566s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1566s # 1566s # #endif 1566s # static void 1566s # org_project_useful_interface_proxy_finalize (GObject *object) 1566s # { 1566s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1566s # g_datalist_clear (&proxy->priv->qdata); 1566s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1566s # } 1566s # 1566s # static void 1566s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1566s # guint prop_id G_GNUC_UNUSED, 1566s # GValue *value G_GNUC_UNUSED, 1566s # GParamSpec *pspec G_GNUC_UNUSED) 1566s # { 1566s # } 1566s # 1566s # static void 1566s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1566s # guint prop_id G_GNUC_UNUSED, 1566s # const GValue *value G_GNUC_UNUSED, 1566s # GParamSpec *pspec G_GNUC_UNUSED) 1566s # { 1566s # } 1566s # 1566s # static void 1566s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1566s # const gchar *sender_name G_GNUC_UNUSED, 1566s # const gchar *signal_name, 1566s # GVariant *parameters) 1566s # { 1566s # _ExtendedGDBusSignalInfo *info; 1566s # GVariantIter iter; 1566s # GVariant *child; 1566s # GValue *paramv; 1566s # gsize num_params; 1566s # gsize n; 1566s # guint signal_id; 1566s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1566s # if (info == NULL) 1566s # return; 1566s # num_params = g_variant_n_children (parameters); 1566s # paramv = g_new0 (GValue, num_params + 1); 1566s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1566s # g_value_set_object (¶mv[0], proxy); 1566s # g_variant_iter_init (&iter, parameters); 1566s # n = 1; 1566s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1566s # { 1566s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1566s # if (arg_info->use_gvariant) 1566s # { 1566s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1566s # g_value_set_variant (¶mv[n], child); 1566s # n++; 1566s # } 1566s # else 1566s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1566s # g_variant_unref (child); 1566s # } 1566s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1566s # g_signal_emitv (paramv, signal_id, 0, NULL); 1566s # for (n = 0; n < num_params + 1; n++) 1566s # g_value_unset (¶mv[n]); 1566s # g_free (paramv); 1566s # } 1566s # 1566s # static void 1566s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1566s # GVariant *changed_properties, 1566s # const gchar *const *invalidated_properties) 1566s # { 1566s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1566s # guint n; 1566s # const gchar *key; 1566s # GVariantIter *iter; 1566s # _ExtendedGDBusPropertyInfo *info; 1566s # g_variant_get (changed_properties, "a{sv}", &iter); 1566s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1566s # { 1566s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1566s # g_datalist_remove_data (&proxy->priv->qdata, key); 1566s # if (info != NULL) 1566s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1566s # } 1566s # g_variant_iter_free (iter); 1566s # for (n = 0; invalidated_properties[n] != NULL; n++) 1566s # { 1566s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1566s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1566s # if (info != NULL) 1566s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1566s # } 1566s # } 1566s # 1566s # static void 1566s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1566s # { 1566s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1566s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1566s # #else 1566s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1566s # #endif 1566s # 1566s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1566s # } 1566s # 1566s # static void 1566s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1566s # { 1566s # GObjectClass *gobject_class; 1566s # GDBusProxyClass *proxy_class; 1566s # 1566s # gobject_class = G_OBJECT_CLASS (klass); 1566s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1566s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1566s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1566s # 1566s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1566s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1566s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1566s # 1566s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1566s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1566s # #endif 1566s # } 1566s # 1566s # static void 1566s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1566s # { 1566s # } 1566s # 1566s # /** 1566s # * org_project_useful_interface_proxy_new: 1566s # * @connection: A #GDBusConnection. 1566s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1566s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1566s # * @object_path: An object path. 1566s # * @cancellable: (nullable): A #GCancellable or %NULL. 1566s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1566s # * @user_data: User data to pass to @callback. 1566s # * 1566s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1566s # * 1566s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1566s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1566s # * 1566s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1566s # */ 1566s # void 1566s # org_project_useful_interface_proxy_new ( 1566s # GDBusConnection *connection, 1566s # GDBusProxyFlags flags, 1566s # const gchar *name, 1566s # const gchar *object_path, 1566s # GCancellable *cancellable, 1566s # GAsyncReadyCallback callback, 1566s # gpointer user_data) 1566s # { 1566s # g_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); 1566s # } 1566s # 1566s # /** 1566s # * org_project_useful_interface_proxy_new_finish: 1566s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1566s # * @error: Return location for error or %NULL 1566s # * 1566s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1566s # * 1566s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1566s # */ 1566s # OrgProjectUsefulInterface * 1566s # org_project_useful_interface_proxy_new_finish ( 1566s # GAsyncResult *res, 1566s # GError **error) 1566s # { 1566s # GObject *ret; 1566s # GObject *source_object; 1566s # source_object = g_async_result_get_source_object (res); 1566s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1566s # g_object_unref (source_object); 1566s # if (ret != NULL) 1566s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1566s # else 1566s # return NULL; 1566s # } 1566s # 1566s # /** 1566s # * org_project_useful_interface_proxy_new_sync: 1566s # * @connection: A #GDBusConnection. 1566s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1566s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1566s # * @object_path: An object path. 1566s # * @cancellable: (nullable): A #GCancellable or %NULL. 1566s # * @error: Return location for error or %NULL 1566s # * 1566s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1566s # * 1566s # * The calling thread is blocked until a reply is received. 1566s # * 1566s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1566s # * 1566s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1566s # */ 1566s # OrgProjectUsefulInterface * 1566s # org_project_useful_interface_proxy_new_sync ( 1566s # GDBusConnection *connection, 1566s # GDBusProxyFlags flags, 1566s # const gchar *name, 1566s # const gchar *object_path, 1566s # GCancellable *cancellable, 1566s # GError **error) 1566s # { 1566s # GInitable *ret; 1566s # 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); 1566s # if (ret != NULL) 1566s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1566s # else 1566s # return NULL; 1566s # } 1566s # 1566s # 1566s # /** 1566s # * org_project_useful_interface_proxy_new_for_bus: 1566s # * @bus_type: A #GBusType. 1566s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1566s # * @name: A bus name (well-known or unique). 1566s # * @object_path: An object path. 1566s # * @cancellable: (nullable): A #GCancellable or %NULL. 1566s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1566s # * @user_data: User data to pass to @callback. 1566s # * 1566s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1566s # * 1566s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1566s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1566s # * 1566s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1566s # */ 1566s # void 1566s # org_project_useful_interface_proxy_new_for_bus ( 1566s # GBusType bus_type, 1566s # GDBusProxyFlags flags, 1566s # const gchar *name, 1566s # const gchar *object_path, 1566s # GCancellable *cancellable, 1566s # GAsyncReadyCallback callback, 1566s # gpointer user_data) 1566s # { 1566s # g_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); 1566s # } 1566s # 1566s # /** 1566s # * org_project_useful_interface_proxy_new_for_bus_finish: 1566s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1566s # * @error: Return location for error or %NULL 1566s # * 1566s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1566s # * 1566s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1566s # */ 1566s # OrgProjectUsefulInterface * 1566s # org_project_useful_interface_proxy_new_for_bus_finish ( 1566s # GAsyncResult *res, 1566s # GError **error) 1566s # { 1566s # GObject *ret; 1566s # GObject *source_object; 1566s # source_object = g_async_result_get_source_object (res); 1566s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1566s # g_object_unref (source_object); 1566s # if (ret != NULL) 1566s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1566s # else 1566s # return NULL; 1566s # } 1566s # 1566s # /** 1566s # * org_project_useful_interface_proxy_new_for_bus_sync: 1566s # * @bus_type: A #GBusType. 1566s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1566s # * @name: A bus name (well-known or unique). 1566s # * @object_path: An object path. 1566s # * @cancellable: (nullable): A #GCancellable or %NULL. 1566s # * @error: Return location for error or %NULL 1566s # * 1566s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1566s # * 1566s # * The calling thread is blocked until a reply is received. 1566s # * 1566s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1566s # * 1566s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1566s # */ 1566s # OrgProjectUsefulInterface * 1566s # org_project_useful_interface_proxy_new_for_bus_sync ( 1566s # GBusType bus_type, 1566s # GDBusProxyFlags flags, 1566s # const gchar *name, 1566s # const gchar *object_path, 1566s # GCancellable *cancellable, 1566s # GError **error) 1566s # { 1566s # GInitable *ret; 1566s # 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); 1566s # if (ret != NULL) 1566s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1566s # else 1566s # return NULL; 1566s # } 1566s # 1566s # 1566s # /* ------------------------------------------------------------------------ */ 1566s # 1566s # /** 1566s # * OrgProjectUsefulInterfaceSkeleton: 1566s # * 1566s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1566s # */ 1566s # 1566s # /** 1566s # * OrgProjectUsefulInterfaceSkeletonClass: 1566s # * @parent_class: The parent class. 1566s # * 1566s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1566s # */ 1566s # 1566s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1566s # { 1566s # GValue *properties; 1566s # GList *changed_properties; 1566s # GSource *changed_properties_idle_source; 1566s # GMainContext *context; 1566s # GMutex lock; 1566s # }; 1566s # 1566s # static void 1566s # _org_project_useful_interface_skeleton_handle_method_call ( 1566s # GDBusConnection *connection G_GNUC_UNUSED, 1566s # const gchar *sender G_GNUC_UNUSED, 1566s # const gchar *object_path G_GNUC_UNUSED, 1566s # const gchar *interface_name, 1566s # const gchar *method_name, 1566s # GVariant *parameters, 1566s # GDBusMethodInvocation *invocation, 1566s # gpointer user_data) 1566s # { 1566s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1566s # _ExtendedGDBusMethodInfo *info; 1566s # GVariantIter iter; 1566s # GVariant *child; 1566s # GValue *paramv; 1566s # gsize num_params; 1566s # guint num_extra; 1566s # gsize n; 1566s # guint signal_id; 1566s # GValue return_value = G_VALUE_INIT; 1566s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1566s # g_assert (info != NULL); 1566s # num_params = g_variant_n_children (parameters); 1566s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1566s # n = 0; 1566s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1566s # g_value_set_object (¶mv[n++], skeleton); 1566s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1566s # g_value_set_object (¶mv[n++], invocation); 1566s # if (info->pass_fdlist) 1566s # { 1566s # #ifdef G_OS_UNIX 1566s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1566s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1566s # #else 1566s # g_assert_not_reached (); 1566s # #endif 1566s # } 1566s # g_variant_iter_init (&iter, parameters); 1566s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1566s # { 1566s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1566s # if (arg_info->use_gvariant) 1566s # { 1566s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1566s # g_value_set_variant (¶mv[n], child); 1566s # n++; 1566s # } 1566s # else 1566s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1566s # g_variant_unref (child); 1566s # } 1566s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1566s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1566s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1566s # if (!g_value_get_boolean (&return_value)) 1566s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1566s # g_value_unset (&return_value); 1566s # for (n = 0; n < num_params + num_extra; n++) 1566s # g_value_unset (¶mv[n]); 1566s # g_free (paramv); 1566s # } 1566s # 1566s # static GVariant * 1566s # _org_project_useful_interface_skeleton_handle_get_property ( 1566s # GDBusConnection *connection G_GNUC_UNUSED, 1566s # const gchar *sender G_GNUC_UNUSED, 1566s # const gchar *object_path G_GNUC_UNUSED, 1566s # const gchar *interface_name G_GNUC_UNUSED, 1566s # const gchar *property_name, 1566s # GError **error, 1566s # gpointer user_data) 1566s # { 1566s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1566s # GValue value = G_VALUE_INIT; 1566s # GParamSpec *pspec; 1566s # _ExtendedGDBusPropertyInfo *info; 1566s # GVariant *ret; 1566s # ret = NULL; 1566s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1566s # g_assert (info != NULL); 1566s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1566s # if (pspec == NULL) 1566s # { 1566s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1566s # } 1566s # else 1566s # { 1566s # g_value_init (&value, pspec->value_type); 1566s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1566s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1566s # g_value_unset (&value); 1566s # } 1566s # return ret; 1566s # } 1566s # 1566s # static gboolean 1566s # _org_project_useful_interface_skeleton_handle_set_property ( 1566s # GDBusConnection *connection G_GNUC_UNUSED, 1566s # const gchar *sender G_GNUC_UNUSED, 1566s # const gchar *object_path G_GNUC_UNUSED, 1566s # const gchar *interface_name G_GNUC_UNUSED, 1566s # const gchar *property_name, 1566s # GVariant *variant, 1566s # GError **error, 1566s # gpointer user_data) 1566s # { 1566s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1566s # GValue value = G_VALUE_INIT; 1566s # GParamSpec *pspec; 1566s # _ExtendedGDBusPropertyInfo *info; 1566s # gboolean ret; 1566s # ret = FALSE; 1566s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1566s # g_assert (info != NULL); 1566s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1566s # if (pspec == NULL) 1566s # { 1566s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1566s # } 1566s # else 1566s # { 1566s # if (info->use_gvariant) 1566s # g_value_set_variant (&value, variant); 1566s # else 1566s # g_dbus_gvariant_to_gvalue (variant, &value); 1566s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1566s # g_value_unset (&value); 1566s # ret = TRUE; 1566s # } 1566s # return ret; 1566s # } 1566s # 1566s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1566s # { 1566s # _org_project_useful_interface_skeleton_handle_method_call, 1566s # _org_project_useful_interface_skeleton_handle_get_property, 1566s # _org_project_useful_interface_skeleton_handle_set_property, 1566s # {NULL} 1566s # }; 1566s # 1566s # static GDBusInterfaceInfo * 1566s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1566s # { 1566s # return org_project_useful_interface_interface_info (); 1566s # } 1566s # 1566s # static GDBusInterfaceVTable * 1566s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1566s # { 1566s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1566s # } 1566s # 1566s # static GVariant * 1566s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1566s # { 1566s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1566s # 1566s # GVariantBuilder builder; 1566s # guint n; 1566s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1566s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1566s # goto out; 1566s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1566s # { 1566s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1566s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1566s # { 1566s # GVariant *value; 1566s # 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); 1566s # if (value != NULL) 1566s # { 1566s # g_variant_take_ref (value); 1566s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1566s # g_variant_unref (value); 1566s # } 1566s # } 1566s # } 1566s # out: 1566s # return g_variant_builder_end (&builder); 1566s # } 1566s # 1566s # static void 1566s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1566s # { 1566s # } 1566s # 1566s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1566s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1566s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1566s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1566s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1566s # 1566s # #else 1566s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1566s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1566s # 1566s # #endif 1566s # static void 1566s # org_project_useful_interface_skeleton_finalize (GObject *object) 1566s # { 1566s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1566s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1566s # if (skeleton->priv->changed_properties_idle_source != NULL) 1566s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1566s # g_main_context_unref (skeleton->priv->context); 1566s # g_mutex_clear (&skeleton->priv->lock); 1566s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1566s # } 1566s # 1566s # static void 1566s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1566s # { 1566s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1566s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1566s # #else 1566s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1566s # #endif 1566s # 1566s # g_mutex_init (&skeleton->priv->lock); 1566s # skeleton->priv->context = g_main_context_ref_thread_default (); 1566s # } 1566s # 1566s # static void 1566s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1566s # { 1566s # GObjectClass *gobject_class; 1566s # GDBusInterfaceSkeletonClass *skeleton_class; 1566s # 1566s # gobject_class = G_OBJECT_CLASS (klass); 1566s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1566s # 1566s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1566s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1566s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1566s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1566s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1566s # 1566s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1566s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1566s # #endif 1566s # } 1566s # 1566s # static void 1566s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1566s # { 1566s # } 1566s # 1566s # /** 1566s # * org_project_useful_interface_skeleton_new: 1566s # * 1566s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1566s # * 1566s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1566s # */ 1566s # OrgProjectUsefulInterface * 1566s # org_project_useful_interface_skeleton_new (void) 1566s # { 1566s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1566s # } 1566s # /tmp/tmppzwln7e0/tmpzo8kl2bz.xml: 1566s # 1566s # 1566s # 1566s # 1566s # 1566s # 1566s # 1566s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmppzwln7e0/tmpzo8kl2bz.xml', '--output', '-', '--body'] 1566s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-baqskmurxn,guid=fbaffe99d0ccb1f6e1beb84865fc01cd', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.YcZbqk/autopkgtest_tmp', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.YcZbqk/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.YcZbqk/autopkgtest_tmp', 'TERM': 'unknown', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.YcZbqk/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.sVTVMp0Db0', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.rqZsJO/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.YcZbqk/wrapper.sh --artifacts=/tmp/autopkgtest.YcZbqk/installed-tests-artifacts --chdir=/tmp/autopkgtest.YcZbqk/build.S0E/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.YcZbqk/installed-tests-stderr --stdout=/tmp/autopkgtest.YcZbqk/installed-tests-stdout --tmp=/tmp/autopkgtest.YcZbqk/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2' --make-executable=/tmp/autopkgtest.YcZbqk/build.S0E/src/debian/tests/installed-tests -- /tmp/autopkgtest.YcZbqk/build.S0E/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.YcZbqk/build.S0E/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.YcZbqk/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1566s # Output: /* 1566s # * This file is generated by gdbus-codegen, do not modify it. 1566s # * 1566s # * The license of this code is the same as for the D-Bus interface description 1566s # * it was derived from. Note that it links to GLib, so must comply with the 1566s # * LGPL linking clauses. 1566s # */ 1566s # 1566s # #ifdef HAVE_CONFIG_H 1566s # # include "config.h" 1566s # #endif 1566s # 1566s # #include 1566s # #ifdef G_OS_UNIX 1566s # # include 1566s # #endif 1566s # 1566s # #ifdef G_ENABLE_DEBUG 1566s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1566s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1566s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1566s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1566s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1566s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1566s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1566s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1566s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1566s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1566s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1566s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1566s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1566s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1566s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1566s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1566s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1566s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1566s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1566s # #else /* !G_ENABLE_DEBUG */ 1566s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1566s # * Do not access GValues directly in your code. Instead, use the 1566s # * g_value_get_*() functions 1566s # */ 1566s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1566s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1566s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1566s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1566s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1566s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1566s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1566s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1566s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1566s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1566s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1566s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1566s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1566s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1566s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1566s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1566s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1566s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1566s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1566s # #endif /* !G_ENABLE_DEBUG */ 1566s # 1566s # typedef struct 1566s # { 1566s # GDBusArgInfo parent_struct; 1566s # gboolean use_gvariant; 1566s # } _ExtendedGDBusArgInfo; 1566s # 1566s # typedef struct 1566s # { 1566s # GDBusMethodInfo parent_struct; 1566s # const gchar *signal_name; 1566s # gboolean pass_fdlist; 1566s # } _ExtendedGDBusMethodInfo; 1566s # 1566s # typedef struct 1566s # { 1566s # GDBusSignalInfo parent_struct; 1566s # const gchar *signal_name; 1566s # } _ExtendedGDBusSignalInfo; 1566s # 1566s # typedef struct 1566s # { 1566s # GDBusPropertyInfo parent_struct; 1566s # const gchar *hyphen_name; 1566s # guint use_gvariant : 1; 1566s # guint emits_changed_signal : 1; 1566s # } _ExtendedGDBusPropertyInfo; 1566s # 1566s # typedef struct 1566s # { 1566s # GDBusInterfaceInfo parent_struct; 1566s # const gchar *hyphen_name; 1566s # } _ExtendedGDBusInterfaceInfo; 1566s # 1566s # typedef struct 1566s # { 1566s # const _ExtendedGDBusPropertyInfo *info; 1566s # guint prop_id; 1566s # GValue orig_value; /* the value before the change */ 1566s # } ChangedProperty; 1566s # 1566s # static void 1566s # _changed_property_free (ChangedProperty *data) 1566s # { 1566s # g_value_unset (&data->orig_value); 1566s # g_free (data); 1566s # } 1566s # 1566s # static gboolean 1566s # _g_strv_equal0 (gchar **a, gchar **b) 1566s # { 1566s # gboolean ret = FALSE; 1566s # guint n; 1566s # if (a == NULL && b == NULL) 1566s # { 1566s # ret = TRUE; 1566s # goto out; 1566s # } 1566s # if (a == NULL || b == NULL) 1566s # goto out; 1566s # if (g_strv_length (a) != g_strv_length (b)) 1566s # goto out; 1566s # for (n = 0; a[n] != NULL; n++) 1566s # if (g_strcmp0 (a[n], b[n]) != 0) 1566s # goto out; 1566s # ret = TRUE; 1566s # out: 1566s # return ret; 1566s # } 1566s # 1566s # static gboolean 1566s # _g_variant_equal0 (GVariant *a, GVariant *b) 1566s # { 1566s # gboolean ret = FALSE; 1566s # if (a == NULL && b == NULL) 1566s # { 1566s # ret = TRUE; 1566s # goto out; 1566s # } 1566s # if (a == NULL || b == NULL) 1566s # goto out; 1566s # ret = g_variant_equal (a, b); 1566s # out: 1566s # return ret; 1566s # } 1566s # 1566s # G_GNUC_UNUSED static gboolean 1566s # _g_value_equal (const GValue *a, const GValue *b) 1566s # { 1566s # gboolean ret = FALSE; 1566s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1566s # switch (G_VALUE_TYPE (a)) 1566s # { 1566s # case G_TYPE_BOOLEAN: 1566s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1566s # break; 1566s # case G_TYPE_UCHAR: 1566s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1566s # break; 1566s # case G_TYPE_INT: 1566s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1566s # break; 1566s # case G_TYPE_UINT: 1566s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1566s # break; 1566s # case G_TYPE_INT64: 1566s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1566s # break; 1566s # case G_TYPE_UINT64: 1566s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1566s # break; 1566s # case G_TYPE_DOUBLE: 1566s # { 1566s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1566s # gdouble da = g_value_get_double (a); 1566s # gdouble db = g_value_get_double (b); 1566s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1566s # } 1566s # break; 1566s # case G_TYPE_STRING: 1566s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1566s # break; 1566s # case G_TYPE_VARIANT: 1566s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1566s # break; 1566s # default: 1566s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1566s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1566s # else 1566s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1566s # break; 1566s # } 1566s # return ret; 1566s # } 1566s # 1566s # static void 1566s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_BOXED ( 1566s # GClosure *closure, 1566s # GValue *return_value, 1566s # unsigned int n_param_values, 1566s # const GValue *param_values, 1566s # void *invocation_hint G_GNUC_UNUSED, 1566s # void *marshal_data) 1566s # { 1566s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectBoxedFunc) 1566s # (void *data1, 1566s # GDBusMethodInvocation *arg_method_invocation, 1566s # const gchar *const *arg_arg_ao, 1566s # void *data2); 1566s # _GDbusCodegenMarshalBoolean_ObjectBoxedFunc callback; 1566s # GCClosure *cc = (GCClosure*) closure; 1566s # void *data1, *data2; 1566s # gboolean v_return; 1566s # 1566s # g_return_if_fail (return_value != NULL); 1566s # g_return_if_fail (n_param_values == 3); 1566s # 1566s # if (G_CCLOSURE_SWAP_DATA (closure)) 1566s # { 1566s # data1 = closure->data; 1566s # data2 = g_value_peek_pointer (param_values + 0); 1566s # } 1566s # else 1566s # { 1566s # data1 = g_value_peek_pointer (param_values + 0); 1566s # data2 = closure->data; 1566s # } 1566s # 1566s # callback = (_GDbusCodegenMarshalBoolean_ObjectBoxedFunc) 1566s # (marshal_data ? marshal_data : cc->callback); 1566s # 1566s # v_return = 1566s # callback (data1, 1566s # g_marshal_value_peek_object (param_values + 1), 1566s # g_marshal_value_peek_boxed (param_values + 2), 1566s # data2); 1566s # 1566s # g_value_set_boolean (return_value, v_return); 1566s # } 1566s # 1566s # /* ------------------------------------------------------------------------ 1566s # * Code for interface org.project.UsefulInterface 1566s # * ------------------------------------------------------------------------ 1566s # */ 1566s # 1566s # /** 1566s # * SECTION:OrgProjectUsefulInterface 1566s # * @title: OrgProjectUsefulInterface 1566s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1566s # * 1566s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1566s # */ 1566s # 1566s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1566s # 1566s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_ao_IN_ARG_arg_ao = 1566s # { 1566s # { 1566s # -1, 1566s # (gchar *) "arg_ao", 1566s # (gchar *) "ao", 1566s # NULL 1566s # }, 1566s # FALSE 1566s # }; 1566s # 1566s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_ao_IN_ARG_pointers[] = 1566s # { 1566s # &_org_project_useful_interface_method_info_single_arg_method_ao_IN_ARG_arg_ao.parent_struct, 1566s # NULL 1566s # }; 1566s # 1566s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_ao = 1566s # { 1566s # { 1566s # -1, 1566s # (gchar *) "SingleArgMethodAo", 1566s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_ao_IN_ARG_pointers, 1566s # NULL, 1566s # NULL 1566s # }, 1566s # "handle-single-arg-method-ao", 1566s # FALSE 1566s # }; 1566s # 1566s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1566s # { 1566s # &_org_project_useful_interface_method_info_single_arg_method_ao.parent_struct, 1566s # NULL 1566s # }; 1566s # 1566s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1566s # { 1566s # { 1566s # -1, 1566s # (gchar *) "org.project.UsefulInterface", 1566s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1566s # NULL, 1566s # NULL, 1566s # NULL 1566s # }, 1566s # "org-project-useful-interface", 1566s # }; 1566s # 1566s # 1566s # /** 1566s # * org_project_useful_interface_interface_info: 1566s # * 1566s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1566s # * 1566s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1566s # */ 1566s # GDBusInterfaceInfo * 1566s # org_project_useful_interface_interface_info (void) 1566s # { 1566s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1566s # } 1566s # 1566s # /** 1566s # * org_project_useful_interface_override_properties: 1566s # * @klass: The class structure for a #GObject derived class. 1566s # * @property_id_begin: The property id to assign to the first overridden property. 1566s # * 1566s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1566s # * The properties are overridden in the order they are defined. 1566s # * 1566s # * Returns: The last property id. 1566s # */ 1566s # guint 1566s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1566s # { 1566s # return property_id_begin - 1; 1566s # } 1566s # 1566s # 1566s # inline static void 1566s # org_project_useful_interface_method_marshal_single_arg_method_ao ( 1566s # GClosure *closure, 1566s # GValue *return_value, 1566s # unsigned int n_param_values, 1566s # const GValue *param_values, 1566s # void *invocation_hint, 1566s # void *marshal_data) 1566s # { 1566s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_BOXED (closure, 1566s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1566s # } 1566s # 1566s # 1566s # /** 1566s # * OrgProjectUsefulInterface: 1566s # * 1566s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1566s # */ 1566s # 1566s # /** 1566s # * OrgProjectUsefulInterfaceIface: 1566s # * @parent_iface: The parent interface. 1566s # * @handle_single_arg_method_ao: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-ao signal. 1566s # * 1566s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1566s # */ 1566s # 1566s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1566s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1566s # 1566s # static void 1566s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1566s # { 1566s # /* GObject signals for incoming D-Bus method calls: */ 1566s # /** 1566s # * OrgProjectUsefulInterface::handle-single-arg-method-ao: 1566s # * @object: A #OrgProjectUsefulInterface. 1566s # * @invocation: A #GDBusMethodInvocation. 1566s # * @arg_arg_ao: Argument passed by remote caller. 1566s # * 1566s # * Signal emitted when a remote caller is invoking the SingleArgMethodAo() D-Bus method. 1566s # * 1566s # * 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. 1566s # * 1566s # * 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. 1566s # */ 1566s # g_signal_new ("handle-single-arg-method-ao", 1566s # G_TYPE_FROM_INTERFACE (iface), 1566s # G_SIGNAL_RUN_LAST, 1566s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_ao), 1566s # g_signal_accumulator_true_handled, 1566s # NULL, 1566s # org_project_useful_interface_method_marshal_single_arg_method_ao, 1566s # G_TYPE_BOOLEAN, 1566s # 2, 1566s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_STRV); 1566s # 1566s # } 1566s # 1566s # /** 1566s # * org_project_useful_interface_call_single_arg_method_ao: 1566s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1566s # * @arg_arg_ao: Argument to pass with the method invocation. 1566s # * @cancellable: (nullable): A #GCancellable or %NULL. 1566s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1566s # * @user_data: User data to pass to @callback. 1566s # * 1566s # * Asynchronously invokes the SingleArgMethodAo() D-Bus method on @proxy. 1566s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1566s # * You can then call org_project_useful_interface_call_single_arg_method_ao_finish() to get the result of the operation. 1566s # * 1566s # * See org_project_useful_interface_call_single_arg_method_ao_sync() for the synchronous, blocking version of this method. 1566s # */ 1566s # void 1566s # org_project_useful_interface_call_single_arg_method_ao ( 1566s # OrgProjectUsefulInterface *proxy, 1566s # const gchar *const *arg_arg_ao, 1566s # GCancellable *cancellable, 1566s # GAsyncReadyCallback callback, 1566s # gpointer user_data) 1566s # { 1566s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1566s # "SingleArgMethodAo", 1566s # g_variant_new ("(^ao)", 1566s # arg_arg_ao), 1566s # G_DBUS_CALL_FLAGS_NONE, 1566s # -1, 1566s # cancellable, 1566s # callback, 1566s # user_data); 1566s # } 1566s # 1566s # /** 1566s # * org_project_useful_interface_call_single_arg_method_ao_finish: 1566s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1566s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_ao(). 1566s # * @error: Return location for error or %NULL. 1566s # * 1566s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_ao(). 1566s # * 1566s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1566s # */ 1566s # gboolean 1566s # org_project_useful_interface_call_single_arg_method_ao_finish ( 1566s # OrgProjectUsefulInterface *proxy, 1566s # GAsyncResult *res, 1566s # GError **error) 1566s # { 1566s # GVariant *_ret; 1566s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1566s # if (_ret == NULL) 1566s # goto _out; 1566s # g_variant_get (_ret, 1566s # "()"); 1566s # g_variant_unref (_ret); 1566s # _out: 1566s # return _ret != NULL; 1566s # } 1566s # 1566s # /** 1566s # * org_project_useful_interface_call_single_arg_method_ao_sync: 1566s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1566s # * @arg_arg_ao: Argument to pass with the method invocation. 1566s # * @cancellable: (nullable): A #GCancellable or %NULL. 1566s # * @error: Return location for error or %NULL. 1566s # * 1566s # * Synchronously invokes the SingleArgMethodAo() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1566s # * 1566s # * See org_project_useful_interface_call_single_arg_method_ao() for the asynchronous version of this method. 1566s # * 1566s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1566s # */ 1566s # gboolean 1566s # org_project_useful_interface_call_single_arg_method_ao_sync ( 1566s # OrgProjectUsefulInterface *proxy, 1566s # const gchar *const *arg_arg_ao, 1566s # GCancellable *cancellable, 1566s # GError **error) 1566s # { 1566s # GVariant *_ret; 1566s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1566s # "SingleArgMethodAo", 1566s # g_variant_new ("(^ao)", 1566s # arg_arg_ao), 1566s # G_DBUS_CALL_FLAGS_NONE, 1566s # -1, 1566s # cancellable, 1566s # error); 1566s # if (_ret == NULL) 1566s # goto _out; 1566s # g_variant_get (_ret, 1566s # "()"); 1566s # g_variant_unref (_ret); 1566s # _out: 1566s # return _ret != NULL; 1566s # } 1566s # 1566s # /** 1566s # * org_project_useful_interface_complete_single_arg_method_ao: 1566s # * @object: A #OrgProjectUsefulInterface. 1566s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1566s # * 1566s # * 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. 1566s # * 1566s # * This method will free @invocation, you cannot use it afterwards. 1566s # */ 1566s # void 1566s # org_project_useful_interface_complete_single_arg_method_ao ( 1566s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1566s # GDBusMethodInvocation *invocation) 1566s # { 1566s # g_dbus_method_invocation_return_value (invocation, 1566s # g_variant_new ("()")); 1566s # } 1566s # 1566s # /* ------------------------------------------------------------------------ */ 1566s # 1566s # /** 1566s # * OrgProjectUsefulInterfaceProxy: 1566s # * 1566s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1566s # */ 1566s # 1566s # /** 1566s # * OrgProjectUsefulInterfaceProxyClass: 1566s # * @parent_class: The parent class. 1566s # * 1566s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1566s # */ 1566s # 1566s # struct _OrgProjectUsefulInterfaceProxyPrivate 1566s # { 1566s # GData *qdata; 1566s # }; 1566s # 1566s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1566s # 1566s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1566s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1566s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1566s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1566s # 1566s # #else 1566s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1566s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1566s # 1566s # #endif 1566s # static void 1566s # org_project_useful_interface_proxy_finalize (GObject *object) 1566s # { 1566s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1566s # g_datalist_clear (&proxy->priv->qdata); 1566s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1566s # } 1566s # 1566s # static void 1566s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1566s # guint prop_id G_GNUC_UNUSED, 1566s # GValue *value G_GNUC_UNUSED, 1566s # GParamSpec *pspec G_GNUC_UNUSED) 1566s # { 1566s # } 1566s # 1566s # static void 1566s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1566s # guint prop_id G_GNUC_UNUSED, 1566s # const GValue *value G_GNUC_UNUSED, 1566s # GParamSpec *pspec G_GNUC_UNUSED) 1566s # { 1566s # } 1566s # 1566s # static void 1566s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1566s # const gchar *sender_name G_GNUC_UNUSED, 1566s # const gchar *signal_name, 1566s # GVariant *parameters) 1566s # { 1566s # _ExtendedGDBusSignalInfo *info; 1566s # GVariantIter iter; 1566s # GVariant *child; 1566s # GValue *paramv; 1566s # gsize num_params; 1566s # gsize n; 1566s # guint signal_id; 1566s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1566s # if (info == NULL) 1566s # return; 1566s # num_params = g_variant_n_children (parameters); 1566s # paramv = g_new0 (GValue, num_params + 1); 1566s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1566s # g_value_set_object (¶mv[0], proxy); 1566s # g_variant_iter_init (&iter, parameters); 1566s # n = 1; 1566s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1566s # { 1566s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1566s # if (arg_info->use_gvariant) 1566s # { 1566s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1566s # g_value_set_variant (¶mv[n], child); 1566s # n++; 1566s # } 1566s # else 1566s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1566s # g_variant_unref (child); 1566s # } 1566s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1566s # g_signal_emitv (paramv, signal_id, 0, NULL); 1566s # for (n = 0; n < num_params + 1; n++) 1566s # g_value_unset (¶mv[n]); 1566s # g_free (paramv); 1566s # } 1566s # 1566s # static void 1566s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1566s # GVariant *changed_properties, 1566s # const gchar *const *invalidated_properties) 1566s # { 1566s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1566s # guint n; 1566s # const gchar *key; 1566s # GVariantIter *iter; 1566s # _ExtendedGDBusPropertyInfo *info; 1566s # g_variant_get (changed_properties, "a{sv}", &iter); 1566s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1566s # { 1566s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1566s # g_datalist_remove_data (&proxy->priv->qdata, key); 1566s # if (info != NULL) 1566s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1566s # } 1566s # g_variant_iter_free (iter); 1566s # for (n = 0; invalidated_properties[n] != NULL; n++) 1566s # { 1566s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1566s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1566s # if (info != NULL) 1566s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1566s # } 1566s # } 1566s # 1566s # static void 1566s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1566s # { 1566s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1566s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1566s # #else 1566s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1566s # #endif 1566s # 1566s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1566s # } 1566s # 1566s # static void 1566s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1566s # { 1566s # GObjectClass *gobject_class; 1566s # GDBusProxyClass *proxy_class; 1566s # 1566s # gobject_class = G_OBJECT_CLASS (klass); 1566s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1566s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1566s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1566s # 1566s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1566s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1566s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1566s # 1566s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1566s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1566s # #endif 1566s # } 1566s # 1566s # static void 1566s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1566s # { 1566s # } 1566s # 1566s # /** 1566s # * org_project_useful_interface_proxy_new: 1566s # * @connection: A #GDBusConnection. 1566s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1566s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1566s # * @object_path: An object path. 1566s # * @cancellable: (nullable): A #GCancellable or %NULL. 1566s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1566s # * @user_data: User data to pass to @callback. 1566s # * 1566s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1566s # * 1566s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1566s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1566s # * 1566s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1566s # */ 1566s # void 1566s # org_project_useful_interface_proxy_new ( 1566s # GDBusConnection *connection, 1566s # GDBusProxyFlags flags, 1566s # const gchar *name, 1566s # const gchar *object_path, 1566s # GCancellable *cancellable, 1566s # GAsyncReadyCallback callback, 1566s # gpointer user_data) 1566s # { 1566s # g_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); 1566s # } 1566s # 1566s # /** 1566s # * org_project_useful_interface_proxy_new_finish: 1566s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1566s # * @error: Return location for error or %NULL 1566s # * 1566s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1566s # * 1566s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1566s # */ 1566s # OrgProjectUsefulInterface * 1566s # org_project_useful_interface_proxy_new_finish ( 1566s # GAsyncResult *res, 1566s # GError **error) 1566s # { 1566s # GObject *ret; 1566s # GObject *source_object; 1566s # source_object = g_async_result_get_source_object (res); 1566s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1566s # g_object_unref (source_object); 1566s # if (ret != NULL) 1566s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1566s # else 1566s # return NULL; 1566s # } 1566s # 1566s # /** 1566s # * org_project_useful_interface_proxy_new_sync: 1566s # * @connection: A #GDBusConnection. 1566s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1566s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1566s # * @object_path: An object path. 1566s # * @cancellable: (nullable): A #GCancellable or %NULL. 1566s # * @error: Return location for error or %NULL 1566s # * 1566s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1566s # * 1566s # * The calling thread is blocked until a reply is received. 1566s # * 1566s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1566s # * 1566s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1566s # */ 1566s # OrgProjectUsefulInterface * 1566s # org_project_useful_interface_proxy_new_sync ( 1566s # GDBusConnection *connection, 1566s # GDBusProxyFlags flags, 1566s # const gchar *name, 1566s # const gchar *object_path, 1566s # GCancellable *cancellable, 1566s # GError **error) 1566s # { 1566s # GInitable *ret; 1566s # 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); 1566s # if (ret != NULL) 1566s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1566s # else 1566s # return NULL; 1566s # } 1566s # 1566s # 1566s # /** 1566s # * org_project_useful_interface_proxy_new_for_bus: 1566s # * @bus_type: A #GBusType. 1566s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1566s # * @name: A bus name (well-known or unique). 1566s # * @object_path: An object path. 1566s # * @cancellable: (nullable): A #GCancellable or %NULL. 1566s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1566s # * @user_data: User data to pass to @callback. 1566s # * 1566s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1566s # * 1566s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1566s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1566s # * 1566s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1566s # */ 1566s # void 1566s # org_project_useful_interface_proxy_new_for_bus ( 1566s # GBusType bus_type, 1566s # GDBusProxyFlags flags, 1566s # const gchar *name, 1566s # const gchar *object_path, 1566s # GCancellable *cancellable, 1566s # GAsyncReadyCallback callback, 1566s # gpointer user_data) 1566s # { 1566s # g_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); 1566s # } 1566s # 1566s # /** 1566s # * org_project_useful_interface_proxy_new_for_bus_finish: 1566s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1566s # * @error: Return location for error or %NULL 1566s # * 1566s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1566s # * 1566s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1566s # */ 1566s # OrgProjectUsefulInterface * 1566s # org_project_useful_interface_proxy_new_for_bus_finish ( 1566s # GAsyncResult *res, 1566s # GError **error) 1566s # { 1566s # GObject *ret; 1566s # GObject *source_object; 1566s # source_object = g_async_result_get_source_object (res); 1566s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1566s # g_object_unref (source_object); 1566s # if (ret != NULL) 1566s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1566s # else 1566s # return NULL; 1566s # } 1566s # 1566s # /** 1566s # * org_project_useful_interface_proxy_new_for_bus_sync: 1566s # * @bus_type: A #GBusType. 1566s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1566s # * @name: A bus name (well-known or unique). 1566s # * @object_path: An object path. 1566s # * @cancellable: (nullable): A #GCancellable or %NULL. 1566s # * @error: Return location for error or %NULL 1566s # * 1566s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1566s # * 1566s # * The calling thread is blocked until a reply is received. 1566s # * 1566s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1566s # * 1566s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1566s # */ 1566s # OrgProjectUsefulInterface * 1566s # org_project_useful_interface_proxy_new_for_bus_sync ( 1566s # GBusType bus_type, 1566s # GDBusProxyFlags flags, 1566s # const gchar *name, 1566s # const gchar *object_path, 1566s # GCancellable *cancellable, 1566s # GError **error) 1566s # { 1566s # GInitable *ret; 1566s # 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); 1566s # if (ret != NULL) 1566s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1566s # else 1566s # return NULL; 1566s # } 1566s # 1566s # 1566s # /* ------------------------------------------------------------------------ */ 1566s # 1566s # /** 1566s # * OrgProjectUsefulInterfaceSkeleton: 1566s # * 1566s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1566s # */ 1566s # 1566s # /** 1566s # * OrgProjectUsefulInterfaceSkeletonClass: 1566s # * @parent_class: The parent class. 1566s # * 1566s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1566s # */ 1566s # 1566s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1566s # { 1566s # GValue *properties; 1566s # GList *changed_properties; 1566s # GSource *changed_properties_idle_source; 1566s # GMainContext *context; 1566s # GMutex lock; 1566s # }; 1566s # 1566s # static void 1566s # _org_project_useful_interface_skeleton_handle_method_call ( 1566s # GDBusConnection *connection G_GNUC_UNUSED, 1566s # const gchar *sender G_GNUC_UNUSED, 1566s # const gchar *object_path G_GNUC_UNUSED, 1566s # const gchar *interface_name, 1566s # const gchar *method_name, 1566s # GVariant *parameters, 1566s # GDBusMethodInvocation *invocation, 1566s # gpointer user_data) 1566s # { 1566s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1566s # _ExtendedGDBusMethodInfo *info; 1566s # GVariantIter iter; 1566s # GVariant *child; 1566s # GValue *paramv; 1566s # gsize num_params; 1566s # guint num_extra; 1566s # gsize n; 1566s # guint signal_id; 1566s # GValue return_value = G_VALUE_INIT; 1566s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1566s # g_assert (info != NULL); 1566s # num_params = g_variant_n_children (parameters); 1566s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1566s # n = 0; 1566s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1566s # g_value_set_object (¶mv[n++], skeleton); 1566s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1566s # g_value_set_object (¶mv[n++], invocation); 1566s # if (info->pass_fdlist) 1566s # { 1566s # #ifdef G_OS_UNIX 1566s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1566s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1566s # #else 1566s # g_assert_not_reached (); 1566s # #endif 1566s # } 1566s # g_variant_iter_init (&iter, parameters); 1566s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1566s # { 1566s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1566s # if (arg_info->use_gvariant) 1566s # { 1566s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1566s # g_value_set_variant (¶mv[n], child); 1566s # n++; 1566s # } 1566s # else 1566s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1566s # g_variant_unref (child); 1566s # } 1566s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1566s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1566s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1566s # if (!g_value_get_boolean (&return_value)) 1566s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1566s # g_value_unset (&return_value); 1566s # for (n = 0; n < num_params + num_extra; n++) 1566s # g_value_unset (¶mv[n]); 1566s # g_free (paramv); 1566s # } 1566s # 1566s # static GVariant * 1566s # _org_project_useful_interface_skeleton_handle_get_property ( 1566s # GDBusConnection *connection G_GNUC_UNUSED, 1566s # const gchar *sender G_GNUC_UNUSED, 1566s # const gchar *object_path G_GNUC_UNUSED, 1566s # const gchar *interface_name G_GNUC_UNUSED, 1566s # const gchar *property_name, 1566s # GError **error, 1566s # gpointer user_data) 1566s # { 1566s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1566s # GValue value = G_VALUE_INIT; 1566s # GParamSpec *pspec; 1566s # _ExtendedGDBusPropertyInfo *info; 1566s # GVariant *ret; 1566s # ret = NULL; 1566s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1566s # g_assert (info != NULL); 1566s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1566s # if (pspec == NULL) 1566s # { 1566s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1566s # } 1566s # else 1566s # { 1566s # g_value_init (&value, pspec->value_type); 1566s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1566s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1566s # g_value_unset (&value); 1566s # } 1566s # return ret; 1566s # } 1566s # 1566s # static gboolean 1566s # _org_project_useful_interface_skeleton_handle_set_property ( 1566s # GDBusConnection *connection G_GNUC_UNUSED, 1566s # const gchar *sender G_GNUC_UNUSED, 1566s # const gchar *object_path G_GNUC_UNUSED, 1566s # const gchar *interface_name G_GNUC_UNUSED, 1566s # const gchar *property_name, 1566s # GVariant *variant, 1566s # GError **error, 1566s # gpointer user_data) 1566s # { 1566s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1566s # GValue value = G_VALUE_INIT; 1566s # GParamSpec *pspec; 1566s # _ExtendedGDBusPropertyInfo *info; 1566s # gboolean ret; 1566s # ret = FALSE; 1566s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1566s # g_assert (info != NULL); 1566s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1566s # if (pspec == NULL) 1566s # { 1566s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1566s # } 1566s # else 1566s # { 1566s # if (info->use_gvariant) 1566s # g_value_set_variant (&value, variant); 1566s # else 1566s # g_dbus_gvariant_to_gvalue (variant, &value); 1566s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1566s # g_value_unset (&value); 1566s # ret = TRUE; 1566s # } 1566s # return ret; 1566s # } 1566s # 1566s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1566s # { 1566s # _org_project_useful_interface_skeleton_handle_method_call, 1566s # _org_project_useful_interface_skeleton_handle_get_property, 1566s # _org_project_useful_interface_skeleton_handle_set_property, 1566s # {NULL} 1566s # }; 1566s # 1566s # static GDBusInterfaceInfo * 1566s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1566s # { 1566s # return org_project_useful_interface_interface_info (); 1566s # } 1566s # 1566s # static GDBusInterfaceVTable * 1566s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1566s # { 1566s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1566s # } 1566s # 1566s # static GVariant * 1566s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1566s # { 1566s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1566s # 1566s # GVariantBuilder builder; 1566s # guint n; 1566s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1566s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1566s # goto out; 1566s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1566s # { 1566s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1566s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1566s # { 1566s # GVariant *value; 1566s # 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); 1566s # if (value != NULL) 1566s # { 1566s # g_variant_take_ref (value); 1566s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1566s # g_variant_unref (value); 1566s # } 1566s # } 1566s # } 1566s # out: 1566s # return g_variant_builder_end (&builder); 1566s # } 1566s # 1566s # static void 1566s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1566s # { 1566s # } 1566s # 1566s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1566s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1566s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1566s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1566s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1566s # 1566s # #else 1566s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1566s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1566s # 1566s # #endif 1566s # static void 1566s # org_project_useful_interface_skeleton_finalize (GObject *object) 1566s # { 1566s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1566s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1566s # if (skeleton->priv->changed_properties_idle_source != NULL) 1566s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1566s # g_main_context_unref (skeleton->priv->context); 1566s # g_mutex_clear (&skeleton->priv->lock); 1566s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1566s # } 1566s # 1566s # static void 1566s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1566s # { 1566s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1566s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1566s # #else 1566s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1566s # #endif 1566s # 1566s # g_mutex_init (&skeleton->priv->lock); 1566s # skeleton->priv->context = g_main_context_ref_thread_default (); 1566s # } 1566s # 1566s # static void 1566s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1566s # { 1566s # GObjectClass *gobject_class; 1566s # GDBusInterfaceSkeletonClass *skeleton_class; 1566s # 1566s # gobject_class = G_OBJECT_CLASS (klass); 1566s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1566s # 1566s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1566s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1566s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1566s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1566s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1566s # 1566s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1566s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1566s # #endif 1566s # } 1566s # 1566s # static void 1566s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1566s # { 1566s # } 1566s # 1566s # /** 1566s # * org_project_useful_interface_skeleton_new: 1566s # * 1566s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1566s # * 1566s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1566s # */ 1566s # OrgProjectUsefulInterface * 1566s # org_project_useful_interface_skeleton_new (void) 1566s # { 1566s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1566s # } 1566s # /tmp/tmppzwln7e0/tmpj0zxygiv.xml: 1566s # 1566s # 1566s # 1566s # 1566s # 1566s # 1566s # 1566s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmppzwln7e0/tmpj0zxygiv.xml', '--output', '-', '--body'] 1566s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-baqskmurxn,guid=fbaffe99d0ccb1f6e1beb84865fc01cd', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.YcZbqk/autopkgtest_tmp', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.YcZbqk/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.YcZbqk/autopkgtest_tmp', 'TERM': 'unknown', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.YcZbqk/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.sVTVMp0Db0', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.rqZsJO/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.YcZbqk/wrapper.sh --artifacts=/tmp/autopkgtest.YcZbqk/installed-tests-artifacts --chdir=/tmp/autopkgtest.YcZbqk/build.S0E/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.YcZbqk/installed-tests-stderr --stdout=/tmp/autopkgtest.YcZbqk/installed-tests-stdout --tmp=/tmp/autopkgtest.YcZbqk/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2' --make-executable=/tmp/autopkgtest.YcZbqk/build.S0E/src/debian/tests/installed-tests -- /tmp/autopkgtest.YcZbqk/build.S0E/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.YcZbqk/build.S0E/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.YcZbqk/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1566s # Output: /* 1566s # * This file is generated by gdbus-codegen, do not modify it. 1566s # * 1566s # * The license of this code is the same as for the D-Bus interface description 1566s # * it was derived from. Note that it links to GLib, so must comply with the 1566s # * LGPL linking clauses. 1566s # */ 1566s # 1566s # #ifdef HAVE_CONFIG_H 1566s # # include "config.h" 1566s # #endif 1566s # 1566s # #include 1566s # #ifdef G_OS_UNIX 1566s # # include 1566s # #endif 1566s # 1566s # #ifdef G_ENABLE_DEBUG 1566s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1566s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1566s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1566s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1566s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1566s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1566s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1566s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1566s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1566s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1566s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1566s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1566s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1566s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1566s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1566s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1566s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1566s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1566s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1566s # #else /* !G_ENABLE_DEBUG */ 1566s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1566s # * Do not access GValues directly in your code. Instead, use the 1566s # * g_value_get_*() functions 1566s # */ 1566s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1566s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1566s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1566s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1566s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1566s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1566s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1566s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1566s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1566s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1566s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1566s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1566s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1566s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1566s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1566s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1566s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1566s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1566s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1566s # #endif /* !G_ENABLE_DEBUG */ 1566s # 1566s # typedef struct 1566s # { 1566s # GDBusArgInfo parent_struct; 1566s # gboolean use_gvariant; 1566s # } _ExtendedGDBusArgInfo; 1566s # 1566s # typedef struct 1566s # { 1566s # GDBusMethodInfo parent_struct; 1566s # const gchar *signal_name; 1566s # gboolean pass_fdlist; 1566s # } _ExtendedGDBusMethodInfo; 1566s # 1566s # typedef struct 1566s # { 1566s # GDBusSignalInfo parent_struct; 1566s # const gchar *signal_name; 1566s # } _ExtendedGDBusSignalInfo; 1566s # 1566s # typedef struct 1566s # { 1566s # GDBusPropertyInfo parent_struct; 1566s # const gchar *hyphen_name; 1566s # guint use_gvariant : 1; 1566s # guint emits_changed_signal : 1; 1566s # } _ExtendedGDBusPropertyInfo; 1566s # 1566s # typedef struct 1566s # { 1566s # GDBusInterfaceInfo parent_struct; 1566s # const gchar *hyphen_name; 1566s # } _ExtendedGDBusInterfaceInfo; 1566s # 1566s # typedef struct 1566s # { 1566s # const _ExtendedGDBusPropertyInfo *info; 1566s # guint prop_id; 1566s # GValue orig_value; /* the value before the change */ 1566s # } ChangedProperty; 1566s # 1566s # static void 1566s # _changed_property_free (ChangedProperty *data) 1566s # { 1566s # g_value_unset (&data->orig_value); 1566s # g_free (data); 1566s # } 1566s # 1566s # static gboolean 1566s # _g_strv_equal0 (gchar **a, gchar **b) 1566s # { 1566s # gboolean ret = FALSE; 1566s # guint n; 1566s # if (a == NULL && b == NULL) 1566s # { 1566s # ret = TRUE; 1566s # goto out; 1566s # } 1566s # if (a == NULL || b == NULL) 1566s # goto out; 1566s # if (g_strv_length (a) != g_strv_length (b)) 1566s # goto out; 1566s # for (n = 0; a[n] != NULL; n++) 1566s # if (g_strcmp0 (a[n], b[n]) != 0) 1566s # goto out; 1566s # ret = TRUE; 1566s # out: 1566s # return ret; 1566s # } 1566s # 1566s # static gboolean 1566s # _g_variant_equal0 (GVariant *a, GVariant *b) 1566s # { 1566s # gboolean ret = FALSE; 1566s # if (a == NULL && b == NULL) 1566s # { 1566s # ret = TRUE; 1566s # goto out; 1566s # } 1566s # if (a == NULL || b == NULL) 1566s # goto out; 1566s # ret = g_variant_equal (a, b); 1566s # out: 1566s # return ret; 1566s # } 1566s # 1566s # G_GNUC_UNUSED static gboolean 1566s # _g_value_equal (const GValue *a, const GValue *b) 1566s # { 1566s # gboolean ret = FALSE; 1566s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1566s # switch (G_VALUE_TYPE (a)) 1566s # { 1566s # case G_TYPE_BOOLEAN: 1566s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1566s # break; 1566s # case G_TYPE_UCHAR: 1566s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1566s # break; 1566s # case G_TYPE_INT: 1566s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1566s # break; 1566s # case G_TYPE_UINT: 1566s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1566s # break; 1566s # case G_TYPE_INT64: 1566s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1566s # break; 1566s # case G_TYPE_UINT64: 1566s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1566s # break; 1566s # case G_TYPE_DOUBLE: 1566s # { 1566s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1566s # gdouble da = g_value_get_double (a); 1566s # gdouble db = g_value_get_double (b); 1566s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1566s # } 1566s # break; 1566s # case G_TYPE_STRING: 1566s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1566s # break; 1566s # case G_TYPE_VARIANT: 1566s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1566s # break; 1566s # default: 1566s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1566s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1566s # else 1566s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1566s # break; 1566s # } 1566s # return ret; 1566s # } 1566s # 1566s # static void 1566s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_BOXED ( 1566s # GClosure *closure, 1566s # GValue *return_value, 1566s # unsigned int n_param_values, 1566s # const GValue *param_values, 1566s # void *invocation_hint G_GNUC_UNUSED, 1566s # void *marshal_data) 1566s # { 1566s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectBoxedFunc) 1566s # (void *data1, 1566s # GDBusMethodInvocation *arg_method_invocation, 1566s # const gchar *const *arg_arg_aay, 1566s # void *data2); 1566s # _GDbusCodegenMarshalBoolean_ObjectBoxedFunc callback; 1566s # GCClosure *cc = (GCClosure*) closure; 1566s # void *data1, *data2; 1566s # gboolean v_return; 1566s # 1566s # g_return_if_fail (return_value != NULL); 1566s # g_return_if_fail (n_param_values == 3); 1566s # 1566s # if (G_CCLOSURE_SWAP_DATA (closure)) 1566s # { 1566s # data1 = closure->data; 1566s # data2 = g_value_peek_pointer (param_values + 0); 1566s # } 1566s # else 1566s # { 1566s # data1 = g_value_peek_pointer (param_values + 0); 1566s # data2 = closure->data; 1566s # } 1566s # 1566s # callback = (_GDbusCodegenMarshalBoolean_ObjectBoxedFunc) 1566s # (marshal_data ? marshal_data : cc->callback); 1566s # 1566s # v_return = 1566s # callback (data1, 1566s # g_marshal_value_peek_object (param_values + 1), 1566s # g_marshal_value_peek_boxed (param_values + 2), 1566s # data2); 1566s # 1566s # g_value_set_boolean (return_value, v_return); 1566s # } 1566s # 1566s # /* ------------------------------------------------------------------------ 1566s # * Code for interface org.project.UsefulInterface 1566s # * ------------------------------------------------------------------------ 1566s # */ 1566s # 1566s # /** 1566s # * SECTION:OrgProjectUsefulInterface 1566s # * @title: OrgProjectUsefulInterface 1566s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1566s # * 1566s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1566s # */ 1566s # 1566s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1566s # 1566s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_aay_IN_ARG_arg_aay = 1566s # { 1566s # { 1566s # -1, 1566s # (gchar *) "arg_aay", 1566s # (gchar *) "aay", 1566s # NULL 1566s # }, 1566s # FALSE 1566s # }; 1566s # 1566s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_aay_IN_ARG_pointers[] = 1566s # { 1566s # &_org_project_useful_interface_method_info_single_arg_method_aay_IN_ARG_arg_aay.parent_struct, 1566s # NULL 1566s # }; 1566s # 1566s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_aay = 1566s # { 1566s # { 1566s # -1, 1566s # (gchar *) "SingleArgMethodAay", 1566s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_aay_IN_ARG_pointers, 1566s # NULL, 1566s # NULL 1566s # }, 1566s # "handle-single-arg-method-aay", 1566s # FALSE 1566s # }; 1566s # 1566s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1566s # { 1566s # &_org_project_useful_interface_method_info_single_arg_method_aay.parent_struct, 1566s # NULL 1566s # }; 1566s # 1566s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1566s # { 1566s # { 1566s # -1, 1566s # (gchar *) "org.project.UsefulInterface", 1566s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1566s # NULL, 1566s # NULL, 1566s # NULL 1566s # }, 1566s # "org-project-useful-interface", 1566s # }; 1566s # 1566s # 1566s # /** 1566s # * org_project_useful_interface_interface_info: 1566s # * 1566s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1566s # * 1566s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1566s # */ 1566s # GDBusInterfaceInfo * 1566s # org_project_useful_interface_interface_info (void) 1566s # { 1566s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1566s # } 1566s # 1566s # /** 1566s # * org_project_useful_interface_override_properties: 1566s # * @klass: The class structure for a #GObject derived class. 1566s # * @property_id_begin: The property id to assign to the first overridden property. 1566s # * 1566s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1566s # * The properties are overridden in the order they are defined. 1566s # * 1566s # * Returns: The last property id. 1566s # */ 1566s # guint 1566s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1566s # { 1566s # return property_id_begin - 1; 1566s # } 1566s # 1566s # 1566s # inline static void 1566s # org_project_useful_interface_method_marshal_single_arg_method_aay ( 1566s # GClosure *closure, 1566s # GValue *return_value, 1566s # unsigned int n_param_values, 1566s # const GValue *param_values, 1566s # void *invocation_hint, 1566s # void *marshal_data) 1566s # { 1566s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_BOXED (closure, 1566s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1566s # } 1566s # 1566s # 1566s # /** 1566s # * OrgProjectUsefulInterface: 1566s # * 1566s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1566s # */ 1566s # 1566s # /** 1566s # * OrgProjectUsefulInterfaceIface: 1566s # * @parent_iface: The parent interface. 1566s # * @handle_single_arg_method_aay: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-aay signal. 1566s # * 1566s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1566s # */ 1566s # 1566s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1566s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1566s # 1566s # static void 1566s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1566s # { 1566s # /* GObject signals for incoming D-Bus method calls: */ 1566s # /** 1566s # * OrgProjectUsefulInterface::handle-single-arg-method-aay: 1566s # * @object: A #OrgProjectUsefulInterface. 1566s # * @invocation: A #GDBusMethodInvocation. 1566s # * @arg_arg_aay: Argument passed by remote caller. 1566s # * 1566s # * Signal emitted when a remote caller is invoking the SingleArgMethodAay() D-Bus method. 1566s # * 1566s # * 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. 1566s # * 1566s # * 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. 1566s # */ 1566s # g_signal_new ("handle-single-arg-method-aay", 1566s # G_TYPE_FROM_INTERFACE (iface), 1566s # G_SIGNAL_RUN_LAST, 1566s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_aay), 1566s # g_signal_accumulator_true_handled, 1566s # NULL, 1566s # org_project_useful_interface_method_marshal_single_arg_method_aay, 1566s # G_TYPE_BOOLEAN, 1566s # 2, 1566s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_STRV); 1566s # 1566s # } 1566s # 1566s # /** 1566s # * org_project_useful_interface_call_single_arg_method_aay: 1566s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1566s # * @arg_arg_aay: Argument to pass with the method invocation. 1566s # * @cancellable: (nullable): A #GCancellable or %NULL. 1566s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1566s # * @user_data: User data to pass to @callback. 1566s # * 1566s # * Asynchronously invokes the SingleArgMethodAay() D-Bus method on @proxy. 1566s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1566s # * You can then call org_project_useful_interface_call_single_arg_method_aay_finish() to get the result of the operation. 1566s # * 1566s # * See org_project_useful_interface_call_single_arg_method_aay_sync() for the synchronous, blocking version of this method. 1566s # */ 1566s # void 1566s # org_project_useful_interface_call_single_arg_method_aay ( 1566s # OrgProjectUsefulInterface *proxy, 1566s # const gchar *const *arg_arg_aay, 1566s # GCancellable *cancellable, 1566s # GAsyncReadyCallback callback, 1566s # gpointer user_data) 1566s # { 1566s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1566s # "SingleArgMethodAay", 1566s # g_variant_new ("(^aay)", 1566s # arg_arg_aay), 1566s # G_DBUS_CALL_FLAGS_NONE, 1566s # -1, 1566s # cancellable, 1566s # callback, 1566s # user_data); 1566s # } 1566s # 1566s # /** 1566s # * org_project_useful_interface_call_single_arg_method_aay_finish: 1566s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1566s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_aay(). 1566s # * @error: Return location for error or %NULL. 1566s # * 1566s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_aay(). 1566s # * 1566s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1566s # */ 1566s # gboolean 1566s # org_project_useful_interface_call_single_arg_method_aay_finish ( 1566s # OrgProjectUsefulInterface *proxy, 1566s # GAsyncResult *res, 1566s # GError **error) 1566s # { 1566s # GVariant *_ret; 1566s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1566s # if (_ret == NULL) 1566s # goto _out; 1566s # g_variant_get (_ret, 1566s # "()"); 1566s # g_variant_unref (_ret); 1566s # _out: 1566s # return _ret != NULL; 1566s # } 1566s # 1566s # /** 1566s # * org_project_useful_interface_call_single_arg_method_aay_sync: 1566s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1566s # * @arg_arg_aay: Argument to pass with the method invocation. 1566s # * @cancellable: (nullable): A #GCancellable or %NULL. 1566s # * @error: Return location for error or %NULL. 1566s # * 1566s # * Synchronously invokes the SingleArgMethodAay() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1566s # * 1566s # * See org_project_useful_interface_call_single_arg_method_aay() for the asynchronous version of this method. 1566s # * 1566s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1566s # */ 1566s # gboolean 1566s # org_project_useful_interface_call_single_arg_method_aay_sync ( 1566s # OrgProjectUsefulInterface *proxy, 1566s # const gchar *const *arg_arg_aay, 1566s # GCancellable *cancellable, 1566s # GError **error) 1566s # { 1566s # GVariant *_ret; 1566s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1566s # "SingleArgMethodAay", 1566s # g_variant_new ("(^aay)", 1566s # arg_arg_aay), 1566s # G_DBUS_CALL_FLAGS_NONE, 1566s # -1, 1566s # cancellable, 1566s # error); 1566s # if (_ret == NULL) 1566s # goto _out; 1566s # g_variant_get (_ret, 1566s # "()"); 1566s # g_variant_unref (_ret); 1566s # _out: 1566s # return _ret != NULL; 1566s # } 1566s # 1566s # /** 1566s # * org_project_useful_interface_complete_single_arg_method_aay: 1566s # * @object: A #OrgProjectUsefulInterface. 1566s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1566s # * 1566s # * 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. 1566s # * 1566s # * This method will free @invocation, you cannot use it afterwards. 1566s # */ 1566s # void 1566s # org_project_useful_interface_complete_single_arg_method_aay ( 1566s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1566s # GDBusMethodInvocation *invocation) 1566s # { 1566s # g_dbus_method_invocation_return_value (invocation, 1566s # g_variant_new ("()")); 1566s # } 1566s # 1566s # /* ------------------------------------------------------------------------ */ 1566s # 1566s # /** 1566s # * OrgProjectUsefulInterfaceProxy: 1566s # * 1566s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1566s # */ 1566s # 1566s # /** 1566s # * OrgProjectUsefulInterfaceProxyClass: 1566s # * @parent_class: The parent class. 1566s # * 1566s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1566s # */ 1566s # 1566s # struct _OrgProjectUsefulInterfaceProxyPrivate 1566s # { 1566s # GData *qdata; 1566s # }; 1566s # 1566s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1566s # 1566s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1566s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1566s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1566s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1566s # 1566s # #else 1566s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1566s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1566s # 1566s # #endif 1566s # static void 1566s # org_project_useful_interface_proxy_finalize (GObject *object) 1566s # { 1566s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1566s # g_datalist_clear (&proxy->priv->qdata); 1566s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1566s # } 1566s # 1566s # static void 1566s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1566s # guint prop_id G_GNUC_UNUSED, 1566s # GValue *value G_GNUC_UNUSED, 1566s # GParamSpec *pspec G_GNUC_UNUSED) 1566s # { 1566s # } 1566s # 1566s # static void 1566s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1566s # guint prop_id G_GNUC_UNUSED, 1566s # const GValue *value G_GNUC_UNUSED, 1566s # GParamSpec *pspec G_GNUC_UNUSED) 1566s # { 1566s # } 1566s # 1566s # static void 1566s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1566s # const gchar *sender_name G_GNUC_UNUSED, 1566s # const gchar *signal_name, 1566s # GVariant *parameters) 1566s # { 1566s # _ExtendedGDBusSignalInfo *info; 1566s # GVariantIter iter; 1566s # GVariant *child; 1566s # GValue *paramv; 1566s # gsize num_params; 1566s # gsize n; 1566s # guint signal_id; 1566s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1566s # if (info == NULL) 1566s # return; 1566s # num_params = g_variant_n_children (parameters); 1566s # paramv = g_new0 (GValue, num_params + 1); 1566s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1566s # g_value_set_object (¶mv[0], proxy); 1566s # g_variant_iter_init (&iter, parameters); 1566s # n = 1; 1566s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1566s # { 1566s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1566s # if (arg_info->use_gvariant) 1566s # { 1566s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1566s # g_value_set_variant (¶mv[n], child); 1566s # n++; 1566s # } 1566s # else 1566s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1566s # g_variant_unref (child); 1566s # } 1566s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1566s # g_signal_emitv (paramv, signal_id, 0, NULL); 1566s # for (n = 0; n < num_params + 1; n++) 1566s # g_value_unset (¶mv[n]); 1566s # g_free (paramv); 1566s # } 1566s # 1566s # static void 1566s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1566s # GVariant *changed_properties, 1566s # const gchar *const *invalidated_properties) 1566s # { 1566s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1566s # guint n; 1566s # const gchar *key; 1566s # GVariantIter *iter; 1566s # _ExtendedGDBusPropertyInfo *info; 1566s # g_variant_get (changed_properties, "a{sv}", &iter); 1566s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1566s # { 1566s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1566s # g_datalist_remove_data (&proxy->priv->qdata, key); 1566s # if (info != NULL) 1566s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1566s # } 1566s # g_variant_iter_free (iter); 1566s # for (n = 0; invalidated_properties[n] != NULL; n++) 1566s # { 1566s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1566s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1566s # if (info != NULL) 1566s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1566s # } 1566s # } 1566s # 1566s # static void 1566s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1566s # { 1566s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1566s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1566s # #else 1566s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1566s # #endif 1566s # 1566s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1566s # } 1566s # 1566s # static void 1566s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1566s # { 1566s # GObjectClass *gobject_class; 1566s # GDBusProxyClass *proxy_class; 1566s # 1566s # gobject_class = G_OBJECT_CLASS (klass); 1566s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1566s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1566s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1566s # 1566s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1566s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1566s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1566s # 1566s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1566s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1566s # #endif 1566s # } 1566s # 1566s # static void 1566s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1566s # { 1566s # } 1566s # 1566s # /** 1566s # * org_project_useful_interface_proxy_new: 1566s # * @connection: A #GDBusConnection. 1566s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1566s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1566s # * @object_path: An object path. 1566s # * @cancellable: (nullable): A #GCancellable or %NULL. 1566s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1566s # * @user_data: User data to pass to @callback. 1566s # * 1566s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1566s # * 1566s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1566s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1566s # * 1566s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1566s # */ 1566s # void 1566s # org_project_useful_interface_proxy_new ( 1566s # GDBusConnection *connection, 1566s # GDBusProxyFlags flags, 1566s # const gchar *name, 1566s # const gchar *object_path, 1566s # GCancellable *cancellable, 1566s # GAsyncReadyCallback callback, 1566s # gpointer user_data) 1566s # { 1566s # g_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); 1566s # } 1566s # 1566s # /** 1566s # * org_project_useful_interface_proxy_new_finish: 1566s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1566s # * @error: Return location for error or %NULL 1566s # * 1566s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1566s # * 1566s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1566s # */ 1566s # OrgProjectUsefulInterface * 1566s # org_project_useful_interface_proxy_new_finish ( 1566s # GAsyncResult *res, 1566s # GError **error) 1566s # { 1566s # GObject *ret; 1566s # GObject *source_object; 1566s # source_object = g_async_result_get_source_object (res); 1566s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1566s # g_object_unref (source_object); 1566s # if (ret != NULL) 1566s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1566s # else 1566s # return NULL; 1566s # } 1566s # 1566s # /** 1566s # * org_project_useful_interface_proxy_new_sync: 1566s # * @connection: A #GDBusConnection. 1566s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1566s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1566s # * @object_path: An object path. 1566s # * @cancellable: (nullable): A #GCancellable or %NULL. 1566s # * @error: Return location for error or %NULL 1566s # * 1566s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1566s # * 1566s # * The calling thread is blocked until a reply is received. 1566s # * 1566s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1566s # * 1566s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1566s # */ 1566s # OrgProjectUsefulInterface * 1566s # org_project_useful_interface_proxy_new_sync ( 1566s # GDBusConnection *connection, 1566s # GDBusProxyFlags flags, 1566s # const gchar *name, 1566s # const gchar *object_path, 1566s # GCancellable *cancellable, 1566s # GError **error) 1566s # { 1566s # GInitable *ret; 1566s # 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); 1566s # if (ret != NULL) 1566s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1566s # else 1566s # return NULL; 1566s # } 1566s # 1566s # 1566s # /** 1566s # * org_project_useful_interface_proxy_new_for_bus: 1566s # * @bus_type: A #GBusType. 1566s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1566s # * @name: A bus name (well-known or unique). 1566s # * @object_path: An object path. 1566s # * @cancellable: (nullable): A #GCancellable or %NULL. 1566s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1566s # * @user_data: User data to pass to @callback. 1566s # * 1566s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1566s # * 1566s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1566s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1566s # * 1566s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1566s # */ 1566s # void 1566s # org_project_useful_interface_proxy_new_for_bus ( 1566s # GBusType bus_type, 1566s # GDBusProxyFlags flags, 1566s # const gchar *name, 1566s # const gchar *object_path, 1566s # GCancellable *cancellable, 1566s # GAsyncReadyCallback callback, 1566s # gpointer user_data) 1566s # { 1566s # g_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); 1566s # } 1566s # 1566s # /** 1566s # * org_project_useful_interface_proxy_new_for_bus_finish: 1566s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1566s # * @error: Return location for error or %NULL 1566s # * 1566s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1566s # * 1566s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1566s # */ 1566s # OrgProjectUsefulInterface * 1566s # org_project_useful_interface_proxy_new_for_bus_finish ( 1566s # GAsyncResult *res, 1566s # GError **error) 1566s # { 1566s # GObject *ret; 1566s # GObject *source_object; 1566s # source_object = g_async_result_get_source_object (res); 1566s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1566s # g_object_unref (source_object); 1566s # if (ret != NULL) 1566s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1566s # else 1566s # return NULL; 1566s # } 1566s # 1566s # /** 1566s # * org_project_useful_interface_proxy_new_for_bus_sync: 1566s # * @bus_type: A #GBusType. 1566s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1566s # * @name: A bus name (well-known or unique). 1566s # * @object_path: An object path. 1566s # * @cancellable: (nullable): A #GCancellable or %NULL. 1566s # * @error: Return location for error or %NULL 1566s # * 1566s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1566s # * 1566s # * The calling thread is blocked until a reply is received. 1566s # * 1566s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1566s # * 1566s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1566s # */ 1566s # OrgProjectUsefulInterface * 1566s # org_project_useful_interface_proxy_new_for_bus_sync ( 1566s # GBusType bus_type, 1566s # GDBusProxyFlags flags, 1566s # const gchar *name, 1566s # const gchar *object_path, 1566s # GCancellable *cancellable, 1566s # GError **error) 1566s # { 1566s # GInitable *ret; 1566s # 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); 1566s # if (ret != NULL) 1566s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1566s # else 1566s # return NULL; 1566s # } 1566s # 1566s # 1566s # /* ------------------------------------------------------------------------ */ 1566s # 1566s # /** 1566s # * OrgProjectUsefulInterfaceSkeleton: 1566s # * 1566s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1566s # */ 1566s # 1566s # /** 1566s # * OrgProjectUsefulInterfaceSkeletonClass: 1566s # * @parent_class: The parent class. 1566s # * 1566s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1566s # */ 1566s # 1566s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1566s # { 1566s # GValue *properties; 1566s # GList *changed_properties; 1566s # GSource *changed_properties_idle_source; 1566s # GMainContext *context; 1566s # GMutex lock; 1566s # }; 1566s # 1566s # static void 1566s # _org_project_useful_interface_skeleton_handle_method_call ( 1566s # GDBusConnection *connection G_GNUC_UNUSED, 1566s # const gchar *sender G_GNUC_UNUSED, 1566s # const gchar *object_path G_GNUC_UNUSED, 1566s # const gchar *interface_name, 1566s # const gchar *method_name, 1566s # GVariant *parameters, 1566s # GDBusMethodInvocation *invocation, 1566s # gpointer user_data) 1566s # { 1566s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1566s # _ExtendedGDBusMethodInfo *info; 1566s # GVariantIter iter; 1566s # GVariant *child; 1566s # GValue *paramv; 1566s # gsize num_params; 1566s # guint num_extra; 1566s # gsize n; 1566s # guint signal_id; 1566s # GValue return_value = G_VALUE_INIT; 1566s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1566s # g_assert (info != NULL); 1566s # num_params = g_variant_n_children (parameters); 1566s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1566s # n = 0; 1566s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1566s # g_value_set_object (¶mv[n++], skeleton); 1566s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1566s # g_value_set_object (¶mv[n++], invocation); 1566s # if (info->pass_fdlist) 1566s # { 1566s # #ifdef G_OS_UNIX 1566s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1566s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1566s # #else 1566s # g_assert_not_reached (); 1566s # #endif 1566s # } 1566s # g_variant_iter_init (&iter, parameters); 1566s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1566s # { 1566s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1566s # if (arg_info->use_gvariant) 1566s # { 1566s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1566s # g_value_set_variant (¶mv[n], child); 1566s # n++; 1566s # } 1566s # else 1566s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1566s # g_variant_unref (child); 1566s # } 1566s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1566s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1566s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1566s # if (!g_value_get_boolean (&return_value)) 1566s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1566s # g_value_unset (&return_value); 1566s # for (n = 0; n < num_params + num_extra; n++) 1566s # g_value_unset (¶mv[n]); 1566s # g_free (paramv); 1566s # } 1566s # 1566s # static GVariant * 1566s # _org_project_useful_interface_skeleton_handle_get_property ( 1566s # GDBusConnection *connection G_GNUC_UNUSED, 1566s # const gchar *sender G_GNUC_UNUSED, 1566s # const gchar *object_path G_GNUC_UNUSED, 1566s # const gchar *interface_name G_GNUC_UNUSED, 1566s # const gchar *property_name, 1566s # GError **error, 1566s # gpointer user_data) 1566s # { 1566s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1566s # GValue value = G_VALUE_INIT; 1566s # GParamSpec *pspec; 1566s # _ExtendedGDBusPropertyInfo *info; 1566s # GVariant *ret; 1566s # ret = NULL; 1566s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1566s # g_assert (info != NULL); 1566s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1566s # if (pspec == NULL) 1566s # { 1566s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1566s # } 1566s # else 1566s # { 1566s # g_value_init (&value, pspec->value_type); 1566s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1566s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1566s # g_value_unset (&value); 1566s # } 1566s # return ret; 1566s # } 1566s # 1566s # static gboolean 1566s # _org_project_useful_interface_skeleton_handle_set_property ( 1566s # GDBusConnection *connection G_GNUC_UNUSED, 1566s # const gchar *sender G_GNUC_UNUSED, 1566s # const gchar *object_path G_GNUC_UNUSED, 1566s # const gchar *interface_name G_GNUC_UNUSED, 1566s # const gchar *property_name, 1566s # GVariant *variant, 1566s # GError **error, 1566s # gpointer user_data) 1566s # { 1566s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1566s # GValue value = G_VALUE_INIT; 1566s # GParamSpec *pspec; 1566s # _ExtendedGDBusPropertyInfo *info; 1566s # gboolean ret; 1566s # ret = FALSE; 1566s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1566s # g_assert (info != NULL); 1566s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1566s # if (pspec == NULL) 1566s # { 1566s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1566s # } 1566s # else 1566s # { 1566s # if (info->use_gvariant) 1566s # g_value_set_variant (&value, variant); 1566s # else 1566s # g_dbus_gvariant_to_gvalue (variant, &value); 1566s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1566s # g_value_unset (&value); 1566s # ret = TRUE; 1566s # } 1566s # return ret; 1566s # } 1566s # 1566s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1566s # { 1566s # _org_project_useful_interface_skeleton_handle_method_call, 1566s # _org_project_useful_interface_skeleton_handle_get_property, 1566s # _org_project_useful_interface_skeleton_handle_set_property, 1566s # {NULL} 1566s # }; 1566s # 1566s # static GDBusInterfaceInfo * 1566s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1566s # { 1566s # return org_project_useful_interface_interface_info (); 1566s # } 1566s # 1566s # static GDBusInterfaceVTable * 1566s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1566s # { 1566s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1566s # } 1566s # 1566s # static GVariant * 1566s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1566s # { 1566s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1566s # 1566s # GVariantBuilder builder; 1566s # guint n; 1566s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1566s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1566s # goto out; 1566s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1566s # { 1566s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1566s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1566s # { 1566s # GVariant *value; 1566s # 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); 1566s # if (value != NULL) 1566s # { 1566s # g_variant_take_ref (value); 1566s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1566s # g_variant_unref (value); 1566s # } 1566s # } 1566s # } 1566s # out: 1566s # return g_variant_builder_end (&builder); 1566s # } 1566s # 1566s # static void 1566s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1566s # { 1566s # } 1566s # 1566s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1566s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1566s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1566s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1566s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1566s # 1566s # #else 1566s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1566s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1566s # 1566s # #endif 1566s # static void 1566s # org_project_useful_interface_skeleton_finalize (GObject *object) 1566s # { 1566s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1566s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1566s # if (skeleton->priv->changed_properties_idle_source != NULL) 1566s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1566s # g_main_context_unref (skeleton->priv->context); 1566s # g_mutex_clear (&skeleton->priv->lock); 1566s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1566s # } 1566s # 1566s # static void 1566s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1566s # { 1566s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1566s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1566s # #else 1566s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1566s # #endif 1566s # 1566s # g_mutex_init (&skeleton->priv->lock); 1566s # skeleton->priv->context = g_main_context_ref_thread_default (); 1566s # } 1566s # 1566s # static void 1566s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1566s # { 1566s # GObjectClass *gobject_class; 1566s # GDBusInterfaceSkeletonClass *skeleton_class; 1566s # 1566s # gobject_class = G_OBJECT_CLASS (klass); 1566s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1566s # 1566s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1566s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1566s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1566s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1566s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1566s # 1566s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1566s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1566s # #endif 1566s # } 1566s # 1566s # static void 1566s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1566s # { 1566s # } 1566s # 1566s # /** 1566s # * org_project_useful_interface_skeleton_new: 1566s # * 1566s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1566s # * 1566s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1566s # */ 1566s # OrgProjectUsefulInterface * 1566s # org_project_useful_interface_skeleton_new (void) 1566s # { 1566s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1566s # } 1566s # /tmp/tmppzwln7e0/tmpz9pjk3mm.xml: 1566s # 1566s # 1566s # 1566s # 1566s # 1566s # 1566s # 1566s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmppzwln7e0/tmpz9pjk3mm.xml', '--output', '-', '--body'] 1566s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-baqskmurxn,guid=fbaffe99d0ccb1f6e1beb84865fc01cd', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.YcZbqk/autopkgtest_tmp', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.YcZbqk/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.YcZbqk/autopkgtest_tmp', 'TERM': 'unknown', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.YcZbqk/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.sVTVMp0Db0', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.rqZsJO/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.YcZbqk/wrapper.sh --artifacts=/tmp/autopkgtest.YcZbqk/installed-tests-artifacts --chdir=/tmp/autopkgtest.YcZbqk/build.S0E/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.YcZbqk/installed-tests-stderr --stdout=/tmp/autopkgtest.YcZbqk/installed-tests-stdout --tmp=/tmp/autopkgtest.YcZbqk/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2' --make-executable=/tmp/autopkgtest.YcZbqk/build.S0E/src/debian/tests/installed-tests -- /tmp/autopkgtest.YcZbqk/build.S0E/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.YcZbqk/build.S0E/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.YcZbqk/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1566s # Output: /* 1566s # * This file is generated by gdbus-codegen, do not modify it. 1566s # * 1566s # * The license of this code is the same as for the D-Bus interface description 1566s # * it was derived from. Note that it links to GLib, so must comply with the 1566s # * LGPL linking clauses. 1566s # */ 1566s # 1566s # #ifdef HAVE_CONFIG_H 1566s # # include "config.h" 1566s # #endif 1566s # 1566s # #include 1566s # #ifdef G_OS_UNIX 1566s # # include 1566s # #endif 1566s # 1566s # #ifdef G_ENABLE_DEBUG 1566s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1566s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1566s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1566s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1566s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1566s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1566s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1566s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1566s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1566s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1566s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1566s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1566s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1566s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1566s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1566s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1566s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1566s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1566s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1566s # #else /* !G_ENABLE_DEBUG */ 1566s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1566s # * Do not access GValues directly in your code. Instead, use the 1566s # * g_value_get_*() functions 1566s # */ 1566s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1566s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1566s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1566s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1566s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1566s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1566s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1566s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1566s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1566s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1566s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1566s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1566s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1566s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1566s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1566s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1566s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1566s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1566s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1566s # #endif /* !G_ENABLE_DEBUG */ 1566s # 1566s # typedef struct 1566s # { 1566s # GDBusArgInfo parent_struct; 1566s # gboolean use_gvariant; 1566s # } _ExtendedGDBusArgInfo; 1566s # 1566s # typedef struct 1566s # { 1566s # GDBusMethodInfo parent_struct; 1566s # const gchar *signal_name; 1566s # gboolean pass_fdlist; 1566s # } _ExtendedGDBusMethodInfo; 1566s # 1566s # typedef struct 1566s # { 1566s # GDBusSignalInfo parent_struct; 1566s # const gchar *signal_name; 1566s # } _ExtendedGDBusSignalInfo; 1566s # 1566s # typedef struct 1566s # { 1566s # GDBusPropertyInfo parent_struct; 1566s # const gchar *hyphen_name; 1566s # guint use_gvariant : 1; 1566s # guint emits_changed_signal : 1; 1566s # } _ExtendedGDBusPropertyInfo; 1566s # 1566s # typedef struct 1566s # { 1566s # GDBusInterfaceInfo parent_struct; 1566s # const gchar *hyphen_name; 1566s # } _ExtendedGDBusInterfaceInfo; 1566s # 1566s # typedef struct 1566s # { 1566s # const _ExtendedGDBusPropertyInfo *info; 1566s # guint prop_id; 1566s # GValue orig_value; /* the value before the change */ 1566s # } ChangedProperty; 1566s # 1566s # static void 1566s # _changed_property_free (ChangedProperty *data) 1566s # { 1566s # g_value_unset (&data->orig_value); 1566s # g_free (data); 1566s # } 1566s # 1566s # static gboolean 1566s # _g_strv_equal0 (gchar **a, gchar **b) 1566s # { 1566s # gboolean ret = FALSE; 1566s # guint n; 1566s # if (a == NULL && b == NULL) 1566s # { 1566s # ret = TRUE; 1566s # goto out; 1566s # } 1566s # if (a == NULL || b == NULL) 1566s # goto out; 1566s # if (g_strv_length (a) != g_strv_length (b)) 1566s # goto out; 1566s # for (n = 0; a[n] != NULL; n++) 1566s # if (g_strcmp0 (a[n], b[n]) != 0) 1566s # goto out; 1566s # ret = TRUE; 1566s # out: 1566s # return ret; 1566s # } 1566s # 1566s # static gboolean 1566s # _g_variant_equal0 (GVariant *a, GVariant *b) 1566s # { 1566s # gboolean ret = FALSE; 1566s # if (a == NULL && b == NULL) 1566s # { 1566s # ret = TRUE; 1566s # goto out; 1566s # } 1566s # if (a == NULL || b == NULL) 1566s # goto out; 1566s # ret = g_variant_equal (a, b); 1566s # out: 1566s # return ret; 1566s # } 1566s # 1566s # G_GNUC_UNUSED static gboolean 1566s # _g_value_equal (const GValue *a, const GValue *b) 1566s # { 1566s # gboolean ret = FALSE; 1566s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1566s # switch (G_VALUE_TYPE (a)) 1566s # { 1566s # case G_TYPE_BOOLEAN: 1566s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1566s # break; 1566s # case G_TYPE_UCHAR: 1566s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1566s # break; 1566s # case G_TYPE_INT: 1566s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1566s # break; 1566s # case G_TYPE_UINT: 1566s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1566s # break; 1566s # case G_TYPE_INT64: 1566s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1566s # break; 1566s # case G_TYPE_UINT64: 1566s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1566s # break; 1566s # case G_TYPE_DOUBLE: 1566s # { 1566s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1566s # gdouble da = g_value_get_double (a); 1566s # gdouble db = g_value_get_double (b); 1566s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1566s # } 1566s # break; 1566s # case G_TYPE_STRING: 1566s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1566s # break; 1566s # case G_TYPE_VARIANT: 1566s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1566s # break; 1566s # default: 1566s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1566s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1566s # else 1566s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1566s # break; 1566s # } 1566s # return ret; 1566s # } 1566s # 1566s # static void 1566s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_VARIANT ( 1566s # GClosure *closure, 1566s # GValue *return_value, 1566s # unsigned int n_param_values, 1566s # const GValue *param_values, 1566s # void *invocation_hint G_GNUC_UNUSED, 1566s # void *marshal_data) 1566s # { 1566s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectVariantFunc) 1566s # (void *data1, 1566s # GDBusMethodInvocation *arg_method_invocation, 1566s # GVariant *arg_arg_asv, 1566s # void *data2); 1566s # _GDbusCodegenMarshalBoolean_ObjectVariantFunc callback; 1566s # GCClosure *cc = (GCClosure*) closure; 1566s # void *data1, *data2; 1566s # gboolean v_return; 1566s # 1566s # g_return_if_fail (return_value != NULL); 1566s # g_return_if_fail (n_param_values == 3); 1566s # 1566s # if (G_CCLOSURE_SWAP_DATA (closure)) 1566s # { 1566s # data1 = closure->data; 1566s # data2 = g_value_peek_pointer (param_values + 0); 1566s # } 1566s # else 1566s # { 1566s # data1 = g_value_peek_pointer (param_values + 0); 1566s # data2 = closure->data; 1566s # } 1566s # 1566s # callback = (_GDbusCodegenMarshalBoolean_ObjectVariantFunc) 1566s # (marshal_data ? marshal_data : cc->callback); 1566s # 1566s # v_return = 1566s # callback (data1, 1566s # g_marshal_value_peek_object (param_values + 1), 1566s # g_marshal_value_peek_variant (param_values + 2), 1566s # data2); 1566s # 1566s # g_value_set_boolean (return_value, v_return); 1566s # } 1566s # 1566s # /* ------------------------------------------------------------------------ 1566s # * Code for interface org.project.UsefulInterface 1566s # * ------------------------------------------------------------------------ 1566s # */ 1566s # 1566s # /** 1566s # * SECTION:OrgProjectUsefulInterface 1566s # * @title: OrgProjectUsefulInterface 1566s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1566s # * 1566s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1566s # */ 1566s # 1566s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1566s # 1566s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_asv_IN_ARG_arg_asv = 1566s # { 1566s # { 1566s # -1, 1566s # (gchar *) "arg_asv", 1566s # (gchar *) "a{sv}", 1566s # NULL 1566s # }, 1566s # FALSE 1566s # }; 1566s # 1566s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_asv_IN_ARG_pointers[] = 1566s # { 1566s # &_org_project_useful_interface_method_info_single_arg_method_asv_IN_ARG_arg_asv.parent_struct, 1566s # NULL 1566s # }; 1566s # 1566s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_asv = 1566s # { 1566s # { 1566s # -1, 1566s # (gchar *) "SingleArgMethodAsv", 1566s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_asv_IN_ARG_pointers, 1566s # NULL, 1566s # NULL 1566s # }, 1566s # "handle-single-arg-method-asv", 1566s # FALSE 1566s # }; 1566s # 1566s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1566s # { 1566s # &_org_project_useful_interface_method_info_single_arg_method_asv.parent_struct, 1566s # NULL 1566s # }; 1566s # 1566s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1566s # { 1566s # { 1566s # -1, 1566s # (gchar *) "org.project.UsefulInterface", 1566s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1566s # NULL, 1566s # NULL, 1566s # NULL 1566s # }, 1566s # "org-project-useful-interface", 1566s # }; 1566s # 1566s # 1566s # /** 1566s # * org_project_useful_interface_interface_info: 1566s # * 1566s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1566s # * 1566s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1566s # */ 1566s # GDBusInterfaceInfo * 1566s # org_project_useful_interface_interface_info (void) 1566s # { 1566s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1566s # } 1566s # 1566s # /** 1566s # * org_project_useful_interface_override_properties: 1566s # * @klass: The class structure for a #GObject derived class. 1566s # * @property_id_begin: The property id to assign to the first overridden property. 1566s # * 1566s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1566s # * The properties are overridden in the order they are defined. 1566s # * 1566s # * Returns: The last property id. 1566s # */ 1566s # guint 1566s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1566s # { 1566s # return property_id_begin - 1; 1566s # } 1566s # 1566s # 1566s # inline static void 1566s # org_project_useful_interface_method_marshal_single_arg_method_asv ( 1566s # GClosure *closure, 1566s # GValue *return_value, 1566s # unsigned int n_param_values, 1566s # const GValue *param_values, 1566s # void *invocation_hint, 1566s # void *marshal_data) 1566s # { 1566s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_VARIANT (closure, 1566s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1566s # } 1566s # 1566s # 1566s # /** 1566s # * OrgProjectUsefulInterface: 1566s # * 1566s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1566s # */ 1566s # 1566s # /** 1566s # * OrgProjectUsefulInterfaceIface: 1566s # * @parent_iface: The parent interface. 1566s # * @handle_single_arg_method_asv: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-asv signal. 1566s # * 1566s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1566s # */ 1566s # 1566s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1566s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1566s # 1566s # static void 1566s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1566s # { 1566s # /* GObject signals for incoming D-Bus method calls: */ 1566s # /** 1566s # * OrgProjectUsefulInterface::handle-single-arg-method-asv: 1566s # * @object: A #OrgProjectUsefulInterface. 1566s # * @invocation: A #GDBusMethodInvocation. 1566s # * @arg_arg_asv: Argument passed by remote caller. 1566s # * 1566s # * Signal emitted when a remote caller is invoking the SingleArgMethodAsv() D-Bus method. 1566s # * 1566s # * 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. 1566s # * 1566s # * 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. 1566s # */ 1566s # g_signal_new ("handle-single-arg-method-asv", 1566s # G_TYPE_FROM_INTERFACE (iface), 1566s # G_SIGNAL_RUN_LAST, 1566s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_asv), 1566s # g_signal_accumulator_true_handled, 1566s # NULL, 1566s # org_project_useful_interface_method_marshal_single_arg_method_asv, 1566s # G_TYPE_BOOLEAN, 1566s # 2, 1566s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_VARIANT); 1566s # 1566s # } 1566s # 1566s # /** 1566s # * org_project_useful_interface_call_single_arg_method_asv: 1566s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1566s # * @arg_arg_asv: Argument to pass with the method invocation. 1566s # * @cancellable: (nullable): A #GCancellable or %NULL. 1566s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1566s # * @user_data: User data to pass to @callback. 1566s # * 1566s # * Asynchronously invokes the SingleArgMethodAsv() D-Bus method on @proxy. 1566s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1566s # * You can then call org_project_useful_interface_call_single_arg_method_asv_finish() to get the result of the operation. 1566s # * 1566s # * See org_project_useful_interface_call_single_arg_method_asv_sync() for the synchronous, blocking version of this method. 1566s # */ 1566s # void 1566s # org_project_useful_interface_call_single_arg_method_asv ( 1566s # OrgProjectUsefulInterface *proxy, 1566s # GVariant *arg_arg_asv, 1566s # GCancellable *cancellable, 1566s # GAsyncReadyCallback callback, 1566s # gpointer user_data) 1566s # { 1566s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1566s # "SingleArgMethodAsv", 1566s # g_variant_new ("(@a{sv})", 1566s # arg_arg_asv), 1566s # G_DBUS_CALL_FLAGS_NONE, 1566s # -1, 1566s # cancellable, 1566s # callback, 1566s # user_data); 1566s # } 1566s # 1566s # /** 1566s # * org_project_useful_interface_call_single_arg_method_asv_finish: 1566s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1566s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_asv(). 1566s # * @error: Return location for error or %NULL. 1566s # * 1566s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_asv(). 1566s # * 1566s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1566s # */ 1566s # gboolean 1566s # org_project_useful_interface_call_single_arg_method_asv_finish ( 1566s # OrgProjectUsefulInterface *proxy, 1566s # GAsyncResult *res, 1566s # GError **error) 1566s # { 1566s # GVariant *_ret; 1566s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1566s # if (_ret == NULL) 1566s # goto _out; 1566s # g_variant_get (_ret, 1566s # "()"); 1566s # g_variant_unref (_ret); 1566s # _out: 1566s # return _ret != NULL; 1566s # } 1566s # 1566s # /** 1566s # * org_project_useful_interface_call_single_arg_method_asv_sync: 1566s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1566s # * @arg_arg_asv: Argument to pass with the method invocation. 1566s # * @cancellable: (nullable): A #GCancellable or %NULL. 1566s # * @error: Return location for error or %NULL. 1566s # * 1566s # * Synchronously invokes the SingleArgMethodAsv() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1566s # * 1566s # * See org_project_useful_interface_call_single_arg_method_asv() for the asynchronous version of this method. 1566s # * 1566s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1566s # */ 1566s # gboolean 1566s # org_project_useful_interface_call_single_arg_method_asv_sync ( 1566s # OrgProjectUsefulInterface *proxy, 1566s # GVariant *arg_arg_asv, 1566s # GCancellable *cancellable, 1566s # GError **error) 1566s # { 1566s # GVariant *_ret; 1566s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1566s # "SingleArgMethodAsv", 1566s # g_variant_new ("(@a{sv})", 1566s # arg_arg_asv), 1566s # G_DBUS_CALL_FLAGS_NONE, 1566s # -1, 1566s # cancellable, 1566s # error); 1566s # if (_ret == NULL) 1566s # goto _out; 1566s # g_variant_get (_ret, 1566s # "()"); 1566s # g_variant_unref (_ret); 1566s # _out: 1566s # return _ret != NULL; 1566s # } 1566s # 1566s # /** 1566s # * org_project_useful_interface_complete_single_arg_method_asv: 1566s # * @object: A #OrgProjectUsefulInterface. 1566s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1566s # * 1566s # * 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. 1566s # * 1566s # * This method will free @invocation, you cannot use it afterwards. 1566s # */ 1566s # void 1566s # org_project_useful_interface_complete_single_arg_method_asv ( 1566s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1566s # GDBusMethodInvocation *invocation) 1566s # { 1566s # g_dbus_method_invocation_return_value (invocation, 1566s # g_variant_new ("()")); 1566s # } 1566s # 1566s # /* ------------------------------------------------------------------------ */ 1566s # 1566s # /** 1566s # * OrgProjectUsefulInterfaceProxy: 1566s # * 1566s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1566s # */ 1566s # 1566s # /** 1566s # * OrgProjectUsefulInterfaceProxyClass: 1566s # * @parent_class: The parent class. 1566s # * 1566s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1566s # */ 1566s # 1566s # struct _OrgProjectUsefulInterfaceProxyPrivate 1566s # { 1566s # GData *qdata; 1566s # }; 1566s # 1566s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1566s # 1566s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1566s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1566s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1566s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1566s # 1566s # #else 1566s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1566s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1566s # 1566s # #endif 1566s # static void 1566s # org_project_useful_interface_proxy_finalize (GObject *object) 1566s # { 1566s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1566s # g_datalist_clear (&proxy->priv->qdata); 1566s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1566s # } 1566s # 1566s # static void 1566s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1566s # guint prop_id G_GNUC_UNUSED, 1566s # GValue *value G_GNUC_UNUSED, 1566s # GParamSpec *pspec G_GNUC_UNUSED) 1566s # { 1566s # } 1566s # 1566s # static void 1566s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1566s # guint prop_id G_GNUC_UNUSED, 1566s # const GValue *value G_GNUC_UNUSED, 1566s # GParamSpec *pspec G_GNUC_UNUSED) 1566s # { 1566s # } 1566s # 1566s # static void 1566s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1566s # const gchar *sender_name G_GNUC_UNUSED, 1566s # const gchar *signal_name, 1566s # GVariant *parameters) 1566s # { 1566s # _ExtendedGDBusSignalInfo *info; 1566s # GVariantIter iter; 1566s # GVariant *child; 1566s # GValue *paramv; 1566s # gsize num_params; 1566s # gsize n; 1566s # guint signal_id; 1566s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1566s # if (info == NULL) 1566s # return; 1566s # num_params = g_variant_n_children (parameters); 1566s # paramv = g_new0 (GValue, num_params + 1); 1566s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1566s # g_value_set_object (¶mv[0], proxy); 1566s # g_variant_iter_init (&iter, parameters); 1566s # n = 1; 1566s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1566s # { 1566s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1566s # if (arg_info->use_gvariant) 1566s # { 1566s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1566s # g_value_set_variant (¶mv[n], child); 1566s # n++; 1566s # } 1566s # else 1566s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1566s # g_variant_unref (child); 1566s # } 1566s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1566s # g_signal_emitv (paramv, signal_id, 0, NULL); 1566s # for (n = 0; n < num_params + 1; n++) 1566s # g_value_unset (¶mv[n]); 1566s # g_free (paramv); 1566s # } 1566s # 1566s # static void 1566s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1566s # GVariant *changed_properties, 1566s # const gchar *const *invalidated_properties) 1566s # { 1566s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1566s # guint n; 1566s # const gchar *key; 1566s # GVariantIter *iter; 1566s # _ExtendedGDBusPropertyInfo *info; 1566s # g_variant_get (changed_properties, "a{sv}", &iter); 1566s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1566s # { 1566s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1566s # g_datalist_remove_data (&proxy->priv->qdata, key); 1566s # if (info != NULL) 1566s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1566s # } 1566s # g_variant_iter_free (iter); 1566s # for (n = 0; invalidated_properties[n] != NULL; n++) 1566s # { 1566s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1566s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1566s # if (info != NULL) 1566s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1566s # } 1566s # } 1566s # 1566s # static void 1566s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1566s # { 1566s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1566s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1566s # #else 1566s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1566s # #endif 1566s # 1566s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1566s # } 1566s # 1566s # static void 1566s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1566s # { 1566s # GObjectClass *gobject_class; 1566s # GDBusProxyClass *proxy_class; 1566s # 1566s # gobject_class = G_OBJECT_CLASS (klass); 1566s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1566s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1566s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1566s # 1566s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1566s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1566s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1566s # 1566s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1566s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1566s # #endif 1566s # } 1566s # 1566s # static void 1566s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1566s # { 1566s # } 1566s # 1566s # /** 1566s # * org_project_useful_interface_proxy_new: 1566s # * @connection: A #GDBusConnection. 1566s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1566s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1566s # * @object_path: An object path. 1566s # * @cancellable: (nullable): A #GCancellable or %NULL. 1566s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1566s # * @user_data: User data to pass to @callback. 1566s # * 1566s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1566s # * 1566s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1566s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1566s # * 1566s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1566s # */ 1566s # void 1566s # org_project_useful_interface_proxy_new ( 1566s # GDBusConnection *connection, 1566s # GDBusProxyFlags flags, 1566s # const gchar *name, 1566s # const gchar *object_path, 1566s # GCancellable *cancellable, 1566s # GAsyncReadyCallback callback, 1566s # gpointer user_data) 1566s # { 1566s # g_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); 1566s # } 1566s # 1566s # /** 1566s # * org_project_useful_interface_proxy_new_finish: 1566s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1566s # * @error: Return location for error or %NULL 1566s # * 1566s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1566s # * 1566s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1566s # */ 1566s # OrgProjectUsefulInterface * 1566s # org_project_useful_interface_proxy_new_finish ( 1566s # GAsyncResult *res, 1566s # GError **error) 1566s # { 1566s # GObject *ret; 1566s # GObject *source_object; 1566s # source_object = g_async_result_get_source_object (res); 1566s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1566s # g_object_unref (source_object); 1566s # if (ret != NULL) 1566s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1566s # else 1566s # return NULL; 1566s # } 1566s # 1566s # /** 1566s # * org_project_useful_interface_proxy_new_sync: 1566s # * @connection: A #GDBusConnection. 1566s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1566s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1566s # * @object_path: An object path. 1566s # * @cancellable: (nullable): A #GCancellable or %NULL. 1566s # * @error: Return location for error or %NULL 1566s # * 1566s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1566s # * 1566s # * The calling thread is blocked until a reply is received. 1566s # * 1566s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1566s # * 1566s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1566s # */ 1566s # OrgProjectUsefulInterface * 1566s # org_project_useful_interface_proxy_new_sync ( 1566s # GDBusConnection *connection, 1566s # GDBusProxyFlags flags, 1566s # const gchar *name, 1566s # const gchar *object_path, 1566s # GCancellable *cancellable, 1566s # GError **error) 1566s # { 1566s # GInitable *ret; 1566s # 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); 1566s # if (ret != NULL) 1566s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1566s # else 1566s # return NULL; 1566s # } 1566s # 1566s # 1566s # /** 1566s # * org_project_useful_interface_proxy_new_for_bus: 1566s # * @bus_type: A #GBusType. 1566s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1566s # * @name: A bus name (well-known or unique). 1566s # * @object_path: An object path. 1566s # * @cancellable: (nullable): A #GCancellable or %NULL. 1566s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1566s # * @user_data: User data to pass to @callback. 1566s # * 1566s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1566s # * 1566s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1566s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1566s # * 1566s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1566s # */ 1566s # void 1566s # org_project_useful_interface_proxy_new_for_bus ( 1566s # GBusType bus_type, 1566s # GDBusProxyFlags flags, 1566s # const gchar *name, 1566s # const gchar *object_path, 1566s # GCancellable *cancellable, 1566s # GAsyncReadyCallback callback, 1566s # gpointer user_data) 1566s # { 1566s # g_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); 1566s # } 1566s # 1566s # /** 1566s # * org_project_useful_interface_proxy_new_for_bus_finish: 1566s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1566s # * @error: Return location for error or %NULL 1566s # * 1566s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1566s # * 1566s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1566s # */ 1566s # OrgProjectUsefulInterface * 1566s # org_project_useful_interface_proxy_new_for_bus_finish ( 1566s # GAsyncResult *res, 1566s # GError **error) 1566s # { 1566s # GObject *ret; 1566s # GObject *source_object; 1566s # source_object = g_async_result_get_source_object (res); 1566s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1566s # g_object_unref (source_object); 1566s # if (ret != NULL) 1566s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1566s # else 1566s # return NULL; 1566s # } 1566s # 1566s # /** 1566s # * org_project_useful_interface_proxy_new_for_bus_sync: 1566s # * @bus_type: A #GBusType. 1566s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1566s # * @name: A bus name (well-known or unique). 1566s # * @object_path: An object path. 1566s # * @cancellable: (nullable): A #GCancellable or %NULL. 1566s # * @error: Return location for error or %NULL 1566s # * 1566s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1566s # * 1566s # * The calling thread is blocked until a reply is received. 1566s # * 1566s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1566s # * 1566s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1566s # */ 1566s # OrgProjectUsefulInterface * 1566s # org_project_useful_interface_proxy_new_for_bus_sync ( 1566s # GBusType bus_type, 1566s # GDBusProxyFlags flags, 1566s # const gchar *name, 1566s # const gchar *object_path, 1566s # GCancellable *cancellable, 1566s # GError **error) 1566s # { 1566s # GInitable *ret; 1566s # 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); 1566s # if (ret != NULL) 1566s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1566s # else 1566s # return NULL; 1566s # } 1566s # 1566s # 1566s # /* ------------------------------------------------------------------------ */ 1566s # 1566s # /** 1566s # * OrgProjectUsefulInterfaceSkeleton: 1566s # * 1566s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1566s # */ 1566s # 1566s # /** 1566s # * OrgProjectUsefulInterfaceSkeletonClass: 1566s # * @parent_class: The parent class. 1566s # * 1566s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1566s # */ 1566s # 1566s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1566s # { 1566s # GValue *properties; 1566s # GList *changed_properties; 1566s # GSource *changed_properties_idle_source; 1566s # GMainContext *context; 1566s # GMutex lock; 1566s # }; 1566s # 1566s # static void 1566s # _org_project_useful_interface_skeleton_handle_method_call ( 1566s # GDBusConnection *connection G_GNUC_UNUSED, 1566s # const gchar *sender G_GNUC_UNUSED, 1566s # const gchar *object_path G_GNUC_UNUSED, 1566s # const gchar *interface_name, 1566s # const gchar *method_name, 1566s # GVariant *parameters, 1566s # GDBusMethodInvocation *invocation, 1566s # gpointer user_data) 1566s # { 1566s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1566s # _ExtendedGDBusMethodInfo *info; 1566s # GVariantIter iter; 1566s # GVariant *child; 1566s # GValue *paramv; 1566s # gsize num_params; 1566s # guint num_extra; 1566s # gsize n; 1566s # guint signal_id; 1566s # GValue return_value = G_VALUE_INIT; 1566s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1566s # g_assert (info != NULL); 1566s # num_params = g_variant_n_children (parameters); 1566s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1566s # n = 0; 1566s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1566s # g_value_set_object (¶mv[n++], skeleton); 1566s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1566s # g_value_set_object (¶mv[n++], invocation); 1566s # if (info->pass_fdlist) 1566s # { 1566s # #ifdef G_OS_UNIX 1566s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1566s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1566s # #else 1566s # g_assert_not_reached (); 1566s # #endif 1566s # } 1566s # g_variant_iter_init (&iter, parameters); 1566s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1566s # { 1566s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1566s # if (arg_info->use_gvariant) 1566s # { 1566s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1566s # g_value_set_variant (¶mv[n], child); 1566s # n++; 1566s # } 1566s # else 1566s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1566s # g_variant_unref (child); 1566s # } 1566s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1566s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1566s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1566s # if (!g_value_get_boolean (&return_value)) 1566s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1566s # g_value_unset (&return_value); 1566s # for (n = 0; n < num_params + num_extra; n++) 1566s # g_value_unset (¶mv[n]); 1566s # g_free (paramv); 1566s # } 1566s # 1566s # static GVariant * 1566s # _org_project_useful_interface_skeleton_handle_get_property ( 1566s # GDBusConnection *connection G_GNUC_UNUSED, 1566s # const gchar *sender G_GNUC_UNUSED, 1566s # const gchar *object_path G_GNUC_UNUSED, 1566s # const gchar *interface_name G_GNUC_UNUSED, 1566s # const gchar *property_name, 1566s # GError **error, 1566s # gpointer user_data) 1566s # { 1566s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1566s # GValue value = G_VALUE_INIT; 1566s # GParamSpec *pspec; 1566s # _ExtendedGDBusPropertyInfo *info; 1566s # GVariant *ret; 1566s # ret = NULL; 1566s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1566s # g_assert (info != NULL); 1566s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1566s # if (pspec == NULL) 1566s # { 1566s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1566s # } 1566s # else 1566s # { 1566s # g_value_init (&value, pspec->value_type); 1566s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1566s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1566s # g_value_unset (&value); 1566s # } 1566s # return ret; 1566s # } 1566s # 1566s # static gboolean 1566s # _org_project_useful_interface_skeleton_handle_set_property ( 1566s # GDBusConnection *connection G_GNUC_UNUSED, 1566s # const gchar *sender G_GNUC_UNUSED, 1566s # const gchar *object_path G_GNUC_UNUSED, 1566s # const gchar *interface_name G_GNUC_UNUSED, 1566s # const gchar *property_name, 1566s # GVariant *variant, 1566s # GError **error, 1566s # gpointer user_data) 1566s # { 1566s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1566s # GValue value = G_VALUE_INIT; 1566s # GParamSpec *pspec; 1566s # _ExtendedGDBusPropertyInfo *info; 1566s # gboolean ret; 1566s # ret = FALSE; 1566s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1566s # g_assert (info != NULL); 1566s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1566s # if (pspec == NULL) 1566s # { 1566s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1566s # } 1566s # else 1566s # { 1566s # if (info->use_gvariant) 1566s # g_value_set_variant (&value, variant); 1566s # else 1566s # g_dbus_gvariant_to_gvalue (variant, &value); 1566s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1566s # g_value_unset (&value); 1566s # ret = TRUE; 1566s # } 1566s # return ret; 1566s # } 1566s # 1566s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1566s # { 1566s # _org_project_useful_interface_skeleton_handle_method_call, 1566s # _org_project_useful_interface_skeleton_handle_get_property, 1566s # _org_project_useful_interface_skeleton_handle_set_property, 1566s # {NULL} 1566s # }; 1566s # 1566s # static GDBusInterfaceInfo * 1566s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1566s # { 1566s # return org_project_useful_interface_interface_info (); 1566s # } 1566s # 1566s # static GDBusInterfaceVTable * 1566s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1566s # { 1566s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1566s # } 1566s # 1566s # static GVariant * 1566s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1566s # { 1566s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1566s # 1566s # GVariantBuilder builder; 1566s # guint n; 1566s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1566s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1566s # goto out; 1566s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1566s # { 1566s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1566s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1566s # { 1566s # GVariant *value; 1566s # 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); 1566s # if (value != NULL) 1566s # { 1566s # g_variant_take_ref (value); 1566s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1566s # g_variant_unref (value); 1566s # } 1566s # } 1566s # } 1566s # out: 1566s # return g_variant_builder_end (&builder); 1566s # } 1566s # 1566s # static void 1566s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1566s # { 1566s # } 1566s # 1566s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1566s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1566s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1566s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1566s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1566s # 1566s # #else 1566s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1566s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1566s # 1566s # #endif 1566s # static void 1566s # org_project_useful_interface_skeleton_finalize (GObject *object) 1566s # { 1566s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1566s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1566s # if (skeleton->priv->changed_properties_idle_source != NULL) 1566s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1566s # g_main_context_unref (skeleton->priv->context); 1566s # g_mutex_clear (&skeleton->priv->lock); 1566s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1566s # } 1566s # 1566s # static void 1566s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1566s # { 1566s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1566s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1566s # #else 1566s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1566s # #endif 1566s # 1566s # g_mutex_init (&skeleton->priv->lock); 1566s # skeleton->priv->context = g_main_context_ref_thread_default (); 1566s # } 1566s # 1566s # static void 1566s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1566s # { 1566s # GObjectClass *gobject_class; 1566s # GDBusInterfaceSkeletonClass *skeleton_class; 1566s # 1566s # gobject_class = G_OBJECT_CLASS (klass); 1566s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1566s # 1566s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1566s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1566s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1566s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1566s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1566s # 1566s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1566s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1566s # #endif 1566s # } 1566s # 1566s # static void 1566s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1566s # { 1566s # } 1566s # 1566s # /** 1566s # * org_project_useful_interface_skeleton_new: 1566s # * 1566s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1566s # * 1566s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1566s # */ 1566s # OrgProjectUsefulInterface * 1566s # org_project_useful_interface_skeleton_new (void) 1566s # { 1566s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1566s # } 1567s ok 11 __main__.TestCodegen.test_generate_methods_marshaller_single_typed_out_args 1567s # tmpdir: /tmp/tmp6r0268hb 1567s # codegen: /usr/bin/gdbus-codegen 1567s # /tmp/tmp6r0268hb/tmp9b0zdp39.xml: 1567s # 1567s # 1567s # 1567s # 1567s # 1567s # 1567s # 1567s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp6r0268hb/tmp9b0zdp39.xml', '--output', '-', '--body'] 1567s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-baqskmurxn,guid=fbaffe99d0ccb1f6e1beb84865fc01cd', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.YcZbqk/autopkgtest_tmp', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.YcZbqk/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.YcZbqk/autopkgtest_tmp', 'TERM': 'unknown', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.YcZbqk/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.sVTVMp0Db0', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.rqZsJO/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.YcZbqk/wrapper.sh --artifacts=/tmp/autopkgtest.YcZbqk/installed-tests-artifacts --chdir=/tmp/autopkgtest.YcZbqk/build.S0E/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.YcZbqk/installed-tests-stderr --stdout=/tmp/autopkgtest.YcZbqk/installed-tests-stdout --tmp=/tmp/autopkgtest.YcZbqk/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2' --make-executable=/tmp/autopkgtest.YcZbqk/build.S0E/src/debian/tests/installed-tests -- /tmp/autopkgtest.YcZbqk/build.S0E/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.YcZbqk/build.S0E/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.YcZbqk/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1567s # Output: /* 1567s # * This file is generated by gdbus-codegen, do not modify it. 1567s # * 1567s # * The license of this code is the same as for the D-Bus interface description 1567s # * it was derived from. Note that it links to GLib, so must comply with the 1567s # * LGPL linking clauses. 1567s # */ 1567s # 1567s # #ifdef HAVE_CONFIG_H 1567s # # include "config.h" 1567s # #endif 1567s # 1567s # #include 1567s # #ifdef G_OS_UNIX 1567s # # include 1567s # #endif 1567s # 1567s # #ifdef G_ENABLE_DEBUG 1567s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1567s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1567s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1567s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1567s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1567s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1567s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1567s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1567s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1567s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1567s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1567s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1567s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1567s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1567s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1567s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1567s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1567s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1567s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1567s # #else /* !G_ENABLE_DEBUG */ 1567s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1567s # * Do not access GValues directly in your code. Instead, use the 1567s # * g_value_get_*() functions 1567s # */ 1567s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1567s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1567s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1567s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1567s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1567s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1567s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1567s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1567s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1567s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1567s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1567s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1567s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1567s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1567s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1567s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1567s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1567s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1567s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1567s # #endif /* !G_ENABLE_DEBUG */ 1567s # 1567s # typedef struct 1567s # { 1567s # GDBusArgInfo parent_struct; 1567s # gboolean use_gvariant; 1567s # } _ExtendedGDBusArgInfo; 1567s # 1567s # typedef struct 1567s # { 1567s # GDBusMethodInfo parent_struct; 1567s # const gchar *signal_name; 1567s # gboolean pass_fdlist; 1567s # } _ExtendedGDBusMethodInfo; 1567s # 1567s # typedef struct 1567s # { 1567s # GDBusSignalInfo parent_struct; 1567s # const gchar *signal_name; 1567s # } _ExtendedGDBusSignalInfo; 1567s # 1567s # typedef struct 1567s # { 1567s # GDBusPropertyInfo parent_struct; 1567s # const gchar *hyphen_name; 1567s # guint use_gvariant : 1; 1567s # guint emits_changed_signal : 1; 1567s # } _ExtendedGDBusPropertyInfo; 1567s # 1567s # typedef struct 1567s # { 1567s # GDBusInterfaceInfo parent_struct; 1567s # const gchar *hyphen_name; 1567s # } _ExtendedGDBusInterfaceInfo; 1567s # 1567s # typedef struct 1567s # { 1567s # const _ExtendedGDBusPropertyInfo *info; 1567s # guint prop_id; 1567s # GValue orig_value; /* the value before the change */ 1567s # } ChangedProperty; 1567s # 1567s # static void 1567s # _changed_property_free (ChangedProperty *data) 1567s # { 1567s # g_value_unset (&data->orig_value); 1567s # g_free (data); 1567s # } 1567s # 1567s # static gboolean 1567s # _g_strv_equal0 (gchar **a, gchar **b) 1567s # { 1567s # gboolean ret = FALSE; 1567s # guint n; 1567s # if (a == NULL && b == NULL) 1567s # { 1567s # ret = TRUE; 1567s # goto out; 1567s # } 1567s # if (a == NULL || b == NULL) 1567s # goto out; 1567s # if (g_strv_length (a) != g_strv_length (b)) 1567s # goto out; 1567s # for (n = 0; a[n] != NULL; n++) 1567s # if (g_strcmp0 (a[n], b[n]) != 0) 1567s # goto out; 1567s # ret = TRUE; 1567s # out: 1567s # return ret; 1567s # } 1567s # 1567s # static gboolean 1567s # _g_variant_equal0 (GVariant *a, GVariant *b) 1567s # { 1567s # gboolean ret = FALSE; 1567s # if (a == NULL && b == NULL) 1567s # { 1567s # ret = TRUE; 1567s # goto out; 1567s # } 1567s # if (a == NULL || b == NULL) 1567s # goto out; 1567s # ret = g_variant_equal (a, b); 1567s # out: 1567s # return ret; 1567s # } 1567s # 1567s # G_GNUC_UNUSED static gboolean 1567s # _g_value_equal (const GValue *a, const GValue *b) 1567s # { 1567s # gboolean ret = FALSE; 1567s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1567s # switch (G_VALUE_TYPE (a)) 1567s # { 1567s # case G_TYPE_BOOLEAN: 1567s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1567s # break; 1567s # case G_TYPE_UCHAR: 1567s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1567s # break; 1567s # case G_TYPE_INT: 1567s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1567s # break; 1567s # case G_TYPE_UINT: 1567s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1567s # break; 1567s # case G_TYPE_INT64: 1567s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1567s # break; 1567s # case G_TYPE_UINT64: 1567s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1567s # break; 1567s # case G_TYPE_DOUBLE: 1567s # { 1567s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1567s # gdouble da = g_value_get_double (a); 1567s # gdouble db = g_value_get_double (b); 1567s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1567s # } 1567s # break; 1567s # case G_TYPE_STRING: 1567s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1567s # break; 1567s # case G_TYPE_VARIANT: 1567s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1567s # break; 1567s # default: 1567s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1567s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1567s # else 1567s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1567s # break; 1567s # } 1567s # return ret; 1567s # } 1567s # 1567s # static void 1567s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 1567s # GClosure *closure, 1567s # GValue *return_value, 1567s # unsigned int n_param_values, 1567s # const GValue *param_values, 1567s # void *invocation_hint G_GNUC_UNUSED, 1567s # void *marshal_data) 1567s # { 1567s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 1567s # (void *data1, 1567s # GDBusMethodInvocation *arg_method_invocation, 1567s # void *data2); 1567s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 1567s # GCClosure *cc = (GCClosure*) closure; 1567s # void *data1, *data2; 1567s # gboolean v_return; 1567s # 1567s # g_return_if_fail (return_value != NULL); 1567s # g_return_if_fail (n_param_values == 2); 1567s # 1567s # if (G_CCLOSURE_SWAP_DATA (closure)) 1567s # { 1567s # data1 = closure->data; 1567s # data2 = g_value_peek_pointer (param_values + 0); 1567s # } 1567s # else 1567s # { 1567s # data1 = g_value_peek_pointer (param_values + 0); 1567s # data2 = closure->data; 1567s # } 1567s # 1567s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 1567s # (marshal_data ? marshal_data : cc->callback); 1567s # 1567s # v_return = 1567s # callback (data1, 1567s # g_marshal_value_peek_object (param_values + 1), 1567s # data2); 1567s # 1567s # g_value_set_boolean (return_value, v_return); 1567s # } 1567s # 1567s # /* ------------------------------------------------------------------------ 1567s # * Code for interface org.project.UsefulInterface 1567s # * ------------------------------------------------------------------------ 1567s # */ 1567s # 1567s # /** 1567s # * SECTION:OrgProjectUsefulInterface 1567s # * @title: OrgProjectUsefulInterface 1567s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1567s # * 1567s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1567s # */ 1567s # 1567s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1567s # 1567s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_b_OUT_ARG_arg_b = 1567s # { 1567s # { 1567s # -1, 1567s # (gchar *) "arg_b", 1567s # (gchar *) "b", 1567s # NULL 1567s # }, 1567s # FALSE 1567s # }; 1567s # 1567s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_b_OUT_ARG_pointers[] = 1567s # { 1567s # &_org_project_useful_interface_method_info_single_arg_method_b_OUT_ARG_arg_b.parent_struct, 1567s # NULL 1567s # }; 1567s # 1567s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_b = 1567s # { 1567s # { 1567s # -1, 1567s # (gchar *) "SingleArgMethodB", 1567s # NULL, 1567s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_b_OUT_ARG_pointers, 1567s # NULL 1567s # }, 1567s # "handle-single-arg-method-b", 1567s # FALSE 1567s # }; 1567s # 1567s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1567s # { 1567s # &_org_project_useful_interface_method_info_single_arg_method_b.parent_struct, 1567s # NULL 1567s # }; 1567s # 1567s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1567s # { 1567s # { 1567s # -1, 1567s # (gchar *) "org.project.UsefulInterface", 1567s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1567s # NULL, 1567s # NULL, 1567s # NULL 1567s # }, 1567s # "org-project-useful-interface", 1567s # }; 1567s # 1567s # 1567s # /** 1567s # * org_project_useful_interface_interface_info: 1567s # * 1567s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1567s # * 1567s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1567s # */ 1567s # GDBusInterfaceInfo * 1567s # org_project_useful_interface_interface_info (void) 1567s # { 1567s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1567s # } 1567s # 1567s # /** 1567s # * org_project_useful_interface_override_properties: 1567s # * @klass: The class structure for a #GObject derived class. 1567s # * @property_id_begin: The property id to assign to the first overridden property. 1567s # * 1567s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1567s # * The properties are overridden in the order they are defined. 1567s # * 1567s # * Returns: The last property id. 1567s # */ 1567s # guint 1567s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1567s # { 1567s # return property_id_begin - 1; 1567s # } 1567s # 1567s # 1567s # inline static void 1567s # org_project_useful_interface_method_marshal_single_arg_method_b ( 1567s # GClosure *closure, 1567s # GValue *return_value, 1567s # unsigned int n_param_values, 1567s # const GValue *param_values, 1567s # void *invocation_hint, 1567s # void *marshal_data) 1567s # { 1567s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1567s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1567s # } 1567s # 1567s # 1567s # /** 1567s # * OrgProjectUsefulInterface: 1567s # * 1567s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1567s # */ 1567s # 1567s # /** 1567s # * OrgProjectUsefulInterfaceIface: 1567s # * @parent_iface: The parent interface. 1567s # * @handle_single_arg_method_b: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-b signal. 1567s # * 1567s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1567s # */ 1567s # 1567s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1567s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1567s # 1567s # static void 1567s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1567s # { 1567s # /* GObject signals for incoming D-Bus method calls: */ 1567s # /** 1567s # * OrgProjectUsefulInterface::handle-single-arg-method-b: 1567s # * @object: A #OrgProjectUsefulInterface. 1567s # * @invocation: A #GDBusMethodInvocation. 1567s # * 1567s # * Signal emitted when a remote caller is invoking the SingleArgMethodB() D-Bus method. 1567s # * 1567s # * 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. 1567s # * 1567s # * 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. 1567s # */ 1567s # g_signal_new ("handle-single-arg-method-b", 1567s # G_TYPE_FROM_INTERFACE (iface), 1567s # G_SIGNAL_RUN_LAST, 1567s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_b), 1567s # g_signal_accumulator_true_handled, 1567s # NULL, 1567s # org_project_useful_interface_method_marshal_single_arg_method_b, 1567s # G_TYPE_BOOLEAN, 1567s # 1, 1567s # G_TYPE_DBUS_METHOD_INVOCATION); 1567s # 1567s # } 1567s # 1567s # /** 1567s # * org_project_useful_interface_call_single_arg_method_b: 1567s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1567s # * @cancellable: (nullable): A #GCancellable or %NULL. 1567s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1567s # * @user_data: User data to pass to @callback. 1567s # * 1567s # * Asynchronously invokes the SingleArgMethodB() D-Bus method on @proxy. 1567s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1567s # * You can then call org_project_useful_interface_call_single_arg_method_b_finish() to get the result of the operation. 1567s # * 1567s # * See org_project_useful_interface_call_single_arg_method_b_sync() for the synchronous, blocking version of this method. 1567s # */ 1567s # void 1567s # org_project_useful_interface_call_single_arg_method_b ( 1567s # OrgProjectUsefulInterface *proxy, 1567s # GCancellable *cancellable, 1567s # GAsyncReadyCallback callback, 1567s # gpointer user_data) 1567s # { 1567s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1567s # "SingleArgMethodB", 1567s # g_variant_new ("()"), 1567s # G_DBUS_CALL_FLAGS_NONE, 1567s # -1, 1567s # cancellable, 1567s # callback, 1567s # user_data); 1567s # } 1567s # 1567s # /** 1567s # * org_project_useful_interface_call_single_arg_method_b_finish: 1567s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1567s # * @out_arg_b: (out) (optional): Return location for return parameter or %NULL to ignore. 1567s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_b(). 1567s # * @error: Return location for error or %NULL. 1567s # * 1567s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_b(). 1567s # * 1567s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1567s # */ 1567s # gboolean 1567s # org_project_useful_interface_call_single_arg_method_b_finish ( 1567s # OrgProjectUsefulInterface *proxy, 1567s # gboolean *out_arg_b, 1567s # GAsyncResult *res, 1567s # GError **error) 1567s # { 1567s # GVariant *_ret; 1567s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1567s # if (_ret == NULL) 1567s # goto _out; 1567s # g_variant_get (_ret, 1567s # "(b)", 1567s # out_arg_b); 1567s # g_variant_unref (_ret); 1567s # _out: 1567s # return _ret != NULL; 1567s # } 1567s # 1567s # /** 1567s # * org_project_useful_interface_call_single_arg_method_b_sync: 1567s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1567s # * @out_arg_b: (out) (optional): Return location for return parameter or %NULL to ignore. 1567s # * @cancellable: (nullable): A #GCancellable or %NULL. 1567s # * @error: Return location for error or %NULL. 1567s # * 1567s # * Synchronously invokes the SingleArgMethodB() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1567s # * 1567s # * See org_project_useful_interface_call_single_arg_method_b() for the asynchronous version of this method. 1567s # * 1567s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1567s # */ 1567s # gboolean 1567s # org_project_useful_interface_call_single_arg_method_b_sync ( 1567s # OrgProjectUsefulInterface *proxy, 1567s # gboolean *out_arg_b, 1567s # GCancellable *cancellable, 1567s # GError **error) 1567s # { 1567s # GVariant *_ret; 1567s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1567s # "SingleArgMethodB", 1567s # g_variant_new ("()"), 1567s # G_DBUS_CALL_FLAGS_NONE, 1567s # -1, 1567s # cancellable, 1567s # error); 1567s # if (_ret == NULL) 1567s # goto _out; 1567s # g_variant_get (_ret, 1567s # "(b)", 1567s # out_arg_b); 1567s # g_variant_unref (_ret); 1567s # _out: 1567s # return _ret != NULL; 1567s # } 1567s # 1567s # /** 1567s # * org_project_useful_interface_complete_single_arg_method_b: 1567s # * @object: A #OrgProjectUsefulInterface. 1567s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1567s # * @arg_b: Parameter to return. 1567s # * 1567s # * 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. 1567s # * 1567s # * This method will free @invocation, you cannot use it afterwards. 1567s # */ 1567s # void 1567s # org_project_useful_interface_complete_single_arg_method_b ( 1567s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1567s # GDBusMethodInvocation *invocation, 1567s # gboolean arg_b) 1567s # { 1567s # g_dbus_method_invocation_return_value (invocation, 1567s # g_variant_new ("(b)", 1567s # arg_b)); 1567s # } 1567s # 1567s # /* ------------------------------------------------------------------------ */ 1567s # 1567s # /** 1567s # * OrgProjectUsefulInterfaceProxy: 1567s # * 1567s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1567s # */ 1567s # 1567s # /** 1567s # * OrgProjectUsefulInterfaceProxyClass: 1567s # * @parent_class: The parent class. 1567s # * 1567s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1567s # */ 1567s # 1567s # struct _OrgProjectUsefulInterfaceProxyPrivate 1567s # { 1567s # GData *qdata; 1567s # }; 1567s # 1567s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1567s # 1567s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1567s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1567s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1567s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1567s # 1567s # #else 1567s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1567s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1567s # 1567s # #endif 1567s # static void 1567s # org_project_useful_interface_proxy_finalize (GObject *object) 1567s # { 1567s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1567s # g_datalist_clear (&proxy->priv->qdata); 1567s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1567s # } 1567s # 1567s # static void 1567s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1567s # guint prop_id G_GNUC_UNUSED, 1567s # GValue *value G_GNUC_UNUSED, 1567s # GParamSpec *pspec G_GNUC_UNUSED) 1567s # { 1567s # } 1567s # 1567s # static void 1567s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1567s # guint prop_id G_GNUC_UNUSED, 1567s # const GValue *value G_GNUC_UNUSED, 1567s # GParamSpec *pspec G_GNUC_UNUSED) 1567s # { 1567s # } 1567s # 1567s # static void 1567s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1567s # const gchar *sender_name G_GNUC_UNUSED, 1567s # const gchar *signal_name, 1567s # GVariant *parameters) 1567s # { 1567s # _ExtendedGDBusSignalInfo *info; 1567s # GVariantIter iter; 1567s # GVariant *child; 1567s # GValue *paramv; 1567s # gsize num_params; 1567s # gsize n; 1567s # guint signal_id; 1567s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1567s # if (info == NULL) 1567s # return; 1567s # num_params = g_variant_n_children (parameters); 1567s # paramv = g_new0 (GValue, num_params + 1); 1567s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1567s # g_value_set_object (¶mv[0], proxy); 1567s # g_variant_iter_init (&iter, parameters); 1567s # n = 1; 1567s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1567s # { 1567s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1567s # if (arg_info->use_gvariant) 1567s # { 1567s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1567s # g_value_set_variant (¶mv[n], child); 1567s # n++; 1567s # } 1567s # else 1567s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1567s # g_variant_unref (child); 1567s # } 1567s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1567s # g_signal_emitv (paramv, signal_id, 0, NULL); 1567s # for (n = 0; n < num_params + 1; n++) 1567s # g_value_unset (¶mv[n]); 1567s # g_free (paramv); 1567s # } 1567s # 1567s # static void 1567s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1567s # GVariant *changed_properties, 1567s # const gchar *const *invalidated_properties) 1567s # { 1567s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1567s # guint n; 1567s # const gchar *key; 1567s # GVariantIter *iter; 1567s # _ExtendedGDBusPropertyInfo *info; 1567s # g_variant_get (changed_properties, "a{sv}", &iter); 1567s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1567s # { 1567s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1567s # g_datalist_remove_data (&proxy->priv->qdata, key); 1567s # if (info != NULL) 1567s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1567s # } 1567s # g_variant_iter_free (iter); 1567s # for (n = 0; invalidated_properties[n] != NULL; n++) 1567s # { 1567s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1567s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1567s # if (info != NULL) 1567s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1567s # } 1567s # } 1567s # 1567s # static void 1567s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1567s # { 1567s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1567s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1567s # #else 1567s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1567s # #endif 1567s # 1567s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1567s # } 1567s # 1567s # static void 1567s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1567s # { 1567s # GObjectClass *gobject_class; 1567s # GDBusProxyClass *proxy_class; 1567s # 1567s # gobject_class = G_OBJECT_CLASS (klass); 1567s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1567s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1567s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1567s # 1567s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1567s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1567s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1567s # 1567s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1567s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1567s # #endif 1567s # } 1567s # 1567s # static void 1567s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1567s # { 1567s # } 1567s # 1567s # /** 1567s # * org_project_useful_interface_proxy_new: 1567s # * @connection: A #GDBusConnection. 1567s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1567s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1567s # * @object_path: An object path. 1567s # * @cancellable: (nullable): A #GCancellable or %NULL. 1567s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1567s # * @user_data: User data to pass to @callback. 1567s # * 1567s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1567s # * 1567s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1567s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1567s # * 1567s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1567s # */ 1567s # void 1567s # org_project_useful_interface_proxy_new ( 1567s # GDBusConnection *connection, 1567s # GDBusProxyFlags flags, 1567s # const gchar *name, 1567s # const gchar *object_path, 1567s # GCancellable *cancellable, 1567s # GAsyncReadyCallback callback, 1567s # gpointer user_data) 1567s # { 1567s # g_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); 1567s # } 1567s # 1567s # /** 1567s # * org_project_useful_interface_proxy_new_finish: 1567s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1567s # * @error: Return location for error or %NULL 1567s # * 1567s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1567s # * 1567s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1567s # */ 1567s # OrgProjectUsefulInterface * 1567s # org_project_useful_interface_proxy_new_finish ( 1567s # GAsyncResult *res, 1567s # GError **error) 1567s # { 1567s # GObject *ret; 1567s # GObject *source_object; 1567s # source_object = g_async_result_get_source_object (res); 1567s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1567s # g_object_unref (source_object); 1567s # if (ret != NULL) 1567s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1567s # else 1567s # return NULL; 1567s # } 1567s # 1567s # /** 1567s # * org_project_useful_interface_proxy_new_sync: 1567s # * @connection: A #GDBusConnection. 1567s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1567s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1567s # * @object_path: An object path. 1567s # * @cancellable: (nullable): A #GCancellable or %NULL. 1567s # * @error: Return location for error or %NULL 1567s # * 1567s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1567s # * 1567s # * The calling thread is blocked until a reply is received. 1567s # * 1567s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1567s # * 1567s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1567s # */ 1567s # OrgProjectUsefulInterface * 1567s # org_project_useful_interface_proxy_new_sync ( 1567s # GDBusConnection *connection, 1567s # GDBusProxyFlags flags, 1567s # const gchar *name, 1567s # const gchar *object_path, 1567s # GCancellable *cancellable, 1567s # GError **error) 1567s # { 1567s # GInitable *ret; 1567s # 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); 1567s # if (ret != NULL) 1567s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1567s # else 1567s # return NULL; 1567s # } 1567s # 1567s # 1567s # /** 1567s # * org_project_useful_interface_proxy_new_for_bus: 1567s # * @bus_type: A #GBusType. 1567s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1567s # * @name: A bus name (well-known or unique). 1567s # * @object_path: An object path. 1567s # * @cancellable: (nullable): A #GCancellable or %NULL. 1567s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1567s # * @user_data: User data to pass to @callback. 1567s # * 1567s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1567s # * 1567s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1567s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1567s # * 1567s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1567s # */ 1567s # void 1567s # org_project_useful_interface_proxy_new_for_bus ( 1567s # GBusType bus_type, 1567s # GDBusProxyFlags flags, 1567s # const gchar *name, 1567s # const gchar *object_path, 1567s # GCancellable *cancellable, 1567s # GAsyncReadyCallback callback, 1567s # gpointer user_data) 1567s # { 1567s # g_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); 1567s # } 1567s # 1567s # /** 1567s # * org_project_useful_interface_proxy_new_for_bus_finish: 1567s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1567s # * @error: Return location for error or %NULL 1567s # * 1567s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1567s # * 1567s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1567s # */ 1567s # OrgProjectUsefulInterface * 1567s # org_project_useful_interface_proxy_new_for_bus_finish ( 1567s # GAsyncResult *res, 1567s # GError **error) 1567s # { 1567s # GObject *ret; 1567s # GObject *source_object; 1567s # source_object = g_async_result_get_source_object (res); 1567s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1567s # g_object_unref (source_object); 1567s # if (ret != NULL) 1567s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1567s # else 1567s # return NULL; 1567s # } 1567s # 1567s # /** 1567s # * org_project_useful_interface_proxy_new_for_bus_sync: 1567s # * @bus_type: A #GBusType. 1567s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1567s # * @name: A bus name (well-known or unique). 1567s # * @object_path: An object path. 1567s # * @cancellable: (nullable): A #GCancellable or %NULL. 1567s # * @error: Return location for error or %NULL 1567s # * 1567s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1567s # * 1567s # * The calling thread is blocked until a reply is received. 1567s # * 1567s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1567s # * 1567s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1567s # */ 1567s # OrgProjectUsefulInterface * 1567s # org_project_useful_interface_proxy_new_for_bus_sync ( 1567s # GBusType bus_type, 1567s # GDBusProxyFlags flags, 1567s # const gchar *name, 1567s # const gchar *object_path, 1567s # GCancellable *cancellable, 1567s # GError **error) 1567s # { 1567s # GInitable *ret; 1567s # 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); 1567s # if (ret != NULL) 1567s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1567s # else 1567s # return NULL; 1567s # } 1567s # 1567s # 1567s # /* ------------------------------------------------------------------------ */ 1567s # 1567s # /** 1567s # * OrgProjectUsefulInterfaceSkeleton: 1567s # * 1567s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1567s # */ 1567s # 1567s # /** 1567s # * OrgProjectUsefulInterfaceSkeletonClass: 1567s # * @parent_class: The parent class. 1567s # * 1567s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1567s # */ 1567s # 1567s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1567s # { 1567s # GValue *properties; 1567s # GList *changed_properties; 1567s # GSource *changed_properties_idle_source; 1567s # GMainContext *context; 1567s # GMutex lock; 1567s # }; 1567s # 1567s # static void 1567s # _org_project_useful_interface_skeleton_handle_method_call ( 1567s # GDBusConnection *connection G_GNUC_UNUSED, 1567s # const gchar *sender G_GNUC_UNUSED, 1567s # const gchar *object_path G_GNUC_UNUSED, 1567s # const gchar *interface_name, 1567s # const gchar *method_name, 1567s # GVariant *parameters, 1567s # GDBusMethodInvocation *invocation, 1567s # gpointer user_data) 1567s # { 1567s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1567s # _ExtendedGDBusMethodInfo *info; 1567s # GVariantIter iter; 1567s # GVariant *child; 1567s # GValue *paramv; 1567s # gsize num_params; 1567s # guint num_extra; 1567s # gsize n; 1567s # guint signal_id; 1567s # GValue return_value = G_VALUE_INIT; 1567s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1567s # g_assert (info != NULL); 1567s # num_params = g_variant_n_children (parameters); 1567s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1567s # n = 0; 1567s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1567s # g_value_set_object (¶mv[n++], skeleton); 1567s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1567s # g_value_set_object (¶mv[n++], invocation); 1567s # if (info->pass_fdlist) 1567s # { 1567s # #ifdef G_OS_UNIX 1567s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1567s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1567s # #else 1567s # g_assert_not_reached (); 1567s # #endif 1567s # } 1567s # g_variant_iter_init (&iter, parameters); 1567s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1567s # { 1567s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1567s # if (arg_info->use_gvariant) 1567s # { 1567s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1567s # g_value_set_variant (¶mv[n], child); 1567s # n++; 1567s # } 1567s # else 1567s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1567s # g_variant_unref (child); 1567s # } 1567s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1567s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1567s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1567s # if (!g_value_get_boolean (&return_value)) 1567s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1567s # g_value_unset (&return_value); 1567s # for (n = 0; n < num_params + num_extra; n++) 1567s # g_value_unset (¶mv[n]); 1567s # g_free (paramv); 1567s # } 1567s # 1567s # static GVariant * 1567s # _org_project_useful_interface_skeleton_handle_get_property ( 1567s # GDBusConnection *connection G_GNUC_UNUSED, 1567s # const gchar *sender G_GNUC_UNUSED, 1567s # const gchar *object_path G_GNUC_UNUSED, 1567s # const gchar *interface_name G_GNUC_UNUSED, 1567s # const gchar *property_name, 1567s # GError **error, 1567s # gpointer user_data) 1567s # { 1567s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1567s # GValue value = G_VALUE_INIT; 1567s # GParamSpec *pspec; 1567s # _ExtendedGDBusPropertyInfo *info; 1567s # GVariant *ret; 1567s # ret = NULL; 1567s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1567s # g_assert (info != NULL); 1567s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1567s # if (pspec == NULL) 1567s # { 1567s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1567s # } 1567s # else 1567s # { 1567s # g_value_init (&value, pspec->value_type); 1567s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1567s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1567s # g_value_unset (&value); 1567s # } 1567s # return ret; 1567s # } 1567s # 1567s # static gboolean 1567s # _org_project_useful_interface_skeleton_handle_set_property ( 1567s # GDBusConnection *connection G_GNUC_UNUSED, 1567s # const gchar *sender G_GNUC_UNUSED, 1567s # const gchar *object_path G_GNUC_UNUSED, 1567s # const gchar *interface_name G_GNUC_UNUSED, 1567s # const gchar *property_name, 1567s # GVariant *variant, 1567s # GError **error, 1567s # gpointer user_data) 1567s # { 1567s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1567s # GValue value = G_VALUE_INIT; 1567s # GParamSpec *pspec; 1567s # _ExtendedGDBusPropertyInfo *info; 1567s # gboolean ret; 1567s # ret = FALSE; 1567s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1567s # g_assert (info != NULL); 1567s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1567s # if (pspec == NULL) 1567s # { 1567s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1567s # } 1567s # else 1567s # { 1567s # if (info->use_gvariant) 1567s # g_value_set_variant (&value, variant); 1567s # else 1567s # g_dbus_gvariant_to_gvalue (variant, &value); 1567s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1567s # g_value_unset (&value); 1567s # ret = TRUE; 1567s # } 1567s # return ret; 1567s # } 1567s # 1567s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1567s # { 1567s # _org_project_useful_interface_skeleton_handle_method_call, 1567s # _org_project_useful_interface_skeleton_handle_get_property, 1567s # _org_project_useful_interface_skeleton_handle_set_property, 1567s # {NULL} 1567s # }; 1567s # 1567s # static GDBusInterfaceInfo * 1567s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1567s # { 1567s # return org_project_useful_interface_interface_info (); 1567s # } 1567s # 1567s # static GDBusInterfaceVTable * 1567s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1567s # { 1567s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1567s # } 1567s # 1567s # static GVariant * 1567s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1567s # { 1567s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1567s # 1567s # GVariantBuilder builder; 1567s # guint n; 1567s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1567s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1567s # goto out; 1567s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1567s # { 1567s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1567s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1567s # { 1567s # GVariant *value; 1567s # 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); 1567s # if (value != NULL) 1567s # { 1567s # g_variant_take_ref (value); 1567s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1567s # g_variant_unref (value); 1567s # } 1567s # } 1567s # } 1567s # out: 1567s # return g_variant_builder_end (&builder); 1567s # } 1567s # 1567s # static void 1567s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1567s # { 1567s # } 1567s # 1567s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1567s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1567s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1567s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1567s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1567s # 1567s # #else 1567s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1567s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1567s # 1567s # #endif 1567s # static void 1567s # org_project_useful_interface_skeleton_finalize (GObject *object) 1567s # { 1567s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1567s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1567s # if (skeleton->priv->changed_properties_idle_source != NULL) 1567s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1567s # g_main_context_unref (skeleton->priv->context); 1567s # g_mutex_clear (&skeleton->priv->lock); 1567s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1567s # } 1567s # 1567s # static void 1567s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1567s # { 1567s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1567s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1567s # #else 1567s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1567s # #endif 1567s # 1567s # g_mutex_init (&skeleton->priv->lock); 1567s # skeleton->priv->context = g_main_context_ref_thread_default (); 1567s # } 1567s # 1567s # static void 1567s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1567s # { 1567s # GObjectClass *gobject_class; 1567s # GDBusInterfaceSkeletonClass *skeleton_class; 1567s # 1567s # gobject_class = G_OBJECT_CLASS (klass); 1567s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1567s # 1567s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1567s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1567s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1567s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1567s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1567s # 1567s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1567s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1567s # #endif 1567s # } 1567s # 1567s # static void 1567s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1567s # { 1567s # } 1567s # 1567s # /** 1567s # * org_project_useful_interface_skeleton_new: 1567s # * 1567s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1567s # * 1567s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1567s # */ 1567s # OrgProjectUsefulInterface * 1567s # org_project_useful_interface_skeleton_new (void) 1567s # { 1567s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1567s # } 1567s # /tmp/tmp6r0268hb/tmp9ykl16pq.xml: 1567s # 1567s # 1567s # 1567s # 1567s # 1567s # 1567s # 1567s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp6r0268hb/tmp9ykl16pq.xml', '--output', '-', '--body'] 1567s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-baqskmurxn,guid=fbaffe99d0ccb1f6e1beb84865fc01cd', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.YcZbqk/autopkgtest_tmp', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.YcZbqk/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.YcZbqk/autopkgtest_tmp', 'TERM': 'unknown', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.YcZbqk/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.sVTVMp0Db0', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.rqZsJO/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.YcZbqk/wrapper.sh --artifacts=/tmp/autopkgtest.YcZbqk/installed-tests-artifacts --chdir=/tmp/autopkgtest.YcZbqk/build.S0E/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.YcZbqk/installed-tests-stderr --stdout=/tmp/autopkgtest.YcZbqk/installed-tests-stdout --tmp=/tmp/autopkgtest.YcZbqk/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2' --make-executable=/tmp/autopkgtest.YcZbqk/build.S0E/src/debian/tests/installed-tests -- /tmp/autopkgtest.YcZbqk/build.S0E/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.YcZbqk/build.S0E/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.YcZbqk/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1567s # Output: /* 1567s # * This file is generated by gdbus-codegen, do not modify it. 1567s # * 1567s # * The license of this code is the same as for the D-Bus interface description 1567s # * it was derived from. Note that it links to GLib, so must comply with the 1567s # * LGPL linking clauses. 1567s # */ 1567s # 1567s # #ifdef HAVE_CONFIG_H 1567s # # include "config.h" 1567s # #endif 1567s # 1567s # #include 1567s # #ifdef G_OS_UNIX 1567s # # include 1567s # #endif 1567s # 1567s # #ifdef G_ENABLE_DEBUG 1567s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1567s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1567s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1567s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1567s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1567s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1567s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1567s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1567s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1567s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1567s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1567s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1567s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1567s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1567s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1567s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1567s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1567s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1567s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1567s # #else /* !G_ENABLE_DEBUG */ 1567s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1567s # * Do not access GValues directly in your code. Instead, use the 1567s # * g_value_get_*() functions 1567s # */ 1567s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1567s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1567s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1567s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1567s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1567s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1567s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1567s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1567s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1567s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1567s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1567s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1567s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1567s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1567s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1567s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1567s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1567s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1567s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1567s # #endif /* !G_ENABLE_DEBUG */ 1567s # 1567s # typedef struct 1567s # { 1567s # GDBusArgInfo parent_struct; 1567s # gboolean use_gvariant; 1567s # } _ExtendedGDBusArgInfo; 1567s # 1567s # typedef struct 1567s # { 1567s # GDBusMethodInfo parent_struct; 1567s # const gchar *signal_name; 1567s # gboolean pass_fdlist; 1567s # } _ExtendedGDBusMethodInfo; 1567s # 1567s # typedef struct 1567s # { 1567s # GDBusSignalInfo parent_struct; 1567s # const gchar *signal_name; 1567s # } _ExtendedGDBusSignalInfo; 1567s # 1567s # typedef struct 1567s # { 1567s # GDBusPropertyInfo parent_struct; 1567s # const gchar *hyphen_name; 1567s # guint use_gvariant : 1; 1567s # guint emits_changed_signal : 1; 1567s # } _ExtendedGDBusPropertyInfo; 1567s # 1567s # typedef struct 1567s # { 1567s # GDBusInterfaceInfo parent_struct; 1567s # const gchar *hyphen_name; 1567s # } _ExtendedGDBusInterfaceInfo; 1567s # 1567s # typedef struct 1567s # { 1567s # const _ExtendedGDBusPropertyInfo *info; 1567s # guint prop_id; 1567s # GValue orig_value; /* the value before the change */ 1567s # } ChangedProperty; 1567s # 1567s # static void 1567s # _changed_property_free (ChangedProperty *data) 1567s # { 1567s # g_value_unset (&data->orig_value); 1567s # g_free (data); 1567s # } 1567s # 1567s # static gboolean 1567s # _g_strv_equal0 (gchar **a, gchar **b) 1567s # { 1567s # gboolean ret = FALSE; 1567s # guint n; 1567s # if (a == NULL && b == NULL) 1567s # { 1567s # ret = TRUE; 1567s # goto out; 1567s # } 1567s # if (a == NULL || b == NULL) 1567s # goto out; 1567s # if (g_strv_length (a) != g_strv_length (b)) 1567s # goto out; 1567s # for (n = 0; a[n] != NULL; n++) 1567s # if (g_strcmp0 (a[n], b[n]) != 0) 1567s # goto out; 1567s # ret = TRUE; 1567s # out: 1567s # return ret; 1567s # } 1567s # 1567s # static gboolean 1567s # _g_variant_equal0 (GVariant *a, GVariant *b) 1567s # { 1567s # gboolean ret = FALSE; 1567s # if (a == NULL && b == NULL) 1567s # { 1567s # ret = TRUE; 1567s # goto out; 1567s # } 1567s # if (a == NULL || b == NULL) 1567s # goto out; 1567s # ret = g_variant_equal (a, b); 1567s # out: 1567s # return ret; 1567s # } 1567s # 1567s # G_GNUC_UNUSED static gboolean 1567s # _g_value_equal (const GValue *a, const GValue *b) 1567s # { 1567s # gboolean ret = FALSE; 1567s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1567s # switch (G_VALUE_TYPE (a)) 1567s # { 1567s # case G_TYPE_BOOLEAN: 1567s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1567s # break; 1567s # case G_TYPE_UCHAR: 1567s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1567s # break; 1567s # case G_TYPE_INT: 1567s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1567s # break; 1567s # case G_TYPE_UINT: 1567s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1567s # break; 1567s # case G_TYPE_INT64: 1567s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1567s # break; 1567s # case G_TYPE_UINT64: 1567s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1567s # break; 1567s # case G_TYPE_DOUBLE: 1567s # { 1567s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1567s # gdouble da = g_value_get_double (a); 1567s # gdouble db = g_value_get_double (b); 1567s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1567s # } 1567s # break; 1567s # case G_TYPE_STRING: 1567s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1567s # break; 1567s # case G_TYPE_VARIANT: 1567s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1567s # break; 1567s # default: 1567s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1567s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1567s # else 1567s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1567s # break; 1567s # } 1567s # return ret; 1567s # } 1567s # 1567s # static void 1567s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 1567s # GClosure *closure, 1567s # GValue *return_value, 1567s # unsigned int n_param_values, 1567s # const GValue *param_values, 1567s # void *invocation_hint G_GNUC_UNUSED, 1567s # void *marshal_data) 1567s # { 1567s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 1567s # (void *data1, 1567s # GDBusMethodInvocation *arg_method_invocation, 1567s # void *data2); 1567s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 1567s # GCClosure *cc = (GCClosure*) closure; 1567s # void *data1, *data2; 1567s # gboolean v_return; 1567s # 1567s # g_return_if_fail (return_value != NULL); 1567s # g_return_if_fail (n_param_values == 2); 1567s # 1567s # if (G_CCLOSURE_SWAP_DATA (closure)) 1567s # { 1567s # data1 = closure->data; 1567s # data2 = g_value_peek_pointer (param_values + 0); 1567s # } 1567s # else 1567s # { 1567s # data1 = g_value_peek_pointer (param_values + 0); 1567s # data2 = closure->data; 1567s # } 1567s # 1567s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 1567s # (marshal_data ? marshal_data : cc->callback); 1567s # 1567s # v_return = 1567s # callback (data1, 1567s # g_marshal_value_peek_object (param_values + 1), 1567s # data2); 1567s # 1567s # g_value_set_boolean (return_value, v_return); 1567s # } 1567s # 1567s # /* ------------------------------------------------------------------------ 1567s # * Code for interface org.project.UsefulInterface 1567s # * ------------------------------------------------------------------------ 1567s # */ 1567s # 1567s # /** 1567s # * SECTION:OrgProjectUsefulInterface 1567s # * @title: OrgProjectUsefulInterface 1567s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1567s # * 1567s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1567s # */ 1567s # 1567s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1567s # 1567s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_y_OUT_ARG_arg_y = 1567s # { 1567s # { 1567s # -1, 1567s # (gchar *) "arg_y", 1567s # (gchar *) "y", 1567s # NULL 1567s # }, 1567s # FALSE 1567s # }; 1567s # 1567s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_y_OUT_ARG_pointers[] = 1567s # { 1567s # &_org_project_useful_interface_method_info_single_arg_method_y_OUT_ARG_arg_y.parent_struct, 1567s # NULL 1567s # }; 1567s # 1567s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_y = 1567s # { 1567s # { 1567s # -1, 1567s # (gchar *) "SingleArgMethodY", 1567s # NULL, 1567s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_y_OUT_ARG_pointers, 1567s # NULL 1567s # }, 1567s # "handle-single-arg-method-y", 1567s # FALSE 1567s # }; 1567s # 1567s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1567s # { 1567s # &_org_project_useful_interface_method_info_single_arg_method_y.parent_struct, 1567s # NULL 1567s # }; 1567s # 1567s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1567s # { 1567s # { 1567s # -1, 1567s # (gchar *) "org.project.UsefulInterface", 1567s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1567s # NULL, 1567s # NULL, 1567s # NULL 1567s # }, 1567s # "org-project-useful-interface", 1567s # }; 1567s # 1567s # 1567s # /** 1567s # * org_project_useful_interface_interface_info: 1567s # * 1567s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1567s # * 1567s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1567s # */ 1567s # GDBusInterfaceInfo * 1567s # org_project_useful_interface_interface_info (void) 1567s # { 1567s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1567s # } 1567s # 1567s # /** 1567s # * org_project_useful_interface_override_properties: 1567s # * @klass: The class structure for a #GObject derived class. 1567s # * @property_id_begin: The property id to assign to the first overridden property. 1567s # * 1567s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1567s # * The properties are overridden in the order they are defined. 1567s # * 1567s # * Returns: The last property id. 1567s # */ 1567s # guint 1567s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1567s # { 1567s # return property_id_begin - 1; 1567s # } 1567s # 1567s # 1567s # inline static void 1567s # org_project_useful_interface_method_marshal_single_arg_method_y ( 1567s # GClosure *closure, 1567s # GValue *return_value, 1567s # unsigned int n_param_values, 1567s # const GValue *param_values, 1567s # void *invocation_hint, 1567s # void *marshal_data) 1567s # { 1567s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1567s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1567s # } 1567s # 1567s # 1567s # /** 1567s # * OrgProjectUsefulInterface: 1567s # * 1567s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1567s # */ 1567s # 1567s # /** 1567s # * OrgProjectUsefulInterfaceIface: 1567s # * @parent_iface: The parent interface. 1567s # * @handle_single_arg_method_y: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-y signal. 1567s # * 1567s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1567s # */ 1567s # 1567s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1567s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1567s # 1567s # static void 1567s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1567s # { 1567s # /* GObject signals for incoming D-Bus method calls: */ 1567s # /** 1567s # * OrgProjectUsefulInterface::handle-single-arg-method-y: 1567s # * @object: A #OrgProjectUsefulInterface. 1567s # * @invocation: A #GDBusMethodInvocation. 1567s # * 1567s # * Signal emitted when a remote caller is invoking the SingleArgMethodY() D-Bus method. 1567s # * 1567s # * 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. 1567s # * 1567s # * 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. 1567s # */ 1567s # g_signal_new ("handle-single-arg-method-y", 1567s # G_TYPE_FROM_INTERFACE (iface), 1567s # G_SIGNAL_RUN_LAST, 1567s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_y), 1567s # g_signal_accumulator_true_handled, 1567s # NULL, 1567s # org_project_useful_interface_method_marshal_single_arg_method_y, 1567s # G_TYPE_BOOLEAN, 1567s # 1, 1567s # G_TYPE_DBUS_METHOD_INVOCATION); 1567s # 1567s # } 1567s # 1567s # /** 1567s # * org_project_useful_interface_call_single_arg_method_y: 1567s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1567s # * @cancellable: (nullable): A #GCancellable or %NULL. 1567s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1567s # * @user_data: User data to pass to @callback. 1567s # * 1567s # * Asynchronously invokes the SingleArgMethodY() D-Bus method on @proxy. 1567s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1567s # * You can then call org_project_useful_interface_call_single_arg_method_y_finish() to get the result of the operation. 1567s # * 1567s # * See org_project_useful_interface_call_single_arg_method_y_sync() for the synchronous, blocking version of this method. 1567s # */ 1567s # void 1567s # org_project_useful_interface_call_single_arg_method_y ( 1567s # OrgProjectUsefulInterface *proxy, 1567s # GCancellable *cancellable, 1567s # GAsyncReadyCallback callback, 1567s # gpointer user_data) 1567s # { 1567s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1567s # "SingleArgMethodY", 1567s # g_variant_new ("()"), 1567s # G_DBUS_CALL_FLAGS_NONE, 1567s # -1, 1567s # cancellable, 1567s # callback, 1567s # user_data); 1567s # } 1567s # 1567s # /** 1567s # * org_project_useful_interface_call_single_arg_method_y_finish: 1567s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1567s # * @out_arg_y: (out) (optional): Return location for return parameter or %NULL to ignore. 1567s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_y(). 1567s # * @error: Return location for error or %NULL. 1567s # * 1567s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_y(). 1567s # * 1567s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1567s # */ 1567s # gboolean 1567s # org_project_useful_interface_call_single_arg_method_y_finish ( 1567s # OrgProjectUsefulInterface *proxy, 1567s # guchar *out_arg_y, 1567s # GAsyncResult *res, 1567s # GError **error) 1567s # { 1567s # GVariant *_ret; 1567s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1567s # if (_ret == NULL) 1567s # goto _out; 1567s # g_variant_get (_ret, 1567s # "(y)", 1567s # out_arg_y); 1567s # g_variant_unref (_ret); 1567s # _out: 1567s # return _ret != NULL; 1567s # } 1567s # 1567s # /** 1567s # * org_project_useful_interface_call_single_arg_method_y_sync: 1567s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1567s # * @out_arg_y: (out) (optional): Return location for return parameter or %NULL to ignore. 1567s # * @cancellable: (nullable): A #GCancellable or %NULL. 1567s # * @error: Return location for error or %NULL. 1567s # * 1567s # * Synchronously invokes the SingleArgMethodY() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1567s # * 1567s # * See org_project_useful_interface_call_single_arg_method_y() for the asynchronous version of this method. 1567s # * 1567s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1567s # */ 1567s # gboolean 1567s # org_project_useful_interface_call_single_arg_method_y_sync ( 1567s # OrgProjectUsefulInterface *proxy, 1567s # guchar *out_arg_y, 1567s # GCancellable *cancellable, 1567s # GError **error) 1567s # { 1567s # GVariant *_ret; 1567s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1567s # "SingleArgMethodY", 1567s # g_variant_new ("()"), 1567s # G_DBUS_CALL_FLAGS_NONE, 1567s # -1, 1567s # cancellable, 1567s # error); 1567s # if (_ret == NULL) 1567s # goto _out; 1567s # g_variant_get (_ret, 1567s # "(y)", 1567s # out_arg_y); 1567s # g_variant_unref (_ret); 1567s # _out: 1567s # return _ret != NULL; 1567s # } 1567s # 1567s # /** 1567s # * org_project_useful_interface_complete_single_arg_method_y: 1567s # * @object: A #OrgProjectUsefulInterface. 1567s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1567s # * @arg_y: Parameter to return. 1567s # * 1567s # * 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. 1567s # * 1567s # * This method will free @invocation, you cannot use it afterwards. 1567s # */ 1567s # void 1567s # org_project_useful_interface_complete_single_arg_method_y ( 1567s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1567s # GDBusMethodInvocation *invocation, 1567s # guchar arg_y) 1567s # { 1567s # g_dbus_method_invocation_return_value (invocation, 1567s # g_variant_new ("(y)", 1567s # arg_y)); 1567s # } 1567s # 1567s # /* ------------------------------------------------------------------------ */ 1567s # 1567s # /** 1567s # * OrgProjectUsefulInterfaceProxy: 1567s # * 1567s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1567s # */ 1567s # 1567s # /** 1567s # * OrgProjectUsefulInterfaceProxyClass: 1567s # * @parent_class: The parent class. 1567s # * 1567s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1567s # */ 1567s # 1567s # struct _OrgProjectUsefulInterfaceProxyPrivate 1567s # { 1567s # GData *qdata; 1567s # }; 1567s # 1567s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1567s # 1567s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1567s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1567s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1567s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1567s # 1567s # #else 1567s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1567s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1567s # 1567s # #endif 1567s # static void 1567s # org_project_useful_interface_proxy_finalize (GObject *object) 1567s # { 1567s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1567s # g_datalist_clear (&proxy->priv->qdata); 1567s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1567s # } 1567s # 1567s # static void 1567s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1567s # guint prop_id G_GNUC_UNUSED, 1567s # GValue *value G_GNUC_UNUSED, 1567s # GParamSpec *pspec G_GNUC_UNUSED) 1567s # { 1567s # } 1567s # 1567s # static void 1567s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1567s # guint prop_id G_GNUC_UNUSED, 1567s # const GValue *value G_GNUC_UNUSED, 1567s # GParamSpec *pspec G_GNUC_UNUSED) 1567s # { 1567s # } 1567s # 1567s # static void 1567s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1567s # const gchar *sender_name G_GNUC_UNUSED, 1567s # const gchar *signal_name, 1567s # GVariant *parameters) 1567s # { 1567s # _ExtendedGDBusSignalInfo *info; 1567s # GVariantIter iter; 1567s # GVariant *child; 1567s # GValue *paramv; 1567s # gsize num_params; 1567s # gsize n; 1567s # guint signal_id; 1567s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1567s # if (info == NULL) 1567s # return; 1567s # num_params = g_variant_n_children (parameters); 1567s # paramv = g_new0 (GValue, num_params + 1); 1567s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1567s # g_value_set_object (¶mv[0], proxy); 1567s # g_variant_iter_init (&iter, parameters); 1567s # n = 1; 1567s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1567s # { 1567s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1567s # if (arg_info->use_gvariant) 1567s # { 1567s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1567s # g_value_set_variant (¶mv[n], child); 1567s # n++; 1567s # } 1567s # else 1567s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1567s # g_variant_unref (child); 1567s # } 1567s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1567s # g_signal_emitv (paramv, signal_id, 0, NULL); 1567s # for (n = 0; n < num_params + 1; n++) 1567s # g_value_unset (¶mv[n]); 1567s # g_free (paramv); 1567s # } 1567s # 1567s # static void 1567s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1567s # GVariant *changed_properties, 1567s # const gchar *const *invalidated_properties) 1567s # { 1567s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1567s # guint n; 1567s # const gchar *key; 1567s # GVariantIter *iter; 1567s # _ExtendedGDBusPropertyInfo *info; 1567s # g_variant_get (changed_properties, "a{sv}", &iter); 1567s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1567s # { 1567s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1567s # g_datalist_remove_data (&proxy->priv->qdata, key); 1567s # if (info != NULL) 1567s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1567s # } 1567s # g_variant_iter_free (iter); 1567s # for (n = 0; invalidated_properties[n] != NULL; n++) 1567s # { 1567s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1567s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1567s # if (info != NULL) 1567s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1567s # } 1567s # } 1567s # 1567s # static void 1567s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1567s # { 1567s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1567s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1567s # #else 1567s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1567s # #endif 1567s # 1567s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1567s # } 1567s # 1567s # static void 1567s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1567s # { 1567s # GObjectClass *gobject_class; 1567s # GDBusProxyClass *proxy_class; 1567s # 1567s # gobject_class = G_OBJECT_CLASS (klass); 1567s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1567s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1567s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1567s # 1567s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1567s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1567s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1567s # 1567s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1567s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1567s # #endif 1567s # } 1567s # 1567s # static void 1567s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1567s # { 1567s # } 1567s # 1567s # /** 1567s # * org_project_useful_interface_proxy_new: 1567s # * @connection: A #GDBusConnection. 1567s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1567s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1567s # * @object_path: An object path. 1567s # * @cancellable: (nullable): A #GCancellable or %NULL. 1567s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1567s # * @user_data: User data to pass to @callback. 1567s # * 1567s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1567s # * 1567s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1567s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1567s # * 1567s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1567s # */ 1567s # void 1567s # org_project_useful_interface_proxy_new ( 1567s # GDBusConnection *connection, 1567s # GDBusProxyFlags flags, 1567s # const gchar *name, 1567s # const gchar *object_path, 1567s # GCancellable *cancellable, 1567s # GAsyncReadyCallback callback, 1567s # gpointer user_data) 1567s # { 1567s # g_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); 1567s # } 1567s # 1567s # /** 1567s # * org_project_useful_interface_proxy_new_finish: 1567s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1567s # * @error: Return location for error or %NULL 1567s # * 1567s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1567s # * 1567s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1567s # */ 1567s # OrgProjectUsefulInterface * 1567s # org_project_useful_interface_proxy_new_finish ( 1567s # GAsyncResult *res, 1567s # GError **error) 1567s # { 1567s # GObject *ret; 1567s # GObject *source_object; 1567s # source_object = g_async_result_get_source_object (res); 1567s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1567s # g_object_unref (source_object); 1567s # if (ret != NULL) 1567s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1567s # else 1567s # return NULL; 1567s # } 1567s # 1567s # /** 1567s # * org_project_useful_interface_proxy_new_sync: 1567s # * @connection: A #GDBusConnection. 1567s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1567s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1567s # * @object_path: An object path. 1567s # * @cancellable: (nullable): A #GCancellable or %NULL. 1567s # * @error: Return location for error or %NULL 1567s # * 1567s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1567s # * 1567s # * The calling thread is blocked until a reply is received. 1567s # * 1567s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1567s # * 1567s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1567s # */ 1567s # OrgProjectUsefulInterface * 1567s # org_project_useful_interface_proxy_new_sync ( 1567s # GDBusConnection *connection, 1567s # GDBusProxyFlags flags, 1567s # const gchar *name, 1567s # const gchar *object_path, 1567s # GCancellable *cancellable, 1567s # GError **error) 1567s # { 1567s # GInitable *ret; 1567s # 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); 1567s # if (ret != NULL) 1567s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1567s # else 1567s # return NULL; 1567s # } 1567s # 1567s # 1567s # /** 1567s # * org_project_useful_interface_proxy_new_for_bus: 1567s # * @bus_type: A #GBusType. 1567s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1567s # * @name: A bus name (well-known or unique). 1567s # * @object_path: An object path. 1567s # * @cancellable: (nullable): A #GCancellable or %NULL. 1567s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1567s # * @user_data: User data to pass to @callback. 1567s # * 1567s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1567s # * 1567s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1567s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1567s # * 1567s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1567s # */ 1567s # void 1567s # org_project_useful_interface_proxy_new_for_bus ( 1567s # GBusType bus_type, 1567s # GDBusProxyFlags flags, 1567s # const gchar *name, 1567s # const gchar *object_path, 1567s # GCancellable *cancellable, 1567s # GAsyncReadyCallback callback, 1567s # gpointer user_data) 1567s # { 1567s # g_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); 1567s # } 1567s # 1567s # /** 1567s # * org_project_useful_interface_proxy_new_for_bus_finish: 1567s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1567s # * @error: Return location for error or %NULL 1567s # * 1567s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1567s # * 1567s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1567s # */ 1567s # OrgProjectUsefulInterface * 1567s # org_project_useful_interface_proxy_new_for_bus_finish ( 1567s # GAsyncResult *res, 1567s # GError **error) 1567s # { 1567s # GObject *ret; 1567s # GObject *source_object; 1567s # source_object = g_async_result_get_source_object (res); 1567s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1567s # g_object_unref (source_object); 1567s # if (ret != NULL) 1567s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1567s # else 1567s # return NULL; 1567s # } 1567s # 1567s # /** 1567s # * org_project_useful_interface_proxy_new_for_bus_sync: 1567s # * @bus_type: A #GBusType. 1567s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1567s # * @name: A bus name (well-known or unique). 1567s # * @object_path: An object path. 1567s # * @cancellable: (nullable): A #GCancellable or %NULL. 1567s # * @error: Return location for error or %NULL 1567s # * 1567s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1567s # * 1567s # * The calling thread is blocked until a reply is received. 1567s # * 1567s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1567s # * 1567s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1567s # */ 1567s # OrgProjectUsefulInterface * 1567s # org_project_useful_interface_proxy_new_for_bus_sync ( 1567s # GBusType bus_type, 1567s # GDBusProxyFlags flags, 1567s # const gchar *name, 1567s # const gchar *object_path, 1567s # GCancellable *cancellable, 1567s # GError **error) 1567s # { 1567s # GInitable *ret; 1567s # 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); 1567s # if (ret != NULL) 1567s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1567s # else 1567s # return NULL; 1567s # } 1567s # 1567s # 1567s # /* ------------------------------------------------------------------------ */ 1567s # 1567s # /** 1567s # * OrgProjectUsefulInterfaceSkeleton: 1567s # * 1567s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1567s # */ 1567s # 1567s # /** 1567s # * OrgProjectUsefulInterfaceSkeletonClass: 1567s # * @parent_class: The parent class. 1567s # * 1567s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1567s # */ 1567s # 1567s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1567s # { 1567s # GValue *properties; 1567s # GList *changed_properties; 1567s # GSource *changed_properties_idle_source; 1567s # GMainContext *context; 1567s # GMutex lock; 1567s # }; 1567s # 1567s # static void 1567s # _org_project_useful_interface_skeleton_handle_method_call ( 1567s # GDBusConnection *connection G_GNUC_UNUSED, 1567s # const gchar *sender G_GNUC_UNUSED, 1567s # const gchar *object_path G_GNUC_UNUSED, 1567s # const gchar *interface_name, 1567s # const gchar *method_name, 1567s # GVariant *parameters, 1567s # GDBusMethodInvocation *invocation, 1567s # gpointer user_data) 1567s # { 1567s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1567s # _ExtendedGDBusMethodInfo *info; 1567s # GVariantIter iter; 1567s # GVariant *child; 1567s # GValue *paramv; 1567s # gsize num_params; 1567s # guint num_extra; 1567s # gsize n; 1567s # guint signal_id; 1567s # GValue return_value = G_VALUE_INIT; 1567s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1567s # g_assert (info != NULL); 1567s # num_params = g_variant_n_children (parameters); 1567s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1567s # n = 0; 1567s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1567s # g_value_set_object (¶mv[n++], skeleton); 1567s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1567s # g_value_set_object (¶mv[n++], invocation); 1567s # if (info->pass_fdlist) 1567s # { 1567s # #ifdef G_OS_UNIX 1567s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1567s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1567s # #else 1567s # g_assert_not_reached (); 1567s # #endif 1567s # } 1567s # g_variant_iter_init (&iter, parameters); 1567s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1567s # { 1567s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1567s # if (arg_info->use_gvariant) 1567s # { 1567s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1567s # g_value_set_variant (¶mv[n], child); 1567s # n++; 1567s # } 1567s # else 1567s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1567s # g_variant_unref (child); 1567s # } 1567s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1567s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1567s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1567s # if (!g_value_get_boolean (&return_value)) 1567s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1567s # g_value_unset (&return_value); 1567s # for (n = 0; n < num_params + num_extra; n++) 1567s # g_value_unset (¶mv[n]); 1567s # g_free (paramv); 1567s # } 1567s # 1567s # static GVariant * 1567s # _org_project_useful_interface_skeleton_handle_get_property ( 1567s # GDBusConnection *connection G_GNUC_UNUSED, 1567s # const gchar *sender G_GNUC_UNUSED, 1567s # const gchar *object_path G_GNUC_UNUSED, 1567s # const gchar *interface_name G_GNUC_UNUSED, 1567s # const gchar *property_name, 1567s # GError **error, 1567s # gpointer user_data) 1567s # { 1567s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1567s # GValue value = G_VALUE_INIT; 1567s # GParamSpec *pspec; 1567s # _ExtendedGDBusPropertyInfo *info; 1567s # GVariant *ret; 1567s # ret = NULL; 1567s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1567s # g_assert (info != NULL); 1567s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1567s # if (pspec == NULL) 1567s # { 1567s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1567s # } 1567s # else 1567s # { 1567s # g_value_init (&value, pspec->value_type); 1567s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1567s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1567s # g_value_unset (&value); 1567s # } 1567s # return ret; 1567s # } 1567s # 1567s # static gboolean 1567s # _org_project_useful_interface_skeleton_handle_set_property ( 1567s # GDBusConnection *connection G_GNUC_UNUSED, 1567s # const gchar *sender G_GNUC_UNUSED, 1567s # const gchar *object_path G_GNUC_UNUSED, 1567s # const gchar *interface_name G_GNUC_UNUSED, 1567s # const gchar *property_name, 1567s # GVariant *variant, 1567s # GError **error, 1567s # gpointer user_data) 1567s # { 1567s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1567s # GValue value = G_VALUE_INIT; 1567s # GParamSpec *pspec; 1567s # _ExtendedGDBusPropertyInfo *info; 1567s # gboolean ret; 1567s # ret = FALSE; 1567s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1567s # g_assert (info != NULL); 1567s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1567s # if (pspec == NULL) 1567s # { 1567s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1567s # } 1567s # else 1567s # { 1567s # if (info->use_gvariant) 1567s # g_value_set_variant (&value, variant); 1567s # else 1567s # g_dbus_gvariant_to_gvalue (variant, &value); 1567s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1567s # g_value_unset (&value); 1567s # ret = TRUE; 1567s # } 1567s # return ret; 1567s # } 1567s # 1567s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1567s # { 1567s # _org_project_useful_interface_skeleton_handle_method_call, 1567s # _org_project_useful_interface_skeleton_handle_get_property, 1567s # _org_project_useful_interface_skeleton_handle_set_property, 1567s # {NULL} 1567s # }; 1567s # 1567s # static GDBusInterfaceInfo * 1567s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1567s # { 1567s # return org_project_useful_interface_interface_info (); 1567s # } 1567s # 1567s # static GDBusInterfaceVTable * 1567s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1567s # { 1567s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1567s # } 1567s # 1567s # static GVariant * 1567s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1567s # { 1567s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1567s # 1567s # GVariantBuilder builder; 1567s # guint n; 1567s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1567s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1567s # goto out; 1567s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1567s # { 1567s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1567s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1567s # { 1567s # GVariant *value; 1567s # 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); 1567s # if (value != NULL) 1567s # { 1567s # g_variant_take_ref (value); 1567s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1567s # g_variant_unref (value); 1567s # } 1567s # } 1567s # } 1567s # out: 1567s # return g_variant_builder_end (&builder); 1567s # } 1567s # 1567s # static void 1567s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1567s # { 1567s # } 1567s # 1567s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1567s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1567s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1567s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1567s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1567s # 1567s # #else 1567s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1567s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1567s # 1567s # #endif 1567s # static void 1567s # org_project_useful_interface_skeleton_finalize (GObject *object) 1567s # { 1567s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1567s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1567s # if (skeleton->priv->changed_properties_idle_source != NULL) 1567s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1567s # g_main_context_unref (skeleton->priv->context); 1567s # g_mutex_clear (&skeleton->priv->lock); 1567s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1567s # } 1567s # 1567s # static void 1567s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1567s # { 1567s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1567s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1567s # #else 1567s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1567s # #endif 1567s # 1567s # g_mutex_init (&skeleton->priv->lock); 1567s # skeleton->priv->context = g_main_context_ref_thread_default (); 1567s # } 1567s # 1567s # static void 1567s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1567s # { 1567s # GObjectClass *gobject_class; 1567s # GDBusInterfaceSkeletonClass *skeleton_class; 1567s # 1567s # gobject_class = G_OBJECT_CLASS (klass); 1567s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1567s # 1567s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1567s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1567s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1567s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1567s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1567s # 1567s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1567s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1567s # #endif 1567s # } 1567s # 1567s # static void 1567s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1567s # { 1567s # } 1567s # 1567s # /** 1567s # * org_project_useful_interface_skeleton_new: 1567s # * 1567s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1567s # * 1567s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1567s # */ 1567s # OrgProjectUsefulInterface * 1567s # org_project_useful_interface_skeleton_new (void) 1567s # { 1567s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1567s # } 1567s # /tmp/tmp6r0268hb/tmplmak5e8u.xml: 1567s # 1567s # 1567s # 1567s # 1567s # 1567s # 1567s # 1567s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp6r0268hb/tmplmak5e8u.xml', '--output', '-', '--body'] 1567s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-baqskmurxn,guid=fbaffe99d0ccb1f6e1beb84865fc01cd', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.YcZbqk/autopkgtest_tmp', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.YcZbqk/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.YcZbqk/autopkgtest_tmp', 'TERM': 'unknown', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.YcZbqk/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.sVTVMp0Db0', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.rqZsJO/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.YcZbqk/wrapper.sh --artifacts=/tmp/autopkgtest.YcZbqk/installed-tests-artifacts --chdir=/tmp/autopkgtest.YcZbqk/build.S0E/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.YcZbqk/installed-tests-stderr --stdout=/tmp/autopkgtest.YcZbqk/installed-tests-stdout --tmp=/tmp/autopkgtest.YcZbqk/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2' --make-executable=/tmp/autopkgtest.YcZbqk/build.S0E/src/debian/tests/installed-tests -- /tmp/autopkgtest.YcZbqk/build.S0E/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.YcZbqk/build.S0E/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.YcZbqk/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1567s # Output: /* 1567s # * This file is generated by gdbus-codegen, do not modify it. 1567s # * 1567s # * The license of this code is the same as for the D-Bus interface description 1567s # * it was derived from. Note that it links to GLib, so must comply with the 1567s # * LGPL linking clauses. 1567s # */ 1567s # 1567s # #ifdef HAVE_CONFIG_H 1567s # # include "config.h" 1567s # #endif 1567s # 1567s # #include 1567s # #ifdef G_OS_UNIX 1567s # # include 1567s # #endif 1567s # 1567s # #ifdef G_ENABLE_DEBUG 1567s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1567s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1567s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1567s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1567s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1567s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1567s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1567s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1567s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1567s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1567s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1567s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1567s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1567s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1567s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1567s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1567s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1567s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1567s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1567s # #else /* !G_ENABLE_DEBUG */ 1567s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1567s # * Do not access GValues directly in your code. Instead, use the 1567s # * g_value_get_*() functions 1567s # */ 1567s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1567s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1567s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1567s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1567s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1567s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1567s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1567s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1567s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1567s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1567s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1567s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1567s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1567s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1567s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1567s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1567s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1567s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1567s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1567s # #endif /* !G_ENABLE_DEBUG */ 1567s # 1567s # typedef struct 1567s # { 1567s # GDBusArgInfo parent_struct; 1567s # gboolean use_gvariant; 1567s # } _ExtendedGDBusArgInfo; 1567s # 1567s # typedef struct 1567s # { 1567s # GDBusMethodInfo parent_struct; 1567s # const gchar *signal_name; 1567s # gboolean pass_fdlist; 1567s # } _ExtendedGDBusMethodInfo; 1567s # 1567s # typedef struct 1567s # { 1567s # GDBusSignalInfo parent_struct; 1567s # const gchar *signal_name; 1567s # } _ExtendedGDBusSignalInfo; 1567s # 1567s # typedef struct 1567s # { 1567s # GDBusPropertyInfo parent_struct; 1567s # const gchar *hyphen_name; 1567s # guint use_gvariant : 1; 1567s # guint emits_changed_signal : 1; 1567s # } _ExtendedGDBusPropertyInfo; 1567s # 1567s # typedef struct 1567s # { 1567s # GDBusInterfaceInfo parent_struct; 1567s # const gchar *hyphen_name; 1567s # } _ExtendedGDBusInterfaceInfo; 1567s # 1567s # typedef struct 1567s # { 1567s # const _ExtendedGDBusPropertyInfo *info; 1567s # guint prop_id; 1567s # GValue orig_value; /* the value before the change */ 1567s # } ChangedProperty; 1567s # 1567s # static void 1567s # _changed_property_free (ChangedProperty *data) 1567s # { 1567s # g_value_unset (&data->orig_value); 1567s # g_free (data); 1567s # } 1567s # 1567s # static gboolean 1567s # _g_strv_equal0 (gchar **a, gchar **b) 1567s # { 1567s # gboolean ret = FALSE; 1567s # guint n; 1567s # if (a == NULL && b == NULL) 1567s # { 1567s # ret = TRUE; 1567s # goto out; 1567s # } 1567s # if (a == NULL || b == NULL) 1567s # goto out; 1567s # if (g_strv_length (a) != g_strv_length (b)) 1567s # goto out; 1567s # for (n = 0; a[n] != NULL; n++) 1567s # if (g_strcmp0 (a[n], b[n]) != 0) 1567s # goto out; 1567s # ret = TRUE; 1567s # out: 1567s # return ret; 1567s # } 1567s # 1567s # static gboolean 1567s # _g_variant_equal0 (GVariant *a, GVariant *b) 1567s # { 1567s # gboolean ret = FALSE; 1567s # if (a == NULL && b == NULL) 1567s # { 1567s # ret = TRUE; 1567s # goto out; 1567s # } 1567s # if (a == NULL || b == NULL) 1567s # goto out; 1567s # ret = g_variant_equal (a, b); 1567s # out: 1567s # return ret; 1567s # } 1567s # 1567s # G_GNUC_UNUSED static gboolean 1567s # _g_value_equal (const GValue *a, const GValue *b) 1567s # { 1567s # gboolean ret = FALSE; 1567s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1567s # switch (G_VALUE_TYPE (a)) 1567s # { 1567s # case G_TYPE_BOOLEAN: 1567s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1567s # break; 1567s # case G_TYPE_UCHAR: 1567s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1567s # break; 1567s # case G_TYPE_INT: 1567s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1567s # break; 1567s # case G_TYPE_UINT: 1567s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1567s # break; 1567s # case G_TYPE_INT64: 1567s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1567s # break; 1567s # case G_TYPE_UINT64: 1567s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1567s # break; 1567s # case G_TYPE_DOUBLE: 1567s # { 1567s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1567s # gdouble da = g_value_get_double (a); 1567s # gdouble db = g_value_get_double (b); 1567s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1567s # } 1567s # break; 1567s # case G_TYPE_STRING: 1567s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1567s # break; 1567s # case G_TYPE_VARIANT: 1567s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1567s # break; 1567s # default: 1567s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1567s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1567s # else 1567s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1567s # break; 1567s # } 1567s # return ret; 1567s # } 1567s # 1567s # static void 1567s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 1567s # GClosure *closure, 1567s # GValue *return_value, 1567s # unsigned int n_param_values, 1567s # const GValue *param_values, 1567s # void *invocation_hint G_GNUC_UNUSED, 1567s # void *marshal_data) 1567s # { 1567s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 1567s # (void *data1, 1567s # GDBusMethodInvocation *arg_method_invocation, 1567s # void *data2); 1567s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 1567s # GCClosure *cc = (GCClosure*) closure; 1567s # void *data1, *data2; 1567s # gboolean v_return; 1567s # 1567s # g_return_if_fail (return_value != NULL); 1567s # g_return_if_fail (n_param_values == 2); 1567s # 1567s # if (G_CCLOSURE_SWAP_DATA (closure)) 1567s # { 1567s # data1 = closure->data; 1567s # data2 = g_value_peek_pointer (param_values + 0); 1567s # } 1567s # else 1567s # { 1567s # data1 = g_value_peek_pointer (param_values + 0); 1567s # data2 = closure->data; 1567s # } 1567s # 1567s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 1567s # (marshal_data ? marshal_data : cc->callback); 1567s # 1567s # v_return = 1567s # callback (data1, 1567s # g_marshal_value_peek_object (param_values + 1), 1567s # data2); 1567s # 1567s # g_value_set_boolean (return_value, v_return); 1567s # } 1567s # 1567s # /* ------------------------------------------------------------------------ 1567s # * Code for interface org.project.UsefulInterface 1567s # * ------------------------------------------------------------------------ 1567s # */ 1567s # 1567s # /** 1567s # * SECTION:OrgProjectUsefulInterface 1567s # * @title: OrgProjectUsefulInterface 1567s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1567s # * 1567s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1567s # */ 1567s # 1567s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1567s # 1567s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_n_OUT_ARG_arg_n = 1567s # { 1567s # { 1567s # -1, 1567s # (gchar *) "arg_n", 1567s # (gchar *) "n", 1567s # NULL 1567s # }, 1567s # FALSE 1567s # }; 1567s # 1567s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_n_OUT_ARG_pointers[] = 1567s # { 1567s # &_org_project_useful_interface_method_info_single_arg_method_n_OUT_ARG_arg_n.parent_struct, 1567s # NULL 1567s # }; 1567s # 1567s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_n = 1567s # { 1567s # { 1567s # -1, 1567s # (gchar *) "SingleArgMethodN", 1567s # NULL, 1567s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_n_OUT_ARG_pointers, 1567s # NULL 1567s # }, 1567s # "handle-single-arg-method-n", 1567s # FALSE 1567s # }; 1567s # 1567s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1567s # { 1567s # &_org_project_useful_interface_method_info_single_arg_method_n.parent_struct, 1567s # NULL 1567s # }; 1567s # 1567s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1567s # { 1567s # { 1567s # -1, 1567s # (gchar *) "org.project.UsefulInterface", 1567s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1567s # NULL, 1567s # NULL, 1567s # NULL 1567s # }, 1567s # "org-project-useful-interface", 1567s # }; 1567s # 1567s # 1567s # /** 1567s # * org_project_useful_interface_interface_info: 1567s # * 1567s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1567s # * 1567s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1567s # */ 1567s # GDBusInterfaceInfo * 1567s # org_project_useful_interface_interface_info (void) 1567s # { 1567s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1567s # } 1567s # 1567s # /** 1567s # * org_project_useful_interface_override_properties: 1567s # * @klass: The class structure for a #GObject derived class. 1567s # * @property_id_begin: The property id to assign to the first overridden property. 1567s # * 1567s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1567s # * The properties are overridden in the order they are defined. 1567s # * 1567s # * Returns: The last property id. 1567s # */ 1567s # guint 1567s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1567s # { 1567s # return property_id_begin - 1; 1567s # } 1567s # 1567s # 1567s # inline static void 1567s # org_project_useful_interface_method_marshal_single_arg_method_n ( 1567s # GClosure *closure, 1567s # GValue *return_value, 1567s # unsigned int n_param_values, 1567s # const GValue *param_values, 1567s # void *invocation_hint, 1567s # void *marshal_data) 1567s # { 1567s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1567s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1567s # } 1567s # 1567s # 1567s # /** 1567s # * OrgProjectUsefulInterface: 1567s # * 1567s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1567s # */ 1567s # 1567s # /** 1567s # * OrgProjectUsefulInterfaceIface: 1567s # * @parent_iface: The parent interface. 1567s # * @handle_single_arg_method_n: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-n signal. 1567s # * 1567s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1567s # */ 1567s # 1567s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1567s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1567s # 1567s # static void 1567s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1567s # { 1567s # /* GObject signals for incoming D-Bus method calls: */ 1567s # /** 1567s # * OrgProjectUsefulInterface::handle-single-arg-method-n: 1567s # * @object: A #OrgProjectUsefulInterface. 1567s # * @invocation: A #GDBusMethodInvocation. 1567s # * 1567s # * Signal emitted when a remote caller is invoking the SingleArgMethodN() D-Bus method. 1567s # * 1567s # * 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. 1567s # * 1567s # * 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. 1567s # */ 1567s # g_signal_new ("handle-single-arg-method-n", 1567s # G_TYPE_FROM_INTERFACE (iface), 1567s # G_SIGNAL_RUN_LAST, 1567s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_n), 1567s # g_signal_accumulator_true_handled, 1567s # NULL, 1567s # org_project_useful_interface_method_marshal_single_arg_method_n, 1567s # G_TYPE_BOOLEAN, 1567s # 1, 1567s # G_TYPE_DBUS_METHOD_INVOCATION); 1567s # 1567s # } 1567s # 1567s # /** 1567s # * org_project_useful_interface_call_single_arg_method_n: 1567s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1567s # * @cancellable: (nullable): A #GCancellable or %NULL. 1567s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1567s # * @user_data: User data to pass to @callback. 1567s # * 1567s # * Asynchronously invokes the SingleArgMethodN() D-Bus method on @proxy. 1567s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1567s # * You can then call org_project_useful_interface_call_single_arg_method_n_finish() to get the result of the operation. 1567s # * 1567s # * See org_project_useful_interface_call_single_arg_method_n_sync() for the synchronous, blocking version of this method. 1567s # */ 1567s # void 1567s # org_project_useful_interface_call_single_arg_method_n ( 1567s # OrgProjectUsefulInterface *proxy, 1567s # GCancellable *cancellable, 1567s # GAsyncReadyCallback callback, 1567s # gpointer user_data) 1567s # { 1567s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1567s # "SingleArgMethodN", 1567s # g_variant_new ("()"), 1567s # G_DBUS_CALL_FLAGS_NONE, 1567s # -1, 1567s # cancellable, 1567s # callback, 1567s # user_data); 1567s # } 1567s # 1567s # /** 1567s # * org_project_useful_interface_call_single_arg_method_n_finish: 1567s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1567s # * @out_arg_n: (out) (optional): Return location for return parameter or %NULL to ignore. 1567s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_n(). 1567s # * @error: Return location for error or %NULL. 1567s # * 1567s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_n(). 1567s # * 1567s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1567s # */ 1567s # gboolean 1567s # org_project_useful_interface_call_single_arg_method_n_finish ( 1567s # OrgProjectUsefulInterface *proxy, 1567s # gint16 *out_arg_n, 1567s # GAsyncResult *res, 1567s # GError **error) 1567s # { 1567s # GVariant *_ret; 1567s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1567s # if (_ret == NULL) 1567s # goto _out; 1567s # g_variant_get (_ret, 1567s # "(n)", 1567s # out_arg_n); 1567s # g_variant_unref (_ret); 1567s # _out: 1567s # return _ret != NULL; 1567s # } 1567s # 1567s # /** 1567s # * org_project_useful_interface_call_single_arg_method_n_sync: 1567s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1567s # * @out_arg_n: (out) (optional): Return location for return parameter or %NULL to ignore. 1567s # * @cancellable: (nullable): A #GCancellable or %NULL. 1567s # * @error: Return location for error or %NULL. 1567s # * 1567s # * Synchronously invokes the SingleArgMethodN() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1567s # * 1567s # * See org_project_useful_interface_call_single_arg_method_n() for the asynchronous version of this method. 1567s # * 1567s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1567s # */ 1567s # gboolean 1567s # org_project_useful_interface_call_single_arg_method_n_sync ( 1567s # OrgProjectUsefulInterface *proxy, 1567s # gint16 *out_arg_n, 1567s # GCancellable *cancellable, 1567s # GError **error) 1567s # { 1567s # GVariant *_ret; 1567s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1567s # "SingleArgMethodN", 1567s # g_variant_new ("()"), 1567s # G_DBUS_CALL_FLAGS_NONE, 1567s # -1, 1567s # cancellable, 1567s # error); 1567s # if (_ret == NULL) 1567s # goto _out; 1567s # g_variant_get (_ret, 1567s # "(n)", 1567s # out_arg_n); 1567s # g_variant_unref (_ret); 1567s # _out: 1567s # return _ret != NULL; 1567s # } 1567s # 1567s # /** 1567s # * org_project_useful_interface_complete_single_arg_method_n: 1567s # * @object: A #OrgProjectUsefulInterface. 1567s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1567s # * @arg_n: Parameter to return. 1567s # * 1567s # * 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. 1567s # * 1567s # * This method will free @invocation, you cannot use it afterwards. 1567s # */ 1567s # void 1567s # org_project_useful_interface_complete_single_arg_method_n ( 1567s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1567s # GDBusMethodInvocation *invocation, 1567s # gint16 arg_n) 1567s # { 1567s # g_dbus_method_invocation_return_value (invocation, 1567s # g_variant_new ("(n)", 1567s # arg_n)); 1567s # } 1567s # 1567s # /* ------------------------------------------------------------------------ */ 1567s # 1567s # /** 1567s # * OrgProjectUsefulInterfaceProxy: 1567s # * 1567s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1567s # */ 1567s # 1567s # /** 1567s # * OrgProjectUsefulInterfaceProxyClass: 1567s # * @parent_class: The parent class. 1567s # * 1567s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1567s # */ 1567s # 1567s # struct _OrgProjectUsefulInterfaceProxyPrivate 1567s # { 1567s # GData *qdata; 1567s # }; 1567s # 1567s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1567s # 1567s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1567s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1567s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1567s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1567s # 1567s # #else 1567s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1567s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1567s # 1567s # #endif 1567s # static void 1567s # org_project_useful_interface_proxy_finalize (GObject *object) 1567s # { 1567s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1567s # g_datalist_clear (&proxy->priv->qdata); 1567s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1567s # } 1567s # 1567s # static void 1567s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1567s # guint prop_id G_GNUC_UNUSED, 1567s # GValue *value G_GNUC_UNUSED, 1567s # GParamSpec *pspec G_GNUC_UNUSED) 1567s # { 1567s # } 1567s # 1567s # static void 1567s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1567s # guint prop_id G_GNUC_UNUSED, 1567s # const GValue *value G_GNUC_UNUSED, 1567s # GParamSpec *pspec G_GNUC_UNUSED) 1567s # { 1567s # } 1567s # 1567s # static void 1567s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1567s # const gchar *sender_name G_GNUC_UNUSED, 1567s # const gchar *signal_name, 1567s # GVariant *parameters) 1567s # { 1567s # _ExtendedGDBusSignalInfo *info; 1567s # GVariantIter iter; 1567s # GVariant *child; 1567s # GValue *paramv; 1567s # gsize num_params; 1567s # gsize n; 1567s # guint signal_id; 1567s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1567s # if (info == NULL) 1567s # return; 1567s # num_params = g_variant_n_children (parameters); 1567s # paramv = g_new0 (GValue, num_params + 1); 1567s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1567s # g_value_set_object (¶mv[0], proxy); 1567s # g_variant_iter_init (&iter, parameters); 1567s # n = 1; 1567s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1567s # { 1567s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1567s # if (arg_info->use_gvariant) 1567s # { 1567s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1567s # g_value_set_variant (¶mv[n], child); 1567s # n++; 1567s # } 1567s # else 1567s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1567s # g_variant_unref (child); 1567s # } 1567s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1567s # g_signal_emitv (paramv, signal_id, 0, NULL); 1567s # for (n = 0; n < num_params + 1; n++) 1567s # g_value_unset (¶mv[n]); 1567s # g_free (paramv); 1567s # } 1567s # 1567s # static void 1567s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1567s # GVariant *changed_properties, 1567s # const gchar *const *invalidated_properties) 1567s # { 1567s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1567s # guint n; 1567s # const gchar *key; 1567s # GVariantIter *iter; 1567s # _ExtendedGDBusPropertyInfo *info; 1567s # g_variant_get (changed_properties, "a{sv}", &iter); 1567s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1567s # { 1567s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1567s # g_datalist_remove_data (&proxy->priv->qdata, key); 1567s # if (info != NULL) 1567s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1567s # } 1567s # g_variant_iter_free (iter); 1567s # for (n = 0; invalidated_properties[n] != NULL; n++) 1567s # { 1567s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1567s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1567s # if (info != NULL) 1567s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1567s # } 1567s # } 1567s # 1567s # static void 1567s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1567s # { 1567s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1567s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1567s # #else 1567s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1567s # #endif 1567s # 1567s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1567s # } 1567s # 1567s # static void 1567s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1567s # { 1567s # GObjectClass *gobject_class; 1567s # GDBusProxyClass *proxy_class; 1567s # 1567s # gobject_class = G_OBJECT_CLASS (klass); 1567s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1567s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1567s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1567s # 1567s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1567s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1567s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1567s # 1567s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1567s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1567s # #endif 1567s # } 1567s # 1567s # static void 1567s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1567s # { 1567s # } 1567s # 1567s # /** 1567s # * org_project_useful_interface_proxy_new: 1567s # * @connection: A #GDBusConnection. 1567s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1567s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1567s # * @object_path: An object path. 1567s # * @cancellable: (nullable): A #GCancellable or %NULL. 1567s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1567s # * @user_data: User data to pass to @callback. 1567s # * 1567s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1567s # * 1567s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1567s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1567s # * 1567s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1567s # */ 1567s # void 1567s # org_project_useful_interface_proxy_new ( 1567s # GDBusConnection *connection, 1567s # GDBusProxyFlags flags, 1567s # const gchar *name, 1567s # const gchar *object_path, 1567s # GCancellable *cancellable, 1567s # GAsyncReadyCallback callback, 1567s # gpointer user_data) 1567s # { 1567s # g_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); 1567s # } 1567s # 1567s # /** 1567s # * org_project_useful_interface_proxy_new_finish: 1567s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1567s # * @error: Return location for error or %NULL 1567s # * 1567s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1567s # * 1567s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1567s # */ 1567s # OrgProjectUsefulInterface * 1567s # org_project_useful_interface_proxy_new_finish ( 1567s # GAsyncResult *res, 1567s # GError **error) 1567s # { 1567s # GObject *ret; 1567s # GObject *source_object; 1567s # source_object = g_async_result_get_source_object (res); 1567s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1567s # g_object_unref (source_object); 1567s # if (ret != NULL) 1567s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1567s # else 1567s # return NULL; 1567s # } 1567s # 1567s # /** 1567s # * org_project_useful_interface_proxy_new_sync: 1567s # * @connection: A #GDBusConnection. 1567s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1567s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1567s # * @object_path: An object path. 1567s # * @cancellable: (nullable): A #GCancellable or %NULL. 1567s # * @error: Return location for error or %NULL 1567s # * 1567s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1567s # * 1567s # * The calling thread is blocked until a reply is received. 1567s # * 1567s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1567s # * 1567s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1567s # */ 1567s # OrgProjectUsefulInterface * 1567s # org_project_useful_interface_proxy_new_sync ( 1567s # GDBusConnection *connection, 1567s # GDBusProxyFlags flags, 1567s # const gchar *name, 1567s # const gchar *object_path, 1567s # GCancellable *cancellable, 1567s # GError **error) 1567s # { 1567s # GInitable *ret; 1567s # 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); 1567s # if (ret != NULL) 1567s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1567s # else 1567s # return NULL; 1567s # } 1567s # 1567s # 1567s # /** 1567s # * org_project_useful_interface_proxy_new_for_bus: 1567s # * @bus_type: A #GBusType. 1567s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1567s # * @name: A bus name (well-known or unique). 1567s # * @object_path: An object path. 1567s # * @cancellable: (nullable): A #GCancellable or %NULL. 1567s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1567s # * @user_data: User data to pass to @callback. 1567s # * 1567s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1567s # * 1567s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1567s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1567s # * 1567s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1567s # */ 1567s # void 1567s # org_project_useful_interface_proxy_new_for_bus ( 1567s # GBusType bus_type, 1567s # GDBusProxyFlags flags, 1567s # const gchar *name, 1567s # const gchar *object_path, 1567s # GCancellable *cancellable, 1567s # GAsyncReadyCallback callback, 1567s # gpointer user_data) 1567s # { 1567s # g_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); 1567s # } 1567s # 1567s # /** 1567s # * org_project_useful_interface_proxy_new_for_bus_finish: 1567s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1567s # * @error: Return location for error or %NULL 1567s # * 1567s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1567s # * 1567s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1567s # */ 1567s # OrgProjectUsefulInterface * 1567s # org_project_useful_interface_proxy_new_for_bus_finish ( 1567s # GAsyncResult *res, 1567s # GError **error) 1567s # { 1567s # GObject *ret; 1567s # GObject *source_object; 1567s # source_object = g_async_result_get_source_object (res); 1567s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1567s # g_object_unref (source_object); 1567s # if (ret != NULL) 1567s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1567s # else 1567s # return NULL; 1567s # } 1567s # 1567s # /** 1567s # * org_project_useful_interface_proxy_new_for_bus_sync: 1567s # * @bus_type: A #GBusType. 1567s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1567s # * @name: A bus name (well-known or unique). 1567s # * @object_path: An object path. 1567s # * @cancellable: (nullable): A #GCancellable or %NULL. 1567s # * @error: Return location for error or %NULL 1567s # * 1567s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1567s # * 1567s # * The calling thread is blocked until a reply is received. 1567s # * 1567s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1567s # * 1567s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1567s # */ 1567s # OrgProjectUsefulInterface * 1567s # org_project_useful_interface_proxy_new_for_bus_sync ( 1567s # GBusType bus_type, 1567s # GDBusProxyFlags flags, 1567s # const gchar *name, 1567s # const gchar *object_path, 1567s # GCancellable *cancellable, 1567s # GError **error) 1567s # { 1567s # GInitable *ret; 1567s # 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); 1567s # if (ret != NULL) 1567s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1567s # else 1567s # return NULL; 1567s # } 1567s # 1567s # 1567s # /* ------------------------------------------------------------------------ */ 1567s # 1567s # /** 1567s # * OrgProjectUsefulInterfaceSkeleton: 1567s # * 1567s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1567s # */ 1567s # 1567s # /** 1567s # * OrgProjectUsefulInterfaceSkeletonClass: 1567s # * @parent_class: The parent class. 1567s # * 1567s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1567s # */ 1567s # 1567s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1567s # { 1567s # GValue *properties; 1567s # GList *changed_properties; 1567s # GSource *changed_properties_idle_source; 1567s # GMainContext *context; 1567s # GMutex lock; 1567s # }; 1567s # 1567s # static void 1567s # _org_project_useful_interface_skeleton_handle_method_call ( 1567s # GDBusConnection *connection G_GNUC_UNUSED, 1567s # const gchar *sender G_GNUC_UNUSED, 1567s # const gchar *object_path G_GNUC_UNUSED, 1567s # const gchar *interface_name, 1567s # const gchar *method_name, 1567s # GVariant *parameters, 1567s # GDBusMethodInvocation *invocation, 1567s # gpointer user_data) 1567s # { 1567s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1567s # _ExtendedGDBusMethodInfo *info; 1567s # GVariantIter iter; 1567s # GVariant *child; 1567s # GValue *paramv; 1567s # gsize num_params; 1567s # guint num_extra; 1567s # gsize n; 1567s # guint signal_id; 1567s # GValue return_value = G_VALUE_INIT; 1567s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1567s # g_assert (info != NULL); 1567s # num_params = g_variant_n_children (parameters); 1567s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1567s # n = 0; 1567s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1567s # g_value_set_object (¶mv[n++], skeleton); 1567s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1567s # g_value_set_object (¶mv[n++], invocation); 1567s # if (info->pass_fdlist) 1567s # { 1567s # #ifdef G_OS_UNIX 1567s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1567s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1567s # #else 1567s # g_assert_not_reached (); 1567s # #endif 1567s # } 1567s # g_variant_iter_init (&iter, parameters); 1567s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1567s # { 1567s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1567s # if (arg_info->use_gvariant) 1567s # { 1567s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1567s # g_value_set_variant (¶mv[n], child); 1567s # n++; 1567s # } 1567s # else 1567s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1567s # g_variant_unref (child); 1567s # } 1567s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1567s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1567s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1567s # if (!g_value_get_boolean (&return_value)) 1567s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1567s # g_value_unset (&return_value); 1567s # for (n = 0; n < num_params + num_extra; n++) 1567s # g_value_unset (¶mv[n]); 1567s # g_free (paramv); 1567s # } 1567s # 1567s # static GVariant * 1567s # _org_project_useful_interface_skeleton_handle_get_property ( 1567s # GDBusConnection *connection G_GNUC_UNUSED, 1567s # const gchar *sender G_GNUC_UNUSED, 1567s # const gchar *object_path G_GNUC_UNUSED, 1567s # const gchar *interface_name G_GNUC_UNUSED, 1567s # const gchar *property_name, 1567s # GError **error, 1567s # gpointer user_data) 1567s # { 1567s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1567s # GValue value = G_VALUE_INIT; 1567s # GParamSpec *pspec; 1567s # _ExtendedGDBusPropertyInfo *info; 1567s # GVariant *ret; 1567s # ret = NULL; 1567s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1567s # g_assert (info != NULL); 1567s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1567s # if (pspec == NULL) 1567s # { 1567s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1567s # } 1567s # else 1567s # { 1567s # g_value_init (&value, pspec->value_type); 1567s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1567s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1567s # g_value_unset (&value); 1567s # } 1567s # return ret; 1567s # } 1567s # 1567s # static gboolean 1567s # _org_project_useful_interface_skeleton_handle_set_property ( 1567s # GDBusConnection *connection G_GNUC_UNUSED, 1567s # const gchar *sender G_GNUC_UNUSED, 1567s # const gchar *object_path G_GNUC_UNUSED, 1567s # const gchar *interface_name G_GNUC_UNUSED, 1567s # const gchar *property_name, 1567s # GVariant *variant, 1567s # GError **error, 1567s # gpointer user_data) 1567s # { 1567s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1567s # GValue value = G_VALUE_INIT; 1567s # GParamSpec *pspec; 1567s # _ExtendedGDBusPropertyInfo *info; 1567s # gboolean ret; 1567s # ret = FALSE; 1567s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1567s # g_assert (info != NULL); 1567s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1567s # if (pspec == NULL) 1567s # { 1567s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1567s # } 1567s # else 1567s # { 1567s # if (info->use_gvariant) 1567s # g_value_set_variant (&value, variant); 1567s # else 1567s # g_dbus_gvariant_to_gvalue (variant, &value); 1567s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1567s # g_value_unset (&value); 1567s # ret = TRUE; 1567s # } 1567s # return ret; 1567s # } 1567s # 1567s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1567s # { 1567s # _org_project_useful_interface_skeleton_handle_method_call, 1567s # _org_project_useful_interface_skeleton_handle_get_property, 1567s # _org_project_useful_interface_skeleton_handle_set_property, 1567s # {NULL} 1567s # }; 1567s # 1567s # static GDBusInterfaceInfo * 1567s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1567s # { 1567s # return org_project_useful_interface_interface_info (); 1567s # } 1567s # 1567s # static GDBusInterfaceVTable * 1567s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1567s # { 1567s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1567s # } 1567s # 1567s # static GVariant * 1567s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1567s # { 1567s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1567s # 1567s # GVariantBuilder builder; 1567s # guint n; 1567s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1567s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1567s # goto out; 1567s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1567s # { 1567s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1567s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1567s # { 1567s # GVariant *value; 1567s # 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); 1567s # if (value != NULL) 1567s # { 1567s # g_variant_take_ref (value); 1567s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1567s # g_variant_unref (value); 1567s # } 1567s # } 1567s # } 1567s # out: 1567s # return g_variant_builder_end (&builder); 1567s # } 1567s # 1567s # static void 1567s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1567s # { 1567s # } 1567s # 1567s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1567s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1567s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1567s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1567s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1567s # 1567s # #else 1567s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1567s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1567s # 1567s # #endif 1567s # static void 1567s # org_project_useful_interface_skeleton_finalize (GObject *object) 1567s # { 1567s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1567s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1567s # if (skeleton->priv->changed_properties_idle_source != NULL) 1567s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1567s # g_main_context_unref (skeleton->priv->context); 1567s # g_mutex_clear (&skeleton->priv->lock); 1567s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1567s # } 1567s # 1567s # static void 1567s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1567s # { 1567s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1567s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1567s # #else 1567s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1567s # #endif 1567s # 1567s # g_mutex_init (&skeleton->priv->lock); 1567s # skeleton->priv->context = g_main_context_ref_thread_default (); 1567s # } 1567s # 1567s # static void 1567s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1567s # { 1567s # GObjectClass *gobject_class; 1567s # GDBusInterfaceSkeletonClass *skeleton_class; 1567s # 1567s # gobject_class = G_OBJECT_CLASS (klass); 1567s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1567s # 1567s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1567s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1567s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1567s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1567s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1567s # 1567s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1567s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1567s # #endif 1567s # } 1567s # 1567s # static void 1567s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1567s # { 1567s # } 1567s # 1567s # /** 1567s # * org_project_useful_interface_skeleton_new: 1567s # * 1567s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1567s # * 1567s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1567s # */ 1567s # OrgProjectUsefulInterface * 1567s # org_project_useful_interface_skeleton_new (void) 1567s # { 1567s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1567s # } 1567s # /tmp/tmp6r0268hb/tmpg6ol0vxq.xml: 1567s # 1567s # 1567s # 1567s # 1567s # 1567s # 1567s # 1567s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp6r0268hb/tmpg6ol0vxq.xml', '--output', '-', '--body'] 1567s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-baqskmurxn,guid=fbaffe99d0ccb1f6e1beb84865fc01cd', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.YcZbqk/autopkgtest_tmp', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.YcZbqk/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.YcZbqk/autopkgtest_tmp', 'TERM': 'unknown', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.YcZbqk/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.sVTVMp0Db0', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.rqZsJO/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.YcZbqk/wrapper.sh --artifacts=/tmp/autopkgtest.YcZbqk/installed-tests-artifacts --chdir=/tmp/autopkgtest.YcZbqk/build.S0E/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.YcZbqk/installed-tests-stderr --stdout=/tmp/autopkgtest.YcZbqk/installed-tests-stdout --tmp=/tmp/autopkgtest.YcZbqk/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2' --make-executable=/tmp/autopkgtest.YcZbqk/build.S0E/src/debian/tests/installed-tests -- /tmp/autopkgtest.YcZbqk/build.S0E/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.YcZbqk/build.S0E/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.YcZbqk/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1567s # Output: /* 1567s # * This file is generated by gdbus-codegen, do not modify it. 1567s # * 1567s # * The license of this code is the same as for the D-Bus interface description 1567s # * it was derived from. Note that it links to GLib, so must comply with the 1567s # * LGPL linking clauses. 1567s # */ 1567s # 1567s # #ifdef HAVE_CONFIG_H 1567s # # include "config.h" 1567s # #endif 1567s # 1567s # #include 1567s # #ifdef G_OS_UNIX 1567s # # include 1567s # #endif 1567s # 1567s # #ifdef G_ENABLE_DEBUG 1567s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1567s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1567s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1567s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1567s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1567s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1567s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1567s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1567s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1567s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1567s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1567s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1567s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1567s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1567s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1567s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1567s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1567s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1567s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1567s # #else /* !G_ENABLE_DEBUG */ 1567s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1567s # * Do not access GValues directly in your code. Instead, use the 1567s # * g_value_get_*() functions 1567s # */ 1567s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1567s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1567s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1567s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1567s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1567s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1567s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1567s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1567s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1567s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1567s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1567s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1567s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1567s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1567s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1567s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1567s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1567s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1567s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1567s # #endif /* !G_ENABLE_DEBUG */ 1567s # 1567s # typedef struct 1567s # { 1567s # GDBusArgInfo parent_struct; 1567s # gboolean use_gvariant; 1567s # } _ExtendedGDBusArgInfo; 1567s # 1567s # typedef struct 1567s # { 1567s # GDBusMethodInfo parent_struct; 1567s # const gchar *signal_name; 1567s # gboolean pass_fdlist; 1567s # } _ExtendedGDBusMethodInfo; 1567s # 1567s # typedef struct 1567s # { 1567s # GDBusSignalInfo parent_struct; 1567s # const gchar *signal_name; 1567s # } _ExtendedGDBusSignalInfo; 1567s # 1567s # typedef struct 1567s # { 1567s # GDBusPropertyInfo parent_struct; 1567s # const gchar *hyphen_name; 1567s # guint use_gvariant : 1; 1567s # guint emits_changed_signal : 1; 1567s # } _ExtendedGDBusPropertyInfo; 1567s # 1567s # typedef struct 1567s # { 1567s # GDBusInterfaceInfo parent_struct; 1567s # const gchar *hyphen_name; 1567s # } _ExtendedGDBusInterfaceInfo; 1567s # 1567s # typedef struct 1567s # { 1567s # const _ExtendedGDBusPropertyInfo *info; 1567s # guint prop_id; 1567s # GValue orig_value; /* the value before the change */ 1567s # } ChangedProperty; 1567s # 1567s # static void 1567s # _changed_property_free (ChangedProperty *data) 1567s # { 1567s # g_value_unset (&data->orig_value); 1567s # g_free (data); 1567s # } 1567s # 1567s # static gboolean 1567s # _g_strv_equal0 (gchar **a, gchar **b) 1567s # { 1567s # gboolean ret = FALSE; 1567s # guint n; 1567s # if (a == NULL && b == NULL) 1567s # { 1567s # ret = TRUE; 1567s # goto out; 1567s # } 1567s # if (a == NULL || b == NULL) 1567s # goto out; 1567s # if (g_strv_length (a) != g_strv_length (b)) 1567s # goto out; 1567s # for (n = 0; a[n] != NULL; n++) 1567s # if (g_strcmp0 (a[n], b[n]) != 0) 1567s # goto out; 1567s # ret = TRUE; 1567s # out: 1567s # return ret; 1567s # } 1567s # 1567s # static gboolean 1567s # _g_variant_equal0 (GVariant *a, GVariant *b) 1567s # { 1567s # gboolean ret = FALSE; 1567s # if (a == NULL && b == NULL) 1567s # { 1567s # ret = TRUE; 1567s # goto out; 1567s # } 1567s # if (a == NULL || b == NULL) 1567s # goto out; 1567s # ret = g_variant_equal (a, b); 1567s # out: 1567s # return ret; 1567s # } 1567s # 1567s # G_GNUC_UNUSED static gboolean 1567s # _g_value_equal (const GValue *a, const GValue *b) 1567s # { 1567s # gboolean ret = FALSE; 1567s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1567s # switch (G_VALUE_TYPE (a)) 1567s # { 1567s # case G_TYPE_BOOLEAN: 1567s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1567s # break; 1567s # case G_TYPE_UCHAR: 1567s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1567s # break; 1567s # case G_TYPE_INT: 1567s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1567s # break; 1567s # case G_TYPE_UINT: 1567s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1567s # break; 1567s # case G_TYPE_INT64: 1567s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1567s # break; 1567s # case G_TYPE_UINT64: 1567s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1567s # break; 1567s # case G_TYPE_DOUBLE: 1567s # { 1567s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1567s # gdouble da = g_value_get_double (a); 1567s # gdouble db = g_value_get_double (b); 1567s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1567s # } 1567s # break; 1567s # case G_TYPE_STRING: 1567s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1567s # break; 1567s # case G_TYPE_VARIANT: 1567s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1567s # break; 1567s # default: 1567s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1567s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1567s # else 1567s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1567s # break; 1567s # } 1567s # return ret; 1567s # } 1567s # 1567s # static void 1567s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 1567s # GClosure *closure, 1567s # GValue *return_value, 1567s # unsigned int n_param_values, 1567s # const GValue *param_values, 1567s # void *invocation_hint G_GNUC_UNUSED, 1567s # void *marshal_data) 1567s # { 1567s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 1567s # (void *data1, 1567s # GDBusMethodInvocation *arg_method_invocation, 1567s # void *data2); 1567s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 1567s # GCClosure *cc = (GCClosure*) closure; 1567s # void *data1, *data2; 1567s # gboolean v_return; 1567s # 1567s # g_return_if_fail (return_value != NULL); 1567s # g_return_if_fail (n_param_values == 2); 1567s # 1567s # if (G_CCLOSURE_SWAP_DATA (closure)) 1567s # { 1567s # data1 = closure->data; 1567s # data2 = g_value_peek_pointer (param_values + 0); 1567s # } 1567s # else 1567s # { 1567s # data1 = g_value_peek_pointer (param_values + 0); 1567s # data2 = closure->data; 1567s # } 1567s # 1567s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 1567s # (marshal_data ? marshal_data : cc->callback); 1567s # 1567s # v_return = 1567s # callback (data1, 1567s # g_marshal_value_peek_object (param_values + 1), 1567s # data2); 1567s # 1567s # g_value_set_boolean (return_value, v_return); 1567s # } 1567s # 1567s # /* ------------------------------------------------------------------------ 1567s # * Code for interface org.project.UsefulInterface 1567s # * ------------------------------------------------------------------------ 1567s # */ 1567s # 1567s # /** 1567s # * SECTION:OrgProjectUsefulInterface 1567s # * @title: OrgProjectUsefulInterface 1567s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1567s # * 1567s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1567s # */ 1567s # 1567s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1567s # 1567s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_q_OUT_ARG_arg_q = 1567s # { 1567s # { 1567s # -1, 1567s # (gchar *) "arg_q", 1567s # (gchar *) "q", 1567s # NULL 1567s # }, 1567s # FALSE 1567s # }; 1567s # 1567s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_q_OUT_ARG_pointers[] = 1567s # { 1567s # &_org_project_useful_interface_method_info_single_arg_method_q_OUT_ARG_arg_q.parent_struct, 1567s # NULL 1567s # }; 1567s # 1567s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_q = 1567s # { 1567s # { 1567s # -1, 1567s # (gchar *) "SingleArgMethodQ", 1567s # NULL, 1567s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_q_OUT_ARG_pointers, 1567s # NULL 1567s # }, 1567s # "handle-single-arg-method-q", 1567s # FALSE 1567s # }; 1567s # 1567s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1567s # { 1567s # &_org_project_useful_interface_method_info_single_arg_method_q.parent_struct, 1567s # NULL 1567s # }; 1567s # 1567s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1567s # { 1567s # { 1567s # -1, 1567s # (gchar *) "org.project.UsefulInterface", 1567s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1567s # NULL, 1567s # NULL, 1567s # NULL 1567s # }, 1567s # "org-project-useful-interface", 1567s # }; 1567s # 1567s # 1567s # /** 1567s # * org_project_useful_interface_interface_info: 1567s # * 1567s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1567s # * 1567s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1567s # */ 1567s # GDBusInterfaceInfo * 1567s # org_project_useful_interface_interface_info (void) 1567s # { 1567s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1567s # } 1567s # 1567s # /** 1567s # * org_project_useful_interface_override_properties: 1567s # * @klass: The class structure for a #GObject derived class. 1567s # * @property_id_begin: The property id to assign to the first overridden property. 1567s # * 1567s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1567s # * The properties are overridden in the order they are defined. 1567s # * 1567s # * Returns: The last property id. 1567s # */ 1567s # guint 1567s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1567s # { 1567s # return property_id_begin - 1; 1567s # } 1567s # 1567s # 1567s # inline static void 1567s # org_project_useful_interface_method_marshal_single_arg_method_q ( 1567s # GClosure *closure, 1567s # GValue *return_value, 1567s # unsigned int n_param_values, 1567s # const GValue *param_values, 1567s # void *invocation_hint, 1567s # void *marshal_data) 1567s # { 1567s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1567s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1567s # } 1567s # 1567s # 1567s # /** 1567s # * OrgProjectUsefulInterface: 1567s # * 1567s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1567s # */ 1567s # 1567s # /** 1567s # * OrgProjectUsefulInterfaceIface: 1567s # * @parent_iface: The parent interface. 1567s # * @handle_single_arg_method_q: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-q signal. 1567s # * 1567s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1567s # */ 1567s # 1567s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1567s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1567s # 1567s # static void 1567s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1567s # { 1567s # /* GObject signals for incoming D-Bus method calls: */ 1567s # /** 1567s # * OrgProjectUsefulInterface::handle-single-arg-method-q: 1567s # * @object: A #OrgProjectUsefulInterface. 1567s # * @invocation: A #GDBusMethodInvocation. 1567s # * 1567s # * Signal emitted when a remote caller is invoking the SingleArgMethodQ() D-Bus method. 1567s # * 1567s # * 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. 1567s # * 1567s # * 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. 1567s # */ 1567s # g_signal_new ("handle-single-arg-method-q", 1567s # G_TYPE_FROM_INTERFACE (iface), 1567s # G_SIGNAL_RUN_LAST, 1567s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_q), 1567s # g_signal_accumulator_true_handled, 1567s # NULL, 1567s # org_project_useful_interface_method_marshal_single_arg_method_q, 1567s # G_TYPE_BOOLEAN, 1567s # 1, 1567s # G_TYPE_DBUS_METHOD_INVOCATION); 1567s # 1567s # } 1567s # 1567s # /** 1567s # * org_project_useful_interface_call_single_arg_method_q: 1567s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1567s # * @cancellable: (nullable): A #GCancellable or %NULL. 1567s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1567s # * @user_data: User data to pass to @callback. 1567s # * 1567s # * Asynchronously invokes the SingleArgMethodQ() D-Bus method on @proxy. 1567s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1567s # * You can then call org_project_useful_interface_call_single_arg_method_q_finish() to get the result of the operation. 1567s # * 1567s # * See org_project_useful_interface_call_single_arg_method_q_sync() for the synchronous, blocking version of this method. 1567s # */ 1567s # void 1567s # org_project_useful_interface_call_single_arg_method_q ( 1567s # OrgProjectUsefulInterface *proxy, 1567s # GCancellable *cancellable, 1567s # GAsyncReadyCallback callback, 1567s # gpointer user_data) 1567s # { 1567s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1567s # "SingleArgMethodQ", 1567s # g_variant_new ("()"), 1567s # G_DBUS_CALL_FLAGS_NONE, 1567s # -1, 1567s # cancellable, 1567s # callback, 1567s # user_data); 1567s # } 1567s # 1567s # /** 1567s # * org_project_useful_interface_call_single_arg_method_q_finish: 1567s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1567s # * @out_arg_q: (out) (optional): Return location for return parameter or %NULL to ignore. 1567s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_q(). 1567s # * @error: Return location for error or %NULL. 1567s # * 1567s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_q(). 1567s # * 1567s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1567s # */ 1567s # gboolean 1567s # org_project_useful_interface_call_single_arg_method_q_finish ( 1567s # OrgProjectUsefulInterface *proxy, 1567s # guint16 *out_arg_q, 1567s # GAsyncResult *res, 1567s # GError **error) 1567s # { 1567s # GVariant *_ret; 1567s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1567s # if (_ret == NULL) 1567s # goto _out; 1567s # g_variant_get (_ret, 1567s # "(q)", 1567s # out_arg_q); 1567s # g_variant_unref (_ret); 1567s # _out: 1567s # return _ret != NULL; 1567s # } 1567s # 1567s # /** 1567s # * org_project_useful_interface_call_single_arg_method_q_sync: 1567s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1567s # * @out_arg_q: (out) (optional): Return location for return parameter or %NULL to ignore. 1567s # * @cancellable: (nullable): A #GCancellable or %NULL. 1567s # * @error: Return location for error or %NULL. 1567s # * 1567s # * Synchronously invokes the SingleArgMethodQ() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1567s # * 1567s # * See org_project_useful_interface_call_single_arg_method_q() for the asynchronous version of this method. 1567s # * 1567s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1567s # */ 1567s # gboolean 1567s # org_project_useful_interface_call_single_arg_method_q_sync ( 1567s # OrgProjectUsefulInterface *proxy, 1567s # guint16 *out_arg_q, 1567s # GCancellable *cancellable, 1567s # GError **error) 1567s # { 1567s # GVariant *_ret; 1567s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1567s # "SingleArgMethodQ", 1567s # g_variant_new ("()"), 1567s # G_DBUS_CALL_FLAGS_NONE, 1567s # -1, 1567s # cancellable, 1567s # error); 1567s # if (_ret == NULL) 1567s # goto _out; 1567s # g_variant_get (_ret, 1567s # "(q)", 1567s # out_arg_q); 1567s # g_variant_unref (_ret); 1567s # _out: 1567s # return _ret != NULL; 1567s # } 1567s # 1567s # /** 1567s # * org_project_useful_interface_complete_single_arg_method_q: 1567s # * @object: A #OrgProjectUsefulInterface. 1567s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1567s # * @arg_q: Parameter to return. 1567s # * 1567s # * 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. 1567s # * 1567s # * This method will free @invocation, you cannot use it afterwards. 1567s # */ 1567s # void 1567s # org_project_useful_interface_complete_single_arg_method_q ( 1567s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1567s # GDBusMethodInvocation *invocation, 1567s # guint16 arg_q) 1567s # { 1567s # g_dbus_method_invocation_return_value (invocation, 1567s # g_variant_new ("(q)", 1567s # arg_q)); 1567s # } 1567s # 1567s # /* ------------------------------------------------------------------------ */ 1567s # 1567s # /** 1567s # * OrgProjectUsefulInterfaceProxy: 1567s # * 1567s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1567s # */ 1567s # 1567s # /** 1567s # * OrgProjectUsefulInterfaceProxyClass: 1567s # * @parent_class: The parent class. 1567s # * 1567s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1567s # */ 1567s # 1567s # struct _OrgProjectUsefulInterfaceProxyPrivate 1567s # { 1567s # GData *qdata; 1567s # }; 1567s # 1567s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1567s # 1567s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1567s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1567s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1567s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1567s # 1567s # #else 1567s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1567s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1567s # 1567s # #endif 1567s # static void 1567s # org_project_useful_interface_proxy_finalize (GObject *object) 1567s # { 1567s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1567s # g_datalist_clear (&proxy->priv->qdata); 1567s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1567s # } 1567s # 1567s # static void 1567s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1567s # guint prop_id G_GNUC_UNUSED, 1567s # GValue *value G_GNUC_UNUSED, 1567s # GParamSpec *pspec G_GNUC_UNUSED) 1567s # { 1567s # } 1567s # 1567s # static void 1567s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1567s # guint prop_id G_GNUC_UNUSED, 1567s # const GValue *value G_GNUC_UNUSED, 1567s # GParamSpec *pspec G_GNUC_UNUSED) 1567s # { 1567s # } 1567s # 1567s # static void 1567s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1567s # const gchar *sender_name G_GNUC_UNUSED, 1567s # const gchar *signal_name, 1567s # GVariant *parameters) 1567s # { 1567s # _ExtendedGDBusSignalInfo *info; 1567s # GVariantIter iter; 1567s # GVariant *child; 1567s # GValue *paramv; 1567s # gsize num_params; 1567s # gsize n; 1567s # guint signal_id; 1567s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1567s # if (info == NULL) 1567s # return; 1567s # num_params = g_variant_n_children (parameters); 1567s # paramv = g_new0 (GValue, num_params + 1); 1567s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1567s # g_value_set_object (¶mv[0], proxy); 1567s # g_variant_iter_init (&iter, parameters); 1567s # n = 1; 1567s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1567s # { 1567s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1567s # if (arg_info->use_gvariant) 1567s # { 1567s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1567s # g_value_set_variant (¶mv[n], child); 1567s # n++; 1567s # } 1567s # else 1567s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1567s # g_variant_unref (child); 1567s # } 1567s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1567s # g_signal_emitv (paramv, signal_id, 0, NULL); 1567s # for (n = 0; n < num_params + 1; n++) 1567s # g_value_unset (¶mv[n]); 1567s # g_free (paramv); 1567s # } 1567s # 1567s # static void 1567s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1567s # GVariant *changed_properties, 1567s # const gchar *const *invalidated_properties) 1567s # { 1567s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1567s # guint n; 1567s # const gchar *key; 1567s # GVariantIter *iter; 1567s # _ExtendedGDBusPropertyInfo *info; 1567s # g_variant_get (changed_properties, "a{sv}", &iter); 1567s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1567s # { 1567s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1567s # g_datalist_remove_data (&proxy->priv->qdata, key); 1567s # if (info != NULL) 1567s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1567s # } 1567s # g_variant_iter_free (iter); 1567s # for (n = 0; invalidated_properties[n] != NULL; n++) 1567s # { 1567s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1567s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1567s # if (info != NULL) 1567s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1567s # } 1567s # } 1567s # 1567s # static void 1567s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1567s # { 1567s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1567s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1567s # #else 1567s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1567s # #endif 1567s # 1567s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1567s # } 1567s # 1567s # static void 1567s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1567s # { 1567s # GObjectClass *gobject_class; 1567s # GDBusProxyClass *proxy_class; 1567s # 1567s # gobject_class = G_OBJECT_CLASS (klass); 1567s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1567s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1567s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1567s # 1567s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1567s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1567s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1567s # 1567s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1567s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1567s # #endif 1567s # } 1567s # 1567s # static void 1567s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1567s # { 1567s # } 1567s # 1567s # /** 1567s # * org_project_useful_interface_proxy_new: 1567s # * @connection: A #GDBusConnection. 1567s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1567s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1567s # * @object_path: An object path. 1567s # * @cancellable: (nullable): A #GCancellable or %NULL. 1567s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1567s # * @user_data: User data to pass to @callback. 1567s # * 1567s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1567s # * 1567s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1567s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1567s # * 1567s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1567s # */ 1567s # void 1567s # org_project_useful_interface_proxy_new ( 1567s # GDBusConnection *connection, 1567s # GDBusProxyFlags flags, 1567s # const gchar *name, 1567s # const gchar *object_path, 1567s # GCancellable *cancellable, 1567s # GAsyncReadyCallback callback, 1567s # gpointer user_data) 1567s # { 1567s # g_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); 1567s # } 1567s # 1567s # /** 1567s # * org_project_useful_interface_proxy_new_finish: 1567s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1567s # * @error: Return location for error or %NULL 1567s # * 1567s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1567s # * 1567s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1567s # */ 1567s # OrgProjectUsefulInterface * 1567s # org_project_useful_interface_proxy_new_finish ( 1567s # GAsyncResult *res, 1567s # GError **error) 1567s # { 1567s # GObject *ret; 1567s # GObject *source_object; 1567s # source_object = g_async_result_get_source_object (res); 1567s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1567s # g_object_unref (source_object); 1567s # if (ret != NULL) 1567s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1567s # else 1567s # return NULL; 1567s # } 1567s # 1567s # /** 1567s # * org_project_useful_interface_proxy_new_sync: 1567s # * @connection: A #GDBusConnection. 1567s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1567s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1567s # * @object_path: An object path. 1567s # * @cancellable: (nullable): A #GCancellable or %NULL. 1567s # * @error: Return location for error or %NULL 1567s # * 1567s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1567s # * 1567s # * The calling thread is blocked until a reply is received. 1567s # * 1567s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1567s # * 1567s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1567s # */ 1567s # OrgProjectUsefulInterface * 1567s # org_project_useful_interface_proxy_new_sync ( 1567s # GDBusConnection *connection, 1567s # GDBusProxyFlags flags, 1567s # const gchar *name, 1567s # const gchar *object_path, 1567s # GCancellable *cancellable, 1567s # GError **error) 1567s # { 1567s # GInitable *ret; 1567s # 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); 1567s # if (ret != NULL) 1567s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1567s # else 1567s # return NULL; 1567s # } 1567s # 1567s # 1567s # /** 1567s # * org_project_useful_interface_proxy_new_for_bus: 1567s # * @bus_type: A #GBusType. 1567s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1567s # * @name: A bus name (well-known or unique). 1567s # * @object_path: An object path. 1567s # * @cancellable: (nullable): A #GCancellable or %NULL. 1567s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1567s # * @user_data: User data to pass to @callback. 1567s # * 1567s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1567s # * 1567s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1567s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1567s # * 1567s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1567s # */ 1567s # void 1567s # org_project_useful_interface_proxy_new_for_bus ( 1567s # GBusType bus_type, 1567s # GDBusProxyFlags flags, 1567s # const gchar *name, 1567s # const gchar *object_path, 1567s # GCancellable *cancellable, 1567s # GAsyncReadyCallback callback, 1567s # gpointer user_data) 1567s # { 1567s # g_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); 1567s # } 1567s # 1567s # /** 1567s # * org_project_useful_interface_proxy_new_for_bus_finish: 1567s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1567s # * @error: Return location for error or %NULL 1567s # * 1567s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1567s # * 1567s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1567s # */ 1567s # OrgProjectUsefulInterface * 1567s # org_project_useful_interface_proxy_new_for_bus_finish ( 1567s # GAsyncResult *res, 1567s # GError **error) 1567s # { 1567s # GObject *ret; 1567s # GObject *source_object; 1567s # source_object = g_async_result_get_source_object (res); 1567s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1567s # g_object_unref (source_object); 1567s # if (ret != NULL) 1567s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1567s # else 1567s # return NULL; 1567s # } 1567s # 1567s # /** 1567s # * org_project_useful_interface_proxy_new_for_bus_sync: 1567s # * @bus_type: A #GBusType. 1567s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1567s # * @name: A bus name (well-known or unique). 1567s # * @object_path: An object path. 1567s # * @cancellable: (nullable): A #GCancellable or %NULL. 1567s # * @error: Return location for error or %NULL 1567s # * 1567s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1567s # * 1567s # * The calling thread is blocked until a reply is received. 1567s # * 1567s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1567s # * 1567s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1567s # */ 1567s # OrgProjectUsefulInterface * 1567s # org_project_useful_interface_proxy_new_for_bus_sync ( 1567s # GBusType bus_type, 1567s # GDBusProxyFlags flags, 1567s # const gchar *name, 1567s # const gchar *object_path, 1567s # GCancellable *cancellable, 1567s # GError **error) 1567s # { 1567s # GInitable *ret; 1567s # 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); 1567s # if (ret != NULL) 1567s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1567s # else 1567s # return NULL; 1567s # } 1567s # 1567s # 1567s # /* ------------------------------------------------------------------------ */ 1567s # 1567s # /** 1567s # * OrgProjectUsefulInterfaceSkeleton: 1567s # * 1567s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1567s # */ 1567s # 1567s # /** 1567s # * OrgProjectUsefulInterfaceSkeletonClass: 1567s # * @parent_class: The parent class. 1567s # * 1567s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1567s # */ 1567s # 1567s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1567s # { 1567s # GValue *properties; 1567s # GList *changed_properties; 1567s # GSource *changed_properties_idle_source; 1567s # GMainContext *context; 1567s # GMutex lock; 1567s # }; 1567s # 1567s # static void 1567s # _org_project_useful_interface_skeleton_handle_method_call ( 1567s # GDBusConnection *connection G_GNUC_UNUSED, 1567s # const gchar *sender G_GNUC_UNUSED, 1567s # const gchar *object_path G_GNUC_UNUSED, 1567s # const gchar *interface_name, 1567s # const gchar *method_name, 1567s # GVariant *parameters, 1567s # GDBusMethodInvocation *invocation, 1567s # gpointer user_data) 1567s # { 1567s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1567s # _ExtendedGDBusMethodInfo *info; 1567s # GVariantIter iter; 1567s # GVariant *child; 1567s # GValue *paramv; 1567s # gsize num_params; 1567s # guint num_extra; 1567s # gsize n; 1567s # guint signal_id; 1567s # GValue return_value = G_VALUE_INIT; 1567s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1567s # g_assert (info != NULL); 1567s # num_params = g_variant_n_children (parameters); 1567s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1567s # n = 0; 1567s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1567s # g_value_set_object (¶mv[n++], skeleton); 1567s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1567s # g_value_set_object (¶mv[n++], invocation); 1567s # if (info->pass_fdlist) 1567s # { 1567s # #ifdef G_OS_UNIX 1567s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1567s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1567s # #else 1567s # g_assert_not_reached (); 1567s # #endif 1567s # } 1567s # g_variant_iter_init (&iter, parameters); 1567s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1567s # { 1567s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1567s # if (arg_info->use_gvariant) 1567s # { 1567s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1567s # g_value_set_variant (¶mv[n], child); 1567s # n++; 1567s # } 1567s # else 1567s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1567s # g_variant_unref (child); 1567s # } 1567s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1567s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1567s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1567s # if (!g_value_get_boolean (&return_value)) 1567s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1567s # g_value_unset (&return_value); 1567s # for (n = 0; n < num_params + num_extra; n++) 1567s # g_value_unset (¶mv[n]); 1567s # g_free (paramv); 1567s # } 1567s # 1567s # static GVariant * 1567s # _org_project_useful_interface_skeleton_handle_get_property ( 1567s # GDBusConnection *connection G_GNUC_UNUSED, 1567s # const gchar *sender G_GNUC_UNUSED, 1567s # const gchar *object_path G_GNUC_UNUSED, 1567s # const gchar *interface_name G_GNUC_UNUSED, 1567s # const gchar *property_name, 1567s # GError **error, 1567s # gpointer user_data) 1567s # { 1567s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1567s # GValue value = G_VALUE_INIT; 1567s # GParamSpec *pspec; 1567s # _ExtendedGDBusPropertyInfo *info; 1567s # GVariant *ret; 1567s # ret = NULL; 1567s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1567s # g_assert (info != NULL); 1567s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1567s # if (pspec == NULL) 1567s # { 1567s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1567s # } 1567s # else 1567s # { 1567s # g_value_init (&value, pspec->value_type); 1567s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1567s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1567s # g_value_unset (&value); 1567s # } 1567s # return ret; 1567s # } 1567s # 1567s # static gboolean 1567s # _org_project_useful_interface_skeleton_handle_set_property ( 1567s # GDBusConnection *connection G_GNUC_UNUSED, 1567s # const gchar *sender G_GNUC_UNUSED, 1567s # const gchar *object_path G_GNUC_UNUSED, 1567s # const gchar *interface_name G_GNUC_UNUSED, 1567s # const gchar *property_name, 1567s # GVariant *variant, 1567s # GError **error, 1567s # gpointer user_data) 1567s # { 1567s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1567s # GValue value = G_VALUE_INIT; 1567s # GParamSpec *pspec; 1567s # _ExtendedGDBusPropertyInfo *info; 1567s # gboolean ret; 1567s # ret = FALSE; 1567s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1567s # g_assert (info != NULL); 1567s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1567s # if (pspec == NULL) 1567s # { 1567s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1567s # } 1567s # else 1567s # { 1567s # if (info->use_gvariant) 1567s # g_value_set_variant (&value, variant); 1567s # else 1567s # g_dbus_gvariant_to_gvalue (variant, &value); 1567s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1567s # g_value_unset (&value); 1567s # ret = TRUE; 1567s # } 1567s # return ret; 1567s # } 1567s # 1567s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1567s # { 1567s # _org_project_useful_interface_skeleton_handle_method_call, 1567s # _org_project_useful_interface_skeleton_handle_get_property, 1567s # _org_project_useful_interface_skeleton_handle_set_property, 1567s # {NULL} 1567s # }; 1567s # 1567s # static GDBusInterfaceInfo * 1567s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1567s # { 1567s # return org_project_useful_interface_interface_info (); 1567s # } 1567s # 1567s # static GDBusInterfaceVTable * 1567s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1567s # { 1567s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1567s # } 1567s # 1567s # static GVariant * 1567s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1567s # { 1567s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1567s # 1567s # GVariantBuilder builder; 1567s # guint n; 1567s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1567s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1567s # goto out; 1567s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1567s # { 1567s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1567s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1567s # { 1567s # GVariant *value; 1567s # 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); 1567s # if (value != NULL) 1567s # { 1567s # g_variant_take_ref (value); 1567s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1567s # g_variant_unref (value); 1567s # } 1567s # } 1567s # } 1567s # out: 1567s # return g_variant_builder_end (&builder); 1567s # } 1567s # 1567s # static void 1567s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1567s # { 1567s # } 1567s # 1567s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1567s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1567s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1567s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1567s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1567s # 1567s # #else 1567s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1567s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1567s # 1567s # #endif 1567s # static void 1567s # org_project_useful_interface_skeleton_finalize (GObject *object) 1567s # { 1567s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1567s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1567s # if (skeleton->priv->changed_properties_idle_source != NULL) 1567s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1567s # g_main_context_unref (skeleton->priv->context); 1567s # g_mutex_clear (&skeleton->priv->lock); 1567s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1567s # } 1567s # 1567s # static void 1567s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1567s # { 1567s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1567s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1567s # #else 1567s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1567s # #endif 1567s # 1567s # g_mutex_init (&skeleton->priv->lock); 1567s # skeleton->priv->context = g_main_context_ref_thread_default (); 1567s # } 1567s # 1567s # static void 1567s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1567s # { 1567s # GObjectClass *gobject_class; 1567s # GDBusInterfaceSkeletonClass *skeleton_class; 1567s # 1567s # gobject_class = G_OBJECT_CLASS (klass); 1567s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1567s # 1567s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1567s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1567s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1567s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1567s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1567s # 1567s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1567s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1567s # #endif 1567s # } 1567s # 1567s # static void 1567s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1567s # { 1567s # } 1567s # 1567s # /** 1567s # * org_project_useful_interface_skeleton_new: 1567s # * 1567s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1567s # * 1567s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1567s # */ 1567s # OrgProjectUsefulInterface * 1567s # org_project_useful_interface_skeleton_new (void) 1567s # { 1567s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1567s # } 1567s # /tmp/tmp6r0268hb/tmpqalw1b5v.xml: 1567s # 1567s # 1567s # 1567s # 1567s # 1567s # 1567s # 1567s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp6r0268hb/tmpqalw1b5v.xml', '--output', '-', '--body'] 1567s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-baqskmurxn,guid=fbaffe99d0ccb1f6e1beb84865fc01cd', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.YcZbqk/autopkgtest_tmp', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.YcZbqk/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.YcZbqk/autopkgtest_tmp', 'TERM': 'unknown', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.YcZbqk/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.sVTVMp0Db0', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.rqZsJO/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.YcZbqk/wrapper.sh --artifacts=/tmp/autopkgtest.YcZbqk/installed-tests-artifacts --chdir=/tmp/autopkgtest.YcZbqk/build.S0E/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.YcZbqk/installed-tests-stderr --stdout=/tmp/autopkgtest.YcZbqk/installed-tests-stdout --tmp=/tmp/autopkgtest.YcZbqk/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2' --make-executable=/tmp/autopkgtest.YcZbqk/build.S0E/src/debian/tests/installed-tests -- /tmp/autopkgtest.YcZbqk/build.S0E/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.YcZbqk/build.S0E/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.YcZbqk/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1567s # Output: /* 1567s # * This file is generated by gdbus-codegen, do not modify it. 1567s # * 1567s # * The license of this code is the same as for the D-Bus interface description 1567s # * it was derived from. Note that it links to GLib, so must comply with the 1567s # * LGPL linking clauses. 1567s # */ 1567s # 1567s # #ifdef HAVE_CONFIG_H 1567s # # include "config.h" 1567s # #endif 1567s # 1567s # #include 1567s # #ifdef G_OS_UNIX 1567s # # include 1567s # #endif 1567s # 1567s # #ifdef G_ENABLE_DEBUG 1567s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1567s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1567s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1567s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1567s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1567s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1567s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1567s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1567s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1567s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1567s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1567s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1567s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1567s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1567s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1567s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1567s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1567s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1567s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1567s # #else /* !G_ENABLE_DEBUG */ 1567s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1567s # * Do not access GValues directly in your code. Instead, use the 1567s # * g_value_get_*() functions 1567s # */ 1567s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1567s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1567s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1567s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1567s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1567s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1567s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1567s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1567s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1567s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1567s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1567s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1567s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1567s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1567s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1567s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1567s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1567s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1567s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1567s # #endif /* !G_ENABLE_DEBUG */ 1567s # 1567s # typedef struct 1567s # { 1567s # GDBusArgInfo parent_struct; 1567s # gboolean use_gvariant; 1567s # } _ExtendedGDBusArgInfo; 1567s # 1567s # typedef struct 1567s # { 1567s # GDBusMethodInfo parent_struct; 1567s # const gchar *signal_name; 1567s # gboolean pass_fdlist; 1567s # } _ExtendedGDBusMethodInfo; 1567s # 1567s # typedef struct 1567s # { 1567s # GDBusSignalInfo parent_struct; 1567s # const gchar *signal_name; 1567s # } _ExtendedGDBusSignalInfo; 1567s # 1567s # typedef struct 1567s # { 1567s # GDBusPropertyInfo parent_struct; 1567s # const gchar *hyphen_name; 1567s # guint use_gvariant : 1; 1567s # guint emits_changed_signal : 1; 1567s # } _ExtendedGDBusPropertyInfo; 1567s # 1567s # typedef struct 1567s # { 1567s # GDBusInterfaceInfo parent_struct; 1567s # const gchar *hyphen_name; 1567s # } _ExtendedGDBusInterfaceInfo; 1567s # 1567s # typedef struct 1567s # { 1567s # const _ExtendedGDBusPropertyInfo *info; 1567s # guint prop_id; 1567s # GValue orig_value; /* the value before the change */ 1567s # } ChangedProperty; 1567s # 1567s # static void 1567s # _changed_property_free (ChangedProperty *data) 1567s # { 1567s # g_value_unset (&data->orig_value); 1567s # g_free (data); 1567s # } 1567s # 1567s # static gboolean 1567s # _g_strv_equal0 (gchar **a, gchar **b) 1567s # { 1567s # gboolean ret = FALSE; 1567s # guint n; 1567s # if (a == NULL && b == NULL) 1567s # { 1567s # ret = TRUE; 1567s # goto out; 1567s # } 1567s # if (a == NULL || b == NULL) 1567s # goto out; 1567s # if (g_strv_length (a) != g_strv_length (b)) 1567s # goto out; 1567s # for (n = 0; a[n] != NULL; n++) 1567s # if (g_strcmp0 (a[n], b[n]) != 0) 1567s # goto out; 1567s # ret = TRUE; 1567s # out: 1567s # return ret; 1567s # } 1567s # 1567s # static gboolean 1567s # _g_variant_equal0 (GVariant *a, GVariant *b) 1567s # { 1567s # gboolean ret = FALSE; 1567s # if (a == NULL && b == NULL) 1567s # { 1567s # ret = TRUE; 1567s # goto out; 1567s # } 1567s # if (a == NULL || b == NULL) 1567s # goto out; 1567s # ret = g_variant_equal (a, b); 1567s # out: 1567s # return ret; 1567s # } 1567s # 1567s # G_GNUC_UNUSED static gboolean 1567s # _g_value_equal (const GValue *a, const GValue *b) 1567s # { 1567s # gboolean ret = FALSE; 1567s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1567s # switch (G_VALUE_TYPE (a)) 1567s # { 1567s # case G_TYPE_BOOLEAN: 1567s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1567s # break; 1567s # case G_TYPE_UCHAR: 1567s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1567s # break; 1567s # case G_TYPE_INT: 1567s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1567s # break; 1567s # case G_TYPE_UINT: 1567s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1567s # break; 1567s # case G_TYPE_INT64: 1567s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1567s # break; 1567s # case G_TYPE_UINT64: 1567s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1567s # break; 1567s # case G_TYPE_DOUBLE: 1567s # { 1567s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1567s # gdouble da = g_value_get_double (a); 1567s # gdouble db = g_value_get_double (b); 1567s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1567s # } 1567s # break; 1567s # case G_TYPE_STRING: 1567s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1567s # break; 1567s # case G_TYPE_VARIANT: 1567s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1567s # break; 1567s # default: 1567s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1567s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1567s # else 1567s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1567s # break; 1567s # } 1567s # return ret; 1567s # } 1567s # 1567s # static void 1567s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 1567s # GClosure *closure, 1567s # GValue *return_value, 1567s # unsigned int n_param_values, 1567s # const GValue *param_values, 1567s # void *invocation_hint G_GNUC_UNUSED, 1567s # void *marshal_data) 1567s # { 1567s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 1567s # (void *data1, 1567s # GDBusMethodInvocation *arg_method_invocation, 1567s # void *data2); 1567s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 1567s # GCClosure *cc = (GCClosure*) closure; 1567s # void *data1, *data2; 1567s # gboolean v_return; 1567s # 1567s # g_return_if_fail (return_value != NULL); 1567s # g_return_if_fail (n_param_values == 2); 1567s # 1567s # if (G_CCLOSURE_SWAP_DATA (closure)) 1567s # { 1567s # data1 = closure->data; 1567s # data2 = g_value_peek_pointer (param_values + 0); 1567s # } 1567s # else 1567s # { 1567s # data1 = g_value_peek_pointer (param_values + 0); 1567s # data2 = closure->data; 1567s # } 1567s # 1567s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 1567s # (marshal_data ? marshal_data : cc->callback); 1567s # 1567s # v_return = 1567s # callback (data1, 1567s # g_marshal_value_peek_object (param_values + 1), 1567s # data2); 1567s # 1567s # g_value_set_boolean (return_value, v_return); 1567s # } 1567s # 1567s # /* ------------------------------------------------------------------------ 1567s # * Code for interface org.project.UsefulInterface 1567s # * ------------------------------------------------------------------------ 1567s # */ 1567s # 1567s # /** 1567s # * SECTION:OrgProjectUsefulInterface 1567s # * @title: OrgProjectUsefulInterface 1567s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1567s # * 1567s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1567s # */ 1567s # 1567s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1567s # 1567s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_i_OUT_ARG_arg_i = 1567s # { 1567s # { 1567s # -1, 1567s # (gchar *) "arg_i", 1567s # (gchar *) "i", 1567s # NULL 1567s # }, 1567s # FALSE 1567s # }; 1567s # 1567s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_i_OUT_ARG_pointers[] = 1567s # { 1567s # &_org_project_useful_interface_method_info_single_arg_method_i_OUT_ARG_arg_i.parent_struct, 1567s # NULL 1567s # }; 1567s # 1567s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_i = 1567s # { 1567s # { 1567s # -1, 1567s # (gchar *) "SingleArgMethodI", 1567s # NULL, 1567s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_i_OUT_ARG_pointers, 1567s # NULL 1567s # }, 1567s # "handle-single-arg-method-i", 1567s # FALSE 1567s # }; 1567s # 1567s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1567s # { 1567s # &_org_project_useful_interface_method_info_single_arg_method_i.parent_struct, 1567s # NULL 1567s # }; 1567s # 1567s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1567s # { 1567s # { 1567s # -1, 1567s # (gchar *) "org.project.UsefulInterface", 1567s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1567s # NULL, 1567s # NULL, 1567s # NULL 1567s # }, 1567s # "org-project-useful-interface", 1567s # }; 1567s # 1567s # 1567s # /** 1567s # * org_project_useful_interface_interface_info: 1567s # * 1567s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1567s # * 1567s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1567s # */ 1567s # GDBusInterfaceInfo * 1567s # org_project_useful_interface_interface_info (void) 1567s # { 1567s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1567s # } 1567s # 1567s # /** 1567s # * org_project_useful_interface_override_properties: 1567s # * @klass: The class structure for a #GObject derived class. 1567s # * @property_id_begin: The property id to assign to the first overridden property. 1567s # * 1567s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1567s # * The properties are overridden in the order they are defined. 1567s # * 1567s # * Returns: The last property id. 1567s # */ 1567s # guint 1567s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1567s # { 1567s # return property_id_begin - 1; 1567s # } 1567s # 1567s # 1567s # inline static void 1567s # org_project_useful_interface_method_marshal_single_arg_method_i ( 1567s # GClosure *closure, 1567s # GValue *return_value, 1567s # unsigned int n_param_values, 1567s # const GValue *param_values, 1567s # void *invocation_hint, 1567s # void *marshal_data) 1567s # { 1567s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1567s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1567s # } 1567s # 1567s # 1567s # /** 1567s # * OrgProjectUsefulInterface: 1567s # * 1567s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1567s # */ 1567s # 1567s # /** 1567s # * OrgProjectUsefulInterfaceIface: 1567s # * @parent_iface: The parent interface. 1567s # * @handle_single_arg_method_i: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-i signal. 1567s # * 1567s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1567s # */ 1567s # 1567s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1567s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1567s # 1567s # static void 1567s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1567s # { 1567s # /* GObject signals for incoming D-Bus method calls: */ 1567s # /** 1567s # * OrgProjectUsefulInterface::handle-single-arg-method-i: 1567s # * @object: A #OrgProjectUsefulInterface. 1567s # * @invocation: A #GDBusMethodInvocation. 1567s # * 1567s # * Signal emitted when a remote caller is invoking the SingleArgMethodI() D-Bus method. 1567s # * 1567s # * 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. 1567s # * 1567s # * 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. 1567s # */ 1567s # g_signal_new ("handle-single-arg-method-i", 1567s # G_TYPE_FROM_INTERFACE (iface), 1567s # G_SIGNAL_RUN_LAST, 1567s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_i), 1567s # g_signal_accumulator_true_handled, 1567s # NULL, 1567s # org_project_useful_interface_method_marshal_single_arg_method_i, 1567s # G_TYPE_BOOLEAN, 1567s # 1, 1567s # G_TYPE_DBUS_METHOD_INVOCATION); 1567s # 1567s # } 1567s # 1567s # /** 1567s # * org_project_useful_interface_call_single_arg_method_i: 1567s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1567s # * @cancellable: (nullable): A #GCancellable or %NULL. 1567s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1567s # * @user_data: User data to pass to @callback. 1567s # * 1567s # * Asynchronously invokes the SingleArgMethodI() D-Bus method on @proxy. 1567s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1567s # * You can then call org_project_useful_interface_call_single_arg_method_i_finish() to get the result of the operation. 1567s # * 1567s # * See org_project_useful_interface_call_single_arg_method_i_sync() for the synchronous, blocking version of this method. 1567s # */ 1567s # void 1567s # org_project_useful_interface_call_single_arg_method_i ( 1567s # OrgProjectUsefulInterface *proxy, 1567s # GCancellable *cancellable, 1567s # GAsyncReadyCallback callback, 1567s # gpointer user_data) 1567s # { 1567s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1567s # "SingleArgMethodI", 1567s # g_variant_new ("()"), 1567s # G_DBUS_CALL_FLAGS_NONE, 1567s # -1, 1567s # cancellable, 1567s # callback, 1567s # user_data); 1567s # } 1567s # 1567s # /** 1567s # * org_project_useful_interface_call_single_arg_method_i_finish: 1567s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1567s # * @out_arg_i: (out) (optional): Return location for return parameter or %NULL to ignore. 1567s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_i(). 1567s # * @error: Return location for error or %NULL. 1567s # * 1567s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_i(). 1567s # * 1567s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1567s # */ 1567s # gboolean 1567s # org_project_useful_interface_call_single_arg_method_i_finish ( 1567s # OrgProjectUsefulInterface *proxy, 1567s # gint *out_arg_i, 1567s # GAsyncResult *res, 1567s # GError **error) 1567s # { 1567s # GVariant *_ret; 1567s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1567s # if (_ret == NULL) 1567s # goto _out; 1567s # g_variant_get (_ret, 1567s # "(i)", 1567s # out_arg_i); 1567s # g_variant_unref (_ret); 1567s # _out: 1567s # return _ret != NULL; 1567s # } 1567s # 1567s # /** 1567s # * org_project_useful_interface_call_single_arg_method_i_sync: 1567s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1567s # * @out_arg_i: (out) (optional): Return location for return parameter or %NULL to ignore. 1567s # * @cancellable: (nullable): A #GCancellable or %NULL. 1567s # * @error: Return location for error or %NULL. 1567s # * 1567s # * Synchronously invokes the SingleArgMethodI() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1567s # * 1567s # * See org_project_useful_interface_call_single_arg_method_i() for the asynchronous version of this method. 1567s # * 1567s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1567s # */ 1567s # gboolean 1567s # org_project_useful_interface_call_single_arg_method_i_sync ( 1567s # OrgProjectUsefulInterface *proxy, 1567s # gint *out_arg_i, 1567s # GCancellable *cancellable, 1567s # GError **error) 1567s # { 1567s # GVariant *_ret; 1567s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1567s # "SingleArgMethodI", 1567s # g_variant_new ("()"), 1567s # G_DBUS_CALL_FLAGS_NONE, 1567s # -1, 1567s # cancellable, 1567s # error); 1567s # if (_ret == NULL) 1567s # goto _out; 1567s # g_variant_get (_ret, 1567s # "(i)", 1567s # out_arg_i); 1567s # g_variant_unref (_ret); 1567s # _out: 1567s # return _ret != NULL; 1567s # } 1567s # 1567s # /** 1567s # * org_project_useful_interface_complete_single_arg_method_i: 1567s # * @object: A #OrgProjectUsefulInterface. 1567s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1567s # * @arg_i: Parameter to return. 1567s # * 1567s # * 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. 1567s # * 1567s # * This method will free @invocation, you cannot use it afterwards. 1567s # */ 1567s # void 1567s # org_project_useful_interface_complete_single_arg_method_i ( 1567s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1567s # GDBusMethodInvocation *invocation, 1567s # gint arg_i) 1567s # { 1567s # g_dbus_method_invocation_return_value (invocation, 1567s # g_variant_new ("(i)", 1567s # arg_i)); 1567s # } 1567s # 1567s # /* ------------------------------------------------------------------------ */ 1567s # 1567s # /** 1567s # * OrgProjectUsefulInterfaceProxy: 1567s # * 1567s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1567s # */ 1567s # 1567s # /** 1567s # * OrgProjectUsefulInterfaceProxyClass: 1567s # * @parent_class: The parent class. 1567s # * 1567s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1567s # */ 1567s # 1567s # struct _OrgProjectUsefulInterfaceProxyPrivate 1567s # { 1567s # GData *qdata; 1567s # }; 1567s # 1567s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1567s # 1567s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1567s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1567s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1567s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1567s # 1567s # #else 1567s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1567s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1567s # 1567s # #endif 1567s # static void 1567s # org_project_useful_interface_proxy_finalize (GObject *object) 1567s # { 1567s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1567s # g_datalist_clear (&proxy->priv->qdata); 1567s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1567s # } 1567s # 1567s # static void 1567s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1567s # guint prop_id G_GNUC_UNUSED, 1567s # GValue *value G_GNUC_UNUSED, 1567s # GParamSpec *pspec G_GNUC_UNUSED) 1567s # { 1567s # } 1567s # 1567s # static void 1567s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1567s # guint prop_id G_GNUC_UNUSED, 1567s # const GValue *value G_GNUC_UNUSED, 1567s # GParamSpec *pspec G_GNUC_UNUSED) 1567s # { 1567s # } 1567s # 1567s # static void 1567s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1567s # const gchar *sender_name G_GNUC_UNUSED, 1567s # const gchar *signal_name, 1567s # GVariant *parameters) 1567s # { 1567s # _ExtendedGDBusSignalInfo *info; 1567s # GVariantIter iter; 1567s # GVariant *child; 1567s # GValue *paramv; 1567s # gsize num_params; 1567s # gsize n; 1567s # guint signal_id; 1567s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1567s # if (info == NULL) 1567s # return; 1567s # num_params = g_variant_n_children (parameters); 1567s # paramv = g_new0 (GValue, num_params + 1); 1567s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1567s # g_value_set_object (¶mv[0], proxy); 1567s # g_variant_iter_init (&iter, parameters); 1567s # n = 1; 1567s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1567s # { 1567s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1567s # if (arg_info->use_gvariant) 1567s # { 1567s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1567s # g_value_set_variant (¶mv[n], child); 1567s # n++; 1567s # } 1567s # else 1567s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1567s # g_variant_unref (child); 1567s # } 1567s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1567s # g_signal_emitv (paramv, signal_id, 0, NULL); 1567s # for (n = 0; n < num_params + 1; n++) 1567s # g_value_unset (¶mv[n]); 1567s # g_free (paramv); 1567s # } 1567s # 1567s # static void 1567s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1567s # GVariant *changed_properties, 1567s # const gchar *const *invalidated_properties) 1567s # { 1567s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1567s # guint n; 1567s # const gchar *key; 1567s # GVariantIter *iter; 1567s # _ExtendedGDBusPropertyInfo *info; 1567s # g_variant_get (changed_properties, "a{sv}", &iter); 1567s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1567s # { 1567s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1567s # g_datalist_remove_data (&proxy->priv->qdata, key); 1567s # if (info != NULL) 1567s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1567s # } 1567s # g_variant_iter_free (iter); 1567s # for (n = 0; invalidated_properties[n] != NULL; n++) 1567s # { 1567s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1567s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1567s # if (info != NULL) 1567s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1567s # } 1567s # } 1567s # 1567s # static void 1567s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1567s # { 1567s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1567s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1567s # #else 1567s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1567s # #endif 1567s # 1567s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1567s # } 1567s # 1567s # static void 1567s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1567s # { 1567s # GObjectClass *gobject_class; 1567s # GDBusProxyClass *proxy_class; 1567s # 1567s # gobject_class = G_OBJECT_CLASS (klass); 1567s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1567s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1567s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1567s # 1567s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1567s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1567s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1567s # 1567s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1567s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1567s # #endif 1567s # } 1567s # 1567s # static void 1567s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1567s # { 1567s # } 1567s # 1567s # /** 1567s # * org_project_useful_interface_proxy_new: 1567s # * @connection: A #GDBusConnection. 1567s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1567s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1567s # * @object_path: An object path. 1567s # * @cancellable: (nullable): A #GCancellable or %NULL. 1567s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1567s # * @user_data: User data to pass to @callback. 1567s # * 1567s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1567s # * 1567s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1567s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1567s # * 1567s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1567s # */ 1567s # void 1567s # org_project_useful_interface_proxy_new ( 1567s # GDBusConnection *connection, 1567s # GDBusProxyFlags flags, 1567s # const gchar *name, 1567s # const gchar *object_path, 1567s # GCancellable *cancellable, 1567s # GAsyncReadyCallback callback, 1567s # gpointer user_data) 1567s # { 1567s # g_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); 1567s # } 1567s # 1567s # /** 1567s # * org_project_useful_interface_proxy_new_finish: 1567s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1567s # * @error: Return location for error or %NULL 1567s # * 1567s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1567s # * 1567s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1567s # */ 1567s # OrgProjectUsefulInterface * 1567s # org_project_useful_interface_proxy_new_finish ( 1567s # GAsyncResult *res, 1567s # GError **error) 1567s # { 1567s # GObject *ret; 1567s # GObject *source_object; 1567s # source_object = g_async_result_get_source_object (res); 1567s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1567s # g_object_unref (source_object); 1567s # if (ret != NULL) 1567s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1567s # else 1567s # return NULL; 1567s # } 1567s # 1567s # /** 1567s # * org_project_useful_interface_proxy_new_sync: 1567s # * @connection: A #GDBusConnection. 1567s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1567s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1567s # * @object_path: An object path. 1567s # * @cancellable: (nullable): A #GCancellable or %NULL. 1567s # * @error: Return location for error or %NULL 1567s # * 1567s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1567s # * 1567s # * The calling thread is blocked until a reply is received. 1567s # * 1567s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1567s # * 1567s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1567s # */ 1567s # OrgProjectUsefulInterface * 1567s # org_project_useful_interface_proxy_new_sync ( 1567s # GDBusConnection *connection, 1567s # GDBusProxyFlags flags, 1567s # const gchar *name, 1567s # const gchar *object_path, 1567s # GCancellable *cancellable, 1567s # GError **error) 1567s # { 1567s # GInitable *ret; 1567s # 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); 1567s # if (ret != NULL) 1567s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1567s # else 1567s # return NULL; 1567s # } 1567s # 1567s # 1567s # /** 1567s # * org_project_useful_interface_proxy_new_for_bus: 1567s # * @bus_type: A #GBusType. 1567s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1567s # * @name: A bus name (well-known or unique). 1567s # * @object_path: An object path. 1567s # * @cancellable: (nullable): A #GCancellable or %NULL. 1567s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1567s # * @user_data: User data to pass to @callback. 1567s # * 1567s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1567s # * 1567s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1567s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1567s # * 1567s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1567s # */ 1567s # void 1567s # org_project_useful_interface_proxy_new_for_bus ( 1567s # GBusType bus_type, 1567s # GDBusProxyFlags flags, 1567s # const gchar *name, 1567s # const gchar *object_path, 1567s # GCancellable *cancellable, 1567s # GAsyncReadyCallback callback, 1567s # gpointer user_data) 1567s # { 1567s # g_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); 1567s # } 1567s # 1567s # /** 1567s # * org_project_useful_interface_proxy_new_for_bus_finish: 1567s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1567s # * @error: Return location for error or %NULL 1567s # * 1567s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1567s # * 1567s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1567s # */ 1567s # OrgProjectUsefulInterface * 1567s # org_project_useful_interface_proxy_new_for_bus_finish ( 1567s # GAsyncResult *res, 1567s # GError **error) 1567s # { 1567s # GObject *ret; 1567s # GObject *source_object; 1567s # source_object = g_async_result_get_source_object (res); 1567s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1567s # g_object_unref (source_object); 1567s # if (ret != NULL) 1567s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1567s # else 1567s # return NULL; 1567s # } 1567s # 1567s # /** 1567s # * org_project_useful_interface_proxy_new_for_bus_sync: 1567s # * @bus_type: A #GBusType. 1567s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1567s # * @name: A bus name (well-known or unique). 1567s # * @object_path: An object path. 1567s # * @cancellable: (nullable): A #GCancellable or %NULL. 1567s # * @error: Return location for error or %NULL 1567s # * 1567s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1567s # * 1567s # * The calling thread is blocked until a reply is received. 1567s # * 1567s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1567s # * 1567s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1567s # */ 1567s # OrgProjectUsefulInterface * 1567s # org_project_useful_interface_proxy_new_for_bus_sync ( 1567s # GBusType bus_type, 1567s # GDBusProxyFlags flags, 1567s # const gchar *name, 1567s # const gchar *object_path, 1567s # GCancellable *cancellable, 1567s # GError **error) 1567s # { 1567s # GInitable *ret; 1567s # 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); 1567s # if (ret != NULL) 1567s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1567s # else 1567s # return NULL; 1567s # } 1567s # 1567s # 1567s # /* ------------------------------------------------------------------------ */ 1567s # 1567s # /** 1567s # * OrgProjectUsefulInterfaceSkeleton: 1567s # * 1567s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1567s # */ 1567s # 1567s # /** 1567s # * OrgProjectUsefulInterfaceSkeletonClass: 1567s # * @parent_class: The parent class. 1567s # * 1567s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1567s # */ 1567s # 1567s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1567s # { 1567s # GValue *properties; 1567s # GList *changed_properties; 1567s # GSource *changed_properties_idle_source; 1567s # GMainContext *context; 1567s # GMutex lock; 1567s # }; 1567s # 1567s # static void 1567s # _org_project_useful_interface_skeleton_handle_method_call ( 1567s # GDBusConnection *connection G_GNUC_UNUSED, 1567s # const gchar *sender G_GNUC_UNUSED, 1567s # const gchar *object_path G_GNUC_UNUSED, 1567s # const gchar *interface_name, 1567s # const gchar *method_name, 1567s # GVariant *parameters, 1567s # GDBusMethodInvocation *invocation, 1567s # gpointer user_data) 1567s # { 1567s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1567s # _ExtendedGDBusMethodInfo *info; 1567s # GVariantIter iter; 1567s # GVariant *child; 1567s # GValue *paramv; 1567s # gsize num_params; 1567s # guint num_extra; 1567s # gsize n; 1567s # guint signal_id; 1567s # GValue return_value = G_VALUE_INIT; 1567s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1567s # g_assert (info != NULL); 1567s # num_params = g_variant_n_children (parameters); 1567s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1567s # n = 0; 1567s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1567s # g_value_set_object (¶mv[n++], skeleton); 1567s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1567s # g_value_set_object (¶mv[n++], invocation); 1567s # if (info->pass_fdlist) 1567s # { 1567s # #ifdef G_OS_UNIX 1567s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1567s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1567s # #else 1567s # g_assert_not_reached (); 1567s # #endif 1567s # } 1567s # g_variant_iter_init (&iter, parameters); 1567s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1567s # { 1567s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1567s # if (arg_info->use_gvariant) 1567s # { 1567s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1567s # g_value_set_variant (¶mv[n], child); 1567s # n++; 1567s # } 1567s # else 1567s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1567s # g_variant_unref (child); 1567s # } 1567s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1567s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1567s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1567s # if (!g_value_get_boolean (&return_value)) 1567s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1567s # g_value_unset (&return_value); 1567s # for (n = 0; n < num_params + num_extra; n++) 1567s # g_value_unset (¶mv[n]); 1567s # g_free (paramv); 1567s # } 1567s # 1567s # static GVariant * 1567s # _org_project_useful_interface_skeleton_handle_get_property ( 1567s # GDBusConnection *connection G_GNUC_UNUSED, 1567s # const gchar *sender G_GNUC_UNUSED, 1567s # const gchar *object_path G_GNUC_UNUSED, 1567s # const gchar *interface_name G_GNUC_UNUSED, 1567s # const gchar *property_name, 1567s # GError **error, 1567s # gpointer user_data) 1567s # { 1567s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1567s # GValue value = G_VALUE_INIT; 1567s # GParamSpec *pspec; 1567s # _ExtendedGDBusPropertyInfo *info; 1567s # GVariant *ret; 1567s # ret = NULL; 1567s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1567s # g_assert (info != NULL); 1567s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1567s # if (pspec == NULL) 1567s # { 1567s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1567s # } 1567s # else 1567s # { 1567s # g_value_init (&value, pspec->value_type); 1567s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1567s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1567s # g_value_unset (&value); 1567s # } 1567s # return ret; 1567s # } 1567s # 1567s # static gboolean 1567s # _org_project_useful_interface_skeleton_handle_set_property ( 1567s # GDBusConnection *connection G_GNUC_UNUSED, 1567s # const gchar *sender G_GNUC_UNUSED, 1567s # const gchar *object_path G_GNUC_UNUSED, 1567s # const gchar *interface_name G_GNUC_UNUSED, 1567s # const gchar *property_name, 1567s # GVariant *variant, 1567s # GError **error, 1567s # gpointer user_data) 1567s # { 1567s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1567s # GValue value = G_VALUE_INIT; 1567s # GParamSpec *pspec; 1567s # _ExtendedGDBusPropertyInfo *info; 1567s # gboolean ret; 1567s # ret = FALSE; 1567s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1567s # g_assert (info != NULL); 1567s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1567s # if (pspec == NULL) 1567s # { 1567s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1567s # } 1567s # else 1567s # { 1567s # if (info->use_gvariant) 1567s # g_value_set_variant (&value, variant); 1567s # else 1567s # g_dbus_gvariant_to_gvalue (variant, &value); 1567s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1567s # g_value_unset (&value); 1567s # ret = TRUE; 1567s # } 1567s # return ret; 1567s # } 1567s # 1567s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1567s # { 1567s # _org_project_useful_interface_skeleton_handle_method_call, 1567s # _org_project_useful_interface_skeleton_handle_get_property, 1567s # _org_project_useful_interface_skeleton_handle_set_property, 1567s # {NULL} 1567s # }; 1567s # 1567s # static GDBusInterfaceInfo * 1567s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1567s # { 1567s # return org_project_useful_interface_interface_info (); 1567s # } 1567s # 1567s # static GDBusInterfaceVTable * 1567s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1567s # { 1567s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1567s # } 1567s # 1567s # static GVariant * 1567s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1567s # { 1567s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1567s # 1567s # GVariantBuilder builder; 1567s # guint n; 1567s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1567s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1567s # goto out; 1567s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1567s # { 1567s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1567s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1567s # { 1567s # GVariant *value; 1567s # 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); 1567s # if (value != NULL) 1567s # { 1567s # g_variant_take_ref (value); 1567s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1567s # g_variant_unref (value); 1567s # } 1567s # } 1567s # } 1567s # out: 1567s # return g_variant_builder_end (&builder); 1567s # } 1567s # 1567s # static void 1567s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1567s # { 1567s # } 1567s # 1567s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1567s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1567s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1567s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1567s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1567s # 1567s # #else 1567s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1567s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1567s # 1567s # #endif 1567s # static void 1567s # org_project_useful_interface_skeleton_finalize (GObject *object) 1567s # { 1567s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1567s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1567s # if (skeleton->priv->changed_properties_idle_source != NULL) 1567s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1567s # g_main_context_unref (skeleton->priv->context); 1567s # g_mutex_clear (&skeleton->priv->lock); 1567s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1567s # } 1567s # 1567s # static void 1567s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1567s # { 1567s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1567s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1567s # #else 1567s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1567s # #endif 1567s # 1567s # g_mutex_init (&skeleton->priv->lock); 1567s # skeleton->priv->context = g_main_context_ref_thread_default (); 1567s # } 1567s # 1567s # static void 1567s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1567s # { 1567s # GObjectClass *gobject_class; 1567s # GDBusInterfaceSkeletonClass *skeleton_class; 1567s # 1567s # gobject_class = G_OBJECT_CLASS (klass); 1567s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1567s # 1567s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1567s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1567s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1567s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1567s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1567s # 1567s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1567s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1567s # #endif 1567s # } 1567s # 1567s # static void 1567s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1567s # { 1567s # } 1567s # 1567s # /** 1567s # * org_project_useful_interface_skeleton_new: 1567s # * 1567s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1567s # * 1567s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1567s # */ 1567s # OrgProjectUsefulInterface * 1567s # org_project_useful_interface_skeleton_new (void) 1567s # { 1567s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1567s # } 1567s # /tmp/tmp6r0268hb/tmpbfgz7t0e.xml: 1567s # 1567s # 1567s # 1567s # 1567s # 1567s # 1567s # 1567s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp6r0268hb/tmpbfgz7t0e.xml', '--output', '-', '--body'] 1567s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-baqskmurxn,guid=fbaffe99d0ccb1f6e1beb84865fc01cd', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.YcZbqk/autopkgtest_tmp', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.YcZbqk/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.YcZbqk/autopkgtest_tmp', 'TERM': 'unknown', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.YcZbqk/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.sVTVMp0Db0', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.rqZsJO/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.YcZbqk/wrapper.sh --artifacts=/tmp/autopkgtest.YcZbqk/installed-tests-artifacts --chdir=/tmp/autopkgtest.YcZbqk/build.S0E/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.YcZbqk/installed-tests-stderr --stdout=/tmp/autopkgtest.YcZbqk/installed-tests-stdout --tmp=/tmp/autopkgtest.YcZbqk/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2' --make-executable=/tmp/autopkgtest.YcZbqk/build.S0E/src/debian/tests/installed-tests -- /tmp/autopkgtest.YcZbqk/build.S0E/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.YcZbqk/build.S0E/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.YcZbqk/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1567s # Output: /* 1567s # * This file is generated by gdbus-codegen, do not modify it. 1567s # * 1567s # * The license of this code is the same as for the D-Bus interface description 1567s # * it was derived from. Note that it links to GLib, so must comply with the 1567s # * LGPL linking clauses. 1567s # */ 1567s # 1567s # #ifdef HAVE_CONFIG_H 1567s # # include "config.h" 1567s # #endif 1567s # 1567s # #include 1567s # #ifdef G_OS_UNIX 1567s # # include 1567s # #endif 1567s # 1567s # #ifdef G_ENABLE_DEBUG 1567s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1567s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1567s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1567s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1567s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1567s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1567s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1567s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1567s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1567s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1567s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1567s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1567s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1567s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1567s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1567s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1567s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1567s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1567s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1567s # #else /* !G_ENABLE_DEBUG */ 1567s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1567s # * Do not access GValues directly in your code. Instead, use the 1567s # * g_value_get_*() functions 1567s # */ 1567s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1567s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1567s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1567s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1567s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1567s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1567s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1567s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1567s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1567s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1567s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1567s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1567s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1567s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1567s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1567s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1567s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1567s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1567s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1567s # #endif /* !G_ENABLE_DEBUG */ 1567s # 1567s # typedef struct 1567s # { 1567s # GDBusArgInfo parent_struct; 1567s # gboolean use_gvariant; 1567s # } _ExtendedGDBusArgInfo; 1567s # 1567s # typedef struct 1567s # { 1567s # GDBusMethodInfo parent_struct; 1567s # const gchar *signal_name; 1567s # gboolean pass_fdlist; 1567s # } _ExtendedGDBusMethodInfo; 1567s # 1567s # typedef struct 1567s # { 1567s # GDBusSignalInfo parent_struct; 1567s # const gchar *signal_name; 1567s # } _ExtendedGDBusSignalInfo; 1567s # 1567s # typedef struct 1567s # { 1567s # GDBusPropertyInfo parent_struct; 1567s # const gchar *hyphen_name; 1567s # guint use_gvariant : 1; 1567s # guint emits_changed_signal : 1; 1567s # } _ExtendedGDBusPropertyInfo; 1567s # 1567s # typedef struct 1567s # { 1567s # GDBusInterfaceInfo parent_struct; 1567s # const gchar *hyphen_name; 1567s # } _ExtendedGDBusInterfaceInfo; 1567s # 1567s # typedef struct 1567s # { 1567s # const _ExtendedGDBusPropertyInfo *info; 1567s # guint prop_id; 1567s # GValue orig_value; /* the value before the change */ 1567s # } ChangedProperty; 1567s # 1567s # static void 1567s # _changed_property_free (ChangedProperty *data) 1567s # { 1567s # g_value_unset (&data->orig_value); 1567s # g_free (data); 1567s # } 1567s # 1567s # static gboolean 1567s # _g_strv_equal0 (gchar **a, gchar **b) 1567s # { 1567s # gboolean ret = FALSE; 1567s # guint n; 1567s # if (a == NULL && b == NULL) 1567s # { 1567s # ret = TRUE; 1567s # goto out; 1567s # } 1567s # if (a == NULL || b == NULL) 1567s # goto out; 1567s # if (g_strv_length (a) != g_strv_length (b)) 1567s # goto out; 1567s # for (n = 0; a[n] != NULL; n++) 1567s # if (g_strcmp0 (a[n], b[n]) != 0) 1567s # goto out; 1567s # ret = TRUE; 1567s # out: 1567s # return ret; 1567s # } 1567s # 1567s # static gboolean 1567s # _g_variant_equal0 (GVariant *a, GVariant *b) 1567s # { 1567s # gboolean ret = FALSE; 1567s # if (a == NULL && b == NULL) 1567s # { 1567s # ret = TRUE; 1567s # goto out; 1567s # } 1567s # if (a == NULL || b == NULL) 1567s # goto out; 1567s # ret = g_variant_equal (a, b); 1567s # out: 1567s # return ret; 1567s # } 1567s # 1567s # G_GNUC_UNUSED static gboolean 1567s # _g_value_equal (const GValue *a, const GValue *b) 1567s # { 1567s # gboolean ret = FALSE; 1567s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1567s # switch (G_VALUE_TYPE (a)) 1567s # { 1567s # case G_TYPE_BOOLEAN: 1567s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1567s # break; 1567s # case G_TYPE_UCHAR: 1567s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1567s # break; 1567s # case G_TYPE_INT: 1567s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1567s # break; 1567s # case G_TYPE_UINT: 1567s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1567s # break; 1567s # case G_TYPE_INT64: 1567s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1567s # break; 1567s # case G_TYPE_UINT64: 1567s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1567s # break; 1567s # case G_TYPE_DOUBLE: 1567s # { 1567s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1567s # gdouble da = g_value_get_double (a); 1567s # gdouble db = g_value_get_double (b); 1567s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1567s # } 1567s # break; 1567s # case G_TYPE_STRING: 1567s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1567s # break; 1567s # case G_TYPE_VARIANT: 1567s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1567s # break; 1567s # default: 1567s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1567s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1567s # else 1567s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1567s # break; 1567s # } 1567s # return ret; 1567s # } 1567s # 1567s # static void 1567s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 1567s # GClosure *closure, 1567s # GValue *return_value, 1567s # unsigned int n_param_values, 1567s # const GValue *param_values, 1567s # void *invocation_hint G_GNUC_UNUSED, 1567s # void *marshal_data) 1567s # { 1567s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 1567s # (void *data1, 1567s # GDBusMethodInvocation *arg_method_invocation, 1567s # void *data2); 1567s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 1567s # GCClosure *cc = (GCClosure*) closure; 1567s # void *data1, *data2; 1567s # gboolean v_return; 1567s # 1567s # g_return_if_fail (return_value != NULL); 1567s # g_return_if_fail (n_param_values == 2); 1567s # 1567s # if (G_CCLOSURE_SWAP_DATA (closure)) 1567s # { 1567s # data1 = closure->data; 1567s # data2 = g_value_peek_pointer (param_values + 0); 1567s # } 1567s # else 1567s # { 1567s # data1 = g_value_peek_pointer (param_values + 0); 1567s # data2 = closure->data; 1567s # } 1567s # 1567s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 1567s # (marshal_data ? marshal_data : cc->callback); 1567s # 1567s # v_return = 1567s # callback (data1, 1567s # g_marshal_value_peek_object (param_values + 1), 1567s # data2); 1567s # 1567s # g_value_set_boolean (return_value, v_return); 1567s # } 1567s # 1567s # /* ------------------------------------------------------------------------ 1567s # * Code for interface org.project.UsefulInterface 1567s # * ------------------------------------------------------------------------ 1567s # */ 1567s # 1567s # /** 1567s # * SECTION:OrgProjectUsefulInterface 1567s # * @title: OrgProjectUsefulInterface 1567s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1567s # * 1567s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1567s # */ 1567s # 1567s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1567s # 1567s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_u_OUT_ARG_arg_u = 1567s # { 1567s # { 1567s # -1, 1567s # (gchar *) "arg_u", 1567s # (gchar *) "u", 1567s # NULL 1567s # }, 1567s # FALSE 1567s # }; 1567s # 1567s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_u_OUT_ARG_pointers[] = 1567s # { 1567s # &_org_project_useful_interface_method_info_single_arg_method_u_OUT_ARG_arg_u.parent_struct, 1567s # NULL 1567s # }; 1567s # 1567s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_u = 1567s # { 1567s # { 1567s # -1, 1567s # (gchar *) "SingleArgMethodU", 1567s # NULL, 1567s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_u_OUT_ARG_pointers, 1567s # NULL 1567s # }, 1567s # "handle-single-arg-method-u", 1567s # FALSE 1567s # }; 1567s # 1567s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1567s # { 1567s # &_org_project_useful_interface_method_info_single_arg_method_u.parent_struct, 1567s # NULL 1567s # }; 1567s # 1567s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1567s # { 1567s # { 1567s # -1, 1567s # (gchar *) "org.project.UsefulInterface", 1567s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1567s # NULL, 1567s # NULL, 1567s # NULL 1567s # }, 1567s # "org-project-useful-interface", 1567s # }; 1567s # 1567s # 1567s # /** 1567s # * org_project_useful_interface_interface_info: 1567s # * 1567s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1567s # * 1567s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1567s # */ 1567s # GDBusInterfaceInfo * 1567s # org_project_useful_interface_interface_info (void) 1567s # { 1567s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1567s # } 1567s # 1567s # /** 1567s # * org_project_useful_interface_override_properties: 1567s # * @klass: The class structure for a #GObject derived class. 1567s # * @property_id_begin: The property id to assign to the first overridden property. 1567s # * 1567s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1567s # * The properties are overridden in the order they are defined. 1567s # * 1567s # * Returns: The last property id. 1567s # */ 1567s # guint 1567s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1567s # { 1567s # return property_id_begin - 1; 1567s # } 1567s # 1567s # 1567s # inline static void 1567s # org_project_useful_interface_method_marshal_single_arg_method_u ( 1567s # GClosure *closure, 1567s # GValue *return_value, 1567s # unsigned int n_param_values, 1567s # const GValue *param_values, 1567s # void *invocation_hint, 1567s # void *marshal_data) 1567s # { 1567s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1567s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1567s # } 1567s # 1567s # 1567s # /** 1567s # * OrgProjectUsefulInterface: 1567s # * 1567s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1567s # */ 1567s # 1567s # /** 1567s # * OrgProjectUsefulInterfaceIface: 1567s # * @parent_iface: The parent interface. 1567s # * @handle_single_arg_method_u: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-u signal. 1567s # * 1567s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1567s # */ 1567s # 1567s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1567s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1567s # 1567s # static void 1567s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1567s # { 1567s # /* GObject signals for incoming D-Bus method calls: */ 1567s # /** 1567s # * OrgProjectUsefulInterface::handle-single-arg-method-u: 1567s # * @object: A #OrgProjectUsefulInterface. 1567s # * @invocation: A #GDBusMethodInvocation. 1567s # * 1567s # * Signal emitted when a remote caller is invoking the SingleArgMethodU() D-Bus method. 1567s # * 1567s # * 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. 1567s # * 1567s # * 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. 1567s # */ 1567s # g_signal_new ("handle-single-arg-method-u", 1567s # G_TYPE_FROM_INTERFACE (iface), 1567s # G_SIGNAL_RUN_LAST, 1567s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_u), 1567s # g_signal_accumulator_true_handled, 1567s # NULL, 1567s # org_project_useful_interface_method_marshal_single_arg_method_u, 1567s # G_TYPE_BOOLEAN, 1567s # 1, 1567s # G_TYPE_DBUS_METHOD_INVOCATION); 1567s # 1567s # } 1567s # 1567s # /** 1567s # * org_project_useful_interface_call_single_arg_method_u: 1567s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1567s # * @cancellable: (nullable): A #GCancellable or %NULL. 1567s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1567s # * @user_data: User data to pass to @callback. 1567s # * 1567s # * Asynchronously invokes the SingleArgMethodU() D-Bus method on @proxy. 1567s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1567s # * You can then call org_project_useful_interface_call_single_arg_method_u_finish() to get the result of the operation. 1567s # * 1567s # * See org_project_useful_interface_call_single_arg_method_u_sync() for the synchronous, blocking version of this method. 1567s # */ 1567s # void 1567s # org_project_useful_interface_call_single_arg_method_u ( 1567s # OrgProjectUsefulInterface *proxy, 1567s # GCancellable *cancellable, 1567s # GAsyncReadyCallback callback, 1567s # gpointer user_data) 1567s # { 1567s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1567s # "SingleArgMethodU", 1567s # g_variant_new ("()"), 1567s # G_DBUS_CALL_FLAGS_NONE, 1567s # -1, 1567s # cancellable, 1567s # callback, 1567s # user_data); 1567s # } 1567s # 1567s # /** 1567s # * org_project_useful_interface_call_single_arg_method_u_finish: 1567s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1567s # * @out_arg_u: (out) (optional): Return location for return parameter or %NULL to ignore. 1567s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_u(). 1567s # * @error: Return location for error or %NULL. 1567s # * 1567s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_u(). 1567s # * 1567s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1567s # */ 1567s # gboolean 1567s # org_project_useful_interface_call_single_arg_method_u_finish ( 1567s # OrgProjectUsefulInterface *proxy, 1567s # guint *out_arg_u, 1567s # GAsyncResult *res, 1567s # GError **error) 1567s # { 1567s # GVariant *_ret; 1567s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1567s # if (_ret == NULL) 1567s # goto _out; 1567s # g_variant_get (_ret, 1567s # "(u)", 1567s # out_arg_u); 1567s # g_variant_unref (_ret); 1567s # _out: 1567s # return _ret != NULL; 1567s # } 1567s # 1567s # /** 1567s # * org_project_useful_interface_call_single_arg_method_u_sync: 1567s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1567s # * @out_arg_u: (out) (optional): Return location for return parameter or %NULL to ignore. 1567s # * @cancellable: (nullable): A #GCancellable or %NULL. 1567s # * @error: Return location for error or %NULL. 1567s # * 1567s # * Synchronously invokes the SingleArgMethodU() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1567s # * 1567s # * See org_project_useful_interface_call_single_arg_method_u() for the asynchronous version of this method. 1567s # * 1567s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1567s # */ 1567s # gboolean 1567s # org_project_useful_interface_call_single_arg_method_u_sync ( 1567s # OrgProjectUsefulInterface *proxy, 1567s # guint *out_arg_u, 1567s # GCancellable *cancellable, 1567s # GError **error) 1567s # { 1567s # GVariant *_ret; 1567s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1567s # "SingleArgMethodU", 1567s # g_variant_new ("()"), 1567s # G_DBUS_CALL_FLAGS_NONE, 1567s # -1, 1567s # cancellable, 1567s # error); 1567s # if (_ret == NULL) 1567s # goto _out; 1567s # g_variant_get (_ret, 1567s # "(u)", 1567s # out_arg_u); 1567s # g_variant_unref (_ret); 1567s # _out: 1567s # return _ret != NULL; 1567s # } 1567s # 1567s # /** 1567s # * org_project_useful_interface_complete_single_arg_method_u: 1567s # * @object: A #OrgProjectUsefulInterface. 1567s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1567s # * @arg_u: Parameter to return. 1567s # * 1567s # * 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. 1567s # * 1567s # * This method will free @invocation, you cannot use it afterwards. 1567s # */ 1567s # void 1567s # org_project_useful_interface_complete_single_arg_method_u ( 1567s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1567s # GDBusMethodInvocation *invocation, 1567s # guint arg_u) 1567s # { 1567s # g_dbus_method_invocation_return_value (invocation, 1567s # g_variant_new ("(u)", 1567s # arg_u)); 1567s # } 1567s # 1567s # /* ------------------------------------------------------------------------ */ 1567s # 1567s # /** 1567s # * OrgProjectUsefulInterfaceProxy: 1567s # * 1567s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1567s # */ 1567s # 1567s # /** 1567s # * OrgProjectUsefulInterfaceProxyClass: 1567s # * @parent_class: The parent class. 1567s # * 1567s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1567s # */ 1567s # 1567s # struct _OrgProjectUsefulInterfaceProxyPrivate 1567s # { 1567s # GData *qdata; 1567s # }; 1567s # 1567s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1567s # 1567s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1567s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1567s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1567s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1567s # 1567s # #else 1567s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1567s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1567s # 1567s # #endif 1567s # static void 1567s # org_project_useful_interface_proxy_finalize (GObject *object) 1567s # { 1567s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1567s # g_datalist_clear (&proxy->priv->qdata); 1567s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1567s # } 1567s # 1567s # static void 1567s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1567s # guint prop_id G_GNUC_UNUSED, 1567s # GValue *value G_GNUC_UNUSED, 1567s # GParamSpec *pspec G_GNUC_UNUSED) 1567s # { 1567s # } 1567s # 1567s # static void 1567s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1567s # guint prop_id G_GNUC_UNUSED, 1567s # const GValue *value G_GNUC_UNUSED, 1567s # GParamSpec *pspec G_GNUC_UNUSED) 1567s # { 1567s # } 1567s # 1567s # static void 1567s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1567s # const gchar *sender_name G_GNUC_UNUSED, 1567s # const gchar *signal_name, 1567s # GVariant *parameters) 1567s # { 1567s # _ExtendedGDBusSignalInfo *info; 1567s # GVariantIter iter; 1567s # GVariant *child; 1567s # GValue *paramv; 1567s # gsize num_params; 1567s # gsize n; 1567s # guint signal_id; 1567s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1567s # if (info == NULL) 1567s # return; 1567s # num_params = g_variant_n_children (parameters); 1567s # paramv = g_new0 (GValue, num_params + 1); 1567s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1567s # g_value_set_object (¶mv[0], proxy); 1567s # g_variant_iter_init (&iter, parameters); 1567s # n = 1; 1567s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1567s # { 1567s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1567s # if (arg_info->use_gvariant) 1567s # { 1567s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1567s # g_value_set_variant (¶mv[n], child); 1567s # n++; 1567s # } 1567s # else 1567s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1567s # g_variant_unref (child); 1567s # } 1567s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1567s # g_signal_emitv (paramv, signal_id, 0, NULL); 1567s # for (n = 0; n < num_params + 1; n++) 1567s # g_value_unset (¶mv[n]); 1567s # g_free (paramv); 1567s # } 1567s # 1567s # static void 1567s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1567s # GVariant *changed_properties, 1567s # const gchar *const *invalidated_properties) 1567s # { 1567s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1567s # guint n; 1567s # const gchar *key; 1567s # GVariantIter *iter; 1567s # _ExtendedGDBusPropertyInfo *info; 1567s # g_variant_get (changed_properties, "a{sv}", &iter); 1567s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1567s # { 1567s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1567s # g_datalist_remove_data (&proxy->priv->qdata, key); 1567s # if (info != NULL) 1567s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1567s # } 1567s # g_variant_iter_free (iter); 1567s # for (n = 0; invalidated_properties[n] != NULL; n++) 1567s # { 1567s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1567s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1567s # if (info != NULL) 1567s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1567s # } 1567s # } 1567s # 1567s # static void 1567s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1567s # { 1567s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1567s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1567s # #else 1567s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1567s # #endif 1567s # 1567s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1567s # } 1567s # 1567s # static void 1567s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1567s # { 1567s # GObjectClass *gobject_class; 1567s # GDBusProxyClass *proxy_class; 1567s # 1567s # gobject_class = G_OBJECT_CLASS (klass); 1567s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1567s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1567s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1567s # 1567s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1567s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1567s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1567s # 1567s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1567s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1567s # #endif 1567s # } 1567s # 1567s # static void 1567s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1567s # { 1567s # } 1567s # 1567s # /** 1567s # * org_project_useful_interface_proxy_new: 1567s # * @connection: A #GDBusConnection. 1567s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1567s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1567s # * @object_path: An object path. 1567s # * @cancellable: (nullable): A #GCancellable or %NULL. 1567s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1567s # * @user_data: User data to pass to @callback. 1567s # * 1567s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1567s # * 1567s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1567s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1567s # * 1567s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1567s # */ 1567s # void 1567s # org_project_useful_interface_proxy_new ( 1567s # GDBusConnection *connection, 1567s # GDBusProxyFlags flags, 1567s # const gchar *name, 1567s # const gchar *object_path, 1567s # GCancellable *cancellable, 1567s # GAsyncReadyCallback callback, 1567s # gpointer user_data) 1567s # { 1567s # g_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); 1567s # } 1567s # 1567s # /** 1567s # * org_project_useful_interface_proxy_new_finish: 1567s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1567s # * @error: Return location for error or %NULL 1567s # * 1567s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1567s # * 1567s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1567s # */ 1567s # OrgProjectUsefulInterface * 1567s # org_project_useful_interface_proxy_new_finish ( 1567s # GAsyncResult *res, 1567s # GError **error) 1567s # { 1567s # GObject *ret; 1567s # GObject *source_object; 1567s # source_object = g_async_result_get_source_object (res); 1567s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1567s # g_object_unref (source_object); 1567s # if (ret != NULL) 1567s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1567s # else 1567s # return NULL; 1567s # } 1567s # 1567s # /** 1567s # * org_project_useful_interface_proxy_new_sync: 1567s # * @connection: A #GDBusConnection. 1567s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1567s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1567s # * @object_path: An object path. 1567s # * @cancellable: (nullable): A #GCancellable or %NULL. 1567s # * @error: Return location for error or %NULL 1567s # * 1567s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1567s # * 1567s # * The calling thread is blocked until a reply is received. 1567s # * 1567s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1567s # * 1567s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1567s # */ 1567s # OrgProjectUsefulInterface * 1567s # org_project_useful_interface_proxy_new_sync ( 1567s # GDBusConnection *connection, 1567s # GDBusProxyFlags flags, 1567s # const gchar *name, 1567s # const gchar *object_path, 1567s # GCancellable *cancellable, 1567s # GError **error) 1567s # { 1567s # GInitable *ret; 1567s # 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); 1567s # if (ret != NULL) 1567s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1567s # else 1567s # return NULL; 1567s # } 1567s # 1567s # 1567s # /** 1567s # * org_project_useful_interface_proxy_new_for_bus: 1567s # * @bus_type: A #GBusType. 1567s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1567s # * @name: A bus name (well-known or unique). 1567s # * @object_path: An object path. 1567s # * @cancellable: (nullable): A #GCancellable or %NULL. 1567s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1567s # * @user_data: User data to pass to @callback. 1567s # * 1567s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1567s # * 1567s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1567s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1567s # * 1567s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1567s # */ 1567s # void 1567s # org_project_useful_interface_proxy_new_for_bus ( 1567s # GBusType bus_type, 1567s # GDBusProxyFlags flags, 1567s # const gchar *name, 1567s # const gchar *object_path, 1567s # GCancellable *cancellable, 1567s # GAsyncReadyCallback callback, 1567s # gpointer user_data) 1567s # { 1567s # g_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); 1567s # } 1567s # 1567s # /** 1567s # * org_project_useful_interface_proxy_new_for_bus_finish: 1567s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1567s # * @error: Return location for error or %NULL 1567s # * 1567s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1567s # * 1567s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1567s # */ 1567s # OrgProjectUsefulInterface * 1567s # org_project_useful_interface_proxy_new_for_bus_finish ( 1567s # GAsyncResult *res, 1567s # GError **error) 1567s # { 1567s # GObject *ret; 1567s # GObject *source_object; 1567s # source_object = g_async_result_get_source_object (res); 1567s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1567s # g_object_unref (source_object); 1567s # if (ret != NULL) 1567s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1567s # else 1567s # return NULL; 1567s # } 1567s # 1567s # /** 1567s # * org_project_useful_interface_proxy_new_for_bus_sync: 1567s # * @bus_type: A #GBusType. 1567s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1567s # * @name: A bus name (well-known or unique). 1567s # * @object_path: An object path. 1567s # * @cancellable: (nullable): A #GCancellable or %NULL. 1567s # * @error: Return location for error or %NULL 1567s # * 1567s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1567s # * 1567s # * The calling thread is blocked until a reply is received. 1567s # * 1567s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1567s # * 1567s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1567s # */ 1567s # OrgProjectUsefulInterface * 1567s # org_project_useful_interface_proxy_new_for_bus_sync ( 1567s # GBusType bus_type, 1567s # GDBusProxyFlags flags, 1567s # const gchar *name, 1567s # const gchar *object_path, 1567s # GCancellable *cancellable, 1567s # GError **error) 1567s # { 1567s # GInitable *ret; 1567s # 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); 1567s # if (ret != NULL) 1567s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1567s # else 1567s # return NULL; 1567s # } 1567s # 1567s # 1567s # /* ------------------------------------------------------------------------ */ 1567s # 1567s # /** 1567s # * OrgProjectUsefulInterfaceSkeleton: 1567s # * 1567s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1567s # */ 1567s # 1567s # /** 1567s # * OrgProjectUsefulInterfaceSkeletonClass: 1567s # * @parent_class: The parent class. 1567s # * 1567s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1567s # */ 1567s # 1567s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1567s # { 1567s # GValue *properties; 1567s # GList *changed_properties; 1567s # GSource *changed_properties_idle_source; 1567s # GMainContext *context; 1567s # GMutex lock; 1567s # }; 1567s # 1567s # static void 1567s # _org_project_useful_interface_skeleton_handle_method_call ( 1567s # GDBusConnection *connection G_GNUC_UNUSED, 1567s # const gchar *sender G_GNUC_UNUSED, 1567s # const gchar *object_path G_GNUC_UNUSED, 1567s # const gchar *interface_name, 1567s # const gchar *method_name, 1567s # GVariant *parameters, 1567s # GDBusMethodInvocation *invocation, 1567s # gpointer user_data) 1567s # { 1567s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1567s # _ExtendedGDBusMethodInfo *info; 1567s # GVariantIter iter; 1567s # GVariant *child; 1567s # GValue *paramv; 1567s # gsize num_params; 1567s # guint num_extra; 1567s # gsize n; 1567s # guint signal_id; 1567s # GValue return_value = G_VALUE_INIT; 1567s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1567s # g_assert (info != NULL); 1567s # num_params = g_variant_n_children (parameters); 1567s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1567s # n = 0; 1567s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1567s # g_value_set_object (¶mv[n++], skeleton); 1567s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1567s # g_value_set_object (¶mv[n++], invocation); 1567s # if (info->pass_fdlist) 1567s # { 1567s # #ifdef G_OS_UNIX 1567s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1567s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1567s # #else 1567s # g_assert_not_reached (); 1567s # #endif 1567s # } 1567s # g_variant_iter_init (&iter, parameters); 1567s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1567s # { 1567s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1567s # if (arg_info->use_gvariant) 1567s # { 1567s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1567s # g_value_set_variant (¶mv[n], child); 1567s # n++; 1567s # } 1567s # else 1567s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1567s # g_variant_unref (child); 1567s # } 1567s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1567s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1567s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1567s # if (!g_value_get_boolean (&return_value)) 1567s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1567s # g_value_unset (&return_value); 1567s # for (n = 0; n < num_params + num_extra; n++) 1567s # g_value_unset (¶mv[n]); 1567s # g_free (paramv); 1567s # } 1567s # 1567s # static GVariant * 1567s # _org_project_useful_interface_skeleton_handle_get_property ( 1567s # GDBusConnection *connection G_GNUC_UNUSED, 1567s # const gchar *sender G_GNUC_UNUSED, 1567s # const gchar *object_path G_GNUC_UNUSED, 1567s # const gchar *interface_name G_GNUC_UNUSED, 1567s # const gchar *property_name, 1567s # GError **error, 1567s # gpointer user_data) 1567s # { 1567s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1567s # GValue value = G_VALUE_INIT; 1567s # GParamSpec *pspec; 1567s # _ExtendedGDBusPropertyInfo *info; 1567s # GVariant *ret; 1567s # ret = NULL; 1567s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1567s # g_assert (info != NULL); 1567s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1567s # if (pspec == NULL) 1567s # { 1567s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1567s # } 1567s # else 1567s # { 1567s # g_value_init (&value, pspec->value_type); 1567s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1567s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1567s # g_value_unset (&value); 1567s # } 1567s # return ret; 1567s # } 1567s # 1567s # static gboolean 1567s # _org_project_useful_interface_skeleton_handle_set_property ( 1567s # GDBusConnection *connection G_GNUC_UNUSED, 1567s # const gchar *sender G_GNUC_UNUSED, 1567s # const gchar *object_path G_GNUC_UNUSED, 1567s # const gchar *interface_name G_GNUC_UNUSED, 1567s # const gchar *property_name, 1567s # GVariant *variant, 1567s # GError **error, 1567s # gpointer user_data) 1567s # { 1567s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1567s # GValue value = G_VALUE_INIT; 1567s # GParamSpec *pspec; 1567s # _ExtendedGDBusPropertyInfo *info; 1567s # gboolean ret; 1567s # ret = FALSE; 1567s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1567s # g_assert (info != NULL); 1567s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1567s # if (pspec == NULL) 1567s # { 1567s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1567s # } 1567s # else 1567s # { 1567s # if (info->use_gvariant) 1567s # g_value_set_variant (&value, variant); 1567s # else 1567s # g_dbus_gvariant_to_gvalue (variant, &value); 1567s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1567s # g_value_unset (&value); 1567s # ret = TRUE; 1567s # } 1567s # return ret; 1567s # } 1567s # 1567s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1567s # { 1567s # _org_project_useful_interface_skeleton_handle_method_call, 1567s # _org_project_useful_interface_skeleton_handle_get_property, 1567s # _org_project_useful_interface_skeleton_handle_set_property, 1567s # {NULL} 1567s # }; 1567s # 1567s # static GDBusInterfaceInfo * 1567s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1567s # { 1567s # return org_project_useful_interface_interface_info (); 1567s # } 1567s # 1567s # static GDBusInterfaceVTable * 1567s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1567s # { 1567s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1567s # } 1567s # 1567s # static GVariant * 1567s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1567s # { 1567s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1567s # 1567s # GVariantBuilder builder; 1567s # guint n; 1567s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1567s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1567s # goto out; 1567s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1567s # { 1567s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1567s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1567s # { 1567s # GVariant *value; 1567s # 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); 1567s # if (value != NULL) 1567s # { 1567s # g_variant_take_ref (value); 1567s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1567s # g_variant_unref (value); 1567s # } 1567s # } 1567s # } 1567s # out: 1567s # return g_variant_builder_end (&builder); 1567s # } 1567s # 1567s # static void 1567s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1567s # { 1567s # } 1567s # 1567s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1567s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1567s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1567s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1567s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1567s # 1567s # #else 1567s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1567s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1567s # 1567s # #endif 1567s # static void 1567s # org_project_useful_interface_skeleton_finalize (GObject *object) 1567s # { 1567s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1567s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1567s # if (skeleton->priv->changed_properties_idle_source != NULL) 1567s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1567s # g_main_context_unref (skeleton->priv->context); 1567s # g_mutex_clear (&skeleton->priv->lock); 1567s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1567s # } 1567s # 1567s # static void 1567s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1567s # { 1567s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1567s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1567s # #else 1567s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1567s # #endif 1567s # 1567s # g_mutex_init (&skeleton->priv->lock); 1567s # skeleton->priv->context = g_main_context_ref_thread_default (); 1567s # } 1567s # 1567s # static void 1567s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1567s # { 1567s # GObjectClass *gobject_class; 1567s # GDBusInterfaceSkeletonClass *skeleton_class; 1567s # 1567s # gobject_class = G_OBJECT_CLASS (klass); 1567s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1567s # 1567s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1567s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1567s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1567s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1567s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1567s # 1567s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1567s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1567s # #endif 1567s # } 1567s # 1567s # static void 1567s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1567s # { 1567s # } 1567s # 1567s # /** 1567s # * org_project_useful_interface_skeleton_new: 1567s # * 1567s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1567s # * 1567s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1567s # */ 1567s # OrgProjectUsefulInterface * 1567s # org_project_useful_interface_skeleton_new (void) 1567s # { 1567s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1567s # } 1567s # /tmp/tmp6r0268hb/tmpkz05x11d.xml: 1567s # 1567s # 1567s # 1567s # 1567s # 1567s # 1567s # 1567s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp6r0268hb/tmpkz05x11d.xml', '--output', '-', '--body'] 1567s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-baqskmurxn,guid=fbaffe99d0ccb1f6e1beb84865fc01cd', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.YcZbqk/autopkgtest_tmp', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.YcZbqk/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.YcZbqk/autopkgtest_tmp', 'TERM': 'unknown', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.YcZbqk/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.sVTVMp0Db0', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.rqZsJO/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.YcZbqk/wrapper.sh --artifacts=/tmp/autopkgtest.YcZbqk/installed-tests-artifacts --chdir=/tmp/autopkgtest.YcZbqk/build.S0E/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.YcZbqk/installed-tests-stderr --stdout=/tmp/autopkgtest.YcZbqk/installed-tests-stdout --tmp=/tmp/autopkgtest.YcZbqk/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2' --make-executable=/tmp/autopkgtest.YcZbqk/build.S0E/src/debian/tests/installed-tests -- /tmp/autopkgtest.YcZbqk/build.S0E/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.YcZbqk/build.S0E/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.YcZbqk/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1567s # Output: /* 1567s # * This file is generated by gdbus-codegen, do not modify it. 1567s # * 1567s # * The license of this code is the same as for the D-Bus interface description 1567s # * it was derived from. Note that it links to GLib, so must comply with the 1567s # * LGPL linking clauses. 1567s # */ 1567s # 1567s # #ifdef HAVE_CONFIG_H 1567s # # include "config.h" 1567s # #endif 1567s # 1567s # #include 1567s # #ifdef G_OS_UNIX 1567s # # include 1567s # #endif 1567s # 1567s # #ifdef G_ENABLE_DEBUG 1567s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1567s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1567s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1567s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1567s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1567s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1567s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1567s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1567s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1567s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1567s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1567s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1567s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1567s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1567s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1567s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1567s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1567s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1567s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1567s # #else /* !G_ENABLE_DEBUG */ 1567s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1567s # * Do not access GValues directly in your code. Instead, use the 1567s # * g_value_get_*() functions 1567s # */ 1567s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1567s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1567s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1567s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1567s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1567s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1567s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1567s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1567s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1567s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1567s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1567s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1567s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1567s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1567s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1567s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1567s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1567s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1567s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1567s # #endif /* !G_ENABLE_DEBUG */ 1567s # 1567s # typedef struct 1567s # { 1567s # GDBusArgInfo parent_struct; 1567s # gboolean use_gvariant; 1567s # } _ExtendedGDBusArgInfo; 1567s # 1567s # typedef struct 1567s # { 1567s # GDBusMethodInfo parent_struct; 1567s # const gchar *signal_name; 1567s # gboolean pass_fdlist; 1567s # } _ExtendedGDBusMethodInfo; 1567s # 1567s # typedef struct 1567s # { 1567s # GDBusSignalInfo parent_struct; 1567s # const gchar *signal_name; 1567s # } _ExtendedGDBusSignalInfo; 1567s # 1567s # typedef struct 1567s # { 1567s # GDBusPropertyInfo parent_struct; 1567s # const gchar *hyphen_name; 1567s # guint use_gvariant : 1; 1567s # guint emits_changed_signal : 1; 1567s # } _ExtendedGDBusPropertyInfo; 1567s # 1567s # typedef struct 1567s # { 1567s # GDBusInterfaceInfo parent_struct; 1567s # const gchar *hyphen_name; 1567s # } _ExtendedGDBusInterfaceInfo; 1567s # 1567s # typedef struct 1567s # { 1567s # const _ExtendedGDBusPropertyInfo *info; 1567s # guint prop_id; 1567s # GValue orig_value; /* the value before the change */ 1567s # } ChangedProperty; 1567s # 1567s # static void 1567s # _changed_property_free (ChangedProperty *data) 1567s # { 1567s # g_value_unset (&data->orig_value); 1567s # g_free (data); 1567s # } 1567s # 1567s # static gboolean 1567s # _g_strv_equal0 (gchar **a, gchar **b) 1567s # { 1567s # gboolean ret = FALSE; 1567s # guint n; 1567s # if (a == NULL && b == NULL) 1567s # { 1567s # ret = TRUE; 1567s # goto out; 1567s # } 1567s # if (a == NULL || b == NULL) 1567s # goto out; 1567s # if (g_strv_length (a) != g_strv_length (b)) 1567s # goto out; 1567s # for (n = 0; a[n] != NULL; n++) 1567s # if (g_strcmp0 (a[n], b[n]) != 0) 1567s # goto out; 1567s # ret = TRUE; 1567s # out: 1567s # return ret; 1567s # } 1567s # 1567s # static gboolean 1567s # _g_variant_equal0 (GVariant *a, GVariant *b) 1567s # { 1567s # gboolean ret = FALSE; 1567s # if (a == NULL && b == NULL) 1567s # { 1567s # ret = TRUE; 1567s # goto out; 1567s # } 1567s # if (a == NULL || b == NULL) 1567s # goto out; 1567s # ret = g_variant_equal (a, b); 1567s # out: 1567s # return ret; 1567s # } 1567s # 1567s # G_GNUC_UNUSED static gboolean 1567s # _g_value_equal (const GValue *a, const GValue *b) 1567s # { 1567s # gboolean ret = FALSE; 1567s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1567s # switch (G_VALUE_TYPE (a)) 1567s # { 1567s # case G_TYPE_BOOLEAN: 1567s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1567s # break; 1567s # case G_TYPE_UCHAR: 1567s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1567s # break; 1567s # case G_TYPE_INT: 1567s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1567s # break; 1567s # case G_TYPE_UINT: 1567s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1567s # break; 1567s # case G_TYPE_INT64: 1567s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1567s # break; 1567s # case G_TYPE_UINT64: 1567s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1567s # break; 1567s # case G_TYPE_DOUBLE: 1567s # { 1567s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1567s # gdouble da = g_value_get_double (a); 1567s # gdouble db = g_value_get_double (b); 1567s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1567s # } 1567s # break; 1567s # case G_TYPE_STRING: 1567s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1567s # break; 1567s # case G_TYPE_VARIANT: 1567s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1567s # break; 1567s # default: 1567s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1567s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1567s # else 1567s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1567s # break; 1567s # } 1567s # return ret; 1567s # } 1567s # 1567s # static void 1567s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 1567s # GClosure *closure, 1567s # GValue *return_value, 1567s # unsigned int n_param_values, 1567s # const GValue *param_values, 1567s # void *invocation_hint G_GNUC_UNUSED, 1567s # void *marshal_data) 1567s # { 1567s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 1567s # (void *data1, 1567s # GDBusMethodInvocation *arg_method_invocation, 1567s # void *data2); 1567s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 1567s # GCClosure *cc = (GCClosure*) closure; 1567s # void *data1, *data2; 1567s # gboolean v_return; 1567s # 1567s # g_return_if_fail (return_value != NULL); 1567s # g_return_if_fail (n_param_values == 2); 1567s # 1567s # if (G_CCLOSURE_SWAP_DATA (closure)) 1567s # { 1567s # data1 = closure->data; 1567s # data2 = g_value_peek_pointer (param_values + 0); 1567s # } 1567s # else 1567s # { 1567s # data1 = g_value_peek_pointer (param_values + 0); 1567s # data2 = closure->data; 1567s # } 1567s # 1567s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 1567s # (marshal_data ? marshal_data : cc->callback); 1567s # 1567s # v_return = 1567s # callback (data1, 1567s # g_marshal_value_peek_object (param_values + 1), 1567s # data2); 1567s # 1567s # g_value_set_boolean (return_value, v_return); 1567s # } 1567s # 1567s # /* ------------------------------------------------------------------------ 1567s # * Code for interface org.project.UsefulInterface 1567s # * ------------------------------------------------------------------------ 1567s # */ 1567s # 1567s # /** 1567s # * SECTION:OrgProjectUsefulInterface 1567s # * @title: OrgProjectUsefulInterface 1567s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1567s # * 1567s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1567s # */ 1567s # 1567s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1567s # 1567s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_x_OUT_ARG_arg_x = 1567s # { 1567s # { 1567s # -1, 1567s # (gchar *) "arg_x", 1567s # (gchar *) "x", 1567s # NULL 1567s # }, 1567s # FALSE 1567s # }; 1567s # 1567s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_x_OUT_ARG_pointers[] = 1567s # { 1567s # &_org_project_useful_interface_method_info_single_arg_method_x_OUT_ARG_arg_x.parent_struct, 1567s # NULL 1567s # }; 1567s # 1567s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_x = 1567s # { 1567s # { 1567s # -1, 1567s # (gchar *) "SingleArgMethodX", 1567s # NULL, 1567s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_x_OUT_ARG_pointers, 1567s # NULL 1567s # }, 1567s # "handle-single-arg-method-x", 1567s # FALSE 1567s # }; 1567s # 1567s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1567s # { 1567s # &_org_project_useful_interface_method_info_single_arg_method_x.parent_struct, 1567s # NULL 1567s # }; 1567s # 1567s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1567s # { 1567s # { 1567s # -1, 1567s # (gchar *) "org.project.UsefulInterface", 1567s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1567s # NULL, 1567s # NULL, 1567s # NULL 1567s # }, 1567s # "org-project-useful-interface", 1567s # }; 1567s # 1567s # 1567s # /** 1567s # * org_project_useful_interface_interface_info: 1567s # * 1567s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1567s # * 1567s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1567s # */ 1567s # GDBusInterfaceInfo * 1567s # org_project_useful_interface_interface_info (void) 1567s # { 1567s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1567s # } 1567s # 1567s # /** 1567s # * org_project_useful_interface_override_properties: 1567s # * @klass: The class structure for a #GObject derived class. 1567s # * @property_id_begin: The property id to assign to the first overridden property. 1567s # * 1567s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1567s # * The properties are overridden in the order they are defined. 1567s # * 1567s # * Returns: The last property id. 1567s # */ 1567s # guint 1567s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1567s # { 1567s # return property_id_begin - 1; 1567s # } 1567s # 1567s # 1567s # inline static void 1567s # org_project_useful_interface_method_marshal_single_arg_method_x ( 1567s # GClosure *closure, 1567s # GValue *return_value, 1567s # unsigned int n_param_values, 1567s # const GValue *param_values, 1567s # void *invocation_hint, 1567s # void *marshal_data) 1567s # { 1567s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1567s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1567s # } 1567s # 1567s # 1567s # /** 1567s # * OrgProjectUsefulInterface: 1567s # * 1567s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1567s # */ 1567s # 1567s # /** 1567s # * OrgProjectUsefulInterfaceIface: 1567s # * @parent_iface: The parent interface. 1567s # * @handle_single_arg_method_x: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-x signal. 1567s # * 1567s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1567s # */ 1567s # 1567s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1567s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1567s # 1567s # static void 1567s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1567s # { 1567s # /* GObject signals for incoming D-Bus method calls: */ 1567s # /** 1567s # * OrgProjectUsefulInterface::handle-single-arg-method-x: 1567s # * @object: A #OrgProjectUsefulInterface. 1567s # * @invocation: A #GDBusMethodInvocation. 1567s # * 1567s # * Signal emitted when a remote caller is invoking the SingleArgMethodX() D-Bus method. 1567s # * 1567s # * 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. 1567s # * 1567s # * 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. 1567s # */ 1567s # g_signal_new ("handle-single-arg-method-x", 1567s # G_TYPE_FROM_INTERFACE (iface), 1567s # G_SIGNAL_RUN_LAST, 1567s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_x), 1567s # g_signal_accumulator_true_handled, 1567s # NULL, 1567s # org_project_useful_interface_method_marshal_single_arg_method_x, 1567s # G_TYPE_BOOLEAN, 1567s # 1, 1567s # G_TYPE_DBUS_METHOD_INVOCATION); 1567s # 1567s # } 1567s # 1567s # /** 1567s # * org_project_useful_interface_call_single_arg_method_x: 1567s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1567s # * @cancellable: (nullable): A #GCancellable or %NULL. 1567s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1567s # * @user_data: User data to pass to @callback. 1567s # * 1567s # * Asynchronously invokes the SingleArgMethodX() D-Bus method on @proxy. 1567s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1567s # * You can then call org_project_useful_interface_call_single_arg_method_x_finish() to get the result of the operation. 1567s # * 1567s # * See org_project_useful_interface_call_single_arg_method_x_sync() for the synchronous, blocking version of this method. 1567s # */ 1567s # void 1567s # org_project_useful_interface_call_single_arg_method_x ( 1567s # OrgProjectUsefulInterface *proxy, 1567s # GCancellable *cancellable, 1567s # GAsyncReadyCallback callback, 1567s # gpointer user_data) 1567s # { 1567s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1567s # "SingleArgMethodX", 1567s # g_variant_new ("()"), 1567s # G_DBUS_CALL_FLAGS_NONE, 1567s # -1, 1567s # cancellable, 1567s # callback, 1567s # user_data); 1567s # } 1567s # 1567s # /** 1567s # * org_project_useful_interface_call_single_arg_method_x_finish: 1567s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1567s # * @out_arg_x: (out) (optional): Return location for return parameter or %NULL to ignore. 1567s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_x(). 1567s # * @error: Return location for error or %NULL. 1567s # * 1567s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_x(). 1567s # * 1567s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1567s # */ 1567s # gboolean 1567s # org_project_useful_interface_call_single_arg_method_x_finish ( 1567s # OrgProjectUsefulInterface *proxy, 1567s # gint64 *out_arg_x, 1567s # GAsyncResult *res, 1567s # GError **error) 1567s # { 1567s # GVariant *_ret; 1567s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1567s # if (_ret == NULL) 1567s # goto _out; 1567s # g_variant_get (_ret, 1567s # "(x)", 1567s # out_arg_x); 1567s # g_variant_unref (_ret); 1567s # _out: 1567s # return _ret != NULL; 1567s # } 1567s # 1567s # /** 1567s # * org_project_useful_interface_call_single_arg_method_x_sync: 1567s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1567s # * @out_arg_x: (out) (optional): Return location for return parameter or %NULL to ignore. 1567s # * @cancellable: (nullable): A #GCancellable or %NULL. 1567s # * @error: Return location for error or %NULL. 1567s # * 1567s # * Synchronously invokes the SingleArgMethodX() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1567s # * 1567s # * See org_project_useful_interface_call_single_arg_method_x() for the asynchronous version of this method. 1567s # * 1567s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1567s # */ 1567s # gboolean 1567s # org_project_useful_interface_call_single_arg_method_x_sync ( 1567s # OrgProjectUsefulInterface *proxy, 1567s # gint64 *out_arg_x, 1567s # GCancellable *cancellable, 1567s # GError **error) 1567s # { 1567s # GVariant *_ret; 1567s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1567s # "SingleArgMethodX", 1567s # g_variant_new ("()"), 1567s # G_DBUS_CALL_FLAGS_NONE, 1567s # -1, 1567s # cancellable, 1567s # error); 1567s # if (_ret == NULL) 1567s # goto _out; 1567s # g_variant_get (_ret, 1567s # "(x)", 1567s # out_arg_x); 1567s # g_variant_unref (_ret); 1567s # _out: 1567s # return _ret != NULL; 1567s # } 1567s # 1567s # /** 1567s # * org_project_useful_interface_complete_single_arg_method_x: 1567s # * @object: A #OrgProjectUsefulInterface. 1567s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1567s # * @arg_x: Parameter to return. 1567s # * 1567s # * 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. 1567s # * 1567s # * This method will free @invocation, you cannot use it afterwards. 1567s # */ 1567s # void 1567s # org_project_useful_interface_complete_single_arg_method_x ( 1567s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1567s # GDBusMethodInvocation *invocation, 1567s # gint64 arg_x) 1567s # { 1567s # g_dbus_method_invocation_return_value (invocation, 1567s # g_variant_new ("(x)", 1567s # arg_x)); 1567s # } 1567s # 1567s # /* ------------------------------------------------------------------------ */ 1567s # 1567s # /** 1567s # * OrgProjectUsefulInterfaceProxy: 1567s # * 1567s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1567s # */ 1567s # 1567s # /** 1567s # * OrgProjectUsefulInterfaceProxyClass: 1567s # * @parent_class: The parent class. 1567s # * 1567s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1567s # */ 1567s # 1567s # struct _OrgProjectUsefulInterfaceProxyPrivate 1567s # { 1567s # GData *qdata; 1567s # }; 1567s # 1567s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1567s # 1567s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1567s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1567s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1567s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1567s # 1567s # #else 1567s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1567s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1567s # 1567s # #endif 1567s # static void 1567s # org_project_useful_interface_proxy_finalize (GObject *object) 1567s # { 1567s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1567s # g_datalist_clear (&proxy->priv->qdata); 1567s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1567s # } 1567s # 1567s # static void 1567s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1567s # guint prop_id G_GNUC_UNUSED, 1567s # GValue *value G_GNUC_UNUSED, 1567s # GParamSpec *pspec G_GNUC_UNUSED) 1567s # { 1567s # } 1567s # 1567s # static void 1567s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1567s # guint prop_id G_GNUC_UNUSED, 1567s # const GValue *value G_GNUC_UNUSED, 1567s # GParamSpec *pspec G_GNUC_UNUSED) 1567s # { 1567s # } 1567s # 1567s # static void 1567s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1567s # const gchar *sender_name G_GNUC_UNUSED, 1567s # const gchar *signal_name, 1567s # GVariant *parameters) 1567s # { 1567s # _ExtendedGDBusSignalInfo *info; 1567s # GVariantIter iter; 1567s # GVariant *child; 1567s # GValue *paramv; 1567s # gsize num_params; 1567s # gsize n; 1567s # guint signal_id; 1567s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1567s # if (info == NULL) 1567s # return; 1567s # num_params = g_variant_n_children (parameters); 1567s # paramv = g_new0 (GValue, num_params + 1); 1567s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1567s # g_value_set_object (¶mv[0], proxy); 1567s # g_variant_iter_init (&iter, parameters); 1567s # n = 1; 1567s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1567s # { 1567s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1567s # if (arg_info->use_gvariant) 1567s # { 1567s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1567s # g_value_set_variant (¶mv[n], child); 1567s # n++; 1567s # } 1567s # else 1567s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1567s # g_variant_unref (child); 1567s # } 1567s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1567s # g_signal_emitv (paramv, signal_id, 0, NULL); 1567s # for (n = 0; n < num_params + 1; n++) 1567s # g_value_unset (¶mv[n]); 1567s # g_free (paramv); 1567s # } 1567s # 1567s # static void 1567s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1567s # GVariant *changed_properties, 1567s # const gchar *const *invalidated_properties) 1567s # { 1567s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1567s # guint n; 1567s # const gchar *key; 1567s # GVariantIter *iter; 1567s # _ExtendedGDBusPropertyInfo *info; 1567s # g_variant_get (changed_properties, "a{sv}", &iter); 1567s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1567s # { 1567s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1567s # g_datalist_remove_data (&proxy->priv->qdata, key); 1567s # if (info != NULL) 1567s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1567s # } 1567s # g_variant_iter_free (iter); 1567s # for (n = 0; invalidated_properties[n] != NULL; n++) 1567s # { 1567s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1567s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1567s # if (info != NULL) 1567s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1567s # } 1567s # } 1567s # 1567s # static void 1567s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1567s # { 1567s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1567s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1567s # #else 1567s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1567s # #endif 1567s # 1567s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1567s # } 1567s # 1567s # static void 1567s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1567s # { 1567s # GObjectClass *gobject_class; 1567s # GDBusProxyClass *proxy_class; 1567s # 1567s # gobject_class = G_OBJECT_CLASS (klass); 1567s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1567s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1567s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1567s # 1567s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1567s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1567s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1567s # 1567s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1567s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1567s # #endif 1567s # } 1567s # 1567s # static void 1567s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1567s # { 1567s # } 1567s # 1567s # /** 1567s # * org_project_useful_interface_proxy_new: 1567s # * @connection: A #GDBusConnection. 1567s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1567s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1567s # * @object_path: An object path. 1567s # * @cancellable: (nullable): A #GCancellable or %NULL. 1567s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1567s # * @user_data: User data to pass to @callback. 1567s # * 1567s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1567s # * 1567s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1567s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1567s # * 1567s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1567s # */ 1567s # void 1567s # org_project_useful_interface_proxy_new ( 1567s # GDBusConnection *connection, 1567s # GDBusProxyFlags flags, 1567s # const gchar *name, 1567s # const gchar *object_path, 1567s # GCancellable *cancellable, 1567s # GAsyncReadyCallback callback, 1567s # gpointer user_data) 1567s # { 1567s # g_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); 1567s # } 1567s # 1567s # /** 1567s # * org_project_useful_interface_proxy_new_finish: 1567s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1567s # * @error: Return location for error or %NULL 1567s # * 1567s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1567s # * 1567s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1567s # */ 1567s # OrgProjectUsefulInterface * 1567s # org_project_useful_interface_proxy_new_finish ( 1567s # GAsyncResult *res, 1567s # GError **error) 1567s # { 1567s # GObject *ret; 1567s # GObject *source_object; 1567s # source_object = g_async_result_get_source_object (res); 1567s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1567s # g_object_unref (source_object); 1567s # if (ret != NULL) 1567s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1567s # else 1567s # return NULL; 1567s # } 1567s # 1567s # /** 1567s # * org_project_useful_interface_proxy_new_sync: 1567s # * @connection: A #GDBusConnection. 1567s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1567s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1567s # * @object_path: An object path. 1567s # * @cancellable: (nullable): A #GCancellable or %NULL. 1567s # * @error: Return location for error or %NULL 1567s # * 1567s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1567s # * 1567s # * The calling thread is blocked until a reply is received. 1567s # * 1567s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1567s # * 1567s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1567s # */ 1567s # OrgProjectUsefulInterface * 1567s # org_project_useful_interface_proxy_new_sync ( 1567s # GDBusConnection *connection, 1567s # GDBusProxyFlags flags, 1567s # const gchar *name, 1567s # const gchar *object_path, 1567s # GCancellable *cancellable, 1567s # GError **error) 1567s # { 1567s # GInitable *ret; 1567s # 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); 1567s # if (ret != NULL) 1567s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1567s # else 1567s # return NULL; 1567s # } 1567s # 1567s # 1567s # /** 1567s # * org_project_useful_interface_proxy_new_for_bus: 1567s # * @bus_type: A #GBusType. 1567s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1567s # * @name: A bus name (well-known or unique). 1567s # * @object_path: An object path. 1567s # * @cancellable: (nullable): A #GCancellable or %NULL. 1567s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1567s # * @user_data: User data to pass to @callback. 1567s # * 1567s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1567s # * 1567s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1567s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1567s # * 1567s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1567s # */ 1567s # void 1567s # org_project_useful_interface_proxy_new_for_bus ( 1567s # GBusType bus_type, 1567s # GDBusProxyFlags flags, 1567s # const gchar *name, 1567s # const gchar *object_path, 1567s # GCancellable *cancellable, 1567s # GAsyncReadyCallback callback, 1567s # gpointer user_data) 1567s # { 1567s # g_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); 1567s # } 1567s # 1567s # /** 1567s # * org_project_useful_interface_proxy_new_for_bus_finish: 1567s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1567s # * @error: Return location for error or %NULL 1567s # * 1567s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1567s # * 1567s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1567s # */ 1567s # OrgProjectUsefulInterface * 1567s # org_project_useful_interface_proxy_new_for_bus_finish ( 1567s # GAsyncResult *res, 1567s # GError **error) 1567s # { 1567s # GObject *ret; 1567s # GObject *source_object; 1567s # source_object = g_async_result_get_source_object (res); 1567s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1567s # g_object_unref (source_object); 1567s # if (ret != NULL) 1567s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1567s # else 1567s # return NULL; 1567s # } 1567s # 1567s # /** 1567s # * org_project_useful_interface_proxy_new_for_bus_sync: 1567s # * @bus_type: A #GBusType. 1567s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1567s # * @name: A bus name (well-known or unique). 1567s # * @object_path: An object path. 1567s # * @cancellable: (nullable): A #GCancellable or %NULL. 1567s # * @error: Return location for error or %NULL 1567s # * 1567s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1567s # * 1567s # * The calling thread is blocked until a reply is received. 1567s # * 1567s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1567s # * 1567s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1567s # */ 1567s # OrgProjectUsefulInterface * 1567s # org_project_useful_interface_proxy_new_for_bus_sync ( 1567s # GBusType bus_type, 1567s # GDBusProxyFlags flags, 1567s # const gchar *name, 1567s # const gchar *object_path, 1567s # GCancellable *cancellable, 1567s # GError **error) 1567s # { 1567s # GInitable *ret; 1567s # 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); 1567s # if (ret != NULL) 1567s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1567s # else 1567s # return NULL; 1567s # } 1567s # 1567s # 1567s # /* ------------------------------------------------------------------------ */ 1567s # 1567s # /** 1567s # * OrgProjectUsefulInterfaceSkeleton: 1567s # * 1567s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1567s # */ 1567s # 1567s # /** 1567s # * OrgProjectUsefulInterfaceSkeletonClass: 1567s # * @parent_class: The parent class. 1567s # * 1567s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1567s # */ 1567s # 1567s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1567s # { 1567s # GValue *properties; 1567s # GList *changed_properties; 1567s # GSource *changed_properties_idle_source; 1567s # GMainContext *context; 1567s # GMutex lock; 1567s # }; 1567s # 1567s # static void 1567s # _org_project_useful_interface_skeleton_handle_method_call ( 1567s # GDBusConnection *connection G_GNUC_UNUSED, 1567s # const gchar *sender G_GNUC_UNUSED, 1567s # const gchar *object_path G_GNUC_UNUSED, 1567s # const gchar *interface_name, 1567s # const gchar *method_name, 1567s # GVariant *parameters, 1567s # GDBusMethodInvocation *invocation, 1567s # gpointer user_data) 1567s # { 1567s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1567s # _ExtendedGDBusMethodInfo *info; 1567s # GVariantIter iter; 1567s # GVariant *child; 1567s # GValue *paramv; 1567s # gsize num_params; 1567s # guint num_extra; 1567s # gsize n; 1567s # guint signal_id; 1567s # GValue return_value = G_VALUE_INIT; 1567s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1567s # g_assert (info != NULL); 1567s # num_params = g_variant_n_children (parameters); 1567s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1567s # n = 0; 1567s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1567s # g_value_set_object (¶mv[n++], skeleton); 1567s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1567s # g_value_set_object (¶mv[n++], invocation); 1567s # if (info->pass_fdlist) 1567s # { 1567s # #ifdef G_OS_UNIX 1567s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1567s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1567s # #else 1567s # g_assert_not_reached (); 1567s # #endif 1567s # } 1567s # g_variant_iter_init (&iter, parameters); 1567s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1567s # { 1567s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1567s # if (arg_info->use_gvariant) 1567s # { 1567s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1567s # g_value_set_variant (¶mv[n], child); 1567s # n++; 1567s # } 1567s # else 1567s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1567s # g_variant_unref (child); 1567s # } 1567s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1567s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1567s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1567s # if (!g_value_get_boolean (&return_value)) 1567s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1567s # g_value_unset (&return_value); 1567s # for (n = 0; n < num_params + num_extra; n++) 1567s # g_value_unset (¶mv[n]); 1567s # g_free (paramv); 1567s # } 1567s # 1567s # static GVariant * 1567s # _org_project_useful_interface_skeleton_handle_get_property ( 1567s # GDBusConnection *connection G_GNUC_UNUSED, 1567s # const gchar *sender G_GNUC_UNUSED, 1567s # const gchar *object_path G_GNUC_UNUSED, 1567s # const gchar *interface_name G_GNUC_UNUSED, 1567s # const gchar *property_name, 1567s # GError **error, 1567s # gpointer user_data) 1567s # { 1567s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1567s # GValue value = G_VALUE_INIT; 1567s # GParamSpec *pspec; 1567s # _ExtendedGDBusPropertyInfo *info; 1567s # GVariant *ret; 1567s # ret = NULL; 1567s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1567s # g_assert (info != NULL); 1567s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1567s # if (pspec == NULL) 1567s # { 1567s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1567s # } 1567s # else 1567s # { 1567s # g_value_init (&value, pspec->value_type); 1567s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1567s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1567s # g_value_unset (&value); 1567s # } 1567s # return ret; 1567s # } 1567s # 1567s # static gboolean 1567s # _org_project_useful_interface_skeleton_handle_set_property ( 1567s # GDBusConnection *connection G_GNUC_UNUSED, 1567s # const gchar *sender G_GNUC_UNUSED, 1567s # const gchar *object_path G_GNUC_UNUSED, 1567s # const gchar *interface_name G_GNUC_UNUSED, 1567s # const gchar *property_name, 1567s # GVariant *variant, 1567s # GError **error, 1567s # gpointer user_data) 1567s # { 1567s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1567s # GValue value = G_VALUE_INIT; 1567s # GParamSpec *pspec; 1567s # _ExtendedGDBusPropertyInfo *info; 1567s # gboolean ret; 1567s # ret = FALSE; 1567s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1567s # g_assert (info != NULL); 1567s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1567s # if (pspec == NULL) 1567s # { 1567s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1567s # } 1567s # else 1567s # { 1567s # if (info->use_gvariant) 1567s # g_value_set_variant (&value, variant); 1567s # else 1567s # g_dbus_gvariant_to_gvalue (variant, &value); 1567s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1567s # g_value_unset (&value); 1567s # ret = TRUE; 1567s # } 1567s # return ret; 1567s # } 1567s # 1567s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1567s # { 1567s # _org_project_useful_interface_skeleton_handle_method_call, 1567s # _org_project_useful_interface_skeleton_handle_get_property, 1567s # _org_project_useful_interface_skeleton_handle_set_property, 1567s # {NULL} 1567s # }; 1567s # 1567s # static GDBusInterfaceInfo * 1567s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1567s # { 1567s # return org_project_useful_interface_interface_info (); 1567s # } 1567s # 1567s # static GDBusInterfaceVTable * 1567s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1567s # { 1567s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1567s # } 1567s # 1567s # static GVariant * 1567s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1567s # { 1567s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1567s # 1567s # GVariantBuilder builder; 1567s # guint n; 1567s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1567s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1567s # goto out; 1567s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1567s # { 1567s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1567s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1567s # { 1567s # GVariant *value; 1567s # 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); 1567s # if (value != NULL) 1567s # { 1567s # g_variant_take_ref (value); 1567s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1567s # g_variant_unref (value); 1567s # } 1567s # } 1567s # } 1567s # out: 1567s # return g_variant_builder_end (&builder); 1567s # } 1567s # 1567s # static void 1567s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1567s # { 1567s # } 1567s # 1567s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1567s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1567s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1567s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1567s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1567s # 1567s # #else 1567s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1567s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1567s # 1567s # #endif 1567s # static void 1567s # org_project_useful_interface_skeleton_finalize (GObject *object) 1567s # { 1567s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1567s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1567s # if (skeleton->priv->changed_properties_idle_source != NULL) 1567s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1567s # g_main_context_unref (skeleton->priv->context); 1567s # g_mutex_clear (&skeleton->priv->lock); 1567s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1567s # } 1567s # 1567s # static void 1567s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1567s # { 1567s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1567s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1567s # #else 1567s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1567s # #endif 1567s # 1567s # g_mutex_init (&skeleton->priv->lock); 1567s # skeleton->priv->context = g_main_context_ref_thread_default (); 1567s # } 1567s # 1567s # static void 1567s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1567s # { 1567s # GObjectClass *gobject_class; 1567s # GDBusInterfaceSkeletonClass *skeleton_class; 1567s # 1567s # gobject_class = G_OBJECT_CLASS (klass); 1567s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1567s # 1567s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1567s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1567s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1567s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1567s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1567s # 1567s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1567s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1567s # #endif 1567s # } 1567s # 1567s # static void 1567s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1567s # { 1567s # } 1567s # 1567s # /** 1567s # * org_project_useful_interface_skeleton_new: 1567s # * 1567s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1567s # * 1567s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1567s # */ 1567s # OrgProjectUsefulInterface * 1567s # org_project_useful_interface_skeleton_new (void) 1567s # { 1567s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1567s # } 1567s # /tmp/tmp6r0268hb/tmpd48xnx2t.xml: 1567s # 1567s # 1567s # 1567s # 1567s # 1567s # 1567s # 1567s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp6r0268hb/tmpd48xnx2t.xml', '--output', '-', '--body'] 1567s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-baqskmurxn,guid=fbaffe99d0ccb1f6e1beb84865fc01cd', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.YcZbqk/autopkgtest_tmp', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.YcZbqk/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.YcZbqk/autopkgtest_tmp', 'TERM': 'unknown', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.YcZbqk/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.sVTVMp0Db0', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.rqZsJO/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.YcZbqk/wrapper.sh --artifacts=/tmp/autopkgtest.YcZbqk/installed-tests-artifacts --chdir=/tmp/autopkgtest.YcZbqk/build.S0E/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.YcZbqk/installed-tests-stderr --stdout=/tmp/autopkgtest.YcZbqk/installed-tests-stdout --tmp=/tmp/autopkgtest.YcZbqk/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2' --make-executable=/tmp/autopkgtest.YcZbqk/build.S0E/src/debian/tests/installed-tests -- /tmp/autopkgtest.YcZbqk/build.S0E/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.YcZbqk/build.S0E/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.YcZbqk/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1567s # Output: /* 1567s # * This file is generated by gdbus-codegen, do not modify it. 1567s # * 1567s # * The license of this code is the same as for the D-Bus interface description 1567s # * it was derived from. Note that it links to GLib, so must comply with the 1567s # * LGPL linking clauses. 1567s # */ 1567s # 1567s # #ifdef HAVE_CONFIG_H 1567s # # include "config.h" 1567s # #endif 1567s # 1567s # #include 1567s # #ifdef G_OS_UNIX 1567s # # include 1567s # #endif 1567s # 1567s # #ifdef G_ENABLE_DEBUG 1567s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1567s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1567s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1567s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1567s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1567s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1567s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1567s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1567s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1567s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1567s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1567s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1567s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1567s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1567s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1567s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1567s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1567s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1567s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1567s # #else /* !G_ENABLE_DEBUG */ 1567s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1567s # * Do not access GValues directly in your code. Instead, use the 1567s # * g_value_get_*() functions 1567s # */ 1567s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1567s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1567s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1567s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1567s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1567s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1567s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1567s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1567s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1567s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1567s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1567s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1567s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1567s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1567s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1567s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1567s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1567s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1567s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1567s # #endif /* !G_ENABLE_DEBUG */ 1567s # 1567s # typedef struct 1567s # { 1567s # GDBusArgInfo parent_struct; 1567s # gboolean use_gvariant; 1567s # } _ExtendedGDBusArgInfo; 1567s # 1567s # typedef struct 1567s # { 1567s # GDBusMethodInfo parent_struct; 1567s # const gchar *signal_name; 1567s # gboolean pass_fdlist; 1567s # } _ExtendedGDBusMethodInfo; 1567s # 1567s # typedef struct 1567s # { 1567s # GDBusSignalInfo parent_struct; 1567s # const gchar *signal_name; 1567s # } _ExtendedGDBusSignalInfo; 1567s # 1567s # typedef struct 1567s # { 1567s # GDBusPropertyInfo parent_struct; 1567s # const gchar *hyphen_name; 1567s # guint use_gvariant : 1; 1567s # guint emits_changed_signal : 1; 1567s # } _ExtendedGDBusPropertyInfo; 1567s # 1567s # typedef struct 1567s # { 1567s # GDBusInterfaceInfo parent_struct; 1567s # const gchar *hyphen_name; 1567s # } _ExtendedGDBusInterfaceInfo; 1567s # 1567s # typedef struct 1567s # { 1567s # const _ExtendedGDBusPropertyInfo *info; 1567s # guint prop_id; 1567s # GValue orig_value; /* the value before the change */ 1567s # } ChangedProperty; 1567s # 1567s # static void 1567s # _changed_property_free (ChangedProperty *data) 1567s # { 1567s # g_value_unset (&data->orig_value); 1567s # g_free (data); 1567s # } 1567s # 1567s # static gboolean 1567s # _g_strv_equal0 (gchar **a, gchar **b) 1567s # { 1567s # gboolean ret = FALSE; 1567s # guint n; 1567s # if (a == NULL && b == NULL) 1567s # { 1567s # ret = TRUE; 1567s # goto out; 1567s # } 1567s # if (a == NULL || b == NULL) 1567s # goto out; 1567s # if (g_strv_length (a) != g_strv_length (b)) 1567s # goto out; 1567s # for (n = 0; a[n] != NULL; n++) 1567s # if (g_strcmp0 (a[n], b[n]) != 0) 1567s # goto out; 1567s # ret = TRUE; 1567s # out: 1567s # return ret; 1567s # } 1567s # 1567s # static gboolean 1567s # _g_variant_equal0 (GVariant *a, GVariant *b) 1567s # { 1567s # gboolean ret = FALSE; 1567s # if (a == NULL && b == NULL) 1567s # { 1567s # ret = TRUE; 1567s # goto out; 1567s # } 1567s # if (a == NULL || b == NULL) 1567s # goto out; 1567s # ret = g_variant_equal (a, b); 1567s # out: 1567s # return ret; 1567s # } 1567s # 1567s # G_GNUC_UNUSED static gboolean 1567s # _g_value_equal (const GValue *a, const GValue *b) 1567s # { 1567s # gboolean ret = FALSE; 1567s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1567s # switch (G_VALUE_TYPE (a)) 1567s # { 1567s # case G_TYPE_BOOLEAN: 1567s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1567s # break; 1567s # case G_TYPE_UCHAR: 1567s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1567s # break; 1567s # case G_TYPE_INT: 1567s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1567s # break; 1567s # case G_TYPE_UINT: 1567s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1567s # break; 1567s # case G_TYPE_INT64: 1567s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1567s # break; 1567s # case G_TYPE_UINT64: 1567s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1567s # break; 1567s # case G_TYPE_DOUBLE: 1567s # { 1567s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1567s # gdouble da = g_value_get_double (a); 1567s # gdouble db = g_value_get_double (b); 1567s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1567s # } 1567s # break; 1567s # case G_TYPE_STRING: 1567s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1567s # break; 1567s # case G_TYPE_VARIANT: 1567s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1567s # break; 1567s # default: 1567s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1567s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1567s # else 1567s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1567s # break; 1567s # } 1567s # return ret; 1567s # } 1567s # 1567s # static void 1567s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 1567s # GClosure *closure, 1567s # GValue *return_value, 1567s # unsigned int n_param_values, 1567s # const GValue *param_values, 1567s # void *invocation_hint G_GNUC_UNUSED, 1567s # void *marshal_data) 1567s # { 1567s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 1567s # (void *data1, 1567s # GDBusMethodInvocation *arg_method_invocation, 1567s # void *data2); 1567s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 1567s # GCClosure *cc = (GCClosure*) closure; 1567s # void *data1, *data2; 1567s # gboolean v_return; 1567s # 1567s # g_return_if_fail (return_value != NULL); 1567s # g_return_if_fail (n_param_values == 2); 1567s # 1567s # if (G_CCLOSURE_SWAP_DATA (closure)) 1567s # { 1567s # data1 = closure->data; 1567s # data2 = g_value_peek_pointer (param_values + 0); 1567s # } 1567s # else 1567s # { 1567s # data1 = g_value_peek_pointer (param_values + 0); 1567s # data2 = closure->data; 1567s # } 1567s # 1567s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 1567s # (marshal_data ? marshal_data : cc->callback); 1567s # 1567s # v_return = 1567s # callback (data1, 1567s # g_marshal_value_peek_object (param_values + 1), 1567s # data2); 1567s # 1567s # g_value_set_boolean (return_value, v_return); 1567s # } 1567s # 1567s # /* ------------------------------------------------------------------------ 1567s # * Code for interface org.project.UsefulInterface 1567s # * ------------------------------------------------------------------------ 1567s # */ 1567s # 1567s # /** 1567s # * SECTION:OrgProjectUsefulInterface 1567s # * @title: OrgProjectUsefulInterface 1567s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1567s # * 1567s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1567s # */ 1567s # 1567s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1567s # 1567s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_t_OUT_ARG_arg_t = 1567s # { 1567s # { 1567s # -1, 1567s # (gchar *) "arg_t", 1567s # (gchar *) "t", 1567s # NULL 1567s # }, 1567s # FALSE 1567s # }; 1567s # 1567s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_t_OUT_ARG_pointers[] = 1567s # { 1567s # &_org_project_useful_interface_method_info_single_arg_method_t_OUT_ARG_arg_t.parent_struct, 1567s # NULL 1567s # }; 1567s # 1567s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_t = 1567s # { 1567s # { 1567s # -1, 1567s # (gchar *) "SingleArgMethodT", 1567s # NULL, 1567s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_t_OUT_ARG_pointers, 1567s # NULL 1567s # }, 1567s # "handle-single-arg-method-t", 1567s # FALSE 1567s # }; 1567s # 1567s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1567s # { 1567s # &_org_project_useful_interface_method_info_single_arg_method_t.parent_struct, 1567s # NULL 1567s # }; 1567s # 1567s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1567s # { 1567s # { 1567s # -1, 1567s # (gchar *) "org.project.UsefulInterface", 1567s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1567s # NULL, 1567s # NULL, 1567s # NULL 1567s # }, 1567s # "org-project-useful-interface", 1567s # }; 1567s # 1567s # 1567s # /** 1567s # * org_project_useful_interface_interface_info: 1567s # * 1567s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1567s # * 1567s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1567s # */ 1567s # GDBusInterfaceInfo * 1567s # org_project_useful_interface_interface_info (void) 1567s # { 1567s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1567s # } 1567s # 1567s # /** 1567s # * org_project_useful_interface_override_properties: 1567s # * @klass: The class structure for a #GObject derived class. 1567s # * @property_id_begin: The property id to assign to the first overridden property. 1567s # * 1567s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1567s # * The properties are overridden in the order they are defined. 1567s # * 1567s # * Returns: The last property id. 1567s # */ 1567s # guint 1567s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1567s # { 1567s # return property_id_begin - 1; 1567s # } 1567s # 1567s # 1567s # inline static void 1567s # org_project_useful_interface_method_marshal_single_arg_method_t ( 1567s # GClosure *closure, 1567s # GValue *return_value, 1567s # unsigned int n_param_values, 1567s # const GValue *param_values, 1567s # void *invocation_hint, 1567s # void *marshal_data) 1567s # { 1567s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1567s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1567s # } 1567s # 1567s # 1567s # /** 1567s # * OrgProjectUsefulInterface: 1567s # * 1567s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1567s # */ 1567s # 1567s # /** 1567s # * OrgProjectUsefulInterfaceIface: 1567s # * @parent_iface: The parent interface. 1567s # * @handle_single_arg_method_t: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-t signal. 1567s # * 1567s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1567s # */ 1567s # 1567s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1567s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1567s # 1567s # static void 1567s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1567s # { 1567s # /* GObject signals for incoming D-Bus method calls: */ 1567s # /** 1567s # * OrgProjectUsefulInterface::handle-single-arg-method-t: 1567s # * @object: A #OrgProjectUsefulInterface. 1567s # * @invocation: A #GDBusMethodInvocation. 1567s # * 1567s # * Signal emitted when a remote caller is invoking the SingleArgMethodT() D-Bus method. 1567s # * 1567s # * 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. 1567s # * 1567s # * 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. 1567s # */ 1567s # g_signal_new ("handle-single-arg-method-t", 1567s # G_TYPE_FROM_INTERFACE (iface), 1567s # G_SIGNAL_RUN_LAST, 1567s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_t), 1567s # g_signal_accumulator_true_handled, 1567s # NULL, 1567s # org_project_useful_interface_method_marshal_single_arg_method_t, 1567s # G_TYPE_BOOLEAN, 1567s # 1, 1567s # G_TYPE_DBUS_METHOD_INVOCATION); 1567s # 1567s # } 1567s # 1567s # /** 1567s # * org_project_useful_interface_call_single_arg_method_t: 1567s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1567s # * @cancellable: (nullable): A #GCancellable or %NULL. 1567s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1567s # * @user_data: User data to pass to @callback. 1567s # * 1567s # * Asynchronously invokes the SingleArgMethodT() D-Bus method on @proxy. 1567s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1567s # * You can then call org_project_useful_interface_call_single_arg_method_t_finish() to get the result of the operation. 1567s # * 1567s # * See org_project_useful_interface_call_single_arg_method_t_sync() for the synchronous, blocking version of this method. 1567s # */ 1567s # void 1567s # org_project_useful_interface_call_single_arg_method_t ( 1567s # OrgProjectUsefulInterface *proxy, 1567s # GCancellable *cancellable, 1567s # GAsyncReadyCallback callback, 1567s # gpointer user_data) 1567s # { 1567s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1567s # "SingleArgMethodT", 1567s # g_variant_new ("()"), 1567s # G_DBUS_CALL_FLAGS_NONE, 1567s # -1, 1567s # cancellable, 1567s # callback, 1567s # user_data); 1567s # } 1567s # 1567s # /** 1567s # * org_project_useful_interface_call_single_arg_method_t_finish: 1567s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1567s # * @out_arg_t: (out) (optional): Return location for return parameter or %NULL to ignore. 1567s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_t(). 1567s # * @error: Return location for error or %NULL. 1567s # * 1567s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_t(). 1567s # * 1567s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1567s # */ 1567s # gboolean 1567s # org_project_useful_interface_call_single_arg_method_t_finish ( 1567s # OrgProjectUsefulInterface *proxy, 1567s # guint64 *out_arg_t, 1567s # GAsyncResult *res, 1567s # GError **error) 1567s # { 1567s # GVariant *_ret; 1567s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1567s # if (_ret == NULL) 1567s # goto _out; 1567s # g_variant_get (_ret, 1567s # "(t)", 1567s # out_arg_t); 1567s # g_variant_unref (_ret); 1567s # _out: 1567s # return _ret != NULL; 1567s # } 1567s # 1567s # /** 1567s # * org_project_useful_interface_call_single_arg_method_t_sync: 1567s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1567s # * @out_arg_t: (out) (optional): Return location for return parameter or %NULL to ignore. 1567s # * @cancellable: (nullable): A #GCancellable or %NULL. 1567s # * @error: Return location for error or %NULL. 1567s # * 1567s # * Synchronously invokes the SingleArgMethodT() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1567s # * 1567s # * See org_project_useful_interface_call_single_arg_method_t() for the asynchronous version of this method. 1567s # * 1567s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1567s # */ 1567s # gboolean 1567s # org_project_useful_interface_call_single_arg_method_t_sync ( 1567s # OrgProjectUsefulInterface *proxy, 1567s # guint64 *out_arg_t, 1567s # GCancellable *cancellable, 1567s # GError **error) 1567s # { 1567s # GVariant *_ret; 1567s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1567s # "SingleArgMethodT", 1567s # g_variant_new ("()"), 1567s # G_DBUS_CALL_FLAGS_NONE, 1567s # -1, 1567s # cancellable, 1567s # error); 1567s # if (_ret == NULL) 1567s # goto _out; 1567s # g_variant_get (_ret, 1567s # "(t)", 1567s # out_arg_t); 1567s # g_variant_unref (_ret); 1567s # _out: 1567s # return _ret != NULL; 1567s # } 1567s # 1567s # /** 1567s # * org_project_useful_interface_complete_single_arg_method_t: 1567s # * @object: A #OrgProjectUsefulInterface. 1567s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1567s # * @arg_t: Parameter to return. 1567s # * 1567s # * 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. 1567s # * 1567s # * This method will free @invocation, you cannot use it afterwards. 1567s # */ 1567s # void 1567s # org_project_useful_interface_complete_single_arg_method_t ( 1567s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1567s # GDBusMethodInvocation *invocation, 1567s # guint64 arg_t) 1567s # { 1567s # g_dbus_method_invocation_return_value (invocation, 1567s # g_variant_new ("(t)", 1567s # arg_t)); 1567s # } 1567s # 1567s # /* ------------------------------------------------------------------------ */ 1567s # 1567s # /** 1567s # * OrgProjectUsefulInterfaceProxy: 1567s # * 1567s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1567s # */ 1567s # 1567s # /** 1567s # * OrgProjectUsefulInterfaceProxyClass: 1567s # * @parent_class: The parent class. 1567s # * 1567s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1567s # */ 1567s # 1567s # struct _OrgProjectUsefulInterfaceProxyPrivate 1567s # { 1567s # GData *qdata; 1567s # }; 1567s # 1567s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1567s # 1567s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1567s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1567s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1567s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1567s # 1567s # #else 1567s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1567s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1567s # 1567s # #endif 1567s # static void 1567s # org_project_useful_interface_proxy_finalize (GObject *object) 1567s # { 1567s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1567s # g_datalist_clear (&proxy->priv->qdata); 1567s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1567s # } 1567s # 1567s # static void 1567s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1567s # guint prop_id G_GNUC_UNUSED, 1567s # GValue *value G_GNUC_UNUSED, 1567s # GParamSpec *pspec G_GNUC_UNUSED) 1567s # { 1567s # } 1567s # 1567s # static void 1567s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1567s # guint prop_id G_GNUC_UNUSED, 1567s # const GValue *value G_GNUC_UNUSED, 1567s # GParamSpec *pspec G_GNUC_UNUSED) 1567s # { 1567s # } 1567s # 1567s # static void 1567s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1567s # const gchar *sender_name G_GNUC_UNUSED, 1567s # const gchar *signal_name, 1567s # GVariant *parameters) 1567s # { 1567s # _ExtendedGDBusSignalInfo *info; 1567s # GVariantIter iter; 1567s # GVariant *child; 1567s # GValue *paramv; 1567s # gsize num_params; 1567s # gsize n; 1567s # guint signal_id; 1567s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1567s # if (info == NULL) 1567s # return; 1567s # num_params = g_variant_n_children (parameters); 1567s # paramv = g_new0 (GValue, num_params + 1); 1567s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1567s # g_value_set_object (¶mv[0], proxy); 1567s # g_variant_iter_init (&iter, parameters); 1567s # n = 1; 1567s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1567s # { 1567s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1567s # if (arg_info->use_gvariant) 1567s # { 1567s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1567s # g_value_set_variant (¶mv[n], child); 1567s # n++; 1567s # } 1567s # else 1567s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1567s # g_variant_unref (child); 1567s # } 1567s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1567s # g_signal_emitv (paramv, signal_id, 0, NULL); 1567s # for (n = 0; n < num_params + 1; n++) 1567s # g_value_unset (¶mv[n]); 1567s # g_free (paramv); 1567s # } 1567s # 1567s # static void 1567s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1567s # GVariant *changed_properties, 1567s # const gchar *const *invalidated_properties) 1567s # { 1567s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1567s # guint n; 1567s # const gchar *key; 1567s # GVariantIter *iter; 1567s # _ExtendedGDBusPropertyInfo *info; 1567s # g_variant_get (changed_properties, "a{sv}", &iter); 1567s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1567s # { 1567s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1567s # g_datalist_remove_data (&proxy->priv->qdata, key); 1567s # if (info != NULL) 1567s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1567s # } 1567s # g_variant_iter_free (iter); 1567s # for (n = 0; invalidated_properties[n] != NULL; n++) 1567s # { 1567s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1567s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1567s # if (info != NULL) 1567s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1567s # } 1567s # } 1567s # 1567s # static void 1567s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1567s # { 1567s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1567s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1567s # #else 1567s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1567s # #endif 1567s # 1567s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1567s # } 1567s # 1567s # static void 1567s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1567s # { 1567s # GObjectClass *gobject_class; 1567s # GDBusProxyClass *proxy_class; 1567s # 1567s # gobject_class = G_OBJECT_CLASS (klass); 1567s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1567s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1567s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1567s # 1567s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1567s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1567s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1567s # 1567s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1567s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1567s # #endif 1567s # } 1567s # 1567s # static void 1567s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1567s # { 1567s # } 1567s # 1567s # /** 1567s # * org_project_useful_interface_proxy_new: 1567s # * @connection: A #GDBusConnection. 1567s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1567s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1567s # * @object_path: An object path. 1567s # * @cancellable: (nullable): A #GCancellable or %NULL. 1567s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1567s # * @user_data: User data to pass to @callback. 1567s # * 1567s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1567s # * 1567s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1567s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1567s # * 1567s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1567s # */ 1567s # void 1567s # org_project_useful_interface_proxy_new ( 1567s # GDBusConnection *connection, 1567s # GDBusProxyFlags flags, 1567s # const gchar *name, 1567s # const gchar *object_path, 1567s # GCancellable *cancellable, 1567s # GAsyncReadyCallback callback, 1567s # gpointer user_data) 1567s # { 1567s # g_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); 1567s # } 1567s # 1567s # /** 1567s # * org_project_useful_interface_proxy_new_finish: 1567s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1567s # * @error: Return location for error or %NULL 1567s # * 1567s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1567s # * 1567s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1567s # */ 1567s # OrgProjectUsefulInterface * 1567s # org_project_useful_interface_proxy_new_finish ( 1567s # GAsyncResult *res, 1567s # GError **error) 1567s # { 1567s # GObject *ret; 1567s # GObject *source_object; 1567s # source_object = g_async_result_get_source_object (res); 1567s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1567s # g_object_unref (source_object); 1567s # if (ret != NULL) 1567s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1567s # else 1567s # return NULL; 1567s # } 1567s # 1567s # /** 1567s # * org_project_useful_interface_proxy_new_sync: 1567s # * @connection: A #GDBusConnection. 1567s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1567s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1567s # * @object_path: An object path. 1567s # * @cancellable: (nullable): A #GCancellable or %NULL. 1567s # * @error: Return location for error or %NULL 1567s # * 1567s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1567s # * 1567s # * The calling thread is blocked until a reply is received. 1567s # * 1567s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1567s # * 1567s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1567s # */ 1567s # OrgProjectUsefulInterface * 1567s # org_project_useful_interface_proxy_new_sync ( 1567s # GDBusConnection *connection, 1567s # GDBusProxyFlags flags, 1567s # const gchar *name, 1567s # const gchar *object_path, 1567s # GCancellable *cancellable, 1567s # GError **error) 1567s # { 1567s # GInitable *ret; 1567s # 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); 1567s # if (ret != NULL) 1567s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1567s # else 1567s # return NULL; 1567s # } 1567s # 1567s # 1567s # /** 1567s # * org_project_useful_interface_proxy_new_for_bus: 1567s # * @bus_type: A #GBusType. 1567s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1567s # * @name: A bus name (well-known or unique). 1567s # * @object_path: An object path. 1567s # * @cancellable: (nullable): A #GCancellable or %NULL. 1567s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1567s # * @user_data: User data to pass to @callback. 1567s # * 1567s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1567s # * 1567s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1567s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1567s # * 1567s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1567s # */ 1567s # void 1567s # org_project_useful_interface_proxy_new_for_bus ( 1567s # GBusType bus_type, 1567s # GDBusProxyFlags flags, 1567s # const gchar *name, 1567s # const gchar *object_path, 1567s # GCancellable *cancellable, 1567s # GAsyncReadyCallback callback, 1567s # gpointer user_data) 1567s # { 1567s # g_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); 1567s # } 1567s # 1567s # /** 1567s # * org_project_useful_interface_proxy_new_for_bus_finish: 1567s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1567s # * @error: Return location for error or %NULL 1567s # * 1567s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1567s # * 1567s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1567s # */ 1567s # OrgProjectUsefulInterface * 1567s # org_project_useful_interface_proxy_new_for_bus_finish ( 1567s # GAsyncResult *res, 1567s # GError **error) 1567s # { 1567s # GObject *ret; 1567s # GObject *source_object; 1567s # source_object = g_async_result_get_source_object (res); 1567s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1567s # g_object_unref (source_object); 1567s # if (ret != NULL) 1567s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1567s # else 1567s # return NULL; 1567s # } 1567s # 1567s # /** 1567s # * org_project_useful_interface_proxy_new_for_bus_sync: 1567s # * @bus_type: A #GBusType. 1567s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1567s # * @name: A bus name (well-known or unique). 1567s # * @object_path: An object path. 1567s # * @cancellable: (nullable): A #GCancellable or %NULL. 1567s # * @error: Return location for error or %NULL 1567s # * 1567s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1567s # * 1567s # * The calling thread is blocked until a reply is received. 1567s # * 1567s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1567s # * 1567s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1567s # */ 1567s # OrgProjectUsefulInterface * 1567s # org_project_useful_interface_proxy_new_for_bus_sync ( 1567s # GBusType bus_type, 1567s # GDBusProxyFlags flags, 1567s # const gchar *name, 1567s # const gchar *object_path, 1567s # GCancellable *cancellable, 1567s # GError **error) 1567s # { 1567s # GInitable *ret; 1567s # 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); 1567s # if (ret != NULL) 1567s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1567s # else 1567s # return NULL; 1567s # } 1567s # 1567s # 1567s # /* ------------------------------------------------------------------------ */ 1567s # 1567s # /** 1567s # * OrgProjectUsefulInterfaceSkeleton: 1567s # * 1567s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1567s # */ 1567s # 1567s # /** 1567s # * OrgProjectUsefulInterfaceSkeletonClass: 1567s # * @parent_class: The parent class. 1567s # * 1567s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1567s # */ 1567s # 1567s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1567s # { 1567s # GValue *properties; 1567s # GList *changed_properties; 1567s # GSource *changed_properties_idle_source; 1567s # GMainContext *context; 1567s # GMutex lock; 1567s # }; 1567s # 1567s # static void 1567s # _org_project_useful_interface_skeleton_handle_method_call ( 1567s # GDBusConnection *connection G_GNUC_UNUSED, 1567s # const gchar *sender G_GNUC_UNUSED, 1567s # const gchar *object_path G_GNUC_UNUSED, 1567s # const gchar *interface_name, 1567s # const gchar *method_name, 1567s # GVariant *parameters, 1567s # GDBusMethodInvocation *invocation, 1567s # gpointer user_data) 1567s # { 1567s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1567s # _ExtendedGDBusMethodInfo *info; 1567s # GVariantIter iter; 1567s # GVariant *child; 1567s # GValue *paramv; 1567s # gsize num_params; 1567s # guint num_extra; 1567s # gsize n; 1567s # guint signal_id; 1567s # GValue return_value = G_VALUE_INIT; 1567s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1567s # g_assert (info != NULL); 1567s # num_params = g_variant_n_children (parameters); 1567s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1567s # n = 0; 1567s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1567s # g_value_set_object (¶mv[n++], skeleton); 1567s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1567s # g_value_set_object (¶mv[n++], invocation); 1567s # if (info->pass_fdlist) 1567s # { 1567s # #ifdef G_OS_UNIX 1567s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1567s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1567s # #else 1567s # g_assert_not_reached (); 1567s # #endif 1567s # } 1567s # g_variant_iter_init (&iter, parameters); 1567s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1567s # { 1567s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1567s # if (arg_info->use_gvariant) 1567s # { 1567s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1567s # g_value_set_variant (¶mv[n], child); 1567s # n++; 1567s # } 1567s # else 1567s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1567s # g_variant_unref (child); 1567s # } 1567s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1567s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1567s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1567s # if (!g_value_get_boolean (&return_value)) 1567s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1567s # g_value_unset (&return_value); 1567s # for (n = 0; n < num_params + num_extra; n++) 1567s # g_value_unset (¶mv[n]); 1567s # g_free (paramv); 1567s # } 1567s # 1567s # static GVariant * 1567s # _org_project_useful_interface_skeleton_handle_get_property ( 1567s # GDBusConnection *connection G_GNUC_UNUSED, 1567s # const gchar *sender G_GNUC_UNUSED, 1567s # const gchar *object_path G_GNUC_UNUSED, 1567s # const gchar *interface_name G_GNUC_UNUSED, 1567s # const gchar *property_name, 1567s # GError **error, 1567s # gpointer user_data) 1567s # { 1567s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1567s # GValue value = G_VALUE_INIT; 1567s # GParamSpec *pspec; 1567s # _ExtendedGDBusPropertyInfo *info; 1567s # GVariant *ret; 1567s # ret = NULL; 1567s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1567s # g_assert (info != NULL); 1567s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1567s # if (pspec == NULL) 1567s # { 1567s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1567s # } 1567s # else 1567s # { 1567s # g_value_init (&value, pspec->value_type); 1567s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1567s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1567s # g_value_unset (&value); 1567s # } 1567s # return ret; 1567s # } 1567s # 1567s # static gboolean 1567s # _org_project_useful_interface_skeleton_handle_set_property ( 1567s # GDBusConnection *connection G_GNUC_UNUSED, 1567s # const gchar *sender G_GNUC_UNUSED, 1567s # const gchar *object_path G_GNUC_UNUSED, 1567s # const gchar *interface_name G_GNUC_UNUSED, 1567s # const gchar *property_name, 1567s # GVariant *variant, 1567s # GError **error, 1567s # gpointer user_data) 1567s # { 1567s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1567s # GValue value = G_VALUE_INIT; 1567s # GParamSpec *pspec; 1567s # _ExtendedGDBusPropertyInfo *info; 1567s # gboolean ret; 1567s # ret = FALSE; 1567s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1567s # g_assert (info != NULL); 1567s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1567s # if (pspec == NULL) 1567s # { 1567s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1567s # } 1567s # else 1567s # { 1567s # if (info->use_gvariant) 1567s # g_value_set_variant (&value, variant); 1567s # else 1567s # g_dbus_gvariant_to_gvalue (variant, &value); 1567s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1567s # g_value_unset (&value); 1567s # ret = TRUE; 1567s # } 1567s # return ret; 1567s # } 1567s # 1567s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1567s # { 1567s # _org_project_useful_interface_skeleton_handle_method_call, 1567s # _org_project_useful_interface_skeleton_handle_get_property, 1567s # _org_project_useful_interface_skeleton_handle_set_property, 1567s # {NULL} 1567s # }; 1567s # 1567s # static GDBusInterfaceInfo * 1567s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1567s # { 1567s # return org_project_useful_interface_interface_info (); 1567s # } 1567s # 1567s # static GDBusInterfaceVTable * 1567s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1567s # { 1567s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1567s # } 1567s # 1567s # static GVariant * 1567s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1567s # { 1567s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1567s # 1567s # GVariantBuilder builder; 1567s # guint n; 1567s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1567s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1567s # goto out; 1567s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1567s # { 1567s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1567s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1567s # { 1567s # GVariant *value; 1567s # 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); 1567s # if (value != NULL) 1567s # { 1567s # g_variant_take_ref (value); 1567s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1567s # g_variant_unref (value); 1567s # } 1567s # } 1567s # } 1567s # out: 1567s # return g_variant_builder_end (&builder); 1567s # } 1567s # 1567s # static void 1567s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1567s # { 1567s # } 1567s # 1567s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1567s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1567s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1567s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1567s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1567s # 1567s # #else 1567s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1567s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1567s # 1567s # #endif 1567s # static void 1567s # org_project_useful_interface_skeleton_finalize (GObject *object) 1567s # { 1567s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1567s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1567s # if (skeleton->priv->changed_properties_idle_source != NULL) 1567s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1567s # g_main_context_unref (skeleton->priv->context); 1567s # g_mutex_clear (&skeleton->priv->lock); 1567s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1567s # } 1567s # 1567s # static void 1567s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1567s # { 1567s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1567s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1567s # #else 1567s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1567s # #endif 1567s # 1567s # g_mutex_init (&skeleton->priv->lock); 1567s # skeleton->priv->context = g_main_context_ref_thread_default (); 1567s # } 1567s # 1567s # static void 1567s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1567s # { 1567s # GObjectClass *gobject_class; 1567s # GDBusInterfaceSkeletonClass *skeleton_class; 1567s # 1567s # gobject_class = G_OBJECT_CLASS (klass); 1567s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1567s # 1567s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1567s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1567s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1567s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1567s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1567s # 1567s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1567s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1567s # #endif 1567s # } 1567s # 1567s # static void 1567s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1567s # { 1567s # } 1567s # 1567s # /** 1567s # * org_project_useful_interface_skeleton_new: 1567s # * 1567s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1567s # * 1567s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1567s # */ 1567s # OrgProjectUsefulInterface * 1567s # org_project_useful_interface_skeleton_new (void) 1567s # { 1567s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1567s # } 1567s # /tmp/tmp6r0268hb/tmpdwss2tl_.xml: 1567s # 1567s # 1567s # 1567s # 1567s # 1567s # 1567s # 1567s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp6r0268hb/tmpdwss2tl_.xml', '--output', '-', '--body'] 1567s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-baqskmurxn,guid=fbaffe99d0ccb1f6e1beb84865fc01cd', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.YcZbqk/autopkgtest_tmp', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.YcZbqk/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.YcZbqk/autopkgtest_tmp', 'TERM': 'unknown', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.YcZbqk/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.sVTVMp0Db0', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.rqZsJO/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.YcZbqk/wrapper.sh --artifacts=/tmp/autopkgtest.YcZbqk/installed-tests-artifacts --chdir=/tmp/autopkgtest.YcZbqk/build.S0E/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.YcZbqk/installed-tests-stderr --stdout=/tmp/autopkgtest.YcZbqk/installed-tests-stdout --tmp=/tmp/autopkgtest.YcZbqk/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2' --make-executable=/tmp/autopkgtest.YcZbqk/build.S0E/src/debian/tests/installed-tests -- /tmp/autopkgtest.YcZbqk/build.S0E/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.YcZbqk/build.S0E/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.YcZbqk/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1567s # Output: /* 1567s # * This file is generated by gdbus-codegen, do not modify it. 1567s # * 1567s # * The license of this code is the same as for the D-Bus interface description 1567s # * it was derived from. Note that it links to GLib, so must comply with the 1567s # * LGPL linking clauses. 1567s # */ 1567s # 1567s # #ifdef HAVE_CONFIG_H 1567s # # include "config.h" 1567s # #endif 1567s # 1567s # #include 1567s # #ifdef G_OS_UNIX 1567s # # include 1567s # #endif 1567s # 1567s # #ifdef G_ENABLE_DEBUG 1567s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1567s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1567s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1567s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1567s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1567s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1567s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1567s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1567s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1567s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1567s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1567s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1567s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1567s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1567s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1567s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1567s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1567s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1567s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1567s # #else /* !G_ENABLE_DEBUG */ 1567s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1567s # * Do not access GValues directly in your code. Instead, use the 1567s # * g_value_get_*() functions 1567s # */ 1567s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1567s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1567s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1567s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1567s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1567s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1567s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1567s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1567s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1567s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1567s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1567s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1567s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1567s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1567s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1567s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1567s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1567s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1567s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1567s # #endif /* !G_ENABLE_DEBUG */ 1567s # 1567s # typedef struct 1567s # { 1567s # GDBusArgInfo parent_struct; 1567s # gboolean use_gvariant; 1567s # } _ExtendedGDBusArgInfo; 1567s # 1567s # typedef struct 1567s # { 1567s # GDBusMethodInfo parent_struct; 1567s # const gchar *signal_name; 1567s # gboolean pass_fdlist; 1567s # } _ExtendedGDBusMethodInfo; 1567s # 1567s # typedef struct 1567s # { 1567s # GDBusSignalInfo parent_struct; 1567s # const gchar *signal_name; 1567s # } _ExtendedGDBusSignalInfo; 1567s # 1567s # typedef struct 1567s # { 1567s # GDBusPropertyInfo parent_struct; 1567s # const gchar *hyphen_name; 1567s # guint use_gvariant : 1; 1567s # guint emits_changed_signal : 1; 1567s # } _ExtendedGDBusPropertyInfo; 1567s # 1567s # typedef struct 1567s # { 1567s # GDBusInterfaceInfo parent_struct; 1567s # const gchar *hyphen_name; 1567s # } _ExtendedGDBusInterfaceInfo; 1567s # 1567s # typedef struct 1567s # { 1567s # const _ExtendedGDBusPropertyInfo *info; 1567s # guint prop_id; 1567s # GValue orig_value; /* the value before the change */ 1567s # } ChangedProperty; 1567s # 1567s # static void 1567s # _changed_property_free (ChangedProperty *data) 1567s # { 1567s # g_value_unset (&data->orig_value); 1567s # g_free (data); 1567s # } 1567s # 1567s # static gboolean 1567s # _g_strv_equal0 (gchar **a, gchar **b) 1567s # { 1567s # gboolean ret = FALSE; 1567s # guint n; 1567s # if (a == NULL && b == NULL) 1567s # { 1567s # ret = TRUE; 1567s # goto out; 1567s # } 1567s # if (a == NULL || b == NULL) 1567s # goto out; 1567s # if (g_strv_length (a) != g_strv_length (b)) 1567s # goto out; 1567s # for (n = 0; a[n] != NULL; n++) 1567s # if (g_strcmp0 (a[n], b[n]) != 0) 1567s # goto out; 1567s # ret = TRUE; 1567s # out: 1567s # return ret; 1567s # } 1567s # 1567s # static gboolean 1567s # _g_variant_equal0 (GVariant *a, GVariant *b) 1567s # { 1567s # gboolean ret = FALSE; 1567s # if (a == NULL && b == NULL) 1567s # { 1567s # ret = TRUE; 1567s # goto out; 1567s # } 1567s # if (a == NULL || b == NULL) 1567s # goto out; 1567s # ret = g_variant_equal (a, b); 1567s # out: 1567s # return ret; 1567s # } 1567s # 1567s # G_GNUC_UNUSED static gboolean 1567s # _g_value_equal (const GValue *a, const GValue *b) 1567s # { 1567s # gboolean ret = FALSE; 1567s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1567s # switch (G_VALUE_TYPE (a)) 1567s # { 1567s # case G_TYPE_BOOLEAN: 1567s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1567s # break; 1567s # case G_TYPE_UCHAR: 1567s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1567s # break; 1567s # case G_TYPE_INT: 1567s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1567s # break; 1567s # case G_TYPE_UINT: 1567s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1567s # break; 1567s # case G_TYPE_INT64: 1567s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1567s # break; 1567s # case G_TYPE_UINT64: 1567s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1567s # break; 1567s # case G_TYPE_DOUBLE: 1567s # { 1567s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1567s # gdouble da = g_value_get_double (a); 1567s # gdouble db = g_value_get_double (b); 1567s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1567s # } 1567s # break; 1567s # case G_TYPE_STRING: 1567s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1567s # break; 1567s # case G_TYPE_VARIANT: 1567s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1567s # break; 1567s # default: 1567s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1567s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1567s # else 1567s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1567s # break; 1567s # } 1567s # return ret; 1567s # } 1567s # 1567s # static void 1567s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 1567s # GClosure *closure, 1567s # GValue *return_value, 1567s # unsigned int n_param_values, 1567s # const GValue *param_values, 1567s # void *invocation_hint G_GNUC_UNUSED, 1567s # void *marshal_data) 1567s # { 1567s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 1567s # (void *data1, 1567s # GDBusMethodInvocation *arg_method_invocation, 1567s # void *data2); 1567s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 1567s # GCClosure *cc = (GCClosure*) closure; 1567s # void *data1, *data2; 1567s # gboolean v_return; 1567s # 1567s # g_return_if_fail (return_value != NULL); 1567s # g_return_if_fail (n_param_values == 2); 1567s # 1567s # if (G_CCLOSURE_SWAP_DATA (closure)) 1567s # { 1567s # data1 = closure->data; 1567s # data2 = g_value_peek_pointer (param_values + 0); 1567s # } 1567s # else 1567s # { 1567s # data1 = g_value_peek_pointer (param_values + 0); 1567s # data2 = closure->data; 1567s # } 1567s # 1567s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 1567s # (marshal_data ? marshal_data : cc->callback); 1567s # 1567s # v_return = 1567s # callback (data1, 1567s # g_marshal_value_peek_object (param_values + 1), 1567s # data2); 1567s # 1567s # g_value_set_boolean (return_value, v_return); 1567s # } 1567s # 1567s # /* ------------------------------------------------------------------------ 1567s # * Code for interface org.project.UsefulInterface 1567s # * ------------------------------------------------------------------------ 1567s # */ 1567s # 1567s # /** 1567s # * SECTION:OrgProjectUsefulInterface 1567s # * @title: OrgProjectUsefulInterface 1567s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1567s # * 1567s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1567s # */ 1567s # 1567s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1567s # 1567s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_d_OUT_ARG_arg_d = 1567s # { 1567s # { 1567s # -1, 1567s # (gchar *) "arg_d", 1567s # (gchar *) "d", 1567s # NULL 1567s # }, 1567s # FALSE 1567s # }; 1567s # 1567s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_d_OUT_ARG_pointers[] = 1567s # { 1567s # &_org_project_useful_interface_method_info_single_arg_method_d_OUT_ARG_arg_d.parent_struct, 1567s # NULL 1567s # }; 1567s # 1567s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_d = 1567s # { 1567s # { 1567s # -1, 1567s # (gchar *) "SingleArgMethodD", 1567s # NULL, 1567s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_d_OUT_ARG_pointers, 1567s # NULL 1567s # }, 1567s # "handle-single-arg-method-d", 1567s # FALSE 1567s # }; 1567s # 1567s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1567s # { 1567s # &_org_project_useful_interface_method_info_single_arg_method_d.parent_struct, 1567s # NULL 1567s # }; 1567s # 1567s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1567s # { 1567s # { 1567s # -1, 1567s # (gchar *) "org.project.UsefulInterface", 1567s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1567s # NULL, 1567s # NULL, 1567s # NULL 1567s # }, 1567s # "org-project-useful-interface", 1567s # }; 1567s # 1567s # 1567s # /** 1567s # * org_project_useful_interface_interface_info: 1567s # * 1567s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1567s # * 1567s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1567s # */ 1567s # GDBusInterfaceInfo * 1567s # org_project_useful_interface_interface_info (void) 1567s # { 1567s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1567s # } 1567s # 1567s # /** 1567s # * org_project_useful_interface_override_properties: 1567s # * @klass: The class structure for a #GObject derived class. 1567s # * @property_id_begin: The property id to assign to the first overridden property. 1567s # * 1567s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1567s # * The properties are overridden in the order they are defined. 1567s # * 1567s # * Returns: The last property id. 1567s # */ 1567s # guint 1567s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1567s # { 1567s # return property_id_begin - 1; 1567s # } 1567s # 1567s # 1567s # inline static void 1567s # org_project_useful_interface_method_marshal_single_arg_method_d ( 1567s # GClosure *closure, 1567s # GValue *return_value, 1567s # unsigned int n_param_values, 1567s # const GValue *param_values, 1567s # void *invocation_hint, 1567s # void *marshal_data) 1567s # { 1567s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1567s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1567s # } 1567s # 1567s # 1567s # /** 1567s # * OrgProjectUsefulInterface: 1567s # * 1567s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1567s # */ 1567s # 1567s # /** 1567s # * OrgProjectUsefulInterfaceIface: 1567s # * @parent_iface: The parent interface. 1567s # * @handle_single_arg_method_d: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-d signal. 1567s # * 1567s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1567s # */ 1567s # 1567s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1567s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1567s # 1567s # static void 1567s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1567s # { 1567s # /* GObject signals for incoming D-Bus method calls: */ 1567s # /** 1567s # * OrgProjectUsefulInterface::handle-single-arg-method-d: 1567s # * @object: A #OrgProjectUsefulInterface. 1567s # * @invocation: A #GDBusMethodInvocation. 1567s # * 1567s # * Signal emitted when a remote caller is invoking the SingleArgMethodD() D-Bus method. 1567s # * 1567s # * 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. 1567s # * 1567s # * 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. 1567s # */ 1567s # g_signal_new ("handle-single-arg-method-d", 1567s # G_TYPE_FROM_INTERFACE (iface), 1567s # G_SIGNAL_RUN_LAST, 1567s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_d), 1567s # g_signal_accumulator_true_handled, 1567s # NULL, 1567s # org_project_useful_interface_method_marshal_single_arg_method_d, 1567s # G_TYPE_BOOLEAN, 1567s # 1, 1567s # G_TYPE_DBUS_METHOD_INVOCATION); 1567s # 1567s # } 1567s # 1567s # /** 1567s # * org_project_useful_interface_call_single_arg_method_d: 1567s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1567s # * @cancellable: (nullable): A #GCancellable or %NULL. 1567s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1567s # * @user_data: User data to pass to @callback. 1567s # * 1567s # * Asynchronously invokes the SingleArgMethodD() D-Bus method on @proxy. 1567s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1567s # * You can then call org_project_useful_interface_call_single_arg_method_d_finish() to get the result of the operation. 1567s # * 1567s # * See org_project_useful_interface_call_single_arg_method_d_sync() for the synchronous, blocking version of this method. 1567s # */ 1567s # void 1567s # org_project_useful_interface_call_single_arg_method_d ( 1567s # OrgProjectUsefulInterface *proxy, 1567s # GCancellable *cancellable, 1567s # GAsyncReadyCallback callback, 1567s # gpointer user_data) 1567s # { 1567s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1567s # "SingleArgMethodD", 1567s # g_variant_new ("()"), 1567s # G_DBUS_CALL_FLAGS_NONE, 1567s # -1, 1567s # cancellable, 1567s # callback, 1567s # user_data); 1567s # } 1567s # 1567s # /** 1567s # * org_project_useful_interface_call_single_arg_method_d_finish: 1567s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1567s # * @out_arg_d: (out) (optional): Return location for return parameter or %NULL to ignore. 1567s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_d(). 1567s # * @error: Return location for error or %NULL. 1567s # * 1567s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_d(). 1567s # * 1567s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1567s # */ 1567s # gboolean 1567s # org_project_useful_interface_call_single_arg_method_d_finish ( 1567s # OrgProjectUsefulInterface *proxy, 1567s # gdouble *out_arg_d, 1567s # GAsyncResult *res, 1567s # GError **error) 1567s # { 1567s # GVariant *_ret; 1567s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1567s # if (_ret == NULL) 1567s # goto _out; 1567s # g_variant_get (_ret, 1567s # "(d)", 1567s # out_arg_d); 1567s # g_variant_unref (_ret); 1567s # _out: 1567s # return _ret != NULL; 1567s # } 1567s # 1567s # /** 1567s # * org_project_useful_interface_call_single_arg_method_d_sync: 1567s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1567s # * @out_arg_d: (out) (optional): Return location for return parameter or %NULL to ignore. 1567s # * @cancellable: (nullable): A #GCancellable or %NULL. 1567s # * @error: Return location for error or %NULL. 1567s # * 1567s # * Synchronously invokes the SingleArgMethodD() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1567s # * 1567s # * See org_project_useful_interface_call_single_arg_method_d() for the asynchronous version of this method. 1567s # * 1567s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1567s # */ 1567s # gboolean 1567s # org_project_useful_interface_call_single_arg_method_d_sync ( 1567s # OrgProjectUsefulInterface *proxy, 1567s # gdouble *out_arg_d, 1567s # GCancellable *cancellable, 1567s # GError **error) 1567s # { 1567s # GVariant *_ret; 1567s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1567s # "SingleArgMethodD", 1567s # g_variant_new ("()"), 1567s # G_DBUS_CALL_FLAGS_NONE, 1567s # -1, 1567s # cancellable, 1567s # error); 1567s # if (_ret == NULL) 1567s # goto _out; 1567s # g_variant_get (_ret, 1567s # "(d)", 1567s # out_arg_d); 1567s # g_variant_unref (_ret); 1567s # _out: 1567s # return _ret != NULL; 1567s # } 1567s # 1567s # /** 1567s # * org_project_useful_interface_complete_single_arg_method_d: 1567s # * @object: A #OrgProjectUsefulInterface. 1567s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1567s # * @arg_d: Parameter to return. 1567s # * 1567s # * 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. 1567s # * 1567s # * This method will free @invocation, you cannot use it afterwards. 1567s # */ 1567s # void 1567s # org_project_useful_interface_complete_single_arg_method_d ( 1567s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1567s # GDBusMethodInvocation *invocation, 1567s # gdouble arg_d) 1567s # { 1567s # g_dbus_method_invocation_return_value (invocation, 1567s # g_variant_new ("(d)", 1567s # arg_d)); 1567s # } 1567s # 1567s # /* ------------------------------------------------------------------------ */ 1567s # 1567s # /** 1567s # * OrgProjectUsefulInterfaceProxy: 1567s # * 1567s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1567s # */ 1567s # 1567s # /** 1567s # * OrgProjectUsefulInterfaceProxyClass: 1567s # * @parent_class: The parent class. 1567s # * 1567s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1567s # */ 1567s # 1567s # struct _OrgProjectUsefulInterfaceProxyPrivate 1567s # { 1567s # GData *qdata; 1567s # }; 1567s # 1567s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1567s # 1567s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1567s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1567s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1567s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1567s # 1567s # #else 1567s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1567s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1567s # 1567s # #endif 1567s # static void 1567s # org_project_useful_interface_proxy_finalize (GObject *object) 1567s # { 1567s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1567s # g_datalist_clear (&proxy->priv->qdata); 1567s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1567s # } 1567s # 1567s # static void 1567s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1567s # guint prop_id G_GNUC_UNUSED, 1567s # GValue *value G_GNUC_UNUSED, 1567s # GParamSpec *pspec G_GNUC_UNUSED) 1567s # { 1567s # } 1567s # 1567s # static void 1567s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1567s # guint prop_id G_GNUC_UNUSED, 1567s # const GValue *value G_GNUC_UNUSED, 1567s # GParamSpec *pspec G_GNUC_UNUSED) 1567s # { 1567s # } 1567s # 1567s # static void 1567s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1567s # const gchar *sender_name G_GNUC_UNUSED, 1567s # const gchar *signal_name, 1567s # GVariant *parameters) 1567s # { 1567s # _ExtendedGDBusSignalInfo *info; 1567s # GVariantIter iter; 1567s # GVariant *child; 1567s # GValue *paramv; 1567s # gsize num_params; 1567s # gsize n; 1567s # guint signal_id; 1567s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1567s # if (info == NULL) 1567s # return; 1567s # num_params = g_variant_n_children (parameters); 1567s # paramv = g_new0 (GValue, num_params + 1); 1567s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1567s # g_value_set_object (¶mv[0], proxy); 1567s # g_variant_iter_init (&iter, parameters); 1567s # n = 1; 1567s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1567s # { 1567s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1567s # if (arg_info->use_gvariant) 1567s # { 1567s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1567s # g_value_set_variant (¶mv[n], child); 1567s # n++; 1567s # } 1567s # else 1567s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1567s # g_variant_unref (child); 1567s # } 1567s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1567s # g_signal_emitv (paramv, signal_id, 0, NULL); 1567s # for (n = 0; n < num_params + 1; n++) 1567s # g_value_unset (¶mv[n]); 1567s # g_free (paramv); 1567s # } 1567s # 1567s # static void 1567s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1567s # GVariant *changed_properties, 1567s # const gchar *const *invalidated_properties) 1567s # { 1567s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1567s # guint n; 1567s # const gchar *key; 1567s # GVariantIter *iter; 1567s # _ExtendedGDBusPropertyInfo *info; 1567s # g_variant_get (changed_properties, "a{sv}", &iter); 1567s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1567s # { 1567s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1567s # g_datalist_remove_data (&proxy->priv->qdata, key); 1567s # if (info != NULL) 1567s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1567s # } 1567s # g_variant_iter_free (iter); 1567s # for (n = 0; invalidated_properties[n] != NULL; n++) 1567s # { 1567s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1567s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1567s # if (info != NULL) 1567s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1567s # } 1567s # } 1567s # 1567s # static void 1567s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1567s # { 1567s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1567s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1567s # #else 1567s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1567s # #endif 1567s # 1567s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1567s # } 1567s # 1567s # static void 1567s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1567s # { 1567s # GObjectClass *gobject_class; 1567s # GDBusProxyClass *proxy_class; 1567s # 1567s # gobject_class = G_OBJECT_CLASS (klass); 1567s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1567s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1567s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1567s # 1567s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1567s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1567s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1567s # 1567s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1567s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1567s # #endif 1567s # } 1567s # 1567s # static void 1567s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1567s # { 1567s # } 1567s # 1567s # /** 1567s # * org_project_useful_interface_proxy_new: 1567s # * @connection: A #GDBusConnection. 1567s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1567s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1567s # * @object_path: An object path. 1567s # * @cancellable: (nullable): A #GCancellable or %NULL. 1567s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1567s # * @user_data: User data to pass to @callback. 1567s # * 1567s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1567s # * 1567s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1567s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1567s # * 1567s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1567s # */ 1567s # void 1567s # org_project_useful_interface_proxy_new ( 1567s # GDBusConnection *connection, 1567s # GDBusProxyFlags flags, 1567s # const gchar *name, 1567s # const gchar *object_path, 1567s # GCancellable *cancellable, 1567s # GAsyncReadyCallback callback, 1567s # gpointer user_data) 1567s # { 1567s # g_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); 1567s # } 1567s # 1567s # /** 1567s # * org_project_useful_interface_proxy_new_finish: 1567s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1567s # * @error: Return location for error or %NULL 1567s # * 1567s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1567s # * 1567s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1567s # */ 1567s # OrgProjectUsefulInterface * 1567s # org_project_useful_interface_proxy_new_finish ( 1567s # GAsyncResult *res, 1567s # GError **error) 1567s # { 1567s # GObject *ret; 1567s # GObject *source_object; 1567s # source_object = g_async_result_get_source_object (res); 1567s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1567s # g_object_unref (source_object); 1567s # if (ret != NULL) 1567s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1567s # else 1567s # return NULL; 1567s # } 1567s # 1567s # /** 1567s # * org_project_useful_interface_proxy_new_sync: 1567s # * @connection: A #GDBusConnection. 1567s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1567s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1567s # * @object_path: An object path. 1567s # * @cancellable: (nullable): A #GCancellable or %NULL. 1567s # * @error: Return location for error or %NULL 1567s # * 1567s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1567s # * 1567s # * The calling thread is blocked until a reply is received. 1567s # * 1567s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1567s # * 1567s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1567s # */ 1567s # OrgProjectUsefulInterface * 1567s # org_project_useful_interface_proxy_new_sync ( 1567s # GDBusConnection *connection, 1567s # GDBusProxyFlags flags, 1567s # const gchar *name, 1567s # const gchar *object_path, 1567s # GCancellable *cancellable, 1567s # GError **error) 1567s # { 1567s # GInitable *ret; 1567s # 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); 1567s # if (ret != NULL) 1567s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1567s # else 1567s # return NULL; 1567s # } 1567s # 1567s # 1567s # /** 1567s # * org_project_useful_interface_proxy_new_for_bus: 1567s # * @bus_type: A #GBusType. 1567s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1567s # * @name: A bus name (well-known or unique). 1567s # * @object_path: An object path. 1567s # * @cancellable: (nullable): A #GCancellable or %NULL. 1567s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1567s # * @user_data: User data to pass to @callback. 1567s # * 1567s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1567s # * 1567s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1567s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1567s # * 1567s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1567s # */ 1567s # void 1567s # org_project_useful_interface_proxy_new_for_bus ( 1567s # GBusType bus_type, 1567s # GDBusProxyFlags flags, 1567s # const gchar *name, 1567s # const gchar *object_path, 1567s # GCancellable *cancellable, 1567s # GAsyncReadyCallback callback, 1567s # gpointer user_data) 1567s # { 1567s # g_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); 1567s # } 1567s # 1567s # /** 1567s # * org_project_useful_interface_proxy_new_for_bus_finish: 1567s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1567s # * @error: Return location for error or %NULL 1567s # * 1567s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1567s # * 1567s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1567s # */ 1567s # OrgProjectUsefulInterface * 1567s # org_project_useful_interface_proxy_new_for_bus_finish ( 1567s # GAsyncResult *res, 1567s # GError **error) 1567s # { 1567s # GObject *ret; 1567s # GObject *source_object; 1567s # source_object = g_async_result_get_source_object (res); 1567s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1567s # g_object_unref (source_object); 1567s # if (ret != NULL) 1567s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1567s # else 1567s # return NULL; 1567s # } 1567s # 1567s # /** 1567s # * org_project_useful_interface_proxy_new_for_bus_sync: 1567s # * @bus_type: A #GBusType. 1567s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1567s # * @name: A bus name (well-known or unique). 1567s # * @object_path: An object path. 1567s # * @cancellable: (nullable): A #GCancellable or %NULL. 1567s # * @error: Return location for error or %NULL 1567s # * 1567s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1567s # * 1567s # * The calling thread is blocked until a reply is received. 1567s # * 1567s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1567s # * 1567s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1567s # */ 1567s # OrgProjectUsefulInterface * 1567s # org_project_useful_interface_proxy_new_for_bus_sync ( 1567s # GBusType bus_type, 1567s # GDBusProxyFlags flags, 1567s # const gchar *name, 1567s # const gchar *object_path, 1567s # GCancellable *cancellable, 1567s # GError **error) 1567s # { 1567s # GInitable *ret; 1567s # 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); 1567s # if (ret != NULL) 1567s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1567s # else 1567s # return NULL; 1567s # } 1567s # 1567s # 1567s # /* ------------------------------------------------------------------------ */ 1567s # 1567s # /** 1567s # * OrgProjectUsefulInterfaceSkeleton: 1567s # * 1567s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1567s # */ 1567s # 1567s # /** 1567s # * OrgProjectUsefulInterfaceSkeletonClass: 1567s # * @parent_class: The parent class. 1567s # * 1567s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1567s # */ 1567s # 1567s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1567s # { 1567s # GValue *properties; 1567s # GList *changed_properties; 1567s # GSource *changed_properties_idle_source; 1567s # GMainContext *context; 1567s # GMutex lock; 1567s # }; 1567s # 1567s # static void 1567s # _org_project_useful_interface_skeleton_handle_method_call ( 1567s # GDBusConnection *connection G_GNUC_UNUSED, 1567s # const gchar *sender G_GNUC_UNUSED, 1567s # const gchar *object_path G_GNUC_UNUSED, 1567s # const gchar *interface_name, 1567s # const gchar *method_name, 1567s # GVariant *parameters, 1567s # GDBusMethodInvocation *invocation, 1567s # gpointer user_data) 1567s # { 1567s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1567s # _ExtendedGDBusMethodInfo *info; 1567s # GVariantIter iter; 1567s # GVariant *child; 1567s # GValue *paramv; 1567s # gsize num_params; 1567s # guint num_extra; 1567s # gsize n; 1567s # guint signal_id; 1567s # GValue return_value = G_VALUE_INIT; 1567s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1567s # g_assert (info != NULL); 1567s # num_params = g_variant_n_children (parameters); 1567s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1567s # n = 0; 1567s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1567s # g_value_set_object (¶mv[n++], skeleton); 1567s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1567s # g_value_set_object (¶mv[n++], invocation); 1567s # if (info->pass_fdlist) 1567s # { 1567s # #ifdef G_OS_UNIX 1567s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1567s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1567s # #else 1567s # g_assert_not_reached (); 1567s # #endif 1567s # } 1567s # g_variant_iter_init (&iter, parameters); 1567s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1567s # { 1567s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1567s # if (arg_info->use_gvariant) 1567s # { 1567s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1567s # g_value_set_variant (¶mv[n], child); 1567s # n++; 1567s # } 1567s # else 1567s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1567s # g_variant_unref (child); 1567s # } 1567s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1567s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1567s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1567s # if (!g_value_get_boolean (&return_value)) 1567s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1567s # g_value_unset (&return_value); 1567s # for (n = 0; n < num_params + num_extra; n++) 1567s # g_value_unset (¶mv[n]); 1567s # g_free (paramv); 1567s # } 1567s # 1567s # static GVariant * 1567s # _org_project_useful_interface_skeleton_handle_get_property ( 1567s # GDBusConnection *connection G_GNUC_UNUSED, 1567s # const gchar *sender G_GNUC_UNUSED, 1567s # const gchar *object_path G_GNUC_UNUSED, 1567s # const gchar *interface_name G_GNUC_UNUSED, 1567s # const gchar *property_name, 1567s # GError **error, 1567s # gpointer user_data) 1567s # { 1567s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1567s # GValue value = G_VALUE_INIT; 1567s # GParamSpec *pspec; 1567s # _ExtendedGDBusPropertyInfo *info; 1567s # GVariant *ret; 1567s # ret = NULL; 1567s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1567s # g_assert (info != NULL); 1567s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1567s # if (pspec == NULL) 1567s # { 1567s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1567s # } 1567s # else 1567s # { 1567s # g_value_init (&value, pspec->value_type); 1567s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1567s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1567s # g_value_unset (&value); 1567s # } 1567s # return ret; 1567s # } 1567s # 1567s # static gboolean 1567s # _org_project_useful_interface_skeleton_handle_set_property ( 1567s # GDBusConnection *connection G_GNUC_UNUSED, 1567s # const gchar *sender G_GNUC_UNUSED, 1567s # const gchar *object_path G_GNUC_UNUSED, 1567s # const gchar *interface_name G_GNUC_UNUSED, 1567s # const gchar *property_name, 1567s # GVariant *variant, 1567s # GError **error, 1567s # gpointer user_data) 1567s # { 1567s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1567s # GValue value = G_VALUE_INIT; 1567s # GParamSpec *pspec; 1567s # _ExtendedGDBusPropertyInfo *info; 1567s # gboolean ret; 1567s # ret = FALSE; 1567s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1567s # g_assert (info != NULL); 1567s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1567s # if (pspec == NULL) 1567s # { 1567s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1567s # } 1567s # else 1567s # { 1567s # if (info->use_gvariant) 1567s # g_value_set_variant (&value, variant); 1567s # else 1567s # g_dbus_gvariant_to_gvalue (variant, &value); 1567s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1567s # g_value_unset (&value); 1567s # ret = TRUE; 1567s # } 1567s # return ret; 1567s # } 1567s # 1567s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1567s # { 1567s # _org_project_useful_interface_skeleton_handle_method_call, 1567s # _org_project_useful_interface_skeleton_handle_get_property, 1567s # _org_project_useful_interface_skeleton_handle_set_property, 1567s # {NULL} 1567s # }; 1567s # 1567s # static GDBusInterfaceInfo * 1567s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1567s # { 1567s # return org_project_useful_interface_interface_info (); 1567s # } 1567s # 1567s # static GDBusInterfaceVTable * 1567s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1567s # { 1567s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1567s # } 1567s # 1567s # static GVariant * 1567s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1567s # { 1567s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1567s # 1567s # GVariantBuilder builder; 1567s # guint n; 1567s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1567s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1567s # goto out; 1567s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1567s # { 1567s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1567s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1567s # { 1567s # GVariant *value; 1567s # 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); 1567s # if (value != NULL) 1567s # { 1567s # g_variant_take_ref (value); 1567s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1567s # g_variant_unref (value); 1567s # } 1567s # } 1567s # } 1567s # out: 1567s # return g_variant_builder_end (&builder); 1567s # } 1567s # 1567s # static void 1567s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1567s # { 1567s # } 1567s # 1567s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1567s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1567s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1567s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1567s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1567s # 1567s # #else 1567s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1567s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1567s # 1567s # #endif 1567s # static void 1567s # org_project_useful_interface_skeleton_finalize (GObject *object) 1567s # { 1567s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1567s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1567s # if (skeleton->priv->changed_properties_idle_source != NULL) 1567s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1567s # g_main_context_unref (skeleton->priv->context); 1567s # g_mutex_clear (&skeleton->priv->lock); 1567s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1567s # } 1567s # 1567s # static void 1567s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1567s # { 1567s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1567s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1567s # #else 1567s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1567s # #endif 1567s # 1567s # g_mutex_init (&skeleton->priv->lock); 1567s # skeleton->priv->context = g_main_context_ref_thread_default (); 1567s # } 1567s # 1567s # static void 1567s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1567s # { 1567s # GObjectClass *gobject_class; 1567s # GDBusInterfaceSkeletonClass *skeleton_class; 1567s # 1567s # gobject_class = G_OBJECT_CLASS (klass); 1567s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1567s # 1567s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1567s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1567s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1567s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1567s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1567s # 1567s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1567s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1567s # #endif 1567s # } 1567s # 1567s # static void 1567s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1567s # { 1567s # } 1567s # 1567s # /** 1567s # * org_project_useful_interface_skeleton_new: 1567s # * 1567s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1567s # * 1567s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1567s # */ 1567s # OrgProjectUsefulInterface * 1567s # org_project_useful_interface_skeleton_new (void) 1567s # { 1567s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1567s # } 1567s # /tmp/tmp6r0268hb/tmp3l_iebwl.xml: 1567s # 1567s # 1567s # 1567s # 1567s # 1567s # 1567s # 1567s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp6r0268hb/tmp3l_iebwl.xml', '--output', '-', '--body'] 1567s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-baqskmurxn,guid=fbaffe99d0ccb1f6e1beb84865fc01cd', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.YcZbqk/autopkgtest_tmp', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.YcZbqk/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.YcZbqk/autopkgtest_tmp', 'TERM': 'unknown', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.YcZbqk/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.sVTVMp0Db0', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.rqZsJO/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.YcZbqk/wrapper.sh --artifacts=/tmp/autopkgtest.YcZbqk/installed-tests-artifacts --chdir=/tmp/autopkgtest.YcZbqk/build.S0E/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.YcZbqk/installed-tests-stderr --stdout=/tmp/autopkgtest.YcZbqk/installed-tests-stdout --tmp=/tmp/autopkgtest.YcZbqk/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2' --make-executable=/tmp/autopkgtest.YcZbqk/build.S0E/src/debian/tests/installed-tests -- /tmp/autopkgtest.YcZbqk/build.S0E/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.YcZbqk/build.S0E/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.YcZbqk/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1567s # Output: /* 1567s # * This file is generated by gdbus-codegen, do not modify it. 1567s # * 1567s # * The license of this code is the same as for the D-Bus interface description 1567s # * it was derived from. Note that it links to GLib, so must comply with the 1567s # * LGPL linking clauses. 1567s # */ 1567s # 1567s # #ifdef HAVE_CONFIG_H 1567s # # include "config.h" 1567s # #endif 1567s # 1567s # #include 1567s # #ifdef G_OS_UNIX 1567s # # include 1567s # #endif 1567s # 1567s # #ifdef G_ENABLE_DEBUG 1567s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1567s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1567s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1567s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1567s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1567s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1567s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1567s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1567s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1567s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1567s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1567s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1567s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1567s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1567s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1567s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1567s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1567s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1567s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1567s # #else /* !G_ENABLE_DEBUG */ 1567s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1567s # * Do not access GValues directly in your code. Instead, use the 1567s # * g_value_get_*() functions 1567s # */ 1567s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1567s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1567s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1567s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1567s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1567s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1567s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1567s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1567s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1567s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1567s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1567s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1567s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1567s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1567s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1567s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1567s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1567s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1567s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1567s # #endif /* !G_ENABLE_DEBUG */ 1567s # 1567s # typedef struct 1567s # { 1567s # GDBusArgInfo parent_struct; 1567s # gboolean use_gvariant; 1567s # } _ExtendedGDBusArgInfo; 1567s # 1567s # typedef struct 1567s # { 1567s # GDBusMethodInfo parent_struct; 1567s # const gchar *signal_name; 1567s # gboolean pass_fdlist; 1567s # } _ExtendedGDBusMethodInfo; 1567s # 1567s # typedef struct 1567s # { 1567s # GDBusSignalInfo parent_struct; 1567s # const gchar *signal_name; 1567s # } _ExtendedGDBusSignalInfo; 1567s # 1567s # typedef struct 1567s # { 1567s # GDBusPropertyInfo parent_struct; 1567s # const gchar *hyphen_name; 1567s # guint use_gvariant : 1; 1567s # guint emits_changed_signal : 1; 1567s # } _ExtendedGDBusPropertyInfo; 1567s # 1567s # typedef struct 1567s # { 1567s # GDBusInterfaceInfo parent_struct; 1567s # const gchar *hyphen_name; 1567s # } _ExtendedGDBusInterfaceInfo; 1567s # 1567s # typedef struct 1567s # { 1567s # const _ExtendedGDBusPropertyInfo *info; 1567s # guint prop_id; 1567s # GValue orig_value; /* the value before the change */ 1567s # } ChangedProperty; 1567s # 1567s # static void 1567s # _changed_property_free (ChangedProperty *data) 1567s # { 1567s # g_value_unset (&data->orig_value); 1567s # g_free (data); 1567s # } 1567s # 1567s # static gboolean 1567s # _g_strv_equal0 (gchar **a, gchar **b) 1567s # { 1567s # gboolean ret = FALSE; 1567s # guint n; 1567s # if (a == NULL && b == NULL) 1567s # { 1567s # ret = TRUE; 1567s # goto out; 1567s # } 1567s # if (a == NULL || b == NULL) 1567s # goto out; 1567s # if (g_strv_length (a) != g_strv_length (b)) 1567s # goto out; 1567s # for (n = 0; a[n] != NULL; n++) 1567s # if (g_strcmp0 (a[n], b[n]) != 0) 1567s # goto out; 1567s # ret = TRUE; 1567s # out: 1567s # return ret; 1567s # } 1567s # 1567s # static gboolean 1567s # _g_variant_equal0 (GVariant *a, GVariant *b) 1567s # { 1567s # gboolean ret = FALSE; 1567s # if (a == NULL && b == NULL) 1567s # { 1567s # ret = TRUE; 1567s # goto out; 1567s # } 1567s # if (a == NULL || b == NULL) 1567s # goto out; 1567s # ret = g_variant_equal (a, b); 1567s # out: 1567s # return ret; 1567s # } 1567s # 1567s # G_GNUC_UNUSED static gboolean 1567s # _g_value_equal (const GValue *a, const GValue *b) 1567s # { 1567s # gboolean ret = FALSE; 1567s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1567s # switch (G_VALUE_TYPE (a)) 1567s # { 1567s # case G_TYPE_BOOLEAN: 1567s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1567s # break; 1567s # case G_TYPE_UCHAR: 1567s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1567s # break; 1567s # case G_TYPE_INT: 1567s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1567s # break; 1567s # case G_TYPE_UINT: 1567s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1567s # break; 1567s # case G_TYPE_INT64: 1567s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1567s # break; 1567s # case G_TYPE_UINT64: 1567s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1567s # break; 1567s # case G_TYPE_DOUBLE: 1567s # { 1567s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1567s # gdouble da = g_value_get_double (a); 1567s # gdouble db = g_value_get_double (b); 1567s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1567s # } 1567s # break; 1567s # case G_TYPE_STRING: 1567s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1567s # break; 1567s # case G_TYPE_VARIANT: 1567s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1567s # break; 1567s # default: 1567s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1567s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1567s # else 1567s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1567s # break; 1567s # } 1567s # return ret; 1567s # } 1567s # 1567s # static void 1567s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 1567s # GClosure *closure, 1567s # GValue *return_value, 1567s # unsigned int n_param_values, 1567s # const GValue *param_values, 1567s # void *invocation_hint G_GNUC_UNUSED, 1567s # void *marshal_data) 1567s # { 1567s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 1567s # (void *data1, 1567s # GDBusMethodInvocation *arg_method_invocation, 1567s # void *data2); 1567s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 1567s # GCClosure *cc = (GCClosure*) closure; 1567s # void *data1, *data2; 1567s # gboolean v_return; 1567s # 1567s # g_return_if_fail (return_value != NULL); 1567s # g_return_if_fail (n_param_values == 2); 1567s # 1567s # if (G_CCLOSURE_SWAP_DATA (closure)) 1567s # { 1567s # data1 = closure->data; 1567s # data2 = g_value_peek_pointer (param_values + 0); 1567s # } 1567s # else 1567s # { 1567s # data1 = g_value_peek_pointer (param_values + 0); 1567s # data2 = closure->data; 1567s # } 1567s # 1567s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 1567s # (marshal_data ? marshal_data : cc->callback); 1567s # 1567s # v_return = 1567s # callback (data1, 1567s # g_marshal_value_peek_object (param_values + 1), 1567s # data2); 1567s # 1567s # g_value_set_boolean (return_value, v_return); 1567s # } 1567s # 1567s # /* ------------------------------------------------------------------------ 1567s # * Code for interface org.project.UsefulInterface 1567s # * ------------------------------------------------------------------------ 1567s # */ 1567s # 1567s # /** 1567s # * SECTION:OrgProjectUsefulInterface 1567s # * @title: OrgProjectUsefulInterface 1567s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1567s # * 1567s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1567s # */ 1567s # 1567s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1567s # 1567s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_s_OUT_ARG_arg_s = 1567s # { 1567s # { 1567s # -1, 1567s # (gchar *) "arg_s", 1567s # (gchar *) "s", 1567s # NULL 1567s # }, 1567s # FALSE 1567s # }; 1567s # 1567s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_s_OUT_ARG_pointers[] = 1567s # { 1567s # &_org_project_useful_interface_method_info_single_arg_method_s_OUT_ARG_arg_s.parent_struct, 1567s # NULL 1567s # }; 1567s # 1567s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_s = 1567s # { 1567s # { 1567s # -1, 1567s # (gchar *) "SingleArgMethodS", 1567s # NULL, 1567s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_s_OUT_ARG_pointers, 1567s # NULL 1567s # }, 1567s # "handle-single-arg-method-s", 1567s # FALSE 1567s # }; 1567s # 1567s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1567s # { 1567s # &_org_project_useful_interface_method_info_single_arg_method_s.parent_struct, 1567s # NULL 1567s # }; 1567s # 1567s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1567s # { 1567s # { 1567s # -1, 1567s # (gchar *) "org.project.UsefulInterface", 1567s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1567s # NULL, 1567s # NULL, 1567s # NULL 1567s # }, 1567s # "org-project-useful-interface", 1567s # }; 1567s # 1567s # 1567s # /** 1567s # * org_project_useful_interface_interface_info: 1567s # * 1567s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1567s # * 1567s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1567s # */ 1567s # GDBusInterfaceInfo * 1567s # org_project_useful_interface_interface_info (void) 1567s # { 1567s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1567s # } 1567s # 1567s # /** 1567s # * org_project_useful_interface_override_properties: 1567s # * @klass: The class structure for a #GObject derived class. 1567s # * @property_id_begin: The property id to assign to the first overridden property. 1567s # * 1567s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1567s # * The properties are overridden in the order they are defined. 1567s # * 1567s # * Returns: The last property id. 1567s # */ 1567s # guint 1567s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1567s # { 1567s # return property_id_begin - 1; 1567s # } 1567s # 1567s # 1567s # inline static void 1567s # org_project_useful_interface_method_marshal_single_arg_method_s ( 1567s # GClosure *closure, 1567s # GValue *return_value, 1567s # unsigned int n_param_values, 1567s # const GValue *param_values, 1567s # void *invocation_hint, 1567s # void *marshal_data) 1567s # { 1567s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1567s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1567s # } 1567s # 1567s # 1567s # /** 1567s # * OrgProjectUsefulInterface: 1567s # * 1567s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1567s # */ 1567s # 1567s # /** 1567s # * OrgProjectUsefulInterfaceIface: 1567s # * @parent_iface: The parent interface. 1567s # * @handle_single_arg_method_s: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-s signal. 1567s # * 1567s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1567s # */ 1567s # 1567s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1567s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1567s # 1567s # static void 1567s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1567s # { 1567s # /* GObject signals for incoming D-Bus method calls: */ 1567s # /** 1567s # * OrgProjectUsefulInterface::handle-single-arg-method-s: 1567s # * @object: A #OrgProjectUsefulInterface. 1567s # * @invocation: A #GDBusMethodInvocation. 1567s # * 1567s # * Signal emitted when a remote caller is invoking the SingleArgMethodS() D-Bus method. 1567s # * 1567s # * 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. 1567s # * 1567s # * 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. 1567s # */ 1567s # g_signal_new ("handle-single-arg-method-s", 1567s # G_TYPE_FROM_INTERFACE (iface), 1567s # G_SIGNAL_RUN_LAST, 1567s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_s), 1567s # g_signal_accumulator_true_handled, 1567s # NULL, 1567s # org_project_useful_interface_method_marshal_single_arg_method_s, 1567s # G_TYPE_BOOLEAN, 1567s # 1, 1567s # G_TYPE_DBUS_METHOD_INVOCATION); 1567s # 1567s # } 1567s # 1567s # /** 1567s # * org_project_useful_interface_call_single_arg_method_s: 1567s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1567s # * @cancellable: (nullable): A #GCancellable or %NULL. 1567s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1567s # * @user_data: User data to pass to @callback. 1567s # * 1567s # * Asynchronously invokes the SingleArgMethodS() D-Bus method on @proxy. 1567s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1567s # * You can then call org_project_useful_interface_call_single_arg_method_s_finish() to get the result of the operation. 1567s # * 1567s # * See org_project_useful_interface_call_single_arg_method_s_sync() for the synchronous, blocking version of this method. 1567s # */ 1567s # void 1567s # org_project_useful_interface_call_single_arg_method_s ( 1567s # OrgProjectUsefulInterface *proxy, 1567s # GCancellable *cancellable, 1567s # GAsyncReadyCallback callback, 1567s # gpointer user_data) 1567s # { 1567s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1567s # "SingleArgMethodS", 1567s # g_variant_new ("()"), 1567s # G_DBUS_CALL_FLAGS_NONE, 1567s # -1, 1567s # cancellable, 1567s # callback, 1567s # user_data); 1567s # } 1567s # 1567s # /** 1567s # * org_project_useful_interface_call_single_arg_method_s_finish: 1567s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1567s # * @out_arg_s: (out) (optional): Return location for return parameter or %NULL to ignore. 1567s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_s(). 1567s # * @error: Return location for error or %NULL. 1567s # * 1567s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_s(). 1567s # * 1567s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1567s # */ 1567s # gboolean 1567s # org_project_useful_interface_call_single_arg_method_s_finish ( 1567s # OrgProjectUsefulInterface *proxy, 1567s # gchar **out_arg_s, 1567s # GAsyncResult *res, 1567s # GError **error) 1567s # { 1567s # GVariant *_ret; 1567s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1567s # if (_ret == NULL) 1567s # goto _out; 1567s # g_variant_get (_ret, 1567s # "(s)", 1567s # out_arg_s); 1567s # g_variant_unref (_ret); 1567s # _out: 1567s # return _ret != NULL; 1567s # } 1567s # 1567s # /** 1567s # * org_project_useful_interface_call_single_arg_method_s_sync: 1567s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1567s # * @out_arg_s: (out) (optional): Return location for return parameter or %NULL to ignore. 1567s # * @cancellable: (nullable): A #GCancellable or %NULL. 1567s # * @error: Return location for error or %NULL. 1567s # * 1567s # * Synchronously invokes the SingleArgMethodS() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1567s # * 1567s # * See org_project_useful_interface_call_single_arg_method_s() for the asynchronous version of this method. 1567s # * 1567s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1567s # */ 1567s # gboolean 1567s # org_project_useful_interface_call_single_arg_method_s_sync ( 1567s # OrgProjectUsefulInterface *proxy, 1567s # gchar **out_arg_s, 1567s # GCancellable *cancellable, 1567s # GError **error) 1567s # { 1567s # GVariant *_ret; 1567s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1567s # "SingleArgMethodS", 1567s # g_variant_new ("()"), 1567s # G_DBUS_CALL_FLAGS_NONE, 1567s # -1, 1567s # cancellable, 1567s # error); 1567s # if (_ret == NULL) 1567s # goto _out; 1567s # g_variant_get (_ret, 1567s # "(s)", 1567s # out_arg_s); 1567s # g_variant_unref (_ret); 1567s # _out: 1567s # return _ret != NULL; 1567s # } 1567s # 1567s # /** 1567s # * org_project_useful_interface_complete_single_arg_method_s: 1567s # * @object: A #OrgProjectUsefulInterface. 1567s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1567s # * @arg_s: Parameter to return. 1567s # * 1567s # * 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. 1567s # * 1567s # * This method will free @invocation, you cannot use it afterwards. 1567s # */ 1567s # void 1567s # org_project_useful_interface_complete_single_arg_method_s ( 1567s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1567s # GDBusMethodInvocation *invocation, 1567s # const gchar *arg_s) 1567s # { 1567s # g_dbus_method_invocation_return_value (invocation, 1567s # g_variant_new ("(s)", 1567s # arg_s)); 1567s # } 1567s # 1567s # /* ------------------------------------------------------------------------ */ 1567s # 1567s # /** 1567s # * OrgProjectUsefulInterfaceProxy: 1567s # * 1567s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1567s # */ 1567s # 1567s # /** 1567s # * OrgProjectUsefulInterfaceProxyClass: 1567s # * @parent_class: The parent class. 1567s # * 1567s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1567s # */ 1567s # 1567s # struct _OrgProjectUsefulInterfaceProxyPrivate 1567s # { 1567s # GData *qdata; 1567s # }; 1567s # 1567s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1567s # 1567s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1567s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1567s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1567s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1567s # 1567s # #else 1567s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1567s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1567s # 1567s # #endif 1567s # static void 1567s # org_project_useful_interface_proxy_finalize (GObject *object) 1567s # { 1567s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1567s # g_datalist_clear (&proxy->priv->qdata); 1567s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1567s # } 1567s # 1567s # static void 1567s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1567s # guint prop_id G_GNUC_UNUSED, 1567s # GValue *value G_GNUC_UNUSED, 1567s # GParamSpec *pspec G_GNUC_UNUSED) 1567s # { 1567s # } 1567s # 1567s # static void 1567s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1567s # guint prop_id G_GNUC_UNUSED, 1567s # const GValue *value G_GNUC_UNUSED, 1567s # GParamSpec *pspec G_GNUC_UNUSED) 1567s # { 1567s # } 1567s # 1567s # static void 1567s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1567s # const gchar *sender_name G_GNUC_UNUSED, 1567s # const gchar *signal_name, 1567s # GVariant *parameters) 1567s # { 1567s # _ExtendedGDBusSignalInfo *info; 1567s # GVariantIter iter; 1567s # GVariant *child; 1567s # GValue *paramv; 1567s # gsize num_params; 1567s # gsize n; 1567s # guint signal_id; 1567s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1567s # if (info == NULL) 1567s # return; 1567s # num_params = g_variant_n_children (parameters); 1567s # paramv = g_new0 (GValue, num_params + 1); 1567s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1567s # g_value_set_object (¶mv[0], proxy); 1567s # g_variant_iter_init (&iter, parameters); 1567s # n = 1; 1567s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1567s # { 1567s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1567s # if (arg_info->use_gvariant) 1567s # { 1567s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1567s # g_value_set_variant (¶mv[n], child); 1567s # n++; 1567s # } 1567s # else 1567s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1567s # g_variant_unref (child); 1567s # } 1567s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1567s # g_signal_emitv (paramv, signal_id, 0, NULL); 1567s # for (n = 0; n < num_params + 1; n++) 1567s # g_value_unset (¶mv[n]); 1567s # g_free (paramv); 1567s # } 1567s # 1567s # static void 1567s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1567s # GVariant *changed_properties, 1567s # const gchar *const *invalidated_properties) 1567s # { 1567s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1567s # guint n; 1567s # const gchar *key; 1567s # GVariantIter *iter; 1567s # _ExtendedGDBusPropertyInfo *info; 1567s # g_variant_get (changed_properties, "a{sv}", &iter); 1567s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1567s # { 1567s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1567s # g_datalist_remove_data (&proxy->priv->qdata, key); 1567s # if (info != NULL) 1567s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1567s # } 1567s # g_variant_iter_free (iter); 1567s # for (n = 0; invalidated_properties[n] != NULL; n++) 1567s # { 1567s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1567s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1567s # if (info != NULL) 1567s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1567s # } 1567s # } 1567s # 1567s # static void 1567s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1567s # { 1567s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1567s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1567s # #else 1567s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1567s # #endif 1567s # 1567s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1567s # } 1567s # 1567s # static void 1567s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1567s # { 1567s # GObjectClass *gobject_class; 1567s # GDBusProxyClass *proxy_class; 1567s # 1567s # gobject_class = G_OBJECT_CLASS (klass); 1567s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1567s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1567s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1567s # 1567s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1567s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1567s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1567s # 1567s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1567s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1567s # #endif 1567s # } 1567s # 1567s # static void 1567s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1567s # { 1567s # } 1567s # 1567s # /** 1567s # * org_project_useful_interface_proxy_new: 1567s # * @connection: A #GDBusConnection. 1567s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1567s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1567s # * @object_path: An object path. 1567s # * @cancellable: (nullable): A #GCancellable or %NULL. 1567s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1567s # * @user_data: User data to pass to @callback. 1567s # * 1567s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1567s # * 1567s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1567s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1567s # * 1567s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1567s # */ 1567s # void 1567s # org_project_useful_interface_proxy_new ( 1567s # GDBusConnection *connection, 1567s # GDBusProxyFlags flags, 1567s # const gchar *name, 1567s # const gchar *object_path, 1567s # GCancellable *cancellable, 1567s # GAsyncReadyCallback callback, 1567s # gpointer user_data) 1567s # { 1567s # g_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); 1567s # } 1567s # 1567s # /** 1567s # * org_project_useful_interface_proxy_new_finish: 1567s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1567s # * @error: Return location for error or %NULL 1567s # * 1567s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1567s # * 1567s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1567s # */ 1567s # OrgProjectUsefulInterface * 1567s # org_project_useful_interface_proxy_new_finish ( 1567s # GAsyncResult *res, 1567s # GError **error) 1567s # { 1567s # GObject *ret; 1567s # GObject *source_object; 1567s # source_object = g_async_result_get_source_object (res); 1567s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1567s # g_object_unref (source_object); 1567s # if (ret != NULL) 1567s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1567s # else 1567s # return NULL; 1567s # } 1567s # 1567s # /** 1567s # * org_project_useful_interface_proxy_new_sync: 1567s # * @connection: A #GDBusConnection. 1567s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1567s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1567s # * @object_path: An object path. 1567s # * @cancellable: (nullable): A #GCancellable or %NULL. 1567s # * @error: Return location for error or %NULL 1567s # * 1567s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1567s # * 1567s # * The calling thread is blocked until a reply is received. 1567s # * 1567s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1567s # * 1567s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1567s # */ 1567s # OrgProjectUsefulInterface * 1567s # org_project_useful_interface_proxy_new_sync ( 1567s # GDBusConnection *connection, 1567s # GDBusProxyFlags flags, 1567s # const gchar *name, 1567s # const gchar *object_path, 1567s # GCancellable *cancellable, 1567s # GError **error) 1567s # { 1567s # GInitable *ret; 1567s # 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); 1567s # if (ret != NULL) 1567s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1567s # else 1567s # return NULL; 1567s # } 1567s # 1567s # 1567s # /** 1567s # * org_project_useful_interface_proxy_new_for_bus: 1567s # * @bus_type: A #GBusType. 1567s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1567s # * @name: A bus name (well-known or unique). 1567s # * @object_path: An object path. 1567s # * @cancellable: (nullable): A #GCancellable or %NULL. 1567s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1567s # * @user_data: User data to pass to @callback. 1567s # * 1567s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1567s # * 1567s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1567s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1567s # * 1567s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1567s # */ 1567s # void 1567s # org_project_useful_interface_proxy_new_for_bus ( 1567s # GBusType bus_type, 1567s # GDBusProxyFlags flags, 1567s # const gchar *name, 1567s # const gchar *object_path, 1567s # GCancellable *cancellable, 1567s # GAsyncReadyCallback callback, 1567s # gpointer user_data) 1567s # { 1567s # g_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); 1567s # } 1567s # 1567s # /** 1567s # * org_project_useful_interface_proxy_new_for_bus_finish: 1567s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1567s # * @error: Return location for error or %NULL 1567s # * 1567s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1567s # * 1567s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1567s # */ 1567s # OrgProjectUsefulInterface * 1567s # org_project_useful_interface_proxy_new_for_bus_finish ( 1567s # GAsyncResult *res, 1567s # GError **error) 1567s # { 1567s # GObject *ret; 1567s # GObject *source_object; 1567s # source_object = g_async_result_get_source_object (res); 1567s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1567s # g_object_unref (source_object); 1567s # if (ret != NULL) 1567s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1567s # else 1567s # return NULL; 1567s # } 1567s # 1567s # /** 1567s # * org_project_useful_interface_proxy_new_for_bus_sync: 1567s # * @bus_type: A #GBusType. 1567s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1567s # * @name: A bus name (well-known or unique). 1567s # * @object_path: An object path. 1567s # * @cancellable: (nullable): A #GCancellable or %NULL. 1567s # * @error: Return location for error or %NULL 1567s # * 1567s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1567s # * 1567s # * The calling thread is blocked until a reply is received. 1567s # * 1567s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1567s # * 1567s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1567s # */ 1567s # OrgProjectUsefulInterface * 1567s # org_project_useful_interface_proxy_new_for_bus_sync ( 1567s # GBusType bus_type, 1567s # GDBusProxyFlags flags, 1567s # const gchar *name, 1567s # const gchar *object_path, 1567s # GCancellable *cancellable, 1567s # GError **error) 1567s # { 1567s # GInitable *ret; 1567s # 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); 1567s # if (ret != NULL) 1567s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1567s # else 1567s # return NULL; 1567s # } 1567s # 1567s # 1567s # /* ------------------------------------------------------------------------ */ 1567s # 1567s # /** 1567s # * OrgProjectUsefulInterfaceSkeleton: 1567s # * 1567s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1567s # */ 1567s # 1567s # /** 1567s # * OrgProjectUsefulInterfaceSkeletonClass: 1567s # * @parent_class: The parent class. 1567s # * 1567s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1567s # */ 1567s # 1567s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1567s # { 1567s # GValue *properties; 1567s # GList *changed_properties; 1567s # GSource *changed_properties_idle_source; 1567s # GMainContext *context; 1567s # GMutex lock; 1567s # }; 1567s # 1567s # static void 1567s # _org_project_useful_interface_skeleton_handle_method_call ( 1567s # GDBusConnection *connection G_GNUC_UNUSED, 1567s # const gchar *sender G_GNUC_UNUSED, 1567s # const gchar *object_path G_GNUC_UNUSED, 1567s # const gchar *interface_name, 1567s # const gchar *method_name, 1567s # GVariant *parameters, 1567s # GDBusMethodInvocation *invocation, 1567s # gpointer user_data) 1567s # { 1567s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1567s # _ExtendedGDBusMethodInfo *info; 1567s # GVariantIter iter; 1567s # GVariant *child; 1567s # GValue *paramv; 1567s # gsize num_params; 1567s # guint num_extra; 1567s # gsize n; 1567s # guint signal_id; 1567s # GValue return_value = G_VALUE_INIT; 1567s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1567s # g_assert (info != NULL); 1567s # num_params = g_variant_n_children (parameters); 1567s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1567s # n = 0; 1567s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1567s # g_value_set_object (¶mv[n++], skeleton); 1567s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1567s # g_value_set_object (¶mv[n++], invocation); 1567s # if (info->pass_fdlist) 1567s # { 1567s # #ifdef G_OS_UNIX 1567s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1567s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1567s # #else 1567s # g_assert_not_reached (); 1567s # #endif 1567s # } 1567s # g_variant_iter_init (&iter, parameters); 1567s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1567s # { 1567s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1567s # if (arg_info->use_gvariant) 1567s # { 1567s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1567s # g_value_set_variant (¶mv[n], child); 1567s # n++; 1567s # } 1567s # else 1567s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1567s # g_variant_unref (child); 1567s # } 1567s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1567s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1567s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1567s # if (!g_value_get_boolean (&return_value)) 1567s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1567s # g_value_unset (&return_value); 1567s # for (n = 0; n < num_params + num_extra; n++) 1567s # g_value_unset (¶mv[n]); 1567s # g_free (paramv); 1567s # } 1567s # 1567s # static GVariant * 1567s # _org_project_useful_interface_skeleton_handle_get_property ( 1567s # GDBusConnection *connection G_GNUC_UNUSED, 1567s # const gchar *sender G_GNUC_UNUSED, 1567s # const gchar *object_path G_GNUC_UNUSED, 1567s # const gchar *interface_name G_GNUC_UNUSED, 1567s # const gchar *property_name, 1567s # GError **error, 1567s # gpointer user_data) 1567s # { 1567s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1567s # GValue value = G_VALUE_INIT; 1567s # GParamSpec *pspec; 1567s # _ExtendedGDBusPropertyInfo *info; 1567s # GVariant *ret; 1567s # ret = NULL; 1567s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1567s # g_assert (info != NULL); 1567s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1567s # if (pspec == NULL) 1567s # { 1567s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1567s # } 1567s # else 1567s # { 1567s # g_value_init (&value, pspec->value_type); 1567s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1567s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1567s # g_value_unset (&value); 1567s # } 1567s # return ret; 1567s # } 1567s # 1567s # static gboolean 1567s # _org_project_useful_interface_skeleton_handle_set_property ( 1567s # GDBusConnection *connection G_GNUC_UNUSED, 1567s # const gchar *sender G_GNUC_UNUSED, 1567s # const gchar *object_path G_GNUC_UNUSED, 1567s # const gchar *interface_name G_GNUC_UNUSED, 1567s # const gchar *property_name, 1567s # GVariant *variant, 1567s # GError **error, 1567s # gpointer user_data) 1567s # { 1567s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1567s # GValue value = G_VALUE_INIT; 1567s # GParamSpec *pspec; 1567s # _ExtendedGDBusPropertyInfo *info; 1567s # gboolean ret; 1567s # ret = FALSE; 1567s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1567s # g_assert (info != NULL); 1567s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1567s # if (pspec == NULL) 1567s # { 1567s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1567s # } 1567s # else 1567s # { 1567s # if (info->use_gvariant) 1567s # g_value_set_variant (&value, variant); 1567s # else 1567s # g_dbus_gvariant_to_gvalue (variant, &value); 1567s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1567s # g_value_unset (&value); 1567s # ret = TRUE; 1567s # } 1567s # return ret; 1567s # } 1567s # 1567s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1567s # { 1567s # _org_project_useful_interface_skeleton_handle_method_call, 1567s # _org_project_useful_interface_skeleton_handle_get_property, 1567s # _org_project_useful_interface_skeleton_handle_set_property, 1567s # {NULL} 1567s # }; 1567s # 1567s # static GDBusInterfaceInfo * 1567s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1567s # { 1567s # return org_project_useful_interface_interface_info (); 1567s # } 1567s # 1567s # static GDBusInterfaceVTable * 1567s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1567s # { 1567s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1567s # } 1567s # 1567s # static GVariant * 1567s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1567s # { 1567s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1567s # 1567s # GVariantBuilder builder; 1567s # guint n; 1567s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1567s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1567s # goto out; 1567s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1567s # { 1567s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1567s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1567s # { 1567s # GVariant *value; 1567s # 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); 1567s # if (value != NULL) 1567s # { 1567s # g_variant_take_ref (value); 1567s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1567s # g_variant_unref (value); 1567s # } 1567s # } 1567s # } 1567s # out: 1567s # return g_variant_builder_end (&builder); 1567s # } 1567s # 1567s # static void 1567s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1567s # { 1567s # } 1567s # 1567s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1567s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1567s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1567s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1567s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1567s # 1567s # #else 1567s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1567s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1567s # 1567s # #endif 1567s # static void 1567s # org_project_useful_interface_skeleton_finalize (GObject *object) 1567s # { 1567s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1567s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1567s # if (skeleton->priv->changed_properties_idle_source != NULL) 1567s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1567s # g_main_context_unref (skeleton->priv->context); 1567s # g_mutex_clear (&skeleton->priv->lock); 1567s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1567s # } 1567s # 1567s # static void 1567s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1567s # { 1567s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1567s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1567s # #else 1567s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1567s # #endif 1567s # 1567s # g_mutex_init (&skeleton->priv->lock); 1567s # skeleton->priv->context = g_main_context_ref_thread_default (); 1567s # } 1567s # 1567s # static void 1567s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1567s # { 1567s # GObjectClass *gobject_class; 1567s # GDBusInterfaceSkeletonClass *skeleton_class; 1567s # 1567s # gobject_class = G_OBJECT_CLASS (klass); 1567s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1567s # 1567s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1567s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1567s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1567s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1567s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1567s # 1567s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1567s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1567s # #endif 1567s # } 1567s # 1567s # static void 1567s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1567s # { 1567s # } 1567s # 1567s # /** 1567s # * org_project_useful_interface_skeleton_new: 1567s # * 1567s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1567s # * 1567s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1567s # */ 1567s # OrgProjectUsefulInterface * 1567s # org_project_useful_interface_skeleton_new (void) 1567s # { 1567s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1567s # } 1567s # /tmp/tmp6r0268hb/tmp04s8hdy7.xml: 1567s # 1567s # 1567s # 1567s # 1567s # 1567s # 1567s # 1567s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp6r0268hb/tmp04s8hdy7.xml', '--output', '-', '--body'] 1567s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-baqskmurxn,guid=fbaffe99d0ccb1f6e1beb84865fc01cd', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.YcZbqk/autopkgtest_tmp', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.YcZbqk/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.YcZbqk/autopkgtest_tmp', 'TERM': 'unknown', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.YcZbqk/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.sVTVMp0Db0', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.rqZsJO/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.YcZbqk/wrapper.sh --artifacts=/tmp/autopkgtest.YcZbqk/installed-tests-artifacts --chdir=/tmp/autopkgtest.YcZbqk/build.S0E/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.YcZbqk/installed-tests-stderr --stdout=/tmp/autopkgtest.YcZbqk/installed-tests-stdout --tmp=/tmp/autopkgtest.YcZbqk/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2' --make-executable=/tmp/autopkgtest.YcZbqk/build.S0E/src/debian/tests/installed-tests -- /tmp/autopkgtest.YcZbqk/build.S0E/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.YcZbqk/build.S0E/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.YcZbqk/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1567s # Output: /* 1567s # * This file is generated by gdbus-codegen, do not modify it. 1567s # * 1567s # * The license of this code is the same as for the D-Bus interface description 1567s # * it was derived from. Note that it links to GLib, so must comply with the 1567s # * LGPL linking clauses. 1567s # */ 1567s # 1567s # #ifdef HAVE_CONFIG_H 1567s # # include "config.h" 1567s # #endif 1567s # 1567s # #include 1567s # #ifdef G_OS_UNIX 1567s # # include 1567s # #endif 1567s # 1567s # #ifdef G_ENABLE_DEBUG 1567s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1567s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1567s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1567s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1567s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1567s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1567s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1567s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1567s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1567s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1567s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1567s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1567s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1567s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1567s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1567s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1567s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1567s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1567s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1567s # #else /* !G_ENABLE_DEBUG */ 1567s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1567s # * Do not access GValues directly in your code. Instead, use the 1567s # * g_value_get_*() functions 1567s # */ 1567s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1567s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1567s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1567s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1567s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1567s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1567s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1567s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1567s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1567s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1567s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1567s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1567s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1567s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1567s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1567s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1567s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1567s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1567s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1567s # #endif /* !G_ENABLE_DEBUG */ 1567s # 1567s # typedef struct 1567s # { 1567s # GDBusArgInfo parent_struct; 1567s # gboolean use_gvariant; 1567s # } _ExtendedGDBusArgInfo; 1567s # 1567s # typedef struct 1567s # { 1567s # GDBusMethodInfo parent_struct; 1567s # const gchar *signal_name; 1567s # gboolean pass_fdlist; 1567s # } _ExtendedGDBusMethodInfo; 1567s # 1567s # typedef struct 1567s # { 1567s # GDBusSignalInfo parent_struct; 1567s # const gchar *signal_name; 1567s # } _ExtendedGDBusSignalInfo; 1567s # 1567s # typedef struct 1567s # { 1567s # GDBusPropertyInfo parent_struct; 1567s # const gchar *hyphen_name; 1567s # guint use_gvariant : 1; 1567s # guint emits_changed_signal : 1; 1567s # } _ExtendedGDBusPropertyInfo; 1567s # 1567s # typedef struct 1567s # { 1567s # GDBusInterfaceInfo parent_struct; 1567s # const gchar *hyphen_name; 1567s # } _ExtendedGDBusInterfaceInfo; 1567s # 1567s # typedef struct 1567s # { 1567s # const _ExtendedGDBusPropertyInfo *info; 1567s # guint prop_id; 1567s # GValue orig_value; /* the value before the change */ 1567s # } ChangedProperty; 1567s # 1567s # static void 1567s # _changed_property_free (ChangedProperty *data) 1567s # { 1567s # g_value_unset (&data->orig_value); 1567s # g_free (data); 1567s # } 1567s # 1567s # static gboolean 1567s # _g_strv_equal0 (gchar **a, gchar **b) 1567s # { 1567s # gboolean ret = FALSE; 1567s # guint n; 1567s # if (a == NULL && b == NULL) 1567s # { 1567s # ret = TRUE; 1567s # goto out; 1567s # } 1567s # if (a == NULL || b == NULL) 1567s # goto out; 1567s # if (g_strv_length (a) != g_strv_length (b)) 1567s # goto out; 1567s # for (n = 0; a[n] != NULL; n++) 1567s # if (g_strcmp0 (a[n], b[n]) != 0) 1567s # goto out; 1567s # ret = TRUE; 1567s # out: 1567s # return ret; 1567s # } 1567s # 1567s # static gboolean 1567s # _g_variant_equal0 (GVariant *a, GVariant *b) 1567s # { 1567s # gboolean ret = FALSE; 1567s # if (a == NULL && b == NULL) 1567s # { 1567s # ret = TRUE; 1567s # goto out; 1567s # } 1567s # if (a == NULL || b == NULL) 1567s # goto out; 1567s # ret = g_variant_equal (a, b); 1567s # out: 1567s # return ret; 1567s # } 1567s # 1567s # G_GNUC_UNUSED static gboolean 1567s # _g_value_equal (const GValue *a, const GValue *b) 1567s # { 1567s # gboolean ret = FALSE; 1567s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1567s # switch (G_VALUE_TYPE (a)) 1567s # { 1567s # case G_TYPE_BOOLEAN: 1567s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1567s # break; 1567s # case G_TYPE_UCHAR: 1567s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1567s # break; 1567s # case G_TYPE_INT: 1567s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1567s # break; 1567s # case G_TYPE_UINT: 1567s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1567s # break; 1567s # case G_TYPE_INT64: 1567s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1567s # break; 1567s # case G_TYPE_UINT64: 1567s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1567s # break; 1567s # case G_TYPE_DOUBLE: 1567s # { 1567s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1567s # gdouble da = g_value_get_double (a); 1567s # gdouble db = g_value_get_double (b); 1567s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1567s # } 1567s # break; 1567s # case G_TYPE_STRING: 1567s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1567s # break; 1567s # case G_TYPE_VARIANT: 1567s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1567s # break; 1567s # default: 1567s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1567s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1567s # else 1567s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1567s # break; 1567s # } 1567s # return ret; 1567s # } 1567s # 1567s # static void 1567s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 1567s # GClosure *closure, 1567s # GValue *return_value, 1567s # unsigned int n_param_values, 1567s # const GValue *param_values, 1567s # void *invocation_hint G_GNUC_UNUSED, 1567s # void *marshal_data) 1567s # { 1567s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 1567s # (void *data1, 1567s # GDBusMethodInvocation *arg_method_invocation, 1567s # void *data2); 1567s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 1567s # GCClosure *cc = (GCClosure*) closure; 1567s # void *data1, *data2; 1567s # gboolean v_return; 1567s # 1567s # g_return_if_fail (return_value != NULL); 1567s # g_return_if_fail (n_param_values == 2); 1567s # 1567s # if (G_CCLOSURE_SWAP_DATA (closure)) 1567s # { 1567s # data1 = closure->data; 1567s # data2 = g_value_peek_pointer (param_values + 0); 1567s # } 1567s # else 1567s # { 1567s # data1 = g_value_peek_pointer (param_values + 0); 1567s # data2 = closure->data; 1567s # } 1567s # 1567s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 1567s # (marshal_data ? marshal_data : cc->callback); 1567s # 1567s # v_return = 1567s # callback (data1, 1567s # g_marshal_value_peek_object (param_values + 1), 1567s # data2); 1567s # 1567s # g_value_set_boolean (return_value, v_return); 1567s # } 1567s # 1567s # /* ------------------------------------------------------------------------ 1567s # * Code for interface org.project.UsefulInterface 1567s # * ------------------------------------------------------------------------ 1567s # */ 1567s # 1567s # /** 1567s # * SECTION:OrgProjectUsefulInterface 1567s # * @title: OrgProjectUsefulInterface 1567s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1567s # * 1567s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1567s # */ 1567s # 1567s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1567s # 1567s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_o_OUT_ARG_arg_o = 1567s # { 1567s # { 1567s # -1, 1567s # (gchar *) "arg_o", 1567s # (gchar *) "o", 1567s # NULL 1567s # }, 1567s # FALSE 1567s # }; 1567s # 1567s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_o_OUT_ARG_pointers[] = 1567s # { 1567s # &_org_project_useful_interface_method_info_single_arg_method_o_OUT_ARG_arg_o.parent_struct, 1567s # NULL 1567s # }; 1567s # 1567s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_o = 1567s # { 1567s # { 1567s # -1, 1567s # (gchar *) "SingleArgMethodO", 1567s # NULL, 1567s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_o_OUT_ARG_pointers, 1567s # NULL 1567s # }, 1567s # "handle-single-arg-method-o", 1567s # FALSE 1567s # }; 1567s # 1567s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1567s # { 1567s # &_org_project_useful_interface_method_info_single_arg_method_o.parent_struct, 1567s # NULL 1567s # }; 1567s # 1567s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1567s # { 1567s # { 1567s # -1, 1567s # (gchar *) "org.project.UsefulInterface", 1567s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1567s # NULL, 1567s # NULL, 1567s # NULL 1567s # }, 1567s # "org-project-useful-interface", 1567s # }; 1567s # 1567s # 1567s # /** 1567s # * org_project_useful_interface_interface_info: 1567s # * 1567s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1567s # * 1567s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1567s # */ 1567s # GDBusInterfaceInfo * 1567s # org_project_useful_interface_interface_info (void) 1567s # { 1567s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1567s # } 1567s # 1567s # /** 1567s # * org_project_useful_interface_override_properties: 1567s # * @klass: The class structure for a #GObject derived class. 1567s # * @property_id_begin: The property id to assign to the first overridden property. 1567s # * 1567s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1567s # * The properties are overridden in the order they are defined. 1567s # * 1567s # * Returns: The last property id. 1567s # */ 1567s # guint 1567s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1567s # { 1567s # return property_id_begin - 1; 1567s # } 1567s # 1567s # 1567s # inline static void 1567s # org_project_useful_interface_method_marshal_single_arg_method_o ( 1567s # GClosure *closure, 1567s # GValue *return_value, 1567s # unsigned int n_param_values, 1567s # const GValue *param_values, 1567s # void *invocation_hint, 1567s # void *marshal_data) 1567s # { 1567s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1567s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1567s # } 1567s # 1567s # 1567s # /** 1567s # * OrgProjectUsefulInterface: 1567s # * 1567s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1567s # */ 1567s # 1567s # /** 1567s # * OrgProjectUsefulInterfaceIface: 1567s # * @parent_iface: The parent interface. 1567s # * @handle_single_arg_method_o: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-o signal. 1567s # * 1567s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1567s # */ 1567s # 1567s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1567s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1567s # 1567s # static void 1567s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1567s # { 1567s # /* GObject signals for incoming D-Bus method calls: */ 1567s # /** 1567s # * OrgProjectUsefulInterface::handle-single-arg-method-o: 1567s # * @object: A #OrgProjectUsefulInterface. 1567s # * @invocation: A #GDBusMethodInvocation. 1567s # * 1567s # * Signal emitted when a remote caller is invoking the SingleArgMethodO() D-Bus method. 1567s # * 1567s # * 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. 1567s # * 1567s # * 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. 1567s # */ 1567s # g_signal_new ("handle-single-arg-method-o", 1567s # G_TYPE_FROM_INTERFACE (iface), 1567s # G_SIGNAL_RUN_LAST, 1567s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_o), 1567s # g_signal_accumulator_true_handled, 1567s # NULL, 1567s # org_project_useful_interface_method_marshal_single_arg_method_o, 1567s # G_TYPE_BOOLEAN, 1567s # 1, 1567s # G_TYPE_DBUS_METHOD_INVOCATION); 1567s # 1567s # } 1567s # 1567s # /** 1567s # * org_project_useful_interface_call_single_arg_method_o: 1567s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1567s # * @cancellable: (nullable): A #GCancellable or %NULL. 1567s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1567s # * @user_data: User data to pass to @callback. 1567s # * 1567s # * Asynchronously invokes the SingleArgMethodO() D-Bus method on @proxy. 1567s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1567s # * You can then call org_project_useful_interface_call_single_arg_method_o_finish() to get the result of the operation. 1567s # * 1567s # * See org_project_useful_interface_call_single_arg_method_o_sync() for the synchronous, blocking version of this method. 1567s # */ 1567s # void 1567s # org_project_useful_interface_call_single_arg_method_o ( 1567s # OrgProjectUsefulInterface *proxy, 1567s # GCancellable *cancellable, 1567s # GAsyncReadyCallback callback, 1567s # gpointer user_data) 1567s # { 1567s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1567s # "SingleArgMethodO", 1567s # g_variant_new ("()"), 1567s # G_DBUS_CALL_FLAGS_NONE, 1567s # -1, 1567s # cancellable, 1567s # callback, 1567s # user_data); 1567s # } 1567s # 1567s # /** 1567s # * org_project_useful_interface_call_single_arg_method_o_finish: 1567s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1567s # * @out_arg_o: (out) (optional): Return location for return parameter or %NULL to ignore. 1567s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_o(). 1567s # * @error: Return location for error or %NULL. 1567s # * 1567s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_o(). 1567s # * 1567s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1567s # */ 1567s # gboolean 1567s # org_project_useful_interface_call_single_arg_method_o_finish ( 1567s # OrgProjectUsefulInterface *proxy, 1567s # gchar **out_arg_o, 1567s # GAsyncResult *res, 1567s # GError **error) 1567s # { 1567s # GVariant *_ret; 1567s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1567s # if (_ret == NULL) 1567s # goto _out; 1567s # g_variant_get (_ret, 1567s # "(o)", 1567s # out_arg_o); 1567s # g_variant_unref (_ret); 1567s # _out: 1567s # return _ret != NULL; 1567s # } 1567s # 1567s # /** 1567s # * org_project_useful_interface_call_single_arg_method_o_sync: 1567s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1567s # * @out_arg_o: (out) (optional): Return location for return parameter or %NULL to ignore. 1567s # * @cancellable: (nullable): A #GCancellable or %NULL. 1567s # * @error: Return location for error or %NULL. 1567s # * 1567s # * Synchronously invokes the SingleArgMethodO() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1567s # * 1567s # * See org_project_useful_interface_call_single_arg_method_o() for the asynchronous version of this method. 1567s # * 1567s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1567s # */ 1567s # gboolean 1567s # org_project_useful_interface_call_single_arg_method_o_sync ( 1567s # OrgProjectUsefulInterface *proxy, 1567s # gchar **out_arg_o, 1567s # GCancellable *cancellable, 1567s # GError **error) 1567s # { 1567s # GVariant *_ret; 1567s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1567s # "SingleArgMethodO", 1567s # g_variant_new ("()"), 1567s # G_DBUS_CALL_FLAGS_NONE, 1567s # -1, 1567s # cancellable, 1567s # error); 1567s # if (_ret == NULL) 1567s # goto _out; 1567s # g_variant_get (_ret, 1567s # "(o)", 1567s # out_arg_o); 1567s # g_variant_unref (_ret); 1567s # _out: 1567s # return _ret != NULL; 1567s # } 1567s # 1567s # /** 1567s # * org_project_useful_interface_complete_single_arg_method_o: 1567s # * @object: A #OrgProjectUsefulInterface. 1567s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1567s # * @arg_o: Parameter to return. 1567s # * 1567s # * 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. 1567s # * 1567s # * This method will free @invocation, you cannot use it afterwards. 1567s # */ 1567s # void 1567s # org_project_useful_interface_complete_single_arg_method_o ( 1567s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1567s # GDBusMethodInvocation *invocation, 1567s # const gchar *arg_o) 1567s # { 1567s # g_dbus_method_invocation_return_value (invocation, 1567s # g_variant_new ("(o)", 1567s # arg_o)); 1567s # } 1567s # 1567s # /* ------------------------------------------------------------------------ */ 1567s # 1567s # /** 1567s # * OrgProjectUsefulInterfaceProxy: 1567s # * 1567s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1567s # */ 1567s # 1567s # /** 1567s # * OrgProjectUsefulInterfaceProxyClass: 1567s # * @parent_class: The parent class. 1567s # * 1567s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1567s # */ 1567s # 1567s # struct _OrgProjectUsefulInterfaceProxyPrivate 1567s # { 1567s # GData *qdata; 1567s # }; 1567s # 1567s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1567s # 1567s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1567s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1567s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1567s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1567s # 1567s # #else 1567s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1567s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1567s # 1567s # #endif 1567s # static void 1567s # org_project_useful_interface_proxy_finalize (GObject *object) 1567s # { 1567s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1567s # g_datalist_clear (&proxy->priv->qdata); 1567s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1567s # } 1567s # 1567s # static void 1567s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1567s # guint prop_id G_GNUC_UNUSED, 1567s # GValue *value G_GNUC_UNUSED, 1567s # GParamSpec *pspec G_GNUC_UNUSED) 1567s # { 1567s # } 1567s # 1567s # static void 1567s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1567s # guint prop_id G_GNUC_UNUSED, 1567s # const GValue *value G_GNUC_UNUSED, 1567s # GParamSpec *pspec G_GNUC_UNUSED) 1567s # { 1567s # } 1567s # 1567s # static void 1567s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1567s # const gchar *sender_name G_GNUC_UNUSED, 1567s # const gchar *signal_name, 1567s # GVariant *parameters) 1567s # { 1567s # _ExtendedGDBusSignalInfo *info; 1567s # GVariantIter iter; 1567s # GVariant *child; 1567s # GValue *paramv; 1567s # gsize num_params; 1567s # gsize n; 1567s # guint signal_id; 1567s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1567s # if (info == NULL) 1567s # return; 1567s # num_params = g_variant_n_children (parameters); 1567s # paramv = g_new0 (GValue, num_params + 1); 1567s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1567s # g_value_set_object (¶mv[0], proxy); 1567s # g_variant_iter_init (&iter, parameters); 1567s # n = 1; 1567s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1567s # { 1567s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1567s # if (arg_info->use_gvariant) 1567s # { 1567s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1567s # g_value_set_variant (¶mv[n], child); 1567s # n++; 1567s # } 1567s # else 1567s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1567s # g_variant_unref (child); 1567s # } 1567s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1567s # g_signal_emitv (paramv, signal_id, 0, NULL); 1567s # for (n = 0; n < num_params + 1; n++) 1567s # g_value_unset (¶mv[n]); 1567s # g_free (paramv); 1567s # } 1567s # 1567s # static void 1567s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1567s # GVariant *changed_properties, 1567s # const gchar *const *invalidated_properties) 1567s # { 1567s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1567s # guint n; 1567s # const gchar *key; 1567s # GVariantIter *iter; 1567s # _ExtendedGDBusPropertyInfo *info; 1567s # g_variant_get (changed_properties, "a{sv}", &iter); 1567s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1567s # { 1567s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1567s # g_datalist_remove_data (&proxy->priv->qdata, key); 1567s # if (info != NULL) 1567s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1567s # } 1567s # g_variant_iter_free (iter); 1567s # for (n = 0; invalidated_properties[n] != NULL; n++) 1567s # { 1567s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1567s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1567s # if (info != NULL) 1567s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1567s # } 1567s # } 1567s # 1567s # static void 1567s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1567s # { 1567s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1567s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1567s # #else 1567s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1567s # #endif 1567s # 1567s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1567s # } 1567s # 1567s # static void 1567s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1567s # { 1567s # GObjectClass *gobject_class; 1567s # GDBusProxyClass *proxy_class; 1567s # 1567s # gobject_class = G_OBJECT_CLASS (klass); 1567s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1567s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1567s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1567s # 1567s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1567s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1567s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1567s # 1567s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1567s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1567s # #endif 1567s # } 1567s # 1567s # static void 1567s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1567s # { 1567s # } 1567s # 1567s # /** 1567s # * org_project_useful_interface_proxy_new: 1567s # * @connection: A #GDBusConnection. 1567s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1567s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1567s # * @object_path: An object path. 1567s # * @cancellable: (nullable): A #GCancellable or %NULL. 1567s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1567s # * @user_data: User data to pass to @callback. 1567s # * 1567s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1567s # * 1567s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1567s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1567s # * 1567s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1567s # */ 1567s # void 1567s # org_project_useful_interface_proxy_new ( 1567s # GDBusConnection *connection, 1567s # GDBusProxyFlags flags, 1567s # const gchar *name, 1567s # const gchar *object_path, 1567s # GCancellable *cancellable, 1567s # GAsyncReadyCallback callback, 1567s # gpointer user_data) 1567s # { 1567s # g_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); 1567s # } 1567s # 1567s # /** 1567s # * org_project_useful_interface_proxy_new_finish: 1567s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1567s # * @error: Return location for error or %NULL 1567s # * 1567s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1567s # * 1567s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1567s # */ 1567s # OrgProjectUsefulInterface * 1567s # org_project_useful_interface_proxy_new_finish ( 1567s # GAsyncResult *res, 1567s # GError **error) 1567s # { 1567s # GObject *ret; 1567s # GObject *source_object; 1567s # source_object = g_async_result_get_source_object (res); 1567s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1567s # g_object_unref (source_object); 1567s # if (ret != NULL) 1567s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1567s # else 1567s # return NULL; 1567s # } 1567s # 1567s # /** 1567s # * org_project_useful_interface_proxy_new_sync: 1567s # * @connection: A #GDBusConnection. 1567s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1567s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1567s # * @object_path: An object path. 1567s # * @cancellable: (nullable): A #GCancellable or %NULL. 1567s # * @error: Return location for error or %NULL 1567s # * 1567s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1567s # * 1567s # * The calling thread is blocked until a reply is received. 1567s # * 1567s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1567s # * 1567s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1567s # */ 1567s # OrgProjectUsefulInterface * 1567s # org_project_useful_interface_proxy_new_sync ( 1567s # GDBusConnection *connection, 1567s # GDBusProxyFlags flags, 1567s # const gchar *name, 1567s # const gchar *object_path, 1567s # GCancellable *cancellable, 1567s # GError **error) 1567s # { 1567s # GInitable *ret; 1567s # 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); 1567s # if (ret != NULL) 1567s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1567s # else 1567s # return NULL; 1567s # } 1567s # 1567s # 1567s # /** 1567s # * org_project_useful_interface_proxy_new_for_bus: 1567s # * @bus_type: A #GBusType. 1567s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1567s # * @name: A bus name (well-known or unique). 1567s # * @object_path: An object path. 1567s # * @cancellable: (nullable): A #GCancellable or %NULL. 1567s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1567s # * @user_data: User data to pass to @callback. 1567s # * 1567s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1567s # * 1567s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1567s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1567s # * 1567s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1567s # */ 1567s # void 1567s # org_project_useful_interface_proxy_new_for_bus ( 1567s # GBusType bus_type, 1567s # GDBusProxyFlags flags, 1567s # const gchar *name, 1567s # const gchar *object_path, 1567s # GCancellable *cancellable, 1567s # GAsyncReadyCallback callback, 1567s # gpointer user_data) 1567s # { 1567s # g_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); 1567s # } 1567s # 1567s # /** 1567s # * org_project_useful_interface_proxy_new_for_bus_finish: 1567s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1567s # * @error: Return location for error or %NULL 1567s # * 1567s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1567s # * 1567s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1567s # */ 1567s # OrgProjectUsefulInterface * 1567s # org_project_useful_interface_proxy_new_for_bus_finish ( 1567s # GAsyncResult *res, 1567s # GError **error) 1567s # { 1567s # GObject *ret; 1567s # GObject *source_object; 1567s # source_object = g_async_result_get_source_object (res); 1567s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1567s # g_object_unref (source_object); 1567s # if (ret != NULL) 1567s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1567s # else 1567s # return NULL; 1567s # } 1567s # 1567s # /** 1567s # * org_project_useful_interface_proxy_new_for_bus_sync: 1567s # * @bus_type: A #GBusType. 1567s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1567s # * @name: A bus name (well-known or unique). 1567s # * @object_path: An object path. 1567s # * @cancellable: (nullable): A #GCancellable or %NULL. 1567s # * @error: Return location for error or %NULL 1567s # * 1567s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1567s # * 1567s # * The calling thread is blocked until a reply is received. 1567s # * 1567s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1567s # * 1567s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1567s # */ 1567s # OrgProjectUsefulInterface * 1567s # org_project_useful_interface_proxy_new_for_bus_sync ( 1567s # GBusType bus_type, 1567s # GDBusProxyFlags flags, 1567s # const gchar *name, 1567s # const gchar *object_path, 1567s # GCancellable *cancellable, 1567s # GError **error) 1567s # { 1567s # GInitable *ret; 1567s # 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); 1567s # if (ret != NULL) 1567s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1567s # else 1567s # return NULL; 1567s # } 1567s # 1567s # 1567s # /* ------------------------------------------------------------------------ */ 1567s # 1567s # /** 1567s # * OrgProjectUsefulInterfaceSkeleton: 1567s # * 1567s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1567s # */ 1567s # 1567s # /** 1567s # * OrgProjectUsefulInterfaceSkeletonClass: 1567s # * @parent_class: The parent class. 1567s # * 1567s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1567s # */ 1567s # 1567s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1567s # { 1567s # GValue *properties; 1567s # GList *changed_properties; 1567s # GSource *changed_properties_idle_source; 1567s # GMainContext *context; 1567s # GMutex lock; 1567s # }; 1567s # 1567s # static void 1567s # _org_project_useful_interface_skeleton_handle_method_call ( 1567s # GDBusConnection *connection G_GNUC_UNUSED, 1567s # const gchar *sender G_GNUC_UNUSED, 1567s # const gchar *object_path G_GNUC_UNUSED, 1567s # const gchar *interface_name, 1567s # const gchar *method_name, 1567s # GVariant *parameters, 1567s # GDBusMethodInvocation *invocation, 1567s # gpointer user_data) 1567s # { 1567s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1567s # _ExtendedGDBusMethodInfo *info; 1567s # GVariantIter iter; 1567s # GVariant *child; 1567s # GValue *paramv; 1567s # gsize num_params; 1567s # guint num_extra; 1567s # gsize n; 1567s # guint signal_id; 1567s # GValue return_value = G_VALUE_INIT; 1567s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1567s # g_assert (info != NULL); 1567s # num_params = g_variant_n_children (parameters); 1567s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1567s # n = 0; 1567s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1567s # g_value_set_object (¶mv[n++], skeleton); 1567s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1567s # g_value_set_object (¶mv[n++], invocation); 1567s # if (info->pass_fdlist) 1567s # { 1567s # #ifdef G_OS_UNIX 1567s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1567s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1567s # #else 1567s # g_assert_not_reached (); 1567s # #endif 1567s # } 1567s # g_variant_iter_init (&iter, parameters); 1567s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1567s # { 1567s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1567s # if (arg_info->use_gvariant) 1567s # { 1567s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1567s # g_value_set_variant (¶mv[n], child); 1567s # n++; 1567s # } 1567s # else 1567s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1567s # g_variant_unref (child); 1567s # } 1567s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1567s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1567s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1567s # if (!g_value_get_boolean (&return_value)) 1567s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1567s # g_value_unset (&return_value); 1567s # for (n = 0; n < num_params + num_extra; n++) 1567s # g_value_unset (¶mv[n]); 1567s # g_free (paramv); 1567s # } 1567s # 1567s # static GVariant * 1567s # _org_project_useful_interface_skeleton_handle_get_property ( 1567s # GDBusConnection *connection G_GNUC_UNUSED, 1567s # const gchar *sender G_GNUC_UNUSED, 1567s # const gchar *object_path G_GNUC_UNUSED, 1567s # const gchar *interface_name G_GNUC_UNUSED, 1567s # const gchar *property_name, 1567s # GError **error, 1567s # gpointer user_data) 1567s # { 1567s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1567s # GValue value = G_VALUE_INIT; 1567s # GParamSpec *pspec; 1567s # _ExtendedGDBusPropertyInfo *info; 1567s # GVariant *ret; 1567s # ret = NULL; 1567s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1567s # g_assert (info != NULL); 1567s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1567s # if (pspec == NULL) 1567s # { 1567s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1567s # } 1567s # else 1567s # { 1567s # g_value_init (&value, pspec->value_type); 1567s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1567s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1567s # g_value_unset (&value); 1567s # } 1567s # return ret; 1567s # } 1567s # 1567s # static gboolean 1567s # _org_project_useful_interface_skeleton_handle_set_property ( 1567s # GDBusConnection *connection G_GNUC_UNUSED, 1567s # const gchar *sender G_GNUC_UNUSED, 1567s # const gchar *object_path G_GNUC_UNUSED, 1567s # const gchar *interface_name G_GNUC_UNUSED, 1567s # const gchar *property_name, 1567s # GVariant *variant, 1567s # GError **error, 1567s # gpointer user_data) 1567s # { 1567s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1567s # GValue value = G_VALUE_INIT; 1567s # GParamSpec *pspec; 1567s # _ExtendedGDBusPropertyInfo *info; 1567s # gboolean ret; 1567s # ret = FALSE; 1567s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1567s # g_assert (info != NULL); 1567s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1567s # if (pspec == NULL) 1567s # { 1567s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1567s # } 1567s # else 1567s # { 1567s # if (info->use_gvariant) 1567s # g_value_set_variant (&value, variant); 1567s # else 1567s # g_dbus_gvariant_to_gvalue (variant, &value); 1567s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1567s # g_value_unset (&value); 1567s # ret = TRUE; 1567s # } 1567s # return ret; 1567s # } 1567s # 1567s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1567s # { 1567s # _org_project_useful_interface_skeleton_handle_method_call, 1567s # _org_project_useful_interface_skeleton_handle_get_property, 1567s # _org_project_useful_interface_skeleton_handle_set_property, 1567s # {NULL} 1567s # }; 1567s # 1567s # static GDBusInterfaceInfo * 1567s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1567s # { 1567s # return org_project_useful_interface_interface_info (); 1567s # } 1567s # 1567s # static GDBusInterfaceVTable * 1567s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1567s # { 1567s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1567s # } 1567s # 1567s # static GVariant * 1567s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1567s # { 1567s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1567s # 1567s # GVariantBuilder builder; 1567s # guint n; 1567s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1567s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1567s # goto out; 1567s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1567s # { 1567s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1567s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1567s # { 1567s # GVariant *value; 1567s # 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); 1567s # if (value != NULL) 1567s # { 1567s # g_variant_take_ref (value); 1567s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1567s # g_variant_unref (value); 1567s # } 1567s # } 1567s # } 1567s # out: 1567s # return g_variant_builder_end (&builder); 1567s # } 1567s # 1567s # static void 1567s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1567s # { 1567s # } 1567s # 1567s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1567s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1567s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1567s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1567s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1567s # 1567s # #else 1567s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1567s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1567s # 1567s # #endif 1567s # static void 1567s # org_project_useful_interface_skeleton_finalize (GObject *object) 1567s # { 1567s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1567s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1567s # if (skeleton->priv->changed_properties_idle_source != NULL) 1567s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1567s # g_main_context_unref (skeleton->priv->context); 1567s # g_mutex_clear (&skeleton->priv->lock); 1567s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1567s # } 1567s # 1567s # static void 1567s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1567s # { 1567s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1567s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1567s # #else 1567s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1567s # #endif 1567s # 1567s # g_mutex_init (&skeleton->priv->lock); 1567s # skeleton->priv->context = g_main_context_ref_thread_default (); 1567s # } 1567s # 1567s # static void 1567s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1567s # { 1567s # GObjectClass *gobject_class; 1567s # GDBusInterfaceSkeletonClass *skeleton_class; 1567s # 1567s # gobject_class = G_OBJECT_CLASS (klass); 1567s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1567s # 1567s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1567s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1567s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1567s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1567s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1567s # 1567s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1567s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1567s # #endif 1567s # } 1567s # 1567s # static void 1567s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1567s # { 1567s # } 1567s # 1567s # /** 1567s # * org_project_useful_interface_skeleton_new: 1567s # * 1567s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1567s # * 1567s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1567s # */ 1567s # OrgProjectUsefulInterface * 1567s # org_project_useful_interface_skeleton_new (void) 1567s # { 1567s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1567s # } 1567s # /tmp/tmp6r0268hb/tmpf7hyla26.xml: 1567s # 1567s # 1567s # 1567s # 1567s # 1567s # 1567s # 1567s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp6r0268hb/tmpf7hyla26.xml', '--output', '-', '--body'] 1567s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-baqskmurxn,guid=fbaffe99d0ccb1f6e1beb84865fc01cd', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.YcZbqk/autopkgtest_tmp', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.YcZbqk/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.YcZbqk/autopkgtest_tmp', 'TERM': 'unknown', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.YcZbqk/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.sVTVMp0Db0', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.rqZsJO/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.YcZbqk/wrapper.sh --artifacts=/tmp/autopkgtest.YcZbqk/installed-tests-artifacts --chdir=/tmp/autopkgtest.YcZbqk/build.S0E/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.YcZbqk/installed-tests-stderr --stdout=/tmp/autopkgtest.YcZbqk/installed-tests-stdout --tmp=/tmp/autopkgtest.YcZbqk/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2' --make-executable=/tmp/autopkgtest.YcZbqk/build.S0E/src/debian/tests/installed-tests -- /tmp/autopkgtest.YcZbqk/build.S0E/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.YcZbqk/build.S0E/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.YcZbqk/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1567s # Output: /* 1567s # * This file is generated by gdbus-codegen, do not modify it. 1567s # * 1567s # * The license of this code is the same as for the D-Bus interface description 1567s # * it was derived from. Note that it links to GLib, so must comply with the 1567s # * LGPL linking clauses. 1567s # */ 1567s # 1567s # #ifdef HAVE_CONFIG_H 1567s # # include "config.h" 1567s # #endif 1567s # 1567s # #include 1567s # #ifdef G_OS_UNIX 1567s # # include 1567s # #endif 1567s # 1567s # #ifdef G_ENABLE_DEBUG 1567s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1567s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1567s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1567s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1567s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1567s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1567s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1567s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1567s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1567s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1567s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1567s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1567s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1567s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1567s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1567s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1567s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1567s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1567s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1567s # #else /* !G_ENABLE_DEBUG */ 1567s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1567s # * Do not access GValues directly in your code. Instead, use the 1567s # * g_value_get_*() functions 1567s # */ 1567s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1567s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1567s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1567s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1567s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1567s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1567s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1567s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1567s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1567s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1567s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1567s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1567s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1567s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1567s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1567s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1567s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1567s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1567s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1567s # #endif /* !G_ENABLE_DEBUG */ 1567s # 1567s # typedef struct 1567s # { 1567s # GDBusArgInfo parent_struct; 1567s # gboolean use_gvariant; 1567s # } _ExtendedGDBusArgInfo; 1567s # 1567s # typedef struct 1567s # { 1567s # GDBusMethodInfo parent_struct; 1567s # const gchar *signal_name; 1567s # gboolean pass_fdlist; 1567s # } _ExtendedGDBusMethodInfo; 1567s # 1567s # typedef struct 1567s # { 1567s # GDBusSignalInfo parent_struct; 1567s # const gchar *signal_name; 1567s # } _ExtendedGDBusSignalInfo; 1567s # 1567s # typedef struct 1567s # { 1567s # GDBusPropertyInfo parent_struct; 1567s # const gchar *hyphen_name; 1567s # guint use_gvariant : 1; 1567s # guint emits_changed_signal : 1; 1567s # } _ExtendedGDBusPropertyInfo; 1567s # 1567s # typedef struct 1567s # { 1567s # GDBusInterfaceInfo parent_struct; 1567s # const gchar *hyphen_name; 1567s # } _ExtendedGDBusInterfaceInfo; 1567s # 1567s # typedef struct 1567s # { 1567s # const _ExtendedGDBusPropertyInfo *info; 1567s # guint prop_id; 1567s # GValue orig_value; /* the value before the change */ 1567s # } ChangedProperty; 1567s # 1567s # static void 1567s # _changed_property_free (ChangedProperty *data) 1567s # { 1567s # g_value_unset (&data->orig_value); 1567s # g_free (data); 1567s # } 1567s # 1567s # static gboolean 1567s # _g_strv_equal0 (gchar **a, gchar **b) 1567s # { 1567s # gboolean ret = FALSE; 1567s # guint n; 1567s # if (a == NULL && b == NULL) 1567s # { 1567s # ret = TRUE; 1567s # goto out; 1567s # } 1567s # if (a == NULL || b == NULL) 1567s # goto out; 1567s # if (g_strv_length (a) != g_strv_length (b)) 1567s # goto out; 1567s # for (n = 0; a[n] != NULL; n++) 1567s # if (g_strcmp0 (a[n], b[n]) != 0) 1567s # goto out; 1567s # ret = TRUE; 1567s # out: 1567s # return ret; 1567s # } 1567s # 1567s # static gboolean 1567s # _g_variant_equal0 (GVariant *a, GVariant *b) 1567s # { 1567s # gboolean ret = FALSE; 1567s # if (a == NULL && b == NULL) 1567s # { 1567s # ret = TRUE; 1567s # goto out; 1567s # } 1567s # if (a == NULL || b == NULL) 1567s # goto out; 1567s # ret = g_variant_equal (a, b); 1567s # out: 1567s # return ret; 1567s # } 1567s # 1567s # G_GNUC_UNUSED static gboolean 1567s # _g_value_equal (const GValue *a, const GValue *b) 1567s # { 1567s # gboolean ret = FALSE; 1567s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1567s # switch (G_VALUE_TYPE (a)) 1567s # { 1567s # case G_TYPE_BOOLEAN: 1567s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1567s # break; 1567s # case G_TYPE_UCHAR: 1567s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1567s # break; 1567s # case G_TYPE_INT: 1567s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1567s # break; 1567s # case G_TYPE_UINT: 1567s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1567s # break; 1567s # case G_TYPE_INT64: 1567s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1567s # break; 1567s # case G_TYPE_UINT64: 1567s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1567s # break; 1567s # case G_TYPE_DOUBLE: 1567s # { 1567s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1567s # gdouble da = g_value_get_double (a); 1567s # gdouble db = g_value_get_double (b); 1567s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1567s # } 1567s # break; 1567s # case G_TYPE_STRING: 1567s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1567s # break; 1567s # case G_TYPE_VARIANT: 1567s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1567s # break; 1567s # default: 1567s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1567s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1567s # else 1567s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1567s # break; 1567s # } 1567s # return ret; 1567s # } 1567s # 1567s # static void 1567s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 1567s # GClosure *closure, 1567s # GValue *return_value, 1567s # unsigned int n_param_values, 1567s # const GValue *param_values, 1567s # void *invocation_hint G_GNUC_UNUSED, 1567s # void *marshal_data) 1567s # { 1567s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 1567s # (void *data1, 1567s # GDBusMethodInvocation *arg_method_invocation, 1567s # void *data2); 1567s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 1567s # GCClosure *cc = (GCClosure*) closure; 1567s # void *data1, *data2; 1567s # gboolean v_return; 1567s # 1567s # g_return_if_fail (return_value != NULL); 1567s # g_return_if_fail (n_param_values == 2); 1567s # 1567s # if (G_CCLOSURE_SWAP_DATA (closure)) 1567s # { 1567s # data1 = closure->data; 1567s # data2 = g_value_peek_pointer (param_values + 0); 1567s # } 1567s # else 1567s # { 1567s # data1 = g_value_peek_pointer (param_values + 0); 1567s # data2 = closure->data; 1567s # } 1567s # 1567s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 1567s # (marshal_data ? marshal_data : cc->callback); 1567s # 1567s # v_return = 1567s # callback (data1, 1567s # g_marshal_value_peek_object (param_values + 1), 1567s # data2); 1567s # 1567s # g_value_set_boolean (return_value, v_return); 1567s # } 1567s # 1567s # /* ------------------------------------------------------------------------ 1567s # * Code for interface org.project.UsefulInterface 1567s # * ------------------------------------------------------------------------ 1567s # */ 1567s # 1567s # /** 1567s # * SECTION:OrgProjectUsefulInterface 1567s # * @title: OrgProjectUsefulInterface 1567s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1567s # * 1567s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1567s # */ 1567s # 1567s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1567s # 1567s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_g_OUT_ARG_arg_g = 1567s # { 1567s # { 1567s # -1, 1567s # (gchar *) "arg_g", 1567s # (gchar *) "g", 1567s # NULL 1567s # }, 1567s # FALSE 1567s # }; 1567s # 1567s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_g_OUT_ARG_pointers[] = 1567s # { 1567s # &_org_project_useful_interface_method_info_single_arg_method_g_OUT_ARG_arg_g.parent_struct, 1567s # NULL 1567s # }; 1567s # 1567s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_g = 1567s # { 1567s # { 1567s # -1, 1567s # (gchar *) "SingleArgMethodG", 1567s # NULL, 1567s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_g_OUT_ARG_pointers, 1567s # NULL 1567s # }, 1567s # "handle-single-arg-method-g", 1567s # FALSE 1567s # }; 1567s # 1567s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1567s # { 1567s # &_org_project_useful_interface_method_info_single_arg_method_g.parent_struct, 1567s # NULL 1567s # }; 1567s # 1567s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1567s # { 1567s # { 1567s # -1, 1567s # (gchar *) "org.project.UsefulInterface", 1567s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1567s # NULL, 1567s # NULL, 1567s # NULL 1567s # }, 1567s # "org-project-useful-interface", 1567s # }; 1567s # 1567s # 1567s # /** 1567s # * org_project_useful_interface_interface_info: 1567s # * 1567s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1567s # * 1567s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1567s # */ 1567s # GDBusInterfaceInfo * 1567s # org_project_useful_interface_interface_info (void) 1567s # { 1567s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1567s # } 1567s # 1567s # /** 1567s # * org_project_useful_interface_override_properties: 1567s # * @klass: The class structure for a #GObject derived class. 1567s # * @property_id_begin: The property id to assign to the first overridden property. 1567s # * 1567s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1567s # * The properties are overridden in the order they are defined. 1567s # * 1567s # * Returns: The last property id. 1567s # */ 1567s # guint 1567s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1567s # { 1567s # return property_id_begin - 1; 1567s # } 1567s # 1567s # 1567s # inline static void 1567s # org_project_useful_interface_method_marshal_single_arg_method_g ( 1567s # GClosure *closure, 1567s # GValue *return_value, 1567s # unsigned int n_param_values, 1567s # const GValue *param_values, 1567s # void *invocation_hint, 1567s # void *marshal_data) 1567s # { 1567s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1567s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1567s # } 1567s # 1567s # 1567s # /** 1567s # * OrgProjectUsefulInterface: 1567s # * 1567s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1567s # */ 1567s # 1567s # /** 1567s # * OrgProjectUsefulInterfaceIface: 1567s # * @parent_iface: The parent interface. 1567s # * @handle_single_arg_method_g: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-g signal. 1567s # * 1567s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1567s # */ 1567s # 1567s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1567s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1567s # 1567s # static void 1567s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1567s # { 1567s # /* GObject signals for incoming D-Bus method calls: */ 1567s # /** 1567s # * OrgProjectUsefulInterface::handle-single-arg-method-g: 1567s # * @object: A #OrgProjectUsefulInterface. 1567s # * @invocation: A #GDBusMethodInvocation. 1567s # * 1567s # * Signal emitted when a remote caller is invoking the SingleArgMethodG() D-Bus method. 1567s # * 1567s # * 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. 1567s # * 1567s # * 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. 1567s # */ 1567s # g_signal_new ("handle-single-arg-method-g", 1567s # G_TYPE_FROM_INTERFACE (iface), 1567s # G_SIGNAL_RUN_LAST, 1567s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_g), 1567s # g_signal_accumulator_true_handled, 1567s # NULL, 1567s # org_project_useful_interface_method_marshal_single_arg_method_g, 1567s # G_TYPE_BOOLEAN, 1567s # 1, 1567s # G_TYPE_DBUS_METHOD_INVOCATION); 1567s # 1567s # } 1567s # 1567s # /** 1567s # * org_project_useful_interface_call_single_arg_method_g: 1567s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1567s # * @cancellable: (nullable): A #GCancellable or %NULL. 1567s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1567s # * @user_data: User data to pass to @callback. 1567s # * 1567s # * Asynchronously invokes the SingleArgMethodG() D-Bus method on @proxy. 1567s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1567s # * You can then call org_project_useful_interface_call_single_arg_method_g_finish() to get the result of the operation. 1567s # * 1567s # * See org_project_useful_interface_call_single_arg_method_g_sync() for the synchronous, blocking version of this method. 1567s # */ 1567s # void 1567s # org_project_useful_interface_call_single_arg_method_g ( 1567s # OrgProjectUsefulInterface *proxy, 1567s # GCancellable *cancellable, 1567s # GAsyncReadyCallback callback, 1567s # gpointer user_data) 1567s # { 1567s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1567s # "SingleArgMethodG", 1567s # g_variant_new ("()"), 1567s # G_DBUS_CALL_FLAGS_NONE, 1567s # -1, 1567s # cancellable, 1567s # callback, 1567s # user_data); 1567s # } 1567s # 1567s # /** 1567s # * org_project_useful_interface_call_single_arg_method_g_finish: 1567s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1567s # * @out_arg_g: (out) (optional): Return location for return parameter or %NULL to ignore. 1567s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_g(). 1567s # * @error: Return location for error or %NULL. 1567s # * 1567s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_g(). 1567s # * 1567s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1567s # */ 1567s # gboolean 1567s # org_project_useful_interface_call_single_arg_method_g_finish ( 1567s # OrgProjectUsefulInterface *proxy, 1567s # gchar **out_arg_g, 1567s # GAsyncResult *res, 1567s # GError **error) 1567s # { 1567s # GVariant *_ret; 1567s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1567s # if (_ret == NULL) 1567s # goto _out; 1567s # g_variant_get (_ret, 1567s # "(g)", 1567s # out_arg_g); 1567s # g_variant_unref (_ret); 1567s # _out: 1567s # return _ret != NULL; 1567s # } 1567s # 1567s # /** 1567s # * org_project_useful_interface_call_single_arg_method_g_sync: 1567s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1567s # * @out_arg_g: (out) (optional): Return location for return parameter or %NULL to ignore. 1567s # * @cancellable: (nullable): A #GCancellable or %NULL. 1567s # * @error: Return location for error or %NULL. 1567s # * 1567s # * Synchronously invokes the SingleArgMethodG() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1567s # * 1567s # * See org_project_useful_interface_call_single_arg_method_g() for the asynchronous version of this method. 1567s # * 1567s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1567s # */ 1567s # gboolean 1567s # org_project_useful_interface_call_single_arg_method_g_sync ( 1567s # OrgProjectUsefulInterface *proxy, 1567s # gchar **out_arg_g, 1567s # GCancellable *cancellable, 1567s # GError **error) 1567s # { 1567s # GVariant *_ret; 1567s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1567s # "SingleArgMethodG", 1567s # g_variant_new ("()"), 1567s # G_DBUS_CALL_FLAGS_NONE, 1567s # -1, 1567s # cancellable, 1567s # error); 1567s # if (_ret == NULL) 1567s # goto _out; 1567s # g_variant_get (_ret, 1567s # "(g)", 1567s # out_arg_g); 1567s # g_variant_unref (_ret); 1567s # _out: 1567s # return _ret != NULL; 1567s # } 1567s # 1567s # /** 1567s # * org_project_useful_interface_complete_single_arg_method_g: 1567s # * @object: A #OrgProjectUsefulInterface. 1567s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1567s # * @arg_g: Parameter to return. 1567s # * 1567s # * 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. 1567s # * 1567s # * This method will free @invocation, you cannot use it afterwards. 1567s # */ 1567s # void 1567s # org_project_useful_interface_complete_single_arg_method_g ( 1567s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1567s # GDBusMethodInvocation *invocation, 1567s # const gchar *arg_g) 1567s # { 1567s # g_dbus_method_invocation_return_value (invocation, 1567s # g_variant_new ("(g)", 1567s # arg_g)); 1567s # } 1567s # 1567s # /* ------------------------------------------------------------------------ */ 1567s # 1567s # /** 1567s # * OrgProjectUsefulInterfaceProxy: 1567s # * 1567s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1567s # */ 1567s # 1567s # /** 1567s # * OrgProjectUsefulInterfaceProxyClass: 1567s # * @parent_class: The parent class. 1567s # * 1567s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1567s # */ 1567s # 1567s # struct _OrgProjectUsefulInterfaceProxyPrivate 1567s # { 1567s # GData *qdata; 1567s # }; 1567s # 1567s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1567s # 1567s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1567s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1567s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1567s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1567s # 1567s # #else 1567s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1567s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1567s # 1567s # #endif 1567s # static void 1567s # org_project_useful_interface_proxy_finalize (GObject *object) 1567s # { 1567s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1567s # g_datalist_clear (&proxy->priv->qdata); 1567s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1567s # } 1567s # 1567s # static void 1567s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1567s # guint prop_id G_GNUC_UNUSED, 1567s # GValue *value G_GNUC_UNUSED, 1567s # GParamSpec *pspec G_GNUC_UNUSED) 1567s # { 1567s # } 1567s # 1567s # static void 1567s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1567s # guint prop_id G_GNUC_UNUSED, 1567s # const GValue *value G_GNUC_UNUSED, 1567s # GParamSpec *pspec G_GNUC_UNUSED) 1567s # { 1567s # } 1567s # 1567s # static void 1567s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1567s # const gchar *sender_name G_GNUC_UNUSED, 1567s # const gchar *signal_name, 1567s # GVariant *parameters) 1567s # { 1567s # _ExtendedGDBusSignalInfo *info; 1567s # GVariantIter iter; 1567s # GVariant *child; 1567s # GValue *paramv; 1567s # gsize num_params; 1567s # gsize n; 1567s # guint signal_id; 1567s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1567s # if (info == NULL) 1567s # return; 1567s # num_params = g_variant_n_children (parameters); 1567s # paramv = g_new0 (GValue, num_params + 1); 1567s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1567s # g_value_set_object (¶mv[0], proxy); 1567s # g_variant_iter_init (&iter, parameters); 1567s # n = 1; 1567s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1567s # { 1567s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1567s # if (arg_info->use_gvariant) 1567s # { 1567s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1567s # g_value_set_variant (¶mv[n], child); 1567s # n++; 1567s # } 1567s # else 1567s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1567s # g_variant_unref (child); 1567s # } 1567s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1567s # g_signal_emitv (paramv, signal_id, 0, NULL); 1567s # for (n = 0; n < num_params + 1; n++) 1567s # g_value_unset (¶mv[n]); 1567s # g_free (paramv); 1567s # } 1567s # 1567s # static void 1567s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1567s # GVariant *changed_properties, 1567s # const gchar *const *invalidated_properties) 1567s # { 1567s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1567s # guint n; 1567s # const gchar *key; 1567s # GVariantIter *iter; 1567s # _ExtendedGDBusPropertyInfo *info; 1567s # g_variant_get (changed_properties, "a{sv}", &iter); 1567s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1567s # { 1567s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1567s # g_datalist_remove_data (&proxy->priv->qdata, key); 1567s # if (info != NULL) 1567s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1567s # } 1567s # g_variant_iter_free (iter); 1567s # for (n = 0; invalidated_properties[n] != NULL; n++) 1567s # { 1567s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1567s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1567s # if (info != NULL) 1567s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1567s # } 1567s # } 1567s # 1567s # static void 1567s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1567s # { 1567s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1567s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1567s # #else 1567s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1567s # #endif 1567s # 1567s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1567s # } 1567s # 1567s # static void 1567s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1567s # { 1567s # GObjectClass *gobject_class; 1567s # GDBusProxyClass *proxy_class; 1567s # 1567s # gobject_class = G_OBJECT_CLASS (klass); 1567s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1567s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1567s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1567s # 1567s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1567s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1567s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1567s # 1567s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1567s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1567s # #endif 1567s # } 1567s # 1567s # static void 1567s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1567s # { 1567s # } 1567s # 1567s # /** 1567s # * org_project_useful_interface_proxy_new: 1567s # * @connection: A #GDBusConnection. 1567s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1567s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1567s # * @object_path: An object path. 1567s # * @cancellable: (nullable): A #GCancellable or %NULL. 1567s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1567s # * @user_data: User data to pass to @callback. 1567s # * 1567s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1567s # * 1567s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1567s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1567s # * 1567s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1567s # */ 1567s # void 1567s # org_project_useful_interface_proxy_new ( 1567s # GDBusConnection *connection, 1567s # GDBusProxyFlags flags, 1567s # const gchar *name, 1567s # const gchar *object_path, 1567s # GCancellable *cancellable, 1567s # GAsyncReadyCallback callback, 1567s # gpointer user_data) 1567s # { 1567s # g_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); 1567s # } 1567s # 1567s # /** 1567s # * org_project_useful_interface_proxy_new_finish: 1567s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1567s # * @error: Return location for error or %NULL 1567s # * 1567s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1567s # * 1567s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1567s # */ 1567s # OrgProjectUsefulInterface * 1567s # org_project_useful_interface_proxy_new_finish ( 1567s # GAsyncResult *res, 1567s # GError **error) 1567s # { 1567s # GObject *ret; 1567s # GObject *source_object; 1567s # source_object = g_async_result_get_source_object (res); 1567s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1567s # g_object_unref (source_object); 1567s # if (ret != NULL) 1567s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1567s # else 1567s # return NULL; 1567s # } 1567s # 1567s # /** 1567s # * org_project_useful_interface_proxy_new_sync: 1567s # * @connection: A #GDBusConnection. 1567s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1567s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1567s # * @object_path: An object path. 1567s # * @cancellable: (nullable): A #GCancellable or %NULL. 1567s # * @error: Return location for error or %NULL 1567s # * 1567s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1567s # * 1567s # * The calling thread is blocked until a reply is received. 1567s # * 1567s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1567s # * 1567s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1567s # */ 1567s # OrgProjectUsefulInterface * 1567s # org_project_useful_interface_proxy_new_sync ( 1567s # GDBusConnection *connection, 1567s # GDBusProxyFlags flags, 1567s # const gchar *name, 1567s # const gchar *object_path, 1567s # GCancellable *cancellable, 1567s # GError **error) 1567s # { 1567s # GInitable *ret; 1567s # 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); 1567s # if (ret != NULL) 1567s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1567s # else 1567s # return NULL; 1567s # } 1567s # 1567s # 1567s # /** 1567s # * org_project_useful_interface_proxy_new_for_bus: 1567s # * @bus_type: A #GBusType. 1567s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1567s # * @name: A bus name (well-known or unique). 1567s # * @object_path: An object path. 1567s # * @cancellable: (nullable): A #GCancellable or %NULL. 1567s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1567s # * @user_data: User data to pass to @callback. 1567s # * 1567s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1567s # * 1567s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1567s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1567s # * 1567s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1567s # */ 1567s # void 1567s # org_project_useful_interface_proxy_new_for_bus ( 1567s # GBusType bus_type, 1567s # GDBusProxyFlags flags, 1567s # const gchar *name, 1567s # const gchar *object_path, 1567s # GCancellable *cancellable, 1567s # GAsyncReadyCallback callback, 1567s # gpointer user_data) 1567s # { 1567s # g_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); 1567s # } 1567s # 1567s # /** 1567s # * org_project_useful_interface_proxy_new_for_bus_finish: 1567s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1567s # * @error: Return location for error or %NULL 1567s # * 1567s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1567s # * 1567s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1567s # */ 1567s # OrgProjectUsefulInterface * 1567s # org_project_useful_interface_proxy_new_for_bus_finish ( 1567s # GAsyncResult *res, 1567s # GError **error) 1567s # { 1567s # GObject *ret; 1567s # GObject *source_object; 1567s # source_object = g_async_result_get_source_object (res); 1567s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1567s # g_object_unref (source_object); 1567s # if (ret != NULL) 1567s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1567s # else 1567s # return NULL; 1567s # } 1567s # 1567s # /** 1567s # * org_project_useful_interface_proxy_new_for_bus_sync: 1567s # * @bus_type: A #GBusType. 1567s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1567s # * @name: A bus name (well-known or unique). 1567s # * @object_path: An object path. 1567s # * @cancellable: (nullable): A #GCancellable or %NULL. 1567s # * @error: Return location for error or %NULL 1567s # * 1567s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1567s # * 1567s # * The calling thread is blocked until a reply is received. 1567s # * 1567s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1567s # * 1567s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1567s # */ 1567s # OrgProjectUsefulInterface * 1567s # org_project_useful_interface_proxy_new_for_bus_sync ( 1567s # GBusType bus_type, 1567s # GDBusProxyFlags flags, 1567s # const gchar *name, 1567s # const gchar *object_path, 1567s # GCancellable *cancellable, 1567s # GError **error) 1567s # { 1567s # GInitable *ret; 1567s # 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); 1567s # if (ret != NULL) 1567s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1567s # else 1567s # return NULL; 1567s # } 1567s # 1567s # 1567s # /* ------------------------------------------------------------------------ */ 1567s # 1567s # /** 1567s # * OrgProjectUsefulInterfaceSkeleton: 1567s # * 1567s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1567s # */ 1567s # 1567s # /** 1567s # * OrgProjectUsefulInterfaceSkeletonClass: 1567s # * @parent_class: The parent class. 1567s # * 1567s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1567s # */ 1567s # 1567s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1567s # { 1567s # GValue *properties; 1567s # GList *changed_properties; 1567s # GSource *changed_properties_idle_source; 1567s # GMainContext *context; 1567s # GMutex lock; 1567s # }; 1567s # 1567s # static void 1567s # _org_project_useful_interface_skeleton_handle_method_call ( 1567s # GDBusConnection *connection G_GNUC_UNUSED, 1567s # const gchar *sender G_GNUC_UNUSED, 1567s # const gchar *object_path G_GNUC_UNUSED, 1567s # const gchar *interface_name, 1567s # const gchar *method_name, 1567s # GVariant *parameters, 1567s # GDBusMethodInvocation *invocation, 1567s # gpointer user_data) 1567s # { 1567s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1567s # _ExtendedGDBusMethodInfo *info; 1567s # GVariantIter iter; 1567s # GVariant *child; 1567s # GValue *paramv; 1567s # gsize num_params; 1567s # guint num_extra; 1567s # gsize n; 1567s # guint signal_id; 1567s # GValue return_value = G_VALUE_INIT; 1567s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1567s # g_assert (info != NULL); 1567s # num_params = g_variant_n_children (parameters); 1567s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1567s # n = 0; 1567s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1567s # g_value_set_object (¶mv[n++], skeleton); 1567s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1567s # g_value_set_object (¶mv[n++], invocation); 1567s # if (info->pass_fdlist) 1567s # { 1567s # #ifdef G_OS_UNIX 1567s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1567s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1567s # #else 1567s # g_assert_not_reached (); 1567s # #endif 1567s # } 1567s # g_variant_iter_init (&iter, parameters); 1567s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1567s # { 1567s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1567s # if (arg_info->use_gvariant) 1567s # { 1567s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1567s # g_value_set_variant (¶mv[n], child); 1567s # n++; 1567s # } 1567s # else 1567s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1567s # g_variant_unref (child); 1567s # } 1567s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1567s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1567s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1567s # if (!g_value_get_boolean (&return_value)) 1567s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1567s # g_value_unset (&return_value); 1567s # for (n = 0; n < num_params + num_extra; n++) 1567s # g_value_unset (¶mv[n]); 1567s # g_free (paramv); 1567s # } 1567s # 1567s # static GVariant * 1567s # _org_project_useful_interface_skeleton_handle_get_property ( 1567s # GDBusConnection *connection G_GNUC_UNUSED, 1567s # const gchar *sender G_GNUC_UNUSED, 1567s # const gchar *object_path G_GNUC_UNUSED, 1567s # const gchar *interface_name G_GNUC_UNUSED, 1567s # const gchar *property_name, 1567s # GError **error, 1567s # gpointer user_data) 1567s # { 1567s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1567s # GValue value = G_VALUE_INIT; 1567s # GParamSpec *pspec; 1567s # _ExtendedGDBusPropertyInfo *info; 1567s # GVariant *ret; 1567s # ret = NULL; 1567s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1567s # g_assert (info != NULL); 1567s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1567s # if (pspec == NULL) 1567s # { 1567s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1567s # } 1567s # else 1567s # { 1567s # g_value_init (&value, pspec->value_type); 1567s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1567s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1567s # g_value_unset (&value); 1567s # } 1567s # return ret; 1567s # } 1567s # 1567s # static gboolean 1567s # _org_project_useful_interface_skeleton_handle_set_property ( 1567s # GDBusConnection *connection G_GNUC_UNUSED, 1567s # const gchar *sender G_GNUC_UNUSED, 1567s # const gchar *object_path G_GNUC_UNUSED, 1567s # const gchar *interface_name G_GNUC_UNUSED, 1567s # const gchar *property_name, 1567s # GVariant *variant, 1567s # GError **error, 1567s # gpointer user_data) 1567s # { 1567s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1567s # GValue value = G_VALUE_INIT; 1567s # GParamSpec *pspec; 1567s # _ExtendedGDBusPropertyInfo *info; 1567s # gboolean ret; 1567s # ret = FALSE; 1567s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1567s # g_assert (info != NULL); 1567s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1567s # if (pspec == NULL) 1567s # { 1567s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1567s # } 1567s # else 1567s # { 1567s # if (info->use_gvariant) 1567s # g_value_set_variant (&value, variant); 1567s # else 1567s # g_dbus_gvariant_to_gvalue (variant, &value); 1567s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1567s # g_value_unset (&value); 1567s # ret = TRUE; 1567s # } 1567s # return ret; 1567s # } 1567s # 1567s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1567s # { 1567s # _org_project_useful_interface_skeleton_handle_method_call, 1567s # _org_project_useful_interface_skeleton_handle_get_property, 1567s # _org_project_useful_interface_skeleton_handle_set_property, 1567s # {NULL} 1567s # }; 1567s # 1567s # static GDBusInterfaceInfo * 1567s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1567s # { 1567s # return org_project_useful_interface_interface_info (); 1567s # } 1567s # 1567s # static GDBusInterfaceVTable * 1567s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1567s # { 1567s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1567s # } 1567s # 1567s # static GVariant * 1567s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1567s # { 1567s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1567s # 1567s # GVariantBuilder builder; 1567s # guint n; 1567s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1567s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1567s # goto out; 1567s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1567s # { 1567s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1567s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1567s # { 1567s # GVariant *value; 1567s # 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); 1567s # if (value != NULL) 1567s # { 1567s # g_variant_take_ref (value); 1567s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1567s # g_variant_unref (value); 1567s # } 1567s # } 1567s # } 1567s # out: 1567s # return g_variant_builder_end (&builder); 1567s # } 1567s # 1567s # static void 1567s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1567s # { 1567s # } 1567s # 1567s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1567s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1567s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1567s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1567s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1567s # 1567s # #else 1567s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1567s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1567s # 1567s # #endif 1567s # static void 1567s # org_project_useful_interface_skeleton_finalize (GObject *object) 1567s # { 1567s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1567s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1567s # if (skeleton->priv->changed_properties_idle_source != NULL) 1567s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1567s # g_main_context_unref (skeleton->priv->context); 1567s # g_mutex_clear (&skeleton->priv->lock); 1567s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1567s # } 1567s # 1567s # static void 1567s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1567s # { 1567s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1567s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1567s # #else 1567s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1567s # #endif 1567s # 1567s # g_mutex_init (&skeleton->priv->lock); 1567s # skeleton->priv->context = g_main_context_ref_thread_default (); 1567s # } 1567s # 1567s # static void 1567s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1567s # { 1567s # GObjectClass *gobject_class; 1567s # GDBusInterfaceSkeletonClass *skeleton_class; 1567s # 1567s # gobject_class = G_OBJECT_CLASS (klass); 1567s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1567s # 1567s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1567s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1567s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1567s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1567s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1567s # 1567s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1567s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1567s # #endif 1567s # } 1567s # 1567s # static void 1567s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1567s # { 1567s # } 1567s # 1567s # /** 1567s # * org_project_useful_interface_skeleton_new: 1567s # * 1567s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1567s # * 1567s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1567s # */ 1567s # OrgProjectUsefulInterface * 1567s # org_project_useful_interface_skeleton_new (void) 1567s # { 1567s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1567s # } 1567s # /tmp/tmp6r0268hb/tmpcqoddv4p.xml: 1567s # 1567s # 1567s # 1567s # 1567s # 1567s # 1567s # 1567s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp6r0268hb/tmpcqoddv4p.xml', '--output', '-', '--body'] 1567s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-baqskmurxn,guid=fbaffe99d0ccb1f6e1beb84865fc01cd', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.YcZbqk/autopkgtest_tmp', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.YcZbqk/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.YcZbqk/autopkgtest_tmp', 'TERM': 'unknown', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.YcZbqk/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.sVTVMp0Db0', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.rqZsJO/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.YcZbqk/wrapper.sh --artifacts=/tmp/autopkgtest.YcZbqk/installed-tests-artifacts --chdir=/tmp/autopkgtest.YcZbqk/build.S0E/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.YcZbqk/installed-tests-stderr --stdout=/tmp/autopkgtest.YcZbqk/installed-tests-stdout --tmp=/tmp/autopkgtest.YcZbqk/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2' --make-executable=/tmp/autopkgtest.YcZbqk/build.S0E/src/debian/tests/installed-tests -- /tmp/autopkgtest.YcZbqk/build.S0E/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.YcZbqk/build.S0E/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.YcZbqk/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1567s # Output: /* 1567s # * This file is generated by gdbus-codegen, do not modify it. 1567s # * 1567s # * The license of this code is the same as for the D-Bus interface description 1567s # * it was derived from. Note that it links to GLib, so must comply with the 1567s # * LGPL linking clauses. 1567s # */ 1567s # 1567s # #ifdef HAVE_CONFIG_H 1567s # # include "config.h" 1567s # #endif 1567s # 1567s # #include 1567s # #ifdef G_OS_UNIX 1567s # # include 1567s # #endif 1567s # 1567s # #ifdef G_ENABLE_DEBUG 1567s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1567s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1567s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1567s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1567s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1567s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1567s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1567s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1567s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1567s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1567s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1567s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1567s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1567s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1567s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1567s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1567s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1567s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1567s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1567s # #else /* !G_ENABLE_DEBUG */ 1567s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1567s # * Do not access GValues directly in your code. Instead, use the 1567s # * g_value_get_*() functions 1567s # */ 1567s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1567s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1567s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1567s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1567s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1567s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1567s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1567s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1567s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1567s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1567s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1567s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1567s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1567s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1567s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1567s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1567s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1567s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1567s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1567s # #endif /* !G_ENABLE_DEBUG */ 1567s # 1567s # typedef struct 1567s # { 1567s # GDBusArgInfo parent_struct; 1567s # gboolean use_gvariant; 1567s # } _ExtendedGDBusArgInfo; 1567s # 1567s # typedef struct 1567s # { 1567s # GDBusMethodInfo parent_struct; 1567s # const gchar *signal_name; 1567s # gboolean pass_fdlist; 1567s # } _ExtendedGDBusMethodInfo; 1567s # 1567s # typedef struct 1567s # { 1567s # GDBusSignalInfo parent_struct; 1567s # const gchar *signal_name; 1567s # } _ExtendedGDBusSignalInfo; 1567s # 1567s # typedef struct 1567s # { 1567s # GDBusPropertyInfo parent_struct; 1567s # const gchar *hyphen_name; 1567s # guint use_gvariant : 1; 1567s # guint emits_changed_signal : 1; 1567s # } _ExtendedGDBusPropertyInfo; 1567s # 1567s # typedef struct 1567s # { 1567s # GDBusInterfaceInfo parent_struct; 1567s # const gchar *hyphen_name; 1567s # } _ExtendedGDBusInterfaceInfo; 1567s # 1567s # typedef struct 1567s # { 1567s # const _ExtendedGDBusPropertyInfo *info; 1567s # guint prop_id; 1567s # GValue orig_value; /* the value before the change */ 1567s # } ChangedProperty; 1567s # 1567s # static void 1567s # _changed_property_free (ChangedProperty *data) 1567s # { 1567s # g_value_unset (&data->orig_value); 1567s # g_free (data); 1567s # } 1567s # 1567s # static gboolean 1567s # _g_strv_equal0 (gchar **a, gchar **b) 1567s # { 1567s # gboolean ret = FALSE; 1567s # guint n; 1567s # if (a == NULL && b == NULL) 1567s # { 1567s # ret = TRUE; 1567s # goto out; 1567s # } 1567s # if (a == NULL || b == NULL) 1567s # goto out; 1567s # if (g_strv_length (a) != g_strv_length (b)) 1567s # goto out; 1567s # for (n = 0; a[n] != NULL; n++) 1567s # if (g_strcmp0 (a[n], b[n]) != 0) 1567s # goto out; 1567s # ret = TRUE; 1567s # out: 1567s # return ret; 1567s # } 1567s # 1567s # static gboolean 1567s # _g_variant_equal0 (GVariant *a, GVariant *b) 1567s # { 1567s # gboolean ret = FALSE; 1567s # if (a == NULL && b == NULL) 1567s # { 1567s # ret = TRUE; 1567s # goto out; 1567s # } 1567s # if (a == NULL || b == NULL) 1567s # goto out; 1567s # ret = g_variant_equal (a, b); 1567s # out: 1567s # return ret; 1567s # } 1567s # 1567s # G_GNUC_UNUSED static gboolean 1567s # _g_value_equal (const GValue *a, const GValue *b) 1567s # { 1567s # gboolean ret = FALSE; 1567s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1567s # switch (G_VALUE_TYPE (a)) 1567s # { 1567s # case G_TYPE_BOOLEAN: 1567s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1567s # break; 1567s # case G_TYPE_UCHAR: 1567s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1567s # break; 1567s # case G_TYPE_INT: 1567s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1567s # break; 1567s # case G_TYPE_UINT: 1567s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1567s # break; 1567s # case G_TYPE_INT64: 1567s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1567s # break; 1567s # case G_TYPE_UINT64: 1567s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1567s # break; 1567s # case G_TYPE_DOUBLE: 1567s # { 1567s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1567s # gdouble da = g_value_get_double (a); 1567s # gdouble db = g_value_get_double (b); 1567s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1567s # } 1567s # break; 1567s # case G_TYPE_STRING: 1567s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1567s # break; 1567s # case G_TYPE_VARIANT: 1567s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1567s # break; 1567s # default: 1567s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1567s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1567s # else 1567s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1567s # break; 1567s # } 1567s # return ret; 1567s # } 1567s # 1567s # static void 1567s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 1567s # GClosure *closure, 1567s # GValue *return_value, 1567s # unsigned int n_param_values, 1567s # const GValue *param_values, 1567s # void *invocation_hint G_GNUC_UNUSED, 1567s # void *marshal_data) 1567s # { 1567s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 1567s # (void *data1, 1567s # GDBusMethodInvocation *arg_method_invocation, 1567s # void *data2); 1567s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 1567s # GCClosure *cc = (GCClosure*) closure; 1567s # void *data1, *data2; 1567s # gboolean v_return; 1567s # 1567s # g_return_if_fail (return_value != NULL); 1567s # g_return_if_fail (n_param_values == 2); 1567s # 1567s # if (G_CCLOSURE_SWAP_DATA (closure)) 1567s # { 1567s # data1 = closure->data; 1567s # data2 = g_value_peek_pointer (param_values + 0); 1567s # } 1567s # else 1567s # { 1567s # data1 = g_value_peek_pointer (param_values + 0); 1567s # data2 = closure->data; 1567s # } 1567s # 1567s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 1567s # (marshal_data ? marshal_data : cc->callback); 1567s # 1567s # v_return = 1567s # callback (data1, 1567s # g_marshal_value_peek_object (param_values + 1), 1567s # data2); 1567s # 1567s # g_value_set_boolean (return_value, v_return); 1567s # } 1567s # 1567s # /* ------------------------------------------------------------------------ 1567s # * Code for interface org.project.UsefulInterface 1567s # * ------------------------------------------------------------------------ 1567s # */ 1567s # 1567s # /** 1567s # * SECTION:OrgProjectUsefulInterface 1567s # * @title: OrgProjectUsefulInterface 1567s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1567s # * 1567s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1567s # */ 1567s # 1567s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1567s # 1567s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_h_OUT_ARG_arg_h = 1567s # { 1567s # { 1567s # -1, 1567s # (gchar *) "arg_h", 1567s # (gchar *) "h", 1567s # NULL 1567s # }, 1567s # FALSE 1567s # }; 1567s # 1567s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_h_OUT_ARG_pointers[] = 1567s # { 1567s # &_org_project_useful_interface_method_info_single_arg_method_h_OUT_ARG_arg_h.parent_struct, 1567s # NULL 1567s # }; 1567s # 1567s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_h = 1567s # { 1567s # { 1567s # -1, 1567s # (gchar *) "SingleArgMethodH", 1567s # NULL, 1567s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_h_OUT_ARG_pointers, 1567s # NULL 1567s # }, 1567s # "handle-single-arg-method-h", 1567s # FALSE 1567s # }; 1567s # 1567s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1567s # { 1567s # &_org_project_useful_interface_method_info_single_arg_method_h.parent_struct, 1567s # NULL 1567s # }; 1567s # 1567s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1567s # { 1567s # { 1567s # -1, 1567s # (gchar *) "org.project.UsefulInterface", 1567s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1567s # NULL, 1567s # NULL, 1567s # NULL 1567s # }, 1567s # "org-project-useful-interface", 1567s # }; 1567s # 1567s # 1567s # /** 1567s # * org_project_useful_interface_interface_info: 1567s # * 1567s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1567s # * 1567s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1567s # */ 1567s # GDBusInterfaceInfo * 1567s # org_project_useful_interface_interface_info (void) 1567s # { 1567s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1567s # } 1567s # 1567s # /** 1567s # * org_project_useful_interface_override_properties: 1567s # * @klass: The class structure for a #GObject derived class. 1567s # * @property_id_begin: The property id to assign to the first overridden property. 1567s # * 1567s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1567s # * The properties are overridden in the order they are defined. 1567s # * 1567s # * Returns: The last property id. 1567s # */ 1567s # guint 1567s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1567s # { 1567s # return property_id_begin - 1; 1567s # } 1567s # 1567s # 1567s # inline static void 1567s # org_project_useful_interface_method_marshal_single_arg_method_h ( 1567s # GClosure *closure, 1567s # GValue *return_value, 1567s # unsigned int n_param_values, 1567s # const GValue *param_values, 1567s # void *invocation_hint, 1567s # void *marshal_data) 1567s # { 1567s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1567s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1567s # } 1567s # 1567s # 1567s # /** 1567s # * OrgProjectUsefulInterface: 1567s # * 1567s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1567s # */ 1567s # 1567s # /** 1567s # * OrgProjectUsefulInterfaceIface: 1567s # * @parent_iface: The parent interface. 1567s # * @handle_single_arg_method_h: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-h signal. 1567s # * 1567s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1567s # */ 1567s # 1567s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1567s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1567s # 1567s # static void 1567s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1567s # { 1567s # /* GObject signals for incoming D-Bus method calls: */ 1567s # /** 1567s # * OrgProjectUsefulInterface::handle-single-arg-method-h: 1567s # * @object: A #OrgProjectUsefulInterface. 1567s # * @invocation: A #GDBusMethodInvocation. 1567s # * 1567s # * Signal emitted when a remote caller is invoking the SingleArgMethodH() D-Bus method. 1567s # * 1567s # * 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. 1567s # * 1567s # * 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. 1567s # */ 1567s # g_signal_new ("handle-single-arg-method-h", 1567s # G_TYPE_FROM_INTERFACE (iface), 1567s # G_SIGNAL_RUN_LAST, 1567s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_h), 1567s # g_signal_accumulator_true_handled, 1567s # NULL, 1567s # org_project_useful_interface_method_marshal_single_arg_method_h, 1567s # G_TYPE_BOOLEAN, 1567s # 1, 1567s # G_TYPE_DBUS_METHOD_INVOCATION); 1567s # 1567s # } 1567s # 1567s # /** 1567s # * org_project_useful_interface_call_single_arg_method_h: 1567s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1567s # * @cancellable: (nullable): A #GCancellable or %NULL. 1567s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1567s # * @user_data: User data to pass to @callback. 1567s # * 1567s # * Asynchronously invokes the SingleArgMethodH() D-Bus method on @proxy. 1567s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1567s # * You can then call org_project_useful_interface_call_single_arg_method_h_finish() to get the result of the operation. 1567s # * 1567s # * See org_project_useful_interface_call_single_arg_method_h_sync() for the synchronous, blocking version of this method. 1567s # */ 1567s # void 1567s # org_project_useful_interface_call_single_arg_method_h ( 1567s # OrgProjectUsefulInterface *proxy, 1567s # GCancellable *cancellable, 1567s # GAsyncReadyCallback callback, 1567s # gpointer user_data) 1567s # { 1567s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1567s # "SingleArgMethodH", 1567s # g_variant_new ("()"), 1567s # G_DBUS_CALL_FLAGS_NONE, 1567s # -1, 1567s # cancellable, 1567s # callback, 1567s # user_data); 1567s # } 1567s # 1567s # /** 1567s # * org_project_useful_interface_call_single_arg_method_h_finish: 1567s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1567s # * @out_arg_h: (out) (optional): Return location for return parameter or %NULL to ignore. 1567s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_h(). 1567s # * @error: Return location for error or %NULL. 1567s # * 1567s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_h(). 1567s # * 1567s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1567s # */ 1567s # gboolean 1567s # org_project_useful_interface_call_single_arg_method_h_finish ( 1567s # OrgProjectUsefulInterface *proxy, 1567s # GVariant **out_arg_h, 1567s # GAsyncResult *res, 1567s # GError **error) 1567s # { 1567s # GVariant *_ret; 1567s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1567s # if (_ret == NULL) 1567s # goto _out; 1567s # g_variant_get (_ret, 1567s # "(@h)", 1567s # out_arg_h); 1567s # g_variant_unref (_ret); 1567s # _out: 1567s # return _ret != NULL; 1567s # } 1567s # 1567s # /** 1567s # * org_project_useful_interface_call_single_arg_method_h_sync: 1567s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1567s # * @out_arg_h: (out) (optional): Return location for return parameter or %NULL to ignore. 1567s # * @cancellable: (nullable): A #GCancellable or %NULL. 1567s # * @error: Return location for error or %NULL. 1567s # * 1567s # * Synchronously invokes the SingleArgMethodH() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1567s # * 1567s # * See org_project_useful_interface_call_single_arg_method_h() for the asynchronous version of this method. 1567s # * 1567s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1567s # */ 1567s # gboolean 1567s # org_project_useful_interface_call_single_arg_method_h_sync ( 1567s # OrgProjectUsefulInterface *proxy, 1567s # GVariant **out_arg_h, 1567s # GCancellable *cancellable, 1567s # GError **error) 1567s # { 1567s # GVariant *_ret; 1567s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1567s # "SingleArgMethodH", 1567s # g_variant_new ("()"), 1567s # G_DBUS_CALL_FLAGS_NONE, 1567s # -1, 1567s # cancellable, 1567s # error); 1567s # if (_ret == NULL) 1567s # goto _out; 1567s # g_variant_get (_ret, 1567s # "(@h)", 1567s # out_arg_h); 1567s # g_variant_unref (_ret); 1567s # _out: 1567s # return _ret != NULL; 1567s # } 1567s # 1567s # /** 1567s # * org_project_useful_interface_complete_single_arg_method_h: 1567s # * @object: A #OrgProjectUsefulInterface. 1567s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1567s # * @arg_h: Parameter to return. 1567s # * 1567s # * 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. 1567s # * 1567s # * This method will free @invocation, you cannot use it afterwards. 1567s # */ 1567s # void 1567s # org_project_useful_interface_complete_single_arg_method_h ( 1567s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1567s # GDBusMethodInvocation *invocation, 1567s # GVariant *arg_h) 1567s # { 1567s # g_dbus_method_invocation_return_value (invocation, 1567s # g_variant_new ("(@h)", 1567s # arg_h)); 1567s # } 1567s # 1567s # /* ------------------------------------------------------------------------ */ 1567s # 1567s # /** 1567s # * OrgProjectUsefulInterfaceProxy: 1567s # * 1567s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1567s # */ 1567s # 1567s # /** 1567s # * OrgProjectUsefulInterfaceProxyClass: 1567s # * @parent_class: The parent class. 1567s # * 1567s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1567s # */ 1567s # 1567s # struct _OrgProjectUsefulInterfaceProxyPrivate 1567s # { 1567s # GData *qdata; 1567s # }; 1567s # 1567s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1567s # 1567s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1567s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1567s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1567s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1567s # 1567s # #else 1567s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1567s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1567s # 1567s # #endif 1567s # static void 1567s # org_project_useful_interface_proxy_finalize (GObject *object) 1567s # { 1567s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1567s # g_datalist_clear (&proxy->priv->qdata); 1567s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1567s # } 1567s # 1567s # static void 1567s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1567s # guint prop_id G_GNUC_UNUSED, 1567s # GValue *value G_GNUC_UNUSED, 1567s # GParamSpec *pspec G_GNUC_UNUSED) 1567s # { 1567s # } 1567s # 1567s # static void 1567s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1567s # guint prop_id G_GNUC_UNUSED, 1567s # const GValue *value G_GNUC_UNUSED, 1567s # GParamSpec *pspec G_GNUC_UNUSED) 1567s # { 1567s # } 1567s # 1567s # static void 1567s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1567s # const gchar *sender_name G_GNUC_UNUSED, 1567s # const gchar *signal_name, 1567s # GVariant *parameters) 1567s # { 1567s # _ExtendedGDBusSignalInfo *info; 1567s # GVariantIter iter; 1567s # GVariant *child; 1567s # GValue *paramv; 1567s # gsize num_params; 1567s # gsize n; 1567s # guint signal_id; 1567s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1567s # if (info == NULL) 1567s # return; 1567s # num_params = g_variant_n_children (parameters); 1567s # paramv = g_new0 (GValue, num_params + 1); 1567s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1567s # g_value_set_object (¶mv[0], proxy); 1567s # g_variant_iter_init (&iter, parameters); 1567s # n = 1; 1567s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1567s # { 1567s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1567s # if (arg_info->use_gvariant) 1567s # { 1567s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1567s # g_value_set_variant (¶mv[n], child); 1567s # n++; 1567s # } 1567s # else 1567s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1567s # g_variant_unref (child); 1567s # } 1567s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1567s # g_signal_emitv (paramv, signal_id, 0, NULL); 1567s # for (n = 0; n < num_params + 1; n++) 1567s # g_value_unset (¶mv[n]); 1567s # g_free (paramv); 1567s # } 1567s # 1567s # static void 1567s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1567s # GVariant *changed_properties, 1567s # const gchar *const *invalidated_properties) 1567s # { 1567s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1567s # guint n; 1567s # const gchar *key; 1567s # GVariantIter *iter; 1567s # _ExtendedGDBusPropertyInfo *info; 1567s # g_variant_get (changed_properties, "a{sv}", &iter); 1567s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1567s # { 1567s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1567s # g_datalist_remove_data (&proxy->priv->qdata, key); 1567s # if (info != NULL) 1567s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1567s # } 1567s # g_variant_iter_free (iter); 1567s # for (n = 0; invalidated_properties[n] != NULL; n++) 1567s # { 1567s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1567s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1567s # if (info != NULL) 1567s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1567s # } 1567s # } 1567s # 1567s # static void 1567s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1567s # { 1567s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1567s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1567s # #else 1567s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1567s # #endif 1567s # 1567s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1567s # } 1567s # 1567s # static void 1567s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1567s # { 1567s # GObjectClass *gobject_class; 1567s # GDBusProxyClass *proxy_class; 1567s # 1567s # gobject_class = G_OBJECT_CLASS (klass); 1567s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1567s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1567s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1567s # 1567s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1567s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1567s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1567s # 1567s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1567s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1567s # #endif 1567s # } 1567s # 1567s # static void 1567s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1567s # { 1567s # } 1567s # 1567s # /** 1567s # * org_project_useful_interface_proxy_new: 1567s # * @connection: A #GDBusConnection. 1567s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1567s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1567s # * @object_path: An object path. 1567s # * @cancellable: (nullable): A #GCancellable or %NULL. 1567s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1567s # * @user_data: User data to pass to @callback. 1567s # * 1567s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1567s # * 1567s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1567s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1567s # * 1567s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1567s # */ 1567s # void 1567s # org_project_useful_interface_proxy_new ( 1567s # GDBusConnection *connection, 1567s # GDBusProxyFlags flags, 1567s # const gchar *name, 1567s # const gchar *object_path, 1567s # GCancellable *cancellable, 1567s # GAsyncReadyCallback callback, 1567s # gpointer user_data) 1567s # { 1567s # g_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); 1567s # } 1567s # 1567s # /** 1567s # * org_project_useful_interface_proxy_new_finish: 1567s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1567s # * @error: Return location for error or %NULL 1567s # * 1567s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1567s # * 1567s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1567s # */ 1567s # OrgProjectUsefulInterface * 1567s # org_project_useful_interface_proxy_new_finish ( 1567s # GAsyncResult *res, 1567s # GError **error) 1567s # { 1567s # GObject *ret; 1567s # GObject *source_object; 1567s # source_object = g_async_result_get_source_object (res); 1567s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1567s # g_object_unref (source_object); 1567s # if (ret != NULL) 1567s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1567s # else 1567s # return NULL; 1567s # } 1567s # 1567s # /** 1567s # * org_project_useful_interface_proxy_new_sync: 1567s # * @connection: A #GDBusConnection. 1567s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1567s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1567s # * @object_path: An object path. 1567s # * @cancellable: (nullable): A #GCancellable or %NULL. 1567s # * @error: Return location for error or %NULL 1567s # * 1567s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1567s # * 1567s # * The calling thread is blocked until a reply is received. 1567s # * 1567s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1567s # * 1567s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1567s # */ 1567s # OrgProjectUsefulInterface * 1567s # org_project_useful_interface_proxy_new_sync ( 1567s # GDBusConnection *connection, 1567s # GDBusProxyFlags flags, 1567s # const gchar *name, 1567s # const gchar *object_path, 1567s # GCancellable *cancellable, 1567s # GError **error) 1567s # { 1567s # GInitable *ret; 1567s # 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); 1567s # if (ret != NULL) 1567s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1567s # else 1567s # return NULL; 1567s # } 1567s # 1567s # 1567s # /** 1567s # * org_project_useful_interface_proxy_new_for_bus: 1567s # * @bus_type: A #GBusType. 1567s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1567s # * @name: A bus name (well-known or unique). 1567s # * @object_path: An object path. 1567s # * @cancellable: (nullable): A #GCancellable or %NULL. 1567s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1567s # * @user_data: User data to pass to @callback. 1567s # * 1567s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1567s # * 1567s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1567s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1567s # * 1567s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1567s # */ 1567s # void 1567s # org_project_useful_interface_proxy_new_for_bus ( 1567s # GBusType bus_type, 1567s # GDBusProxyFlags flags, 1567s # const gchar *name, 1567s # const gchar *object_path, 1567s # GCancellable *cancellable, 1567s # GAsyncReadyCallback callback, 1567s # gpointer user_data) 1567s # { 1567s # g_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); 1567s # } 1567s # 1567s # /** 1567s # * org_project_useful_interface_proxy_new_for_bus_finish: 1567s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1567s # * @error: Return location for error or %NULL 1567s # * 1567s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1567s # * 1567s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1567s # */ 1567s # OrgProjectUsefulInterface * 1567s # org_project_useful_interface_proxy_new_for_bus_finish ( 1567s # GAsyncResult *res, 1567s # GError **error) 1567s # { 1567s # GObject *ret; 1567s # GObject *source_object; 1567s # source_object = g_async_result_get_source_object (res); 1567s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1567s # g_object_unref (source_object); 1567s # if (ret != NULL) 1567s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1567s # else 1567s # return NULL; 1567s # } 1567s # 1567s # /** 1567s # * org_project_useful_interface_proxy_new_for_bus_sync: 1567s # * @bus_type: A #GBusType. 1567s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1567s # * @name: A bus name (well-known or unique). 1567s # * @object_path: An object path. 1567s # * @cancellable: (nullable): A #GCancellable or %NULL. 1567s # * @error: Return location for error or %NULL 1567s # * 1567s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1567s # * 1567s # * The calling thread is blocked until a reply is received. 1567s # * 1567s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1567s # * 1567s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1567s # */ 1567s # OrgProjectUsefulInterface * 1567s # org_project_useful_interface_proxy_new_for_bus_sync ( 1567s # GBusType bus_type, 1567s # GDBusProxyFlags flags, 1567s # const gchar *name, 1567s # const gchar *object_path, 1567s # GCancellable *cancellable, 1567s # GError **error) 1567s # { 1567s # GInitable *ret; 1567s # 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); 1567s # if (ret != NULL) 1567s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1567s # else 1567s # return NULL; 1567s # } 1567s # 1567s # 1567s # /* ------------------------------------------------------------------------ */ 1567s # 1567s # /** 1567s # * OrgProjectUsefulInterfaceSkeleton: 1567s # * 1567s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1567s # */ 1567s # 1567s # /** 1567s # * OrgProjectUsefulInterfaceSkeletonClass: 1567s # * @parent_class: The parent class. 1567s # * 1567s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1567s # */ 1567s # 1567s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1567s # { 1567s # GValue *properties; 1567s # GList *changed_properties; 1567s # GSource *changed_properties_idle_source; 1567s # GMainContext *context; 1567s # GMutex lock; 1567s # }; 1567s # 1567s # static void 1567s # _org_project_useful_interface_skeleton_handle_method_call ( 1567s # GDBusConnection *connection G_GNUC_UNUSED, 1567s # const gchar *sender G_GNUC_UNUSED, 1567s # const gchar *object_path G_GNUC_UNUSED, 1567s # const gchar *interface_name, 1567s # const gchar *method_name, 1567s # GVariant *parameters, 1567s # GDBusMethodInvocation *invocation, 1567s # gpointer user_data) 1567s # { 1567s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1567s # _ExtendedGDBusMethodInfo *info; 1567s # GVariantIter iter; 1567s # GVariant *child; 1567s # GValue *paramv; 1567s # gsize num_params; 1567s # guint num_extra; 1567s # gsize n; 1567s # guint signal_id; 1567s # GValue return_value = G_VALUE_INIT; 1567s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1567s # g_assert (info != NULL); 1567s # num_params = g_variant_n_children (parameters); 1567s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1567s # n = 0; 1567s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1567s # g_value_set_object (¶mv[n++], skeleton); 1567s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1567s # g_value_set_object (¶mv[n++], invocation); 1567s # if (info->pass_fdlist) 1567s # { 1567s # #ifdef G_OS_UNIX 1567s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1567s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1567s # #else 1567s # g_assert_not_reached (); 1567s # #endif 1567s # } 1567s # g_variant_iter_init (&iter, parameters); 1567s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1567s # { 1567s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1567s # if (arg_info->use_gvariant) 1567s # { 1567s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1567s # g_value_set_variant (¶mv[n], child); 1567s # n++; 1567s # } 1567s # else 1567s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1567s # g_variant_unref (child); 1567s # } 1567s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1567s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1567s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1567s # if (!g_value_get_boolean (&return_value)) 1567s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1567s # g_value_unset (&return_value); 1567s # for (n = 0; n < num_params + num_extra; n++) 1567s # g_value_unset (¶mv[n]); 1567s # g_free (paramv); 1567s # } 1567s # 1567s # static GVariant * 1567s # _org_project_useful_interface_skeleton_handle_get_property ( 1567s # GDBusConnection *connection G_GNUC_UNUSED, 1567s # const gchar *sender G_GNUC_UNUSED, 1567s # const gchar *object_path G_GNUC_UNUSED, 1567s # const gchar *interface_name G_GNUC_UNUSED, 1567s # const gchar *property_name, 1567s # GError **error, 1567s # gpointer user_data) 1567s # { 1567s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1567s # GValue value = G_VALUE_INIT; 1567s # GParamSpec *pspec; 1567s # _ExtendedGDBusPropertyInfo *info; 1567s # GVariant *ret; 1567s # ret = NULL; 1567s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1567s # g_assert (info != NULL); 1567s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1567s # if (pspec == NULL) 1567s # { 1567s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1567s # } 1567s # else 1567s # { 1567s # g_value_init (&value, pspec->value_type); 1567s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1567s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1567s # g_value_unset (&value); 1567s # } 1567s # return ret; 1567s # } 1567s # 1567s # static gboolean 1567s # _org_project_useful_interface_skeleton_handle_set_property ( 1567s # GDBusConnection *connection G_GNUC_UNUSED, 1567s # const gchar *sender G_GNUC_UNUSED, 1567s # const gchar *object_path G_GNUC_UNUSED, 1567s # const gchar *interface_name G_GNUC_UNUSED, 1567s # const gchar *property_name, 1567s # GVariant *variant, 1567s # GError **error, 1567s # gpointer user_data) 1567s # { 1567s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1567s # GValue value = G_VALUE_INIT; 1567s # GParamSpec *pspec; 1567s # _ExtendedGDBusPropertyInfo *info; 1567s # gboolean ret; 1567s # ret = FALSE; 1567s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1567s # g_assert (info != NULL); 1567s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1567s # if (pspec == NULL) 1567s # { 1567s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1567s # } 1567s # else 1567s # { 1567s # if (info->use_gvariant) 1567s # g_value_set_variant (&value, variant); 1567s # else 1567s # g_dbus_gvariant_to_gvalue (variant, &value); 1567s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1567s # g_value_unset (&value); 1567s # ret = TRUE; 1567s # } 1567s # return ret; 1567s # } 1567s # 1567s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1567s # { 1567s # _org_project_useful_interface_skeleton_handle_method_call, 1567s # _org_project_useful_interface_skeleton_handle_get_property, 1567s # _org_project_useful_interface_skeleton_handle_set_property, 1567s # {NULL} 1567s # }; 1567s # 1567s # static GDBusInterfaceInfo * 1567s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1567s # { 1567s # return org_project_useful_interface_interface_info (); 1567s # } 1567s # 1567s # static GDBusInterfaceVTable * 1567s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1567s # { 1567s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1567s # } 1567s # 1567s # static GVariant * 1567s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1567s # { 1567s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1567s # 1567s # GVariantBuilder builder; 1567s # guint n; 1567s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1567s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1567s # goto out; 1567s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1567s # { 1567s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1567s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1567s # { 1567s # GVariant *value; 1567s # 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); 1567s # if (value != NULL) 1567s # { 1567s # g_variant_take_ref (value); 1567s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1567s # g_variant_unref (value); 1567s # } 1567s # } 1567s # } 1567s # out: 1567s # return g_variant_builder_end (&builder); 1567s # } 1567s # 1567s # static void 1567s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1567s # { 1567s # } 1567s # 1567s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1567s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1567s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1567s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1567s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1567s # 1567s # #else 1567s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1567s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1567s # 1567s # #endif 1567s # static void 1567s # org_project_useful_interface_skeleton_finalize (GObject *object) 1567s # { 1567s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1567s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1567s # if (skeleton->priv->changed_properties_idle_source != NULL) 1567s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1567s # g_main_context_unref (skeleton->priv->context); 1567s # g_mutex_clear (&skeleton->priv->lock); 1567s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1567s # } 1567s # 1567s # static void 1567s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1567s # { 1567s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1567s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1567s # #else 1567s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1567s # #endif 1567s # 1567s # g_mutex_init (&skeleton->priv->lock); 1567s # skeleton->priv->context = g_main_context_ref_thread_default (); 1567s # } 1567s # 1567s # static void 1567s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1567s # { 1567s # GObjectClass *gobject_class; 1567s # GDBusInterfaceSkeletonClass *skeleton_class; 1567s # 1567s # gobject_class = G_OBJECT_CLASS (klass); 1567s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1567s # 1567s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1567s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1567s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1567s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1567s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1567s # 1567s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1567s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1567s # #endif 1567s # } 1567s # 1567s # static void 1567s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1567s # { 1567s # } 1567s # 1567s # /** 1567s # * org_project_useful_interface_skeleton_new: 1567s # * 1567s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1567s # * 1567s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1567s # */ 1567s # OrgProjectUsefulInterface * 1567s # org_project_useful_interface_skeleton_new (void) 1567s # { 1567s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1567s # } 1567s # /tmp/tmp6r0268hb/tmpymxc85ib.xml: 1567s # 1567s # 1567s # 1567s # 1567s # 1567s # 1567s # 1567s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp6r0268hb/tmpymxc85ib.xml', '--output', '-', '--body'] 1567s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-baqskmurxn,guid=fbaffe99d0ccb1f6e1beb84865fc01cd', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.YcZbqk/autopkgtest_tmp', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.YcZbqk/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.YcZbqk/autopkgtest_tmp', 'TERM': 'unknown', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.YcZbqk/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.sVTVMp0Db0', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.rqZsJO/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.YcZbqk/wrapper.sh --artifacts=/tmp/autopkgtest.YcZbqk/installed-tests-artifacts --chdir=/tmp/autopkgtest.YcZbqk/build.S0E/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.YcZbqk/installed-tests-stderr --stdout=/tmp/autopkgtest.YcZbqk/installed-tests-stdout --tmp=/tmp/autopkgtest.YcZbqk/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2' --make-executable=/tmp/autopkgtest.YcZbqk/build.S0E/src/debian/tests/installed-tests -- /tmp/autopkgtest.YcZbqk/build.S0E/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.YcZbqk/build.S0E/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.YcZbqk/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1567s # Output: /* 1567s # * This file is generated by gdbus-codegen, do not modify it. 1567s # * 1567s # * The license of this code is the same as for the D-Bus interface description 1567s # * it was derived from. Note that it links to GLib, so must comply with the 1567s # * LGPL linking clauses. 1567s # */ 1567s # 1567s # #ifdef HAVE_CONFIG_H 1567s # # include "config.h" 1567s # #endif 1567s # 1567s # #include 1567s # #ifdef G_OS_UNIX 1567s # # include 1567s # #endif 1567s # 1567s # #ifdef G_ENABLE_DEBUG 1567s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1567s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1567s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1567s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1567s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1567s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1567s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1567s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1567s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1567s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1567s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1567s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1567s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1567s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1567s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1567s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1567s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1567s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1567s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1567s # #else /* !G_ENABLE_DEBUG */ 1567s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1567s # * Do not access GValues directly in your code. Instead, use the 1567s # * g_value_get_*() functions 1567s # */ 1567s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1567s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1567s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1567s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1567s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1567s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1567s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1567s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1567s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1567s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1567s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1567s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1567s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1567s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1567s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1567s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1567s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1567s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1567s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1567s # #endif /* !G_ENABLE_DEBUG */ 1567s # 1567s # typedef struct 1567s # { 1567s # GDBusArgInfo parent_struct; 1567s # gboolean use_gvariant; 1567s # } _ExtendedGDBusArgInfo; 1567s # 1567s # typedef struct 1567s # { 1567s # GDBusMethodInfo parent_struct; 1567s # const gchar *signal_name; 1567s # gboolean pass_fdlist; 1567s # } _ExtendedGDBusMethodInfo; 1567s # 1567s # typedef struct 1567s # { 1567s # GDBusSignalInfo parent_struct; 1567s # const gchar *signal_name; 1567s # } _ExtendedGDBusSignalInfo; 1567s # 1567s # typedef struct 1567s # { 1567s # GDBusPropertyInfo parent_struct; 1567s # const gchar *hyphen_name; 1567s # guint use_gvariant : 1; 1567s # guint emits_changed_signal : 1; 1567s # } _ExtendedGDBusPropertyInfo; 1567s # 1567s # typedef struct 1567s # { 1567s # GDBusInterfaceInfo parent_struct; 1567s # const gchar *hyphen_name; 1567s # } _ExtendedGDBusInterfaceInfo; 1567s # 1567s # typedef struct 1567s # { 1567s # const _ExtendedGDBusPropertyInfo *info; 1567s # guint prop_id; 1567s # GValue orig_value; /* the value before the change */ 1567s # } ChangedProperty; 1567s # 1567s # static void 1567s # _changed_property_free (ChangedProperty *data) 1567s # { 1567s # g_value_unset (&data->orig_value); 1567s # g_free (data); 1567s # } 1567s # 1567s # static gboolean 1567s # _g_strv_equal0 (gchar **a, gchar **b) 1567s # { 1567s # gboolean ret = FALSE; 1567s # guint n; 1567s # if (a == NULL && b == NULL) 1567s # { 1567s # ret = TRUE; 1567s # goto out; 1567s # } 1567s # if (a == NULL || b == NULL) 1567s # goto out; 1567s # if (g_strv_length (a) != g_strv_length (b)) 1567s # goto out; 1567s # for (n = 0; a[n] != NULL; n++) 1567s # if (g_strcmp0 (a[n], b[n]) != 0) 1567s # goto out; 1567s # ret = TRUE; 1567s # out: 1567s # return ret; 1567s # } 1567s # 1567s # static gboolean 1567s # _g_variant_equal0 (GVariant *a, GVariant *b) 1567s # { 1567s # gboolean ret = FALSE; 1567s # if (a == NULL && b == NULL) 1567s # { 1567s # ret = TRUE; 1567s # goto out; 1567s # } 1567s # if (a == NULL || b == NULL) 1567s # goto out; 1567s # ret = g_variant_equal (a, b); 1567s # out: 1567s # return ret; 1567s # } 1567s # 1567s # G_GNUC_UNUSED static gboolean 1567s # _g_value_equal (const GValue *a, const GValue *b) 1567s # { 1567s # gboolean ret = FALSE; 1567s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1567s # switch (G_VALUE_TYPE (a)) 1567s # { 1567s # case G_TYPE_BOOLEAN: 1567s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1567s # break; 1567s # case G_TYPE_UCHAR: 1567s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1567s # break; 1567s # case G_TYPE_INT: 1567s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1567s # break; 1567s # case G_TYPE_UINT: 1567s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1567s # break; 1567s # case G_TYPE_INT64: 1567s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1567s # break; 1567s # case G_TYPE_UINT64: 1567s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1567s # break; 1567s # case G_TYPE_DOUBLE: 1567s # { 1567s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1567s # gdouble da = g_value_get_double (a); 1567s # gdouble db = g_value_get_double (b); 1567s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1567s # } 1567s # break; 1567s # case G_TYPE_STRING: 1567s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1567s # break; 1567s # case G_TYPE_VARIANT: 1567s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1567s # break; 1567s # default: 1567s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1567s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1567s # else 1567s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1567s # break; 1567s # } 1567s # return ret; 1567s # } 1567s # 1567s # static void 1567s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 1567s # GClosure *closure, 1567s # GValue *return_value, 1567s # unsigned int n_param_values, 1567s # const GValue *param_values, 1567s # void *invocation_hint G_GNUC_UNUSED, 1567s # void *marshal_data) 1567s # { 1567s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 1567s # (void *data1, 1567s # GDBusMethodInvocation *arg_method_invocation, 1567s # void *data2); 1567s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 1567s # GCClosure *cc = (GCClosure*) closure; 1567s # void *data1, *data2; 1567s # gboolean v_return; 1567s # 1567s # g_return_if_fail (return_value != NULL); 1567s # g_return_if_fail (n_param_values == 2); 1567s # 1567s # if (G_CCLOSURE_SWAP_DATA (closure)) 1567s # { 1567s # data1 = closure->data; 1567s # data2 = g_value_peek_pointer (param_values + 0); 1567s # } 1567s # else 1567s # { 1567s # data1 = g_value_peek_pointer (param_values + 0); 1567s # data2 = closure->data; 1567s # } 1567s # 1567s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 1567s # (marshal_data ? marshal_data : cc->callback); 1567s # 1567s # v_return = 1567s # callback (data1, 1567s # g_marshal_value_peek_object (param_values + 1), 1567s # data2); 1567s # 1567s # g_value_set_boolean (return_value, v_return); 1567s # } 1567s # 1567s # /* ------------------------------------------------------------------------ 1567s # * Code for interface org.project.UsefulInterface 1567s # * ------------------------------------------------------------------------ 1567s # */ 1567s # 1567s # /** 1567s # * SECTION:OrgProjectUsefulInterface 1567s # * @title: OrgProjectUsefulInterface 1567s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1567s # * 1567s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1567s # */ 1567s # 1567s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1567s # 1567s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_ay_OUT_ARG_arg_ay = 1567s # { 1567s # { 1567s # -1, 1567s # (gchar *) "arg_ay", 1567s # (gchar *) "ay", 1567s # NULL 1567s # }, 1567s # FALSE 1567s # }; 1567s # 1567s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_ay_OUT_ARG_pointers[] = 1567s # { 1567s # &_org_project_useful_interface_method_info_single_arg_method_ay_OUT_ARG_arg_ay.parent_struct, 1567s # NULL 1567s # }; 1567s # 1567s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_ay = 1567s # { 1567s # { 1567s # -1, 1567s # (gchar *) "SingleArgMethodAy", 1567s # NULL, 1567s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_ay_OUT_ARG_pointers, 1567s # NULL 1567s # }, 1567s # "handle-single-arg-method-ay", 1567s # FALSE 1567s # }; 1567s # 1567s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1567s # { 1567s # &_org_project_useful_interface_method_info_single_arg_method_ay.parent_struct, 1567s # NULL 1567s # }; 1567s # 1567s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1567s # { 1567s # { 1567s # -1, 1567s # (gchar *) "org.project.UsefulInterface", 1567s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1567s # NULL, 1567s # NULL, 1567s # NULL 1567s # }, 1567s # "org-project-useful-interface", 1567s # }; 1567s # 1567s # 1567s # /** 1567s # * org_project_useful_interface_interface_info: 1567s # * 1567s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1567s # * 1567s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1567s # */ 1567s # GDBusInterfaceInfo * 1567s # org_project_useful_interface_interface_info (void) 1567s # { 1567s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1567s # } 1567s # 1567s # /** 1567s # * org_project_useful_interface_override_properties: 1567s # * @klass: The class structure for a #GObject derived class. 1567s # * @property_id_begin: The property id to assign to the first overridden property. 1567s # * 1567s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1567s # * The properties are overridden in the order they are defined. 1567s # * 1567s # * Returns: The last property id. 1567s # */ 1567s # guint 1567s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1567s # { 1567s # return property_id_begin - 1; 1567s # } 1567s # 1567s # 1567s # inline static void 1567s # org_project_useful_interface_method_marshal_single_arg_method_ay ( 1567s # GClosure *closure, 1567s # GValue *return_value, 1567s # unsigned int n_param_values, 1567s # const GValue *param_values, 1567s # void *invocation_hint, 1567s # void *marshal_data) 1567s # { 1567s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1567s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1567s # } 1567s # 1567s # 1567s # /** 1567s # * OrgProjectUsefulInterface: 1567s # * 1567s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1567s # */ 1567s # 1567s # /** 1567s # * OrgProjectUsefulInterfaceIface: 1567s # * @parent_iface: The parent interface. 1567s # * @handle_single_arg_method_ay: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-ay signal. 1567s # * 1567s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1567s # */ 1567s # 1567s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1567s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1567s # 1567s # static void 1567s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1567s # { 1567s # /* GObject signals for incoming D-Bus method calls: */ 1567s # /** 1567s # * OrgProjectUsefulInterface::handle-single-arg-method-ay: 1567s # * @object: A #OrgProjectUsefulInterface. 1567s # * @invocation: A #GDBusMethodInvocation. 1567s # * 1567s # * Signal emitted when a remote caller is invoking the SingleArgMethodAy() D-Bus method. 1567s # * 1567s # * 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. 1567s # * 1567s # * 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. 1567s # */ 1567s # g_signal_new ("handle-single-arg-method-ay", 1567s # G_TYPE_FROM_INTERFACE (iface), 1567s # G_SIGNAL_RUN_LAST, 1567s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_ay), 1567s # g_signal_accumulator_true_handled, 1567s # NULL, 1567s # org_project_useful_interface_method_marshal_single_arg_method_ay, 1567s # G_TYPE_BOOLEAN, 1567s # 1, 1567s # G_TYPE_DBUS_METHOD_INVOCATION); 1567s # 1567s # } 1567s # 1567s # /** 1567s # * org_project_useful_interface_call_single_arg_method_ay: 1567s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1567s # * @cancellable: (nullable): A #GCancellable or %NULL. 1567s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1567s # * @user_data: User data to pass to @callback. 1567s # * 1567s # * Asynchronously invokes the SingleArgMethodAy() D-Bus method on @proxy. 1567s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1567s # * You can then call org_project_useful_interface_call_single_arg_method_ay_finish() to get the result of the operation. 1567s # * 1567s # * See org_project_useful_interface_call_single_arg_method_ay_sync() for the synchronous, blocking version of this method. 1567s # */ 1567s # void 1567s # org_project_useful_interface_call_single_arg_method_ay ( 1567s # OrgProjectUsefulInterface *proxy, 1567s # GCancellable *cancellable, 1567s # GAsyncReadyCallback callback, 1567s # gpointer user_data) 1567s # { 1567s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1567s # "SingleArgMethodAy", 1567s # g_variant_new ("()"), 1567s # G_DBUS_CALL_FLAGS_NONE, 1567s # -1, 1567s # cancellable, 1567s # callback, 1567s # user_data); 1567s # } 1567s # 1567s # /** 1567s # * org_project_useful_interface_call_single_arg_method_ay_finish: 1567s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1567s # * @out_arg_ay: (out) (optional): Return location for return parameter or %NULL to ignore. 1567s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_ay(). 1567s # * @error: Return location for error or %NULL. 1567s # * 1567s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_ay(). 1567s # * 1567s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1567s # */ 1567s # gboolean 1567s # org_project_useful_interface_call_single_arg_method_ay_finish ( 1567s # OrgProjectUsefulInterface *proxy, 1567s # gchar **out_arg_ay, 1567s # GAsyncResult *res, 1567s # GError **error) 1567s # { 1567s # GVariant *_ret; 1567s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1567s # if (_ret == NULL) 1567s # goto _out; 1567s # g_variant_get (_ret, 1567s # "(^ay)", 1567s # out_arg_ay); 1567s # g_variant_unref (_ret); 1567s # _out: 1567s # return _ret != NULL; 1567s # } 1567s # 1567s # /** 1567s # * org_project_useful_interface_call_single_arg_method_ay_sync: 1567s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1567s # * @out_arg_ay: (out) (optional): Return location for return parameter or %NULL to ignore. 1567s # * @cancellable: (nullable): A #GCancellable or %NULL. 1567s # * @error: Return location for error or %NULL. 1567s # * 1567s # * Synchronously invokes the SingleArgMethodAy() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1567s # * 1567s # * See org_project_useful_interface_call_single_arg_method_ay() for the asynchronous version of this method. 1567s # * 1567s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1567s # */ 1567s # gboolean 1567s # org_project_useful_interface_call_single_arg_method_ay_sync ( 1567s # OrgProjectUsefulInterface *proxy, 1567s # gchar **out_arg_ay, 1567s # GCancellable *cancellable, 1567s # GError **error) 1567s # { 1567s # GVariant *_ret; 1567s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1567s # "SingleArgMethodAy", 1567s # g_variant_new ("()"), 1567s # G_DBUS_CALL_FLAGS_NONE, 1567s # -1, 1567s # cancellable, 1567s # error); 1567s # if (_ret == NULL) 1567s # goto _out; 1567s # g_variant_get (_ret, 1567s # "(^ay)", 1567s # out_arg_ay); 1567s # g_variant_unref (_ret); 1567s # _out: 1567s # return _ret != NULL; 1567s # } 1567s # 1567s # /** 1567s # * org_project_useful_interface_complete_single_arg_method_ay: 1567s # * @object: A #OrgProjectUsefulInterface. 1567s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1567s # * @arg_ay: Parameter to return. 1567s # * 1567s # * 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. 1567s # * 1567s # * This method will free @invocation, you cannot use it afterwards. 1567s # */ 1567s # void 1567s # org_project_useful_interface_complete_single_arg_method_ay ( 1567s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1567s # GDBusMethodInvocation *invocation, 1567s # const gchar *arg_ay) 1567s # { 1567s # g_dbus_method_invocation_return_value (invocation, 1567s # g_variant_new ("(^ay)", 1567s # arg_ay)); 1567s # } 1567s # 1567s # /* ------------------------------------------------------------------------ */ 1567s # 1567s # /** 1567s # * OrgProjectUsefulInterfaceProxy: 1567s # * 1567s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1567s # */ 1567s # 1567s # /** 1567s # * OrgProjectUsefulInterfaceProxyClass: 1567s # * @parent_class: The parent class. 1567s # * 1567s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1567s # */ 1567s # 1567s # struct _OrgProjectUsefulInterfaceProxyPrivate 1567s # { 1567s # GData *qdata; 1567s # }; 1567s # 1567s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1567s # 1567s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1567s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1567s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1567s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1567s # 1567s # #else 1567s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1567s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1567s # 1567s # #endif 1567s # static void 1567s # org_project_useful_interface_proxy_finalize (GObject *object) 1567s # { 1567s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1567s # g_datalist_clear (&proxy->priv->qdata); 1567s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1567s # } 1567s # 1567s # static void 1567s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1567s # guint prop_id G_GNUC_UNUSED, 1567s # GValue *value G_GNUC_UNUSED, 1567s # GParamSpec *pspec G_GNUC_UNUSED) 1567s # { 1567s # } 1567s # 1567s # static void 1567s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1567s # guint prop_id G_GNUC_UNUSED, 1567s # const GValue *value G_GNUC_UNUSED, 1567s # GParamSpec *pspec G_GNUC_UNUSED) 1567s # { 1567s # } 1567s # 1567s # static void 1567s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1567s # const gchar *sender_name G_GNUC_UNUSED, 1567s # const gchar *signal_name, 1567s # GVariant *parameters) 1567s # { 1567s # _ExtendedGDBusSignalInfo *info; 1567s # GVariantIter iter; 1567s # GVariant *child; 1567s # GValue *paramv; 1567s # gsize num_params; 1567s # gsize n; 1567s # guint signal_id; 1567s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1567s # if (info == NULL) 1567s # return; 1567s # num_params = g_variant_n_children (parameters); 1567s # paramv = g_new0 (GValue, num_params + 1); 1567s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1567s # g_value_set_object (¶mv[0], proxy); 1567s # g_variant_iter_init (&iter, parameters); 1567s # n = 1; 1567s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1567s # { 1567s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1567s # if (arg_info->use_gvariant) 1567s # { 1567s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1567s # g_value_set_variant (¶mv[n], child); 1567s # n++; 1567s # } 1567s # else 1567s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1567s # g_variant_unref (child); 1567s # } 1567s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1567s # g_signal_emitv (paramv, signal_id, 0, NULL); 1567s # for (n = 0; n < num_params + 1; n++) 1567s # g_value_unset (¶mv[n]); 1567s # g_free (paramv); 1567s # } 1567s # 1567s # static void 1567s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1567s # GVariant *changed_properties, 1567s # const gchar *const *invalidated_properties) 1567s # { 1567s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1567s # guint n; 1567s # const gchar *key; 1567s # GVariantIter *iter; 1567s # _ExtendedGDBusPropertyInfo *info; 1567s # g_variant_get (changed_properties, "a{sv}", &iter); 1567s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1567s # { 1567s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1567s # g_datalist_remove_data (&proxy->priv->qdata, key); 1567s # if (info != NULL) 1567s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1567s # } 1567s # g_variant_iter_free (iter); 1567s # for (n = 0; invalidated_properties[n] != NULL; n++) 1567s # { 1567s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1567s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1567s # if (info != NULL) 1567s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1567s # } 1567s # } 1567s # 1567s # static void 1567s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1567s # { 1567s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1567s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1567s # #else 1567s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1567s # #endif 1567s # 1567s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1567s # } 1567s # 1567s # static void 1567s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1567s # { 1567s # GObjectClass *gobject_class; 1567s # GDBusProxyClass *proxy_class; 1567s # 1567s # gobject_class = G_OBJECT_CLASS (klass); 1567s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1567s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1567s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1567s # 1567s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1567s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1567s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1567s # 1567s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1567s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1567s # #endif 1567s # } 1567s # 1567s # static void 1567s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1567s # { 1567s # } 1567s # 1567s # /** 1567s # * org_project_useful_interface_proxy_new: 1567s # * @connection: A #GDBusConnection. 1567s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1567s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1567s # * @object_path: An object path. 1567s # * @cancellable: (nullable): A #GCancellable or %NULL. 1567s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1567s # * @user_data: User data to pass to @callback. 1567s # * 1567s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1567s # * 1567s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1567s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1567s # * 1567s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1567s # */ 1567s # void 1567s # org_project_useful_interface_proxy_new ( 1567s # GDBusConnection *connection, 1567s # GDBusProxyFlags flags, 1567s # const gchar *name, 1567s # const gchar *object_path, 1567s # GCancellable *cancellable, 1567s # GAsyncReadyCallback callback, 1567s # gpointer user_data) 1567s # { 1567s # g_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); 1567s # } 1567s # 1567s # /** 1567s # * org_project_useful_interface_proxy_new_finish: 1567s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1567s # * @error: Return location for error or %NULL 1567s # * 1567s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1567s # * 1567s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1567s # */ 1567s # OrgProjectUsefulInterface * 1567s # org_project_useful_interface_proxy_new_finish ( 1567s # GAsyncResult *res, 1567s # GError **error) 1567s # { 1567s # GObject *ret; 1567s # GObject *source_object; 1567s # source_object = g_async_result_get_source_object (res); 1567s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1567s # g_object_unref (source_object); 1567s # if (ret != NULL) 1567s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1567s # else 1567s # return NULL; 1567s # } 1567s # 1567s # /** 1567s # * org_project_useful_interface_proxy_new_sync: 1567s # * @connection: A #GDBusConnection. 1567s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1567s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1567s # * @object_path: An object path. 1567s # * @cancellable: (nullable): A #GCancellable or %NULL. 1567s # * @error: Return location for error or %NULL 1567s # * 1567s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1567s # * 1567s # * The calling thread is blocked until a reply is received. 1567s # * 1567s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1567s # * 1567s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1567s # */ 1567s # OrgProjectUsefulInterface * 1567s # org_project_useful_interface_proxy_new_sync ( 1567s # GDBusConnection *connection, 1567s # GDBusProxyFlags flags, 1567s # const gchar *name, 1567s # const gchar *object_path, 1567s # GCancellable *cancellable, 1567s # GError **error) 1567s # { 1567s # GInitable *ret; 1567s # 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); 1567s # if (ret != NULL) 1567s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1567s # else 1567s # return NULL; 1567s # } 1567s # 1567s # 1567s # /** 1567s # * org_project_useful_interface_proxy_new_for_bus: 1567s # * @bus_type: A #GBusType. 1567s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1567s # * @name: A bus name (well-known or unique). 1567s # * @object_path: An object path. 1567s # * @cancellable: (nullable): A #GCancellable or %NULL. 1567s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1567s # * @user_data: User data to pass to @callback. 1567s # * 1567s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1567s # * 1567s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1567s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1567s # * 1567s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1567s # */ 1567s # void 1567s # org_project_useful_interface_proxy_new_for_bus ( 1567s # GBusType bus_type, 1567s # GDBusProxyFlags flags, 1567s # const gchar *name, 1567s # const gchar *object_path, 1567s # GCancellable *cancellable, 1567s # GAsyncReadyCallback callback, 1567s # gpointer user_data) 1567s # { 1567s # g_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); 1567s # } 1567s # 1567s # /** 1567s # * org_project_useful_interface_proxy_new_for_bus_finish: 1567s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1567s # * @error: Return location for error or %NULL 1567s # * 1567s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1567s # * 1567s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1567s # */ 1567s # OrgProjectUsefulInterface * 1567s # org_project_useful_interface_proxy_new_for_bus_finish ( 1567s # GAsyncResult *res, 1567s # GError **error) 1567s # { 1567s # GObject *ret; 1567s # GObject *source_object; 1567s # source_object = g_async_result_get_source_object (res); 1567s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1567s # g_object_unref (source_object); 1567s # if (ret != NULL) 1567s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1567s # else 1567s # return NULL; 1567s # } 1567s # 1567s # /** 1567s # * org_project_useful_interface_proxy_new_for_bus_sync: 1567s # * @bus_type: A #GBusType. 1567s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1567s # * @name: A bus name (well-known or unique). 1567s # * @object_path: An object path. 1567s # * @cancellable: (nullable): A #GCancellable or %NULL. 1567s # * @error: Return location for error or %NULL 1567s # * 1567s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1567s # * 1567s # * The calling thread is blocked until a reply is received. 1567s # * 1567s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1567s # * 1567s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1567s # */ 1567s # OrgProjectUsefulInterface * 1567s # org_project_useful_interface_proxy_new_for_bus_sync ( 1567s # GBusType bus_type, 1567s # GDBusProxyFlags flags, 1567s # const gchar *name, 1567s # const gchar *object_path, 1567s # GCancellable *cancellable, 1567s # GError **error) 1567s # { 1567s # GInitable *ret; 1567s # 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); 1567s # if (ret != NULL) 1567s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1567s # else 1567s # return NULL; 1567s # } 1567s # 1567s # 1567s # /* ------------------------------------------------------------------------ */ 1567s # 1567s # /** 1567s # * OrgProjectUsefulInterfaceSkeleton: 1567s # * 1567s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1567s # */ 1567s # 1567s # /** 1567s # * OrgProjectUsefulInterfaceSkeletonClass: 1567s # * @parent_class: The parent class. 1567s # * 1567s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1567s # */ 1567s # 1567s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1567s # { 1567s # GValue *properties; 1567s # GList *changed_properties; 1567s # GSource *changed_properties_idle_source; 1567s # GMainContext *context; 1567s # GMutex lock; 1567s # }; 1567s # 1567s # static void 1567s # _org_project_useful_interface_skeleton_handle_method_call ( 1567s # GDBusConnection *connection G_GNUC_UNUSED, 1567s # const gchar *sender G_GNUC_UNUSED, 1567s # const gchar *object_path G_GNUC_UNUSED, 1567s # const gchar *interface_name, 1567s # const gchar *method_name, 1567s # GVariant *parameters, 1567s # GDBusMethodInvocation *invocation, 1567s # gpointer user_data) 1567s # { 1567s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1567s # _ExtendedGDBusMethodInfo *info; 1567s # GVariantIter iter; 1567s # GVariant *child; 1567s # GValue *paramv; 1567s # gsize num_params; 1567s # guint num_extra; 1567s # gsize n; 1567s # guint signal_id; 1567s # GValue return_value = G_VALUE_INIT; 1567s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1567s # g_assert (info != NULL); 1567s # num_params = g_variant_n_children (parameters); 1567s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1567s # n = 0; 1567s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1567s # g_value_set_object (¶mv[n++], skeleton); 1567s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1567s # g_value_set_object (¶mv[n++], invocation); 1567s # if (info->pass_fdlist) 1567s # { 1567s # #ifdef G_OS_UNIX 1567s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1567s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1567s # #else 1567s # g_assert_not_reached (); 1567s # #endif 1567s # } 1567s # g_variant_iter_init (&iter, parameters); 1567s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1567s # { 1567s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1567s # if (arg_info->use_gvariant) 1567s # { 1567s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1567s # g_value_set_variant (¶mv[n], child); 1567s # n++; 1567s # } 1567s # else 1567s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1567s # g_variant_unref (child); 1567s # } 1567s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1567s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1567s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1567s # if (!g_value_get_boolean (&return_value)) 1567s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1567s # g_value_unset (&return_value); 1567s # for (n = 0; n < num_params + num_extra; n++) 1567s # g_value_unset (¶mv[n]); 1567s # g_free (paramv); 1567s # } 1567s # 1567s # static GVariant * 1567s # _org_project_useful_interface_skeleton_handle_get_property ( 1567s # GDBusConnection *connection G_GNUC_UNUSED, 1567s # const gchar *sender G_GNUC_UNUSED, 1567s # const gchar *object_path G_GNUC_UNUSED, 1567s # const gchar *interface_name G_GNUC_UNUSED, 1567s # const gchar *property_name, 1567s # GError **error, 1567s # gpointer user_data) 1567s # { 1567s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1567s # GValue value = G_VALUE_INIT; 1567s # GParamSpec *pspec; 1567s # _ExtendedGDBusPropertyInfo *info; 1567s # GVariant *ret; 1567s # ret = NULL; 1567s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1567s # g_assert (info != NULL); 1567s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1567s # if (pspec == NULL) 1567s # { 1567s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1567s # } 1567s # else 1567s # { 1567s # g_value_init (&value, pspec->value_type); 1567s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1567s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1567s # g_value_unset (&value); 1567s # } 1567s # return ret; 1567s # } 1567s # 1567s # static gboolean 1567s # _org_project_useful_interface_skeleton_handle_set_property ( 1567s # GDBusConnection *connection G_GNUC_UNUSED, 1567s # const gchar *sender G_GNUC_UNUSED, 1567s # const gchar *object_path G_GNUC_UNUSED, 1567s # const gchar *interface_name G_GNUC_UNUSED, 1567s # const gchar *property_name, 1567s # GVariant *variant, 1567s # GError **error, 1567s # gpointer user_data) 1567s # { 1567s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1567s # GValue value = G_VALUE_INIT; 1567s # GParamSpec *pspec; 1567s # _ExtendedGDBusPropertyInfo *info; 1567s # gboolean ret; 1567s # ret = FALSE; 1567s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1567s # g_assert (info != NULL); 1567s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1567s # if (pspec == NULL) 1567s # { 1567s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1567s # } 1567s # else 1567s # { 1567s # if (info->use_gvariant) 1567s # g_value_set_variant (&value, variant); 1567s # else 1567s # g_dbus_gvariant_to_gvalue (variant, &value); 1567s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1567s # g_value_unset (&value); 1567s # ret = TRUE; 1567s # } 1567s # return ret; 1567s # } 1567s # 1567s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1567s # { 1567s # _org_project_useful_interface_skeleton_handle_method_call, 1567s # _org_project_useful_interface_skeleton_handle_get_property, 1567s # _org_project_useful_interface_skeleton_handle_set_property, 1567s # {NULL} 1567s # }; 1567s # 1567s # static GDBusInterfaceInfo * 1567s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1567s # { 1567s # return org_project_useful_interface_interface_info (); 1567s # } 1567s # 1567s # static GDBusInterfaceVTable * 1567s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1567s # { 1567s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1567s # } 1567s # 1567s # static GVariant * 1567s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1567s # { 1567s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1567s # 1567s # GVariantBuilder builder; 1567s # guint n; 1567s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1567s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1567s # goto out; 1567s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1567s # { 1567s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1567s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1567s # { 1567s # GVariant *value; 1567s # 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); 1567s # if (value != NULL) 1567s # { 1567s # g_variant_take_ref (value); 1567s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1567s # g_variant_unref (value); 1567s # } 1567s # } 1567s # } 1567s # out: 1567s # return g_variant_builder_end (&builder); 1567s # } 1567s # 1567s # static void 1567s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1567s # { 1567s # } 1567s # 1567s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1567s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1567s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1567s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1567s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1567s # 1567s # #else 1567s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1567s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1567s # 1567s # #endif 1567s # static void 1567s # org_project_useful_interface_skeleton_finalize (GObject *object) 1567s # { 1567s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1567s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1567s # if (skeleton->priv->changed_properties_idle_source != NULL) 1567s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1567s # g_main_context_unref (skeleton->priv->context); 1567s # g_mutex_clear (&skeleton->priv->lock); 1567s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1567s # } 1567s # 1567s # static void 1567s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1567s # { 1567s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1567s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1567s # #else 1567s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1567s # #endif 1567s # 1567s # g_mutex_init (&skeleton->priv->lock); 1567s # skeleton->priv->context = g_main_context_ref_thread_default (); 1567s # } 1567s # 1567s # static void 1567s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1567s # { 1567s # GObjectClass *gobject_class; 1567s # GDBusInterfaceSkeletonClass *skeleton_class; 1567s # 1567s # gobject_class = G_OBJECT_CLASS (klass); 1567s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1567s # 1567s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1567s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1567s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1567s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1567s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1567s # 1567s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1567s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1567s # #endif 1567s # } 1567s # 1567s # static void 1567s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1567s # { 1567s # } 1567s # 1567s # /** 1567s # * org_project_useful_interface_skeleton_new: 1567s # * 1567s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1567s # * 1567s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1567s # */ 1567s # OrgProjectUsefulInterface * 1567s # org_project_useful_interface_skeleton_new (void) 1567s # { 1567s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1567s # } 1567s # /tmp/tmp6r0268hb/tmpsqvn7q5t.xml: 1567s # 1567s # 1567s # 1567s # 1567s # 1567s # 1567s # 1567s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp6r0268hb/tmpsqvn7q5t.xml', '--output', '-', '--body'] 1567s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-baqskmurxn,guid=fbaffe99d0ccb1f6e1beb84865fc01cd', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.YcZbqk/autopkgtest_tmp', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.YcZbqk/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.YcZbqk/autopkgtest_tmp', 'TERM': 'unknown', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.YcZbqk/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.sVTVMp0Db0', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.rqZsJO/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.YcZbqk/wrapper.sh --artifacts=/tmp/autopkgtest.YcZbqk/installed-tests-artifacts --chdir=/tmp/autopkgtest.YcZbqk/build.S0E/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.YcZbqk/installed-tests-stderr --stdout=/tmp/autopkgtest.YcZbqk/installed-tests-stdout --tmp=/tmp/autopkgtest.YcZbqk/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2' --make-executable=/tmp/autopkgtest.YcZbqk/build.S0E/src/debian/tests/installed-tests -- /tmp/autopkgtest.YcZbqk/build.S0E/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.YcZbqk/build.S0E/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.YcZbqk/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1567s # Output: /* 1567s # * This file is generated by gdbus-codegen, do not modify it. 1567s # * 1567s # * The license of this code is the same as for the D-Bus interface description 1567s # * it was derived from. Note that it links to GLib, so must comply with the 1567s # * LGPL linking clauses. 1567s # */ 1567s # 1567s # #ifdef HAVE_CONFIG_H 1567s # # include "config.h" 1567s # #endif 1567s # 1567s # #include 1567s # #ifdef G_OS_UNIX 1567s # # include 1567s # #endif 1567s # 1567s # #ifdef G_ENABLE_DEBUG 1567s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1567s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1567s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1567s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1567s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1567s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1567s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1567s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1567s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1567s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1567s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1567s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1567s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1567s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1567s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1567s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1567s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1567s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1567s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1567s # #else /* !G_ENABLE_DEBUG */ 1567s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1567s # * Do not access GValues directly in your code. Instead, use the 1567s # * g_value_get_*() functions 1567s # */ 1567s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1567s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1567s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1567s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1567s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1567s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1567s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1567s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1567s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1567s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1567s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1567s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1567s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1567s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1567s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1567s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1567s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1567s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1567s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1567s # #endif /* !G_ENABLE_DEBUG */ 1567s # 1567s # typedef struct 1567s # { 1567s # GDBusArgInfo parent_struct; 1567s # gboolean use_gvariant; 1567s # } _ExtendedGDBusArgInfo; 1567s # 1567s # typedef struct 1567s # { 1567s # GDBusMethodInfo parent_struct; 1567s # const gchar *signal_name; 1567s # gboolean pass_fdlist; 1567s # } _ExtendedGDBusMethodInfo; 1567s # 1567s # typedef struct 1567s # { 1567s # GDBusSignalInfo parent_struct; 1567s # const gchar *signal_name; 1567s # } _ExtendedGDBusSignalInfo; 1567s # 1567s # typedef struct 1567s # { 1567s # GDBusPropertyInfo parent_struct; 1567s # const gchar *hyphen_name; 1567s # guint use_gvariant : 1; 1567s # guint emits_changed_signal : 1; 1567s # } _ExtendedGDBusPropertyInfo; 1567s # 1567s # typedef struct 1567s # { 1567s # GDBusInterfaceInfo parent_struct; 1567s # const gchar *hyphen_name; 1567s # } _ExtendedGDBusInterfaceInfo; 1567s # 1567s # typedef struct 1567s # { 1567s # const _ExtendedGDBusPropertyInfo *info; 1567s # guint prop_id; 1567s # GValue orig_value; /* the value before the change */ 1567s # } ChangedProperty; 1567s # 1567s # static void 1567s # _changed_property_free (ChangedProperty *data) 1567s # { 1567s # g_value_unset (&data->orig_value); 1567s # g_free (data); 1567s # } 1567s # 1567s # static gboolean 1567s # _g_strv_equal0 (gchar **a, gchar **b) 1567s # { 1567s # gboolean ret = FALSE; 1567s # guint n; 1567s # if (a == NULL && b == NULL) 1567s # { 1567s # ret = TRUE; 1567s # goto out; 1567s # } 1567s # if (a == NULL || b == NULL) 1567s # goto out; 1567s # if (g_strv_length (a) != g_strv_length (b)) 1567s # goto out; 1567s # for (n = 0; a[n] != NULL; n++) 1567s # if (g_strcmp0 (a[n], b[n]) != 0) 1567s # goto out; 1567s # ret = TRUE; 1567s # out: 1567s # return ret; 1567s # } 1567s # 1567s # static gboolean 1567s # _g_variant_equal0 (GVariant *a, GVariant *b) 1567s # { 1567s # gboolean ret = FALSE; 1567s # if (a == NULL && b == NULL) 1567s # { 1567s # ret = TRUE; 1567s # goto out; 1567s # } 1567s # if (a == NULL || b == NULL) 1567s # goto out; 1567s # ret = g_variant_equal (a, b); 1567s # out: 1567s # return ret; 1567s # } 1567s # 1567s # G_GNUC_UNUSED static gboolean 1567s # _g_value_equal (const GValue *a, const GValue *b) 1567s # { 1567s # gboolean ret = FALSE; 1567s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1567s # switch (G_VALUE_TYPE (a)) 1567s # { 1567s # case G_TYPE_BOOLEAN: 1567s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1567s # break; 1567s # case G_TYPE_UCHAR: 1567s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1567s # break; 1567s # case G_TYPE_INT: 1567s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1567s # break; 1567s # case G_TYPE_UINT: 1567s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1567s # break; 1567s # case G_TYPE_INT64: 1567s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1567s # break; 1567s # case G_TYPE_UINT64: 1567s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1567s # break; 1567s # case G_TYPE_DOUBLE: 1567s # { 1567s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1567s # gdouble da = g_value_get_double (a); 1567s # gdouble db = g_value_get_double (b); 1567s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1567s # } 1567s # break; 1567s # case G_TYPE_STRING: 1567s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1567s # break; 1567s # case G_TYPE_VARIANT: 1567s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1567s # break; 1567s # default: 1567s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1567s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1567s # else 1567s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1567s # break; 1567s # } 1567s # return ret; 1567s # } 1567s # 1567s # static void 1567s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 1567s # GClosure *closure, 1567s # GValue *return_value, 1567s # unsigned int n_param_values, 1567s # const GValue *param_values, 1567s # void *invocation_hint G_GNUC_UNUSED, 1567s # void *marshal_data) 1567s # { 1567s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 1567s # (void *data1, 1567s # GDBusMethodInvocation *arg_method_invocation, 1567s # void *data2); 1567s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 1567s # GCClosure *cc = (GCClosure*) closure; 1567s # void *data1, *data2; 1567s # gboolean v_return; 1567s # 1567s # g_return_if_fail (return_value != NULL); 1567s # g_return_if_fail (n_param_values == 2); 1567s # 1567s # if (G_CCLOSURE_SWAP_DATA (closure)) 1567s # { 1567s # data1 = closure->data; 1567s # data2 = g_value_peek_pointer (param_values + 0); 1567s # } 1567s # else 1567s # { 1567s # data1 = g_value_peek_pointer (param_values + 0); 1567s # data2 = closure->data; 1567s # } 1567s # 1567s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 1567s # (marshal_data ? marshal_data : cc->callback); 1567s # 1567s # v_return = 1567s # callback (data1, 1567s # g_marshal_value_peek_object (param_values + 1), 1567s # data2); 1567s # 1567s # g_value_set_boolean (return_value, v_return); 1567s # } 1567s # 1567s # /* ------------------------------------------------------------------------ 1567s # * Code for interface org.project.UsefulInterface 1567s # * ------------------------------------------------------------------------ 1567s # */ 1567s # 1567s # /** 1567s # * SECTION:OrgProjectUsefulInterface 1567s # * @title: OrgProjectUsefulInterface 1567s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1567s # * 1567s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1567s # */ 1567s # 1567s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1567s # 1567s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_as_OUT_ARG_arg_as = 1567s # { 1567s # { 1567s # -1, 1567s # (gchar *) "arg_as", 1567s # (gchar *) "as", 1567s # NULL 1567s # }, 1567s # FALSE 1567s # }; 1567s # 1567s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_as_OUT_ARG_pointers[] = 1567s # { 1567s # &_org_project_useful_interface_method_info_single_arg_method_as_OUT_ARG_arg_as.parent_struct, 1567s # NULL 1567s # }; 1567s # 1567s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_as = 1567s # { 1567s # { 1567s # -1, 1567s # (gchar *) "SingleArgMethodAs", 1567s # NULL, 1567s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_as_OUT_ARG_pointers, 1567s # NULL 1567s # }, 1567s # "handle-single-arg-method-as", 1567s # FALSE 1567s # }; 1567s # 1567s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1567s # { 1567s # &_org_project_useful_interface_method_info_single_arg_method_as.parent_struct, 1567s # NULL 1567s # }; 1567s # 1567s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1567s # { 1567s # { 1567s # -1, 1567s # (gchar *) "org.project.UsefulInterface", 1567s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1567s # NULL, 1567s # NULL, 1567s # NULL 1567s # }, 1567s # "org-project-useful-interface", 1567s # }; 1567s # 1567s # 1567s # /** 1567s # * org_project_useful_interface_interface_info: 1567s # * 1567s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1567s # * 1567s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1567s # */ 1567s # GDBusInterfaceInfo * 1567s # org_project_useful_interface_interface_info (void) 1567s # { 1567s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1567s # } 1567s # 1567s # /** 1567s # * org_project_useful_interface_override_properties: 1567s # * @klass: The class structure for a #GObject derived class. 1567s # * @property_id_begin: The property id to assign to the first overridden property. 1567s # * 1567s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1567s # * The properties are overridden in the order they are defined. 1567s # * 1567s # * Returns: The last property id. 1567s # */ 1567s # guint 1567s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1567s # { 1567s # return property_id_begin - 1; 1567s # } 1567s # 1567s # 1567s # inline static void 1567s # org_project_useful_interface_method_marshal_single_arg_method_as ( 1567s # GClosure *closure, 1567s # GValue *return_value, 1567s # unsigned int n_param_values, 1567s # const GValue *param_values, 1567s # void *invocation_hint, 1567s # void *marshal_data) 1567s # { 1567s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1567s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1567s # } 1567s # 1567s # 1567s # /** 1567s # * OrgProjectUsefulInterface: 1567s # * 1567s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1567s # */ 1567s # 1567s # /** 1567s # * OrgProjectUsefulInterfaceIface: 1567s # * @parent_iface: The parent interface. 1567s # * @handle_single_arg_method_as: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-as signal. 1567s # * 1567s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1567s # */ 1567s # 1567s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1567s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1567s # 1567s # static void 1567s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1567s # { 1567s # /* GObject signals for incoming D-Bus method calls: */ 1567s # /** 1567s # * OrgProjectUsefulInterface::handle-single-arg-method-as: 1567s # * @object: A #OrgProjectUsefulInterface. 1567s # * @invocation: A #GDBusMethodInvocation. 1567s # * 1567s # * Signal emitted when a remote caller is invoking the SingleArgMethodAs() D-Bus method. 1567s # * 1567s # * 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. 1567s # * 1567s # * 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. 1567s # */ 1567s # g_signal_new ("handle-single-arg-method-as", 1567s # G_TYPE_FROM_INTERFACE (iface), 1567s # G_SIGNAL_RUN_LAST, 1567s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_as), 1567s # g_signal_accumulator_true_handled, 1567s # NULL, 1567s # org_project_useful_interface_method_marshal_single_arg_method_as, 1567s # G_TYPE_BOOLEAN, 1567s # 1, 1567s # G_TYPE_DBUS_METHOD_INVOCATION); 1567s # 1567s # } 1567s # 1567s # /** 1567s # * org_project_useful_interface_call_single_arg_method_as: 1567s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1567s # * @cancellable: (nullable): A #GCancellable or %NULL. 1567s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1567s # * @user_data: User data to pass to @callback. 1567s # * 1567s # * Asynchronously invokes the SingleArgMethodAs() D-Bus method on @proxy. 1567s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1567s # * You can then call org_project_useful_interface_call_single_arg_method_as_finish() to get the result of the operation. 1567s # * 1567s # * See org_project_useful_interface_call_single_arg_method_as_sync() for the synchronous, blocking version of this method. 1567s # */ 1567s # void 1567s # org_project_useful_interface_call_single_arg_method_as ( 1567s # OrgProjectUsefulInterface *proxy, 1567s # GCancellable *cancellable, 1567s # GAsyncReadyCallback callback, 1567s # gpointer user_data) 1567s # { 1567s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1567s # "SingleArgMethodAs", 1567s # g_variant_new ("()"), 1567s # G_DBUS_CALL_FLAGS_NONE, 1567s # -1, 1567s # cancellable, 1567s # callback, 1567s # user_data); 1567s # } 1567s # 1567s # /** 1567s # * org_project_useful_interface_call_single_arg_method_as_finish: 1567s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1567s # * @out_arg_as: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 1567s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_as(). 1567s # * @error: Return location for error or %NULL. 1567s # * 1567s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_as(). 1567s # * 1567s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1567s # */ 1567s # gboolean 1567s # org_project_useful_interface_call_single_arg_method_as_finish ( 1567s # OrgProjectUsefulInterface *proxy, 1567s # gchar ***out_arg_as, 1567s # GAsyncResult *res, 1567s # GError **error) 1567s # { 1567s # GVariant *_ret; 1567s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1567s # if (_ret == NULL) 1567s # goto _out; 1567s # g_variant_get (_ret, 1567s # "(^as)", 1567s # out_arg_as); 1567s # g_variant_unref (_ret); 1567s # _out: 1567s # return _ret != NULL; 1567s # } 1567s # 1567s # /** 1567s # * org_project_useful_interface_call_single_arg_method_as_sync: 1567s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1567s # * @out_arg_as: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 1567s # * @cancellable: (nullable): A #GCancellable or %NULL. 1567s # * @error: Return location for error or %NULL. 1567s # * 1567s # * Synchronously invokes the SingleArgMethodAs() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1567s # * 1567s # * See org_project_useful_interface_call_single_arg_method_as() for the asynchronous version of this method. 1567s # * 1567s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1567s # */ 1567s # gboolean 1567s # org_project_useful_interface_call_single_arg_method_as_sync ( 1567s # OrgProjectUsefulInterface *proxy, 1567s # gchar ***out_arg_as, 1567s # GCancellable *cancellable, 1567s # GError **error) 1567s # { 1567s # GVariant *_ret; 1567s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1567s # "SingleArgMethodAs", 1567s # g_variant_new ("()"), 1567s # G_DBUS_CALL_FLAGS_NONE, 1567s # -1, 1567s # cancellable, 1567s # error); 1567s # if (_ret == NULL) 1567s # goto _out; 1567s # g_variant_get (_ret, 1567s # "(^as)", 1567s # out_arg_as); 1567s # g_variant_unref (_ret); 1567s # _out: 1567s # return _ret != NULL; 1567s # } 1567s # 1567s # /** 1567s # * org_project_useful_interface_complete_single_arg_method_as: 1567s # * @object: A #OrgProjectUsefulInterface. 1567s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1567s # * @arg_as: Parameter to return. 1567s # * 1567s # * 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. 1567s # * 1567s # * This method will free @invocation, you cannot use it afterwards. 1567s # */ 1567s # void 1567s # org_project_useful_interface_complete_single_arg_method_as ( 1567s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1567s # GDBusMethodInvocation *invocation, 1567s # const gchar *const *arg_as) 1567s # { 1567s # g_dbus_method_invocation_return_value (invocation, 1567s # g_variant_new ("(^as)", 1567s # arg_as)); 1567s # } 1567s # 1567s # /* ------------------------------------------------------------------------ */ 1567s # 1567s # /** 1567s # * OrgProjectUsefulInterfaceProxy: 1567s # * 1567s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1567s # */ 1567s # 1567s # /** 1567s # * OrgProjectUsefulInterfaceProxyClass: 1567s # * @parent_class: The parent class. 1567s # * 1567s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1567s # */ 1567s # 1567s # struct _OrgProjectUsefulInterfaceProxyPrivate 1567s # { 1567s # GData *qdata; 1567s # }; 1567s # 1567s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1567s # 1567s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1567s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1567s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1567s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1567s # 1567s # #else 1567s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1567s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1567s # 1567s # #endif 1567s # static void 1567s # org_project_useful_interface_proxy_finalize (GObject *object) 1567s # { 1567s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1567s # g_datalist_clear (&proxy->priv->qdata); 1567s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1567s # } 1567s # 1567s # static void 1567s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1567s # guint prop_id G_GNUC_UNUSED, 1567s # GValue *value G_GNUC_UNUSED, 1567s # GParamSpec *pspec G_GNUC_UNUSED) 1567s # { 1567s # } 1567s # 1567s # static void 1567s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1567s # guint prop_id G_GNUC_UNUSED, 1567s # const GValue *value G_GNUC_UNUSED, 1567s # GParamSpec *pspec G_GNUC_UNUSED) 1567s # { 1567s # } 1567s # 1567s # static void 1567s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1567s # const gchar *sender_name G_GNUC_UNUSED, 1567s # const gchar *signal_name, 1567s # GVariant *parameters) 1567s # { 1567s # _ExtendedGDBusSignalInfo *info; 1567s # GVariantIter iter; 1567s # GVariant *child; 1567s # GValue *paramv; 1567s # gsize num_params; 1567s # gsize n; 1567s # guint signal_id; 1567s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1567s # if (info == NULL) 1567s # return; 1567s # num_params = g_variant_n_children (parameters); 1567s # paramv = g_new0 (GValue, num_params + 1); 1567s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1567s # g_value_set_object (¶mv[0], proxy); 1567s # g_variant_iter_init (&iter, parameters); 1567s # n = 1; 1567s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1567s # { 1567s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1567s # if (arg_info->use_gvariant) 1567s # { 1567s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1567s # g_value_set_variant (¶mv[n], child); 1567s # n++; 1567s # } 1567s # else 1567s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1567s # g_variant_unref (child); 1567s # } 1567s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1567s # g_signal_emitv (paramv, signal_id, 0, NULL); 1567s # for (n = 0; n < num_params + 1; n++) 1567s # g_value_unset (¶mv[n]); 1567s # g_free (paramv); 1567s # } 1567s # 1567s # static void 1567s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1567s # GVariant *changed_properties, 1567s # const gchar *const *invalidated_properties) 1567s # { 1567s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1567s # guint n; 1567s # const gchar *key; 1567s # GVariantIter *iter; 1567s # _ExtendedGDBusPropertyInfo *info; 1567s # g_variant_get (changed_properties, "a{sv}", &iter); 1567s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1567s # { 1567s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1567s # g_datalist_remove_data (&proxy->priv->qdata, key); 1567s # if (info != NULL) 1567s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1567s # } 1567s # g_variant_iter_free (iter); 1567s # for (n = 0; invalidated_properties[n] != NULL; n++) 1567s # { 1567s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1567s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1567s # if (info != NULL) 1567s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1567s # } 1567s # } 1567s # 1567s # static void 1567s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1567s # { 1567s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1567s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1567s # #else 1567s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1567s # #endif 1567s # 1567s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1567s # } 1567s # 1567s # static void 1567s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1567s # { 1567s # GObjectClass *gobject_class; 1567s # GDBusProxyClass *proxy_class; 1567s # 1567s # gobject_class = G_OBJECT_CLASS (klass); 1567s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1567s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1567s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1567s # 1567s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1567s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1567s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1567s # 1567s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1567s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1567s # #endif 1567s # } 1567s # 1567s # static void 1567s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1567s # { 1567s # } 1567s # 1567s # /** 1567s # * org_project_useful_interface_proxy_new: 1567s # * @connection: A #GDBusConnection. 1567s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1567s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1567s # * @object_path: An object path. 1567s # * @cancellable: (nullable): A #GCancellable or %NULL. 1567s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1567s # * @user_data: User data to pass to @callback. 1567s # * 1567s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1567s # * 1567s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1567s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1567s # * 1567s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1567s # */ 1567s # void 1567s # org_project_useful_interface_proxy_new ( 1567s # GDBusConnection *connection, 1567s # GDBusProxyFlags flags, 1567s # const gchar *name, 1567s # const gchar *object_path, 1567s # GCancellable *cancellable, 1567s # GAsyncReadyCallback callback, 1567s # gpointer user_data) 1567s # { 1567s # g_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); 1567s # } 1567s # 1567s # /** 1567s # * org_project_useful_interface_proxy_new_finish: 1567s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1567s # * @error: Return location for error or %NULL 1567s # * 1567s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1567s # * 1567s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1567s # */ 1567s # OrgProjectUsefulInterface * 1567s # org_project_useful_interface_proxy_new_finish ( 1567s # GAsyncResult *res, 1567s # GError **error) 1567s # { 1567s # GObject *ret; 1567s # GObject *source_object; 1567s # source_object = g_async_result_get_source_object (res); 1567s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1567s # g_object_unref (source_object); 1567s # if (ret != NULL) 1567s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1567s # else 1567s # return NULL; 1567s # } 1567s # 1567s # /** 1567s # * org_project_useful_interface_proxy_new_sync: 1567s # * @connection: A #GDBusConnection. 1567s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1567s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1567s # * @object_path: An object path. 1567s # * @cancellable: (nullable): A #GCancellable or %NULL. 1567s # * @error: Return location for error or %NULL 1567s # * 1567s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1567s # * 1567s # * The calling thread is blocked until a reply is received. 1567s # * 1567s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1567s # * 1567s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1567s # */ 1567s # OrgProjectUsefulInterface * 1567s # org_project_useful_interface_proxy_new_sync ( 1567s # GDBusConnection *connection, 1567s # GDBusProxyFlags flags, 1567s # const gchar *name, 1567s # const gchar *object_path, 1567s # GCancellable *cancellable, 1567s # GError **error) 1567s # { 1567s # GInitable *ret; 1567s # 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); 1567s # if (ret != NULL) 1567s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1567s # else 1567s # return NULL; 1567s # } 1567s # 1567s # 1567s # /** 1567s # * org_project_useful_interface_proxy_new_for_bus: 1567s # * @bus_type: A #GBusType. 1567s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1567s # * @name: A bus name (well-known or unique). 1567s # * @object_path: An object path. 1567s # * @cancellable: (nullable): A #GCancellable or %NULL. 1567s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1567s # * @user_data: User data to pass to @callback. 1567s # * 1567s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1567s # * 1567s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1567s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1567s # * 1567s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1567s # */ 1567s # void 1567s # org_project_useful_interface_proxy_new_for_bus ( 1567s # GBusType bus_type, 1567s # GDBusProxyFlags flags, 1567s # const gchar *name, 1567s # const gchar *object_path, 1567s # GCancellable *cancellable, 1567s # GAsyncReadyCallback callback, 1567s # gpointer user_data) 1567s # { 1567s # g_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); 1567s # } 1567s # 1567s # /** 1567s # * org_project_useful_interface_proxy_new_for_bus_finish: 1567s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1567s # * @error: Return location for error or %NULL 1567s # * 1567s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1567s # * 1567s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1567s # */ 1567s # OrgProjectUsefulInterface * 1567s # org_project_useful_interface_proxy_new_for_bus_finish ( 1567s # GAsyncResult *res, 1567s # GError **error) 1567s # { 1567s # GObject *ret; 1567s # GObject *source_object; 1567s # source_object = g_async_result_get_source_object (res); 1567s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1567s # g_object_unref (source_object); 1567s # if (ret != NULL) 1567s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1567s # else 1567s # return NULL; 1567s # } 1567s # 1567s # /** 1567s # * org_project_useful_interface_proxy_new_for_bus_sync: 1567s # * @bus_type: A #GBusType. 1567s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1567s # * @name: A bus name (well-known or unique). 1567s # * @object_path: An object path. 1567s # * @cancellable: (nullable): A #GCancellable or %NULL. 1567s # * @error: Return location for error or %NULL 1567s # * 1567s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1567s # * 1567s # * The calling thread is blocked until a reply is received. 1567s # * 1567s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1567s # * 1567s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1567s # */ 1567s # OrgProjectUsefulInterface * 1567s # org_project_useful_interface_proxy_new_for_bus_sync ( 1567s # GBusType bus_type, 1567s # GDBusProxyFlags flags, 1567s # const gchar *name, 1567s # const gchar *object_path, 1567s # GCancellable *cancellable, 1567s # GError **error) 1567s # { 1567s # GInitable *ret; 1567s # 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); 1567s # if (ret != NULL) 1567s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1567s # else 1567s # return NULL; 1567s # } 1567s # 1567s # 1567s # /* ------------------------------------------------------------------------ */ 1567s # 1567s # /** 1567s # * OrgProjectUsefulInterfaceSkeleton: 1567s # * 1567s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1567s # */ 1567s # 1567s # /** 1567s # * OrgProjectUsefulInterfaceSkeletonClass: 1567s # * @parent_class: The parent class. 1567s # * 1567s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1567s # */ 1567s # 1567s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1567s # { 1567s # GValue *properties; 1567s # GList *changed_properties; 1567s # GSource *changed_properties_idle_source; 1567s # GMainContext *context; 1567s # GMutex lock; 1567s # }; 1567s # 1567s # static void 1567s # _org_project_useful_interface_skeleton_handle_method_call ( 1567s # GDBusConnection *connection G_GNUC_UNUSED, 1567s # const gchar *sender G_GNUC_UNUSED, 1567s # const gchar *object_path G_GNUC_UNUSED, 1567s # const gchar *interface_name, 1567s # const gchar *method_name, 1567s # GVariant *parameters, 1567s # GDBusMethodInvocation *invocation, 1567s # gpointer user_data) 1567s # { 1567s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1567s # _ExtendedGDBusMethodInfo *info; 1567s # GVariantIter iter; 1567s # GVariant *child; 1567s # GValue *paramv; 1567s # gsize num_params; 1567s # guint num_extra; 1567s # gsize n; 1567s # guint signal_id; 1567s # GValue return_value = G_VALUE_INIT; 1567s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1567s # g_assert (info != NULL); 1567s # num_params = g_variant_n_children (parameters); 1567s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1567s # n = 0; 1567s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1567s # g_value_set_object (¶mv[n++], skeleton); 1567s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1567s # g_value_set_object (¶mv[n++], invocation); 1567s # if (info->pass_fdlist) 1567s # { 1567s # #ifdef G_OS_UNIX 1567s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1567s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1567s # #else 1567s # g_assert_not_reached (); 1567s # #endif 1567s # } 1567s # g_variant_iter_init (&iter, parameters); 1567s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1567s # { 1567s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1567s # if (arg_info->use_gvariant) 1567s # { 1567s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1567s # g_value_set_variant (¶mv[n], child); 1567s # n++; 1567s # } 1567s # else 1567s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1567s # g_variant_unref (child); 1567s # } 1567s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1567s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1567s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1567s # if (!g_value_get_boolean (&return_value)) 1567s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1567s # g_value_unset (&return_value); 1567s # for (n = 0; n < num_params + num_extra; n++) 1567s # g_value_unset (¶mv[n]); 1567s # g_free (paramv); 1567s # } 1567s # 1567s # static GVariant * 1567s # _org_project_useful_interface_skeleton_handle_get_property ( 1567s # GDBusConnection *connection G_GNUC_UNUSED, 1567s # const gchar *sender G_GNUC_UNUSED, 1567s # const gchar *object_path G_GNUC_UNUSED, 1567s # const gchar *interface_name G_GNUC_UNUSED, 1567s # const gchar *property_name, 1567s # GError **error, 1567s # gpointer user_data) 1567s # { 1567s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1567s # GValue value = G_VALUE_INIT; 1567s # GParamSpec *pspec; 1567s # _ExtendedGDBusPropertyInfo *info; 1567s # GVariant *ret; 1567s # ret = NULL; 1567s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1567s # g_assert (info != NULL); 1567s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1567s # if (pspec == NULL) 1567s # { 1567s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1567s # } 1567s # else 1567s # { 1567s # g_value_init (&value, pspec->value_type); 1567s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1567s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1567s # g_value_unset (&value); 1567s # } 1567s # return ret; 1567s # } 1567s # 1567s # static gboolean 1567s # _org_project_useful_interface_skeleton_handle_set_property ( 1567s # GDBusConnection *connection G_GNUC_UNUSED, 1567s # const gchar *sender G_GNUC_UNUSED, 1567s # const gchar *object_path G_GNUC_UNUSED, 1567s # const gchar *interface_name G_GNUC_UNUSED, 1567s # const gchar *property_name, 1567s # GVariant *variant, 1567s # GError **error, 1567s # gpointer user_data) 1567s # { 1567s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1567s # GValue value = G_VALUE_INIT; 1567s # GParamSpec *pspec; 1567s # _ExtendedGDBusPropertyInfo *info; 1567s # gboolean ret; 1567s # ret = FALSE; 1567s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1567s # g_assert (info != NULL); 1567s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1567s # if (pspec == NULL) 1567s # { 1567s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1567s # } 1567s # else 1567s # { 1567s # if (info->use_gvariant) 1567s # g_value_set_variant (&value, variant); 1567s # else 1567s # g_dbus_gvariant_to_gvalue (variant, &value); 1567s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1567s # g_value_unset (&value); 1567s # ret = TRUE; 1567s # } 1567s # return ret; 1567s # } 1567s # 1567s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1567s # { 1567s # _org_project_useful_interface_skeleton_handle_method_call, 1567s # _org_project_useful_interface_skeleton_handle_get_property, 1567s # _org_project_useful_interface_skeleton_handle_set_property, 1567s # {NULL} 1567s # }; 1567s # 1567s # static GDBusInterfaceInfo * 1567s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1567s # { 1567s # return org_project_useful_interface_interface_info (); 1567s # } 1567s # 1567s # static GDBusInterfaceVTable * 1567s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1567s # { 1567s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1567s # } 1567s # 1567s # static GVariant * 1567s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1567s # { 1567s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1567s # 1567s # GVariantBuilder builder; 1567s # guint n; 1567s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1567s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1567s # goto out; 1567s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1567s # { 1567s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1567s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1567s # { 1567s # GVariant *value; 1567s # 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); 1567s # if (value != NULL) 1567s # { 1567s # g_variant_take_ref (value); 1567s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1567s # g_variant_unref (value); 1567s # } 1567s # } 1567s # } 1567s # out: 1567s # return g_variant_builder_end (&builder); 1567s # } 1567s # 1567s # static void 1567s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1567s # { 1567s # } 1567s # 1567s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1567s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1567s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1567s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1567s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1567s # 1567s # #else 1567s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1567s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1567s # 1567s # #endif 1567s # static void 1567s # org_project_useful_interface_skeleton_finalize (GObject *object) 1567s # { 1567s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1567s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1567s # if (skeleton->priv->changed_properties_idle_source != NULL) 1567s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1567s # g_main_context_unref (skeleton->priv->context); 1567s # g_mutex_clear (&skeleton->priv->lock); 1567s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1567s # } 1567s # 1567s # static void 1567s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1567s # { 1567s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1567s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1567s # #else 1567s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1567s # #endif 1567s # 1567s # g_mutex_init (&skeleton->priv->lock); 1567s # skeleton->priv->context = g_main_context_ref_thread_default (); 1567s # } 1567s # 1567s # static void 1567s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1567s # { 1567s # GObjectClass *gobject_class; 1567s # GDBusInterfaceSkeletonClass *skeleton_class; 1567s # 1567s # gobject_class = G_OBJECT_CLASS (klass); 1567s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1567s # 1567s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1567s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1567s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1567s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1567s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1567s # 1567s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1567s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1567s # #endif 1567s # } 1567s # 1567s # static void 1567s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1567s # { 1567s # } 1567s # 1567s # /** 1567s # * org_project_useful_interface_skeleton_new: 1567s # * 1567s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1567s # * 1567s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1567s # */ 1567s # OrgProjectUsefulInterface * 1567s # org_project_useful_interface_skeleton_new (void) 1567s # { 1567s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1567s # } 1567s # /tmp/tmp6r0268hb/tmpvqrxults.xml: 1567s # 1567s # 1567s # 1567s # 1567s # 1567s # 1567s # 1567s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp6r0268hb/tmpvqrxults.xml', '--output', '-', '--body'] 1567s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-baqskmurxn,guid=fbaffe99d0ccb1f6e1beb84865fc01cd', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.YcZbqk/autopkgtest_tmp', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.YcZbqk/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.YcZbqk/autopkgtest_tmp', 'TERM': 'unknown', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.YcZbqk/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.sVTVMp0Db0', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.rqZsJO/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.YcZbqk/wrapper.sh --artifacts=/tmp/autopkgtest.YcZbqk/installed-tests-artifacts --chdir=/tmp/autopkgtest.YcZbqk/build.S0E/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.YcZbqk/installed-tests-stderr --stdout=/tmp/autopkgtest.YcZbqk/installed-tests-stdout --tmp=/tmp/autopkgtest.YcZbqk/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2' --make-executable=/tmp/autopkgtest.YcZbqk/build.S0E/src/debian/tests/installed-tests -- /tmp/autopkgtest.YcZbqk/build.S0E/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.YcZbqk/build.S0E/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.YcZbqk/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1567s # Output: /* 1567s # * This file is generated by gdbus-codegen, do not modify it. 1567s # * 1567s # * The license of this code is the same as for the D-Bus interface description 1567s # * it was derived from. Note that it links to GLib, so must comply with the 1567s # * LGPL linking clauses. 1567s # */ 1567s # 1567s # #ifdef HAVE_CONFIG_H 1567s # # include "config.h" 1567s # #endif 1567s # 1567s # #include 1567s # #ifdef G_OS_UNIX 1567s # # include 1567s # #endif 1567s # 1567s # #ifdef G_ENABLE_DEBUG 1567s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1567s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1567s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1567s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1567s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1567s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1567s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1567s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1567s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1567s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1567s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1567s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1567s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1567s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1567s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1567s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1567s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1567s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1567s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1567s # #else /* !G_ENABLE_DEBUG */ 1567s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1567s # * Do not access GValues directly in your code. Instead, use the 1567s # * g_value_get_*() functions 1567s # */ 1567s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1567s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1567s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1567s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1567s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1567s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1567s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1567s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1567s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1567s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1567s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1567s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1567s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1567s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1567s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1567s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1567s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1567s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1567s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1567s # #endif /* !G_ENABLE_DEBUG */ 1567s # 1567s # typedef struct 1567s # { 1567s # GDBusArgInfo parent_struct; 1567s # gboolean use_gvariant; 1567s # } _ExtendedGDBusArgInfo; 1567s # 1567s # typedef struct 1567s # { 1567s # GDBusMethodInfo parent_struct; 1567s # const gchar *signal_name; 1567s # gboolean pass_fdlist; 1567s # } _ExtendedGDBusMethodInfo; 1567s # 1567s # typedef struct 1567s # { 1567s # GDBusSignalInfo parent_struct; 1567s # const gchar *signal_name; 1567s # } _ExtendedGDBusSignalInfo; 1567s # 1567s # typedef struct 1567s # { 1567s # GDBusPropertyInfo parent_struct; 1567s # const gchar *hyphen_name; 1567s # guint use_gvariant : 1; 1567s # guint emits_changed_signal : 1; 1567s # } _ExtendedGDBusPropertyInfo; 1567s # 1567s # typedef struct 1567s # { 1567s # GDBusInterfaceInfo parent_struct; 1567s # const gchar *hyphen_name; 1567s # } _ExtendedGDBusInterfaceInfo; 1567s # 1567s # typedef struct 1567s # { 1567s # const _ExtendedGDBusPropertyInfo *info; 1567s # guint prop_id; 1567s # GValue orig_value; /* the value before the change */ 1567s # } ChangedProperty; 1567s # 1567s # static void 1567s # _changed_property_free (ChangedProperty *data) 1567s # { 1567s # g_value_unset (&data->orig_value); 1567s # g_free (data); 1567s # } 1567s # 1567s # static gboolean 1567s # _g_strv_equal0 (gchar **a, gchar **b) 1567s # { 1567s # gboolean ret = FALSE; 1567s # guint n; 1567s # if (a == NULL && b == NULL) 1567s # { 1567s # ret = TRUE; 1567s # goto out; 1567s # } 1567s # if (a == NULL || b == NULL) 1567s # goto out; 1567s # if (g_strv_length (a) != g_strv_length (b)) 1567s # goto out; 1567s # for (n = 0; a[n] != NULL; n++) 1567s # if (g_strcmp0 (a[n], b[n]) != 0) 1567s # goto out; 1567s # ret = TRUE; 1567s # out: 1567s # return ret; 1567s # } 1567s # 1567s # static gboolean 1567s # _g_variant_equal0 (GVariant *a, GVariant *b) 1567s # { 1567s # gboolean ret = FALSE; 1567s # if (a == NULL && b == NULL) 1567s # { 1567s # ret = TRUE; 1567s # goto out; 1567s # } 1567s # if (a == NULL || b == NULL) 1567s # goto out; 1567s # ret = g_variant_equal (a, b); 1567s # out: 1567s # return ret; 1567s # } 1567s # 1567s # G_GNUC_UNUSED static gboolean 1567s # _g_value_equal (const GValue *a, const GValue *b) 1567s # { 1567s # gboolean ret = FALSE; 1567s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1567s # switch (G_VALUE_TYPE (a)) 1567s # { 1567s # case G_TYPE_BOOLEAN: 1567s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1567s # break; 1567s # case G_TYPE_UCHAR: 1567s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1567s # break; 1567s # case G_TYPE_INT: 1567s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1567s # break; 1567s # case G_TYPE_UINT: 1567s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1567s # break; 1567s # case G_TYPE_INT64: 1567s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1567s # break; 1567s # case G_TYPE_UINT64: 1567s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1567s # break; 1567s # case G_TYPE_DOUBLE: 1567s # { 1567s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1567s # gdouble da = g_value_get_double (a); 1567s # gdouble db = g_value_get_double (b); 1567s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1567s # } 1567s # break; 1567s # case G_TYPE_STRING: 1567s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1567s # break; 1567s # case G_TYPE_VARIANT: 1567s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1567s # break; 1567s # default: 1567s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1567s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1567s # else 1567s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1567s # break; 1567s # } 1567s # return ret; 1567s # } 1567s # 1567s # static void 1567s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 1567s # GClosure *closure, 1567s # GValue *return_value, 1567s # unsigned int n_param_values, 1567s # const GValue *param_values, 1567s # void *invocation_hint G_GNUC_UNUSED, 1567s # void *marshal_data) 1567s # { 1567s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 1567s # (void *data1, 1567s # GDBusMethodInvocation *arg_method_invocation, 1567s # void *data2); 1567s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 1567s # GCClosure *cc = (GCClosure*) closure; 1567s # void *data1, *data2; 1567s # gboolean v_return; 1567s # 1567s # g_return_if_fail (return_value != NULL); 1567s # g_return_if_fail (n_param_values == 2); 1567s # 1567s # if (G_CCLOSURE_SWAP_DATA (closure)) 1567s # { 1567s # data1 = closure->data; 1567s # data2 = g_value_peek_pointer (param_values + 0); 1567s # } 1567s # else 1567s # { 1567s # data1 = g_value_peek_pointer (param_values + 0); 1567s # data2 = closure->data; 1567s # } 1567s # 1567s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 1567s # (marshal_data ? marshal_data : cc->callback); 1567s # 1567s # v_return = 1567s # callback (data1, 1567s # g_marshal_value_peek_object (param_values + 1), 1567s # data2); 1567s # 1567s # g_value_set_boolean (return_value, v_return); 1567s # } 1567s # 1567s # /* ------------------------------------------------------------------------ 1567s # * Code for interface org.project.UsefulInterface 1567s # * ------------------------------------------------------------------------ 1567s # */ 1567s # 1567s # /** 1567s # * SECTION:OrgProjectUsefulInterface 1567s # * @title: OrgProjectUsefulInterface 1567s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1567s # * 1567s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1567s # */ 1567s # 1567s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1567s # 1567s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_ao_OUT_ARG_arg_ao = 1567s # { 1567s # { 1567s # -1, 1567s # (gchar *) "arg_ao", 1567s # (gchar *) "ao", 1567s # NULL 1567s # }, 1567s # FALSE 1567s # }; 1567s # 1567s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_ao_OUT_ARG_pointers[] = 1567s # { 1567s # &_org_project_useful_interface_method_info_single_arg_method_ao_OUT_ARG_arg_ao.parent_struct, 1567s # NULL 1567s # }; 1567s # 1567s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_ao = 1567s # { 1567s # { 1567s # -1, 1567s # (gchar *) "SingleArgMethodAo", 1567s # NULL, 1567s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_ao_OUT_ARG_pointers, 1567s # NULL 1567s # }, 1567s # "handle-single-arg-method-ao", 1567s # FALSE 1567s # }; 1567s # 1567s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1567s # { 1567s # &_org_project_useful_interface_method_info_single_arg_method_ao.parent_struct, 1567s # NULL 1567s # }; 1567s # 1567s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1567s # { 1567s # { 1567s # -1, 1567s # (gchar *) "org.project.UsefulInterface", 1567s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1567s # NULL, 1567s # NULL, 1567s # NULL 1567s # }, 1567s # "org-project-useful-interface", 1567s # }; 1567s # 1567s # 1567s # /** 1567s # * org_project_useful_interface_interface_info: 1567s # * 1567s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1567s # * 1567s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1567s # */ 1567s # GDBusInterfaceInfo * 1567s # org_project_useful_interface_interface_info (void) 1567s # { 1567s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1567s # } 1567s # 1567s # /** 1567s # * org_project_useful_interface_override_properties: 1567s # * @klass: The class structure for a #GObject derived class. 1567s # * @property_id_begin: The property id to assign to the first overridden property. 1567s # * 1567s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1567s # * The properties are overridden in the order they are defined. 1567s # * 1567s # * Returns: The last property id. 1567s # */ 1567s # guint 1567s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1567s # { 1567s # return property_id_begin - 1; 1567s # } 1567s # 1567s # 1567s # inline static void 1567s # org_project_useful_interface_method_marshal_single_arg_method_ao ( 1567s # GClosure *closure, 1567s # GValue *return_value, 1567s # unsigned int n_param_values, 1567s # const GValue *param_values, 1567s # void *invocation_hint, 1567s # void *marshal_data) 1567s # { 1567s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1567s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1567s # } 1567s # 1567s # 1567s # /** 1567s # * OrgProjectUsefulInterface: 1567s # * 1567s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1567s # */ 1567s # 1567s # /** 1567s # * OrgProjectUsefulInterfaceIface: 1567s # * @parent_iface: The parent interface. 1567s # * @handle_single_arg_method_ao: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-ao signal. 1567s # * 1567s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1567s # */ 1567s # 1567s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1567s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1567s # 1567s # static void 1567s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1567s # { 1567s # /* GObject signals for incoming D-Bus method calls: */ 1567s # /** 1567s # * OrgProjectUsefulInterface::handle-single-arg-method-ao: 1567s # * @object: A #OrgProjectUsefulInterface. 1567s # * @invocation: A #GDBusMethodInvocation. 1567s # * 1567s # * Signal emitted when a remote caller is invoking the SingleArgMethodAo() D-Bus method. 1567s # * 1567s # * 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. 1567s # * 1567s # * 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. 1567s # */ 1567s # g_signal_new ("handle-single-arg-method-ao", 1567s # G_TYPE_FROM_INTERFACE (iface), 1567s # G_SIGNAL_RUN_LAST, 1567s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_ao), 1567s # g_signal_accumulator_true_handled, 1567s # NULL, 1567s # org_project_useful_interface_method_marshal_single_arg_method_ao, 1567s # G_TYPE_BOOLEAN, 1567s # 1, 1567s # G_TYPE_DBUS_METHOD_INVOCATION); 1567s # 1567s # } 1567s # 1567s # /** 1567s # * org_project_useful_interface_call_single_arg_method_ao: 1567s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1567s # * @cancellable: (nullable): A #GCancellable or %NULL. 1567s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1567s # * @user_data: User data to pass to @callback. 1567s # * 1567s # * Asynchronously invokes the SingleArgMethodAo() D-Bus method on @proxy. 1567s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1567s # * You can then call org_project_useful_interface_call_single_arg_method_ao_finish() to get the result of the operation. 1567s # * 1567s # * See org_project_useful_interface_call_single_arg_method_ao_sync() for the synchronous, blocking version of this method. 1567s # */ 1567s # void 1567s # org_project_useful_interface_call_single_arg_method_ao ( 1567s # OrgProjectUsefulInterface *proxy, 1567s # GCancellable *cancellable, 1567s # GAsyncReadyCallback callback, 1567s # gpointer user_data) 1567s # { 1567s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1567s # "SingleArgMethodAo", 1567s # g_variant_new ("()"), 1567s # G_DBUS_CALL_FLAGS_NONE, 1567s # -1, 1567s # cancellable, 1567s # callback, 1567s # user_data); 1567s # } 1567s # 1567s # /** 1567s # * org_project_useful_interface_call_single_arg_method_ao_finish: 1567s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1567s # * @out_arg_ao: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 1567s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_ao(). 1567s # * @error: Return location for error or %NULL. 1567s # * 1567s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_ao(). 1567s # * 1567s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1567s # */ 1567s # gboolean 1567s # org_project_useful_interface_call_single_arg_method_ao_finish ( 1567s # OrgProjectUsefulInterface *proxy, 1567s # gchar ***out_arg_ao, 1567s # GAsyncResult *res, 1567s # GError **error) 1567s # { 1567s # GVariant *_ret; 1567s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1567s # if (_ret == NULL) 1567s # goto _out; 1567s # g_variant_get (_ret, 1567s # "(^ao)", 1567s # out_arg_ao); 1567s # g_variant_unref (_ret); 1567s # _out: 1567s # return _ret != NULL; 1567s # } 1567s # 1567s # /** 1567s # * org_project_useful_interface_call_single_arg_method_ao_sync: 1567s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1567s # * @out_arg_ao: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 1567s # * @cancellable: (nullable): A #GCancellable or %NULL. 1567s # * @error: Return location for error or %NULL. 1567s # * 1567s # * Synchronously invokes the SingleArgMethodAo() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1567s # * 1567s # * See org_project_useful_interface_call_single_arg_method_ao() for the asynchronous version of this method. 1567s # * 1567s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1567s # */ 1567s # gboolean 1567s # org_project_useful_interface_call_single_arg_method_ao_sync ( 1567s # OrgProjectUsefulInterface *proxy, 1567s # gchar ***out_arg_ao, 1567s # GCancellable *cancellable, 1567s # GError **error) 1567s # { 1567s # GVariant *_ret; 1567s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1567s # "SingleArgMethodAo", 1567s # g_variant_new ("()"), 1567s # G_DBUS_CALL_FLAGS_NONE, 1567s # -1, 1567s # cancellable, 1567s # error); 1567s # if (_ret == NULL) 1567s # goto _out; 1567s # g_variant_get (_ret, 1567s # "(^ao)", 1567s # out_arg_ao); 1567s # g_variant_unref (_ret); 1567s # _out: 1567s # return _ret != NULL; 1567s # } 1567s # 1567s # /** 1567s # * org_project_useful_interface_complete_single_arg_method_ao: 1567s # * @object: A #OrgProjectUsefulInterface. 1567s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1567s # * @arg_ao: Parameter to return. 1567s # * 1567s # * 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. 1567s # * 1567s # * This method will free @invocation, you cannot use it afterwards. 1567s # */ 1567s # void 1567s # org_project_useful_interface_complete_single_arg_method_ao ( 1567s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1567s # GDBusMethodInvocation *invocation, 1567s # const gchar *const *arg_ao) 1567s # { 1567s # g_dbus_method_invocation_return_value (invocation, 1567s # g_variant_new ("(^ao)", 1567s # arg_ao)); 1567s # } 1567s # 1567s # /* ------------------------------------------------------------------------ */ 1567s # 1567s # /** 1567s # * OrgProjectUsefulInterfaceProxy: 1567s # * 1567s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1567s # */ 1567s # 1567s # /** 1567s # * OrgProjectUsefulInterfaceProxyClass: 1567s # * @parent_class: The parent class. 1567s # * 1567s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1567s # */ 1567s # 1567s # struct _OrgProjectUsefulInterfaceProxyPrivate 1567s # { 1567s # GData *qdata; 1567s # }; 1567s # 1567s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1567s # 1567s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1567s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1567s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1567s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1567s # 1567s # #else 1567s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1567s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1567s # 1567s # #endif 1567s # static void 1567s # org_project_useful_interface_proxy_finalize (GObject *object) 1567s # { 1567s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1567s # g_datalist_clear (&proxy->priv->qdata); 1567s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1567s # } 1567s # 1567s # static void 1567s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1567s # guint prop_id G_GNUC_UNUSED, 1567s # GValue *value G_GNUC_UNUSED, 1567s # GParamSpec *pspec G_GNUC_UNUSED) 1567s # { 1567s # } 1567s # 1567s # static void 1567s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1567s # guint prop_id G_GNUC_UNUSED, 1567s # const GValue *value G_GNUC_UNUSED, 1567s # GParamSpec *pspec G_GNUC_UNUSED) 1567s # { 1567s # } 1567s # 1567s # static void 1567s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1567s # const gchar *sender_name G_GNUC_UNUSED, 1567s # const gchar *signal_name, 1567s # GVariant *parameters) 1567s # { 1567s # _ExtendedGDBusSignalInfo *info; 1567s # GVariantIter iter; 1567s # GVariant *child; 1567s # GValue *paramv; 1567s # gsize num_params; 1567s # gsize n; 1567s # guint signal_id; 1567s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1567s # if (info == NULL) 1567s # return; 1567s # num_params = g_variant_n_children (parameters); 1567s # paramv = g_new0 (GValue, num_params + 1); 1567s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1567s # g_value_set_object (¶mv[0], proxy); 1567s # g_variant_iter_init (&iter, parameters); 1567s # n = 1; 1567s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1567s # { 1567s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1567s # if (arg_info->use_gvariant) 1567s # { 1567s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1567s # g_value_set_variant (¶mv[n], child); 1567s # n++; 1567s # } 1567s # else 1567s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1567s # g_variant_unref (child); 1567s # } 1567s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1567s # g_signal_emitv (paramv, signal_id, 0, NULL); 1567s # for (n = 0; n < num_params + 1; n++) 1567s # g_value_unset (¶mv[n]); 1567s # g_free (paramv); 1567s # } 1567s # 1567s # static void 1567s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1567s # GVariant *changed_properties, 1567s # const gchar *const *invalidated_properties) 1567s # { 1567s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1567s # guint n; 1567s # const gchar *key; 1567s # GVariantIter *iter; 1567s # _ExtendedGDBusPropertyInfo *info; 1567s # g_variant_get (changed_properties, "a{sv}", &iter); 1567s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1567s # { 1567s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1567s # g_datalist_remove_data (&proxy->priv->qdata, key); 1567s # if (info != NULL) 1567s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1567s # } 1567s # g_variant_iter_free (iter); 1567s # for (n = 0; invalidated_properties[n] != NULL; n++) 1567s # { 1567s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1567s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1567s # if (info != NULL) 1567s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1567s # } 1567s # } 1567s # 1567s # static void 1567s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1567s # { 1567s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1567s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1567s # #else 1567s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1567s # #endif 1567s # 1567s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1567s # } 1567s # 1567s # static void 1567s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1567s # { 1567s # GObjectClass *gobject_class; 1567s # GDBusProxyClass *proxy_class; 1567s # 1567s # gobject_class = G_OBJECT_CLASS (klass); 1567s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1567s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1567s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1567s # 1567s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1567s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1567s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1567s # 1567s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1567s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1567s # #endif 1567s # } 1567s # 1567s # static void 1567s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1567s # { 1567s # } 1567s # 1567s # /** 1567s # * org_project_useful_interface_proxy_new: 1567s # * @connection: A #GDBusConnection. 1567s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1567s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1567s # * @object_path: An object path. 1567s # * @cancellable: (nullable): A #GCancellable or %NULL. 1567s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1567s # * @user_data: User data to pass to @callback. 1567s # * 1567s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1567s # * 1567s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1567s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1567s # * 1567s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1567s # */ 1567s # void 1567s # org_project_useful_interface_proxy_new ( 1567s # GDBusConnection *connection, 1567s # GDBusProxyFlags flags, 1567s # const gchar *name, 1567s # const gchar *object_path, 1567s # GCancellable *cancellable, 1567s # GAsyncReadyCallback callback, 1567s # gpointer user_data) 1567s # { 1567s # g_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); 1567s # } 1567s # 1567s # /** 1567s # * org_project_useful_interface_proxy_new_finish: 1567s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1567s # * @error: Return location for error or %NULL 1567s # * 1567s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1567s # * 1567s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1567s # */ 1567s # OrgProjectUsefulInterface * 1567s # org_project_useful_interface_proxy_new_finish ( 1567s # GAsyncResult *res, 1567s # GError **error) 1567s # { 1567s # GObject *ret; 1567s # GObject *source_object; 1567s # source_object = g_async_result_get_source_object (res); 1567s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1567s # g_object_unref (source_object); 1567s # if (ret != NULL) 1567s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1567s # else 1567s # return NULL; 1567s # } 1567s # 1567s # /** 1567s # * org_project_useful_interface_proxy_new_sync: 1567s # * @connection: A #GDBusConnection. 1567s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1567s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1567s # * @object_path: An object path. 1567s # * @cancellable: (nullable): A #GCancellable or %NULL. 1567s # * @error: Return location for error or %NULL 1567s # * 1567s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1567s # * 1567s # * The calling thread is blocked until a reply is received. 1567s # * 1567s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1567s # * 1567s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1567s # */ 1567s # OrgProjectUsefulInterface * 1567s # org_project_useful_interface_proxy_new_sync ( 1567s # GDBusConnection *connection, 1567s # GDBusProxyFlags flags, 1567s # const gchar *name, 1567s # const gchar *object_path, 1567s # GCancellable *cancellable, 1567s # GError **error) 1567s # { 1567s # GInitable *ret; 1567s # 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); 1567s # if (ret != NULL) 1567s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1567s # else 1567s # return NULL; 1567s # } 1567s # 1567s # 1567s # /** 1567s # * org_project_useful_interface_proxy_new_for_bus: 1567s # * @bus_type: A #GBusType. 1567s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1567s # * @name: A bus name (well-known or unique). 1567s # * @object_path: An object path. 1567s # * @cancellable: (nullable): A #GCancellable or %NULL. 1567s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1567s # * @user_data: User data to pass to @callback. 1567s # * 1567s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1567s # * 1567s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1567s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1567s # * 1567s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1567s # */ 1567s # void 1567s # org_project_useful_interface_proxy_new_for_bus ( 1567s # GBusType bus_type, 1567s # GDBusProxyFlags flags, 1567s # const gchar *name, 1567s # const gchar *object_path, 1567s # GCancellable *cancellable, 1567s # GAsyncReadyCallback callback, 1567s # gpointer user_data) 1567s # { 1567s # g_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); 1567s # } 1567s # 1567s # /** 1567s # * org_project_useful_interface_proxy_new_for_bus_finish: 1567s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1567s # * @error: Return location for error or %NULL 1567s # * 1567s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1567s # * 1567s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1567s # */ 1567s # OrgProjectUsefulInterface * 1567s # org_project_useful_interface_proxy_new_for_bus_finish ( 1567s # GAsyncResult *res, 1567s # GError **error) 1567s # { 1567s # GObject *ret; 1567s # GObject *source_object; 1567s # source_object = g_async_result_get_source_object (res); 1567s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1567s # g_object_unref (source_object); 1567s # if (ret != NULL) 1567s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1567s # else 1567s # return NULL; 1567s # } 1567s # 1567s # /** 1567s # * org_project_useful_interface_proxy_new_for_bus_sync: 1567s # * @bus_type: A #GBusType. 1567s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1567s # * @name: A bus name (well-known or unique). 1567s # * @object_path: An object path. 1567s # * @cancellable: (nullable): A #GCancellable or %NULL. 1567s # * @error: Return location for error or %NULL 1567s # * 1567s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1567s # * 1567s # * The calling thread is blocked until a reply is received. 1567s # * 1567s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1567s # * 1567s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1567s # */ 1567s # OrgProjectUsefulInterface * 1567s # org_project_useful_interface_proxy_new_for_bus_sync ( 1567s # GBusType bus_type, 1567s # GDBusProxyFlags flags, 1567s # const gchar *name, 1567s # const gchar *object_path, 1567s # GCancellable *cancellable, 1567s # GError **error) 1567s # { 1567s # GInitable *ret; 1567s # 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); 1567s # if (ret != NULL) 1567s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1567s # else 1567s # return NULL; 1567s # } 1567s # 1567s # 1567s # /* ------------------------------------------------------------------------ */ 1567s # 1567s # /** 1567s # * OrgProjectUsefulInterfaceSkeleton: 1567s # * 1567s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1567s # */ 1567s # 1567s # /** 1567s # * OrgProjectUsefulInterfaceSkeletonClass: 1567s # * @parent_class: The parent class. 1567s # * 1567s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1567s # */ 1567s # 1567s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1567s # { 1567s # GValue *properties; 1567s # GList *changed_properties; 1567s # GSource *changed_properties_idle_source; 1567s # GMainContext *context; 1567s # GMutex lock; 1567s # }; 1567s # 1567s # static void 1567s # _org_project_useful_interface_skeleton_handle_method_call ( 1567s # GDBusConnection *connection G_GNUC_UNUSED, 1567s # const gchar *sender G_GNUC_UNUSED, 1567s # const gchar *object_path G_GNUC_UNUSED, 1567s # const gchar *interface_name, 1567s # const gchar *method_name, 1567s # GVariant *parameters, 1567s # GDBusMethodInvocation *invocation, 1567s # gpointer user_data) 1567s # { 1567s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1567s # _ExtendedGDBusMethodInfo *info; 1567s # GVariantIter iter; 1567s # GVariant *child; 1567s # GValue *paramv; 1567s # gsize num_params; 1567s # guint num_extra; 1567s # gsize n; 1567s # guint signal_id; 1567s # GValue return_value = G_VALUE_INIT; 1567s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1567s # g_assert (info != NULL); 1567s # num_params = g_variant_n_children (parameters); 1567s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1567s # n = 0; 1567s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1567s # g_value_set_object (¶mv[n++], skeleton); 1567s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1567s # g_value_set_object (¶mv[n++], invocation); 1567s # if (info->pass_fdlist) 1567s # { 1567s # #ifdef G_OS_UNIX 1567s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1567s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1567s # #else 1567s # g_assert_not_reached (); 1567s # #endif 1567s # } 1567s # g_variant_iter_init (&iter, parameters); 1567s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1567s # { 1567s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1567s # if (arg_info->use_gvariant) 1567s # { 1567s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1567s # g_value_set_variant (¶mv[n], child); 1567s # n++; 1567s # } 1567s # else 1567s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1567s # g_variant_unref (child); 1567s # } 1567s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1567s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1567s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1567s # if (!g_value_get_boolean (&return_value)) 1567s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1567s # g_value_unset (&return_value); 1567s # for (n = 0; n < num_params + num_extra; n++) 1567s # g_value_unset (¶mv[n]); 1567s # g_free (paramv); 1567s # } 1567s # 1567s # static GVariant * 1567s # _org_project_useful_interface_skeleton_handle_get_property ( 1567s # GDBusConnection *connection G_GNUC_UNUSED, 1567s # const gchar *sender G_GNUC_UNUSED, 1567s # const gchar *object_path G_GNUC_UNUSED, 1567s # const gchar *interface_name G_GNUC_UNUSED, 1567s # const gchar *property_name, 1567s # GError **error, 1567s # gpointer user_data) 1567s # { 1567s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1567s # GValue value = G_VALUE_INIT; 1567s # GParamSpec *pspec; 1567s # _ExtendedGDBusPropertyInfo *info; 1567s # GVariant *ret; 1567s # ret = NULL; 1567s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1567s # g_assert (info != NULL); 1567s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1567s # if (pspec == NULL) 1567s # { 1567s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1567s # } 1567s # else 1567s # { 1567s # g_value_init (&value, pspec->value_type); 1567s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1567s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1567s # g_value_unset (&value); 1567s # } 1567s # return ret; 1567s # } 1567s # 1567s # static gboolean 1567s # _org_project_useful_interface_skeleton_handle_set_property ( 1567s # GDBusConnection *connection G_GNUC_UNUSED, 1567s # const gchar *sender G_GNUC_UNUSED, 1567s # const gchar *object_path G_GNUC_UNUSED, 1567s # const gchar *interface_name G_GNUC_UNUSED, 1567s # const gchar *property_name, 1567s # GVariant *variant, 1567s # GError **error, 1567s # gpointer user_data) 1567s # { 1567s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1567s # GValue value = G_VALUE_INIT; 1567s # GParamSpec *pspec; 1567s # _ExtendedGDBusPropertyInfo *info; 1567s # gboolean ret; 1567s # ret = FALSE; 1567s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1567s # g_assert (info != NULL); 1567s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1567s # if (pspec == NULL) 1567s # { 1567s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1567s # } 1567s # else 1567s # { 1567s # if (info->use_gvariant) 1567s # g_value_set_variant (&value, variant); 1567s # else 1567s # g_dbus_gvariant_to_gvalue (variant, &value); 1567s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1567s # g_value_unset (&value); 1567s # ret = TRUE; 1567s # } 1567s # return ret; 1567s # } 1567s # 1567s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1567s # { 1567s # _org_project_useful_interface_skeleton_handle_method_call, 1567s # _org_project_useful_interface_skeleton_handle_get_property, 1567s # _org_project_useful_interface_skeleton_handle_set_property, 1567s # {NULL} 1567s # }; 1567s # 1567s # static GDBusInterfaceInfo * 1567s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1567s # { 1567s # return org_project_useful_interface_interface_info (); 1567s # } 1567s # 1567s # static GDBusInterfaceVTable * 1567s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1567s # { 1567s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1567s # } 1567s # 1567s # static GVariant * 1567s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1567s # { 1567s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1567s # 1567s # GVariantBuilder builder; 1567s # guint n; 1567s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1567s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1567s # goto out; 1567s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1567s # { 1567s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1567s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1567s # { 1567s # GVariant *value; 1567s # 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); 1567s # if (value != NULL) 1567s # { 1567s # g_variant_take_ref (value); 1567s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1567s # g_variant_unref (value); 1567s # } 1567s # } 1567s # } 1567s # out: 1567s # return g_variant_builder_end (&builder); 1567s # } 1567s # 1567s # static void 1567s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1567s # { 1567s # } 1567s # 1567s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1567s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1567s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1567s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1567s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1567s # 1567s # #else 1567s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1567s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1567s # 1567s # #endif 1567s # static void 1567s # org_project_useful_interface_skeleton_finalize (GObject *object) 1567s # { 1567s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1567s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1567s # if (skeleton->priv->changed_properties_idle_source != NULL) 1567s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1567s # g_main_context_unref (skeleton->priv->context); 1567s # g_mutex_clear (&skeleton->priv->lock); 1567s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1567s # } 1567s # 1567s # static void 1567s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1567s # { 1567s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1567s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1567s # #else 1567s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1567s # #endif 1567s # 1567s # g_mutex_init (&skeleton->priv->lock); 1567s # skeleton->priv->context = g_main_context_ref_thread_default (); 1567s # } 1567s # 1567s # static void 1567s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1567s # { 1567s # GObjectClass *gobject_class; 1567s # GDBusInterfaceSkeletonClass *skeleton_class; 1567s # 1567s # gobject_class = G_OBJECT_CLASS (klass); 1567s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1567s # 1567s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1567s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1567s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1567s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1567s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1567s # 1567s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1567s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1567s # #endif 1567s # } 1567s # 1567s # static void 1567s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1567s # { 1567s # } 1567s # 1567s # /** 1567s # * org_project_useful_interface_skeleton_new: 1567s # * 1567s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1567s # * 1567s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1567s # */ 1567s # OrgProjectUsefulInterface * 1567s # org_project_useful_interface_skeleton_new (void) 1567s # { 1567s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1567s # } 1567s # /tmp/tmp6r0268hb/tmp11x_hm3j.xml: 1567s # 1567s # 1567s # 1567s # 1567s # 1567s # 1567s # 1567s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp6r0268hb/tmp11x_hm3j.xml', '--output', '-', '--body'] 1567s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-baqskmurxn,guid=fbaffe99d0ccb1f6e1beb84865fc01cd', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.YcZbqk/autopkgtest_tmp', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.YcZbqk/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.YcZbqk/autopkgtest_tmp', 'TERM': 'unknown', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.YcZbqk/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.sVTVMp0Db0', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.rqZsJO/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.YcZbqk/wrapper.sh --artifacts=/tmp/autopkgtest.YcZbqk/installed-tests-artifacts --chdir=/tmp/autopkgtest.YcZbqk/build.S0E/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.YcZbqk/installed-tests-stderr --stdout=/tmp/autopkgtest.YcZbqk/installed-tests-stdout --tmp=/tmp/autopkgtest.YcZbqk/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2' --make-executable=/tmp/autopkgtest.YcZbqk/build.S0E/src/debian/tests/installed-tests -- /tmp/autopkgtest.YcZbqk/build.S0E/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.YcZbqk/build.S0E/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.YcZbqk/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1567s # Output: /* 1567s # * This file is generated by gdbus-codegen, do not modify it. 1567s # * 1567s # * The license of this code is the same as for the D-Bus interface description 1567s # * it was derived from. Note that it links to GLib, so must comply with the 1567s # * LGPL linking clauses. 1567s # */ 1567s # 1567s # #ifdef HAVE_CONFIG_H 1567s # # include "config.h" 1567s # #endif 1567s # 1567s # #include 1567s # #ifdef G_OS_UNIX 1567s # # include 1567s # #endif 1567s # 1567s # #ifdef G_ENABLE_DEBUG 1567s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1567s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1567s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1567s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1567s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1567s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1567s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1567s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1567s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1567s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1567s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1567s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1567s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1567s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1567s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1567s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1567s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1567s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1567s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1567s # #else /* !G_ENABLE_DEBUG */ 1567s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1567s # * Do not access GValues directly in your code. Instead, use the 1567s # * g_value_get_*() functions 1567s # */ 1567s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1567s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1567s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1567s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1567s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1567s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1567s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1567s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1567s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1567s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1567s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1567s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1567s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1567s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1567s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1567s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1567s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1567s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1567s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1567s # #endif /* !G_ENABLE_DEBUG */ 1567s # 1567s # typedef struct 1567s # { 1567s # GDBusArgInfo parent_struct; 1567s # gboolean use_gvariant; 1567s # } _ExtendedGDBusArgInfo; 1567s # 1567s # typedef struct 1567s # { 1567s # GDBusMethodInfo parent_struct; 1567s # const gchar *signal_name; 1567s # gboolean pass_fdlist; 1567s # } _ExtendedGDBusMethodInfo; 1567s # 1567s # typedef struct 1567s # { 1567s # GDBusSignalInfo parent_struct; 1567s # const gchar *signal_name; 1567s # } _ExtendedGDBusSignalInfo; 1567s # 1567s # typedef struct 1567s # { 1567s # GDBusPropertyInfo parent_struct; 1567s # const gchar *hyphen_name; 1567s # guint use_gvariant : 1; 1567s # guint emits_changed_signal : 1; 1567s # } _ExtendedGDBusPropertyInfo; 1567s # 1567s # typedef struct 1567s # { 1567s # GDBusInterfaceInfo parent_struct; 1567s # const gchar *hyphen_name; 1567s # } _ExtendedGDBusInterfaceInfo; 1567s # 1567s # typedef struct 1567s # { 1567s # const _ExtendedGDBusPropertyInfo *info; 1567s # guint prop_id; 1567s # GValue orig_value; /* the value before the change */ 1567s # } ChangedProperty; 1567s # 1567s # static void 1567s # _changed_property_free (ChangedProperty *data) 1567s # { 1567s # g_value_unset (&data->orig_value); 1567s # g_free (data); 1567s # } 1567s # 1567s # static gboolean 1567s # _g_strv_equal0 (gchar **a, gchar **b) 1567s # { 1567s # gboolean ret = FALSE; 1567s # guint n; 1567s # if (a == NULL && b == NULL) 1567s # { 1567s # ret = TRUE; 1567s # goto out; 1567s # } 1567s # if (a == NULL || b == NULL) 1567s # goto out; 1567s # if (g_strv_length (a) != g_strv_length (b)) 1567s # goto out; 1567s # for (n = 0; a[n] != NULL; n++) 1567s # if (g_strcmp0 (a[n], b[n]) != 0) 1567s # goto out; 1567s # ret = TRUE; 1567s # out: 1567s # return ret; 1567s # } 1567s # 1567s # static gboolean 1567s # _g_variant_equal0 (GVariant *a, GVariant *b) 1567s # { 1567s # gboolean ret = FALSE; 1567s # if (a == NULL && b == NULL) 1567s # { 1567s # ret = TRUE; 1567s # goto out; 1567s # } 1567s # if (a == NULL || b == NULL) 1567s # goto out; 1567s # ret = g_variant_equal (a, b); 1567s # out: 1567s # return ret; 1567s # } 1567s # 1567s # G_GNUC_UNUSED static gboolean 1567s # _g_value_equal (const GValue *a, const GValue *b) 1567s # { 1567s # gboolean ret = FALSE; 1567s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1567s # switch (G_VALUE_TYPE (a)) 1567s # { 1567s # case G_TYPE_BOOLEAN: 1567s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1567s # break; 1567s # case G_TYPE_UCHAR: 1567s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1567s # break; 1567s # case G_TYPE_INT: 1567s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1567s # break; 1567s # case G_TYPE_UINT: 1567s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1567s # break; 1567s # case G_TYPE_INT64: 1567s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1567s # break; 1567s # case G_TYPE_UINT64: 1567s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1567s # break; 1567s # case G_TYPE_DOUBLE: 1567s # { 1567s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1567s # gdouble da = g_value_get_double (a); 1567s # gdouble db = g_value_get_double (b); 1567s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1567s # } 1567s # break; 1567s # case G_TYPE_STRING: 1567s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1567s # break; 1567s # case G_TYPE_VARIANT: 1567s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1567s # break; 1567s # default: 1567s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1567s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1567s # else 1567s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1567s # break; 1567s # } 1567s # return ret; 1567s # } 1567s # 1567s # static void 1567s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 1567s # GClosure *closure, 1567s # GValue *return_value, 1567s # unsigned int n_param_values, 1567s # const GValue *param_values, 1567s # void *invocation_hint G_GNUC_UNUSED, 1567s # void *marshal_data) 1567s # { 1567s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 1567s # (void *data1, 1567s # GDBusMethodInvocation *arg_method_invocation, 1567s # void *data2); 1567s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 1567s # GCClosure *cc = (GCClosure*) closure; 1567s # void *data1, *data2; 1567s # gboolean v_return; 1567s # 1567s # g_return_if_fail (return_value != NULL); 1567s # g_return_if_fail (n_param_values == 2); 1567s # 1567s # if (G_CCLOSURE_SWAP_DATA (closure)) 1567s # { 1567s # data1 = closure->data; 1567s # data2 = g_value_peek_pointer (param_values + 0); 1567s # } 1567s # else 1567s # { 1567s # data1 = g_value_peek_pointer (param_values + 0); 1567s # data2 = closure->data; 1567s # } 1567s # 1567s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 1567s # (marshal_data ? marshal_data : cc->callback); 1567s # 1567s # v_return = 1567s # callback (data1, 1567s # g_marshal_value_peek_object (param_values + 1), 1567s # data2); 1567s # 1567s # g_value_set_boolean (return_value, v_return); 1567s # } 1567s # 1567s # /* ------------------------------------------------------------------------ 1567s # * Code for interface org.project.UsefulInterface 1567s # * ------------------------------------------------------------------------ 1567s # */ 1567s # 1567s # /** 1567s # * SECTION:OrgProjectUsefulInterface 1567s # * @title: OrgProjectUsefulInterface 1567s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1567s # * 1567s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1567s # */ 1567s # 1567s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1567s # 1567s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_aay_OUT_ARG_arg_aay = 1567s # { 1567s # { 1567s # -1, 1567s # (gchar *) "arg_aay", 1567s # (gchar *) "aay", 1567s # NULL 1567s # }, 1567s # FALSE 1567s # }; 1567s # 1567s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_aay_OUT_ARG_pointers[] = 1567s # { 1567s # &_org_project_useful_interface_method_info_single_arg_method_aay_OUT_ARG_arg_aay.parent_struct, 1567s # NULL 1567s # }; 1567s # 1567s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_aay = 1567s # { 1567s # { 1567s # -1, 1567s # (gchar *) "SingleArgMethodAay", 1567s # NULL, 1567s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_aay_OUT_ARG_pointers, 1567s # NULL 1567s # }, 1567s # "handle-single-arg-method-aay", 1567s # FALSE 1567s # }; 1567s # 1567s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1567s # { 1567s # &_org_project_useful_interface_method_info_single_arg_method_aay.parent_struct, 1567s # NULL 1567s # }; 1567s # 1567s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1567s # { 1567s # { 1567s # -1, 1567s # (gchar *) "org.project.UsefulInterface", 1567s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1567s # NULL, 1567s # NULL, 1567s # NULL 1567s # }, 1567s # "org-project-useful-interface", 1567s # }; 1567s # 1567s # 1567s # /** 1567s # * org_project_useful_interface_interface_info: 1567s # * 1567s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1567s # * 1567s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1567s # */ 1567s # GDBusInterfaceInfo * 1567s # org_project_useful_interface_interface_info (void) 1567s # { 1567s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1567s # } 1567s # 1567s # /** 1567s # * org_project_useful_interface_override_properties: 1567s # * @klass: The class structure for a #GObject derived class. 1567s # * @property_id_begin: The property id to assign to the first overridden property. 1567s # * 1567s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1567s # * The properties are overridden in the order they are defined. 1567s # * 1567s # * Returns: The last property id. 1567s # */ 1567s # guint 1567s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1567s # { 1567s # return property_id_begin - 1; 1567s # } 1567s # 1567s # 1567s # inline static void 1567s # org_project_useful_interface_method_marshal_single_arg_method_aay ( 1567s # GClosure *closure, 1567s # GValue *return_value, 1567s # unsigned int n_param_values, 1567s # const GValue *param_values, 1567s # void *invocation_hint, 1567s # void *marshal_data) 1567s # { 1567s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1567s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1567s # } 1567s # 1567s # 1567s # /** 1567s # * OrgProjectUsefulInterface: 1567s # * 1567s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1567s # */ 1567s # 1567s # /** 1567s # * OrgProjectUsefulInterfaceIface: 1567s # * @parent_iface: The parent interface. 1567s # * @handle_single_arg_method_aay: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-aay signal. 1567s # * 1567s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1567s # */ 1567s # 1567s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1567s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1567s # 1567s # static void 1567s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1567s # { 1567s # /* GObject signals for incoming D-Bus method calls: */ 1567s # /** 1567s # * OrgProjectUsefulInterface::handle-single-arg-method-aay: 1567s # * @object: A #OrgProjectUsefulInterface. 1567s # * @invocation: A #GDBusMethodInvocation. 1567s # * 1567s # * Signal emitted when a remote caller is invoking the SingleArgMethodAay() D-Bus method. 1567s # * 1567s # * 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. 1567s # * 1567s # * 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. 1567s # */ 1567s # g_signal_new ("handle-single-arg-method-aay", 1567s # G_TYPE_FROM_INTERFACE (iface), 1567s # G_SIGNAL_RUN_LAST, 1567s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_aay), 1567s # g_signal_accumulator_true_handled, 1567s # NULL, 1567s # org_project_useful_interface_method_marshal_single_arg_method_aay, 1567s # G_TYPE_BOOLEAN, 1567s # 1, 1567s # G_TYPE_DBUS_METHOD_INVOCATION); 1567s # 1567s # } 1567s # 1567s # /** 1567s # * org_project_useful_interface_call_single_arg_method_aay: 1567s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1567s # * @cancellable: (nullable): A #GCancellable or %NULL. 1567s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1567s # * @user_data: User data to pass to @callback. 1567s # * 1567s # * Asynchronously invokes the SingleArgMethodAay() D-Bus method on @proxy. 1567s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1567s # * You can then call org_project_useful_interface_call_single_arg_method_aay_finish() to get the result of the operation. 1567s # * 1567s # * See org_project_useful_interface_call_single_arg_method_aay_sync() for the synchronous, blocking version of this method. 1567s # */ 1567s # void 1567s # org_project_useful_interface_call_single_arg_method_aay ( 1567s # OrgProjectUsefulInterface *proxy, 1567s # GCancellable *cancellable, 1567s # GAsyncReadyCallback callback, 1567s # gpointer user_data) 1567s # { 1567s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1567s # "SingleArgMethodAay", 1567s # g_variant_new ("()"), 1567s # G_DBUS_CALL_FLAGS_NONE, 1567s # -1, 1567s # cancellable, 1567s # callback, 1567s # user_data); 1567s # } 1567s # 1567s # /** 1567s # * org_project_useful_interface_call_single_arg_method_aay_finish: 1567s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1567s # * @out_arg_aay: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 1567s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_aay(). 1567s # * @error: Return location for error or %NULL. 1567s # * 1567s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_aay(). 1567s # * 1567s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1567s # */ 1567s # gboolean 1567s # org_project_useful_interface_call_single_arg_method_aay_finish ( 1567s # OrgProjectUsefulInterface *proxy, 1567s # gchar ***out_arg_aay, 1567s # GAsyncResult *res, 1567s # GError **error) 1567s # { 1567s # GVariant *_ret; 1567s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1567s # if (_ret == NULL) 1567s # goto _out; 1567s # g_variant_get (_ret, 1567s # "(^aay)", 1567s # out_arg_aay); 1567s # g_variant_unref (_ret); 1567s # _out: 1567s # return _ret != NULL; 1567s # } 1567s # 1567s # /** 1567s # * org_project_useful_interface_call_single_arg_method_aay_sync: 1567s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1567s # * @out_arg_aay: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 1567s # * @cancellable: (nullable): A #GCancellable or %NULL. 1567s # * @error: Return location for error or %NULL. 1567s # * 1567s # * Synchronously invokes the SingleArgMethodAay() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1567s # * 1567s # * See org_project_useful_interface_call_single_arg_method_aay() for the asynchronous version of this method. 1567s # * 1567s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1567s # */ 1567s # gboolean 1567s # org_project_useful_interface_call_single_arg_method_aay_sync ( 1567s # OrgProjectUsefulInterface *proxy, 1567s # gchar ***out_arg_aay, 1567s # GCancellable *cancellable, 1567s # GError **error) 1567s # { 1567s # GVariant *_ret; 1567s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1567s # "SingleArgMethodAay", 1567s # g_variant_new ("()"), 1567s # G_DBUS_CALL_FLAGS_NONE, 1567s # -1, 1567s # cancellable, 1567s # error); 1567s # if (_ret == NULL) 1567s # goto _out; 1567s # g_variant_get (_ret, 1567s # "(^aay)", 1567s # out_arg_aay); 1567s # g_variant_unref (_ret); 1567s # _out: 1567s # return _ret != NULL; 1567s # } 1567s # 1567s # /** 1567s # * org_project_useful_interface_complete_single_arg_method_aay: 1567s # * @object: A #OrgProjectUsefulInterface. 1567s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1567s # * @arg_aay: Parameter to return. 1567s # * 1567s # * 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. 1567s # * 1567s # * This method will free @invocation, you cannot use it afterwards. 1567s # */ 1567s # void 1567s # org_project_useful_interface_complete_single_arg_method_aay ( 1567s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1567s # GDBusMethodInvocation *invocation, 1567s # const gchar *const *arg_aay) 1567s # { 1567s # g_dbus_method_invocation_return_value (invocation, 1567s # g_variant_new ("(^aay)", 1567s # arg_aay)); 1567s # } 1567s # 1567s # /* ------------------------------------------------------------------------ */ 1567s # 1567s # /** 1567s # * OrgProjectUsefulInterfaceProxy: 1567s # * 1567s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1567s # */ 1567s # 1567s # /** 1567s # * OrgProjectUsefulInterfaceProxyClass: 1567s # * @parent_class: The parent class. 1567s # * 1567s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1567s # */ 1567s # 1567s # struct _OrgProjectUsefulInterfaceProxyPrivate 1567s # { 1567s # GData *qdata; 1567s # }; 1567s # 1567s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1567s # 1567s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1567s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1567s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1567s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1567s # 1567s # #else 1567s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1567s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1567s # 1567s # #endif 1567s # static void 1567s # org_project_useful_interface_proxy_finalize (GObject *object) 1567s # { 1567s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1567s # g_datalist_clear (&proxy->priv->qdata); 1567s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1567s # } 1567s # 1567s # static void 1567s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1567s # guint prop_id G_GNUC_UNUSED, 1567s # GValue *value G_GNUC_UNUSED, 1567s # GParamSpec *pspec G_GNUC_UNUSED) 1567s # { 1567s # } 1567s # 1567s # static void 1567s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1567s # guint prop_id G_GNUC_UNUSED, 1567s # const GValue *value G_GNUC_UNUSED, 1567s # GParamSpec *pspec G_GNUC_UNUSED) 1567s # { 1567s # } 1567s # 1567s # static void 1567s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1567s # const gchar *sender_name G_GNUC_UNUSED, 1567s # const gchar *signal_name, 1567s # GVariant *parameters) 1567s # { 1567s # _ExtendedGDBusSignalInfo *info; 1567s # GVariantIter iter; 1567s # GVariant *child; 1567s # GValue *paramv; 1567s # gsize num_params; 1567s # gsize n; 1567s # guint signal_id; 1567s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1567s # if (info == NULL) 1567s # return; 1567s # num_params = g_variant_n_children (parameters); 1567s # paramv = g_new0 (GValue, num_params + 1); 1567s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1567s # g_value_set_object (¶mv[0], proxy); 1567s # g_variant_iter_init (&iter, parameters); 1567s # n = 1; 1567s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1567s # { 1567s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1567s # if (arg_info->use_gvariant) 1567s # { 1567s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1567s # g_value_set_variant (¶mv[n], child); 1567s # n++; 1567s # } 1567s # else 1567s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1567s # g_variant_unref (child); 1567s # } 1567s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1567s # g_signal_emitv (paramv, signal_id, 0, NULL); 1567s # for (n = 0; n < num_params + 1; n++) 1567s # g_value_unset (¶mv[n]); 1567s # g_free (paramv); 1567s # } 1567s # 1567s # static void 1567s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1567s # GVariant *changed_properties, 1567s # const gchar *const *invalidated_properties) 1567s # { 1567s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1567s # guint n; 1567s # const gchar *key; 1567s # GVariantIter *iter; 1567s # _ExtendedGDBusPropertyInfo *info; 1567s # g_variant_get (changed_properties, "a{sv}", &iter); 1567s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1567s # { 1567s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1567s # g_datalist_remove_data (&proxy->priv->qdata, key); 1567s # if (info != NULL) 1567s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1567s # } 1567s # g_variant_iter_free (iter); 1567s # for (n = 0; invalidated_properties[n] != NULL; n++) 1567s # { 1567s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1567s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1567s # if (info != NULL) 1567s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1567s # } 1567s # } 1567s # 1567s # static void 1567s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1567s # { 1567s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1567s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1567s # #else 1567s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1567s # #endif 1567s # 1567s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1567s # } 1567s # 1567s # static void 1567s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1567s # { 1567s # GObjectClass *gobject_class; 1567s # GDBusProxyClass *proxy_class; 1567s # 1567s # gobject_class = G_OBJECT_CLASS (klass); 1567s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1567s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1567s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1567s # 1567s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1567s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1567s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1567s # 1567s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1567s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1567s # #endif 1567s # } 1567s # 1567s # static void 1567s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1567s # { 1567s # } 1567s # 1567s # /** 1567s # * org_project_useful_interface_proxy_new: 1567s # * @connection: A #GDBusConnection. 1567s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1567s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1567s # * @object_path: An object path. 1567s # * @cancellable: (nullable): A #GCancellable or %NULL. 1567s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1567s # * @user_data: User data to pass to @callback. 1567s # * 1567s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1567s # * 1567s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1567s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1567s # * 1567s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1567s # */ 1567s # void 1567s # org_project_useful_interface_proxy_new ( 1567s # GDBusConnection *connection, 1567s # GDBusProxyFlags flags, 1567s # const gchar *name, 1567s # const gchar *object_path, 1567s # GCancellable *cancellable, 1567s # GAsyncReadyCallback callback, 1567s # gpointer user_data) 1567s # { 1567s # g_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); 1567s # } 1567s # 1567s # /** 1567s # * org_project_useful_interface_proxy_new_finish: 1567s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1567s # * @error: Return location for error or %NULL 1567s # * 1567s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1567s # * 1567s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1567s # */ 1567s # OrgProjectUsefulInterface * 1567s # org_project_useful_interface_proxy_new_finish ( 1567s # GAsyncResult *res, 1567s # GError **error) 1567s # { 1567s # GObject *ret; 1567s # GObject *source_object; 1567s # source_object = g_async_result_get_source_object (res); 1567s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1567s # g_object_unref (source_object); 1567s # if (ret != NULL) 1567s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1567s # else 1567s # return NULL; 1567s # } 1567s # 1567s # /** 1567s # * org_project_useful_interface_proxy_new_sync: 1567s # * @connection: A #GDBusConnection. 1567s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1567s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1567s # * @object_path: An object path. 1567s # * @cancellable: (nullable): A #GCancellable or %NULL. 1567s # * @error: Return location for error or %NULL 1567s # * 1567s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1567s # * 1567s # * The calling thread is blocked until a reply is received. 1567s # * 1567s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1567s # * 1567s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1567s # */ 1567s # OrgProjectUsefulInterface * 1567s # org_project_useful_interface_proxy_new_sync ( 1567s # GDBusConnection *connection, 1567s # GDBusProxyFlags flags, 1567s # const gchar *name, 1567s # const gchar *object_path, 1567s # GCancellable *cancellable, 1567s # GError **error) 1567s # { 1567s # GInitable *ret; 1567s # 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); 1567s # if (ret != NULL) 1567s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1567s # else 1567s # return NULL; 1567s # } 1567s # 1567s # 1567s # /** 1567s # * org_project_useful_interface_proxy_new_for_bus: 1567s # * @bus_type: A #GBusType. 1567s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1567s # * @name: A bus name (well-known or unique). 1567s # * @object_path: An object path. 1567s # * @cancellable: (nullable): A #GCancellable or %NULL. 1567s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1567s # * @user_data: User data to pass to @callback. 1567s # * 1567s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1567s # * 1567s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1567s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1567s # * 1567s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1567s # */ 1567s # void 1567s # org_project_useful_interface_proxy_new_for_bus ( 1567s # GBusType bus_type, 1567s # GDBusProxyFlags flags, 1567s # const gchar *name, 1567s # const gchar *object_path, 1567s # GCancellable *cancellable, 1567s # GAsyncReadyCallback callback, 1567s # gpointer user_data) 1567s # { 1567s # g_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); 1567s # } 1567s # 1567s # /** 1567s # * org_project_useful_interface_proxy_new_for_bus_finish: 1567s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1567s # * @error: Return location for error or %NULL 1567s # * 1567s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1567s # * 1567s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1567s # */ 1567s # OrgProjectUsefulInterface * 1567s # org_project_useful_interface_proxy_new_for_bus_finish ( 1567s # GAsyncResult *res, 1567s # GError **error) 1567s # { 1567s # GObject *ret; 1567s # GObject *source_object; 1567s # source_object = g_async_result_get_source_object (res); 1567s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1567s # g_object_unref (source_object); 1567s # if (ret != NULL) 1567s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1567s # else 1567s # return NULL; 1567s # } 1567s # 1567s # /** 1567s # * org_project_useful_interface_proxy_new_for_bus_sync: 1567s # * @bus_type: A #GBusType. 1567s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1567s # * @name: A bus name (well-known or unique). 1567s # * @object_path: An object path. 1567s # * @cancellable: (nullable): A #GCancellable or %NULL. 1567s # * @error: Return location for error or %NULL 1567s # * 1567s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1567s # * 1567s # * The calling thread is blocked until a reply is received. 1567s # * 1567s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1567s # * 1567s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1567s # */ 1567s # OrgProjectUsefulInterface * 1567s # org_project_useful_interface_proxy_new_for_bus_sync ( 1567s # GBusType bus_type, 1567s # GDBusProxyFlags flags, 1567s # const gchar *name, 1567s # const gchar *object_path, 1567s # GCancellable *cancellable, 1567s # GError **error) 1567s # { 1567s # GInitable *ret; 1567s # 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); 1567s # if (ret != NULL) 1567s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1567s # else 1567s # return NULL; 1567s # } 1567s # 1567s # 1567s # /* ------------------------------------------------------------------------ */ 1567s # 1567s # /** 1567s # * OrgProjectUsefulInterfaceSkeleton: 1567s # * 1567s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1567s # */ 1567s # 1567s # /** 1567s # * OrgProjectUsefulInterfaceSkeletonClass: 1567s # * @parent_class: The parent class. 1567s # * 1567s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1567s # */ 1567s # 1567s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1567s # { 1567s # GValue *properties; 1567s # GList *changed_properties; 1567s # GSource *changed_properties_idle_source; 1567s # GMainContext *context; 1567s # GMutex lock; 1567s # }; 1567s # 1567s # static void 1567s # _org_project_useful_interface_skeleton_handle_method_call ( 1567s # GDBusConnection *connection G_GNUC_UNUSED, 1567s # const gchar *sender G_GNUC_UNUSED, 1567s # const gchar *object_path G_GNUC_UNUSED, 1567s # const gchar *interface_name, 1567s # const gchar *method_name, 1567s # GVariant *parameters, 1567s # GDBusMethodInvocation *invocation, 1567s # gpointer user_data) 1567s # { 1567s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1567s # _ExtendedGDBusMethodInfo *info; 1567s # GVariantIter iter; 1567s # GVariant *child; 1567s # GValue *paramv; 1567s # gsize num_params; 1567s # guint num_extra; 1567s # gsize n; 1567s # guint signal_id; 1567s # GValue return_value = G_VALUE_INIT; 1567s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1567s # g_assert (info != NULL); 1567s # num_params = g_variant_n_children (parameters); 1567s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1567s # n = 0; 1567s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1567s # g_value_set_object (¶mv[n++], skeleton); 1567s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1567s # g_value_set_object (¶mv[n++], invocation); 1567s # if (info->pass_fdlist) 1567s # { 1567s # #ifdef G_OS_UNIX 1567s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1567s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1567s # #else 1567s # g_assert_not_reached (); 1567s # #endif 1567s # } 1567s # g_variant_iter_init (&iter, parameters); 1567s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1567s # { 1567s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1567s # if (arg_info->use_gvariant) 1567s # { 1567s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1567s # g_value_set_variant (¶mv[n], child); 1567s # n++; 1567s # } 1567s # else 1567s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1567s # g_variant_unref (child); 1567s # } 1567s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1567s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1567s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1567s # if (!g_value_get_boolean (&return_value)) 1567s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1567s # g_value_unset (&return_value); 1567s # for (n = 0; n < num_params + num_extra; n++) 1567s # g_value_unset (¶mv[n]); 1567s # g_free (paramv); 1567s # } 1567s # 1567s # static GVariant * 1567s # _org_project_useful_interface_skeleton_handle_get_property ( 1567s # GDBusConnection *connection G_GNUC_UNUSED, 1567s # const gchar *sender G_GNUC_UNUSED, 1567s # const gchar *object_path G_GNUC_UNUSED, 1567s # const gchar *interface_name G_GNUC_UNUSED, 1567s # const gchar *property_name, 1567s # GError **error, 1567s # gpointer user_data) 1567s # { 1567s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1567s # GValue value = G_VALUE_INIT; 1567s # GParamSpec *pspec; 1567s # _ExtendedGDBusPropertyInfo *info; 1567s # GVariant *ret; 1567s # ret = NULL; 1567s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1567s # g_assert (info != NULL); 1567s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1567s # if (pspec == NULL) 1567s # { 1567s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1567s # } 1567s # else 1567s # { 1567s # g_value_init (&value, pspec->value_type); 1567s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1567s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1567s # g_value_unset (&value); 1567s # } 1567s # return ret; 1567s # } 1567s # 1567s # static gboolean 1567s # _org_project_useful_interface_skeleton_handle_set_property ( 1567s # GDBusConnection *connection G_GNUC_UNUSED, 1567s # const gchar *sender G_GNUC_UNUSED, 1567s # const gchar *object_path G_GNUC_UNUSED, 1567s # const gchar *interface_name G_GNUC_UNUSED, 1567s # const gchar *property_name, 1567s # GVariant *variant, 1567s # GError **error, 1567s # gpointer user_data) 1567s # { 1567s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1567s # GValue value = G_VALUE_INIT; 1567s # GParamSpec *pspec; 1567s # _ExtendedGDBusPropertyInfo *info; 1567s # gboolean ret; 1567s # ret = FALSE; 1567s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1567s # g_assert (info != NULL); 1567s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1567s # if (pspec == NULL) 1567s # { 1567s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1567s # } 1567s # else 1567s # { 1567s # if (info->use_gvariant) 1567s # g_value_set_variant (&value, variant); 1567s # else 1567s # g_dbus_gvariant_to_gvalue (variant, &value); 1567s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1567s # g_value_unset (&value); 1567s # ret = TRUE; 1567s # } 1567s # return ret; 1567s # } 1567s # 1567s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1567s # { 1567s # _org_project_useful_interface_skeleton_handle_method_call, 1567s # _org_project_useful_interface_skeleton_handle_get_property, 1567s # _org_project_useful_interface_skeleton_handle_set_property, 1567s # {NULL} 1567s # }; 1567s # 1567s # static GDBusInterfaceInfo * 1567s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1567s # { 1567s # return org_project_useful_interface_interface_info (); 1567s # } 1567s # 1567s # static GDBusInterfaceVTable * 1567s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1567s # { 1567s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1567s # } 1567s # 1567s # static GVariant * 1567s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1567s # { 1567s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1567s # 1567s # GVariantBuilder builder; 1567s # guint n; 1567s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1567s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1567s # goto out; 1567s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1567s # { 1567s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1567s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1567s # { 1567s # GVariant *value; 1567s # 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); 1567s # if (value != NULL) 1567s # { 1567s # g_variant_take_ref (value); 1567s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1567s # g_variant_unref (value); 1567s # } 1567s # } 1567s # } 1567s # out: 1567s # return g_variant_builder_end (&builder); 1567s # } 1567s # 1567s # static void 1567s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1567s # { 1567s # } 1567s # 1567s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1567s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1567s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1567s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1567s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1567s # 1567s # #else 1567s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1567s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1567s # 1567s # #endif 1567s # static void 1567s # org_project_useful_interface_skeleton_finalize (GObject *object) 1567s # { 1567s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1567s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1567s # if (skeleton->priv->changed_properties_idle_source != NULL) 1567s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1567s # g_main_context_unref (skeleton->priv->context); 1567s # g_mutex_clear (&skeleton->priv->lock); 1567s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1567s # } 1567s # 1567s # static void 1567s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1567s # { 1567s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1567s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1567s # #else 1567s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1567s # #endif 1567s # 1567s # g_mutex_init (&skeleton->priv->lock); 1567s # skeleton->priv->context = g_main_context_ref_thread_default (); 1567s # } 1567s # 1567s # static void 1567s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1567s # { 1567s # GObjectClass *gobject_class; 1567s # GDBusInterfaceSkeletonClass *skeleton_class; 1567s # 1567s # gobject_class = G_OBJECT_CLASS (klass); 1567s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1567s # 1567s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1567s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1567s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1567s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1567s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1567s # 1567s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1567s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1567s # #endif 1567s # } 1567s # 1567s # static void 1567s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1567s # { 1567s # } 1567s # 1567s # /** 1567s # * org_project_useful_interface_skeleton_new: 1567s # * 1567s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1567s # * 1567s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1567s # */ 1567s # OrgProjectUsefulInterface * 1567s # org_project_useful_interface_skeleton_new (void) 1567s # { 1567s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1567s # } 1567s # /tmp/tmp6r0268hb/tmpvf9oyvek.xml: 1567s # 1567s # 1567s # 1567s # 1567s # 1567s # 1567s # 1567s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp6r0268hb/tmpvf9oyvek.xml', '--output', '-', '--body'] 1567s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-baqskmurxn,guid=fbaffe99d0ccb1f6e1beb84865fc01cd', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.YcZbqk/autopkgtest_tmp', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.YcZbqk/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.YcZbqk/autopkgtest_tmp', 'TERM': 'unknown', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.YcZbqk/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.sVTVMp0Db0', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.rqZsJO/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.YcZbqk/wrapper.sh --artifacts=/tmp/autopkgtest.YcZbqk/installed-tests-artifacts --chdir=/tmp/autopkgtest.YcZbqk/build.S0E/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.YcZbqk/installed-tests-stderr --stdout=/tmp/autopkgtest.YcZbqk/installed-tests-stdout --tmp=/tmp/autopkgtest.YcZbqk/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2' --make-executable=/tmp/autopkgtest.YcZbqk/build.S0E/src/debian/tests/installed-tests -- /tmp/autopkgtest.YcZbqk/build.S0E/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.YcZbqk/build.S0E/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.YcZbqk/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1567s # Output: /* 1567s # * This file is generated by gdbus-codegen, do not modify it. 1567s # * 1567s # * The license of this code is the same as for the D-Bus interface description 1567s # * it was derived from. Note that it links to GLib, so must comply with the 1567s # * LGPL linking clauses. 1567s # */ 1567s # 1567s # #ifdef HAVE_CONFIG_H 1567s # # include "config.h" 1567s # #endif 1567s # 1567s # #include 1567s # #ifdef G_OS_UNIX 1567s # # include 1567s # #endif 1567s # 1567s # #ifdef G_ENABLE_DEBUG 1567s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1567s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1567s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1567s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1567s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1567s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1567s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1567s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1567s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1567s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1567s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1567s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1567s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1567s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1567s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1567s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1567s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1567s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1567s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1567s # #else /* !G_ENABLE_DEBUG */ 1567s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1567s # * Do not access GValues directly in your code. Instead, use the 1567s # * g_value_get_*() functions 1567s # */ 1567s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1567s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1567s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1567s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1567s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1567s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1567s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1567s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1567s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1567s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1567s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1567s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1567s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1567s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1567s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1567s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1567s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1567s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1567s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1567s # #endif /* !G_ENABLE_DEBUG */ 1567s # 1567s # typedef struct 1567s # { 1567s # GDBusArgInfo parent_struct; 1567s # gboolean use_gvariant; 1567s # } _ExtendedGDBusArgInfo; 1567s # 1567s # typedef struct 1567s # { 1567s # GDBusMethodInfo parent_struct; 1567s # const gchar *signal_name; 1567s # gboolean pass_fdlist; 1567s # } _ExtendedGDBusMethodInfo; 1567s # 1567s # typedef struct 1567s # { 1567s # GDBusSignalInfo parent_struct; 1567s # const gchar *signal_name; 1567s # } _ExtendedGDBusSignalInfo; 1567s # 1567s # typedef struct 1567s # { 1567s # GDBusPropertyInfo parent_struct; 1567s # const gchar *hyphen_name; 1567s # guint use_gvariant : 1; 1567s # guint emits_changed_signal : 1; 1567s # } _ExtendedGDBusPropertyInfo; 1567s # 1567s # typedef struct 1567s # { 1567s # GDBusInterfaceInfo parent_struct; 1567s # const gchar *hyphen_name; 1567s # } _ExtendedGDBusInterfaceInfo; 1567s # 1567s # typedef struct 1567s # { 1567s # const _ExtendedGDBusPropertyInfo *info; 1567s # guint prop_id; 1567s # GValue orig_value; /* the value before the change */ 1567s # } ChangedProperty; 1567s # 1567s # static void 1567s # _changed_property_free (ChangedProperty *data) 1567s # { 1567s # g_value_unset (&data->orig_value); 1567s # g_free (data); 1567s # } 1567s # 1567s # static gboolean 1567s # _g_strv_equal0 (gchar **a, gchar **b) 1567s # { 1567s # gboolean ret = FALSE; 1567s # guint n; 1567s # if (a == NULL && b == NULL) 1567s # { 1567s # ret = TRUE; 1567s # goto out; 1567s # } 1567s # if (a == NULL || b == NULL) 1567s # goto out; 1567s # if (g_strv_length (a) != g_strv_length (b)) 1567s # goto out; 1567s # for (n = 0; a[n] != NULL; n++) 1567s # if (g_strcmp0 (a[n], b[n]) != 0) 1567s # goto out; 1567s # ret = TRUE; 1567s # out: 1567s # return ret; 1567s # } 1567s # 1567s # static gboolean 1567s # _g_variant_equal0 (GVariant *a, GVariant *b) 1567s # { 1567s # gboolean ret = FALSE; 1567s # if (a == NULL && b == NULL) 1567s # { 1567s # ret = TRUE; 1567s # goto out; 1567s # } 1567s # if (a == NULL || b == NULL) 1567s # goto out; 1567s # ret = g_variant_equal (a, b); 1567s # out: 1567s # return ret; 1567s # } 1567s # 1567s # G_GNUC_UNUSED static gboolean 1567s # _g_value_equal (const GValue *a, const GValue *b) 1567s # { 1567s # gboolean ret = FALSE; 1567s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1567s # switch (G_VALUE_TYPE (a)) 1567s # { 1567s # case G_TYPE_BOOLEAN: 1567s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1567s # break; 1567s # case G_TYPE_UCHAR: 1567s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1567s # break; 1567s # case G_TYPE_INT: 1567s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1567s # break; 1567s # case G_TYPE_UINT: 1567s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1567s # break; 1567s # case G_TYPE_INT64: 1567s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1567s # break; 1567s # case G_TYPE_UINT64: 1567s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1567s # break; 1567s # case G_TYPE_DOUBLE: 1567s # { 1567s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1567s # gdouble da = g_value_get_double (a); 1567s # gdouble db = g_value_get_double (b); 1567s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1567s # } 1567s # break; 1567s # case G_TYPE_STRING: 1567s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1567s # break; 1567s # case G_TYPE_VARIANT: 1567s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1567s # break; 1567s # default: 1567s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1567s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1567s # else 1567s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1567s # break; 1567s # } 1567s # return ret; 1567s # } 1567s # 1567s # static void 1567s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 1567s # GClosure *closure, 1567s # GValue *return_value, 1567s # unsigned int n_param_values, 1567s # const GValue *param_values, 1567s # void *invocation_hint G_GNUC_UNUSED, 1567s # void *marshal_data) 1567s # { 1567s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 1567s # (void *data1, 1567s # GDBusMethodInvocation *arg_method_invocation, 1567s # void *data2); 1567s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 1567s # GCClosure *cc = (GCClosure*) closure; 1567s # void *data1, *data2; 1567s # gboolean v_return; 1567s # 1567s # g_return_if_fail (return_value != NULL); 1567s # g_return_if_fail (n_param_values == 2); 1567s # 1567s # if (G_CCLOSURE_SWAP_DATA (closure)) 1567s # { 1567s # data1 = closure->data; 1567s # data2 = g_value_peek_pointer (param_values + 0); 1567s # } 1567s # else 1567s # { 1567s # data1 = g_value_peek_pointer (param_values + 0); 1567s # data2 = closure->data; 1567s # } 1567s # 1567s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 1567s # (marshal_data ? marshal_data : cc->callback); 1567s # 1567s # v_return = 1567s # callback (data1, 1567s # g_marshal_value_peek_object (param_values + 1), 1567s # data2); 1567s # 1567s # g_value_set_boolean (return_value, v_return); 1567s # } 1567s # 1567s # /* ------------------------------------------------------------------------ 1567s # * Code for interface org.project.UsefulInterface 1567s # * ------------------------------------------------------------------------ 1567s # */ 1567s # 1567s # /** 1567s # * SECTION:OrgProjectUsefulInterface 1567s # * @title: OrgProjectUsefulInterface 1567s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1567s # * 1567s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1567s # */ 1567s # 1567s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1567s # 1567s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_asv_OUT_ARG_arg_asv = 1567s # { 1567s # { 1567s # -1, 1567s # (gchar *) "arg_asv", 1567s # (gchar *) "a{sv}", 1567s # NULL 1567s # }, 1567s # FALSE 1567s # }; 1567s # 1567s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_asv_OUT_ARG_pointers[] = 1567s # { 1567s # &_org_project_useful_interface_method_info_single_arg_method_asv_OUT_ARG_arg_asv.parent_struct, 1567s # NULL 1567s # }; 1567s # 1567s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_asv = 1567s # { 1567s # { 1567s # -1, 1567s # (gchar *) "SingleArgMethodAsv", 1567s # NULL, 1567s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_asv_OUT_ARG_pointers, 1567s # NULL 1567s # }, 1567s # "handle-single-arg-method-asv", 1567s # FALSE 1567s # }; 1567s # 1567s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1567s # { 1567s # &_org_project_useful_interface_method_info_single_arg_method_asv.parent_struct, 1567s # NULL 1567s # }; 1567s # 1567s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1567s # { 1567s # { 1567s # -1, 1567s # (gchar *) "org.project.UsefulInterface", 1567s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1567s # NULL, 1567s # NULL, 1567s # NULL 1567s # }, 1567s # "org-project-useful-interface", 1567s # }; 1567s # 1567s # 1567s # /** 1567s # * org_project_useful_interface_interface_info: 1567s # * 1567s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1567s # * 1567s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1567s # */ 1567s # GDBusInterfaceInfo * 1567s # org_project_useful_interface_interface_info (void) 1567s # { 1567s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1567s # } 1567s # 1567s # /** 1567s # * org_project_useful_interface_override_properties: 1567s # * @klass: The class structure for a #GObject derived class. 1567s # * @property_id_begin: The property id to assign to the first overridden property. 1567s # * 1567s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1567s # * The properties are overridden in the order they are defined. 1567s # * 1567s # * Returns: The last property id. 1567s # */ 1567s # guint 1567s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1567s # { 1567s # return property_id_begin - 1; 1567s # } 1567s # 1567s # 1567s # inline static void 1567s # org_project_useful_interface_method_marshal_single_arg_method_asv ( 1567s # GClosure *closure, 1567s # GValue *return_value, 1567s # unsigned int n_param_values, 1567s # const GValue *param_values, 1567s # void *invocation_hint, 1567s # void *marshal_data) 1567s # { 1567s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1567s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1567s # } 1567s # 1567s # 1567s # /** 1567s # * OrgProjectUsefulInterface: 1567s # * 1567s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1567s # */ 1567s # 1567s # /** 1567s # * OrgProjectUsefulInterfaceIface: 1567s # * @parent_iface: The parent interface. 1567s # * @handle_single_arg_method_asv: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-asv signal. 1567s # * 1567s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1567s # */ 1567s # 1567s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1567s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1567s # 1567s # static void 1567s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1567s # { 1567s # /* GObject signals for incoming D-Bus method calls: */ 1567s # /** 1567s # * OrgProjectUsefulInterface::handle-single-arg-method-asv: 1567s # * @object: A #OrgProjectUsefulInterface. 1567s # * @invocation: A #GDBusMethodInvocation. 1567s # * 1567s # * Signal emitted when a remote caller is invoking the SingleArgMethodAsv() D-Bus method. 1567s # * 1567s # * 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. 1567s # * 1567s # * 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. 1567s # */ 1567s # g_signal_new ("handle-single-arg-method-asv", 1567s # G_TYPE_FROM_INTERFACE (iface), 1567s # G_SIGNAL_RUN_LAST, 1567s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_asv), 1567s # g_signal_accumulator_true_handled, 1567s # NULL, 1567s # org_project_useful_interface_method_marshal_single_arg_method_asv, 1567s # G_TYPE_BOOLEAN, 1567s # 1, 1567s # G_TYPE_DBUS_METHOD_INVOCATION); 1567s # 1567s # } 1567s # 1567s # /** 1567s # * org_project_useful_interface_call_single_arg_method_asv: 1567s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1567s # * @cancellable: (nullable): A #GCancellable or %NULL. 1567s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1567s # * @user_data: User data to pass to @callback. 1567s # * 1567s # * Asynchronously invokes the SingleArgMethodAsv() D-Bus method on @proxy. 1567s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1567s # * You can then call org_project_useful_interface_call_single_arg_method_asv_finish() to get the result of the operation. 1567s # * 1567s # * See org_project_useful_interface_call_single_arg_method_asv_sync() for the synchronous, blocking version of this method. 1567s # */ 1567s # void 1567s # org_project_useful_interface_call_single_arg_method_asv ( 1567s # OrgProjectUsefulInterface *proxy, 1567s # GCancellable *cancellable, 1567s # GAsyncReadyCallback callback, 1567s # gpointer user_data) 1567s # { 1567s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1567s # "SingleArgMethodAsv", 1567s # g_variant_new ("()"), 1567s # G_DBUS_CALL_FLAGS_NONE, 1567s # -1, 1567s # cancellable, 1567s # callback, 1567s # user_data); 1567s # } 1567s # 1567s # /** 1567s # * org_project_useful_interface_call_single_arg_method_asv_finish: 1567s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1567s # * @out_arg_asv: (out) (optional): Return location for return parameter or %NULL to ignore. 1567s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_asv(). 1567s # * @error: Return location for error or %NULL. 1567s # * 1567s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_asv(). 1567s # * 1567s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1567s # */ 1567s # gboolean 1567s # org_project_useful_interface_call_single_arg_method_asv_finish ( 1567s # OrgProjectUsefulInterface *proxy, 1567s # GVariant **out_arg_asv, 1567s # GAsyncResult *res, 1567s # GError **error) 1567s # { 1567s # GVariant *_ret; 1567s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1567s # if (_ret == NULL) 1567s # goto _out; 1567s # g_variant_get (_ret, 1567s # "(@a{sv})", 1567s # out_arg_asv); 1567s # g_variant_unref (_ret); 1567s # _out: 1567s # return _ret != NULL; 1567s # } 1567s # 1567s # /** 1567s # * org_project_useful_interface_call_single_arg_method_asv_sync: 1567s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1567s # * @out_arg_asv: (out) (optional): Return location for return parameter or %NULL to ignore. 1567s # * @cancellable: (nullable): A #GCancellable or %NULL. 1567s # * @error: Return location for error or %NULL. 1567s # * 1567s # * Synchronously invokes the SingleArgMethodAsv() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1567s # * 1567s # * See org_project_useful_interface_call_single_arg_method_asv() for the asynchronous version of this method. 1567s # * 1567s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1567s # */ 1567s # gboolean 1567s # org_project_useful_interface_call_single_arg_method_asv_sync ( 1567s # OrgProjectUsefulInterface *proxy, 1567s # GVariant **out_arg_asv, 1567s # GCancellable *cancellable, 1567s # GError **error) 1567s # { 1567s # GVariant *_ret; 1567s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1567s # "SingleArgMethodAsv", 1567s # g_variant_new ("()"), 1567s # G_DBUS_CALL_FLAGS_NONE, 1567s # -1, 1567s # cancellable, 1567s # error); 1567s # if (_ret == NULL) 1567s # goto _out; 1567s # g_variant_get (_ret, 1567s # "(@a{sv})", 1567s # out_arg_asv); 1567s # g_variant_unref (_ret); 1567s # _out: 1567s # return _ret != NULL; 1567s # } 1567s # 1567s # /** 1567s # * org_project_useful_interface_complete_single_arg_method_asv: 1567s # * @object: A #OrgProjectUsefulInterface. 1567s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1567s # * @arg_asv: Parameter to return. 1567s # * 1567s # * 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. 1567s # * 1567s # * This method will free @invocation, you cannot use it afterwards. 1567s # */ 1567s # void 1567s # org_project_useful_interface_complete_single_arg_method_asv ( 1567s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1567s # GDBusMethodInvocation *invocation, 1567s # GVariant *arg_asv) 1567s # { 1567s # g_dbus_method_invocation_return_value (invocation, 1567s # g_variant_new ("(@a{sv})", 1567s # arg_asv)); 1567s # } 1567s # 1567s # /* ------------------------------------------------------------------------ */ 1567s # 1567s # /** 1567s # * OrgProjectUsefulInterfaceProxy: 1567s # * 1567s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1567s # */ 1567s # 1567s # /** 1567s # * OrgProjectUsefulInterfaceProxyClass: 1567s # * @parent_class: The parent class. 1567s # * 1567s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1567s # */ 1567s # 1567s # struct _OrgProjectUsefulInterfaceProxyPrivate 1567s # { 1567s # GData *qdata; 1567s # }; 1567s # 1567s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1567s # 1567s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1567s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1567s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1567s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1567s # 1567s # #else 1567s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1567s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1567s # 1567s # #endif 1567s # static void 1567s # org_project_useful_interface_proxy_finalize (GObject *object) 1567s # { 1567s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1567s # g_datalist_clear (&proxy->priv->qdata); 1567s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1567s # } 1567s # 1567s # static void 1567s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1567s # guint prop_id G_GNUC_UNUSED, 1567s # GValue *value G_GNUC_UNUSED, 1567s # GParamSpec *pspec G_GNUC_UNUSED) 1567s # { 1567s # } 1567s # 1567s # static void 1567s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1567s # guint prop_id G_GNUC_UNUSED, 1567s # const GValue *value G_GNUC_UNUSED, 1567s # GParamSpec *pspec G_GNUC_UNUSED) 1567s # { 1567s # } 1567s # 1567s # static void 1567s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1567s # const gchar *sender_name G_GNUC_UNUSED, 1567s # const gchar *signal_name, 1567s # GVariant *parameters) 1567s # { 1567s # _ExtendedGDBusSignalInfo *info; 1567s # GVariantIter iter; 1567s # GVariant *child; 1567s # GValue *paramv; 1567s # gsize num_params; 1567s # gsize n; 1567s # guint signal_id; 1567s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1567s # if (info == NULL) 1567s # return; 1567s # num_params = g_variant_n_children (parameters); 1567s # paramv = g_new0 (GValue, num_params + 1); 1567s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1567s # g_value_set_object (¶mv[0], proxy); 1567s # g_variant_iter_init (&iter, parameters); 1567s # n = 1; 1567s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1567s # { 1567s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1567s # if (arg_info->use_gvariant) 1567s # { 1567s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1567s # g_value_set_variant (¶mv[n], child); 1567s # n++; 1567s # } 1567s # else 1567s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1567s # g_variant_unref (child); 1567s # } 1567s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1567s # g_signal_emitv (paramv, signal_id, 0, NULL); 1567s # for (n = 0; n < num_params + 1; n++) 1567s # g_value_unset (¶mv[n]); 1567s # g_free (paramv); 1567s # } 1567s # 1567s # static void 1567s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1567s # GVariant *changed_properties, 1567s # const gchar *const *invalidated_properties) 1567s # { 1567s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1567s # guint n; 1567s # const gchar *key; 1567s # GVariantIter *iter; 1567s # _ExtendedGDBusPropertyInfo *info; 1567s # g_variant_get (changed_properties, "a{sv}", &iter); 1567s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1567s # { 1567s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1567s # g_datalist_remove_data (&proxy->priv->qdata, key); 1567s # if (info != NULL) 1567s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1567s # } 1567s # g_variant_iter_free (iter); 1567s # for (n = 0; invalidated_properties[n] != NULL; n++) 1567s # { 1567s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1567s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1567s # if (info != NULL) 1567s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1567s # } 1567s # } 1567s # 1567s # static void 1567s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1567s # { 1567s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1567s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1567s # #else 1567s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1567s # #endif 1567s # 1567s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1567s # } 1567s # 1567s # static void 1567s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1567s # { 1567s # GObjectClass *gobject_class; 1567s # GDBusProxyClass *proxy_class; 1567s # 1567s # gobject_class = G_OBJECT_CLASS (klass); 1567s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1567s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1567s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1567s # 1567s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1567s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1567s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1567s # 1567s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1567s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1567s # #endif 1567s # } 1567s # 1567s # static void 1567s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1567s # { 1567s # } 1567s # 1567s # /** 1567s # * org_project_useful_interface_proxy_new: 1567s # * @connection: A #GDBusConnection. 1567s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1567s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1567s # * @object_path: An object path. 1567s # * @cancellable: (nullable): A #GCancellable or %NULL. 1567s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1567s # * @user_data: User data to pass to @callback. 1567s # * 1567s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1567s # * 1567s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1567s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1567s # * 1567s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1567s # */ 1567s # void 1567s # org_project_useful_interface_proxy_new ( 1567s # GDBusConnection *connection, 1567s # GDBusProxyFlags flags, 1567s # const gchar *name, 1567s # const gchar *object_path, 1567s # GCancellable *cancellable, 1567s # GAsyncReadyCallback callback, 1567s # gpointer user_data) 1567s # { 1567s # g_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); 1567s # } 1567s # 1567s # /** 1567s # * org_project_useful_interface_proxy_new_finish: 1567s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1567s # * @error: Return location for error or %NULL 1567s # * 1567s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1567s # * 1567s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1567s # */ 1567s # OrgProjectUsefulInterface * 1567s # org_project_useful_interface_proxy_new_finish ( 1567s # GAsyncResult *res, 1567s # GError **error) 1567s # { 1567s # GObject *ret; 1567s # GObject *source_object; 1567s # source_object = g_async_result_get_source_object (res); 1567s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1567s # g_object_unref (source_object); 1567s # if (ret != NULL) 1567s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1567s # else 1567s # return NULL; 1567s # } 1567s # 1567s # /** 1567s # * org_project_useful_interface_proxy_new_sync: 1567s # * @connection: A #GDBusConnection. 1567s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1567s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1567s # * @object_path: An object path. 1567s # * @cancellable: (nullable): A #GCancellable or %NULL. 1567s # * @error: Return location for error or %NULL 1567s # * 1567s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1567s # * 1567s # * The calling thread is blocked until a reply is received. 1567s # * 1567s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1567s # * 1567s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1567s # */ 1567s # OrgProjectUsefulInterface * 1567s # org_project_useful_interface_proxy_new_sync ( 1567s # GDBusConnection *connection, 1567s # GDBusProxyFlags flags, 1567s # const gchar *name, 1567s # const gchar *object_path, 1567s # GCancellable *cancellable, 1567s # GError **error) 1567s # { 1567s # GInitable *ret; 1567s # 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); 1567s # if (ret != NULL) 1567s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1567s # else 1567s # return NULL; 1567s # } 1567s # 1567s # 1567s # /** 1567s # * org_project_useful_interface_proxy_new_for_bus: 1567s # * @bus_type: A #GBusType. 1567s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1567s # * @name: A bus name (well-known or unique). 1567s # * @object_path: An object path. 1567s # * @cancellable: (nullable): A #GCancellable or %NULL. 1567s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1567s # * @user_data: User data to pass to @callback. 1567s # * 1567s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1567s # * 1567s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1567s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1567s # * 1567s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1567s # */ 1567s # void 1567s # org_project_useful_interface_proxy_new_for_bus ( 1567s # GBusType bus_type, 1567s # GDBusProxyFlags flags, 1567s # const gchar *name, 1567s # const gchar *object_path, 1567s # GCancellable *cancellable, 1567s # GAsyncReadyCallback callback, 1567s # gpointer user_data) 1567s # { 1567s # g_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); 1567s # } 1567s # 1567s # /** 1567s # * org_project_useful_interface_proxy_new_for_bus_finish: 1567s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1567s # * @error: Return location for error or %NULL 1567s # * 1567s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1567s # * 1567s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1567s # */ 1567s # OrgProjectUsefulInterface * 1567s # org_project_useful_interface_proxy_new_for_bus_finish ( 1567s # GAsyncResult *res, 1567s # GError **error) 1567s # { 1567s # GObject *ret; 1567s # GObject *source_object; 1567s # source_object = g_async_result_get_source_object (res); 1567s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1567s # g_object_unref (source_object); 1567s # if (ret != NULL) 1567s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1567s # else 1567s # return NULL; 1567s # } 1567s # 1567s # /** 1567s # * org_project_useful_interface_proxy_new_for_bus_sync: 1567s # * @bus_type: A #GBusType. 1567s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1567s # * @name: A bus name (well-known or unique). 1567s # * @object_path: An object path. 1567s # * @cancellable: (nullable): A #GCancellable or %NULL. 1567s # * @error: Return location for error or %NULL 1567s # * 1567s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1567s # * 1567s # * The calling thread is blocked until a reply is received. 1567s # * 1567s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1567s # * 1567s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1567s # */ 1567s # OrgProjectUsefulInterface * 1567s # org_project_useful_interface_proxy_new_for_bus_sync ( 1567s # GBusType bus_type, 1567s # GDBusProxyFlags flags, 1567s # const gchar *name, 1567s # const gchar *object_path, 1567s # GCancellable *cancellable, 1567s # GError **error) 1567s # { 1567s # GInitable *ret; 1567s # 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); 1567s # if (ret != NULL) 1567s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1567s # else 1567s # return NULL; 1567s # } 1567s # 1567s # 1567s # /* ------------------------------------------------------------------------ */ 1567s # 1567s # /** 1567s # * OrgProjectUsefulInterfaceSkeleton: 1567s # * 1567s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1567s # */ 1567s # 1567s # /** 1567s # * OrgProjectUsefulInterfaceSkeletonClass: 1567s # * @parent_class: The parent class. 1567s # * 1567s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1567s # */ 1567s # 1567s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1567s # { 1567s # GValue *properties; 1567s # GList *changed_properties; 1567s # GSource *changed_properties_idle_source; 1567s # GMainContext *context; 1567s # GMutex lock; 1567s # }; 1567s # 1567s # static void 1567s # _org_project_useful_interface_skeleton_handle_method_call ( 1567s # GDBusConnection *connection G_GNUC_UNUSED, 1567s # const gchar *sender G_GNUC_UNUSED, 1567s # const gchar *object_path G_GNUC_UNUSED, 1567s # const gchar *interface_name, 1567s # const gchar *method_name, 1567s # GVariant *parameters, 1567s # GDBusMethodInvocation *invocation, 1567s # gpointer user_data) 1567s # { 1567s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1567s # _ExtendedGDBusMethodInfo *info; 1567s # GVariantIter iter; 1567s # GVariant *child; 1567s # GValue *paramv; 1567s # gsize num_params; 1567s # guint num_extra; 1567s # gsize n; 1567s # guint signal_id; 1567s # GValue return_value = G_VALUE_INIT; 1567s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1567s # g_assert (info != NULL); 1567s # num_params = g_variant_n_children (parameters); 1567s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1567s # n = 0; 1567s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1567s # g_value_set_object (¶mv[n++], skeleton); 1567s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1567s # g_value_set_object (¶mv[n++], invocation); 1567s # if (info->pass_fdlist) 1567s # { 1567s # #ifdef G_OS_UNIX 1567s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1567s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1567s # #else 1567s # g_assert_not_reached (); 1567s # #endif 1567s # } 1567s # g_variant_iter_init (&iter, parameters); 1567s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1567s # { 1567s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1567s # if (arg_info->use_gvariant) 1567s # { 1567s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1567s # g_value_set_variant (¶mv[n], child); 1567s # n++; 1567s # } 1567s # else 1567s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1567s # g_variant_unref (child); 1567s # } 1567s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1567s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1567s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1567s # if (!g_value_get_boolean (&return_value)) 1567s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1567s # g_value_unset (&return_value); 1567s # for (n = 0; n < num_params + num_extra; n++) 1567s # g_value_unset (¶mv[n]); 1567s # g_free (paramv); 1567s # } 1567s # 1567s # static GVariant * 1567s # _org_project_useful_interface_skeleton_handle_get_property ( 1567s # GDBusConnection *connection G_GNUC_UNUSED, 1567s # const gchar *sender G_GNUC_UNUSED, 1567s # const gchar *object_path G_GNUC_UNUSED, 1567s # const gchar *interface_name G_GNUC_UNUSED, 1567s # const gchar *property_name, 1567s # GError **error, 1567s # gpointer user_data) 1567s # { 1567s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1567s # GValue value = G_VALUE_INIT; 1567s # GParamSpec *pspec; 1567s # _ExtendedGDBusPropertyInfo *info; 1567s # GVariant *ret; 1567s # ret = NULL; 1567s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1567s # g_assert (info != NULL); 1567s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1567s # if (pspec == NULL) 1567s # { 1567s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1567s # } 1567s # else 1567s # { 1567s # g_value_init (&value, pspec->value_type); 1567s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1567s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1567s # g_value_unset (&value); 1567s # } 1567s # return ret; 1567s # } 1567s # 1567s # static gboolean 1567s # _org_project_useful_interface_skeleton_handle_set_property ( 1567s # GDBusConnection *connection G_GNUC_UNUSED, 1567s # const gchar *sender G_GNUC_UNUSED, 1567s # const gchar *object_path G_GNUC_UNUSED, 1567s # const gchar *interface_name G_GNUC_UNUSED, 1567s # const gchar *property_name, 1567s # GVariant *variant, 1567s # GError **error, 1567s # gpointer user_data) 1567s # { 1567s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1567s # GValue value = G_VALUE_INIT; 1567s # GParamSpec *pspec; 1567s # _ExtendedGDBusPropertyInfo *info; 1567s # gboolean ret; 1567s # ret = FALSE; 1567s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1567s # g_assert (info != NULL); 1567s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1567s # if (pspec == NULL) 1567s # { 1567s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1567s # } 1567s # else 1567s # { 1567s # if (info->use_gvariant) 1567s # g_value_set_variant (&value, variant); 1567s # else 1567s # g_dbus_gvariant_to_gvalue (variant, &value); 1567s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1567s # g_value_unset (&value); 1567s # ret = TRUE; 1567s # } 1567s # return ret; 1567s # } 1567s # 1567s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1567s # { 1567s # _org_project_useful_interface_skeleton_handle_method_call, 1567s # _org_project_useful_interface_skeleton_handle_get_property, 1567s # _org_project_useful_interface_skeleton_handle_set_property, 1567s # {NULL} 1567s # }; 1567s # 1567s # static GDBusInterfaceInfo * 1567s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1567s # { 1567s # return org_project_useful_interface_interface_info (); 1567s # } 1567s # 1567s # static GDBusInterfaceVTable * 1567s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1567s # { 1567s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1567s # } 1567s # 1567s # static GVariant * 1567s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1567s # { 1567s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1567s # 1567s # GVariantBuilder builder; 1567s # guint n; 1567s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1567s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1567s # goto out; 1567s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1567s # { 1567s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1567s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1567s # { 1567s # GVariant *value; 1567s # 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); 1567s # if (value != NULL) 1567s # { 1567s # g_variant_take_ref (value); 1567s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1567s # g_variant_unref (value); 1567s # } 1567s # } 1567s # } 1567s # out: 1567s # return g_variant_builder_end (&builder); 1567s # } 1567s # 1567s # static void 1567s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1567s # { 1567s # } 1567s # 1567s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1567s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1567s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1567s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1567s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1567s # 1567s # #else 1567s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1567s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1567s # 1567s # #endif 1567s # static void 1567s # org_project_useful_interface_skeleton_finalize (GObject *object) 1567s # { 1567s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1567s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1567s # if (skeleton->priv->changed_properties_idle_source != NULL) 1567s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1567s # g_main_context_unref (skeleton->priv->context); 1567s # g_mutex_clear (&skeleton->priv->lock); 1567s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1567s # } 1567s # 1567s # static void 1567s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1567s # { 1567s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1567s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1567s # #else 1567s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1567s # #endif 1567s # 1567s # g_mutex_init (&skeleton->priv->lock); 1567s # skeleton->priv->context = g_main_context_ref_thread_default (); 1567s # } 1567s # 1567s # static void 1567s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1567s # { 1567s # GObjectClass *gobject_class; 1567s # GDBusInterfaceSkeletonClass *skeleton_class; 1567s # 1567s # gobject_class = G_OBJECT_CLASS (klass); 1567s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1567s # 1567s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1567s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1567s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1567s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1567s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1567s # 1567s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1567s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1567s # #endif 1567s # } 1567s # 1567s # static void 1567s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1567s # { 1567s # } 1567s # 1567s # /** 1567s # * org_project_useful_interface_skeleton_new: 1567s # * 1567s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1567s # * 1567s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1567s # */ 1567s # OrgProjectUsefulInterface * 1567s # org_project_useful_interface_skeleton_new (void) 1567s # { 1567s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1567s # } 1567s ok 12 __main__.TestCodegen.test_generate_methods_marshallers_multiple_in_args 1567s # tmpdir: /tmp/tmpx6idwnyi 1567s # codegen: /usr/bin/gdbus-codegen 1567s # /tmp/tmpx6idwnyi/tmpm66lyp_v.xml: 1567s # 1567s # 1567s # 1567s # 1567s # 1567s # 1567s # 1567s # 1567s # 1567s # 1567s # 1567s # 1567s # 1567s # 1567s # 1567s # 1567s # 1567s # 1567s # 1567s # 1567s # 1567s # 1567s # 1567s # 1567s # 1567s # 1567s # 1567s # 1567s # 1567s # 1567s # 1567s # 1567s # 1567s # 1567s # 1567s # 1567s # 1567s # 1567s # 1567s # 1567s # 1567s # 1567s # 1567s # 1567s # 1567s # 1567s # 1567s # 1567s # 1567s # 1567s # 1567s # 1567s # 1567s # 1567s # 1567s # 1567s # 1567s # 1567s # 1567s # 1567s # 1567s # 1567s # 1567s # 1567s # 1567s # 1567s # 1567s # 1567s # 1567s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpx6idwnyi/tmpm66lyp_v.xml', '--output', '-', '--body'] 1567s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-baqskmurxn,guid=fbaffe99d0ccb1f6e1beb84865fc01cd', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.YcZbqk/autopkgtest_tmp', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.YcZbqk/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.YcZbqk/autopkgtest_tmp', 'TERM': 'unknown', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.YcZbqk/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.sVTVMp0Db0', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.rqZsJO/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.YcZbqk/wrapper.sh --artifacts=/tmp/autopkgtest.YcZbqk/installed-tests-artifacts --chdir=/tmp/autopkgtest.YcZbqk/build.S0E/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.YcZbqk/installed-tests-stderr --stdout=/tmp/autopkgtest.YcZbqk/installed-tests-stdout --tmp=/tmp/autopkgtest.YcZbqk/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2' --make-executable=/tmp/autopkgtest.YcZbqk/build.S0E/src/debian/tests/installed-tests -- /tmp/autopkgtest.YcZbqk/build.S0E/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.YcZbqk/build.S0E/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.YcZbqk/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1567s # Output: /* 1567s # * This file is generated by gdbus-codegen, do not modify it. 1567s # * 1567s # * The license of this code is the same as for the D-Bus interface description 1567s # * it was derived from. Note that it links to GLib, so must comply with the 1567s # * LGPL linking clauses. 1567s # */ 1567s # 1567s # #ifdef HAVE_CONFIG_H 1567s # # include "config.h" 1567s # #endif 1567s # 1567s # #include 1567s # #ifdef G_OS_UNIX 1567s # # include 1567s # #endif 1567s # 1567s # #ifdef G_ENABLE_DEBUG 1567s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1567s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1567s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1567s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1567s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1567s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1567s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1567s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1567s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1567s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1567s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1567s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1567s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1567s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1567s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1567s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1567s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1567s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1567s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1567s # #else /* !G_ENABLE_DEBUG */ 1567s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1567s # * Do not access GValues directly in your code. Instead, use the 1567s # * g_value_get_*() functions 1567s # */ 1567s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1567s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1567s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1567s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1567s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1567s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1567s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1567s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1567s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1567s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1567s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1567s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1567s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1567s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1567s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1567s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1567s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1567s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1567s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1567s # #endif /* !G_ENABLE_DEBUG */ 1567s # 1567s # typedef struct 1567s # { 1567s # GDBusArgInfo parent_struct; 1567s # gboolean use_gvariant; 1567s # } _ExtendedGDBusArgInfo; 1567s # 1567s # typedef struct 1567s # { 1567s # GDBusMethodInfo parent_struct; 1567s # const gchar *signal_name; 1567s # gboolean pass_fdlist; 1567s # } _ExtendedGDBusMethodInfo; 1567s # 1567s # typedef struct 1567s # { 1567s # GDBusSignalInfo parent_struct; 1567s # const gchar *signal_name; 1567s # } _ExtendedGDBusSignalInfo; 1567s # 1567s # typedef struct 1567s # { 1567s # GDBusPropertyInfo parent_struct; 1567s # const gchar *hyphen_name; 1567s # guint use_gvariant : 1; 1567s # guint emits_changed_signal : 1; 1567s # } _ExtendedGDBusPropertyInfo; 1567s # 1567s # typedef struct 1567s # { 1567s # GDBusInterfaceInfo parent_struct; 1567s # const gchar *hyphen_name; 1567s # } _ExtendedGDBusInterfaceInfo; 1567s # 1567s # typedef struct 1567s # { 1567s # const _ExtendedGDBusPropertyInfo *info; 1567s # guint prop_id; 1567s # GValue orig_value; /* the value before the change */ 1567s # } ChangedProperty; 1567s # 1567s # static void 1567s # _changed_property_free (ChangedProperty *data) 1567s # { 1567s # g_value_unset (&data->orig_value); 1567s # g_free (data); 1567s # } 1567s # 1567s # static gboolean 1567s # _g_strv_equal0 (gchar **a, gchar **b) 1567s # { 1567s # gboolean ret = FALSE; 1567s # guint n; 1567s # if (a == NULL && b == NULL) 1567s # { 1567s # ret = TRUE; 1567s # goto out; 1567s # } 1567s # if (a == NULL || b == NULL) 1567s # goto out; 1567s # if (g_strv_length (a) != g_strv_length (b)) 1567s # goto out; 1567s # for (n = 0; a[n] != NULL; n++) 1567s # if (g_strcmp0 (a[n], b[n]) != 0) 1567s # goto out; 1567s # ret = TRUE; 1567s # out: 1567s # return ret; 1567s # } 1567s # 1567s # static gboolean 1567s # _g_variant_equal0 (GVariant *a, GVariant *b) 1567s # { 1567s # gboolean ret = FALSE; 1567s # if (a == NULL && b == NULL) 1567s # { 1567s # ret = TRUE; 1567s # goto out; 1567s # } 1567s # if (a == NULL || b == NULL) 1567s # goto out; 1567s # ret = g_variant_equal (a, b); 1567s # out: 1567s # return ret; 1567s # } 1567s # 1567s # G_GNUC_UNUSED static gboolean 1567s # _g_value_equal (const GValue *a, const GValue *b) 1567s # { 1567s # gboolean ret = FALSE; 1567s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1567s # switch (G_VALUE_TYPE (a)) 1567s # { 1567s # case G_TYPE_BOOLEAN: 1567s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1567s # break; 1567s # case G_TYPE_UCHAR: 1567s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1567s # break; 1567s # case G_TYPE_INT: 1567s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1567s # break; 1567s # case G_TYPE_UINT: 1567s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1567s # break; 1567s # case G_TYPE_INT64: 1567s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1567s # break; 1567s # case G_TYPE_UINT64: 1567s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1567s # break; 1567s # case G_TYPE_DOUBLE: 1567s # { 1567s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1567s # gdouble da = g_value_get_double (a); 1567s # gdouble db = g_value_get_double (b); 1567s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1567s # } 1567s # break; 1567s # case G_TYPE_STRING: 1567s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1567s # break; 1567s # case G_TYPE_VARIANT: 1567s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1567s # break; 1567s # default: 1567s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1567s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1567s # else 1567s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1567s # break; 1567s # } 1567s # return ret; 1567s # } 1567s # 1567s # static void 1567s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_BOOLEAN_UCHAR_INT_UINT_INT_UINT_INT64_UINT64_DOUBLE_STRING_STRING_STRING_VARIANT_STRING_BOXED_BOXED_BOXED_VARIANT ( 1567s # GClosure *closure, 1567s # GValue *return_value, 1567s # unsigned int n_param_values, 1567s # const GValue *param_values, 1567s # void *invocation_hint G_GNUC_UNUSED, 1567s # void *marshal_data) 1567s # { 1567s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectBooleanUcharIntUintIntUintInt64Uint64DoubleStringStringStringVariantStringBoxedBoxedBoxedVariantFunc) 1567s # (void *data1, 1567s # GDBusMethodInvocation *arg_method_invocation, 1567s # gboolean arg_an_b, 1567s # guchar arg_an_y, 1567s # gint16 arg_an_n, 1567s # guint16 arg_an_q, 1567s # gint arg_an_i, 1567s # guint arg_an_u, 1567s # gint64 arg_an_x, 1567s # guint64 arg_an_t, 1567s # gdouble arg_an_d, 1567s # const gchar *arg_an_s, 1567s # const gchar *arg_an_o, 1567s # const gchar *arg_an_g, 1567s # GVariant *arg_an_h, 1567s # const gchar *arg_an_ay, 1567s # const gchar *const *arg_an_as, 1567s # const gchar *const *arg_an_ao, 1567s # const gchar *const *arg_an_aay, 1567s # GVariant *arg_an_asv, 1567s # void *data2); 1567s # _GDbusCodegenMarshalBoolean_ObjectBooleanUcharIntUintIntUintInt64Uint64DoubleStringStringStringVariantStringBoxedBoxedBoxedVariantFunc callback; 1567s # GCClosure *cc = (GCClosure*) closure; 1567s # void *data1, *data2; 1567s # gboolean v_return; 1567s # 1567s # g_return_if_fail (return_value != NULL); 1567s # g_return_if_fail (n_param_values == 20); 1567s # 1567s # if (G_CCLOSURE_SWAP_DATA (closure)) 1567s # { 1567s # data1 = closure->data; 1567s # data2 = g_value_peek_pointer (param_values + 0); 1567s # } 1567s # else 1567s # { 1567s # data1 = g_value_peek_pointer (param_values + 0); 1567s # data2 = closure->data; 1567s # } 1567s # 1567s # callback = (_GDbusCodegenMarshalBoolean_ObjectBooleanUcharIntUintIntUintInt64Uint64DoubleStringStringStringVariantStringBoxedBoxedBoxedVariantFunc) 1567s # (marshal_data ? marshal_data : cc->callback); 1567s # 1567s # v_return = 1567s # callback (data1, 1567s # g_marshal_value_peek_object (param_values + 1), 1567s # g_marshal_value_peek_boolean (param_values + 2), 1567s # g_marshal_value_peek_uchar (param_values + 3), 1567s # g_marshal_value_peek_int (param_values + 4), 1567s # g_marshal_value_peek_uint (param_values + 5), 1567s # g_marshal_value_peek_int (param_values + 6), 1567s # g_marshal_value_peek_uint (param_values + 7), 1567s # g_marshal_value_peek_int64 (param_values + 8), 1567s # g_marshal_value_peek_uint64 (param_values + 9), 1567s # g_marshal_value_peek_double (param_values + 10), 1567s # g_marshal_value_peek_string (param_values + 11), 1567s # g_marshal_value_peek_string (param_values + 12), 1567s # g_marshal_value_peek_string (param_values + 13), 1567s # g_marshal_value_peek_variant (param_values + 14), 1567s # g_marshal_value_peek_string (param_values + 15), 1567s # g_marshal_value_peek_boxed (param_values + 16), 1567s # g_marshal_value_peek_boxed (param_values + 17), 1567s # g_marshal_value_peek_boxed (param_values + 18), 1567s # g_marshal_value_peek_variant (param_values + 19), 1567s # data2); 1567s # 1567s # g_value_set_boolean (return_value, v_return); 1567s # } 1567s # 1567s # /* ------------------------------------------------------------------------ 1567s # * Code for interface org.project.CallableIface 1567s # * ------------------------------------------------------------------------ 1567s # */ 1567s # 1567s # /** 1567s # * SECTION:OrgProjectCallableIface 1567s # * @title: OrgProjectCallableIface 1567s # * @short_description: Generated C code for the org.project.CallableIface D-Bus interface 1567s # * 1567s # * This section contains code for working with the org.project.CallableIface D-Bus interface in C. 1567s # */ 1567s # 1567s # /* ---- Introspection data for org.project.CallableIface ---- */ 1567s # 1567s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_b = 1567s # { 1567s # { 1567s # -1, 1567s # (gchar *) "an_b", 1567s # (gchar *) "b", 1567s # NULL 1567s # }, 1567s # FALSE 1567s # }; 1567s # 1567s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_y = 1567s # { 1567s # { 1567s # -1, 1567s # (gchar *) "an_y", 1567s # (gchar *) "y", 1567s # NULL 1567s # }, 1567s # FALSE 1567s # }; 1567s # 1567s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_n = 1567s # { 1567s # { 1567s # -1, 1567s # (gchar *) "an_n", 1567s # (gchar *) "n", 1567s # NULL 1567s # }, 1567s # FALSE 1567s # }; 1567s # 1567s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_q = 1567s # { 1567s # { 1567s # -1, 1567s # (gchar *) "an_q", 1567s # (gchar *) "q", 1567s # NULL 1567s # }, 1567s # FALSE 1567s # }; 1567s # 1567s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_i = 1567s # { 1567s # { 1567s # -1, 1567s # (gchar *) "an_i", 1567s # (gchar *) "i", 1567s # NULL 1567s # }, 1567s # FALSE 1567s # }; 1567s # 1567s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_u = 1567s # { 1567s # { 1567s # -1, 1567s # (gchar *) "an_u", 1567s # (gchar *) "u", 1567s # NULL 1567s # }, 1567s # FALSE 1567s # }; 1567s # 1567s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_x = 1567s # { 1567s # { 1567s # -1, 1567s # (gchar *) "an_x", 1567s # (gchar *) "x", 1567s # NULL 1567s # }, 1567s # FALSE 1567s # }; 1567s # 1567s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_t = 1567s # { 1567s # { 1567s # -1, 1567s # (gchar *) "an_t", 1567s # (gchar *) "t", 1567s # NULL 1567s # }, 1567s # FALSE 1567s # }; 1567s # 1567s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_d = 1567s # { 1567s # { 1567s # -1, 1567s # (gchar *) "an_d", 1567s # (gchar *) "d", 1567s # NULL 1567s # }, 1567s # FALSE 1567s # }; 1567s # 1567s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_s = 1567s # { 1567s # { 1567s # -1, 1567s # (gchar *) "an_s", 1567s # (gchar *) "s", 1567s # NULL 1567s # }, 1567s # FALSE 1567s # }; 1567s # 1567s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_o = 1567s # { 1567s # { 1567s # -1, 1567s # (gchar *) "an_o", 1567s # (gchar *) "o", 1567s # NULL 1567s # }, 1567s # FALSE 1567s # }; 1567s # 1567s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_g = 1567s # { 1567s # { 1567s # -1, 1567s # (gchar *) "an_g", 1567s # (gchar *) "g", 1567s # NULL 1567s # }, 1567s # FALSE 1567s # }; 1567s # 1567s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_h = 1567s # { 1567s # { 1567s # -1, 1567s # (gchar *) "an_h", 1567s # (gchar *) "h", 1567s # NULL 1567s # }, 1567s # FALSE 1567s # }; 1567s # 1567s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_ay = 1567s # { 1567s # { 1567s # -1, 1567s # (gchar *) "an_ay", 1567s # (gchar *) "ay", 1567s # NULL 1567s # }, 1567s # FALSE 1567s # }; 1567s # 1567s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_as = 1567s # { 1567s # { 1567s # -1, 1567s # (gchar *) "an_as", 1567s # (gchar *) "as", 1567s # NULL 1567s # }, 1567s # FALSE 1567s # }; 1567s # 1567s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_ao = 1567s # { 1567s # { 1567s # -1, 1567s # (gchar *) "an_ao", 1567s # (gchar *) "ao", 1567s # NULL 1567s # }, 1567s # FALSE 1567s # }; 1567s # 1567s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_aay = 1567s # { 1567s # { 1567s # -1, 1567s # (gchar *) "an_aay", 1567s # (gchar *) "aay", 1567s # NULL 1567s # }, 1567s # FALSE 1567s # }; 1567s # 1567s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_asv = 1567s # { 1567s # { 1567s # -1, 1567s # (gchar *) "an_asv", 1567s # (gchar *) "a{sv}", 1567s # NULL 1567s # }, 1567s # FALSE 1567s # }; 1567s # 1567s # static const GDBusArgInfo * const _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_pointers[] = 1567s # { 1567s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_b.parent_struct, 1567s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_y.parent_struct, 1567s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_n.parent_struct, 1567s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_q.parent_struct, 1567s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_i.parent_struct, 1567s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_u.parent_struct, 1567s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_x.parent_struct, 1567s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_t.parent_struct, 1567s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_d.parent_struct, 1567s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_s.parent_struct, 1567s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_o.parent_struct, 1567s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_g.parent_struct, 1567s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_h.parent_struct, 1567s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_ay.parent_struct, 1567s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_as.parent_struct, 1567s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_ao.parent_struct, 1567s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_aay.parent_struct, 1567s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_asv.parent_struct, 1567s # NULL 1567s # }; 1567s # 1567s # static const _ExtendedGDBusMethodInfo _org_project_callable_iface_method_info_method_with_many_args = 1567s # { 1567s # { 1567s # -1, 1567s # (gchar *) "MethodWithManyArgs", 1567s # (GDBusArgInfo **) &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_pointers, 1567s # NULL, 1567s # NULL 1567s # }, 1567s # "handle-method-with-many-args", 1567s # FALSE 1567s # }; 1567s # 1567s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_b = 1567s # { 1567s # { 1567s # -1, 1567s # (gchar *) "an_b", 1567s # (gchar *) "b", 1567s # NULL 1567s # }, 1567s # FALSE 1567s # }; 1567s # 1567s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_y = 1567s # { 1567s # { 1567s # -1, 1567s # (gchar *) "an_y", 1567s # (gchar *) "y", 1567s # NULL 1567s # }, 1567s # FALSE 1567s # }; 1567s # 1567s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_n = 1567s # { 1567s # { 1567s # -1, 1567s # (gchar *) "an_n", 1567s # (gchar *) "n", 1567s # NULL 1567s # }, 1567s # FALSE 1567s # }; 1567s # 1567s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_q = 1567s # { 1567s # { 1567s # -1, 1567s # (gchar *) "an_q", 1567s # (gchar *) "q", 1567s # NULL 1567s # }, 1567s # FALSE 1567s # }; 1567s # 1567s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_i = 1567s # { 1567s # { 1567s # -1, 1567s # (gchar *) "an_i", 1567s # (gchar *) "i", 1567s # NULL 1567s # }, 1567s # FALSE 1567s # }; 1567s # 1567s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_u = 1567s # { 1567s # { 1567s # -1, 1567s # (gchar *) "an_u", 1567s # (gchar *) "u", 1567s # NULL 1567s # }, 1567s # FALSE 1567s # }; 1567s # 1567s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_x = 1567s # { 1567s # { 1567s # -1, 1567s # (gchar *) "an_x", 1567s # (gchar *) "x", 1567s # NULL 1567s # }, 1567s # FALSE 1567s # }; 1567s # 1567s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_t = 1567s # { 1567s # { 1567s # -1, 1567s # (gchar *) "an_t", 1567s # (gchar *) "t", 1567s # NULL 1567s # }, 1567s # FALSE 1567s # }; 1567s # 1567s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_d = 1567s # { 1567s # { 1567s # -1, 1567s # (gchar *) "an_d", 1567s # (gchar *) "d", 1567s # NULL 1567s # }, 1567s # FALSE 1567s # }; 1567s # 1567s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_s = 1567s # { 1567s # { 1567s # -1, 1567s # (gchar *) "an_s", 1567s # (gchar *) "s", 1567s # NULL 1567s # }, 1567s # FALSE 1567s # }; 1567s # 1567s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_o = 1567s # { 1567s # { 1567s # -1, 1567s # (gchar *) "an_o", 1567s # (gchar *) "o", 1567s # NULL 1567s # }, 1567s # FALSE 1567s # }; 1567s # 1567s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_g = 1567s # { 1567s # { 1567s # -1, 1567s # (gchar *) "an_g", 1567s # (gchar *) "g", 1567s # NULL 1567s # }, 1567s # FALSE 1567s # }; 1567s # 1567s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_h = 1567s # { 1567s # { 1567s # -1, 1567s # (gchar *) "an_h", 1567s # (gchar *) "h", 1567s # NULL 1567s # }, 1567s # FALSE 1567s # }; 1567s # 1567s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_ay = 1567s # { 1567s # { 1567s # -1, 1567s # (gchar *) "an_ay", 1567s # (gchar *) "ay", 1567s # NULL 1567s # }, 1567s # FALSE 1567s # }; 1567s # 1567s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_as = 1567s # { 1567s # { 1567s # -1, 1567s # (gchar *) "an_as", 1567s # (gchar *) "as", 1567s # NULL 1567s # }, 1567s # FALSE 1567s # }; 1567s # 1567s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_ao = 1567s # { 1567s # { 1567s # -1, 1567s # (gchar *) "an_ao", 1567s # (gchar *) "ao", 1567s # NULL 1567s # }, 1567s # FALSE 1567s # }; 1567s # 1567s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_aay = 1567s # { 1567s # { 1567s # -1, 1567s # (gchar *) "an_aay", 1567s # (gchar *) "aay", 1567s # NULL 1567s # }, 1567s # FALSE 1567s # }; 1567s # 1567s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_asv = 1567s # { 1567s # { 1567s # -1, 1567s # (gchar *) "an_asv", 1567s # (gchar *) "a{sv}", 1567s # NULL 1567s # }, 1567s # FALSE 1567s # }; 1567s # 1567s # static const GDBusArgInfo * const _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_pointers[] = 1567s # { 1567s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_b.parent_struct, 1567s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_y.parent_struct, 1567s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_n.parent_struct, 1567s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_q.parent_struct, 1567s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_i.parent_struct, 1567s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_u.parent_struct, 1567s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_x.parent_struct, 1567s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_t.parent_struct, 1567s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_d.parent_struct, 1567s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_s.parent_struct, 1567s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_o.parent_struct, 1567s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_g.parent_struct, 1567s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_h.parent_struct, 1567s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_ay.parent_struct, 1567s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_as.parent_struct, 1567s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_ao.parent_struct, 1567s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_aay.parent_struct, 1567s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_asv.parent_struct, 1567s # NULL 1567s # }; 1567s # 1567s # static const _ExtendedGDBusMethodInfo _org_project_callable_iface_method_info_same_method_with_many_args = 1567s # { 1567s # { 1567s # -1, 1567s # (gchar *) "SameMethodWithManyArgs", 1567s # (GDBusArgInfo **) &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_pointers, 1567s # NULL, 1567s # NULL 1567s # }, 1567s # "handle-same-method-with-many-args", 1567s # FALSE 1567s # }; 1567s # 1567s # static const GDBusMethodInfo * const _org_project_callable_iface_method_info_pointers[] = 1567s # { 1567s # &_org_project_callable_iface_method_info_method_with_many_args.parent_struct, 1567s # &_org_project_callable_iface_method_info_same_method_with_many_args.parent_struct, 1567s # NULL 1567s # }; 1567s # 1567s # static const _ExtendedGDBusInterfaceInfo _org_project_callable_iface_interface_info = 1567s # { 1567s # { 1567s # -1, 1567s # (gchar *) "org.project.CallableIface", 1567s # (GDBusMethodInfo **) &_org_project_callable_iface_method_info_pointers, 1567s # NULL, 1567s # NULL, 1567s # NULL 1567s # }, 1567s # "org-project-callable-iface", 1567s # }; 1567s # 1567s # 1567s # /** 1567s # * org_project_callable_iface_interface_info: 1567s # * 1567s # * Gets a machine-readable description of the org.project.CallableIface D-Bus interface. 1567s # * 1567s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1567s # */ 1567s # GDBusInterfaceInfo * 1567s # org_project_callable_iface_interface_info (void) 1567s # { 1567s # return (GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct; 1567s # } 1567s # 1567s # /** 1567s # * org_project_callable_iface_override_properties: 1567s # * @klass: The class structure for a #GObject derived class. 1567s # * @property_id_begin: The property id to assign to the first overridden property. 1567s # * 1567s # * Overrides all #GObject properties in the #OrgProjectCallableIface interface for a concrete class. 1567s # * The properties are overridden in the order they are defined. 1567s # * 1567s # * Returns: The last property id. 1567s # */ 1567s # guint 1567s # org_project_callable_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1567s # { 1567s # return property_id_begin - 1; 1567s # } 1567s # 1567s # 1567s # inline static void 1567s # org_project_callable_iface_method_marshal_method_with_many_args ( 1567s # GClosure *closure, 1567s # GValue *return_value, 1567s # unsigned int n_param_values, 1567s # const GValue *param_values, 1567s # void *invocation_hint, 1567s # void *marshal_data) 1567s # { 1567s # _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, 1567s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1567s # } 1567s # 1567s # inline static void 1567s # org_project_callable_iface_method_marshal_same_method_with_many_args ( 1567s # GClosure *closure, 1567s # GValue *return_value, 1567s # unsigned int n_param_values, 1567s # const GValue *param_values, 1567s # void *invocation_hint, 1567s # void *marshal_data) 1567s # { 1567s # _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, 1567s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1567s # } 1567s # 1567s # 1567s # /** 1567s # * OrgProjectCallableIface: 1567s # * 1567s # * Abstract interface type for the D-Bus interface org.project.CallableIface. 1567s # */ 1567s # 1567s # /** 1567s # * OrgProjectCallableIfaceIface: 1567s # * @parent_iface: The parent interface. 1567s # * @handle_method_with_many_args: Handler for the #OrgProjectCallableIface::handle-method-with-many-args signal. 1567s # * @handle_same_method_with_many_args: Handler for the #OrgProjectCallableIface::handle-same-method-with-many-args signal. 1567s # * 1567s # * Virtual table for the D-Bus interface org.project.CallableIface. 1567s # */ 1567s # 1567s # typedef OrgProjectCallableIfaceIface OrgProjectCallableIfaceInterface; 1567s # G_DEFINE_INTERFACE (OrgProjectCallableIface, org_project_callable_iface, G_TYPE_OBJECT) 1567s # 1567s # static void 1567s # org_project_callable_iface_default_init (OrgProjectCallableIfaceIface *iface) 1567s # { 1567s # /* GObject signals for incoming D-Bus method calls: */ 1567s # /** 1567s # * OrgProjectCallableIface::handle-method-with-many-args: 1567s # * @object: A #OrgProjectCallableIface. 1567s # * @invocation: A #GDBusMethodInvocation. 1567s # * @arg_an_b: Argument passed by remote caller. 1567s # * @arg_an_y: Argument passed by remote caller. 1567s # * @arg_an_n: Argument passed by remote caller. 1567s # * @arg_an_q: Argument passed by remote caller. 1567s # * @arg_an_i: Argument passed by remote caller. 1567s # * @arg_an_u: Argument passed by remote caller. 1567s # * @arg_an_x: Argument passed by remote caller. 1567s # * @arg_an_t: Argument passed by remote caller. 1567s # * @arg_an_d: Argument passed by remote caller. 1567s # * @arg_an_s: Argument passed by remote caller. 1567s # * @arg_an_o: Argument passed by remote caller. 1567s # * @arg_an_g: Argument passed by remote caller. 1567s # * @arg_an_h: Argument passed by remote caller. 1567s # * @arg_an_ay: Argument passed by remote caller. 1567s # * @arg_an_as: Argument passed by remote caller. 1567s # * @arg_an_ao: Argument passed by remote caller. 1567s # * @arg_an_aay: Argument passed by remote caller. 1567s # * @arg_an_asv: Argument passed by remote caller. 1567s # * 1567s # * Signal emitted when a remote caller is invoking the MethodWithManyArgs() D-Bus method. 1567s # * 1567s # * 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. 1567s # * 1567s # * 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. 1567s # */ 1567s # g_signal_new ("handle-method-with-many-args", 1567s # G_TYPE_FROM_INTERFACE (iface), 1567s # G_SIGNAL_RUN_LAST, 1567s # G_STRUCT_OFFSET (OrgProjectCallableIfaceIface, handle_method_with_many_args), 1567s # g_signal_accumulator_true_handled, 1567s # NULL, 1567s # org_project_callable_iface_method_marshal_method_with_many_args, 1567s # G_TYPE_BOOLEAN, 1567s # 19, 1567s # 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); 1567s # 1567s # /** 1567s # * OrgProjectCallableIface::handle-same-method-with-many-args: 1567s # * @object: A #OrgProjectCallableIface. 1567s # * @invocation: A #GDBusMethodInvocation. 1567s # * @arg_an_b: Argument passed by remote caller. 1567s # * @arg_an_y: Argument passed by remote caller. 1567s # * @arg_an_n: Argument passed by remote caller. 1567s # * @arg_an_q: Argument passed by remote caller. 1567s # * @arg_an_i: Argument passed by remote caller. 1567s # * @arg_an_u: Argument passed by remote caller. 1567s # * @arg_an_x: Argument passed by remote caller. 1567s # * @arg_an_t: Argument passed by remote caller. 1567s # * @arg_an_d: Argument passed by remote caller. 1567s # * @arg_an_s: Argument passed by remote caller. 1567s # * @arg_an_o: Argument passed by remote caller. 1567s # * @arg_an_g: Argument passed by remote caller. 1567s # * @arg_an_h: Argument passed by remote caller. 1567s # * @arg_an_ay: Argument passed by remote caller. 1567s # * @arg_an_as: Argument passed by remote caller. 1567s # * @arg_an_ao: Argument passed by remote caller. 1567s # * @arg_an_aay: Argument passed by remote caller. 1567s # * @arg_an_asv: Argument passed by remote caller. 1567s # * 1567s # * Signal emitted when a remote caller is invoking the SameMethodWithManyArgs() D-Bus method. 1567s # * 1567s # * 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. 1567s # * 1567s # * 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. 1567s # */ 1567s # g_signal_new ("handle-same-method-with-many-args", 1567s # G_TYPE_FROM_INTERFACE (iface), 1567s # G_SIGNAL_RUN_LAST, 1567s # G_STRUCT_OFFSET (OrgProjectCallableIfaceIface, handle_same_method_with_many_args), 1567s # g_signal_accumulator_true_handled, 1567s # NULL, 1567s # org_project_callable_iface_method_marshal_same_method_with_many_args, 1567s # G_TYPE_BOOLEAN, 1567s # 19, 1567s # 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); 1567s # 1567s # } 1567s # 1567s # /** 1567s # * org_project_callable_iface_call_method_with_many_args: 1567s # * @proxy: A #OrgProjectCallableIfaceProxy. 1567s # * @arg_an_b: Argument to pass with the method invocation. 1567s # * @arg_an_y: Argument to pass with the method invocation. 1567s # * @arg_an_n: Argument to pass with the method invocation. 1567s # * @arg_an_q: Argument to pass with the method invocation. 1567s # * @arg_an_i: Argument to pass with the method invocation. 1567s # * @arg_an_u: Argument to pass with the method invocation. 1567s # * @arg_an_x: Argument to pass with the method invocation. 1567s # * @arg_an_t: Argument to pass with the method invocation. 1567s # * @arg_an_d: Argument to pass with the method invocation. 1567s # * @arg_an_s: Argument to pass with the method invocation. 1567s # * @arg_an_o: Argument to pass with the method invocation. 1567s # * @arg_an_g: Argument to pass with the method invocation. 1567s # * @arg_an_h: Argument to pass with the method invocation. 1567s # * @arg_an_ay: Argument to pass with the method invocation. 1567s # * @arg_an_as: Argument to pass with the method invocation. 1567s # * @arg_an_ao: Argument to pass with the method invocation. 1567s # * @arg_an_aay: Argument to pass with the method invocation. 1567s # * @arg_an_asv: Argument to pass with the method invocation. 1567s # * @cancellable: (nullable): A #GCancellable or %NULL. 1567s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1567s # * @user_data: User data to pass to @callback. 1567s # * 1567s # * Asynchronously invokes the MethodWithManyArgs() D-Bus method on @proxy. 1567s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1567s # * You can then call org_project_callable_iface_call_method_with_many_args_finish() to get the result of the operation. 1567s # * 1567s # * See org_project_callable_iface_call_method_with_many_args_sync() for the synchronous, blocking version of this method. 1567s # */ 1567s # void 1567s # org_project_callable_iface_call_method_with_many_args ( 1567s # OrgProjectCallableIface *proxy, 1567s # gboolean arg_an_b, 1567s # guchar arg_an_y, 1567s # gint16 arg_an_n, 1567s # guint16 arg_an_q, 1567s # gint arg_an_i, 1567s # guint arg_an_u, 1567s # gint64 arg_an_x, 1567s # guint64 arg_an_t, 1567s # gdouble arg_an_d, 1567s # const gchar *arg_an_s, 1567s # const gchar *arg_an_o, 1567s # const gchar *arg_an_g, 1567s # GVariant *arg_an_h, 1567s # const gchar *arg_an_ay, 1567s # const gchar *const *arg_an_as, 1567s # const gchar *const *arg_an_ao, 1567s # const gchar *const *arg_an_aay, 1567s # GVariant *arg_an_asv, 1567s # GCancellable *cancellable, 1567s # GAsyncReadyCallback callback, 1567s # gpointer user_data) 1567s # { 1567s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1567s # "MethodWithManyArgs", 1567s # g_variant_new ("(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 1567s # arg_an_b, 1567s # arg_an_y, 1567s # arg_an_n, 1567s # arg_an_q, 1567s # arg_an_i, 1567s # arg_an_u, 1567s # arg_an_x, 1567s # arg_an_t, 1567s # arg_an_d, 1567s # arg_an_s, 1567s # arg_an_o, 1567s # arg_an_g, 1567s # arg_an_h, 1567s # arg_an_ay, 1567s # arg_an_as, 1567s # arg_an_ao, 1567s # arg_an_aay, 1567s # arg_an_asv), 1567s # G_DBUS_CALL_FLAGS_NONE, 1567s # -1, 1567s # cancellable, 1567s # callback, 1567s # user_data); 1567s # } 1567s # 1567s # /** 1567s # * org_project_callable_iface_call_method_with_many_args_finish: 1567s # * @proxy: A #OrgProjectCallableIfaceProxy. 1567s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_call_method_with_many_args(). 1567s # * @error: Return location for error or %NULL. 1567s # * 1567s # * Finishes an operation started with org_project_callable_iface_call_method_with_many_args(). 1567s # * 1567s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1567s # */ 1567s # gboolean 1567s # org_project_callable_iface_call_method_with_many_args_finish ( 1567s # OrgProjectCallableIface *proxy, 1567s # GAsyncResult *res, 1567s # GError **error) 1567s # { 1567s # GVariant *_ret; 1567s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1567s # if (_ret == NULL) 1567s # goto _out; 1567s # g_variant_get (_ret, 1567s # "()"); 1567s # g_variant_unref (_ret); 1567s # _out: 1567s # return _ret != NULL; 1567s # } 1567s # 1567s # /** 1567s # * org_project_callable_iface_call_method_with_many_args_sync: 1567s # * @proxy: A #OrgProjectCallableIfaceProxy. 1567s # * @arg_an_b: Argument to pass with the method invocation. 1567s # * @arg_an_y: Argument to pass with the method invocation. 1567s # * @arg_an_n: Argument to pass with the method invocation. 1567s # * @arg_an_q: Argument to pass with the method invocation. 1567s # * @arg_an_i: Argument to pass with the method invocation. 1567s # * @arg_an_u: Argument to pass with the method invocation. 1567s # * @arg_an_x: Argument to pass with the method invocation. 1567s # * @arg_an_t: Argument to pass with the method invocation. 1567s # * @arg_an_d: Argument to pass with the method invocation. 1567s # * @arg_an_s: Argument to pass with the method invocation. 1567s # * @arg_an_o: Argument to pass with the method invocation. 1567s # * @arg_an_g: Argument to pass with the method invocation. 1567s # * @arg_an_h: Argument to pass with the method invocation. 1567s # * @arg_an_ay: Argument to pass with the method invocation. 1567s # * @arg_an_as: Argument to pass with the method invocation. 1567s # * @arg_an_ao: Argument to pass with the method invocation. 1567s # * @arg_an_aay: Argument to pass with the method invocation. 1567s # * @arg_an_asv: Argument to pass with the method invocation. 1567s # * @cancellable: (nullable): A #GCancellable or %NULL. 1567s # * @error: Return location for error or %NULL. 1567s # * 1567s # * Synchronously invokes the MethodWithManyArgs() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1567s # * 1567s # * See org_project_callable_iface_call_method_with_many_args() for the asynchronous version of this method. 1567s # * 1567s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1567s # */ 1567s # gboolean 1567s # org_project_callable_iface_call_method_with_many_args_sync ( 1567s # OrgProjectCallableIface *proxy, 1567s # gboolean arg_an_b, 1567s # guchar arg_an_y, 1567s # gint16 arg_an_n, 1567s # guint16 arg_an_q, 1567s # gint arg_an_i, 1567s # guint arg_an_u, 1567s # gint64 arg_an_x, 1567s # guint64 arg_an_t, 1567s # gdouble arg_an_d, 1567s # const gchar *arg_an_s, 1567s # const gchar *arg_an_o, 1567s # const gchar *arg_an_g, 1567s # GVariant *arg_an_h, 1567s # const gchar *arg_an_ay, 1567s # const gchar *const *arg_an_as, 1567s # const gchar *const *arg_an_ao, 1567s # const gchar *const *arg_an_aay, 1567s # GVariant *arg_an_asv, 1567s # GCancellable *cancellable, 1567s # GError **error) 1567s # { 1567s # GVariant *_ret; 1567s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1567s # "MethodWithManyArgs", 1567s # g_variant_new ("(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 1567s # arg_an_b, 1567s # arg_an_y, 1567s # arg_an_n, 1567s # arg_an_q, 1567s # arg_an_i, 1567s # arg_an_u, 1567s # arg_an_x, 1567s # arg_an_t, 1567s # arg_an_d, 1567s # arg_an_s, 1567s # arg_an_o, 1567s # arg_an_g, 1567s # arg_an_h, 1567s # arg_an_ay, 1567s # arg_an_as, 1567s # arg_an_ao, 1567s # arg_an_aay, 1567s # arg_an_asv), 1567s # G_DBUS_CALL_FLAGS_NONE, 1567s # -1, 1567s # cancellable, 1567s # error); 1567s # if (_ret == NULL) 1567s # goto _out; 1567s # g_variant_get (_ret, 1567s # "()"); 1567s # g_variant_unref (_ret); 1567s # _out: 1567s # return _ret != NULL; 1567s # } 1567s # 1567s # /** 1567s # * org_project_callable_iface_call_same_method_with_many_args: 1567s # * @proxy: A #OrgProjectCallableIfaceProxy. 1567s # * @arg_an_b: Argument to pass with the method invocation. 1567s # * @arg_an_y: Argument to pass with the method invocation. 1567s # * @arg_an_n: Argument to pass with the method invocation. 1567s # * @arg_an_q: Argument to pass with the method invocation. 1567s # * @arg_an_i: Argument to pass with the method invocation. 1567s # * @arg_an_u: Argument to pass with the method invocation. 1567s # * @arg_an_x: Argument to pass with the method invocation. 1567s # * @arg_an_t: Argument to pass with the method invocation. 1567s # * @arg_an_d: Argument to pass with the method invocation. 1567s # * @arg_an_s: Argument to pass with the method invocation. 1567s # * @arg_an_o: Argument to pass with the method invocation. 1567s # * @arg_an_g: Argument to pass with the method invocation. 1567s # * @arg_an_h: Argument to pass with the method invocation. 1567s # * @arg_an_ay: Argument to pass with the method invocation. 1567s # * @arg_an_as: Argument to pass with the method invocation. 1567s # * @arg_an_ao: Argument to pass with the method invocation. 1567s # * @arg_an_aay: Argument to pass with the method invocation. 1567s # * @arg_an_asv: Argument to pass with the method invocation. 1567s # * @cancellable: (nullable): A #GCancellable or %NULL. 1567s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1567s # * @user_data: User data to pass to @callback. 1567s # * 1567s # * Asynchronously invokes the SameMethodWithManyArgs() D-Bus method on @proxy. 1567s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1567s # * You can then call org_project_callable_iface_call_same_method_with_many_args_finish() to get the result of the operation. 1567s # * 1567s # * See org_project_callable_iface_call_same_method_with_many_args_sync() for the synchronous, blocking version of this method. 1567s # */ 1567s # void 1567s # org_project_callable_iface_call_same_method_with_many_args ( 1567s # OrgProjectCallableIface *proxy, 1567s # gboolean arg_an_b, 1567s # guchar arg_an_y, 1567s # gint16 arg_an_n, 1567s # guint16 arg_an_q, 1567s # gint arg_an_i, 1567s # guint arg_an_u, 1567s # gint64 arg_an_x, 1567s # guint64 arg_an_t, 1567s # gdouble arg_an_d, 1567s # const gchar *arg_an_s, 1567s # const gchar *arg_an_o, 1567s # const gchar *arg_an_g, 1567s # GVariant *arg_an_h, 1567s # const gchar *arg_an_ay, 1567s # const gchar *const *arg_an_as, 1567s # const gchar *const *arg_an_ao, 1567s # const gchar *const *arg_an_aay, 1567s # GVariant *arg_an_asv, 1567s # GCancellable *cancellable, 1567s # GAsyncReadyCallback callback, 1567s # gpointer user_data) 1567s # { 1567s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1567s # "SameMethodWithManyArgs", 1567s # g_variant_new ("(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 1567s # arg_an_b, 1567s # arg_an_y, 1567s # arg_an_n, 1567s # arg_an_q, 1567s # arg_an_i, 1567s # arg_an_u, 1567s # arg_an_x, 1567s # arg_an_t, 1567s # arg_an_d, 1567s # arg_an_s, 1567s # arg_an_o, 1567s # arg_an_g, 1567s # arg_an_h, 1567s # arg_an_ay, 1567s # arg_an_as, 1567s # arg_an_ao, 1567s # arg_an_aay, 1567s # arg_an_asv), 1567s # G_DBUS_CALL_FLAGS_NONE, 1567s # -1, 1567s # cancellable, 1567s # callback, 1567s # user_data); 1567s # } 1567s # 1567s # /** 1567s # * org_project_callable_iface_call_same_method_with_many_args_finish: 1567s # * @proxy: A #OrgProjectCallableIfaceProxy. 1567s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_call_same_method_with_many_args(). 1567s # * @error: Return location for error or %NULL. 1567s # * 1567s # * Finishes an operation started with org_project_callable_iface_call_same_method_with_many_args(). 1567s # * 1567s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1567s # */ 1567s # gboolean 1567s # org_project_callable_iface_call_same_method_with_many_args_finish ( 1567s # OrgProjectCallableIface *proxy, 1567s # GAsyncResult *res, 1567s # GError **error) 1567s # { 1567s # GVariant *_ret; 1567s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1567s # if (_ret == NULL) 1567s # goto _out; 1567s # g_variant_get (_ret, 1567s # "()"); 1567s # g_variant_unref (_ret); 1567s # _out: 1567s # return _ret != NULL; 1567s # } 1567s # 1567s # /** 1567s # * org_project_callable_iface_call_same_method_with_many_args_sync: 1567s # * @proxy: A #OrgProjectCallableIfaceProxy. 1567s # * @arg_an_b: Argument to pass with the method invocation. 1567s # * @arg_an_y: Argument to pass with the method invocation. 1567s # * @arg_an_n: Argument to pass with the method invocation. 1567s # * @arg_an_q: Argument to pass with the method invocation. 1567s # * @arg_an_i: Argument to pass with the method invocation. 1567s # * @arg_an_u: Argument to pass with the method invocation. 1567s # * @arg_an_x: Argument to pass with the method invocation. 1567s # * @arg_an_t: Argument to pass with the method invocation. 1567s # * @arg_an_d: Argument to pass with the method invocation. 1567s # * @arg_an_s: Argument to pass with the method invocation. 1567s # * @arg_an_o: Argument to pass with the method invocation. 1567s # * @arg_an_g: Argument to pass with the method invocation. 1567s # * @arg_an_h: Argument to pass with the method invocation. 1567s # * @arg_an_ay: Argument to pass with the method invocation. 1567s # * @arg_an_as: Argument to pass with the method invocation. 1567s # * @arg_an_ao: Argument to pass with the method invocation. 1567s # * @arg_an_aay: Argument to pass with the method invocation. 1567s # * @arg_an_asv: Argument to pass with the method invocation. 1567s # * @cancellable: (nullable): A #GCancellable or %NULL. 1567s # * @error: Return location for error or %NULL. 1567s # * 1567s # * Synchronously invokes the SameMethodWithManyArgs() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1567s # * 1567s # * See org_project_callable_iface_call_same_method_with_many_args() for the asynchronous version of this method. 1567s # * 1567s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1567s # */ 1567s # gboolean 1567s # org_project_callable_iface_call_same_method_with_many_args_sync ( 1567s # OrgProjectCallableIface *proxy, 1567s # gboolean arg_an_b, 1567s # guchar arg_an_y, 1567s # gint16 arg_an_n, 1567s # guint16 arg_an_q, 1567s # gint arg_an_i, 1567s # guint arg_an_u, 1567s # gint64 arg_an_x, 1567s # guint64 arg_an_t, 1567s # gdouble arg_an_d, 1567s # const gchar *arg_an_s, 1567s # const gchar *arg_an_o, 1567s # const gchar *arg_an_g, 1567s # GVariant *arg_an_h, 1567s # const gchar *arg_an_ay, 1567s # const gchar *const *arg_an_as, 1567s # const gchar *const *arg_an_ao, 1567s # const gchar *const *arg_an_aay, 1567s # GVariant *arg_an_asv, 1567s # GCancellable *cancellable, 1567s # GError **error) 1567s # { 1567s # GVariant *_ret; 1567s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1567s # "SameMethodWithManyArgs", 1567s # g_variant_new ("(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 1567s # arg_an_b, 1567s # arg_an_y, 1567s # arg_an_n, 1567s # arg_an_q, 1567s # arg_an_i, 1567s # arg_an_u, 1567s # arg_an_x, 1567s # arg_an_t, 1567s # arg_an_d, 1567s # arg_an_s, 1567s # arg_an_o, 1567s # arg_an_g, 1567s # arg_an_h, 1567s # arg_an_ay, 1567s # arg_an_as, 1567s # arg_an_ao, 1567s # arg_an_aay, 1567s # arg_an_asv), 1567s # G_DBUS_CALL_FLAGS_NONE, 1567s # -1, 1567s # cancellable, 1567s # error); 1567s # if (_ret == NULL) 1567s # goto _out; 1567s # g_variant_get (_ret, 1567s # "()"); 1567s # g_variant_unref (_ret); 1567s # _out: 1567s # return _ret != NULL; 1567s # } 1567s # 1567s # /** 1567s # * org_project_callable_iface_complete_method_with_many_args: 1567s # * @object: A #OrgProjectCallableIface. 1567s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1567s # * 1567s # * 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. 1567s # * 1567s # * This method will free @invocation, you cannot use it afterwards. 1567s # */ 1567s # void 1567s # org_project_callable_iface_complete_method_with_many_args ( 1567s # OrgProjectCallableIface *object G_GNUC_UNUSED, 1567s # GDBusMethodInvocation *invocation) 1567s # { 1567s # g_dbus_method_invocation_return_value (invocation, 1567s # g_variant_new ("()")); 1567s # } 1567s # 1567s # /** 1567s # * org_project_callable_iface_complete_same_method_with_many_args: 1567s # * @object: A #OrgProjectCallableIface. 1567s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1567s # * 1567s # * 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. 1567s # * 1567s # * This method will free @invocation, you cannot use it afterwards. 1567s # */ 1567s # void 1567s # org_project_callable_iface_complete_same_method_with_many_args ( 1567s # OrgProjectCallableIface *object G_GNUC_UNUSED, 1567s # GDBusMethodInvocation *invocation) 1567s # { 1567s # g_dbus_method_invocation_return_value (invocation, 1567s # g_variant_new ("()")); 1567s # } 1567s # 1567s # /* ------------------------------------------------------------------------ */ 1567s # 1567s # /** 1567s # * OrgProjectCallableIfaceProxy: 1567s # * 1567s # * The #OrgProjectCallableIfaceProxy structure contains only private data and should only be accessed using the provided API. 1567s # */ 1567s # 1567s # /** 1567s # * OrgProjectCallableIfaceProxyClass: 1567s # * @parent_class: The parent class. 1567s # * 1567s # * Class structure for #OrgProjectCallableIfaceProxy. 1567s # */ 1567s # 1567s # struct _OrgProjectCallableIfaceProxyPrivate 1567s # { 1567s # GData *qdata; 1567s # }; 1567s # 1567s # static void org_project_callable_iface_proxy_iface_init (OrgProjectCallableIfaceIface *iface); 1567s # 1567s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1567s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceProxy, org_project_callable_iface_proxy, G_TYPE_DBUS_PROXY, 1567s # G_ADD_PRIVATE (OrgProjectCallableIfaceProxy) 1567s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_proxy_iface_init)) 1567s # 1567s # #else 1567s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceProxy, org_project_callable_iface_proxy, G_TYPE_DBUS_PROXY, 1567s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_proxy_iface_init)) 1567s # 1567s # #endif 1567s # static void 1567s # org_project_callable_iface_proxy_finalize (GObject *object) 1567s # { 1567s # OrgProjectCallableIfaceProxy *proxy = ORG_PROJECT_CALLABLE_IFACE_PROXY (object); 1567s # g_datalist_clear (&proxy->priv->qdata); 1567s # G_OBJECT_CLASS (org_project_callable_iface_proxy_parent_class)->finalize (object); 1567s # } 1567s # 1567s # static void 1567s # org_project_callable_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1567s # guint prop_id G_GNUC_UNUSED, 1567s # GValue *value G_GNUC_UNUSED, 1567s # GParamSpec *pspec G_GNUC_UNUSED) 1567s # { 1567s # } 1567s # 1567s # static void 1567s # org_project_callable_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1567s # guint prop_id G_GNUC_UNUSED, 1567s # const GValue *value G_GNUC_UNUSED, 1567s # GParamSpec *pspec G_GNUC_UNUSED) 1567s # { 1567s # } 1567s # 1567s # static void 1567s # org_project_callable_iface_proxy_g_signal (GDBusProxy *proxy, 1567s # const gchar *sender_name G_GNUC_UNUSED, 1567s # const gchar *signal_name, 1567s # GVariant *parameters) 1567s # { 1567s # _ExtendedGDBusSignalInfo *info; 1567s # GVariantIter iter; 1567s # GVariant *child; 1567s # GValue *paramv; 1567s # gsize num_params; 1567s # gsize n; 1567s # guint signal_id; 1567s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, signal_name); 1567s # if (info == NULL) 1567s # return; 1567s # num_params = g_variant_n_children (parameters); 1567s # paramv = g_new0 (GValue, num_params + 1); 1567s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_CALLABLE_IFACE); 1567s # g_value_set_object (¶mv[0], proxy); 1567s # g_variant_iter_init (&iter, parameters); 1567s # n = 1; 1567s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1567s # { 1567s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1567s # if (arg_info->use_gvariant) 1567s # { 1567s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1567s # g_value_set_variant (¶mv[n], child); 1567s # n++; 1567s # } 1567s # else 1567s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1567s # g_variant_unref (child); 1567s # } 1567s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_CALLABLE_IFACE); 1567s # g_signal_emitv (paramv, signal_id, 0, NULL); 1567s # for (n = 0; n < num_params + 1; n++) 1567s # g_value_unset (¶mv[n]); 1567s # g_free (paramv); 1567s # } 1567s # 1567s # static void 1567s # org_project_callable_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1567s # GVariant *changed_properties, 1567s # const gchar *const *invalidated_properties) 1567s # { 1567s # OrgProjectCallableIfaceProxy *proxy = ORG_PROJECT_CALLABLE_IFACE_PROXY (_proxy); 1567s # guint n; 1567s # const gchar *key; 1567s # GVariantIter *iter; 1567s # _ExtendedGDBusPropertyInfo *info; 1567s # g_variant_get (changed_properties, "a{sv}", &iter); 1567s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1567s # { 1567s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, key); 1567s # g_datalist_remove_data (&proxy->priv->qdata, key); 1567s # if (info != NULL) 1567s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1567s # } 1567s # g_variant_iter_free (iter); 1567s # for (n = 0; invalidated_properties[n] != NULL; n++) 1567s # { 1567s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, invalidated_properties[n]); 1567s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1567s # if (info != NULL) 1567s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1567s # } 1567s # } 1567s # 1567s # static void 1567s # org_project_callable_iface_proxy_init (OrgProjectCallableIfaceProxy *proxy) 1567s # { 1567s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1567s # proxy->priv = org_project_callable_iface_proxy_get_instance_private (proxy); 1567s # #else 1567s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_CALLABLE_IFACE_PROXY, OrgProjectCallableIfaceProxyPrivate); 1567s # #endif 1567s # 1567s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_callable_iface_interface_info ()); 1567s # } 1567s # 1567s # static void 1567s # org_project_callable_iface_proxy_class_init (OrgProjectCallableIfaceProxyClass *klass) 1567s # { 1567s # GObjectClass *gobject_class; 1567s # GDBusProxyClass *proxy_class; 1567s # 1567s # gobject_class = G_OBJECT_CLASS (klass); 1567s # gobject_class->finalize = org_project_callable_iface_proxy_finalize; 1567s # gobject_class->get_property = org_project_callable_iface_proxy_get_property; 1567s # gobject_class->set_property = org_project_callable_iface_proxy_set_property; 1567s # 1567s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1567s # proxy_class->g_signal = org_project_callable_iface_proxy_g_signal; 1567s # proxy_class->g_properties_changed = org_project_callable_iface_proxy_g_properties_changed; 1567s # 1567s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1567s # g_type_class_add_private (klass, sizeof (OrgProjectCallableIfaceProxyPrivate)); 1567s # #endif 1567s # } 1567s # 1567s # static void 1567s # org_project_callable_iface_proxy_iface_init (OrgProjectCallableIfaceIface *iface G_GNUC_UNUSED) 1567s # { 1567s # } 1567s # 1567s # /** 1567s # * org_project_callable_iface_proxy_new: 1567s # * @connection: A #GDBusConnection. 1567s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1567s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1567s # * @object_path: An object path. 1567s # * @cancellable: (nullable): A #GCancellable or %NULL. 1567s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1567s # * @user_data: User data to pass to @callback. 1567s # * 1567s # * Asynchronously creates a proxy for the D-Bus interface org.project.CallableIface. See g_dbus_proxy_new() for more details. 1567s # * 1567s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1567s # * You can then call org_project_callable_iface_proxy_new_finish() to get the result of the operation. 1567s # * 1567s # * See org_project_callable_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1567s # */ 1567s # void 1567s # org_project_callable_iface_proxy_new ( 1567s # GDBusConnection *connection, 1567s # GDBusProxyFlags flags, 1567s # const gchar *name, 1567s # const gchar *object_path, 1567s # GCancellable *cancellable, 1567s # GAsyncReadyCallback callback, 1567s # gpointer user_data) 1567s # { 1567s # 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); 1567s # } 1567s # 1567s # /** 1567s # * org_project_callable_iface_proxy_new_finish: 1567s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_proxy_new(). 1567s # * @error: Return location for error or %NULL 1567s # * 1567s # * Finishes an operation started with org_project_callable_iface_proxy_new(). 1567s # * 1567s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 1567s # */ 1567s # OrgProjectCallableIface * 1567s # org_project_callable_iface_proxy_new_finish ( 1567s # GAsyncResult *res, 1567s # GError **error) 1567s # { 1567s # GObject *ret; 1567s # GObject *source_object; 1567s # source_object = g_async_result_get_source_object (res); 1567s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1567s # g_object_unref (source_object); 1567s # if (ret != NULL) 1567s # return ORG_PROJECT_CALLABLE_IFACE (ret); 1567s # else 1567s # return NULL; 1567s # } 1567s # 1567s # /** 1567s # * org_project_callable_iface_proxy_new_sync: 1567s # * @connection: A #GDBusConnection. 1567s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1567s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1567s # * @object_path: An object path. 1567s # * @cancellable: (nullable): A #GCancellable or %NULL. 1567s # * @error: Return location for error or %NULL 1567s # * 1567s # * Synchronously creates a proxy for the D-Bus interface org.project.CallableIface. See g_dbus_proxy_new_sync() for more details. 1567s # * 1567s # * The calling thread is blocked until a reply is received. 1567s # * 1567s # * See org_project_callable_iface_proxy_new() for the asynchronous version of this constructor. 1567s # * 1567s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 1567s # */ 1567s # OrgProjectCallableIface * 1567s # org_project_callable_iface_proxy_new_sync ( 1567s # GDBusConnection *connection, 1567s # GDBusProxyFlags flags, 1567s # const gchar *name, 1567s # const gchar *object_path, 1567s # GCancellable *cancellable, 1567s # GError **error) 1567s # { 1567s # GInitable *ret; 1567s # 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); 1567s # if (ret != NULL) 1567s # return ORG_PROJECT_CALLABLE_IFACE (ret); 1567s # else 1567s # return NULL; 1567s # } 1567s # 1567s # 1567s # /** 1567s # * org_project_callable_iface_proxy_new_for_bus: 1567s # * @bus_type: A #GBusType. 1567s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1567s # * @name: A bus name (well-known or unique). 1567s # * @object_path: An object path. 1567s # * @cancellable: (nullable): A #GCancellable or %NULL. 1567s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1567s # * @user_data: User data to pass to @callback. 1567s # * 1567s # * Like org_project_callable_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1567s # * 1567s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1567s # * You can then call org_project_callable_iface_proxy_new_for_bus_finish() to get the result of the operation. 1567s # * 1567s # * See org_project_callable_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1567s # */ 1567s # void 1567s # org_project_callable_iface_proxy_new_for_bus ( 1567s # GBusType bus_type, 1567s # GDBusProxyFlags flags, 1567s # const gchar *name, 1567s # const gchar *object_path, 1567s # GCancellable *cancellable, 1567s # GAsyncReadyCallback callback, 1567s # gpointer user_data) 1567s # { 1567s # 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); 1567s # } 1567s # 1567s # /** 1567s # * org_project_callable_iface_proxy_new_for_bus_finish: 1567s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_proxy_new_for_bus(). 1567s # * @error: Return location for error or %NULL 1567s # * 1567s # * Finishes an operation started with org_project_callable_iface_proxy_new_for_bus(). 1567s # * 1567s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 1567s # */ 1567s # OrgProjectCallableIface * 1567s # org_project_callable_iface_proxy_new_for_bus_finish ( 1567s # GAsyncResult *res, 1567s # GError **error) 1567s # { 1567s # GObject *ret; 1567s # GObject *source_object; 1567s # source_object = g_async_result_get_source_object (res); 1567s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1567s # g_object_unref (source_object); 1567s # if (ret != NULL) 1567s # return ORG_PROJECT_CALLABLE_IFACE (ret); 1567s # else 1567s # return NULL; 1567s # } 1567s # 1567s # /** 1567s # * org_project_callable_iface_proxy_new_for_bus_sync: 1567s # * @bus_type: A #GBusType. 1567s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1567s # * @name: A bus name (well-known or unique). 1567s # * @object_path: An object path. 1567s # * @cancellable: (nullable): A #GCancellable or %NULL. 1567s # * @error: Return location for error or %NULL 1567s # * 1567s # * Like org_project_callable_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1567s # * 1567s # * The calling thread is blocked until a reply is received. 1567s # * 1567s # * See org_project_callable_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1567s # * 1567s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 1567s # */ 1567s # OrgProjectCallableIface * 1567s # org_project_callable_iface_proxy_new_for_bus_sync ( 1567s # GBusType bus_type, 1567s # GDBusProxyFlags flags, 1567s # const gchar *name, 1567s # const gchar *object_path, 1567s # GCancellable *cancellable, 1567s # GError **error) 1567s # { 1567s # GInitable *ret; 1567s # 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); 1567s # if (ret != NULL) 1567s # return ORG_PROJECT_CALLABLE_IFACE (ret); 1567s # else 1567s # return NULL; 1567s # } 1567s # 1567s # 1567s # /* ------------------------------------------------------------------------ */ 1567s # 1567s # /** 1567s # * OrgProjectCallableIfaceSkeleton: 1567s # * 1567s # * The #OrgProjectCallableIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1567s # */ 1567s # 1567s # /** 1567s # * OrgProjectCallableIfaceSkeletonClass: 1567s # * @parent_class: The parent class. 1567s # * 1567s # * Class structure for #OrgProjectCallableIfaceSkeleton. 1567s # */ 1567s # 1567s # struct _OrgProjectCallableIfaceSkeletonPrivate 1567s # { 1567s # GValue *properties; 1567s # GList *changed_properties; 1567s # GSource *changed_properties_idle_source; 1567s # GMainContext *context; 1567s # GMutex lock; 1567s # }; 1567s # 1567s # static void 1567s # _org_project_callable_iface_skeleton_handle_method_call ( 1567s # GDBusConnection *connection G_GNUC_UNUSED, 1567s # const gchar *sender G_GNUC_UNUSED, 1567s # const gchar *object_path G_GNUC_UNUSED, 1567s # const gchar *interface_name, 1567s # const gchar *method_name, 1567s # GVariant *parameters, 1567s # GDBusMethodInvocation *invocation, 1567s # gpointer user_data) 1567s # { 1567s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (user_data); 1567s # _ExtendedGDBusMethodInfo *info; 1567s # GVariantIter iter; 1567s # GVariant *child; 1567s # GValue *paramv; 1567s # gsize num_params; 1567s # guint num_extra; 1567s # gsize n; 1567s # guint signal_id; 1567s # GValue return_value = G_VALUE_INIT; 1567s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1567s # g_assert (info != NULL); 1567s # num_params = g_variant_n_children (parameters); 1567s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1567s # n = 0; 1567s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_CALLABLE_IFACE); 1567s # g_value_set_object (¶mv[n++], skeleton); 1567s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1567s # g_value_set_object (¶mv[n++], invocation); 1567s # if (info->pass_fdlist) 1567s # { 1567s # #ifdef G_OS_UNIX 1567s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1567s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1567s # #else 1567s # g_assert_not_reached (); 1567s # #endif 1567s # } 1567s # g_variant_iter_init (&iter, parameters); 1567s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1567s # { 1567s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1567s # if (arg_info->use_gvariant) 1567s # { 1567s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1567s # g_value_set_variant (¶mv[n], child); 1567s # n++; 1567s # } 1567s # else 1567s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1567s # g_variant_unref (child); 1567s # } 1567s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_CALLABLE_IFACE); 1567s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1567s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1567s # if (!g_value_get_boolean (&return_value)) 1567s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1567s # g_value_unset (&return_value); 1567s # for (n = 0; n < num_params + num_extra; n++) 1567s # g_value_unset (¶mv[n]); 1567s # g_free (paramv); 1567s # } 1567s # 1567s # static GVariant * 1567s # _org_project_callable_iface_skeleton_handle_get_property ( 1567s # GDBusConnection *connection G_GNUC_UNUSED, 1567s # const gchar *sender G_GNUC_UNUSED, 1567s # const gchar *object_path G_GNUC_UNUSED, 1567s # const gchar *interface_name G_GNUC_UNUSED, 1567s # const gchar *property_name, 1567s # GError **error, 1567s # gpointer user_data) 1567s # { 1567s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (user_data); 1567s # GValue value = G_VALUE_INIT; 1567s # GParamSpec *pspec; 1567s # _ExtendedGDBusPropertyInfo *info; 1567s # GVariant *ret; 1567s # ret = NULL; 1567s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, property_name); 1567s # g_assert (info != NULL); 1567s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1567s # if (pspec == NULL) 1567s # { 1567s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1567s # } 1567s # else 1567s # { 1567s # g_value_init (&value, pspec->value_type); 1567s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1567s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1567s # g_value_unset (&value); 1567s # } 1567s # return ret; 1567s # } 1567s # 1567s # static gboolean 1567s # _org_project_callable_iface_skeleton_handle_set_property ( 1567s # GDBusConnection *connection G_GNUC_UNUSED, 1567s # const gchar *sender G_GNUC_UNUSED, 1567s # const gchar *object_path G_GNUC_UNUSED, 1567s # const gchar *interface_name G_GNUC_UNUSED, 1567s # const gchar *property_name, 1567s # GVariant *variant, 1567s # GError **error, 1567s # gpointer user_data) 1567s # { 1567s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (user_data); 1567s # GValue value = G_VALUE_INIT; 1567s # GParamSpec *pspec; 1567s # _ExtendedGDBusPropertyInfo *info; 1567s # gboolean ret; 1567s # ret = FALSE; 1567s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, property_name); 1567s # g_assert (info != NULL); 1567s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1567s # if (pspec == NULL) 1567s # { 1567s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1567s # } 1567s # else 1567s # { 1567s # if (info->use_gvariant) 1567s # g_value_set_variant (&value, variant); 1567s # else 1567s # g_dbus_gvariant_to_gvalue (variant, &value); 1567s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1567s # g_value_unset (&value); 1567s # ret = TRUE; 1567s # } 1567s # return ret; 1567s # } 1567s # 1567s # static const GDBusInterfaceVTable _org_project_callable_iface_skeleton_vtable = 1567s # { 1567s # _org_project_callable_iface_skeleton_handle_method_call, 1567s # _org_project_callable_iface_skeleton_handle_get_property, 1567s # _org_project_callable_iface_skeleton_handle_set_property, 1567s # {NULL} 1567s # }; 1567s # 1567s # static GDBusInterfaceInfo * 1567s # org_project_callable_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1567s # { 1567s # return org_project_callable_iface_interface_info (); 1567s # } 1567s # 1567s # static GDBusInterfaceVTable * 1567s # org_project_callable_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1567s # { 1567s # return (GDBusInterfaceVTable *) &_org_project_callable_iface_skeleton_vtable; 1567s # } 1567s # 1567s # static GVariant * 1567s # org_project_callable_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1567s # { 1567s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (_skeleton); 1567s # 1567s # GVariantBuilder builder; 1567s # guint n; 1567s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1567s # if (_org_project_callable_iface_interface_info.parent_struct.properties == NULL) 1567s # goto out; 1567s # for (n = 0; _org_project_callable_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1567s # { 1567s # GDBusPropertyInfo *info = _org_project_callable_iface_interface_info.parent_struct.properties[n]; 1567s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1567s # { 1567s # GVariant *value; 1567s # 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); 1567s # if (value != NULL) 1567s # { 1567s # g_variant_take_ref (value); 1567s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1567s # g_variant_unref (value); 1567s # } 1567s # } 1567s # } 1567s # out: 1567s # return g_variant_builder_end (&builder); 1567s # } 1567s # 1567s # static void 1567s # org_project_callable_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1567s # { 1567s # } 1567s # 1567s # static void org_project_callable_iface_skeleton_iface_init (OrgProjectCallableIfaceIface *iface); 1567s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1567s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceSkeleton, org_project_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1567s # G_ADD_PRIVATE (OrgProjectCallableIfaceSkeleton) 1567s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_skeleton_iface_init)) 1567s # 1567s # #else 1567s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceSkeleton, org_project_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1567s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_skeleton_iface_init)) 1567s # 1567s # #endif 1567s # static void 1567s # org_project_callable_iface_skeleton_finalize (GObject *object) 1567s # { 1567s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (object); 1567s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1567s # if (skeleton->priv->changed_properties_idle_source != NULL) 1567s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1567s # g_main_context_unref (skeleton->priv->context); 1567s # g_mutex_clear (&skeleton->priv->lock); 1567s # G_OBJECT_CLASS (org_project_callable_iface_skeleton_parent_class)->finalize (object); 1567s # } 1567s # 1567s # static void 1567s # org_project_callable_iface_skeleton_init (OrgProjectCallableIfaceSkeleton *skeleton) 1567s # { 1567s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1567s # skeleton->priv = org_project_callable_iface_skeleton_get_instance_private (skeleton); 1567s # #else 1567s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_CALLABLE_IFACE_SKELETON, OrgProjectCallableIfaceSkeletonPrivate); 1567s # #endif 1567s # 1567s # g_mutex_init (&skeleton->priv->lock); 1567s # skeleton->priv->context = g_main_context_ref_thread_default (); 1567s # } 1567s # 1567s # static void 1567s # org_project_callable_iface_skeleton_class_init (OrgProjectCallableIfaceSkeletonClass *klass) 1567s # { 1567s # GObjectClass *gobject_class; 1567s # GDBusInterfaceSkeletonClass *skeleton_class; 1567s # 1567s # gobject_class = G_OBJECT_CLASS (klass); 1567s # gobject_class->finalize = org_project_callable_iface_skeleton_finalize; 1567s # 1567s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1567s # skeleton_class->get_info = org_project_callable_iface_skeleton_dbus_interface_get_info; 1567s # skeleton_class->get_properties = org_project_callable_iface_skeleton_dbus_interface_get_properties; 1567s # skeleton_class->flush = org_project_callable_iface_skeleton_dbus_interface_flush; 1567s # skeleton_class->get_vtable = org_project_callable_iface_skeleton_dbus_interface_get_vtable; 1567s # 1567s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1567s # g_type_class_add_private (klass, sizeof (OrgProjectCallableIfaceSkeletonPrivate)); 1567s # #endif 1567s # } 1567s # 1567s # static void 1567s # org_project_callable_iface_skeleton_iface_init (OrgProjectCallableIfaceIface *iface G_GNUC_UNUSED) 1567s # { 1567s # } 1567s # 1567s # /** 1567s # * org_project_callable_iface_skeleton_new: 1567s # * 1567s # * Creates a skeleton object for the D-Bus interface org.project.CallableIface. 1567s # * 1567s # * Returns: (transfer full) (type OrgProjectCallableIfaceSkeleton): The skeleton object. 1567s # */ 1567s # OrgProjectCallableIface * 1567s # org_project_callable_iface_skeleton_new (void) 1567s # { 1567s # return ORG_PROJECT_CALLABLE_IFACE (g_object_new (TYPE_ORG_PROJECT_CALLABLE_IFACE_SKELETON, NULL)); 1567s # } 1567s # 1567s # /* ------------------------------------------------------------------------ 1567s # * Code for interface org.project.OtherCallableIface 1567s # * ------------------------------------------------------------------------ 1567s # */ 1567s # 1567s # /** 1567s # * SECTION:OrgProjectOtherCallableIface 1567s # * @title: OrgProjectOtherCallableIface 1567s # * @short_description: Generated C code for the org.project.OtherCallableIface D-Bus interface 1567s # * 1567s # * This section contains code for working with the org.project.OtherCallableIface D-Bus interface in C. 1567s # */ 1567s # 1567s # /* ---- Introspection data for org.project.OtherCallableIface ---- */ 1567s # 1567s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_b = 1567s # { 1567s # { 1567s # -1, 1567s # (gchar *) "an_b", 1567s # (gchar *) "b", 1567s # NULL 1567s # }, 1567s # FALSE 1567s # }; 1567s # 1567s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_y = 1567s # { 1567s # { 1567s # -1, 1567s # (gchar *) "an_y", 1567s # (gchar *) "y", 1567s # NULL 1567s # }, 1567s # FALSE 1567s # }; 1567s # 1567s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_n = 1567s # { 1567s # { 1567s # -1, 1567s # (gchar *) "an_n", 1567s # (gchar *) "n", 1567s # NULL 1567s # }, 1567s # FALSE 1567s # }; 1567s # 1567s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_q = 1567s # { 1567s # { 1567s # -1, 1567s # (gchar *) "an_q", 1567s # (gchar *) "q", 1567s # NULL 1567s # }, 1567s # FALSE 1567s # }; 1567s # 1567s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_i = 1567s # { 1567s # { 1567s # -1, 1567s # (gchar *) "an_i", 1567s # (gchar *) "i", 1567s # NULL 1567s # }, 1567s # FALSE 1567s # }; 1567s # 1567s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_u = 1567s # { 1567s # { 1567s # -1, 1567s # (gchar *) "an_u", 1567s # (gchar *) "u", 1567s # NULL 1567s # }, 1567s # FALSE 1567s # }; 1567s # 1567s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_x = 1567s # { 1567s # { 1567s # -1, 1567s # (gchar *) "an_x", 1567s # (gchar *) "x", 1567s # NULL 1567s # }, 1567s # FALSE 1567s # }; 1567s # 1567s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_t = 1567s # { 1567s # { 1567s # -1, 1567s # (gchar *) "an_t", 1567s # (gchar *) "t", 1567s # NULL 1567s # }, 1567s # FALSE 1567s # }; 1567s # 1567s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_d = 1567s # { 1567s # { 1567s # -1, 1567s # (gchar *) "an_d", 1567s # (gchar *) "d", 1567s # NULL 1567s # }, 1567s # FALSE 1567s # }; 1567s # 1567s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_s = 1567s # { 1567s # { 1567s # -1, 1567s # (gchar *) "an_s", 1567s # (gchar *) "s", 1567s # NULL 1567s # }, 1567s # FALSE 1567s # }; 1567s # 1567s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_o = 1567s # { 1567s # { 1567s # -1, 1567s # (gchar *) "an_o", 1567s # (gchar *) "o", 1567s # NULL 1567s # }, 1567s # FALSE 1567s # }; 1567s # 1567s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_g = 1567s # { 1567s # { 1567s # -1, 1567s # (gchar *) "an_g", 1567s # (gchar *) "g", 1567s # NULL 1567s # }, 1567s # FALSE 1567s # }; 1567s # 1567s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_h = 1567s # { 1567s # { 1567s # -1, 1567s # (gchar *) "an_h", 1567s # (gchar *) "h", 1567s # NULL 1567s # }, 1567s # FALSE 1567s # }; 1567s # 1567s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_ay = 1567s # { 1567s # { 1567s # -1, 1567s # (gchar *) "an_ay", 1567s # (gchar *) "ay", 1567s # NULL 1567s # }, 1567s # FALSE 1567s # }; 1567s # 1567s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_as = 1567s # { 1567s # { 1567s # -1, 1567s # (gchar *) "an_as", 1567s # (gchar *) "as", 1567s # NULL 1567s # }, 1567s # FALSE 1567s # }; 1567s # 1567s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_ao = 1567s # { 1567s # { 1567s # -1, 1567s # (gchar *) "an_ao", 1567s # (gchar *) "ao", 1567s # NULL 1567s # }, 1567s # FALSE 1567s # }; 1567s # 1567s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_aay = 1567s # { 1567s # { 1567s # -1, 1567s # (gchar *) "an_aay", 1567s # (gchar *) "aay", 1567s # NULL 1567s # }, 1567s # FALSE 1567s # }; 1567s # 1567s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_asv = 1567s # { 1567s # { 1567s # -1, 1567s # (gchar *) "an_asv", 1567s # (gchar *) "a{sv}", 1567s # NULL 1567s # }, 1567s # FALSE 1567s # }; 1567s # 1567s # static const GDBusArgInfo * const _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_pointers[] = 1567s # { 1567s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_b.parent_struct, 1567s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_y.parent_struct, 1567s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_n.parent_struct, 1567s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_q.parent_struct, 1567s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_i.parent_struct, 1567s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_u.parent_struct, 1567s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_x.parent_struct, 1567s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_t.parent_struct, 1567s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_d.parent_struct, 1567s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_s.parent_struct, 1567s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_o.parent_struct, 1567s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_g.parent_struct, 1567s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_h.parent_struct, 1567s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_ay.parent_struct, 1567s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_as.parent_struct, 1567s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_ao.parent_struct, 1567s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_aay.parent_struct, 1567s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_asv.parent_struct, 1567s # NULL 1567s # }; 1567s # 1567s # static const _ExtendedGDBusMethodInfo _org_project_other_callable_iface_method_info_method_with_many_args = 1567s # { 1567s # { 1567s # -1, 1567s # (gchar *) "MethodWithManyArgs", 1567s # (GDBusArgInfo **) &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_pointers, 1567s # NULL, 1567s # NULL 1567s # }, 1567s # "handle-method-with-many-args", 1567s # FALSE 1567s # }; 1567s # 1567s # static const GDBusMethodInfo * const _org_project_other_callable_iface_method_info_pointers[] = 1567s # { 1567s # &_org_project_other_callable_iface_method_info_method_with_many_args.parent_struct, 1567s # NULL 1567s # }; 1567s # 1567s # static const _ExtendedGDBusInterfaceInfo _org_project_other_callable_iface_interface_info = 1567s # { 1567s # { 1567s # -1, 1567s # (gchar *) "org.project.OtherCallableIface", 1567s # (GDBusMethodInfo **) &_org_project_other_callable_iface_method_info_pointers, 1567s # NULL, 1567s # NULL, 1567s # NULL 1567s # }, 1567s # "org-project-other-callable-iface", 1567s # }; 1567s # 1567s # 1567s # /** 1567s # * org_project_other_callable_iface_interface_info: 1567s # * 1567s # * Gets a machine-readable description of the org.project.OtherCallableIface D-Bus interface. 1567s # * 1567s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1567s # */ 1567s # GDBusInterfaceInfo * 1567s # org_project_other_callable_iface_interface_info (void) 1567s # { 1567s # return (GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct; 1567s # } 1567s # 1567s # /** 1567s # * org_project_other_callable_iface_override_properties: 1567s # * @klass: The class structure for a #GObject derived class. 1567s # * @property_id_begin: The property id to assign to the first overridden property. 1567s # * 1567s # * Overrides all #GObject properties in the #OrgProjectOtherCallableIface interface for a concrete class. 1567s # * The properties are overridden in the order they are defined. 1567s # * 1567s # * Returns: The last property id. 1567s # */ 1567s # guint 1567s # org_project_other_callable_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1567s # { 1567s # return property_id_begin - 1; 1567s # } 1567s # 1567s # 1567s # inline static void 1567s # org_project_other_callable_iface_method_marshal_method_with_many_args ( 1567s # GClosure *closure, 1567s # GValue *return_value, 1567s # unsigned int n_param_values, 1567s # const GValue *param_values, 1567s # void *invocation_hint, 1567s # void *marshal_data) 1567s # { 1567s # _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, 1567s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1567s # } 1567s # 1567s # 1567s # /** 1567s # * OrgProjectOtherCallableIface: 1567s # * 1567s # * Abstract interface type for the D-Bus interface org.project.OtherCallableIface. 1567s # */ 1567s # 1567s # /** 1567s # * OrgProjectOtherCallableIfaceIface: 1567s # * @parent_iface: The parent interface. 1567s # * @handle_method_with_many_args: Handler for the #OrgProjectOtherCallableIface::handle-method-with-many-args signal. 1567s # * 1567s # * Virtual table for the D-Bus interface org.project.OtherCallableIface. 1567s # */ 1567s # 1567s # typedef OrgProjectOtherCallableIfaceIface OrgProjectOtherCallableIfaceInterface; 1567s # G_DEFINE_INTERFACE (OrgProjectOtherCallableIface, org_project_other_callable_iface, G_TYPE_OBJECT) 1567s # 1567s # static void 1567s # org_project_other_callable_iface_default_init (OrgProjectOtherCallableIfaceIface *iface) 1567s # { 1567s # /* GObject signals for incoming D-Bus method calls: */ 1567s # /** 1567s # * OrgProjectOtherCallableIface::handle-method-with-many-args: 1567s # * @object: A #OrgProjectOtherCallableIface. 1567s # * @invocation: A #GDBusMethodInvocation. 1567s # * @arg_an_b: Argument passed by remote caller. 1567s # * @arg_an_y: Argument passed by remote caller. 1567s # * @arg_an_n: Argument passed by remote caller. 1567s # * @arg_an_q: Argument passed by remote caller. 1567s # * @arg_an_i: Argument passed by remote caller. 1567s # * @arg_an_u: Argument passed by remote caller. 1567s # * @arg_an_x: Argument passed by remote caller. 1567s # * @arg_an_t: Argument passed by remote caller. 1567s # * @arg_an_d: Argument passed by remote caller. 1567s # * @arg_an_s: Argument passed by remote caller. 1567s # * @arg_an_o: Argument passed by remote caller. 1567s # * @arg_an_g: Argument passed by remote caller. 1567s # * @arg_an_h: Argument passed by remote caller. 1567s # * @arg_an_ay: Argument passed by remote caller. 1567s # * @arg_an_as: Argument passed by remote caller. 1567s # * @arg_an_ao: Argument passed by remote caller. 1567s # * @arg_an_aay: Argument passed by remote caller. 1567s # * @arg_an_asv: Argument passed by remote caller. 1567s # * 1567s # * Signal emitted when a remote caller is invoking the MethodWithManyArgs() D-Bus method. 1567s # * 1567s # * 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. 1567s # * 1567s # * 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. 1567s # */ 1567s # g_signal_new ("handle-method-with-many-args", 1567s # G_TYPE_FROM_INTERFACE (iface), 1567s # G_SIGNAL_RUN_LAST, 1567s # G_STRUCT_OFFSET (OrgProjectOtherCallableIfaceIface, handle_method_with_many_args), 1567s # g_signal_accumulator_true_handled, 1567s # NULL, 1567s # org_project_other_callable_iface_method_marshal_method_with_many_args, 1567s # G_TYPE_BOOLEAN, 1567s # 19, 1567s # 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); 1567s # 1567s # } 1567s # 1567s # /** 1567s # * org_project_other_callable_iface_call_method_with_many_args: 1567s # * @proxy: A #OrgProjectOtherCallableIfaceProxy. 1567s # * @arg_an_b: Argument to pass with the method invocation. 1567s # * @arg_an_y: Argument to pass with the method invocation. 1567s # * @arg_an_n: Argument to pass with the method invocation. 1567s # * @arg_an_q: Argument to pass with the method invocation. 1567s # * @arg_an_i: Argument to pass with the method invocation. 1567s # * @arg_an_u: Argument to pass with the method invocation. 1567s # * @arg_an_x: Argument to pass with the method invocation. 1567s # * @arg_an_t: Argument to pass with the method invocation. 1567s # * @arg_an_d: Argument to pass with the method invocation. 1567s # * @arg_an_s: Argument to pass with the method invocation. 1567s # * @arg_an_o: Argument to pass with the method invocation. 1567s # * @arg_an_g: Argument to pass with the method invocation. 1567s # * @arg_an_h: Argument to pass with the method invocation. 1567s # * @arg_an_ay: Argument to pass with the method invocation. 1567s # * @arg_an_as: Argument to pass with the method invocation. 1567s # * @arg_an_ao: Argument to pass with the method invocation. 1567s # * @arg_an_aay: Argument to pass with the method invocation. 1567s # * @arg_an_asv: Argument to pass with the method invocation. 1567s # * @cancellable: (nullable): A #GCancellable or %NULL. 1567s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1567s # * @user_data: User data to pass to @callback. 1567s # * 1567s # * Asynchronously invokes the MethodWithManyArgs() D-Bus method on @proxy. 1567s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1567s # * You can then call org_project_other_callable_iface_call_method_with_many_args_finish() to get the result of the operation. 1567s # * 1567s # * See org_project_other_callable_iface_call_method_with_many_args_sync() for the synchronous, blocking version of this method. 1567s # */ 1567s # void 1567s # org_project_other_callable_iface_call_method_with_many_args ( 1567s # OrgProjectOtherCallableIface *proxy, 1567s # gboolean arg_an_b, 1567s # guchar arg_an_y, 1567s # gint16 arg_an_n, 1567s # guint16 arg_an_q, 1567s # gint arg_an_i, 1567s # guint arg_an_u, 1567s # gint64 arg_an_x, 1567s # guint64 arg_an_t, 1567s # gdouble arg_an_d, 1567s # const gchar *arg_an_s, 1567s # const gchar *arg_an_o, 1567s # const gchar *arg_an_g, 1567s # GVariant *arg_an_h, 1567s # const gchar *arg_an_ay, 1567s # const gchar *const *arg_an_as, 1567s # const gchar *const *arg_an_ao, 1567s # const gchar *const *arg_an_aay, 1567s # GVariant *arg_an_asv, 1567s # GCancellable *cancellable, 1567s # GAsyncReadyCallback callback, 1567s # gpointer user_data) 1567s # { 1567s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1567s # "MethodWithManyArgs", 1567s # g_variant_new ("(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 1567s # arg_an_b, 1567s # arg_an_y, 1567s # arg_an_n, 1567s # arg_an_q, 1567s # arg_an_i, 1567s # arg_an_u, 1567s # arg_an_x, 1567s # arg_an_t, 1567s # arg_an_d, 1567s # arg_an_s, 1567s # arg_an_o, 1567s # arg_an_g, 1567s # arg_an_h, 1567s # arg_an_ay, 1567s # arg_an_as, 1567s # arg_an_ao, 1567s # arg_an_aay, 1567s # arg_an_asv), 1567s # G_DBUS_CALL_FLAGS_NONE, 1567s # -1, 1567s # cancellable, 1567s # callback, 1567s # user_data); 1567s # } 1567s # 1567s # /** 1567s # * org_project_other_callable_iface_call_method_with_many_args_finish: 1567s # * @proxy: A #OrgProjectOtherCallableIfaceProxy. 1567s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_callable_iface_call_method_with_many_args(). 1567s # * @error: Return location for error or %NULL. 1567s # * 1567s # * Finishes an operation started with org_project_other_callable_iface_call_method_with_many_args(). 1567s # * 1567s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1567s # */ 1567s # gboolean 1567s # org_project_other_callable_iface_call_method_with_many_args_finish ( 1567s # OrgProjectOtherCallableIface *proxy, 1567s # GAsyncResult *res, 1567s # GError **error) 1567s # { 1567s # GVariant *_ret; 1567s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1567s # if (_ret == NULL) 1567s # goto _out; 1567s # g_variant_get (_ret, 1567s # "()"); 1567s # g_variant_unref (_ret); 1567s # _out: 1567s # return _ret != NULL; 1567s # } 1567s # 1567s # /** 1567s # * org_project_other_callable_iface_call_method_with_many_args_sync: 1567s # * @proxy: A #OrgProjectOtherCallableIfaceProxy. 1567s # * @arg_an_b: Argument to pass with the method invocation. 1567s # * @arg_an_y: Argument to pass with the method invocation. 1567s # * @arg_an_n: Argument to pass with the method invocation. 1567s # * @arg_an_q: Argument to pass with the method invocation. 1567s # * @arg_an_i: Argument to pass with the method invocation. 1567s # * @arg_an_u: Argument to pass with the method invocation. 1567s # * @arg_an_x: Argument to pass with the method invocation. 1567s # * @arg_an_t: Argument to pass with the method invocation. 1567s # * @arg_an_d: Argument to pass with the method invocation. 1567s # * @arg_an_s: Argument to pass with the method invocation. 1567s # * @arg_an_o: Argument to pass with the method invocation. 1567s # * @arg_an_g: Argument to pass with the method invocation. 1567s # * @arg_an_h: Argument to pass with the method invocation. 1567s # * @arg_an_ay: Argument to pass with the method invocation. 1567s # * @arg_an_as: Argument to pass with the method invocation. 1567s # * @arg_an_ao: Argument to pass with the method invocation. 1567s # * @arg_an_aay: Argument to pass with the method invocation. 1567s # * @arg_an_asv: Argument to pass with the method invocation. 1567s # * @cancellable: (nullable): A #GCancellable or %NULL. 1567s # * @error: Return location for error or %NULL. 1567s # * 1567s # * Synchronously invokes the MethodWithManyArgs() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1567s # * 1567s # * See org_project_other_callable_iface_call_method_with_many_args() for the asynchronous version of this method. 1567s # * 1567s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1567s # */ 1567s # gboolean 1567s # org_project_other_callable_iface_call_method_with_many_args_sync ( 1567s # OrgProjectOtherCallableIface *proxy, 1567s # gboolean arg_an_b, 1567s # guchar arg_an_y, 1567s # gint16 arg_an_n, 1567s # guint16 arg_an_q, 1567s # gint arg_an_i, 1567s # guint arg_an_u, 1567s # gint64 arg_an_x, 1567s # guint64 arg_an_t, 1567s # gdouble arg_an_d, 1567s # const gchar *arg_an_s, 1567s # const gchar *arg_an_o, 1567s # const gchar *arg_an_g, 1567s # GVariant *arg_an_h, 1567s # const gchar *arg_an_ay, 1567s # const gchar *const *arg_an_as, 1567s # const gchar *const *arg_an_ao, 1567s # const gchar *const *arg_an_aay, 1567s # GVariant *arg_an_asv, 1567s # GCancellable *cancellable, 1567s # GError **error) 1567s # { 1567s # GVariant *_ret; 1567s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1567s # "MethodWithManyArgs", 1567s # g_variant_new ("(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 1567s # arg_an_b, 1567s # arg_an_y, 1567s # arg_an_n, 1567s # arg_an_q, 1567s # arg_an_i, 1567s # arg_an_u, 1567s # arg_an_x, 1567s # arg_an_t, 1567s # arg_an_d, 1567s # arg_an_s, 1567s # arg_an_o, 1567s # arg_an_g, 1567s # arg_an_h, 1567s # arg_an_ay, 1567s # arg_an_as, 1567s # arg_an_ao, 1567s # arg_an_aay, 1567s # arg_an_asv), 1567s # G_DBUS_CALL_FLAGS_NONE, 1567s # -1, 1567s # cancellable, 1567s # error); 1567s # if (_ret == NULL) 1567s # goto _out; 1567s # g_variant_get (_ret, 1567s # "()"); 1567s # g_variant_unref (_ret); 1567s # _out: 1567s # return _ret != NULL; 1567s # } 1567s # 1567s # /** 1567s # * org_project_other_callable_iface_complete_method_with_many_args: 1567s # * @object: A #OrgProjectOtherCallableIface. 1567s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1567s # * 1567s # * 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. 1567s # * 1567s # * This method will free @invocation, you cannot use it afterwards. 1567s # */ 1567s # void 1567s # org_project_other_callable_iface_complete_method_with_many_args ( 1567s # OrgProjectOtherCallableIface *object G_GNUC_UNUSED, 1567s # GDBusMethodInvocation *invocation) 1567s # { 1567s # g_dbus_method_invocation_return_value (invocation, 1567s # g_variant_new ("()")); 1567s # } 1567s # 1567s # /* ------------------------------------------------------------------------ */ 1567s # 1567s # /** 1567s # * OrgProjectOtherCallableIfaceProxy: 1567s # * 1567s # * The #OrgProjectOtherCallableIfaceProxy structure contains only private data and should only be accessed using the provided API. 1567s # */ 1567s # 1567s # /** 1567s # * OrgProjectOtherCallableIfaceProxyClass: 1567s # * @parent_class: The parent class. 1567s # * 1567s # * Class structure for #OrgProjectOtherCallableIfaceProxy. 1567s # */ 1567s # 1567s # struct _OrgProjectOtherCallableIfaceProxyPrivate 1567s # { 1567s # GData *qdata; 1567s # }; 1567s # 1567s # static void org_project_other_callable_iface_proxy_iface_init (OrgProjectOtherCallableIfaceIface *iface); 1567s # 1567s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1567s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherCallableIfaceProxy, org_project_other_callable_iface_proxy, G_TYPE_DBUS_PROXY, 1567s # G_ADD_PRIVATE (OrgProjectOtherCallableIfaceProxy) 1567s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE, org_project_other_callable_iface_proxy_iface_init)) 1567s # 1567s # #else 1567s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherCallableIfaceProxy, org_project_other_callable_iface_proxy, G_TYPE_DBUS_PROXY, 1567s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE, org_project_other_callable_iface_proxy_iface_init)) 1567s # 1567s # #endif 1567s # static void 1567s # org_project_other_callable_iface_proxy_finalize (GObject *object) 1567s # { 1567s # OrgProjectOtherCallableIfaceProxy *proxy = ORG_PROJECT_OTHER_CALLABLE_IFACE_PROXY (object); 1567s # g_datalist_clear (&proxy->priv->qdata); 1567s # G_OBJECT_CLASS (org_project_other_callable_iface_proxy_parent_class)->finalize (object); 1567s # } 1567s # 1567s # static void 1567s # org_project_other_callable_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1567s # guint prop_id G_GNUC_UNUSED, 1567s # GValue *value G_GNUC_UNUSED, 1567s # GParamSpec *pspec G_GNUC_UNUSED) 1567s # { 1567s # } 1567s # 1567s # static void 1567s # org_project_other_callable_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1567s # guint prop_id G_GNUC_UNUSED, 1567s # const GValue *value G_GNUC_UNUSED, 1567s # GParamSpec *pspec G_GNUC_UNUSED) 1567s # { 1567s # } 1567s # 1567s # static void 1567s # org_project_other_callable_iface_proxy_g_signal (GDBusProxy *proxy, 1567s # const gchar *sender_name G_GNUC_UNUSED, 1567s # const gchar *signal_name, 1567s # GVariant *parameters) 1567s # { 1567s # _ExtendedGDBusSignalInfo *info; 1567s # GVariantIter iter; 1567s # GVariant *child; 1567s # GValue *paramv; 1567s # gsize num_params; 1567s # gsize n; 1567s # guint signal_id; 1567s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, signal_name); 1567s # if (info == NULL) 1567s # return; 1567s # num_params = g_variant_n_children (parameters); 1567s # paramv = g_new0 (GValue, num_params + 1); 1567s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE); 1567s # g_value_set_object (¶mv[0], proxy); 1567s # g_variant_iter_init (&iter, parameters); 1567s # n = 1; 1567s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1567s # { 1567s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1567s # if (arg_info->use_gvariant) 1567s # { 1567s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1567s # g_value_set_variant (¶mv[n], child); 1567s # n++; 1567s # } 1567s # else 1567s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1567s # g_variant_unref (child); 1567s # } 1567s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE); 1567s # g_signal_emitv (paramv, signal_id, 0, NULL); 1567s # for (n = 0; n < num_params + 1; n++) 1567s # g_value_unset (¶mv[n]); 1567s # g_free (paramv); 1567s # } 1567s # 1567s # static void 1567s # org_project_other_callable_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1567s # GVariant *changed_properties, 1567s # const gchar *const *invalidated_properties) 1567s # { 1567s # OrgProjectOtherCallableIfaceProxy *proxy = ORG_PROJECT_OTHER_CALLABLE_IFACE_PROXY (_proxy); 1567s # guint n; 1567s # const gchar *key; 1567s # GVariantIter *iter; 1567s # _ExtendedGDBusPropertyInfo *info; 1567s # g_variant_get (changed_properties, "a{sv}", &iter); 1567s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1567s # { 1567s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, key); 1567s # g_datalist_remove_data (&proxy->priv->qdata, key); 1567s # if (info != NULL) 1567s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1567s # } 1567s # g_variant_iter_free (iter); 1567s # for (n = 0; invalidated_properties[n] != NULL; n++) 1567s # { 1567s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, invalidated_properties[n]); 1567s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1567s # if (info != NULL) 1567s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1567s # } 1567s # } 1567s # 1567s # static void 1567s # org_project_other_callable_iface_proxy_init (OrgProjectOtherCallableIfaceProxy *proxy) 1567s # { 1567s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1567s # proxy->priv = org_project_other_callable_iface_proxy_get_instance_private (proxy); 1567s # #else 1567s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE_PROXY, OrgProjectOtherCallableIfaceProxyPrivate); 1567s # #endif 1567s # 1567s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_other_callable_iface_interface_info ()); 1567s # } 1567s # 1567s # static void 1567s # org_project_other_callable_iface_proxy_class_init (OrgProjectOtherCallableIfaceProxyClass *klass) 1567s # { 1567s # GObjectClass *gobject_class; 1567s # GDBusProxyClass *proxy_class; 1567s # 1567s # gobject_class = G_OBJECT_CLASS (klass); 1567s # gobject_class->finalize = org_project_other_callable_iface_proxy_finalize; 1567s # gobject_class->get_property = org_project_other_callable_iface_proxy_get_property; 1567s # gobject_class->set_property = org_project_other_callable_iface_proxy_set_property; 1567s # 1567s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1567s # proxy_class->g_signal = org_project_other_callable_iface_proxy_g_signal; 1567s # proxy_class->g_properties_changed = org_project_other_callable_iface_proxy_g_properties_changed; 1567s # 1567s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1567s # g_type_class_add_private (klass, sizeof (OrgProjectOtherCallableIfaceProxyPrivate)); 1567s # #endif 1567s # } 1567s # 1567s # static void 1567s # org_project_other_callable_iface_proxy_iface_init (OrgProjectOtherCallableIfaceIface *iface G_GNUC_UNUSED) 1567s # { 1567s # } 1567s # 1567s # /** 1567s # * org_project_other_callable_iface_proxy_new: 1567s # * @connection: A #GDBusConnection. 1567s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1567s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1567s # * @object_path: An object path. 1567s # * @cancellable: (nullable): A #GCancellable or %NULL. 1567s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1567s # * @user_data: User data to pass to @callback. 1567s # * 1567s # * Asynchronously creates a proxy for the D-Bus interface org.project.OtherCallableIface. See g_dbus_proxy_new() for more details. 1567s # * 1567s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1567s # * You can then call org_project_other_callable_iface_proxy_new_finish() to get the result of the operation. 1567s # * 1567s # * See org_project_other_callable_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1567s # */ 1567s # void 1567s # org_project_other_callable_iface_proxy_new ( 1567s # GDBusConnection *connection, 1567s # GDBusProxyFlags flags, 1567s # const gchar *name, 1567s # const gchar *object_path, 1567s # GCancellable *cancellable, 1567s # GAsyncReadyCallback callback, 1567s # gpointer user_data) 1567s # { 1567s # 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); 1567s # } 1567s # 1567s # /** 1567s # * org_project_other_callable_iface_proxy_new_finish: 1567s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_callable_iface_proxy_new(). 1567s # * @error: Return location for error or %NULL 1567s # * 1567s # * Finishes an operation started with org_project_other_callable_iface_proxy_new(). 1567s # * 1567s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 1567s # */ 1567s # OrgProjectOtherCallableIface * 1567s # org_project_other_callable_iface_proxy_new_finish ( 1567s # GAsyncResult *res, 1567s # GError **error) 1567s # { 1567s # GObject *ret; 1567s # GObject *source_object; 1567s # source_object = g_async_result_get_source_object (res); 1567s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1567s # g_object_unref (source_object); 1567s # if (ret != NULL) 1567s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (ret); 1567s # else 1567s # return NULL; 1567s # } 1567s # 1567s # /** 1567s # * org_project_other_callable_iface_proxy_new_sync: 1567s # * @connection: A #GDBusConnection. 1567s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1567s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1567s # * @object_path: An object path. 1567s # * @cancellable: (nullable): A #GCancellable or %NULL. 1567s # * @error: Return location for error or %NULL 1567s # * 1567s # * Synchronously creates a proxy for the D-Bus interface org.project.OtherCallableIface. See g_dbus_proxy_new_sync() for more details. 1567s # * 1567s # * The calling thread is blocked until a reply is received. 1567s # * 1567s # * See org_project_other_callable_iface_proxy_new() for the asynchronous version of this constructor. 1567s # * 1567s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 1567s # */ 1567s # OrgProjectOtherCallableIface * 1567s # org_project_other_callable_iface_proxy_new_sync ( 1567s # GDBusConnection *connection, 1567s # GDBusProxyFlags flags, 1567s # const gchar *name, 1567s # const gchar *object_path, 1567s # GCancellable *cancellable, 1567s # GError **error) 1567s # { 1567s # GInitable *ret; 1567s # 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); 1567s # if (ret != NULL) 1567s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (ret); 1567s # else 1567s # return NULL; 1567s # } 1567s # 1567s # 1567s # /** 1567s # * org_project_other_callable_iface_proxy_new_for_bus: 1567s # * @bus_type: A #GBusType. 1567s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1567s # * @name: A bus name (well-known or unique). 1567s # * @object_path: An object path. 1567s # * @cancellable: (nullable): A #GCancellable or %NULL. 1567s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1567s # * @user_data: User data to pass to @callback. 1567s # * 1567s # * Like org_project_other_callable_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1567s # * 1567s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1567s # * You can then call org_project_other_callable_iface_proxy_new_for_bus_finish() to get the result of the operation. 1567s # * 1567s # * See org_project_other_callable_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1567s # */ 1567s # void 1567s # org_project_other_callable_iface_proxy_new_for_bus ( 1567s # GBusType bus_type, 1567s # GDBusProxyFlags flags, 1567s # const gchar *name, 1567s # const gchar *object_path, 1567s # GCancellable *cancellable, 1567s # GAsyncReadyCallback callback, 1567s # gpointer user_data) 1567s # { 1567s # 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); 1567s # } 1567s # 1567s # /** 1567s # * org_project_other_callable_iface_proxy_new_for_bus_finish: 1567s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_callable_iface_proxy_new_for_bus(). 1567s # * @error: Return location for error or %NULL 1567s # * 1567s # * Finishes an operation started with org_project_other_callable_iface_proxy_new_for_bus(). 1567s # * 1567s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 1567s # */ 1567s # OrgProjectOtherCallableIface * 1567s # org_project_other_callable_iface_proxy_new_for_bus_finish ( 1567s # GAsyncResult *res, 1567s # GError **error) 1567s # { 1567s # GObject *ret; 1567s # GObject *source_object; 1567s # source_object = g_async_result_get_source_object (res); 1567s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1567s # g_object_unref (source_object); 1567s # if (ret != NULL) 1567s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (ret); 1567s # else 1567s # return NULL; 1567s # } 1567s # 1567s # /** 1567s # * org_project_other_callable_iface_proxy_new_for_bus_sync: 1567s # * @bus_type: A #GBusType. 1567s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1567s # * @name: A bus name (well-known or unique). 1567s # * @object_path: An object path. 1567s # * @cancellable: (nullable): A #GCancellable or %NULL. 1567s # * @error: Return location for error or %NULL 1567s # * 1567s # * Like org_project_other_callable_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1567s # * 1567s # * The calling thread is blocked until a reply is received. 1567s # * 1567s # * See org_project_other_callable_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1567s # * 1567s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 1567s # */ 1567s # OrgProjectOtherCallableIface * 1567s # org_project_other_callable_iface_proxy_new_for_bus_sync ( 1567s # GBusType bus_type, 1567s # GDBusProxyFlags flags, 1567s # const gchar *name, 1567s # const gchar *object_path, 1567s # GCancellable *cancellable, 1567s # GError **error) 1567s # { 1567s # GInitable *ret; 1567s # 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); 1567s # if (ret != NULL) 1567s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (ret); 1567s # else 1567s # return NULL; 1567s # } 1567s # 1567s # 1567s # /* ------------------------------------------------------------------------ */ 1567s # 1567s # /** 1567s # * OrgProjectOtherCallableIfaceSkeleton: 1567s # * 1567s # * The #OrgProjectOtherCallableIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1567s # */ 1567s # 1567s # /** 1567s # * OrgProjectOtherCallableIfaceSkeletonClass: 1567s # * @parent_class: The parent class. 1567s # * 1567s # * Class structure for #OrgProjectOtherCallableIfaceSkeleton. 1567s # */ 1567s # 1567s # struct _OrgProjectOtherCallableIfaceSkeletonPrivate 1567s # { 1567s # GValue *properties; 1567s # GList *changed_properties; 1567s # GSource *changed_properties_idle_source; 1567s # GMainContext *context; 1567s # GMutex lock; 1567s # }; 1567s # 1567s # static void 1567s # _org_project_other_callable_iface_skeleton_handle_method_call ( 1567s # GDBusConnection *connection G_GNUC_UNUSED, 1567s # const gchar *sender G_GNUC_UNUSED, 1567s # const gchar *object_path G_GNUC_UNUSED, 1567s # const gchar *interface_name, 1567s # const gchar *method_name, 1567s # GVariant *parameters, 1567s # GDBusMethodInvocation *invocation, 1567s # gpointer user_data) 1567s # { 1567s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (user_data); 1567s # _ExtendedGDBusMethodInfo *info; 1567s # GVariantIter iter; 1567s # GVariant *child; 1567s # GValue *paramv; 1567s # gsize num_params; 1567s # guint num_extra; 1567s # gsize n; 1567s # guint signal_id; 1567s # GValue return_value = G_VALUE_INIT; 1567s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1567s # g_assert (info != NULL); 1567s # num_params = g_variant_n_children (parameters); 1567s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1567s # n = 0; 1567s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE); 1567s # g_value_set_object (¶mv[n++], skeleton); 1567s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1567s # g_value_set_object (¶mv[n++], invocation); 1567s # if (info->pass_fdlist) 1567s # { 1567s # #ifdef G_OS_UNIX 1567s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1567s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1567s # #else 1567s # g_assert_not_reached (); 1567s # #endif 1567s # } 1567s # g_variant_iter_init (&iter, parameters); 1567s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1567s # { 1567s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1567s # if (arg_info->use_gvariant) 1567s # { 1567s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1567s # g_value_set_variant (¶mv[n], child); 1567s # n++; 1567s # } 1567s # else 1567s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1567s # g_variant_unref (child); 1567s # } 1567s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE); 1567s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1567s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1567s # if (!g_value_get_boolean (&return_value)) 1567s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1567s # g_value_unset (&return_value); 1567s # for (n = 0; n < num_params + num_extra; n++) 1567s # g_value_unset (¶mv[n]); 1567s # g_free (paramv); 1567s # } 1567s # 1567s # static GVariant * 1567s # _org_project_other_callable_iface_skeleton_handle_get_property ( 1567s # GDBusConnection *connection G_GNUC_UNUSED, 1567s # const gchar *sender G_GNUC_UNUSED, 1567s # const gchar *object_path G_GNUC_UNUSED, 1567s # const gchar *interface_name G_GNUC_UNUSED, 1567s # const gchar *property_name, 1567s # GError **error, 1567s # gpointer user_data) 1567s # { 1567s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (user_data); 1567s # GValue value = G_VALUE_INIT; 1567s # GParamSpec *pspec; 1567s # _ExtendedGDBusPropertyInfo *info; 1567s # GVariant *ret; 1567s # ret = NULL; 1567s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, property_name); 1567s # g_assert (info != NULL); 1567s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1567s # if (pspec == NULL) 1567s # { 1567s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1567s # } 1567s # else 1567s # { 1567s # g_value_init (&value, pspec->value_type); 1567s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1567s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1567s # g_value_unset (&value); 1567s # } 1567s # return ret; 1567s # } 1567s # 1567s # static gboolean 1567s # _org_project_other_callable_iface_skeleton_handle_set_property ( 1567s # GDBusConnection *connection G_GNUC_UNUSED, 1567s # const gchar *sender G_GNUC_UNUSED, 1567s # const gchar *object_path G_GNUC_UNUSED, 1567s # const gchar *interface_name G_GNUC_UNUSED, 1567s # const gchar *property_name, 1567s # GVariant *variant, 1567s # GError **error, 1567s # gpointer user_data) 1567s # { 1567s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (user_data); 1567s # GValue value = G_VALUE_INIT; 1567s # GParamSpec *pspec; 1567s # _ExtendedGDBusPropertyInfo *info; 1567s # gboolean ret; 1567s # ret = FALSE; 1567s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, property_name); 1567s # g_assert (info != NULL); 1567s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1567s # if (pspec == NULL) 1567s # { 1567s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1567s # } 1567s # else 1567s # { 1567s # if (info->use_gvariant) 1567s # g_value_set_variant (&value, variant); 1567s # else 1567s # g_dbus_gvariant_to_gvalue (variant, &value); 1567s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1567s # g_value_unset (&value); 1567s # ret = TRUE; 1567s # } 1567s # return ret; 1567s # } 1567s # 1567s # static const GDBusInterfaceVTable _org_project_other_callable_iface_skeleton_vtable = 1567s # { 1567s # _org_project_other_callable_iface_skeleton_handle_method_call, 1567s # _org_project_other_callable_iface_skeleton_handle_get_property, 1567s # _org_project_other_callable_iface_skeleton_handle_set_property, 1567s # {NULL} 1567s # }; 1567s # 1567s # static GDBusInterfaceInfo * 1567s # org_project_other_callable_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1567s # { 1567s # return org_project_other_callable_iface_interface_info (); 1567s # } 1567s # 1567s # static GDBusInterfaceVTable * 1567s # org_project_other_callable_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1567s # { 1567s # return (GDBusInterfaceVTable *) &_org_project_other_callable_iface_skeleton_vtable; 1567s # } 1567s # 1567s # static GVariant * 1567s # org_project_other_callable_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1567s # { 1567s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (_skeleton); 1567s # 1567s # GVariantBuilder builder; 1567s # guint n; 1567s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1567s # if (_org_project_other_callable_iface_interface_info.parent_struct.properties == NULL) 1567s # goto out; 1567s # for (n = 0; _org_project_other_callable_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1567s # { 1567s # GDBusPropertyInfo *info = _org_project_other_callable_iface_interface_info.parent_struct.properties[n]; 1567s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1567s # { 1567s # GVariant *value; 1567s # 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); 1567s # if (value != NULL) 1567s # { 1567s # g_variant_take_ref (value); 1567s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1567s # g_variant_unref (value); 1567s # } 1567s # } 1567s # } 1567s # out: 1567s # return g_variant_builder_end (&builder); 1567s # } 1567s # 1567s # static void 1567s # org_project_other_callable_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1567s # { 1567s # } 1567s # 1567s # static void org_project_other_callable_iface_skeleton_iface_init (OrgProjectOtherCallableIfaceIface *iface); 1567s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1567s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherCallableIfaceSkeleton, org_project_other_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1567s # G_ADD_PRIVATE (OrgProjectOtherCallableIfaceSkeleton) 1567s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE, org_project_other_callable_iface_skeleton_iface_init)) 1567s # 1567s # #else 1567s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherCallableIfaceSkeleton, org_project_other_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1567s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE, org_project_other_callable_iface_skeleton_iface_init)) 1567s # 1567s # #endif 1567s # static void 1567s # org_project_other_callable_iface_skeleton_finalize (GObject *object) 1567s # { 1567s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (object); 1567s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1567s # if (skeleton->priv->changed_properties_idle_source != NULL) 1567s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1567s # g_main_context_unref (skeleton->priv->context); 1567s # g_mutex_clear (&skeleton->priv->lock); 1567s # G_OBJECT_CLASS (org_project_other_callable_iface_skeleton_parent_class)->finalize (object); 1567s # } 1567s # 1567s # static void 1567s # org_project_other_callable_iface_skeleton_init (OrgProjectOtherCallableIfaceSkeleton *skeleton) 1567s # { 1567s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1567s # skeleton->priv = org_project_other_callable_iface_skeleton_get_instance_private (skeleton); 1567s # #else 1567s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON, OrgProjectOtherCallableIfaceSkeletonPrivate); 1567s # #endif 1567s # 1567s # g_mutex_init (&skeleton->priv->lock); 1567s # skeleton->priv->context = g_main_context_ref_thread_default (); 1567s # } 1567s # 1567s # static void 1567s # org_project_other_callable_iface_skeleton_class_init (OrgProjectOtherCallableIfaceSkeletonClass *klass) 1567s # { 1567s # GObjectClass *gobject_class; 1567s # GDBusInterfaceSkeletonClass *skeleton_class; 1567s # 1567s # gobject_class = G_OBJECT_CLASS (klass); 1567s # gobject_class->finalize = org_project_other_callable_iface_skeleton_finalize; 1567s # 1567s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1567s # skeleton_class->get_info = org_project_other_callable_iface_skeleton_dbus_interface_get_info; 1567s # skeleton_class->get_properties = org_project_other_callable_iface_skeleton_dbus_interface_get_properties; 1567s # skeleton_class->flush = org_project_other_callable_iface_skeleton_dbus_interface_flush; 1567s # skeleton_class->get_vtable = org_project_other_callable_iface_skeleton_dbus_interface_get_vtable; 1567s # 1567s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1567s # g_type_class_add_private (klass, sizeof (OrgProjectOtherCallableIfaceSkeletonPrivate)); 1567s # #endif 1567s # } 1567s # 1567s # static void 1567s # org_project_other_callable_iface_skeleton_iface_init (OrgProjectOtherCallableIfaceIface *iface G_GNUC_UNUSED) 1567s # { 1567s # } 1567s # 1567s # /** 1567s # * org_project_other_callable_iface_skeleton_new: 1567s # * 1567s # * Creates a skeleton object for the D-Bus interface org.project.OtherCallableIface. 1567s # * 1567s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceSkeleton): The skeleton object. 1567s # */ 1567s # OrgProjectOtherCallableIface * 1567s # org_project_other_callable_iface_skeleton_new (void) 1567s # { 1567s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (g_object_new (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON, NULL)); 1567s # } 1567s # Executing: glib/codegen.py.test 1567s ok 13 __main__.TestCodegen.test_generate_methods_marshallers_multiple_out_args 1567s # tmpdir: /tmp/tmp8ig84pj5 1567s # codegen: /usr/bin/gdbus-codegen 1567s # /tmp/tmp8ig84pj5/tmpmmcpzsdo.xml: 1567s # 1567s # 1567s # 1567s # 1567s # 1567s # 1567s # 1567s # 1567s # 1567s # 1567s # 1567s # 1567s # 1567s # 1567s # 1567s # 1567s # 1567s # 1567s # 1567s # 1567s # 1567s # 1567s # 1567s # 1567s # 1567s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp8ig84pj5/tmpmmcpzsdo.xml', '--output', '-', '--body'] 1567s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-baqskmurxn,guid=fbaffe99d0ccb1f6e1beb84865fc01cd', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.YcZbqk/autopkgtest_tmp', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.YcZbqk/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.YcZbqk/autopkgtest_tmp', 'TERM': 'unknown', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.YcZbqk/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.sVTVMp0Db0', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.rqZsJO/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.YcZbqk/wrapper.sh --artifacts=/tmp/autopkgtest.YcZbqk/installed-tests-artifacts --chdir=/tmp/autopkgtest.YcZbqk/build.S0E/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.YcZbqk/installed-tests-stderr --stdout=/tmp/autopkgtest.YcZbqk/installed-tests-stdout --tmp=/tmp/autopkgtest.YcZbqk/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2' --make-executable=/tmp/autopkgtest.YcZbqk/build.S0E/src/debian/tests/installed-tests -- /tmp/autopkgtest.YcZbqk/build.S0E/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.YcZbqk/build.S0E/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.YcZbqk/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1567s # Output: /* 1567s # * This file is generated by gdbus-codegen, do not modify it. 1567s # * 1567s # * The license of this code is the same as for the D-Bus interface description 1567s # * it was derived from. Note that it links to GLib, so must comply with the 1567s # * LGPL linking clauses. 1567s # */ 1567s # 1567s # #ifdef HAVE_CONFIG_H 1567s # # include "config.h" 1567s # #endif 1567s # 1567s # #include 1567s # #ifdef G_OS_UNIX 1567s # # include 1567s # #endif 1567s # 1567s # #ifdef G_ENABLE_DEBUG 1567s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1567s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1567s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1567s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1567s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1567s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1567s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1567s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1567s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1567s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1567s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1567s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1567s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1567s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1567s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1567s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1567s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1567s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1567s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1567s # #else /* !G_ENABLE_DEBUG */ 1567s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1567s # * Do not access GValues directly in your code. Instead, use the 1567s # * g_value_get_*() functions 1567s # */ 1567s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1567s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1567s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1567s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1567s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1567s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1567s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1567s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1567s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1567s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1567s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1567s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1567s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1567s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1567s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1567s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1567s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1567s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1567s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1567s # #endif /* !G_ENABLE_DEBUG */ 1567s # 1567s # typedef struct 1567s # { 1567s # GDBusArgInfo parent_struct; 1567s # gboolean use_gvariant; 1567s # } _ExtendedGDBusArgInfo; 1567s # 1567s # typedef struct 1567s # { 1567s # GDBusMethodInfo parent_struct; 1567s # const gchar *signal_name; 1567s # gboolean pass_fdlist; 1567s # } _ExtendedGDBusMethodInfo; 1567s # 1567s # typedef struct 1567s # { 1567s # GDBusSignalInfo parent_struct; 1567s # const gchar *signal_name; 1567s # } _ExtendedGDBusSignalInfo; 1567s # 1567s # typedef struct 1567s # { 1567s # GDBusPropertyInfo parent_struct; 1567s # const gchar *hyphen_name; 1567s # guint use_gvariant : 1; 1567s # guint emits_changed_signal : 1; 1567s # } _ExtendedGDBusPropertyInfo; 1567s # 1567s # typedef struct 1567s # { 1567s # GDBusInterfaceInfo parent_struct; 1567s # const gchar *hyphen_name; 1567s # } _ExtendedGDBusInterfaceInfo; 1567s # 1567s # typedef struct 1567s # { 1567s # const _ExtendedGDBusPropertyInfo *info; 1567s # guint prop_id; 1567s # GValue orig_value; /* the value before the change */ 1567s # } ChangedProperty; 1567s # 1567s # static void 1567s # _changed_property_free (ChangedProperty *data) 1567s # { 1567s # g_value_unset (&data->orig_value); 1567s # g_free (data); 1567s # } 1567s # 1567s # static gboolean 1567s # _g_strv_equal0 (gchar **a, gchar **b) 1567s # { 1567s # gboolean ret = FALSE; 1567s # guint n; 1567s # if (a == NULL && b == NULL) 1567s # { 1567s # ret = TRUE; 1567s # goto out; 1567s # } 1567s # if (a == NULL || b == NULL) 1567s # goto out; 1567s # if (g_strv_length (a) != g_strv_length (b)) 1567s # goto out; 1567s # for (n = 0; a[n] != NULL; n++) 1567s # if (g_strcmp0 (a[n], b[n]) != 0) 1567s # goto out; 1567s # ret = TRUE; 1567s # out: 1567s # return ret; 1567s # } 1567s # 1567s # static gboolean 1567s # _g_variant_equal0 (GVariant *a, GVariant *b) 1567s # { 1567s # gboolean ret = FALSE; 1567s # if (a == NULL && b == NULL) 1567s # { 1567s # ret = TRUE; 1567s # goto out; 1567s # } 1567s # if (a == NULL || b == NULL) 1567s # goto out; 1567s # ret = g_variant_equal (a, b); 1567s # out: 1567s # return ret; 1567s # } 1567s # 1567s # G_GNUC_UNUSED static gboolean 1567s # _g_value_equal (const GValue *a, const GValue *b) 1567s # { 1567s # gboolean ret = FALSE; 1567s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1567s # switch (G_VALUE_TYPE (a)) 1567s # { 1567s # case G_TYPE_BOOLEAN: 1567s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1567s # break; 1567s # case G_TYPE_UCHAR: 1567s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1567s # break; 1567s # case G_TYPE_INT: 1567s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1567s # break; 1567s # case G_TYPE_UINT: 1567s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1567s # break; 1567s # case G_TYPE_INT64: 1567s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1567s # break; 1567s # case G_TYPE_UINT64: 1567s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1567s # break; 1567s # case G_TYPE_DOUBLE: 1567s # { 1567s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1567s # gdouble da = g_value_get_double (a); 1567s # gdouble db = g_value_get_double (b); 1567s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1567s # } 1567s # break; 1567s # case G_TYPE_STRING: 1567s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1567s # break; 1567s # case G_TYPE_VARIANT: 1567s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1567s # break; 1567s # default: 1567s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1567s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1567s # else 1567s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1567s # break; 1567s # } 1567s # return ret; 1567s # } 1567s # 1567s # static void 1567s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 1567s # GClosure *closure, 1567s # GValue *return_value, 1567s # unsigned int n_param_values, 1567s # const GValue *param_values, 1567s # void *invocation_hint G_GNUC_UNUSED, 1567s # void *marshal_data) 1567s # { 1567s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 1567s # (void *data1, 1567s # GDBusMethodInvocation *arg_method_invocation, 1567s # void *data2); 1567s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 1567s # GCClosure *cc = (GCClosure*) closure; 1567s # void *data1, *data2; 1567s # gboolean v_return; 1567s # 1567s # g_return_if_fail (return_value != NULL); 1567s # g_return_if_fail (n_param_values == 2); 1567s # 1567s # if (G_CCLOSURE_SWAP_DATA (closure)) 1567s # { 1567s # data1 = closure->data; 1567s # data2 = g_value_peek_pointer (param_values + 0); 1567s # } 1567s # else 1567s # { 1567s # data1 = g_value_peek_pointer (param_values + 0); 1567s # data2 = closure->data; 1567s # } 1567s # 1567s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 1567s # (marshal_data ? marshal_data : cc->callback); 1567s # 1567s # v_return = 1567s # callback (data1, 1567s # g_marshal_value_peek_object (param_values + 1), 1567s # data2); 1567s # 1567s # g_value_set_boolean (return_value, v_return); 1567s # } 1567s # 1567s # /* ------------------------------------------------------------------------ 1567s # * Code for interface org.project.CallableIface 1567s # * ------------------------------------------------------------------------ 1567s # */ 1567s # 1567s # /** 1567s # * SECTION:OrgProjectCallableIface 1567s # * @title: OrgProjectCallableIface 1567s # * @short_description: Generated C code for the org.project.CallableIface D-Bus interface 1567s # * 1567s # * This section contains code for working with the org.project.CallableIface D-Bus interface in C. 1567s # */ 1567s # 1567s # /* ---- Introspection data for org.project.CallableIface ---- */ 1567s # 1567s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_b = 1567s # { 1567s # { 1567s # -1, 1567s # (gchar *) "an_b", 1567s # (gchar *) "b", 1567s # NULL 1567s # }, 1567s # FALSE 1567s # }; 1567s # 1567s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_y = 1567s # { 1567s # { 1567s # -1, 1567s # (gchar *) "an_y", 1567s # (gchar *) "y", 1567s # NULL 1567s # }, 1567s # FALSE 1567s # }; 1567s # 1567s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_n = 1567s # { 1567s # { 1567s # -1, 1567s # (gchar *) "an_n", 1567s # (gchar *) "n", 1567s # NULL 1567s # }, 1567s # FALSE 1567s # }; 1567s # 1567s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_q = 1567s # { 1567s # { 1567s # -1, 1567s # (gchar *) "an_q", 1567s # (gchar *) "q", 1567s # NULL 1567s # }, 1567s # FALSE 1567s # }; 1567s # 1567s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_i = 1567s # { 1567s # { 1567s # -1, 1567s # (gchar *) "an_i", 1567s # (gchar *) "i", 1567s # NULL 1567s # }, 1567s # FALSE 1567s # }; 1567s # 1567s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_u = 1567s # { 1567s # { 1567s # -1, 1567s # (gchar *) "an_u", 1567s # (gchar *) "u", 1567s # NULL 1567s # }, 1567s # FALSE 1567s # }; 1567s # 1567s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_x = 1567s # { 1567s # { 1567s # -1, 1567s # (gchar *) "an_x", 1567s # (gchar *) "x", 1567s # NULL 1567s # }, 1567s # FALSE 1567s # }; 1567s # 1567s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_t = 1567s # { 1567s # { 1567s # -1, 1567s # (gchar *) "an_t", 1567s # (gchar *) "t", 1567s # NULL 1567s # }, 1567s # FALSE 1567s # }; 1567s # 1567s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_d = 1567s # { 1567s # { 1567s # -1, 1567s # (gchar *) "an_d", 1567s # (gchar *) "d", 1567s # NULL 1567s # }, 1567s # FALSE 1567s # }; 1567s # 1567s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_s = 1567s # { 1567s # { 1567s # -1, 1567s # (gchar *) "an_s", 1567s # (gchar *) "s", 1567s # NULL 1567s # }, 1567s # FALSE 1567s # }; 1567s # 1567s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_o = 1567s # { 1567s # { 1567s # -1, 1567s # (gchar *) "an_o", 1567s # (gchar *) "o", 1567s # NULL 1567s # }, 1567s # FALSE 1567s # }; 1567s # 1567s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_g = 1567s # { 1567s # { 1567s # -1, 1567s # (gchar *) "an_g", 1567s # (gchar *) "g", 1567s # NULL 1567s # }, 1567s # FALSE 1567s # }; 1567s # 1567s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_h = 1567s # { 1567s # { 1567s # -1, 1567s # (gchar *) "an_h", 1567s # (gchar *) "h", 1567s # NULL 1567s # }, 1567s # FALSE 1567s # }; 1567s # 1567s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_ay = 1567s # { 1567s # { 1567s # -1, 1567s # (gchar *) "an_ay", 1567s # (gchar *) "ay", 1567s # NULL 1567s # }, 1567s # FALSE 1567s # }; 1567s # 1567s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_as = 1567s # { 1567s # { 1567s # -1, 1567s # (gchar *) "an_as", 1567s # (gchar *) "as", 1567s # NULL 1567s # }, 1567s # FALSE 1567s # }; 1567s # 1567s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_ao = 1567s # { 1567s # { 1567s # -1, 1567s # (gchar *) "an_ao", 1567s # (gchar *) "ao", 1567s # NULL 1567s # }, 1567s # FALSE 1567s # }; 1567s # 1567s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_aay = 1567s # { 1567s # { 1567s # -1, 1567s # (gchar *) "an_aay", 1567s # (gchar *) "aay", 1567s # NULL 1567s # }, 1567s # FALSE 1567s # }; 1567s # 1567s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_asv = 1567s # { 1567s # { 1567s # -1, 1567s # (gchar *) "an_asv", 1567s # (gchar *) "a{sv}", 1567s # NULL 1567s # }, 1567s # FALSE 1567s # }; 1567s # 1567s # static const GDBusArgInfo * const _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_pointers[] = 1567s # { 1567s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_b.parent_struct, 1567s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_y.parent_struct, 1567s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_n.parent_struct, 1567s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_q.parent_struct, 1567s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_i.parent_struct, 1567s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_u.parent_struct, 1567s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_x.parent_struct, 1567s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_t.parent_struct, 1567s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_d.parent_struct, 1567s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_s.parent_struct, 1567s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_o.parent_struct, 1567s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_g.parent_struct, 1567s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_h.parent_struct, 1567s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_ay.parent_struct, 1567s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_as.parent_struct, 1567s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_ao.parent_struct, 1567s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_aay.parent_struct, 1567s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_asv.parent_struct, 1567s # NULL 1567s # }; 1567s # 1567s # static const _ExtendedGDBusMethodInfo _org_project_callable_iface_method_info_method_with_many_args = 1567s # { 1567s # { 1567s # -1, 1567s # (gchar *) "MethodWithManyArgs", 1567s # NULL, 1567s # (GDBusArgInfo **) &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_pointers, 1567s # NULL 1567s # }, 1567s # "handle-method-with-many-args", 1567s # FALSE 1567s # }; 1567s # 1567s # static const GDBusMethodInfo * const _org_project_callable_iface_method_info_pointers[] = 1567s # { 1567s # &_org_project_callable_iface_method_info_method_with_many_args.parent_struct, 1567s # NULL 1567s # }; 1567s # 1567s # static const _ExtendedGDBusInterfaceInfo _org_project_callable_iface_interface_info = 1567s # { 1567s # { 1567s # -1, 1567s # (gchar *) "org.project.CallableIface", 1567s # (GDBusMethodInfo **) &_org_project_callable_iface_method_info_pointers, 1567s # NULL, 1567s # NULL, 1567s # NULL 1567s # }, 1567s # "org-project-callable-iface", 1567s # }; 1567s # 1567s # 1567s # /** 1567s # * org_project_callable_iface_interface_info: 1567s # * 1567s # * Gets a machine-readable description of the org.project.CallableIface D-Bus interface. 1567s # * 1567s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1567s # */ 1567s # GDBusInterfaceInfo * 1567s # org_project_callable_iface_interface_info (void) 1567s # { 1567s # return (GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct; 1567s # } 1567s # 1567s # /** 1567s # * org_project_callable_iface_override_properties: 1567s # * @klass: The class structure for a #GObject derived class. 1567s # * @property_id_begin: The property id to assign to the first overridden property. 1567s # * 1567s # * Overrides all #GObject properties in the #OrgProjectCallableIface interface for a concrete class. 1567s # * The properties are overridden in the order they are defined. 1567s # * 1567s # * Returns: The last property id. 1567s # */ 1567s # guint 1567s # org_project_callable_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1567s # { 1567s # return property_id_begin - 1; 1567s # } 1567s # 1567s # 1567s # inline static void 1567s # org_project_callable_iface_method_marshal_method_with_many_args ( 1567s # GClosure *closure, 1567s # GValue *return_value, 1567s # unsigned int n_param_values, 1567s # const GValue *param_values, 1567s # void *invocation_hint, 1567s # void *marshal_data) 1567s # { 1567s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1567s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1567s # } 1567s # 1567s # 1567s # /** 1567s # * OrgProjectCallableIface: 1567s # * 1567s # * Abstract interface type for the D-Bus interface org.project.CallableIface. 1567s # */ 1567s # 1567s # /** 1567s # * OrgProjectCallableIfaceIface: 1567s # * @parent_iface: The parent interface. 1567s # * @handle_method_with_many_args: Handler for the #OrgProjectCallableIface::handle-method-with-many-args signal. 1567s # * 1567s # * Virtual table for the D-Bus interface org.project.CallableIface. 1567s # */ 1567s # 1567s # typedef OrgProjectCallableIfaceIface OrgProjectCallableIfaceInterface; 1567s # G_DEFINE_INTERFACE (OrgProjectCallableIface, org_project_callable_iface, G_TYPE_OBJECT) 1567s # 1567s # static void 1567s # org_project_callable_iface_default_init (OrgProjectCallableIfaceIface *iface) 1567s # { 1567s # /* GObject signals for incoming D-Bus method calls: */ 1567s # /** 1567s # * OrgProjectCallableIface::handle-method-with-many-args: 1567s # * @object: A #OrgProjectCallableIface. 1567s # * @invocation: A #GDBusMethodInvocation. 1567s # * 1567s # * Signal emitted when a remote caller is invoking the MethodWithManyArgs() D-Bus method. 1567s # * 1567s # * 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. 1567s # * 1567s # * 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. 1567s # */ 1567s # g_signal_new ("handle-method-with-many-args", 1567s # G_TYPE_FROM_INTERFACE (iface), 1567s # G_SIGNAL_RUN_LAST, 1567s # G_STRUCT_OFFSET (OrgProjectCallableIfaceIface, handle_method_with_many_args), 1567s # g_signal_accumulator_true_handled, 1567s # NULL, 1567s # org_project_callable_iface_method_marshal_method_with_many_args, 1567s # G_TYPE_BOOLEAN, 1567s # 1, 1567s # G_TYPE_DBUS_METHOD_INVOCATION); 1567s # 1567s # } 1567s # 1567s # /** 1567s # * org_project_callable_iface_call_method_with_many_args: 1567s # * @proxy: A #OrgProjectCallableIfaceProxy. 1567s # * @cancellable: (nullable): A #GCancellable or %NULL. 1567s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1567s # * @user_data: User data to pass to @callback. 1567s # * 1567s # * Asynchronously invokes the MethodWithManyArgs() D-Bus method on @proxy. 1567s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1567s # * You can then call org_project_callable_iface_call_method_with_many_args_finish() to get the result of the operation. 1567s # * 1567s # * See org_project_callable_iface_call_method_with_many_args_sync() for the synchronous, blocking version of this method. 1567s # */ 1567s # void 1567s # org_project_callable_iface_call_method_with_many_args ( 1567s # OrgProjectCallableIface *proxy, 1567s # GCancellable *cancellable, 1567s # GAsyncReadyCallback callback, 1567s # gpointer user_data) 1567s # { 1567s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1567s # "MethodWithManyArgs", 1567s # g_variant_new ("()"), 1567s # G_DBUS_CALL_FLAGS_NONE, 1567s # -1, 1567s # cancellable, 1567s # callback, 1567s # user_data); 1567s # } 1567s # 1567s # /** 1567s # * org_project_callable_iface_call_method_with_many_args_finish: 1567s # * @proxy: A #OrgProjectCallableIfaceProxy. 1567s # * @out_an_b: (out) (optional): Return location for return parameter or %NULL to ignore. 1567s # * @out_an_y: (out) (optional): Return location for return parameter or %NULL to ignore. 1567s # * @out_an_n: (out) (optional): Return location for return parameter or %NULL to ignore. 1567s # * @out_an_q: (out) (optional): Return location for return parameter or %NULL to ignore. 1567s # * @out_an_i: (out) (optional): Return location for return parameter or %NULL to ignore. 1567s # * @out_an_u: (out) (optional): Return location for return parameter or %NULL to ignore. 1567s # * @out_an_x: (out) (optional): Return location for return parameter or %NULL to ignore. 1567s # * @out_an_t: (out) (optional): Return location for return parameter or %NULL to ignore. 1567s # * @out_an_d: (out) (optional): Return location for return parameter or %NULL to ignore. 1567s # * @out_an_s: (out) (optional): Return location for return parameter or %NULL to ignore. 1567s # * @out_an_o: (out) (optional): Return location for return parameter or %NULL to ignore. 1567s # * @out_an_g: (out) (optional): Return location for return parameter or %NULL to ignore. 1567s # * @out_an_h: (out) (optional): Return location for return parameter or %NULL to ignore. 1567s # * @out_an_ay: (out) (optional): Return location for return parameter or %NULL to ignore. 1567s # * @out_an_as: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 1567s # * @out_an_ao: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 1567s # * @out_an_aay: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 1567s # * @out_an_asv: (out) (optional): Return location for return parameter or %NULL to ignore. 1567s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_call_method_with_many_args(). 1567s # * @error: Return location for error or %NULL. 1567s # * 1567s # * Finishes an operation started with org_project_callable_iface_call_method_with_many_args(). 1567s # * 1567s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1567s # */ 1567s # gboolean 1567s # org_project_callable_iface_call_method_with_many_args_finish ( 1567s # OrgProjectCallableIface *proxy, 1567s # gboolean *out_an_b, 1567s # guchar *out_an_y, 1567s # gint16 *out_an_n, 1567s # guint16 *out_an_q, 1567s # gint *out_an_i, 1567s # guint *out_an_u, 1567s # gint64 *out_an_x, 1567s # guint64 *out_an_t, 1567s # gdouble *out_an_d, 1567s # gchar **out_an_s, 1567s # gchar **out_an_o, 1567s # gchar **out_an_g, 1567s # GVariant **out_an_h, 1567s # gchar **out_an_ay, 1567s # gchar ***out_an_as, 1567s # gchar ***out_an_ao, 1567s # gchar ***out_an_aay, 1567s # GVariant **out_an_asv, 1567s # GAsyncResult *res, 1567s # GError **error) 1567s # { 1567s # GVariant *_ret; 1567s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1567s # if (_ret == NULL) 1567s # goto _out; 1567s # g_variant_get (_ret, 1567s # "(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 1567s # out_an_b, 1567s # out_an_y, 1567s # out_an_n, 1567s # out_an_q, 1567s # out_an_i, 1567s # out_an_u, 1567s # out_an_x, 1567s # out_an_t, 1567s # out_an_d, 1567s # out_an_s, 1567s # out_an_o, 1567s # out_an_g, 1567s # out_an_h, 1567s # out_an_ay, 1567s # out_an_as, 1567s # out_an_ao, 1567s # out_an_aay, 1567s # out_an_asv); 1567s # g_variant_unref (_ret); 1567s # _out: 1567s # return _ret != NULL; 1567s # } 1567s # 1567s # /** 1567s # * org_project_callable_iface_call_method_with_many_args_sync: 1567s # * @proxy: A #OrgProjectCallableIfaceProxy. 1567s # * @out_an_b: (out) (optional): Return location for return parameter or %NULL to ignore. 1567s # * @out_an_y: (out) (optional): Return location for return parameter or %NULL to ignore. 1567s # * @out_an_n: (out) (optional): Return location for return parameter or %NULL to ignore. 1567s # * @out_an_q: (out) (optional): Return location for return parameter or %NULL to ignore. 1567s # * @out_an_i: (out) (optional): Return location for return parameter or %NULL to ignore. 1567s # * @out_an_u: (out) (optional): Return location for return parameter or %NULL to ignore. 1567s # * @out_an_x: (out) (optional): Return location for return parameter or %NULL to ignore. 1567s # * @out_an_t: (out) (optional): Return location for return parameter or %NULL to ignore. 1567s # * @out_an_d: (out) (optional): Return location for return parameter or %NULL to ignore. 1567s # * @out_an_s: (out) (optional): Return location for return parameter or %NULL to ignore. 1567s # * @out_an_o: (out) (optional): Return location for return parameter or %NULL to ignore. 1567s # * @out_an_g: (out) (optional): Return location for return parameter or %NULL to ignore. 1567s # * @out_an_h: (out) (optional): Return location for return parameter or %NULL to ignore. 1567s # * @out_an_ay: (out) (optional): Return location for return parameter or %NULL to ignore. 1567s # * @out_an_as: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 1567s # * @out_an_ao: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 1567s # * @out_an_aay: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 1567s # * @out_an_asv: (out) (optional): Return location for return parameter or %NULL to ignore. 1567s # * @cancellable: (nullable): A #GCancellable or %NULL. 1567s # * @error: Return location for error or %NULL. 1567s # * 1567s # * Synchronously invokes the MethodWithManyArgs() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1567s # * 1567s # * See org_project_callable_iface_call_method_with_many_args() for the asynchronous version of this method. 1567s # * 1567s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1567s # */ 1567s # gboolean 1567s # org_project_callable_iface_call_method_with_many_args_sync ( 1567s # OrgProjectCallableIface *proxy, 1567s # gboolean *out_an_b, 1567s # guchar *out_an_y, 1567s # gint16 *out_an_n, 1567s # guint16 *out_an_q, 1567s # gint *out_an_i, 1567s # guint *out_an_u, 1567s # gint64 *out_an_x, 1567s # guint64 *out_an_t, 1567s # gdouble *out_an_d, 1567s # gchar **out_an_s, 1567s # gchar **out_an_o, 1567s # gchar **out_an_g, 1567s # GVariant **out_an_h, 1567s # gchar **out_an_ay, 1567s # gchar ***out_an_as, 1567s # gchar ***out_an_ao, 1567s # gchar ***out_an_aay, 1567s # GVariant **out_an_asv, 1567s # GCancellable *cancellable, 1567s # GError **error) 1567s # { 1567s # GVariant *_ret; 1567s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1567s # "MethodWithManyArgs", 1567s # g_variant_new ("()"), 1567s # G_DBUS_CALL_FLAGS_NONE, 1567s # -1, 1567s # cancellable, 1567s # error); 1567s # if (_ret == NULL) 1567s # goto _out; 1567s # g_variant_get (_ret, 1567s # "(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 1567s # out_an_b, 1567s # out_an_y, 1567s # out_an_n, 1567s # out_an_q, 1567s # out_an_i, 1567s # out_an_u, 1567s # out_an_x, 1567s # out_an_t, 1567s # out_an_d, 1567s # out_an_s, 1567s # out_an_o, 1567s # out_an_g, 1567s # out_an_h, 1567s # out_an_ay, 1567s # out_an_as, 1567s # out_an_ao, 1567s # out_an_aay, 1567s # out_an_asv); 1567s # g_variant_unref (_ret); 1567s # _out: 1567s # return _ret != NULL; 1567s # } 1567s # 1567s # /** 1567s # * org_project_callable_iface_complete_method_with_many_args: 1567s # * @object: A #OrgProjectCallableIface. 1567s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1567s # * @an_b: Parameter to return. 1567s # * @an_y: Parameter to return. 1567s # * @an_n: Parameter to return. 1567s # * @an_q: Parameter to return. 1567s # * @an_i: Parameter to return. 1567s # * @an_u: Parameter to return. 1567s # * @an_x: Parameter to return. 1567s # * @an_t: Parameter to return. 1567s # * @an_d: Parameter to return. 1567s # * @an_s: Parameter to return. 1567s # * @an_o: Parameter to return. 1567s # * @an_g: Parameter to return. 1567s # * @an_h: Parameter to return. 1567s # * @an_ay: Parameter to return. 1567s # * @an_as: Parameter to return. 1567s # * @an_ao: Parameter to return. 1567s # * @an_aay: Parameter to return. 1567s # * @an_asv: Parameter to return. 1567s # * 1567s # * 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. 1567s # * 1567s # * This method will free @invocation, you cannot use it afterwards. 1567s # */ 1567s # void 1567s # org_project_callable_iface_complete_method_with_many_args ( 1567s # OrgProjectCallableIface *object G_GNUC_UNUSED, 1567s # GDBusMethodInvocation *invocation, 1567s # gboolean an_b, 1567s # guchar an_y, 1567s # gint16 an_n, 1567s # guint16 an_q, 1567s # gint an_i, 1567s # guint an_u, 1567s # gint64 an_x, 1567s # guint64 an_t, 1567s # gdouble an_d, 1567s # const gchar *an_s, 1567s # const gchar *an_o, 1567s # const gchar *an_g, 1567s # GVariant *an_h, 1567s # const gchar *an_ay, 1567s # const gchar *const *an_as, 1567s # const gchar *const *an_ao, 1567s # const gchar *const *an_aay, 1567s # GVariant *an_asv) 1567s # { 1567s # g_dbus_method_invocation_return_value (invocation, 1567s # g_variant_new ("(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 1567s # an_b, 1567s # an_y, 1567s # an_n, 1567s # an_q, 1567s # an_i, 1567s # an_u, 1567s # an_x, 1567s # an_t, 1567s # an_d, 1567s # an_s, 1567s # an_o, 1567s # an_g, 1567s # an_h, 1567s # an_ay, 1567s # an_as, 1567s # an_ao, 1567s # an_aay, 1567s # an_asv)); 1567s # } 1567s # 1567s # /* ------------------------------------------------------------------------ */ 1567s # 1567s # /** 1567s # * OrgProjectCallableIfaceProxy: 1567s # * 1567s # * The #OrgProjectCallableIfaceProxy structure contains only private data and should only be accessed using the provided API. 1567s # */ 1567s # 1567s # /** 1567s # * OrgProjectCallableIfaceProxyClass: 1567s # * @parent_class: The parent class. 1567s # * 1567s # * Class structure for #OrgProjectCallableIfaceProxy. 1567s # */ 1567s # 1567s # struct _OrgProjectCallableIfaceProxyPrivate 1567s # { 1567s # GData *qdata; 1567s # }; 1567s # 1567s # static void org_project_callable_iface_proxy_iface_init (OrgProjectCallableIfaceIface *iface); 1567s # 1567s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1567s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceProxy, org_project_callable_iface_proxy, G_TYPE_DBUS_PROXY, 1567s # G_ADD_PRIVATE (OrgProjectCallableIfaceProxy) 1567s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_proxy_iface_init)) 1567s # 1567s # #else 1567s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceProxy, org_project_callable_iface_proxy, G_TYPE_DBUS_PROXY, 1567s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_proxy_iface_init)) 1567s # 1567s # #endif 1567s # static void 1567s # org_project_callable_iface_proxy_finalize (GObject *object) 1567s # { 1567s # OrgProjectCallableIfaceProxy *proxy = ORG_PROJECT_CALLABLE_IFACE_PROXY (object); 1567s # g_datalist_clear (&proxy->priv->qdata); 1567s # G_OBJECT_CLASS (org_project_callable_iface_proxy_parent_class)->finalize (object); 1567s # } 1567s # 1567s # static void 1567s # org_project_callable_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1567s # guint prop_id G_GNUC_UNUSED, 1567s # GValue *value G_GNUC_UNUSED, 1567s # GParamSpec *pspec G_GNUC_UNUSED) 1567s # { 1567s # } 1567s # 1567s # static void 1567s # org_project_callable_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1567s # guint prop_id G_GNUC_UNUSED, 1567s # const GValue *value G_GNUC_UNUSED, 1567s # GParamSpec *pspec G_GNUC_UNUSED) 1567s # { 1567s # } 1567s # 1567s # static void 1567s # org_project_callable_iface_proxy_g_signal (GDBusProxy *proxy, 1567s # const gchar *sender_name G_GNUC_UNUSED, 1567s # const gchar *signal_name, 1567s # GVariant *parameters) 1567s # { 1567s # _ExtendedGDBusSignalInfo *info; 1567s # GVariantIter iter; 1567s # GVariant *child; 1567s # GValue *paramv; 1567s # gsize num_params; 1567s # gsize n; 1567s # guint signal_id; 1567s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, signal_name); 1567s # if (info == NULL) 1567s # return; 1567s # num_params = g_variant_n_children (parameters); 1567s # paramv = g_new0 (GValue, num_params + 1); 1567s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_CALLABLE_IFACE); 1567s # g_value_set_object (¶mv[0], proxy); 1567s # g_variant_iter_init (&iter, parameters); 1567s # n = 1; 1567s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1567s # { 1567s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1567s # if (arg_info->use_gvariant) 1567s # { 1567s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1567s # g_value_set_variant (¶mv[n], child); 1567s # n++; 1567s # } 1567s # else 1567s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1567s # g_variant_unref (child); 1567s # } 1567s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_CALLABLE_IFACE); 1567s # g_signal_emitv (paramv, signal_id, 0, NULL); 1567s # for (n = 0; n < num_params + 1; n++) 1567s # g_value_unset (¶mv[n]); 1567s # g_free (paramv); 1567s # } 1567s # 1567s # static void 1567s # org_project_callable_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1567s # GVariant *changed_properties, 1567s # const gchar *const *invalidated_properties) 1567s # { 1567s # OrgProjectCallableIfaceProxy *proxy = ORG_PROJECT_CALLABLE_IFACE_PROXY (_proxy); 1567s # guint n; 1567s # const gchar *key; 1567s # GVariantIter *iter; 1567s # _ExtendedGDBusPropertyInfo *info; 1567s # g_variant_get (changed_properties, "a{sv}", &iter); 1567s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1567s # { 1567s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, key); 1567s # g_datalist_remove_data (&proxy->priv->qdata, key); 1567s # if (info != NULL) 1567s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1567s # } 1567s # g_variant_iter_free (iter); 1567s # for (n = 0; invalidated_properties[n] != NULL; n++) 1567s # { 1567s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, invalidated_properties[n]); 1567s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1567s # if (info != NULL) 1567s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1567s # } 1567s # } 1567s # 1567s # static void 1567s # org_project_callable_iface_proxy_init (OrgProjectCallableIfaceProxy *proxy) 1567s # { 1567s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1567s # proxy->priv = org_project_callable_iface_proxy_get_instance_private (proxy); 1567s # #else 1567s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_CALLABLE_IFACE_PROXY, OrgProjectCallableIfaceProxyPrivate); 1567s # #endif 1567s # 1567s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_callable_iface_interface_info ()); 1567s # } 1567s # 1567s # static void 1567s # org_project_callable_iface_proxy_class_init (OrgProjectCallableIfaceProxyClass *klass) 1567s # { 1567s # GObjectClass *gobject_class; 1567s # GDBusProxyClass *proxy_class; 1567s # 1567s # gobject_class = G_OBJECT_CLASS (klass); 1567s # gobject_class->finalize = org_project_callable_iface_proxy_finalize; 1567s # gobject_class->get_property = org_project_callable_iface_proxy_get_property; 1567s # gobject_class->set_property = org_project_callable_iface_proxy_set_property; 1567s # 1567s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1567s # proxy_class->g_signal = org_project_callable_iface_proxy_g_signal; 1567s # proxy_class->g_properties_changed = org_project_callable_iface_proxy_g_properties_changed; 1567s # 1567s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1567s # g_type_class_add_private (klass, sizeof (OrgProjectCallableIfaceProxyPrivate)); 1567s # #endif 1567s # } 1567s # 1567s # static void 1567s # org_project_callable_iface_proxy_iface_init (OrgProjectCallableIfaceIface *iface G_GNUC_UNUSED) 1567s # { 1567s # } 1567s # 1567s # /** 1567s # * org_project_callable_iface_proxy_new: 1567s # * @connection: A #GDBusConnection. 1567s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1567s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1567s # * @object_path: An object path. 1567s # * @cancellable: (nullable): A #GCancellable or %NULL. 1567s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1567s # * @user_data: User data to pass to @callback. 1567s # * 1567s # * Asynchronously creates a proxy for the D-Bus interface org.project.CallableIface. See g_dbus_proxy_new() for more details. 1567s # * 1567s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1567s # * You can then call org_project_callable_iface_proxy_new_finish() to get the result of the operation. 1567s # * 1567s # * See org_project_callable_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1567s # */ 1567s # void 1567s # org_project_callable_iface_proxy_new ( 1567s # GDBusConnection *connection, 1567s # GDBusProxyFlags flags, 1567s # const gchar *name, 1567s # const gchar *object_path, 1567s # GCancellable *cancellable, 1567s # GAsyncReadyCallback callback, 1567s # gpointer user_data) 1567s # { 1567s # 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); 1567s # } 1567s # 1567s # /** 1567s # * org_project_callable_iface_proxy_new_finish: 1567s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_proxy_new(). 1567s # * @error: Return location for error or %NULL 1567s # * 1567s # * Finishes an operation started with org_project_callable_iface_proxy_new(). 1567s # * 1567s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 1567s # */ 1567s # OrgProjectCallableIface * 1567s # org_project_callable_iface_proxy_new_finish ( 1567s # GAsyncResult *res, 1567s # GError **error) 1567s # { 1567s # GObject *ret; 1567s # GObject *source_object; 1567s # source_object = g_async_result_get_source_object (res); 1567s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1567s # g_object_unref (source_object); 1567s # if (ret != NULL) 1567s # return ORG_PROJECT_CALLABLE_IFACE (ret); 1567s # else 1567s # return NULL; 1567s # } 1567s # 1567s # /** 1567s # * org_project_callable_iface_proxy_new_sync: 1567s # * @connection: A #GDBusConnection. 1567s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1567s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1567s # * @object_path: An object path. 1567s # * @cancellable: (nullable): A #GCancellable or %NULL. 1567s # * @error: Return location for error or %NULL 1567s # * 1567s # * Synchronously creates a proxy for the D-Bus interface org.project.CallableIface. See g_dbus_proxy_new_sync() for more details. 1567s # * 1567s # * The calling thread is blocked until a reply is received. 1567s # * 1567s # * See org_project_callable_iface_proxy_new() for the asynchronous version of this constructor. 1567s # * 1567s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 1567s # */ 1567s # OrgProjectCallableIface * 1567s # org_project_callable_iface_proxy_new_sync ( 1567s # GDBusConnection *connection, 1567s # GDBusProxyFlags flags, 1567s # const gchar *name, 1567s # const gchar *object_path, 1567s # GCancellable *cancellable, 1567s # GError **error) 1567s # { 1567s # GInitable *ret; 1567s # 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); 1567s # if (ret != NULL) 1567s # return ORG_PROJECT_CALLABLE_IFACE (ret); 1567s # else 1567s # return NULL; 1567s # } 1567s # 1567s # 1567s # /** 1567s # * org_project_callable_iface_proxy_new_for_bus: 1567s # * @bus_type: A #GBusType. 1567s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1567s # * @name: A bus name (well-known or unique). 1567s # * @object_path: An object path. 1567s # * @cancellable: (nullable): A #GCancellable or %NULL. 1567s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1567s # * @user_data: User data to pass to @callback. 1567s # * 1567s # * Like org_project_callable_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1567s # * 1567s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1567s # * You can then call org_project_callable_iface_proxy_new_for_bus_finish() to get the result of the operation. 1567s # * 1567s # * See org_project_callable_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1567s # */ 1567s # void 1567s # org_project_callable_iface_proxy_new_for_bus ( 1567s # GBusType bus_type, 1567s # GDBusProxyFlags flags, 1567s # const gchar *name, 1567s # const gchar *object_path, 1567s # GCancellable *cancellable, 1567s # GAsyncReadyCallback callback, 1567s # gpointer user_data) 1567s # { 1567s # 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); 1567s # } 1567s # 1567s # /** 1567s # * org_project_callable_iface_proxy_new_for_bus_finish: 1567s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_proxy_new_for_bus(). 1567s # * @error: Return location for error or %NULL 1567s # * 1567s # * Finishes an operation started with org_project_callable_iface_proxy_new_for_bus(). 1567s # * 1567s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 1567s # */ 1567s # OrgProjectCallableIface * 1567s # org_project_callable_iface_proxy_new_for_bus_finish ( 1567s # GAsyncResult *res, 1567s # GError **error) 1567s # { 1567s # GObject *ret; 1567s # GObject *source_object; 1567s # source_object = g_async_result_get_source_object (res); 1567s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1567s # g_object_unref (source_object); 1567s # if (ret != NULL) 1567s # return ORG_PROJECT_CALLABLE_IFACE (ret); 1567s # else 1567s # return NULL; 1567s # } 1567s # 1567s # /** 1567s # * org_project_callable_iface_proxy_new_for_bus_sync: 1567s # * @bus_type: A #GBusType. 1567s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1567s # * @name: A bus name (well-known or unique). 1567s # * @object_path: An object path. 1567s # * @cancellable: (nullable): A #GCancellable or %NULL. 1567s # * @error: Return location for error or %NULL 1567s # * 1567s # * Like org_project_callable_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1567s # * 1567s # * The calling thread is blocked until a reply is received. 1567s # * 1567s # * See org_project_callable_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1567s # * 1567s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 1567s # */ 1567s # OrgProjectCallableIface * 1567s # org_project_callable_iface_proxy_new_for_bus_sync ( 1567s # GBusType bus_type, 1567s # GDBusProxyFlags flags, 1567s # const gchar *name, 1567s # const gchar *object_path, 1567s # GCancellable *cancellable, 1567s # GError **error) 1567s # { 1567s # GInitable *ret; 1567s # 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); 1567s # if (ret != NULL) 1567s # return ORG_PROJECT_CALLABLE_IFACE (ret); 1567s # else 1567s # return NULL; 1567s # } 1567s # 1567s # 1567s # /* ------------------------------------------------------------------------ */ 1567s # 1567s # /** 1567s # * OrgProjectCallableIfaceSkeleton: 1567s # * 1567s # * The #OrgProjectCallableIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1567s # */ 1567s # 1567s # /** 1567s # * OrgProjectCallableIfaceSkeletonClass: 1567s # * @parent_class: The parent class. 1567s # * 1567s # * Class structure for #OrgProjectCallableIfaceSkeleton. 1567s # */ 1567s # 1567s # struct _OrgProjectCallableIfaceSkeletonPrivate 1567s # { 1567s # GValue *properties; 1567s # GList *changed_properties; 1567s # GSource *changed_properties_idle_source; 1567s # GMainContext *context; 1567s # GMutex lock; 1567s # }; 1567s # 1567s # static void 1567s # _org_project_callable_iface_skeleton_handle_method_call ( 1567s # GDBusConnection *connection G_GNUC_UNUSED, 1567s # const gchar *sender G_GNUC_UNUSED, 1567s # const gchar *object_path G_GNUC_UNUSED, 1567s # const gchar *interface_name, 1567s # const gchar *method_name, 1567s # GVariant *parameters, 1567s # GDBusMethodInvocation *invocation, 1567s # gpointer user_data) 1567s # { 1567s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (user_data); 1567s # _ExtendedGDBusMethodInfo *info; 1567s # GVariantIter iter; 1567s # GVariant *child; 1567s # GValue *paramv; 1567s # gsize num_params; 1567s # guint num_extra; 1567s # gsize n; 1567s # guint signal_id; 1567s # GValue return_value = G_VALUE_INIT; 1567s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1567s # g_assert (info != NULL); 1567s # num_params = g_variant_n_children (parameters); 1567s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1567s # n = 0; 1567s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_CALLABLE_IFACE); 1567s # g_value_set_object (¶mv[n++], skeleton); 1567s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1567s # g_value_set_object (¶mv[n++], invocation); 1567s # if (info->pass_fdlist) 1567s # { 1567s # #ifdef G_OS_UNIX 1567s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1567s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1567s # #else 1567s # g_assert_not_reached (); 1567s # #endif 1567s # } 1567s # g_variant_iter_init (&iter, parameters); 1567s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1567s # { 1567s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1567s # if (arg_info->use_gvariant) 1567s # { 1567s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1567s # g_value_set_variant (¶mv[n], child); 1567s # n++; 1567s # } 1567s # else 1567s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1567s # g_variant_unref (child); 1567s # } 1567s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_CALLABLE_IFACE); 1567s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1567s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1567s # if (!g_value_get_boolean (&return_value)) 1567s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1567s # g_value_unset (&return_value); 1567s # for (n = 0; n < num_params + num_extra; n++) 1567s # g_value_unset (¶mv[n]); 1567s # g_free (paramv); 1567s # } 1567s # 1567s # static GVariant * 1567s # _org_project_callable_iface_skeleton_handle_get_property ( 1567s # GDBusConnection *connection G_GNUC_UNUSED, 1567s # const gchar *sender G_GNUC_UNUSED, 1567s # const gchar *object_path G_GNUC_UNUSED, 1567s # const gchar *interface_name G_GNUC_UNUSED, 1567s # const gchar *property_name, 1567s # GError **error, 1567s # gpointer user_data) 1567s # { 1567s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (user_data); 1567s # GValue value = G_VALUE_INIT; 1567s # GParamSpec *pspec; 1567s # _ExtendedGDBusPropertyInfo *info; 1567s # GVariant *ret; 1567s # ret = NULL; 1567s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, property_name); 1567s # g_assert (info != NULL); 1567s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1567s # if (pspec == NULL) 1567s # { 1567s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1567s # } 1567s # else 1567s # { 1567s # g_value_init (&value, pspec->value_type); 1567s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1567s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1567s # g_value_unset (&value); 1567s # } 1567s # return ret; 1567s # } 1567s # 1567s # static gboolean 1567s # _org_project_callable_iface_skeleton_handle_set_property ( 1567s # GDBusConnection *connection G_GNUC_UNUSED, 1567s # const gchar *sender G_GNUC_UNUSED, 1567s # const gchar *object_path G_GNUC_UNUSED, 1567s # const gchar *interface_name G_GNUC_UNUSED, 1567s # const gchar *property_name, 1567s # GVariant *variant, 1567s # GError **error, 1567s # gpointer user_data) 1567s # { 1567s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (user_data); 1567s # GValue value = G_VALUE_INIT; 1567s # GParamSpec *pspec; 1567s # _ExtendedGDBusPropertyInfo *info; 1567s # gboolean ret; 1567s # ret = FALSE; 1567s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, property_name); 1567s # g_assert (info != NULL); 1567s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1567s # if (pspec == NULL) 1567s # { 1567s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1567s # } 1567s # else 1567s # { 1567s # if (info->use_gvariant) 1567s # g_value_set_variant (&value, variant); 1567s # else 1567s # g_dbus_gvariant_to_gvalue (variant, &value); 1567s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1567s # g_value_unset (&value); 1567s # ret = TRUE; 1567s # } 1567s # return ret; 1567s # } 1567s # 1567s # static const GDBusInterfaceVTable _org_project_callable_iface_skeleton_vtable = 1567s # { 1567s # _org_project_callable_iface_skeleton_handle_method_call, 1567s # _org_project_callable_iface_skeleton_handle_get_property, 1567s # _org_project_callable_iface_skeleton_handle_set_property, 1567s # {NULL} 1567s # }; 1567s # 1567s # static GDBusInterfaceInfo * 1567s # org_project_callable_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1567s # { 1567s # return org_project_callable_iface_interface_info (); 1567s # } 1567s # 1567s # static GDBusInterfaceVTable * 1567s # org_project_callable_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1567s # { 1567s # return (GDBusInterfaceVTable *) &_org_project_callable_iface_skeleton_vtable; 1567s # } 1567s # 1567s # static GVariant * 1567s # org_project_callable_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1567s # { 1567s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (_skeleton); 1567s # 1567s # GVariantBuilder builder; 1567s # guint n; 1567s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1567s # if (_org_project_callable_iface_interface_info.parent_struct.properties == NULL) 1567s # goto out; 1567s # for (n = 0; _org_project_callable_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1567s # { 1567s # GDBusPropertyInfo *info = _org_project_callable_iface_interface_info.parent_struct.properties[n]; 1567s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1567s # { 1567s # GVariant *value; 1567s # 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); 1567s # if (value != NULL) 1567s # { 1567s # g_variant_take_ref (value); 1567s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1567s # g_variant_unref (value); 1567s # } 1567s # } 1567s # } 1567s # out: 1567s # return g_variant_builder_end (&builder); 1567s # } 1567s # 1567s # static void 1567s # org_project_callable_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1567s # { 1567s # } 1567s # 1567s # static void org_project_callable_iface_skeleton_iface_init (OrgProjectCallableIfaceIface *iface); 1567s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1567s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceSkeleton, org_project_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1567s # G_ADD_PRIVATE (OrgProjectCallableIfaceSkeleton) 1567s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_skeleton_iface_init)) 1567s # 1567s # #else 1567s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceSkeleton, org_project_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1567s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_skeleton_iface_init)) 1567s # 1567s # #endif 1567s # static void 1567s # org_project_callable_iface_skeleton_finalize (GObject *object) 1567s # { 1567s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (object); 1567s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1567s # if (skeleton->priv->changed_properties_idle_source != NULL) 1567s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1567s # g_main_context_unref (skeleton->priv->context); 1567s # g_mutex_clear (&skeleton->priv->lock); 1567s # G_OBJECT_CLASS (org_project_callable_iface_skeleton_parent_class)->finalize (object); 1567s # } 1567s # 1567s # static void 1567s # org_project_callable_iface_skeleton_init (OrgProjectCallableIfaceSkeleton *skeleton) 1567s # { 1567s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1567s # skeleton->priv = org_project_callable_iface_skeleton_get_instance_private (skeleton); 1567s # #else 1567s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_CALLABLE_IFACE_SKELETON, OrgProjectCallableIfaceSkeletonPrivate); 1567s # #endif 1567s # 1567s # g_mutex_init (&skeleton->priv->lock); 1567s # skeleton->priv->context = g_main_context_ref_thread_default (); 1567s # } 1567s # 1567s # static void 1567s # org_project_callable_iface_skeleton_class_init (OrgProjectCallableIfaceSkeletonClass *klass) 1567s # { 1567s # GObjectClass *gobject_class; 1567s # GDBusInterfaceSkeletonClass *skeleton_class; 1567s # 1567s # gobject_class = G_OBJECT_CLASS (klass); 1567s # gobject_class->finalize = org_project_callable_iface_skeleton_finalize; 1567s # 1567s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1567s # skeleton_class->get_info = org_project_callable_iface_skeleton_dbus_interface_get_info; 1567s # skeleton_class->get_properties = org_project_callable_iface_skeleton_dbus_interface_get_properties; 1567s # skeleton_class->flush = org_project_callable_iface_skeleton_dbus_interface_flush; 1567s # skeleton_class->get_vtable = org_project_callable_iface_skeleton_dbus_interface_get_vtable; 1567s # 1567s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1567s # g_type_class_add_private (klass, sizeof (OrgProjectCallableIfaceSkeletonPrivate)); 1567s # #endif 1567s # } 1567s # 1567s # static void 1567s # org_project_callable_iface_skeleton_iface_init (OrgProjectCallableIfaceIface *iface G_GNUC_UNUSED) 1567s # { 1567s # } 1567s # 1567s # /** 1567s # * org_project_callable_iface_skeleton_new: 1567s # * 1567s # * Creates a skeleton object for the D-Bus interface org.project.CallableIface. 1567s # * 1567s # * Returns: (transfer full) (type OrgProjectCallableIfaceSkeleton): The skeleton object. 1567s # */ 1567s # OrgProjectCallableIface * 1567s # org_project_callable_iface_skeleton_new (void) 1567s # { 1567s # return ORG_PROJECT_CALLABLE_IFACE (g_object_new (TYPE_ORG_PROJECT_CALLABLE_IFACE_SKELETON, NULL)); 1567s # } 1567s ok 14 __main__.TestCodegen.test_generate_methods_marshallers_with_unix_fds 1567s # tmpdir: /tmp/tmpjt5b2hvf 1567s # codegen: /usr/bin/gdbus-codegen 1567s # /tmp/tmpjt5b2hvf/tmpllpweoc5.xml: 1567s # 1567s # 1567s # 1567s # 1567s # 1567s # 1567s # 1567s # 1567s # 1567s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpjt5b2hvf/tmpllpweoc5.xml', '--output', '-', '--body'] 1567s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-baqskmurxn,guid=fbaffe99d0ccb1f6e1beb84865fc01cd', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.YcZbqk/autopkgtest_tmp', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.YcZbqk/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.YcZbqk/autopkgtest_tmp', 'TERM': 'unknown', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.YcZbqk/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.sVTVMp0Db0', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.rqZsJO/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.YcZbqk/wrapper.sh --artifacts=/tmp/autopkgtest.YcZbqk/installed-tests-artifacts --chdir=/tmp/autopkgtest.YcZbqk/build.S0E/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.YcZbqk/installed-tests-stderr --stdout=/tmp/autopkgtest.YcZbqk/installed-tests-stdout --tmp=/tmp/autopkgtest.YcZbqk/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2' --make-executable=/tmp/autopkgtest.YcZbqk/build.S0E/src/debian/tests/installed-tests -- /tmp/autopkgtest.YcZbqk/build.S0E/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.YcZbqk/build.S0E/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.YcZbqk/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1567s # Output: /* 1567s # * This file is generated by gdbus-codegen, do not modify it. 1567s # * 1567s # * The license of this code is the same as for the D-Bus interface description 1567s # * it was derived from. Note that it links to GLib, so must comply with the 1567s # * LGPL linking clauses. 1567s # */ 1567s # 1567s # #ifdef HAVE_CONFIG_H 1567s # # include "config.h" 1567s # #endif 1567s # 1567s # #include 1567s # #ifdef G_OS_UNIX 1567s # # include 1567s # #endif 1567s # 1567s # #ifdef G_ENABLE_DEBUG 1567s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1567s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1567s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1567s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1567s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1567s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1567s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1567s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1567s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1567s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1567s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1567s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1567s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1567s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1567s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1567s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1567s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1567s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1567s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1567s # #else /* !G_ENABLE_DEBUG */ 1567s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1567s # * Do not access GValues directly in your code. Instead, use the 1567s # * g_value_get_*() functions 1567s # */ 1567s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1567s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1567s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1567s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1567s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1567s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1567s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1567s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1567s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1567s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1567s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1567s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1567s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1567s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1567s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1567s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1567s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1567s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1567s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1567s # #endif /* !G_ENABLE_DEBUG */ 1567s # 1567s # typedef struct 1567s # { 1567s # GDBusArgInfo parent_struct; 1567s # gboolean use_gvariant; 1567s # } _ExtendedGDBusArgInfo; 1567s # 1567s # typedef struct 1567s # { 1567s # GDBusMethodInfo parent_struct; 1567s # const gchar *signal_name; 1567s # gboolean pass_fdlist; 1567s # } _ExtendedGDBusMethodInfo; 1567s # 1567s # typedef struct 1567s # { 1567s # GDBusSignalInfo parent_struct; 1567s # const gchar *signal_name; 1567s # } _ExtendedGDBusSignalInfo; 1567s # 1567s # typedef struct 1567s # { 1567s # GDBusPropertyInfo parent_struct; 1567s # const gchar *hyphen_name; 1567s # guint use_gvariant : 1; 1567s # guint emits_changed_signal : 1; 1567s # } _ExtendedGDBusPropertyInfo; 1567s # 1567s # typedef struct 1567s # { 1567s # GDBusInterfaceInfo parent_struct; 1567s # const gchar *hyphen_name; 1567s # } _ExtendedGDBusInterfaceInfo; 1567s # 1567s # typedef struct 1567s # { 1567s # const _ExtendedGDBusPropertyInfo *info; 1567s # guint prop_id; 1567s # GValue orig_value; /* the value before the change */ 1567s # } ChangedProperty; 1567s # 1567s # static void 1567s # _changed_property_free (ChangedProperty *data) 1567s # { 1567s # g_value_unset (&data->orig_value); 1567s # g_free (data); 1567s # } 1567s # 1567s # static gboolean 1567s # _g_strv_equal0 (gchar **a, gchar **b) 1567s # { 1567s # gboolean ret = FALSE; 1567s # guint n; 1567s # if (a == NULL && b == NULL) 1567s # { 1567s # ret = TRUE; 1567s # goto out; 1567s # } 1567s # if (a == NULL || b == NULL) 1567s # goto out; 1567s # if (g_strv_length (a) != g_strv_length (b)) 1567s # goto out; 1567s # for (n = 0; a[n] != NULL; n++) 1567s # if (g_strcmp0 (a[n], b[n]) != 0) 1567s # goto out; 1567s # ret = TRUE; 1567s # out: 1567s # return ret; 1567s # } 1567s # 1567s # static gboolean 1567s # _g_variant_equal0 (GVariant *a, GVariant *b) 1567s # { 1567s # gboolean ret = FALSE; 1567s # if (a == NULL && b == NULL) 1567s # { 1567s # ret = TRUE; 1567s # goto out; 1567s # } 1567s # if (a == NULL || b == NULL) 1567s # goto out; 1567s # ret = g_variant_equal (a, b); 1567s # out: 1567s # return ret; 1567s # } 1567s # 1567s # G_GNUC_UNUSED static gboolean 1567s # _g_value_equal (const GValue *a, const GValue *b) 1567s # { 1567s # gboolean ret = FALSE; 1567s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1567s # switch (G_VALUE_TYPE (a)) 1567s # { 1567s # case G_TYPE_BOOLEAN: 1567s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1567s # break; 1567s # case G_TYPE_UCHAR: 1567s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1567s # break; 1567s # case G_TYPE_INT: 1567s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1567s # break; 1567s # case G_TYPE_UINT: 1567s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1567s # break; 1567s # case G_TYPE_INT64: 1567s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1567s # break; 1567s # case G_TYPE_UINT64: 1567s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1567s # break; 1567s # case G_TYPE_DOUBLE: 1567s # { 1567s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1567s # gdouble da = g_value_get_double (a); 1567s # gdouble db = g_value_get_double (b); 1567s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1567s # } 1567s # break; 1567s # case G_TYPE_STRING: 1567s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1567s # break; 1567s # case G_TYPE_VARIANT: 1567s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1567s # break; 1567s # default: 1567s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1567s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1567s # else 1567s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1567s # break; 1567s # } 1567s # return ret; 1567s # } 1567s # 1567s # static void 1567s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_OBJECT_STRING ( 1567s # GClosure *closure, 1567s # GValue *return_value, 1567s # unsigned int n_param_values, 1567s # const GValue *param_values, 1567s # void *invocation_hint G_GNUC_UNUSED, 1567s # void *marshal_data) 1567s # { 1567s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectObjectStringFunc) 1567s # (void *data1, 1567s # GUnixFDList *arg_fd_list, 1567s # GDBusMethodInvocation *arg_method_invocation, 1567s # const gchar *arg_greeting, 1567s # void *data2); 1567s # _GDbusCodegenMarshalBoolean_ObjectObjectStringFunc callback; 1567s # GCClosure *cc = (GCClosure*) closure; 1567s # void *data1, *data2; 1567s # gboolean v_return; 1567s # 1567s # g_return_if_fail (return_value != NULL); 1567s # g_return_if_fail (n_param_values == 4); 1567s # 1567s # if (G_CCLOSURE_SWAP_DATA (closure)) 1567s # { 1567s # data1 = closure->data; 1567s # data2 = g_value_peek_pointer (param_values + 0); 1567s # } 1567s # else 1567s # { 1567s # data1 = g_value_peek_pointer (param_values + 0); 1567s # data2 = closure->data; 1567s # } 1567s # 1567s # callback = (_GDbusCodegenMarshalBoolean_ObjectObjectStringFunc) 1567s # (marshal_data ? marshal_data : cc->callback); 1567s # 1567s # v_return = 1567s # callback (data1, 1567s # g_marshal_value_peek_object (param_values + 1), 1567s # g_marshal_value_peek_object (param_values + 2), 1567s # g_marshal_value_peek_string (param_values + 3), 1567s # data2); 1567s # 1567s # g_value_set_boolean (return_value, v_return); 1567s # } 1567s # 1567s # /* ------------------------------------------------------------------------ 1567s # * Code for interface test.FDPassing 1567s # * ------------------------------------------------------------------------ 1567s # */ 1567s # 1567s # /** 1567s # * SECTION:TestFDPassing 1567s # * @title: TestFDPassing 1567s # * @short_description: Generated C code for the test.FDPassing D-Bus interface 1567s # * 1567s # * This section contains code for working with the test.FDPassing D-Bus interface in C. 1567s # */ 1567s # 1567s # /* ---- Introspection data for test.FDPassing ---- */ 1567s # 1567s # static const _ExtendedGDBusArgInfo _test_fdpassing_method_info_hello_fd_IN_ARG_greeting = 1567s # { 1567s # { 1567s # -1, 1567s # (gchar *) "greeting", 1567s # (gchar *) "s", 1567s # NULL 1567s # }, 1567s # FALSE 1567s # }; 1567s # 1567s # static const GDBusArgInfo * const _test_fdpassing_method_info_hello_fd_IN_ARG_pointers[] = 1567s # { 1567s # &_test_fdpassing_method_info_hello_fd_IN_ARG_greeting.parent_struct, 1567s # NULL 1567s # }; 1567s # 1567s # static const _ExtendedGDBusArgInfo _test_fdpassing_method_info_hello_fd_OUT_ARG_response = 1567s # { 1567s # { 1567s # -1, 1567s # (gchar *) "response", 1567s # (gchar *) "s", 1567s # NULL 1567s # }, 1567s # FALSE 1567s # }; 1567s # 1567s # static const GDBusArgInfo * const _test_fdpassing_method_info_hello_fd_OUT_ARG_pointers[] = 1567s # { 1567s # &_test_fdpassing_method_info_hello_fd_OUT_ARG_response.parent_struct, 1567s # NULL 1567s # }; 1567s # 1567s # static const _ExtendedGDBusMethodInfo _test_fdpassing_method_info_hello_fd = 1567s # { 1567s # { 1567s # -1, 1567s # (gchar *) "HelloFD", 1567s # (GDBusArgInfo **) &_test_fdpassing_method_info_hello_fd_IN_ARG_pointers, 1567s # (GDBusArgInfo **) &_test_fdpassing_method_info_hello_fd_OUT_ARG_pointers, 1567s # NULL 1567s # }, 1567s # "handle-hello-fd", 1567s # TRUE 1567s # }; 1567s # 1567s # static const GDBusMethodInfo * const _test_fdpassing_method_info_pointers[] = 1567s # { 1567s # &_test_fdpassing_method_info_hello_fd.parent_struct, 1567s # NULL 1567s # }; 1567s # 1567s # static const _ExtendedGDBusInterfaceInfo _test_fdpassing_interface_info = 1567s # { 1567s # { 1567s # -1, 1567s # (gchar *) "test.FDPassing", 1567s # (GDBusMethodInfo **) &_test_fdpassing_method_info_pointers, 1567s # NULL, 1567s # NULL, 1567s # NULL 1567s # }, 1567s # "test-fdpassing", 1567s # }; 1567s # 1567s # 1567s # /** 1567s # * test_fdpassing_interface_info: 1567s # * 1567s # * Gets a machine-readable description of the test.FDPassing D-Bus interface. 1567s # * 1567s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1567s # */ 1567s # GDBusInterfaceInfo * 1567s # test_fdpassing_interface_info (void) 1567s # { 1567s # return (GDBusInterfaceInfo *) &_test_fdpassing_interface_info.parent_struct; 1567s # } 1567s # 1567s # /** 1567s # * test_fdpassing_override_properties: 1567s # * @klass: The class structure for a #GObject derived class. 1567s # * @property_id_begin: The property id to assign to the first overridden property. 1567s # * 1567s # * Overrides all #GObject properties in the #TestFDPassing interface for a concrete class. 1567s # * The properties are overridden in the order they are defined. 1567s # * 1567s # * Returns: The last property id. 1567s # */ 1567s # guint 1567s # test_fdpassing_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1567s # { 1567s # return property_id_begin - 1; 1567s # } 1567s # 1567s # 1567s # inline static void 1567s # test_fdpassing_method_marshal_hello_fd ( 1567s # GClosure *closure, 1567s # GValue *return_value, 1567s # unsigned int n_param_values, 1567s # const GValue *param_values, 1567s # void *invocation_hint, 1567s # void *marshal_data) 1567s # { 1567s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_OBJECT_STRING (closure, 1567s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1567s # } 1567s # 1567s # 1567s # /** 1567s # * TestFDPassing: 1567s # * 1567s # * Abstract interface type for the D-Bus interface test.FDPassing. 1567s # */ 1567s # 1567s # /** 1567s # * TestFDPassingIface: 1567s # * @parent_iface: The parent interface. 1567s # * @handle_hello_fd: Handler for the #TestFDPassing::handle-hello-fd signal. 1567s # * 1567s # * Virtual table for the D-Bus interface test.FDPassing. 1567s # */ 1567s # 1567s # typedef TestFDPassingIface TestFDPassingInterface; 1567s # G_DEFINE_INTERFACE (TestFDPassing, test_fdpassing, G_TYPE_OBJECT) 1567s # 1567s # static void 1567s # test_fdpassing_default_init (TestFDPassingIface *iface) 1567s # { 1567s # /* GObject signals for incoming D-Bus method calls: */ 1567s # /** 1567s # * TestFDPassing::handle-hello-fd: 1567s # * @object: A #TestFDPassing. 1567s # * @invocation: A #GDBusMethodInvocation. 1567s # * @fd_list: (nullable): A #GUnixFDList or %NULL. 1567s # * @arg_greeting: Argument passed by remote caller. 1567s # * 1567s # * Signal emitted when a remote caller is invoking the HelloFD() D-Bus method. 1567s # * 1567s # * 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. 1567s # * 1567s # * 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. 1567s # */ 1567s # g_signal_new ("handle-hello-fd", 1567s # G_TYPE_FROM_INTERFACE (iface), 1567s # G_SIGNAL_RUN_LAST, 1567s # G_STRUCT_OFFSET (TestFDPassingIface, handle_hello_fd), 1567s # g_signal_accumulator_true_handled, 1567s # NULL, 1567s # test_fdpassing_method_marshal_hello_fd, 1567s # G_TYPE_BOOLEAN, 1567s # 3, 1567s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_UNIX_FD_LIST, G_TYPE_STRING); 1567s # 1567s # } 1567s # 1567s # /** 1567s # * test_fdpassing_call_hello_fd: 1567s # * @proxy: A #TestFDPassingProxy. 1567s # * @arg_greeting: Argument to pass with the method invocation. 1567s # * @fd_list: (nullable): A #GUnixFDList or %NULL. 1567s # * @cancellable: (nullable): A #GCancellable or %NULL. 1567s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1567s # * @user_data: User data to pass to @callback. 1567s # * 1567s # * Asynchronously invokes the HelloFD() D-Bus method on @proxy. 1567s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1567s # * You can then call test_fdpassing_call_hello_fd_finish() to get the result of the operation. 1567s # * 1567s # * See test_fdpassing_call_hello_fd_sync() for the synchronous, blocking version of this method. 1567s # */ 1567s # void 1567s # test_fdpassing_call_hello_fd ( 1567s # TestFDPassing *proxy, 1567s # const gchar *arg_greeting, 1567s # GUnixFDList *fd_list, 1567s # GCancellable *cancellable, 1567s # GAsyncReadyCallback callback, 1567s # gpointer user_data) 1567s # { 1567s # g_dbus_proxy_call_with_unix_fd_list (G_DBUS_PROXY (proxy), 1567s # "HelloFD", 1567s # g_variant_new ("(s)", 1567s # arg_greeting), 1567s # G_DBUS_CALL_FLAGS_NONE, 1567s # -1, 1567s # fd_list, 1567s # cancellable, 1567s # callback, 1567s # user_data); 1567s # } 1567s # 1567s # /** 1567s # * test_fdpassing_call_hello_fd_finish: 1567s # * @proxy: A #TestFDPassingProxy. 1567s # * @out_response: (out) (optional): Return location for return parameter or %NULL to ignore. 1567s # * @out_fd_list: (out) (optional): Return location for a #GUnixFDList or %NULL to ignore. 1567s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to test_fdpassing_call_hello_fd(). 1567s # * @error: Return location for error or %NULL. 1567s # * 1567s # * Finishes an operation started with test_fdpassing_call_hello_fd(). 1567s # * 1567s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1567s # */ 1567s # gboolean 1567s # test_fdpassing_call_hello_fd_finish ( 1567s # TestFDPassing *proxy, 1567s # gchar **out_response, 1567s # GUnixFDList **out_fd_list, 1567s # GAsyncResult *res, 1567s # GError **error) 1567s # { 1567s # GVariant *_ret; 1567s # _ret = g_dbus_proxy_call_with_unix_fd_list_finish (G_DBUS_PROXY (proxy), out_fd_list, res, error); 1567s # if (_ret == NULL) 1567s # goto _out; 1567s # g_variant_get (_ret, 1567s # "(s)", 1567s # out_response); 1567s # g_variant_unref (_ret); 1567s # _out: 1567s # return _ret != NULL; 1567s # } 1567s # 1567s # /** 1567s # * test_fdpassing_call_hello_fd_sync: 1567s # * @proxy: A #TestFDPassingProxy. 1567s # * @arg_greeting: Argument to pass with the method invocation. 1567s # * @fd_list: (nullable): A #GUnixFDList or %NULL. 1567s # * @out_response: (out) (optional): Return location for return parameter or %NULL to ignore. 1567s # * @out_fd_list: (out): Return location for a #GUnixFDList or %NULL. 1567s # * @cancellable: (nullable): A #GCancellable or %NULL. 1567s # * @error: Return location for error or %NULL. 1567s # * 1567s # * Synchronously invokes the HelloFD() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1567s # * 1567s # * See test_fdpassing_call_hello_fd() for the asynchronous version of this method. 1567s # * 1567s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1567s # */ 1567s # gboolean 1567s # test_fdpassing_call_hello_fd_sync ( 1567s # TestFDPassing *proxy, 1567s # const gchar *arg_greeting, 1567s # GUnixFDList *fd_list, 1567s # gchar **out_response, 1567s # GUnixFDList **out_fd_list, 1567s # GCancellable *cancellable, 1567s # GError **error) 1567s # { 1567s # GVariant *_ret; 1567s # _ret = g_dbus_proxy_call_with_unix_fd_list_sync (G_DBUS_PROXY (proxy), 1567s # "HelloFD", 1567s # g_variant_new ("(s)", 1567s # arg_greeting), 1567s # G_DBUS_CALL_FLAGS_NONE, 1567s # -1, 1567s # fd_list, 1567s # out_fd_list, 1567s # cancellable, 1567s # error); 1567s # if (_ret == NULL) 1567s # goto _out; 1567s # g_variant_get (_ret, 1567s # "(s)", 1567s # out_response); 1567s # g_variant_unref (_ret); 1567s # _out: 1567s # return _ret != NULL; 1567s # } 1567s # 1567s # /** 1567s # * test_fdpassing_complete_hello_fd: 1567s # * @object: A #TestFDPassing. 1567s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1567s # * @fd_list: (nullable): A #GUnixFDList or %NULL. 1567s # * @response: Parameter to return. 1567s # * 1567s # * 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. 1567s # * 1567s # * This method will free @invocation, you cannot use it afterwards. 1567s # */ 1567s # void 1567s # test_fdpassing_complete_hello_fd ( 1567s # TestFDPassing *object G_GNUC_UNUSED, 1567s # GDBusMethodInvocation *invocation, 1567s # GUnixFDList *fd_list, 1567s # const gchar *response) 1567s # { 1567s # g_dbus_method_invocation_return_value_with_unix_fd_list (invocation, 1567s # g_variant_new ("(s)", 1567s # response), 1567s # fd_list); 1567s # } 1567s # 1567s # /* ------------------------------------------------------------------------ */ 1567s # 1567s # /** 1567s # * TestFDPassingProxy: 1567s # * 1567s # * The #TestFDPassingProxy structure contains only private data and should only be accessed using the provided API. 1567s # */ 1567s # 1567s # /** 1567s # * TestFDPassingProxyClass: 1567s # * @parent_class: The parent class. 1567s # * 1567s # * Class structure for #TestFDPassingProxy. 1567s # */ 1567s # 1567s # struct _TestFDPassingProxyPrivate 1567s # { 1567s # GData *qdata; 1567s # }; 1567s # 1567s # static void test_fdpassing_proxy_iface_init (TestFDPassingIface *iface); 1567s # 1567s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1567s # G_DEFINE_TYPE_WITH_CODE (TestFDPassingProxy, test_fdpassing_proxy, G_TYPE_DBUS_PROXY, 1567s # G_ADD_PRIVATE (TestFDPassingProxy) 1567s # G_IMPLEMENT_INTERFACE (TYPE_TEST_FDPASSING, test_fdpassing_proxy_iface_init)) 1567s # 1567s # #else 1567s # G_DEFINE_TYPE_WITH_CODE (TestFDPassingProxy, test_fdpassing_proxy, G_TYPE_DBUS_PROXY, 1567s # G_IMPLEMENT_INTERFACE (TYPE_TEST_FDPASSING, test_fdpassing_proxy_iface_init)) 1567s # 1567s # #endif 1567s # static void 1567s # test_fdpassing_proxy_finalize (GObject *object) 1567s # { 1567s # TestFDPassingProxy *proxy = TEST_FDPASSING_PROXY (object); 1567s # g_datalist_clear (&proxy->priv->qdata); 1567s # G_OBJECT_CLASS (test_fdpassing_proxy_parent_class)->finalize (object); 1567s # } 1567s # 1567s # static void 1567s # test_fdpassing_proxy_get_property (GObject *object G_GNUC_UNUSED, 1567s # guint prop_id G_GNUC_UNUSED, 1567s # GValue *value G_GNUC_UNUSED, 1567s # GParamSpec *pspec G_GNUC_UNUSED) 1567s # { 1567s # } 1567s # 1567s # static void 1567s # test_fdpassing_proxy_set_property (GObject *object G_GNUC_UNUSED, 1567s # guint prop_id G_GNUC_UNUSED, 1567s # const GValue *value G_GNUC_UNUSED, 1567s # GParamSpec *pspec G_GNUC_UNUSED) 1567s # { 1567s # } 1567s # 1567s # static void 1567s # test_fdpassing_proxy_g_signal (GDBusProxy *proxy, 1567s # const gchar *sender_name G_GNUC_UNUSED, 1567s # const gchar *signal_name, 1567s # GVariant *parameters) 1567s # { 1567s # _ExtendedGDBusSignalInfo *info; 1567s # GVariantIter iter; 1567s # GVariant *child; 1567s # GValue *paramv; 1567s # gsize num_params; 1567s # gsize n; 1567s # guint signal_id; 1567s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_test_fdpassing_interface_info.parent_struct, signal_name); 1567s # if (info == NULL) 1567s # return; 1567s # num_params = g_variant_n_children (parameters); 1567s # paramv = g_new0 (GValue, num_params + 1); 1567s # g_value_init (¶mv[0], TYPE_TEST_FDPASSING); 1567s # g_value_set_object (¶mv[0], proxy); 1567s # g_variant_iter_init (&iter, parameters); 1567s # n = 1; 1567s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1567s # { 1567s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1567s # if (arg_info->use_gvariant) 1567s # { 1567s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1567s # g_value_set_variant (¶mv[n], child); 1567s # n++; 1567s # } 1567s # else 1567s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1567s # g_variant_unref (child); 1567s # } 1567s # signal_id = g_signal_lookup (info->signal_name, TYPE_TEST_FDPASSING); 1567s # g_signal_emitv (paramv, signal_id, 0, NULL); 1567s # for (n = 0; n < num_params + 1; n++) 1567s # g_value_unset (¶mv[n]); 1567s # g_free (paramv); 1567s # } 1567s # 1567s # static void 1567s # test_fdpassing_proxy_g_properties_changed (GDBusProxy *_proxy, 1567s # GVariant *changed_properties, 1567s # const gchar *const *invalidated_properties) 1567s # { 1567s # TestFDPassingProxy *proxy = TEST_FDPASSING_PROXY (_proxy); 1567s # guint n; 1567s # const gchar *key; 1567s # GVariantIter *iter; 1567s # _ExtendedGDBusPropertyInfo *info; 1567s # g_variant_get (changed_properties, "a{sv}", &iter); 1567s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1567s # { 1567s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_test_fdpassing_interface_info.parent_struct, key); 1567s # g_datalist_remove_data (&proxy->priv->qdata, key); 1567s # if (info != NULL) 1567s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1567s # } 1567s # g_variant_iter_free (iter); 1567s # for (n = 0; invalidated_properties[n] != NULL; n++) 1567s # { 1567s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_test_fdpassing_interface_info.parent_struct, invalidated_properties[n]); 1567s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1567s # if (info != NULL) 1567s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1567s # } 1567s # } 1567s # 1567s # static void 1567s # test_fdpassing_proxy_init (TestFDPassingProxy *proxy) 1567s # { 1567s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1567s # proxy->priv = test_fdpassing_proxy_get_instance_private (proxy); 1567s # #else 1567s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_TEST_FDPASSING_PROXY, TestFDPassingProxyPrivate); 1567s # #endif 1567s # 1567s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), test_fdpassing_interface_info ()); 1567s # } 1567s # 1567s # static void 1567s # test_fdpassing_proxy_class_init (TestFDPassingProxyClass *klass) 1567s # { 1567s # GObjectClass *gobject_class; 1567s # GDBusProxyClass *proxy_class; 1567s # 1567s # gobject_class = G_OBJECT_CLASS (klass); 1567s # gobject_class->finalize = test_fdpassing_proxy_finalize; 1567s # gobject_class->get_property = test_fdpassing_proxy_get_property; 1567s # gobject_class->set_property = test_fdpassing_proxy_set_property; 1567s # 1567s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1567s # proxy_class->g_signal = test_fdpassing_proxy_g_signal; 1567s # proxy_class->g_properties_changed = test_fdpassing_proxy_g_properties_changed; 1567s # 1567s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1567s # g_type_class_add_private (klass, sizeof (TestFDPassingProxyPrivate)); 1567s # #endif 1567s # } 1567s # 1567s # static void 1567s # test_fdpassing_proxy_iface_init (TestFDPassingIface *iface G_GNUC_UNUSED) 1567s # { 1567s # } 1567s # 1567s # /** 1567s # * test_fdpassing_proxy_new: 1567s # * @connection: A #GDBusConnection. 1567s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1567s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1567s # * @object_path: An object path. 1567s # * @cancellable: (nullable): A #GCancellable or %NULL. 1567s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1567s # * @user_data: User data to pass to @callback. 1567s # * 1567s # * Asynchronously creates a proxy for the D-Bus interface test.FDPassing. See g_dbus_proxy_new() for more details. 1567s # * 1567s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1567s # * You can then call test_fdpassing_proxy_new_finish() to get the result of the operation. 1567s # * 1567s # * See test_fdpassing_proxy_new_sync() for the synchronous, blocking version of this constructor. 1567s # */ 1567s # void 1567s # test_fdpassing_proxy_new ( 1567s # GDBusConnection *connection, 1567s # GDBusProxyFlags flags, 1567s # const gchar *name, 1567s # const gchar *object_path, 1567s # GCancellable *cancellable, 1567s # GAsyncReadyCallback callback, 1567s # gpointer user_data) 1567s # { 1567s # 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); 1567s # } 1567s # 1567s # /** 1567s # * test_fdpassing_proxy_new_finish: 1567s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to test_fdpassing_proxy_new(). 1567s # * @error: Return location for error or %NULL 1567s # * 1567s # * Finishes an operation started with test_fdpassing_proxy_new(). 1567s # * 1567s # * Returns: (transfer full) (type TestFDPassingProxy): The constructed proxy object or %NULL if @error is set. 1567s # */ 1567s # TestFDPassing * 1567s # test_fdpassing_proxy_new_finish ( 1567s # GAsyncResult *res, 1567s # GError **error) 1567s # { 1567s # GObject *ret; 1567s # GObject *source_object; 1567s # source_object = g_async_result_get_source_object (res); 1567s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1567s # g_object_unref (source_object); 1567s # if (ret != NULL) 1567s # return TEST_FDPASSING (ret); 1567s # else 1567s # return NULL; 1567s # } 1567s # 1567s # /** 1567s # * test_fdpassing_proxy_new_sync: 1567s # * @connection: A #GDBusConnection. 1567s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1567s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1567s # * @object_path: An object path. 1567s # * @cancellable: (nullable): A #GCancellable or %NULL. 1567s # * @error: Return location for error or %NULL 1567s # * 1567s # * Synchronously creates a proxy for the D-Bus interface test.FDPassing. See g_dbus_proxy_new_sync() for more details. 1567s # * 1567s # * The calling thread is blocked until a reply is received. 1567s # * 1567s # * See test_fdpassing_proxy_new() for the asynchronous version of this constructor. 1567s # * 1567s # * Returns: (transfer full) (type TestFDPassingProxy): The constructed proxy object or %NULL if @error is set. 1567s # */ 1567s # TestFDPassing * 1567s # test_fdpassing_proxy_new_sync ( 1567s # GDBusConnection *connection, 1567s # GDBusProxyFlags flags, 1567s # const gchar *name, 1567s # const gchar *object_path, 1567s # GCancellable *cancellable, 1567s # GError **error) 1567s # { 1567s # GInitable *ret; 1567s # 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); 1567s # if (ret != NULL) 1567s # return TEST_FDPASSING (ret); 1567s # else 1567s # return NULL; 1567s # } 1567s # 1567s # 1567s # /** 1567s # * test_fdpassing_proxy_new_for_bus: 1567s # * @bus_type: A #GBusType. 1567s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1567s # * @name: A bus name (well-known or unique). 1567s # * @object_path: An object path. 1567s # * @cancellable: (nullable): A #GCancellable or %NULL. 1567s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1567s # * @user_data: User data to pass to @callback. 1567s # * 1567s # * Like test_fdpassing_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1567s # * 1567s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1567s # * You can then call test_fdpassing_proxy_new_for_bus_finish() to get the result of the operation. 1567s # * 1567s # * See test_fdpassing_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1567s # */ 1567s # void 1567s # test_fdpassing_proxy_new_for_bus ( 1567s # GBusType bus_type, 1567s # GDBusProxyFlags flags, 1567s # const gchar *name, 1567s # const gchar *object_path, 1567s # GCancellable *cancellable, 1567s # GAsyncReadyCallback callback, 1567s # gpointer user_data) 1567s # { 1567s # 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); 1567s # } 1567s # 1567s # /** 1567s # * test_fdpassing_proxy_new_for_bus_finish: 1567s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to test_fdpassing_proxy_new_for_bus(). 1567s # * @error: Return location for error or %NULL 1567s # * 1567s # * Finishes an operation started with test_fdpassing_proxy_new_for_bus(). 1567s # * 1567s # * Returns: (transfer full) (type TestFDPassingProxy): The constructed proxy object or %NULL if @error is set. 1567s # */ 1567s # TestFDPassing * 1567s # test_fdpassing_proxy_new_for_bus_finish ( 1567s # GAsyncResult *res, 1567s # GError **error) 1567s # { 1567s # GObject *ret; 1567s # GObject *source_object; 1567s # source_object = g_async_result_get_source_object (res); 1567s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1567s # g_object_unref (source_object); 1567s # if (ret != NULL) 1567s # return TEST_FDPASSING (ret); 1567s # else 1567s # return NULL; 1567s # } 1567s # 1567s # /** 1567s # * test_fdpassing_proxy_new_for_bus_sync: 1567s # * @bus_type: A #GBusType. 1567s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1567s # * @name: A bus name (well-known or unique). 1567s # * @object_path: An object path. 1567s # * @cancellable: (nullable): A #GCancellable or %NULL. 1567s # * @error: Return location for error or %NULL 1567s # * 1567s # * Like test_fdpassing_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1567s # * 1567s # * The calling thread is blocked until a reply is received. 1567s # * 1567s # * See test_fdpassing_proxy_new_for_bus() for the asynchronous version of this constructor. 1567s # * 1567s # * Returns: (transfer full) (type TestFDPassingProxy): The constructed proxy object or %NULL if @error is set. 1567s # */ 1567s # TestFDPassing * 1567s # test_fdpassing_proxy_new_for_bus_sync ( 1567s # GBusType bus_type, 1567s # GDBusProxyFlags flags, 1567s # const gchar *name, 1567s # const gchar *object_path, 1567s # GCancellable *cancellable, 1567s # GError **error) 1567s # { 1567s # GInitable *ret; 1567s # 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); 1567s # if (ret != NULL) 1567s # return TEST_FDPASSING (ret); 1567s # else 1567s # return NULL; 1567s # } 1567s # 1567s # 1567s # /* ------------------------------------------------------------------------ */ 1567s # 1567s # /** 1567s # * TestFDPassingSkeleton: 1567s # * 1567s # * The #TestFDPassingSkeleton structure contains only private data and should only be accessed using the provided API. 1567s # */ 1567s # 1567s # /** 1567s # * TestFDPassingSkeletonClass: 1567s # * @parent_class: The parent class. 1567s # * 1567s # * Class structure for #TestFDPassingSkeleton. 1567s # */ 1567s # 1567s # struct _TestFDPassingSkeletonPrivate 1567s # { 1567s # GValue *properties; 1567s # GList *changed_properties; 1567s # GSource *changed_properties_idle_source; 1567s # GMainContext *context; 1567s # GMutex lock; 1567s # }; 1567s # 1567s # static void 1567s # _test_fdpassing_skeleton_handle_method_call ( 1567s # GDBusConnection *connection G_GNUC_UNUSED, 1567s # const gchar *sender G_GNUC_UNUSED, 1567s # const gchar *object_path G_GNUC_UNUSED, 1567s # const gchar *interface_name, 1567s # const gchar *method_name, 1567s # GVariant *parameters, 1567s # GDBusMethodInvocation *invocation, 1567s # gpointer user_data) 1567s # { 1567s # TestFDPassingSkeleton *skeleton = TEST_FDPASSING_SKELETON (user_data); 1567s # _ExtendedGDBusMethodInfo *info; 1567s # GVariantIter iter; 1567s # GVariant *child; 1567s # GValue *paramv; 1567s # gsize num_params; 1567s # guint num_extra; 1567s # gsize n; 1567s # guint signal_id; 1567s # GValue return_value = G_VALUE_INIT; 1567s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1567s # g_assert (info != NULL); 1567s # num_params = g_variant_n_children (parameters); 1567s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1567s # n = 0; 1567s # g_value_init (¶mv[n], TYPE_TEST_FDPASSING); 1567s # g_value_set_object (¶mv[n++], skeleton); 1567s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1567s # g_value_set_object (¶mv[n++], invocation); 1567s # if (info->pass_fdlist) 1567s # { 1567s # #ifdef G_OS_UNIX 1567s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1567s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1567s # #else 1567s # g_assert_not_reached (); 1567s # #endif 1567s # } 1567s # g_variant_iter_init (&iter, parameters); 1567s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1567s # { 1567s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1567s # if (arg_info->use_gvariant) 1567s # { 1567s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1567s # g_value_set_variant (¶mv[n], child); 1567s # n++; 1567s # } 1567s # else 1567s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1567s # g_variant_unref (child); 1567s # } 1567s # signal_id = g_signal_lookup (info->signal_name, TYPE_TEST_FDPASSING); 1567s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1567s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1567s # if (!g_value_get_boolean (&return_value)) 1567s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1567s # g_value_unset (&return_value); 1567s # for (n = 0; n < num_params + num_extra; n++) 1567s # g_value_unset (¶mv[n]); 1567s # g_free (paramv); 1567s # } 1567s # 1567s # static GVariant * 1567s # _test_fdpassing_skeleton_handle_get_property ( 1567s # GDBusConnection *connection G_GNUC_UNUSED, 1567s # const gchar *sender G_GNUC_UNUSED, 1567s # const gchar *object_path G_GNUC_UNUSED, 1567s # const gchar *interface_name G_GNUC_UNUSED, 1567s # const gchar *property_name, 1567s # GError **error, 1567s # gpointer user_data) 1567s # { 1567s # TestFDPassingSkeleton *skeleton = TEST_FDPASSING_SKELETON (user_data); 1567s # GValue value = G_VALUE_INIT; 1567s # GParamSpec *pspec; 1567s # _ExtendedGDBusPropertyInfo *info; 1567s # GVariant *ret; 1567s # ret = NULL; 1567s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_test_fdpassing_interface_info.parent_struct, property_name); 1567s # g_assert (info != NULL); 1567s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1567s # if (pspec == NULL) 1567s # { 1567s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1567s # } 1567s # else 1567s # { 1567s # g_value_init (&value, pspec->value_type); 1567s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1567s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1567s # g_value_unset (&value); 1567s # } 1567s # return ret; 1567s # } 1567s # 1567s # static gboolean 1567s # _test_fdpassing_skeleton_handle_set_property ( 1567s # GDBusConnection *connection G_GNUC_UNUSED, 1567s # const gchar *sender G_GNUC_UNUSED, 1567s # const gchar *object_path G_GNUC_UNUSED, 1567s # const gchar *interface_name G_GNUC_UNUSED, 1567s # const gchar *property_name, 1567s # GVariant *variant, 1567s # GError **error, 1567s # gpointer user_data) 1567s # { 1567s # TestFDPassingSkeleton *skeleton = TEST_FDPASSING_SKELETON (user_data); 1567s # GValue value = G_VALUE_INIT; 1567s # GParamSpec *pspec; 1567s # _ExtendedGDBusPropertyInfo *info; 1567s # gboolean ret; 1567s # ret = FALSE; 1567s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_test_fdpassing_interface_info.parent_struct, property_name); 1567s # g_assert (info != NULL); 1567s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1567s # if (pspec == NULL) 1567s # { 1567s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1567s # } 1567s # else 1567s # { 1567s # if (info->use_gvariant) 1567s # g_value_set_variant (&value, variant); 1567s # else 1567s # g_dbus_gvariant_to_gvalue (variant, &value); 1567s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1567s # g_value_unset (&value); 1567s # ret = TRUE; 1567s # } 1567s # return ret; 1567s # } 1567s # 1567s # static const GDBusInterfaceVTable _test_fdpassing_skeleton_vtable = 1567s # { 1567s # _test_fdpassing_skeleton_handle_method_call, 1567s # _test_fdpassing_skeleton_handle_get_property, 1567s # _test_fdpassing_skeleton_handle_set_property, 1567s # {NULL} 1567s # }; 1567s # 1567s # static GDBusInterfaceInfo * 1567s # test_fdpassing_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1567s # { 1567s # return test_fdpassing_interface_info (); 1567s # } 1567s # 1567s # static GDBusInterfaceVTable * 1567s # test_fdpassing_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1567s # { 1567s # return (GDBusInterfaceVTable *) &_test_fdpassing_skeleton_vtable; 1567s # } 1567s # 1567s # static GVariant * 1567s # test_fdpassing_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1567s # { 1567s # TestFDPassingSkeleton *skeleton = TEST_FDPASSING_SKELETON (_skeleton); 1567s # 1567s # GVariantBuilder builder; 1567s # guint n; 1567s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1567s # if (_test_fdpassing_interface_info.parent_struct.properties == NULL) 1567s # goto out; 1567s # for (n = 0; _test_fdpassing_interface_info.parent_struct.properties[n] != NULL; n++) 1567s # { 1567s # GDBusPropertyInfo *info = _test_fdpassing_interface_info.parent_struct.properties[n]; 1567s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1567s # { 1567s # GVariant *value; 1567s # 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); 1567s # if (value != NULL) 1567s # { 1567s # g_variant_take_ref (value); 1567s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1567s # g_variant_unref (value); 1567s # } 1567s # } 1567s # } 1567s # out: 1567s # return g_variant_builder_end (&builder); 1567s # } 1567s # 1567s # static void 1567s # test_fdpassing_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1567s # { 1567s # } 1567s # 1567s # static void test_fdpassing_skeleton_iface_init (TestFDPassingIface *iface); 1567s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1567s # G_DEFINE_TYPE_WITH_CODE (TestFDPassingSkeleton, test_fdpassing_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1567s # G_ADD_PRIVATE (TestFDPassingSkeleton) 1567s # G_IMPLEMENT_INTERFACE (TYPE_TEST_FDPASSING, test_fdpassing_skeleton_iface_init)) 1567s # 1567s # #else 1567s # G_DEFINE_TYPE_WITH_CODE (TestFDPassingSkeleton, test_fdpassing_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1567s # G_IMPLEMENT_INTERFACE (TYPE_TEST_FDPASSING, test_fdpassing_skeleton_iface_init)) 1567s # 1567s # #endif 1567s # static void 1567s # test_fdpassing_skeleton_finalize (GObject *object) 1567s # { 1567s # TestFDPassingSkeleton *skeleton = TEST_FDPASSING_SKELETON (object); 1567s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1567s # if (skeleton->priv->changed_properties_idle_source != NULL) 1567s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1567s # g_main_context_unref (skeleton->priv->context); 1567s # g_mutex_clear (&skeleton->priv->lock); 1567s # G_OBJECT_CLASS (test_fdpassing_skeleton_parent_class)->finalize (object); 1567s # } 1567s # 1567s # static void 1567s # test_fdpassing_skeleton_init (TestFDPassingSkeleton *skeleton) 1567s # { 1567s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1567s # skeleton->priv = test_fdpassing_skeleton_get_instance_private (skeleton); 1567s # #else 1567s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_TEST_FDPASSING_SKELETON, TestFDPassingSkeletonPrivate); 1567s # #endif 1567s # 1567s # g_mutex_init (&skeleton->priv->lock); 1567s # skeleton->priv->context = g_main_context_ref_thread_default (); 1567s # } 1567s # 1567s # static void 1567s # test_fdpassing_skeleton_class_init (TestFDPassingSkeletonClass *klass) 1567s # { 1567s # GObjectClass *gobject_class; 1567s # GDBusInterfaceSkeletonClass *skeleton_class; 1567s # 1567s # gobject_class = G_OBJECT_CLASS (klass); 1567s # gobject_class->finalize = test_fdpassing_skeleton_finalize; 1567s # 1567s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1567s # skeleton_class->get_info = test_fdpassing_skeleton_dbus_interface_get_info; 1567s # skeleton_class->get_properties = test_fdpassing_skeleton_dbus_interface_get_properties; 1567s # skeleton_class->flush = test_fdpassing_skeleton_dbus_interface_flush; 1567s # skeleton_class->get_vtable = test_fdpassing_skeleton_dbus_interface_get_vtable; 1567s # 1567s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1567s # g_type_class_add_private (klass, sizeof (TestFDPassingSkeletonPrivate)); 1567s # #endif 1567s # } 1567s # 1567s # static void 1567s # test_fdpassing_skeleton_iface_init (TestFDPassingIface *iface G_GNUC_UNUSED) 1567s # { 1567s # } 1567s # 1567s # /** 1567s # * test_fdpassing_skeleton_new: 1567s # * 1567s # * Creates a skeleton object for the D-Bus interface test.FDPassing. 1567s # * 1567s # * Returns: (transfer full) (type TestFDPassingSkeleton): The skeleton object. 1567s # */ 1567s # TestFDPassing * 1567s # test_fdpassing_skeleton_new (void) 1567s # { 1567s # return TEST_FDPASSING (g_object_new (TYPE_TEST_FDPASSING_SKELETON, NULL)); 1567s # } 1567s ok 15 __main__.TestCodegen.test_generate_rst 1567s # tmpdir: /tmp/tmpx5yfi3_x 1567s # codegen: /usr/bin/gdbus-codegen 1567s # /tmp/tmpx5yfi3_x/tmpg5tiio4d.xml: 1567s # 1567s # 1567s # 1567s # 1567s # 1567s # 1567s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpx5yfi3_x/tmpg5tiio4d.xml', '--generate-rst', 'test'] 1567s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-baqskmurxn,guid=fbaffe99d0ccb1f6e1beb84865fc01cd', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.YcZbqk/autopkgtest_tmp', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.YcZbqk/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.YcZbqk/autopkgtest_tmp', 'TERM': 'unknown', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.YcZbqk/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.sVTVMp0Db0', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.rqZsJO/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.YcZbqk/wrapper.sh --artifacts=/tmp/autopkgtest.YcZbqk/installed-tests-artifacts --chdir=/tmp/autopkgtest.YcZbqk/build.S0E/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.YcZbqk/installed-tests-stderr --stdout=/tmp/autopkgtest.YcZbqk/installed-tests-stdout --tmp=/tmp/autopkgtest.YcZbqk/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2' --make-executable=/tmp/autopkgtest.YcZbqk/build.S0E/src/debian/tests/installed-tests -- /tmp/autopkgtest.YcZbqk/build.S0E/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.YcZbqk/build.S0E/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.YcZbqk/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1567s # Output: 1567s ok 16 __main__.TestCodegen.test_generate_rst_method 1567s # tmpdir: /tmp/tmpy6swolt3 1567s # codegen: /usr/bin/gdbus-codegen 1567s # /tmp/tmpy6swolt3/tmpq6fq6ed9.xml: 1567s # 1567s # 1567s # 1567s # 1567s # 1567s # 1567s # 1567s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpy6swolt3/tmpq6fq6ed9.xml', '--generate-rst', 'test'] 1567s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-baqskmurxn,guid=fbaffe99d0ccb1f6e1beb84865fc01cd', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.YcZbqk/autopkgtest_tmp', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.YcZbqk/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.YcZbqk/autopkgtest_tmp', 'TERM': 'unknown', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.YcZbqk/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.sVTVMp0Db0', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.rqZsJO/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.YcZbqk/wrapper.sh --artifacts=/tmp/autopkgtest.YcZbqk/installed-tests-artifacts --chdir=/tmp/autopkgtest.YcZbqk/build.S0E/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.YcZbqk/installed-tests-stderr --stdout=/tmp/autopkgtest.YcZbqk/installed-tests-stdout --tmp=/tmp/autopkgtest.YcZbqk/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2' --make-executable=/tmp/autopkgtest.YcZbqk/build.S0E/src/debian/tests/installed-tests -- /tmp/autopkgtest.YcZbqk/build.S0E/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.YcZbqk/build.S0E/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.YcZbqk/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1567s # Output: 1567s ok 17 __main__.TestCodegen.test_generate_rst_property 1567s # tmpdir: /tmp/tmpic_jhiz3 1567s # codegen: /usr/bin/gdbus-codegen 1567s # /tmp/tmpic_jhiz3/tmpax0qd86l.xml: 1567s # 1567s # 1567s # 1567s # 1567s # 1567s # 1567s # 1567s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpic_jhiz3/tmpax0qd86l.xml', '--generate-rst', 'test'] 1567s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-baqskmurxn,guid=fbaffe99d0ccb1f6e1beb84865fc01cd', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.YcZbqk/autopkgtest_tmp', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.YcZbqk/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.YcZbqk/autopkgtest_tmp', 'TERM': 'unknown', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.YcZbqk/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.sVTVMp0Db0', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.rqZsJO/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.YcZbqk/wrapper.sh --artifacts=/tmp/autopkgtest.YcZbqk/installed-tests-artifacts --chdir=/tmp/autopkgtest.YcZbqk/build.S0E/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.YcZbqk/installed-tests-stderr --stdout=/tmp/autopkgtest.YcZbqk/installed-tests-stdout --tmp=/tmp/autopkgtest.YcZbqk/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2' --make-executable=/tmp/autopkgtest.YcZbqk/build.S0E/src/debian/tests/installed-tests -- /tmp/autopkgtest.YcZbqk/build.S0E/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.YcZbqk/build.S0E/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.YcZbqk/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1567s # Output: 1567s ok 18 __main__.TestCodegen.test_generate_rst_signal 1567s # tmpdir: /tmp/tmpyws9jnuy 1567s # codegen: /usr/bin/gdbus-codegen 1567s # /tmp/tmpyws9jnuy/tmpr1l905cu.xml: 1567s # 1567s # 1567s # 1567s # 1567s # 1567s # 1567s # 1567s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpyws9jnuy/tmpr1l905cu.xml', '--generate-rst', 'test'] 1567s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-baqskmurxn,guid=fbaffe99d0ccb1f6e1beb84865fc01cd', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.YcZbqk/autopkgtest_tmp', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.YcZbqk/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.YcZbqk/autopkgtest_tmp', 'TERM': 'unknown', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.YcZbqk/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.sVTVMp0Db0', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.rqZsJO/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.YcZbqk/wrapper.sh --artifacts=/tmp/autopkgtest.YcZbqk/installed-tests-artifacts --chdir=/tmp/autopkgtest.YcZbqk/build.S0E/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.YcZbqk/installed-tests-stderr --stdout=/tmp/autopkgtest.YcZbqk/installed-tests-stdout --tmp=/tmp/autopkgtest.YcZbqk/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2' --make-executable=/tmp/autopkgtest.YcZbqk/build.S0E/src/debian/tests/installed-tests -- /tmp/autopkgtest.YcZbqk/build.S0E/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.YcZbqk/build.S0E/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.YcZbqk/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1567s # Output: 1567s ok 19 __main__.TestCodegen.test_generate_signal_id_multiple_signal_args_types 1567s # tmpdir: /tmp/tmpgdr_2r3q 1567s # codegen: /usr/bin/gdbus-codegen 1567s # /tmp/tmpgdr_2r3q/tmpz9ufieof.xml: 1567s # 1567s # 1567s # 1567s # 1567s # 1567s # 1567s # 1567s # 1567s # 1567s # 1567s # 1567s # 1567s # 1567s # 1567s # 1567s # 1567s # 1567s # 1567s # 1567s # 1567s # 1567s # 1567s # 1567s # 1567s # 1567s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpgdr_2r3q/tmpz9ufieof.xml', '--output', '-', '--body'] 1567s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-baqskmurxn,guid=fbaffe99d0ccb1f6e1beb84865fc01cd', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.YcZbqk/autopkgtest_tmp', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.YcZbqk/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.YcZbqk/autopkgtest_tmp', 'TERM': 'unknown', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.YcZbqk/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.sVTVMp0Db0', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.rqZsJO/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.YcZbqk/wrapper.sh --artifacts=/tmp/autopkgtest.YcZbqk/installed-tests-artifacts --chdir=/tmp/autopkgtest.YcZbqk/build.S0E/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.YcZbqk/installed-tests-stderr --stdout=/tmp/autopkgtest.YcZbqk/installed-tests-stdout --tmp=/tmp/autopkgtest.YcZbqk/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2' --make-executable=/tmp/autopkgtest.YcZbqk/build.S0E/src/debian/tests/installed-tests -- /tmp/autopkgtest.YcZbqk/build.S0E/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.YcZbqk/build.S0E/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.YcZbqk/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1567s # Output: /* 1567s # * This file is generated by gdbus-codegen, do not modify it. 1567s # * 1567s # * The license of this code is the same as for the D-Bus interface description 1567s # * it was derived from. Note that it links to GLib, so must comply with the 1567s # * LGPL linking clauses. 1567s # */ 1567s # 1567s # #ifdef HAVE_CONFIG_H 1567s # # include "config.h" 1567s # #endif 1567s # 1567s # #include 1567s # #ifdef G_OS_UNIX 1567s # # include 1567s # #endif 1567s # 1567s # #ifdef G_ENABLE_DEBUG 1567s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1567s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1567s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1567s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1567s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1567s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1567s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1567s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1567s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1567s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1567s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1567s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1567s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1567s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1567s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1567s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1567s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1567s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1567s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1567s # #else /* !G_ENABLE_DEBUG */ 1567s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1567s # * Do not access GValues directly in your code. Instead, use the 1567s # * g_value_get_*() functions 1567s # */ 1567s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1567s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1567s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1567s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1567s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1567s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1567s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1567s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1567s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1567s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1567s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1567s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1567s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1567s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1567s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1567s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1567s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1567s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1567s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1567s # #endif /* !G_ENABLE_DEBUG */ 1567s # 1567s # typedef struct 1567s # { 1567s # GDBusArgInfo parent_struct; 1567s # gboolean use_gvariant; 1567s # } _ExtendedGDBusArgInfo; 1567s # 1567s # typedef struct 1567s # { 1567s # GDBusMethodInfo parent_struct; 1567s # const gchar *signal_name; 1567s # gboolean pass_fdlist; 1567s # } _ExtendedGDBusMethodInfo; 1567s # 1567s # typedef struct 1567s # { 1567s # GDBusSignalInfo parent_struct; 1567s # const gchar *signal_name; 1567s # } _ExtendedGDBusSignalInfo; 1567s # 1567s # typedef struct 1567s # { 1567s # GDBusPropertyInfo parent_struct; 1567s # const gchar *hyphen_name; 1567s # guint use_gvariant : 1; 1567s # guint emits_changed_signal : 1; 1567s # } _ExtendedGDBusPropertyInfo; 1567s # 1567s # typedef struct 1567s # { 1567s # GDBusInterfaceInfo parent_struct; 1567s # const gchar *hyphen_name; 1567s # } _ExtendedGDBusInterfaceInfo; 1567s # 1567s # typedef struct 1567s # { 1567s # const _ExtendedGDBusPropertyInfo *info; 1567s # guint prop_id; 1567s # GValue orig_value; /* the value before the change */ 1567s # } ChangedProperty; 1567s # 1567s # static void 1567s # _changed_property_free (ChangedProperty *data) 1567s # { 1567s # g_value_unset (&data->orig_value); 1567s # g_free (data); 1567s # } 1567s # 1567s # static gboolean 1567s # _g_strv_equal0 (gchar **a, gchar **b) 1567s # { 1567s # gboolean ret = FALSE; 1567s # guint n; 1567s # if (a == NULL && b == NULL) 1567s # { 1567s # ret = TRUE; 1567s # goto out; 1567s # } 1567s # if (a == NULL || b == NULL) 1567s # goto out; 1567s # if (g_strv_length (a) != g_strv_length (b)) 1567s # goto out; 1567s # for (n = 0; a[n] != NULL; n++) 1567s # if (g_strcmp0 (a[n], b[n]) != 0) 1567s # goto out; 1567s # ret = TRUE; 1567s # out: 1567s # return ret; 1567s # } 1567s # 1567s # static gboolean 1567s # _g_variant_equal0 (GVariant *a, GVariant *b) 1567s # { 1567s # gboolean ret = FALSE; 1567s # if (a == NULL && b == NULL) 1567s # { 1567s # ret = TRUE; 1567s # goto out; 1567s # } 1567s # if (a == NULL || b == NULL) 1567s # goto out; 1567s # ret = g_variant_equal (a, b); 1567s # out: 1567s # return ret; 1567s # } 1567s # 1567s # G_GNUC_UNUSED static gboolean 1567s # _g_value_equal (const GValue *a, const GValue *b) 1567s # { 1567s # gboolean ret = FALSE; 1567s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1567s # switch (G_VALUE_TYPE (a)) 1567s # { 1567s # case G_TYPE_BOOLEAN: 1567s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1567s # break; 1567s # case G_TYPE_UCHAR: 1567s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1567s # break; 1567s # case G_TYPE_INT: 1567s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1567s # break; 1567s # case G_TYPE_UINT: 1567s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1567s # break; 1567s # case G_TYPE_INT64: 1567s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1567s # break; 1567s # case G_TYPE_UINT64: 1567s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1567s # break; 1567s # case G_TYPE_DOUBLE: 1567s # { 1567s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1567s # gdouble da = g_value_get_double (a); 1567s # gdouble db = g_value_get_double (b); 1567s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1567s # } 1567s # break; 1567s # case G_TYPE_STRING: 1567s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1567s # break; 1567s # case G_TYPE_VARIANT: 1567s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1567s # break; 1567s # default: 1567s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1567s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1567s # else 1567s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1567s # break; 1567s # } 1567s # return ret; 1567s # } 1567s # 1567s # static void 1567s # _g_dbus_codegen_marshal_VOID__BOOLEAN_UCHAR_INT_UINT_INT_UINT_INT64_UINT64_DOUBLE_STRING_STRING_STRING_VARIANT_STRING_BOXED_BOXED_BOXED_VARIANT ( 1567s # GClosure *closure, 1567s # GValue *return_value G_GNUC_UNUSED, 1567s # unsigned int n_param_values, 1567s # const GValue *param_values, 1567s # void *invocation_hint G_GNUC_UNUSED, 1567s # void *marshal_data) 1567s # { 1567s # typedef void (*_GDbusCodegenMarshalVoid_BooleanUcharIntUintIntUintInt64Uint64DoubleStringStringStringVariantStringBoxedBoxedBoxedVariantFunc) 1567s # (void *data1, 1567s # gboolean arg_an_b, 1567s # guchar arg_an_y, 1567s # gint16 arg_an_n, 1567s # guint16 arg_an_q, 1567s # gint arg_an_i, 1567s # guint arg_an_u, 1567s # gint64 arg_an_x, 1567s # guint64 arg_an_t, 1567s # gdouble arg_an_d, 1567s # const gchar *arg_an_s, 1567s # const gchar *arg_an_o, 1567s # const gchar *arg_an_g, 1567s # GVariant *arg_an_h, 1567s # const gchar *arg_an_ay, 1567s # const gchar *const *arg_an_as, 1567s # const gchar *const *arg_an_ao, 1567s # const gchar *const *arg_an_aay, 1567s # GVariant *arg_an_asv, 1567s # void *data2); 1567s # _GDbusCodegenMarshalVoid_BooleanUcharIntUintIntUintInt64Uint64DoubleStringStringStringVariantStringBoxedBoxedBoxedVariantFunc callback; 1567s # GCClosure *cc = (GCClosure*) closure; 1567s # void *data1, *data2; 1567s # 1567s # g_return_if_fail (n_param_values == 19); 1567s # 1567s # if (G_CCLOSURE_SWAP_DATA (closure)) 1567s # { 1567s # data1 = closure->data; 1567s # data2 = g_value_peek_pointer (param_values + 0); 1567s # } 1567s # else 1567s # { 1567s # data1 = g_value_peek_pointer (param_values + 0); 1567s # data2 = closure->data; 1567s # } 1567s # 1567s # callback = (_GDbusCodegenMarshalVoid_BooleanUcharIntUintIntUintInt64Uint64DoubleStringStringStringVariantStringBoxedBoxedBoxedVariantFunc) 1567s # (marshal_data ? marshal_data : cc->callback); 1567s # 1567s # callback (data1, 1567s # g_marshal_value_peek_boolean (param_values + 1), 1567s # g_marshal_value_peek_uchar (param_values + 2), 1567s # g_marshal_value_peek_int (param_values + 3), 1567s # g_marshal_value_peek_uint (param_values + 4), 1567s # g_marshal_value_peek_int (param_values + 5), 1567s # g_marshal_value_peek_uint (param_values + 6), 1567s # g_marshal_value_peek_int64 (param_values + 7), 1567s # g_marshal_value_peek_uint64 (param_values + 8), 1567s # g_marshal_value_peek_double (param_values + 9), 1567s # g_marshal_value_peek_string (param_values + 10), 1567s # g_marshal_value_peek_string (param_values + 11), 1567s # g_marshal_value_peek_string (param_values + 12), 1567s # g_marshal_value_peek_variant (param_values + 13), 1567s # g_marshal_value_peek_string (param_values + 14), 1567s # g_marshal_value_peek_boxed (param_values + 15), 1567s # g_marshal_value_peek_boxed (param_values + 16), 1567s # g_marshal_value_peek_boxed (param_values + 17), 1567s # g_marshal_value_peek_variant (param_values + 18), 1567s # data2); 1567s # } 1567s # 1567s # /* ------------------------------------------------------------------------ 1567s # * Code for interface org.project.SignalingIface 1567s # * ------------------------------------------------------------------------ 1567s # */ 1567s # 1567s # /** 1567s # * SECTION:OrgProjectSignalingIface 1567s # * @title: OrgProjectSignalingIface 1567s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1567s # * 1567s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1567s # */ 1567s # 1567s # enum 1567s # { 1567s # _ORG_PROJECT_SIGNALING_IFACE_SIGNAL_WITH_MANY_ARGS, 1567s # }; 1567s # 1567s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[1] = { 0 }; 1567s # 1567s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1567s # 1567s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_b = 1567s # { 1567s # { 1567s # -1, 1567s # (gchar *) "an_b", 1567s # (gchar *) "b", 1567s # NULL 1567s # }, 1567s # FALSE 1567s # }; 1567s # 1567s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_y = 1567s # { 1567s # { 1567s # -1, 1567s # (gchar *) "an_y", 1567s # (gchar *) "y", 1567s # NULL 1567s # }, 1567s # FALSE 1567s # }; 1567s # 1567s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_n = 1567s # { 1567s # { 1567s # -1, 1567s # (gchar *) "an_n", 1567s # (gchar *) "n", 1567s # NULL 1567s # }, 1567s # FALSE 1567s # }; 1567s # 1567s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_q = 1567s # { 1567s # { 1567s # -1, 1567s # (gchar *) "an_q", 1567s # (gchar *) "q", 1567s # NULL 1567s # }, 1567s # FALSE 1567s # }; 1567s # 1567s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_i = 1567s # { 1567s # { 1567s # -1, 1567s # (gchar *) "an_i", 1567s # (gchar *) "i", 1567s # NULL 1567s # }, 1567s # FALSE 1567s # }; 1567s # 1567s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_u = 1567s # { 1567s # { 1567s # -1, 1567s # (gchar *) "an_u", 1567s # (gchar *) "u", 1567s # NULL 1567s # }, 1567s # FALSE 1567s # }; 1567s # 1567s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_x = 1567s # { 1567s # { 1567s # -1, 1567s # (gchar *) "an_x", 1567s # (gchar *) "x", 1567s # NULL 1567s # }, 1567s # FALSE 1567s # }; 1567s # 1567s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_t = 1567s # { 1567s # { 1567s # -1, 1567s # (gchar *) "an_t", 1567s # (gchar *) "t", 1567s # NULL 1567s # }, 1567s # FALSE 1567s # }; 1567s # 1567s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_d = 1567s # { 1567s # { 1567s # -1, 1567s # (gchar *) "an_d", 1567s # (gchar *) "d", 1567s # NULL 1567s # }, 1567s # FALSE 1567s # }; 1567s # 1567s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_s = 1567s # { 1567s # { 1567s # -1, 1567s # (gchar *) "an_s", 1567s # (gchar *) "s", 1567s # NULL 1567s # }, 1567s # FALSE 1567s # }; 1567s # 1567s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_o = 1567s # { 1567s # { 1567s # -1, 1567s # (gchar *) "an_o", 1567s # (gchar *) "o", 1567s # NULL 1567s # }, 1567s # FALSE 1567s # }; 1567s # 1567s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_g = 1567s # { 1567s # { 1567s # -1, 1567s # (gchar *) "an_g", 1567s # (gchar *) "g", 1567s # NULL 1567s # }, 1567s # FALSE 1567s # }; 1567s # 1567s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_h = 1567s # { 1567s # { 1567s # -1, 1567s # (gchar *) "an_h", 1567s # (gchar *) "h", 1567s # NULL 1567s # }, 1567s # FALSE 1567s # }; 1567s # 1567s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_ay = 1567s # { 1567s # { 1567s # -1, 1567s # (gchar *) "an_ay", 1567s # (gchar *) "ay", 1567s # NULL 1567s # }, 1567s # FALSE 1567s # }; 1567s # 1567s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_as = 1567s # { 1567s # { 1567s # -1, 1567s # (gchar *) "an_as", 1567s # (gchar *) "as", 1567s # NULL 1567s # }, 1567s # FALSE 1567s # }; 1567s # 1567s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_ao = 1567s # { 1567s # { 1567s # -1, 1567s # (gchar *) "an_ao", 1567s # (gchar *) "ao", 1567s # NULL 1567s # }, 1567s # FALSE 1567s # }; 1567s # 1567s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_aay = 1567s # { 1567s # { 1567s # -1, 1567s # (gchar *) "an_aay", 1567s # (gchar *) "aay", 1567s # NULL 1567s # }, 1567s # FALSE 1567s # }; 1567s # 1567s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_asv = 1567s # { 1567s # { 1567s # -1, 1567s # (gchar *) "an_asv", 1567s # (gchar *) "a{sv}", 1567s # NULL 1567s # }, 1567s # FALSE 1567s # }; 1567s # 1567s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_pointers[] = 1567s # { 1567s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_b.parent_struct, 1567s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_y.parent_struct, 1567s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_n.parent_struct, 1567s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_q.parent_struct, 1567s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_i.parent_struct, 1567s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_u.parent_struct, 1567s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_x.parent_struct, 1567s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_t.parent_struct, 1567s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_d.parent_struct, 1567s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_s.parent_struct, 1567s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_o.parent_struct, 1567s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_g.parent_struct, 1567s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_h.parent_struct, 1567s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_ay.parent_struct, 1567s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_as.parent_struct, 1567s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_ao.parent_struct, 1567s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_aay.parent_struct, 1567s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_asv.parent_struct, 1567s # NULL 1567s # }; 1567s # 1567s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_signal_with_many_args = 1567s # { 1567s # { 1567s # -1, 1567s # (gchar *) "SignalWithManyArgs", 1567s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_pointers, 1567s # NULL 1567s # }, 1567s # "signal-with-many-args" 1567s # }; 1567s # 1567s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1567s # { 1567s # &_org_project_signaling_iface_signal_info_signal_with_many_args.parent_struct, 1567s # NULL 1567s # }; 1567s # 1567s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1567s # { 1567s # { 1567s # -1, 1567s # (gchar *) "org.project.SignalingIface", 1567s # NULL, 1567s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1567s # NULL, 1567s # NULL 1567s # }, 1567s # "org-project-signaling-iface", 1567s # }; 1567s # 1567s # 1567s # /** 1567s # * org_project_signaling_iface_interface_info: 1567s # * 1567s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1567s # * 1567s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1567s # */ 1567s # GDBusInterfaceInfo * 1567s # org_project_signaling_iface_interface_info (void) 1567s # { 1567s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1567s # } 1567s # 1567s # /** 1567s # * org_project_signaling_iface_override_properties: 1567s # * @klass: The class structure for a #GObject derived class. 1567s # * @property_id_begin: The property id to assign to the first overridden property. 1567s # * 1567s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1567s # * The properties are overridden in the order they are defined. 1567s # * 1567s # * Returns: The last property id. 1567s # */ 1567s # guint 1567s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1567s # { 1567s # return property_id_begin - 1; 1567s # } 1567s # 1567s # 1567s # inline static void 1567s # org_project_signaling_iface_signal_marshal_signal_with_many_args ( 1567s # GClosure *closure, 1567s # GValue *return_value, 1567s # unsigned int n_param_values, 1567s # const GValue *param_values, 1567s # void *invocation_hint, 1567s # void *marshal_data) 1567s # { 1567s # _g_dbus_codegen_marshal_VOID__BOOLEAN_UCHAR_INT_UINT_INT_UINT_INT64_UINT64_DOUBLE_STRING_STRING_STRING_VARIANT_STRING_BOXED_BOXED_BOXED_VARIANT (closure, 1567s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1567s # } 1567s # 1567s # 1567s # /** 1567s # * OrgProjectSignalingIface: 1567s # * 1567s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1567s # */ 1567s # 1567s # /** 1567s # * OrgProjectSignalingIfaceIface: 1567s # * @parent_iface: The parent interface. 1567s # * @signal_with_many_args: Handler for the #OrgProjectSignalingIface::signal-with-many-args signal. 1567s # * 1567s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1567s # */ 1567s # 1567s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1567s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1567s # 1567s # static void 1567s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1567s # { 1567s # /* GObject signals for received D-Bus signals: */ 1567s # /** 1567s # * OrgProjectSignalingIface::signal-with-many-args: 1567s # * @object: A #OrgProjectSignalingIface. 1567s # * @arg_an_b: Argument. 1567s # * @arg_an_y: Argument. 1567s # * @arg_an_n: Argument. 1567s # * @arg_an_q: Argument. 1567s # * @arg_an_i: Argument. 1567s # * @arg_an_u: Argument. 1567s # * @arg_an_x: Argument. 1567s # * @arg_an_t: Argument. 1567s # * @arg_an_d: Argument. 1567s # * @arg_an_s: Argument. 1567s # * @arg_an_o: Argument. 1567s # * @arg_an_g: Argument. 1567s # * @arg_an_h: Argument. 1567s # * @arg_an_ay: Argument. 1567s # * @arg_an_as: Argument. 1567s # * @arg_an_ao: Argument. 1567s # * @arg_an_aay: Argument. 1567s # * @arg_an_asv: Argument. 1567s # * 1567s # * On the client-side, this signal is emitted whenever the D-Bus signal "SignalWithManyArgs" is received. 1567s # * 1567s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1567s # */ 1567s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIGNAL_WITH_MANY_ARGS] = 1567s # g_signal_new ("signal-with-many-args", 1567s # G_TYPE_FROM_INTERFACE (iface), 1567s # G_SIGNAL_RUN_LAST, 1567s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, signal_with_many_args), 1567s # NULL, 1567s # NULL, 1567s # org_project_signaling_iface_signal_marshal_signal_with_many_args, 1567s # G_TYPE_NONE, 1567s # 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); 1567s # 1567s # } 1567s # 1567s # /** 1567s # * org_project_signaling_iface_emit_signal_with_many_args: 1567s # * @object: A #OrgProjectSignalingIface. 1567s # * @arg_an_b: Argument to pass with the signal. 1567s # * @arg_an_y: Argument to pass with the signal. 1567s # * @arg_an_n: Argument to pass with the signal. 1567s # * @arg_an_q: Argument to pass with the signal. 1567s # * @arg_an_i: Argument to pass with the signal. 1567s # * @arg_an_u: Argument to pass with the signal. 1567s # * @arg_an_x: Argument to pass with the signal. 1567s # * @arg_an_t: Argument to pass with the signal. 1567s # * @arg_an_d: Argument to pass with the signal. 1567s # * @arg_an_s: Argument to pass with the signal. 1567s # * @arg_an_o: Argument to pass with the signal. 1567s # * @arg_an_g: Argument to pass with the signal. 1567s # * @arg_an_h: Argument to pass with the signal. 1567s # * @arg_an_ay: Argument to pass with the signal. 1567s # * @arg_an_as: Argument to pass with the signal. 1567s # * @arg_an_ao: Argument to pass with the signal. 1567s # * @arg_an_aay: Argument to pass with the signal. 1567s # * @arg_an_asv: Argument to pass with the signal. 1567s # * 1567s # * Emits the "SignalWithManyArgs" D-Bus signal. 1567s # */ 1567s # void 1567s # org_project_signaling_iface_emit_signal_with_many_args ( 1567s # OrgProjectSignalingIface *object, 1567s # gboolean arg_an_b, 1567s # guchar arg_an_y, 1567s # gint16 arg_an_n, 1567s # guint16 arg_an_q, 1567s # gint arg_an_i, 1567s # guint arg_an_u, 1567s # gint64 arg_an_x, 1567s # guint64 arg_an_t, 1567s # gdouble arg_an_d, 1567s # const gchar *arg_an_s, 1567s # const gchar *arg_an_o, 1567s # const gchar *arg_an_g, 1567s # GVariant *arg_an_h, 1567s # const gchar *arg_an_ay, 1567s # const gchar *const *arg_an_as, 1567s # const gchar *const *arg_an_ao, 1567s # const gchar *const *arg_an_aay, 1567s # GVariant *arg_an_asv) 1567s # { 1567s # 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); 1567s # } 1567s # 1567s # /* ------------------------------------------------------------------------ */ 1567s # 1567s # /** 1567s # * OrgProjectSignalingIfaceProxy: 1567s # * 1567s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1567s # */ 1567s # 1567s # /** 1567s # * OrgProjectSignalingIfaceProxyClass: 1567s # * @parent_class: The parent class. 1567s # * 1567s # * Class structure for #OrgProjectSignalingIfaceProxy. 1567s # */ 1567s # 1567s # struct _OrgProjectSignalingIfaceProxyPrivate 1567s # { 1567s # GData *qdata; 1567s # }; 1567s # 1567s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1567s # 1567s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1567s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1567s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1567s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1567s # 1567s # #else 1567s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1567s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1567s # 1567s # #endif 1567s # static void 1567s # org_project_signaling_iface_proxy_finalize (GObject *object) 1567s # { 1567s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1567s # g_datalist_clear (&proxy->priv->qdata); 1567s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1567s # } 1567s # 1567s # static void 1567s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1567s # guint prop_id G_GNUC_UNUSED, 1567s # GValue *value G_GNUC_UNUSED, 1567s # GParamSpec *pspec G_GNUC_UNUSED) 1567s # { 1567s # } 1567s # 1567s # static void 1567s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1567s # guint prop_id G_GNUC_UNUSED, 1567s # const GValue *value G_GNUC_UNUSED, 1567s # GParamSpec *pspec G_GNUC_UNUSED) 1567s # { 1567s # } 1567s # 1567s # static void 1567s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1567s # const gchar *sender_name G_GNUC_UNUSED, 1567s # const gchar *signal_name, 1567s # GVariant *parameters) 1567s # { 1567s # _ExtendedGDBusSignalInfo *info; 1567s # GVariantIter iter; 1567s # GVariant *child; 1567s # GValue *paramv; 1567s # gsize num_params; 1567s # gsize n; 1567s # guint signal_id; 1567s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1567s # if (info == NULL) 1567s # return; 1567s # num_params = g_variant_n_children (parameters); 1567s # paramv = g_new0 (GValue, num_params + 1); 1567s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1567s # g_value_set_object (¶mv[0], proxy); 1567s # g_variant_iter_init (&iter, parameters); 1567s # n = 1; 1567s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1567s # { 1567s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1567s # if (arg_info->use_gvariant) 1567s # { 1567s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1567s # g_value_set_variant (¶mv[n], child); 1567s # n++; 1567s # } 1567s # else 1567s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1567s # g_variant_unref (child); 1567s # } 1567s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1567s # g_signal_emitv (paramv, signal_id, 0, NULL); 1567s # for (n = 0; n < num_params + 1; n++) 1567s # g_value_unset (¶mv[n]); 1567s # g_free (paramv); 1567s # } 1567s # 1567s # static void 1567s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1567s # GVariant *changed_properties, 1567s # const gchar *const *invalidated_properties) 1567s # { 1567s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1567s # guint n; 1567s # const gchar *key; 1567s # GVariantIter *iter; 1567s # _ExtendedGDBusPropertyInfo *info; 1567s # g_variant_get (changed_properties, "a{sv}", &iter); 1567s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1567s # { 1567s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1567s # g_datalist_remove_data (&proxy->priv->qdata, key); 1567s # if (info != NULL) 1567s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1567s # } 1567s # g_variant_iter_free (iter); 1567s # for (n = 0; invalidated_properties[n] != NULL; n++) 1567s # { 1567s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1567s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1567s # if (info != NULL) 1567s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1567s # } 1567s # } 1567s # 1567s # static void 1567s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1567s # { 1567s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1567s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1567s # #else 1567s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1567s # #endif 1567s # 1567s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1567s # } 1567s # 1567s # static void 1567s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1567s # { 1567s # GObjectClass *gobject_class; 1567s # GDBusProxyClass *proxy_class; 1567s # 1567s # gobject_class = G_OBJECT_CLASS (klass); 1567s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1567s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1567s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1567s # 1567s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1567s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1567s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1567s # 1567s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1567s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1567s # #endif 1567s # } 1567s # 1567s # static void 1567s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1567s # { 1567s # } 1567s # 1567s # /** 1567s # * org_project_signaling_iface_proxy_new: 1567s # * @connection: A #GDBusConnection. 1567s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1567s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1567s # * @object_path: An object path. 1567s # * @cancellable: (nullable): A #GCancellable or %NULL. 1567s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1567s # * @user_data: User data to pass to @callback. 1567s # * 1567s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1567s # * 1567s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1567s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1567s # * 1567s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1567s # */ 1567s # void 1567s # org_project_signaling_iface_proxy_new ( 1567s # GDBusConnection *connection, 1567s # GDBusProxyFlags flags, 1567s # const gchar *name, 1567s # const gchar *object_path, 1567s # GCancellable *cancellable, 1567s # GAsyncReadyCallback callback, 1567s # gpointer user_data) 1567s # { 1567s # 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); 1567s # } 1567s # 1567s # /** 1567s # * org_project_signaling_iface_proxy_new_finish: 1567s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1567s # * @error: Return location for error or %NULL 1567s # * 1567s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1567s # * 1567s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1567s # */ 1567s # OrgProjectSignalingIface * 1567s # org_project_signaling_iface_proxy_new_finish ( 1567s # GAsyncResult *res, 1567s # GError **error) 1567s # { 1567s # GObject *ret; 1567s # GObject *source_object; 1567s # source_object = g_async_result_get_source_object (res); 1567s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1567s # g_object_unref (source_object); 1567s # if (ret != NULL) 1567s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1567s # else 1567s # return NULL; 1567s # } 1567s # 1567s # /** 1567s # * org_project_signaling_iface_proxy_new_sync: 1567s # * @connection: A #GDBusConnection. 1567s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1567s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1567s # * @object_path: An object path. 1567s # * @cancellable: (nullable): A #GCancellable or %NULL. 1567s # * @error: Return location for error or %NULL 1567s # * 1567s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1567s # * 1567s # * The calling thread is blocked until a reply is received. 1567s # * 1567s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1567s # * 1567s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1567s # */ 1567s # OrgProjectSignalingIface * 1567s # org_project_signaling_iface_proxy_new_sync ( 1567s # GDBusConnection *connection, 1567s # GDBusProxyFlags flags, 1567s # const gchar *name, 1567s # const gchar *object_path, 1567s # GCancellable *cancellable, 1567s # GError **error) 1567s # { 1567s # GInitable *ret; 1567s # 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); 1567s # if (ret != NULL) 1567s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1567s # else 1567s # return NULL; 1567s # } 1567s # 1567s # 1567s # /** 1567s # * org_project_signaling_iface_proxy_new_for_bus: 1567s # * @bus_type: A #GBusType. 1567s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1567s # * @name: A bus name (well-known or unique). 1567s # * @object_path: An object path. 1567s # * @cancellable: (nullable): A #GCancellable or %NULL. 1567s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1567s # * @user_data: User data to pass to @callback. 1567s # * 1567s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1567s # * 1567s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1567s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1567s # * 1567s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1567s # */ 1567s # void 1567s # org_project_signaling_iface_proxy_new_for_bus ( 1567s # GBusType bus_type, 1567s # GDBusProxyFlags flags, 1567s # const gchar *name, 1567s # const gchar *object_path, 1567s # GCancellable *cancellable, 1567s # GAsyncReadyCallback callback, 1567s # gpointer user_data) 1567s # { 1567s # 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); 1567s # } 1567s # 1567s # /** 1567s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1567s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1567s # * @error: Return location for error or %NULL 1567s # * 1567s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1567s # * 1567s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1567s # */ 1567s # OrgProjectSignalingIface * 1567s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1567s # GAsyncResult *res, 1567s # GError **error) 1567s # { 1567s # GObject *ret; 1567s # GObject *source_object; 1567s # source_object = g_async_result_get_source_object (res); 1567s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1567s # g_object_unref (source_object); 1567s # if (ret != NULL) 1567s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1567s # else 1567s # return NULL; 1567s # } 1567s # 1567s # /** 1567s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1567s # * @bus_type: A #GBusType. 1567s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1567s # * @name: A bus name (well-known or unique). 1567s # * @object_path: An object path. 1567s # * @cancellable: (nullable): A #GCancellable or %NULL. 1567s # * @error: Return location for error or %NULL 1567s # * 1567s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1567s # * 1567s # * The calling thread is blocked until a reply is received. 1567s # * 1567s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1567s # * 1567s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1567s # */ 1567s # OrgProjectSignalingIface * 1567s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1567s # GBusType bus_type, 1567s # GDBusProxyFlags flags, 1567s # const gchar *name, 1567s # const gchar *object_path, 1567s # GCancellable *cancellable, 1567s # GError **error) 1567s # { 1567s # GInitable *ret; 1567s # 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); 1567s # if (ret != NULL) 1567s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1567s # else 1567s # return NULL; 1567s # } 1567s # 1567s # 1567s # /* ------------------------------------------------------------------------ */ 1567s # 1567s # /** 1567s # * OrgProjectSignalingIfaceSkeleton: 1567s # * 1567s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1567s # */ 1567s # 1567s # /** 1567s # * OrgProjectSignalingIfaceSkeletonClass: 1567s # * @parent_class: The parent class. 1567s # * 1567s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1567s # */ 1567s # 1567s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1567s # { 1567s # GValue *properties; 1567s # GList *changed_properties; 1567s # GSource *changed_properties_idle_source; 1567s # GMainContext *context; 1567s # GMutex lock; 1567s # }; 1567s # 1567s # static void 1567s # _org_project_signaling_iface_skeleton_handle_method_call ( 1567s # GDBusConnection *connection G_GNUC_UNUSED, 1567s # const gchar *sender G_GNUC_UNUSED, 1567s # const gchar *object_path G_GNUC_UNUSED, 1567s # const gchar *interface_name, 1567s # const gchar *method_name, 1567s # GVariant *parameters, 1567s # GDBusMethodInvocation *invocation, 1567s # gpointer user_data) 1567s # { 1567s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1567s # _ExtendedGDBusMethodInfo *info; 1567s # GVariantIter iter; 1567s # GVariant *child; 1567s # GValue *paramv; 1567s # gsize num_params; 1567s # guint num_extra; 1567s # gsize n; 1567s # guint signal_id; 1567s # GValue return_value = G_VALUE_INIT; 1567s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1567s # g_assert (info != NULL); 1567s # num_params = g_variant_n_children (parameters); 1567s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1567s # n = 0; 1567s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1567s # g_value_set_object (¶mv[n++], skeleton); 1567s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1567s # g_value_set_object (¶mv[n++], invocation); 1567s # if (info->pass_fdlist) 1567s # { 1567s # #ifdef G_OS_UNIX 1567s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1567s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1567s # #else 1567s # g_assert_not_reached (); 1567s # #endif 1567s # } 1567s # g_variant_iter_init (&iter, parameters); 1567s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1567s # { 1567s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1567s # if (arg_info->use_gvariant) 1567s # { 1567s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1567s # g_value_set_variant (¶mv[n], child); 1567s # n++; 1567s # } 1567s # else 1567s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1567s # g_variant_unref (child); 1567s # } 1567s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1567s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1567s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1567s # if (!g_value_get_boolean (&return_value)) 1567s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1567s # g_value_unset (&return_value); 1567s # for (n = 0; n < num_params + num_extra; n++) 1567s # g_value_unset (¶mv[n]); 1567s # g_free (paramv); 1567s # } 1567s # 1567s # static GVariant * 1567s # _org_project_signaling_iface_skeleton_handle_get_property ( 1567s # GDBusConnection *connection G_GNUC_UNUSED, 1567s # const gchar *sender G_GNUC_UNUSED, 1567s # const gchar *object_path G_GNUC_UNUSED, 1567s # const gchar *interface_name G_GNUC_UNUSED, 1567s # const gchar *property_name, 1567s # GError **error, 1567s # gpointer user_data) 1567s # { 1567s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1567s # GValue value = G_VALUE_INIT; 1567s # GParamSpec *pspec; 1567s # _ExtendedGDBusPropertyInfo *info; 1567s # GVariant *ret; 1567s # ret = NULL; 1567s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1567s # g_assert (info != NULL); 1567s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1567s # if (pspec == NULL) 1567s # { 1567s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1567s # } 1567s # else 1567s # { 1567s # g_value_init (&value, pspec->value_type); 1567s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1567s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1567s # g_value_unset (&value); 1567s # } 1567s # return ret; 1567s # } 1567s # 1567s # static gboolean 1567s # _org_project_signaling_iface_skeleton_handle_set_property ( 1567s # GDBusConnection *connection G_GNUC_UNUSED, 1567s # const gchar *sender G_GNUC_UNUSED, 1567s # const gchar *object_path G_GNUC_UNUSED, 1567s # const gchar *interface_name G_GNUC_UNUSED, 1567s # const gchar *property_name, 1567s # GVariant *variant, 1567s # GError **error, 1567s # gpointer user_data) 1567s # { 1567s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1567s # GValue value = G_VALUE_INIT; 1567s # GParamSpec *pspec; 1567s # _ExtendedGDBusPropertyInfo *info; 1567s # gboolean ret; 1567s # ret = FALSE; 1567s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1567s # g_assert (info != NULL); 1567s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1567s # if (pspec == NULL) 1567s # { 1567s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1567s # } 1567s # else 1567s # { 1567s # if (info->use_gvariant) 1567s # g_value_set_variant (&value, variant); 1567s # else 1567s # g_dbus_gvariant_to_gvalue (variant, &value); 1567s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1567s # g_value_unset (&value); 1567s # ret = TRUE; 1567s # } 1567s # return ret; 1567s # } 1567s # 1567s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1567s # { 1567s # _org_project_signaling_iface_skeleton_handle_method_call, 1567s # _org_project_signaling_iface_skeleton_handle_get_property, 1567s # _org_project_signaling_iface_skeleton_handle_set_property, 1567s # {NULL} 1567s # }; 1567s # 1567s # static GDBusInterfaceInfo * 1567s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1567s # { 1567s # return org_project_signaling_iface_interface_info (); 1567s # } 1567s # 1567s # static GDBusInterfaceVTable * 1567s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1567s # { 1567s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1567s # } 1567s # 1567s # static GVariant * 1567s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1567s # { 1567s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1567s # 1567s # GVariantBuilder builder; 1567s # guint n; 1567s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1567s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1567s # goto out; 1567s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1567s # { 1567s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1567s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1567s # { 1567s # GVariant *value; 1567s # 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); 1567s # if (value != NULL) 1567s # { 1567s # g_variant_take_ref (value); 1567s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1567s # g_variant_unref (value); 1567s # } 1567s # } 1567s # } 1567s # out: 1567s # return g_variant_builder_end (&builder); 1567s # } 1567s # 1567s # static void 1567s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1567s # { 1567s # } 1567s # 1567s # static void 1567s # _org_project_signaling_iface_on_signal_signal_with_many_args ( 1567s # OrgProjectSignalingIface *object, 1567s # gboolean arg_an_b, 1567s # guchar arg_an_y, 1567s # gint16 arg_an_n, 1567s # guint16 arg_an_q, 1567s # gint arg_an_i, 1567s # guint arg_an_u, 1567s # gint64 arg_an_x, 1567s # guint64 arg_an_t, 1567s # gdouble arg_an_d, 1567s # const gchar *arg_an_s, 1567s # const gchar *arg_an_o, 1567s # const gchar *arg_an_g, 1567s # GVariant *arg_an_h, 1567s # const gchar *arg_an_ay, 1567s # const gchar *const *arg_an_as, 1567s # const gchar *const *arg_an_ao, 1567s # const gchar *const *arg_an_aay, 1567s # GVariant *arg_an_asv) 1567s # { 1567s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1567s # 1567s # GList *connections, *l; 1567s # GVariant *signal_variant; 1567s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1567s # 1567s # signal_variant = g_variant_ref_sink (g_variant_new ("(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 1567s # arg_an_b, 1567s # arg_an_y, 1567s # arg_an_n, 1567s # arg_an_q, 1567s # arg_an_i, 1567s # arg_an_u, 1567s # arg_an_x, 1567s # arg_an_t, 1567s # arg_an_d, 1567s # arg_an_s, 1567s # arg_an_o, 1567s # arg_an_g, 1567s # arg_an_h, 1567s # arg_an_ay, 1567s # arg_an_as, 1567s # arg_an_ao, 1567s # arg_an_aay, 1567s # arg_an_asv)); 1567s # for (l = connections; l != NULL; l = l->next) 1567s # { 1567s # GDBusConnection *connection = l->data; 1567s # g_dbus_connection_emit_signal (connection, 1567s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SignalWithManyArgs", 1567s # signal_variant, NULL); 1567s # } 1567s # g_variant_unref (signal_variant); 1567s # g_list_free_full (connections, g_object_unref); 1567s # } 1567s # 1567s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1567s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1567s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1567s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1567s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1567s # 1567s # #else 1567s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1567s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1567s # 1567s # #endif 1567s # static void 1567s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1567s # { 1567s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1567s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1567s # if (skeleton->priv->changed_properties_idle_source != NULL) 1567s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1567s # g_main_context_unref (skeleton->priv->context); 1567s # g_mutex_clear (&skeleton->priv->lock); 1567s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1567s # } 1567s # 1567s # static void 1567s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1567s # { 1567s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1567s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1567s # #else 1567s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1567s # #endif 1567s # 1567s # g_mutex_init (&skeleton->priv->lock); 1567s # skeleton->priv->context = g_main_context_ref_thread_default (); 1567s # } 1567s # 1567s # static void 1567s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1567s # { 1567s # GObjectClass *gobject_class; 1567s # GDBusInterfaceSkeletonClass *skeleton_class; 1567s # 1567s # gobject_class = G_OBJECT_CLASS (klass); 1567s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1567s # 1567s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1567s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1567s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1567s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1567s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1567s # 1567s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1567s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1567s # #endif 1567s # } 1567s # 1567s # static void 1567s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1567s # { 1567s # iface->signal_with_many_args = _org_project_signaling_iface_on_signal_signal_with_many_args; 1567s # } 1567s # 1567s # /** 1567s # * org_project_signaling_iface_skeleton_new: 1567s # * 1567s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1567s # * 1567s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1567s # */ 1567s # OrgProjectSignalingIface * 1567s # org_project_signaling_iface_skeleton_new (void) 1567s # { 1567s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1567s # } 1567s ok 20 __main__.TestCodegen.test_generate_signal_id_multiple_signals_types 1567s # tmpdir: /tmp/tmpupz4r1eu 1567s # codegen: /usr/bin/gdbus-codegen 1567s # /tmp/tmpupz4r1eu/tmp5bskb5ik.xml: 1567s # 1567s # 1567s # 1567s # 1567s # 1567s # 1567s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpupz4r1eu/tmp5bskb5ik.xml', '--output', '-', '--body'] 1567s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-baqskmurxn,guid=fbaffe99d0ccb1f6e1beb84865fc01cd', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.YcZbqk/autopkgtest_tmp', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.YcZbqk/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.YcZbqk/autopkgtest_tmp', 'TERM': 'unknown', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.YcZbqk/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.sVTVMp0Db0', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.rqZsJO/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.YcZbqk/wrapper.sh --artifacts=/tmp/autopkgtest.YcZbqk/installed-tests-artifacts --chdir=/tmp/autopkgtest.YcZbqk/build.S0E/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.YcZbqk/installed-tests-stderr --stdout=/tmp/autopkgtest.YcZbqk/installed-tests-stdout --tmp=/tmp/autopkgtest.YcZbqk/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2' --make-executable=/tmp/autopkgtest.YcZbqk/build.S0E/src/debian/tests/installed-tests -- /tmp/autopkgtest.YcZbqk/build.S0E/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.YcZbqk/build.S0E/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.YcZbqk/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1567s # Output: /* 1567s # * This file is generated by gdbus-codegen, do not modify it. 1567s # * 1567s # * The license of this code is the same as for the D-Bus interface description 1567s # * it was derived from. Note that it links to GLib, so must comply with the 1567s # * LGPL linking clauses. 1567s # */ 1567s # 1567s # #ifdef HAVE_CONFIG_H 1567s # # include "config.h" 1567s # #endif 1567s # 1567s # #include 1567s # #ifdef G_OS_UNIX 1567s # # include 1567s # #endif 1567s # 1567s # #ifdef G_ENABLE_DEBUG 1567s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1567s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1567s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1567s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1567s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1567s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1567s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1567s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1567s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1567s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1567s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1567s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1567s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1567s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1567s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1567s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1567s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1567s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1567s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1567s # #else /* !G_ENABLE_DEBUG */ 1567s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1567s # * Do not access GValues directly in your code. Instead, use the 1567s # * g_value_get_*() functions 1567s # */ 1567s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1567s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1567s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1567s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1567s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1567s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1567s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1567s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1567s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1567s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1567s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1567s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1567s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1567s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1567s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1567s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1567s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1567s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1567s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1567s # #endif /* !G_ENABLE_DEBUG */ 1567s # 1567s # typedef struct 1567s # { 1567s # GDBusArgInfo parent_struct; 1567s # gboolean use_gvariant; 1567s # } _ExtendedGDBusArgInfo; 1567s # 1567s # typedef struct 1567s # { 1567s # GDBusMethodInfo parent_struct; 1567s # const gchar *signal_name; 1567s # gboolean pass_fdlist; 1567s # } _ExtendedGDBusMethodInfo; 1567s # 1567s # typedef struct 1567s # { 1567s # GDBusSignalInfo parent_struct; 1567s # const gchar *signal_name; 1567s # } _ExtendedGDBusSignalInfo; 1567s # 1567s # typedef struct 1567s # { 1567s # GDBusPropertyInfo parent_struct; 1567s # const gchar *hyphen_name; 1567s # guint use_gvariant : 1; 1567s # guint emits_changed_signal : 1; 1567s # } _ExtendedGDBusPropertyInfo; 1567s # 1567s # typedef struct 1567s # { 1567s # GDBusInterfaceInfo parent_struct; 1567s # const gchar *hyphen_name; 1567s # } _ExtendedGDBusInterfaceInfo; 1567s # 1567s # typedef struct 1567s # { 1567s # const _ExtendedGDBusPropertyInfo *info; 1567s # guint prop_id; 1567s # GValue orig_value; /* the value before the change */ 1567s # } ChangedProperty; 1567s # 1567s # static void 1567s # _changed_property_free (ChangedProperty *data) 1567s # { 1567s # g_value_unset (&data->orig_value); 1567s # g_free (data); 1567s # } 1567s # 1567s # static gboolean 1567s # _g_strv_equal0 (gchar **a, gchar **b) 1567s # { 1567s # gboolean ret = FALSE; 1567s # guint n; 1567s # if (a == NULL && b == NULL) 1567s # { 1567s # ret = TRUE; 1567s # goto out; 1567s # } 1567s # if (a == NULL || b == NULL) 1567s # goto out; 1567s # if (g_strv_length (a) != g_strv_length (b)) 1567s # goto out; 1567s # for (n = 0; a[n] != NULL; n++) 1567s # if (g_strcmp0 (a[n], b[n]) != 0) 1567s # goto out; 1567s # ret = TRUE; 1567s # out: 1567s # return ret; 1567s # } 1567s # 1567s # static gboolean 1567s # _g_variant_equal0 (GVariant *a, GVariant *b) 1567s # { 1567s # gboolean ret = FALSE; 1567s # if (a == NULL && b == NULL) 1567s # { 1567s # ret = TRUE; 1567s # goto out; 1567s # } 1567s # if (a == NULL || b == NULL) 1567s # goto out; 1567s # ret = g_variant_equal (a, b); 1567s # out: 1567s # return ret; 1567s # } 1567s # 1567s # G_GNUC_UNUSED static gboolean 1567s # _g_value_equal (const GValue *a, const GValue *b) 1567s # { 1567s # gboolean ret = FALSE; 1567s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1567s # switch (G_VALUE_TYPE (a)) 1567s # { 1567s # case G_TYPE_BOOLEAN: 1567s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1567s # break; 1567s # case G_TYPE_UCHAR: 1567s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1567s # break; 1567s # case G_TYPE_INT: 1567s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1567s # break; 1567s # case G_TYPE_UINT: 1567s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1567s # break; 1567s # case G_TYPE_INT64: 1567s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1567s # break; 1567s # case G_TYPE_UINT64: 1567s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1567s # break; 1567s # case G_TYPE_DOUBLE: 1567s # { 1567s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1567s # gdouble da = g_value_get_double (a); 1567s # gdouble db = g_value_get_double (b); 1567s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1567s # } 1567s # break; 1567s # case G_TYPE_STRING: 1567s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1567s # break; 1567s # case G_TYPE_VARIANT: 1567s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1567s # break; 1567s # default: 1567s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1567s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1567s # else 1567s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1567s # break; 1567s # } 1567s # return ret; 1567s # } 1567s # 1567s # static void 1567s # _g_dbus_codegen_marshal_VOID__INT64 ( 1567s # GClosure *closure, 1567s # GValue *return_value G_GNUC_UNUSED, 1567s # unsigned int n_param_values, 1567s # const GValue *param_values, 1567s # void *invocation_hint G_GNUC_UNUSED, 1567s # void *marshal_data) 1567s # { 1567s # typedef void (*_GDbusCodegenMarshalVoid_Int64Func) 1567s # (void *data1, 1567s # gint64 arg_an_x, 1567s # void *data2); 1567s # _GDbusCodegenMarshalVoid_Int64Func callback; 1567s # GCClosure *cc = (GCClosure*) closure; 1567s # void *data1, *data2; 1567s # 1567s # g_return_if_fail (n_param_values == 2); 1567s # 1567s # if (G_CCLOSURE_SWAP_DATA (closure)) 1567s # { 1567s # data1 = closure->data; 1567s # data2 = g_value_peek_pointer (param_values + 0); 1567s # } 1567s # else 1567s # { 1567s # data1 = g_value_peek_pointer (param_values + 0); 1567s # data2 = closure->data; 1567s # } 1567s # 1567s # callback = (_GDbusCodegenMarshalVoid_Int64Func) 1567s # (marshal_data ? marshal_data : cc->callback); 1567s # 1567s # callback (data1, 1567s # g_marshal_value_peek_int64 (param_values + 1), 1567s # data2); 1567s # } 1567s # 1567s # static void 1567s # _g_dbus_codegen_marshal_VOID__UINT64 ( 1567s # GClosure *closure, 1567s # GValue *return_value G_GNUC_UNUSED, 1567s # unsigned int n_param_values, 1567s # const GValue *param_values, 1567s # void *invocation_hint G_GNUC_UNUSED, 1567s # void *marshal_data) 1567s # { 1567s # typedef void (*_GDbusCodegenMarshalVoid_Uint64Func) 1567s # (void *data1, 1567s # guint64 arg_an_t, 1567s # void *data2); 1567s # _GDbusCodegenMarshalVoid_Uint64Func callback; 1567s # GCClosure *cc = (GCClosure*) closure; 1567s # void *data1, *data2; 1567s # 1567s # g_return_if_fail (n_param_values == 2); 1567s # 1567s # if (G_CCLOSURE_SWAP_DATA (closure)) 1567s # { 1567s # data1 = closure->data; 1567s # data2 = g_value_peek_pointer (param_values + 0); 1567s # } 1567s # else 1567s # { 1567s # data1 = g_value_peek_pointer (param_values + 0); 1567s # data2 = closure->data; 1567s # } 1567s # 1567s # callback = (_GDbusCodegenMarshalVoid_Uint64Func) 1567s # (marshal_data ? marshal_data : cc->callback); 1567s # 1567s # callback (data1, 1567s # g_marshal_value_peek_uint64 (param_values + 1), 1567s # data2); 1567s # } 1567s # 1567s # /* ------------------------------------------------------------------------ 1567s # * Code for interface org.project.SignalingIface 1567s # * ------------------------------------------------------------------------ 1567s # */ 1567s # 1567s # /** 1567s # * SECTION:OrgProjectSignalingIface 1567s # * @title: OrgProjectSignalingIface 1567s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1567s # * 1567s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1567s # */ 1567s # 1567s # enum 1567s # { 1567s # _ORG_PROJECT_SIGNALING_IFACE_NO_ARG_SIGNAL, 1567s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_B, 1567s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Y, 1567s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_N, 1567s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Q, 1567s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_I, 1567s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_U, 1567s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_X, 1567s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_T, 1567s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_D, 1567s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_S, 1567s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_O, 1567s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_G, 1567s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_H, 1567s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AY, 1567s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AS, 1567s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AO, 1567s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AAY, 1567s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_ASV, 1567s # }; 1567s # 1567s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[19] = { 0 }; 1567s # 1567s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1567s # 1567s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_no_arg_signal = 1567s # { 1567s # { 1567s # -1, 1567s # (gchar *) "NoArgSignal", 1567s # NULL, 1567s # NULL 1567s # }, 1567s # "no-arg-signal" 1567s # }; 1567s # 1567s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_b_ARG_an_b = 1567s # { 1567s # { 1567s # -1, 1567s # (gchar *) "an_b", 1567s # (gchar *) "b", 1567s # NULL 1567s # }, 1567s # FALSE 1567s # }; 1567s # 1567s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_b_ARG_pointers[] = 1567s # { 1567s # &_org_project_signaling_iface_signal_info_single_arg_signal_b_ARG_an_b.parent_struct, 1567s # NULL 1567s # }; 1567s # 1567s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_b = 1567s # { 1567s # { 1567s # -1, 1567s # (gchar *) "SingleArgSignalB", 1567s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_b_ARG_pointers, 1567s # NULL 1567s # }, 1567s # "single-arg-signal-b" 1567s # }; 1567s # 1567s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_y_ARG_an_y = 1567s # { 1567s # { 1567s # -1, 1567s # (gchar *) "an_y", 1567s # (gchar *) "y", 1567s # NULL 1567s # }, 1567s # FALSE 1567s # }; 1567s # 1567s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_y_ARG_pointers[] = 1567s # { 1567s # &_org_project_signaling_iface_signal_info_single_arg_signal_y_ARG_an_y.parent_struct, 1567s # NULL 1567s # }; 1567s # 1567s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_y = 1567s # { 1567s # { 1567s # -1, 1567s # (gchar *) "SingleArgSignalY", 1567s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_y_ARG_pointers, 1567s # NULL 1567s # }, 1567s # "single-arg-signal-y" 1567s # }; 1567s # 1567s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_n_ARG_an_n = 1567s # { 1567s # { 1567s # -1, 1567s # (gchar *) "an_n", 1567s # (gchar *) "n", 1567s # NULL 1567s # }, 1567s # FALSE 1567s # }; 1567s # 1567s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_n_ARG_pointers[] = 1567s # { 1567s # &_org_project_signaling_iface_signal_info_single_arg_signal_n_ARG_an_n.parent_struct, 1567s # NULL 1567s # }; 1567s # 1567s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_n = 1567s # { 1567s # { 1567s # -1, 1567s # (gchar *) "SingleArgSignalN", 1567s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_n_ARG_pointers, 1567s # NULL 1567s # }, 1567s # "single-arg-signal-n" 1567s # }; 1567s # 1567s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_q_ARG_an_q = 1567s # { 1567s # { 1567s # -1, 1567s # (gchar *) "an_q", 1567s # (gchar *) "q", 1567s # NULL 1567s # }, 1567s # FALSE 1567s # }; 1567s # 1567s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_q_ARG_pointers[] = 1567s # { 1567s # &_org_project_signaling_iface_signal_info_single_arg_signal_q_ARG_an_q.parent_struct, 1567s # NULL 1567s # }; 1567s # 1567s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_q = 1567s # { 1567s # { 1567s # -1, 1567s # (gchar *) "SingleArgSignalQ", 1567s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_q_ARG_pointers, 1567s # NULL 1567s # }, 1567s # "single-arg-signal-q" 1567s # }; 1567s # 1567s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_i_ARG_an_i = 1567s # { 1567s # { 1567s # -1, 1567s # (gchar *) "an_i", 1567s # (gchar *) "i", 1567s # NULL 1567s # }, 1567s # FALSE 1567s # }; 1567s # 1567s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_i_ARG_pointers[] = 1567s # { 1567s # &_org_project_signaling_iface_signal_info_single_arg_signal_i_ARG_an_i.parent_struct, 1567s # NULL 1567s # }; 1567s # 1567s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_i = 1567s # { 1567s # { 1567s # -1, 1567s # (gchar *) "SingleArgSignalI", 1567s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_i_ARG_pointers, 1567s # NULL 1567s # }, 1567s # "single-arg-signal-i" 1567s # }; 1567s # 1567s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_u_ARG_an_u = 1567s # { 1567s # { 1567s # -1, 1567s # (gchar *) "an_u", 1567s # (gchar *) "u", 1567s # NULL 1567s # }, 1567s # FALSE 1567s # }; 1567s # 1567s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_u_ARG_pointers[] = 1567s # { 1567s # &_org_project_signaling_iface_signal_info_single_arg_signal_u_ARG_an_u.parent_struct, 1567s # NULL 1567s # }; 1567s # 1567s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_u = 1567s # { 1567s # { 1567s # -1, 1567s # (gchar *) "SingleArgSignalU", 1567s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_u_ARG_pointers, 1567s # NULL 1567s # }, 1567s # "single-arg-signal-u" 1567s # }; 1567s # 1567s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_x_ARG_an_x = 1567s # { 1567s # { 1567s # -1, 1567s # (gchar *) "an_x", 1567s # (gchar *) "x", 1567s # NULL 1567s # }, 1567s # FALSE 1567s # }; 1567s # 1567s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_x_ARG_pointers[] = 1567s # { 1567s # &_org_project_signaling_iface_signal_info_single_arg_signal_x_ARG_an_x.parent_struct, 1567s # NULL 1567s # }; 1567s # 1567s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_x = 1567s # { 1567s # { 1567s # -1, 1567s # (gchar *) "SingleArgSignalX", 1567s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_x_ARG_pointers, 1567s # NULL 1567s # }, 1567s # "single-arg-signal-x" 1567s # }; 1567s # 1567s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_t_ARG_an_t = 1567s # { 1567s # { 1567s # -1, 1567s # (gchar *) "an_t", 1567s # (gchar *) "t", 1567s # NULL 1567s # }, 1567s # FALSE 1567s # }; 1567s # 1567s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_t_ARG_pointers[] = 1567s # { 1567s # &_org_project_signaling_iface_signal_info_single_arg_signal_t_ARG_an_t.parent_struct, 1567s # NULL 1567s # }; 1567s # 1567s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_t = 1567s # { 1567s # { 1567s # -1, 1567s # (gchar *) "SingleArgSignalT", 1567s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_t_ARG_pointers, 1567s # NULL 1567s # }, 1567s # "single-arg-signal-t" 1567s # }; 1567s # 1567s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_d_ARG_an_d = 1567s # { 1567s # { 1567s # -1, 1567s # (gchar *) "an_d", 1567s # (gchar *) "d", 1567s # NULL 1567s # }, 1567s # FALSE 1567s # }; 1567s # 1567s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_d_ARG_pointers[] = 1567s # { 1567s # &_org_project_signaling_iface_signal_info_single_arg_signal_d_ARG_an_d.parent_struct, 1567s # NULL 1567s # }; 1567s # 1567s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_d = 1567s # { 1567s # { 1567s # -1, 1567s # (gchar *) "SingleArgSignalD", 1567s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_d_ARG_pointers, 1567s # NULL 1567s # }, 1567s # "single-arg-signal-d" 1567s # }; 1567s # 1567s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_s_ARG_an_s = 1567s # { 1567s # { 1567s # -1, 1567s # (gchar *) "an_s", 1567s # (gchar *) "s", 1567s # NULL 1567s # }, 1567s # FALSE 1567s # }; 1567s # 1567s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_s_ARG_pointers[] = 1567s # { 1567s # &_org_project_signaling_iface_signal_info_single_arg_signal_s_ARG_an_s.parent_struct, 1567s # NULL 1567s # }; 1567s # 1567s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_s = 1567s # { 1567s # { 1567s # -1, 1567s # (gchar *) "SingleArgSignalS", 1567s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_s_ARG_pointers, 1567s # NULL 1567s # }, 1567s # "single-arg-signal-s" 1567s # }; 1567s # 1567s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_o_ARG_an_o = 1567s # { 1567s # { 1567s # -1, 1567s # (gchar *) "an_o", 1567s # (gchar *) "o", 1567s # NULL 1567s # }, 1567s # FALSE 1567s # }; 1567s # 1567s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_o_ARG_pointers[] = 1567s # { 1567s # &_org_project_signaling_iface_signal_info_single_arg_signal_o_ARG_an_o.parent_struct, 1567s # NULL 1567s # }; 1567s # 1567s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_o = 1567s # { 1567s # { 1567s # -1, 1567s # (gchar *) "SingleArgSignalO", 1567s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_o_ARG_pointers, 1567s # NULL 1567s # }, 1567s # "single-arg-signal-o" 1567s # }; 1567s # 1567s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_g_ARG_an_g = 1567s # { 1567s # { 1567s # -1, 1567s # (gchar *) "an_g", 1567s # (gchar *) "g", 1567s # NULL 1567s # }, 1567s # FALSE 1567s # }; 1567s # 1567s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_g_ARG_pointers[] = 1567s # { 1567s # &_org_project_signaling_iface_signal_info_single_arg_signal_g_ARG_an_g.parent_struct, 1567s # NULL 1567s # }; 1567s # 1567s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_g = 1567s # { 1567s # { 1567s # -1, 1567s # (gchar *) "SingleArgSignalG", 1567s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_g_ARG_pointers, 1567s # NULL 1567s # }, 1567s # "single-arg-signal-g" 1567s # }; 1567s # 1567s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_h_ARG_an_h = 1567s # { 1567s # { 1567s # -1, 1567s # (gchar *) "an_h", 1567s # (gchar *) "h", 1567s # NULL 1567s # }, 1567s # FALSE 1567s # }; 1567s # 1567s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_h_ARG_pointers[] = 1567s # { 1567s # &_org_project_signaling_iface_signal_info_single_arg_signal_h_ARG_an_h.parent_struct, 1567s # NULL 1567s # }; 1567s # 1567s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_h = 1567s # { 1567s # { 1567s # -1, 1567s # (gchar *) "SingleArgSignalH", 1567s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_h_ARG_pointers, 1567s # NULL 1567s # }, 1567s # "single-arg-signal-h" 1567s # }; 1567s # 1567s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_ay_ARG_an_ay = 1567s # { 1567s # { 1567s # -1, 1567s # (gchar *) "an_ay", 1567s # (gchar *) "ay", 1567s # NULL 1567s # }, 1567s # FALSE 1567s # }; 1567s # 1567s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_ay_ARG_pointers[] = 1567s # { 1567s # &_org_project_signaling_iface_signal_info_single_arg_signal_ay_ARG_an_ay.parent_struct, 1567s # NULL 1567s # }; 1567s # 1567s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_ay = 1567s # { 1567s # { 1567s # -1, 1567s # (gchar *) "SingleArgSignalAY", 1567s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_ay_ARG_pointers, 1567s # NULL 1567s # }, 1567s # "single-arg-signal-ay" 1567s # }; 1567s # 1567s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_as_ARG_an_as = 1567s # { 1567s # { 1567s # -1, 1567s # (gchar *) "an_as", 1567s # (gchar *) "as", 1567s # NULL 1567s # }, 1567s # FALSE 1567s # }; 1567s # 1567s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_as_ARG_pointers[] = 1567s # { 1567s # &_org_project_signaling_iface_signal_info_single_arg_signal_as_ARG_an_as.parent_struct, 1567s # NULL 1567s # }; 1567s # 1567s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_as = 1567s # { 1567s # { 1567s # -1, 1567s # (gchar *) "SingleArgSignalAS", 1567s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_as_ARG_pointers, 1567s # NULL 1567s # }, 1567s # "single-arg-signal-as" 1567s # }; 1567s # 1567s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_ao_ARG_an_ao = 1567s # { 1567s # { 1567s # -1, 1567s # (gchar *) "an_ao", 1567s # (gchar *) "ao", 1567s # NULL 1567s # }, 1567s # FALSE 1567s # }; 1567s # 1567s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_ao_ARG_pointers[] = 1567s # { 1567s # &_org_project_signaling_iface_signal_info_single_arg_signal_ao_ARG_an_ao.parent_struct, 1567s # NULL 1567s # }; 1567s # 1567s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_ao = 1567s # { 1567s # { 1567s # -1, 1567s # (gchar *) "SingleArgSignalAO", 1567s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_ao_ARG_pointers, 1567s # NULL 1567s # }, 1567s # "single-arg-signal-ao" 1567s # }; 1567s # 1567s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_aay_ARG_an_aay = 1567s # { 1567s # { 1567s # -1, 1567s # (gchar *) "an_aay", 1567s # (gchar *) "aay", 1567s # NULL 1567s # }, 1567s # FALSE 1567s # }; 1567s # 1567s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_aay_ARG_pointers[] = 1567s # { 1567s # &_org_project_signaling_iface_signal_info_single_arg_signal_aay_ARG_an_aay.parent_struct, 1567s # NULL 1567s # }; 1567s # 1567s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_aay = 1567s # { 1567s # { 1567s # -1, 1567s # (gchar *) "SingleArgSignalAAY", 1567s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_aay_ARG_pointers, 1567s # NULL 1567s # }, 1567s # "single-arg-signal-aay" 1567s # }; 1567s # 1567s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_asv_ARG_an_asv = 1567s # { 1567s # { 1567s # -1, 1567s # (gchar *) "an_asv", 1567s # (gchar *) "a{sv}", 1567s # NULL 1567s # }, 1567s # FALSE 1567s # }; 1567s # 1567s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_asv_ARG_pointers[] = 1567s # { 1567s # &_org_project_signaling_iface_signal_info_single_arg_signal_asv_ARG_an_asv.parent_struct, 1567s # NULL 1567s # }; 1567s # 1567s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_asv = 1567s # { 1567s # { 1567s # -1, 1567s # (gchar *) "SingleArgSignalASV", 1567s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_asv_ARG_pointers, 1567s # NULL 1567s # }, 1567s # "single-arg-signal-asv" 1567s # }; 1567s # 1567s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1567s # { 1567s # &_org_project_signaling_iface_signal_info_no_arg_signal.parent_struct, 1567s # &_org_project_signaling_iface_signal_info_single_arg_signal_b.parent_struct, 1567s # &_org_project_signaling_iface_signal_info_single_arg_signal_y.parent_struct, 1567s # &_org_project_signaling_iface_signal_info_single_arg_signal_n.parent_struct, 1567s # &_org_project_signaling_iface_signal_info_single_arg_signal_q.parent_struct, 1567s # &_org_project_signaling_iface_signal_info_single_arg_signal_i.parent_struct, 1567s # &_org_project_signaling_iface_signal_info_single_arg_signal_u.parent_struct, 1567s # &_org_project_signaling_iface_signal_info_single_arg_signal_x.parent_struct, 1567s # &_org_project_signaling_iface_signal_info_single_arg_signal_t.parent_struct, 1567s # &_org_project_signaling_iface_signal_info_single_arg_signal_d.parent_struct, 1567s # &_org_project_signaling_iface_signal_info_single_arg_signal_s.parent_struct, 1567s # &_org_project_signaling_iface_signal_info_single_arg_signal_o.parent_struct, 1567s # &_org_project_signaling_iface_signal_info_single_arg_signal_g.parent_struct, 1567s # &_org_project_signaling_iface_signal_info_single_arg_signal_h.parent_struct, 1567s # &_org_project_signaling_iface_signal_info_single_arg_signal_ay.parent_struct, 1567s # &_org_project_signaling_iface_signal_info_single_arg_signal_as.parent_struct, 1567s # &_org_project_signaling_iface_signal_info_single_arg_signal_ao.parent_struct, 1567s # &_org_project_signaling_iface_signal_info_single_arg_signal_aay.parent_struct, 1567s # &_org_project_signaling_iface_signal_info_single_arg_signal_asv.parent_struct, 1567s # NULL 1567s # }; 1567s # 1567s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1567s # { 1567s # { 1567s # -1, 1567s # (gchar *) "org.project.SignalingIface", 1567s # NULL, 1567s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1567s # NULL, 1567s # NULL 1567s # }, 1567s # "org-project-signaling-iface", 1567s # }; 1567s # 1567s # 1567s # /** 1567s # * org_project_signaling_iface_interface_info: 1567s # * 1567s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1567s # * 1567s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1567s # */ 1567s # GDBusInterfaceInfo * 1567s # org_project_signaling_iface_interface_info (void) 1567s # { 1567s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1567s # } 1567s # 1567s # /** 1567s # * org_project_signaling_iface_override_properties: 1567s # * @klass: The class structure for a #GObject derived class. 1567s # * @property_id_begin: The property id to assign to the first overridden property. 1567s # * 1567s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1567s # * The properties are overridden in the order they are defined. 1567s # * 1567s # * Returns: The last property id. 1567s # */ 1567s # guint 1567s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1567s # { 1567s # return property_id_begin - 1; 1567s # } 1567s # 1567s # 1567s # inline static void 1567s # org_project_signaling_iface_signal_marshal_no_arg_signal ( 1567s # GClosure *closure, 1567s # GValue *return_value, 1567s # unsigned int n_param_values, 1567s # const GValue *param_values, 1567s # void *invocation_hint, 1567s # void *marshal_data) 1567s # { 1567s # g_cclosure_marshal_VOID__VOID (closure, 1567s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1567s # } 1567s # 1567s # inline static void 1567s # org_project_signaling_iface_signal_marshal_single_arg_signal_b ( 1567s # GClosure *closure, 1567s # GValue *return_value, 1567s # unsigned int n_param_values, 1567s # const GValue *param_values, 1567s # void *invocation_hint, 1567s # void *marshal_data) 1567s # { 1567s # g_cclosure_marshal_VOID__BOOLEAN (closure, 1567s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1567s # } 1567s # 1567s # inline static void 1567s # org_project_signaling_iface_signal_marshal_single_arg_signal_y ( 1567s # GClosure *closure, 1567s # GValue *return_value, 1567s # unsigned int n_param_values, 1567s # const GValue *param_values, 1567s # void *invocation_hint, 1567s # void *marshal_data) 1567s # { 1567s # g_cclosure_marshal_VOID__UCHAR (closure, 1567s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1567s # } 1567s # 1567s # inline static void 1567s # org_project_signaling_iface_signal_marshal_single_arg_signal_n ( 1567s # GClosure *closure, 1567s # GValue *return_value, 1567s # unsigned int n_param_values, 1567s # const GValue *param_values, 1567s # void *invocation_hint, 1567s # void *marshal_data) 1567s # { 1567s # g_cclosure_marshal_VOID__INT (closure, 1567s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1567s # } 1567s # 1567s # inline static void 1567s # org_project_signaling_iface_signal_marshal_single_arg_signal_q ( 1567s # GClosure *closure, 1567s # GValue *return_value, 1567s # unsigned int n_param_values, 1567s # const GValue *param_values, 1567s # void *invocation_hint, 1567s # void *marshal_data) 1567s # { 1567s # g_cclosure_marshal_VOID__UINT (closure, 1567s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1567s # } 1567s # 1567s # inline static void 1567s # org_project_signaling_iface_signal_marshal_single_arg_signal_i ( 1567s # GClosure *closure, 1567s # GValue *return_value, 1567s # unsigned int n_param_values, 1567s # const GValue *param_values, 1567s # void *invocation_hint, 1567s # void *marshal_data) 1567s # { 1567s # g_cclosure_marshal_VOID__INT (closure, 1567s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1567s # } 1567s # 1567s # inline static void 1567s # org_project_signaling_iface_signal_marshal_single_arg_signal_u ( 1567s # GClosure *closure, 1567s # GValue *return_value, 1567s # unsigned int n_param_values, 1567s # const GValue *param_values, 1567s # void *invocation_hint, 1567s # void *marshal_data) 1567s # { 1567s # g_cclosure_marshal_VOID__UINT (closure, 1567s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1567s # } 1567s # 1567s # inline static void 1567s # org_project_signaling_iface_signal_marshal_single_arg_signal_x ( 1567s # GClosure *closure, 1567s # GValue *return_value, 1567s # unsigned int n_param_values, 1567s # const GValue *param_values, 1567s # void *invocation_hint, 1567s # void *marshal_data) 1567s # { 1567s # _g_dbus_codegen_marshal_VOID__INT64 (closure, 1567s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1567s # } 1567s # 1567s # inline static void 1567s # org_project_signaling_iface_signal_marshal_single_arg_signal_t ( 1567s # GClosure *closure, 1567s # GValue *return_value, 1567s # unsigned int n_param_values, 1567s # const GValue *param_values, 1567s # void *invocation_hint, 1567s # void *marshal_data) 1567s # { 1567s # _g_dbus_codegen_marshal_VOID__UINT64 (closure, 1567s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1567s # } 1567s # 1567s # inline static void 1567s # org_project_signaling_iface_signal_marshal_single_arg_signal_d ( 1567s # GClosure *closure, 1567s # GValue *return_value, 1567s # unsigned int n_param_values, 1567s # const GValue *param_values, 1567s # void *invocation_hint, 1567s # void *marshal_data) 1567s # { 1567s # g_cclosure_marshal_VOID__DOUBLE (closure, 1567s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1567s # } 1567s # 1567s # inline static void 1567s # org_project_signaling_iface_signal_marshal_single_arg_signal_s ( 1567s # GClosure *closure, 1567s # GValue *return_value, 1567s # unsigned int n_param_values, 1567s # const GValue *param_values, 1567s # void *invocation_hint, 1567s # void *marshal_data) 1567s # { 1567s # g_cclosure_marshal_VOID__STRING (closure, 1567s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1567s # } 1567s # 1567s # inline static void 1567s # org_project_signaling_iface_signal_marshal_single_arg_signal_o ( 1567s # GClosure *closure, 1567s # GValue *return_value, 1567s # unsigned int n_param_values, 1567s # const GValue *param_values, 1567s # void *invocation_hint, 1567s # void *marshal_data) 1567s # { 1567s # g_cclosure_marshal_VOID__STRING (closure, 1567s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1567s # } 1567s # 1567s # inline static void 1567s # org_project_signaling_iface_signal_marshal_single_arg_signal_g ( 1567s # GClosure *closure, 1567s # GValue *return_value, 1567s # unsigned int n_param_values, 1567s # const GValue *param_values, 1567s # void *invocation_hint, 1567s # void *marshal_data) 1567s # { 1567s # g_cclosure_marshal_VOID__STRING (closure, 1567s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1567s # } 1567s # 1567s # inline static void 1567s # org_project_signaling_iface_signal_marshal_single_arg_signal_h ( 1567s # GClosure *closure, 1567s # GValue *return_value, 1567s # unsigned int n_param_values, 1567s # const GValue *param_values, 1567s # void *invocation_hint, 1567s # void *marshal_data) 1567s # { 1567s # g_cclosure_marshal_VOID__VARIANT (closure, 1567s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1567s # } 1567s # 1567s # inline static void 1567s # org_project_signaling_iface_signal_marshal_single_arg_signal_ay ( 1567s # GClosure *closure, 1567s # GValue *return_value, 1567s # unsigned int n_param_values, 1567s # const GValue *param_values, 1567s # void *invocation_hint, 1567s # void *marshal_data) 1567s # { 1567s # g_cclosure_marshal_VOID__STRING (closure, 1567s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1567s # } 1567s # 1567s # inline static void 1567s # org_project_signaling_iface_signal_marshal_single_arg_signal_as ( 1567s # GClosure *closure, 1567s # GValue *return_value, 1567s # unsigned int n_param_values, 1567s # const GValue *param_values, 1567s # void *invocation_hint, 1567s # void *marshal_data) 1567s # { 1567s # g_cclosure_marshal_VOID__BOXED (closure, 1567s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1567s # } 1567s # 1567s # inline static void 1567s # org_project_signaling_iface_signal_marshal_single_arg_signal_ao ( 1567s # GClosure *closure, 1567s # GValue *return_value, 1567s # unsigned int n_param_values, 1567s # const GValue *param_values, 1567s # void *invocation_hint, 1567s # void *marshal_data) 1567s # { 1567s # g_cclosure_marshal_VOID__BOXED (closure, 1567s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1567s # } 1567s # 1567s # inline static void 1567s # org_project_signaling_iface_signal_marshal_single_arg_signal_aay ( 1567s # GClosure *closure, 1567s # GValue *return_value, 1567s # unsigned int n_param_values, 1567s # const GValue *param_values, 1567s # void *invocation_hint, 1567s # void *marshal_data) 1567s # { 1567s # g_cclosure_marshal_VOID__BOXED (closure, 1567s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1567s # } 1567s # 1567s # inline static void 1567s # org_project_signaling_iface_signal_marshal_single_arg_signal_asv ( 1567s # GClosure *closure, 1567s # GValue *return_value, 1567s # unsigned int n_param_values, 1567s # const GValue *param_values, 1567s # void *invocation_hint, 1567s # void *marshal_data) 1567s # { 1567s # g_cclosure_marshal_VOID__VARIANT (closure, 1567s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1567s # } 1567s # 1567s # 1567s # /** 1567s # * OrgProjectSignalingIface: 1567s # * 1567s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1567s # */ 1567s # 1567s # /** 1567s # * OrgProjectSignalingIfaceIface: 1567s # * @parent_iface: The parent interface. 1567s # * @no_arg_signal: Handler for the #OrgProjectSignalingIface::no-arg-signal signal. 1567s # * @single_arg_signal_aay: Handler for the #OrgProjectSignalingIface::single-arg-signal-aay signal. 1567s # * @single_arg_signal_ao: Handler for the #OrgProjectSignalingIface::single-arg-signal-ao signal. 1567s # * @single_arg_signal_as: Handler for the #OrgProjectSignalingIface::single-arg-signal-as signal. 1567s # * @single_arg_signal_asv: Handler for the #OrgProjectSignalingIface::single-arg-signal-asv signal. 1567s # * @single_arg_signal_ay: Handler for the #OrgProjectSignalingIface::single-arg-signal-ay signal. 1567s # * @single_arg_signal_b: Handler for the #OrgProjectSignalingIface::single-arg-signal-b signal. 1567s # * @single_arg_signal_d: Handler for the #OrgProjectSignalingIface::single-arg-signal-d signal. 1567s # * @single_arg_signal_g: Handler for the #OrgProjectSignalingIface::single-arg-signal-g signal. 1567s # * @single_arg_signal_h: Handler for the #OrgProjectSignalingIface::single-arg-signal-h signal. 1567s # * @single_arg_signal_i: Handler for the #OrgProjectSignalingIface::single-arg-signal-i signal. 1567s # * @single_arg_signal_n: Handler for the #OrgProjectSignalingIface::single-arg-signal-n signal. 1567s # * @single_arg_signal_o: Handler for the #OrgProjectSignalingIface::single-arg-signal-o signal. 1567s # * @single_arg_signal_q: Handler for the #OrgProjectSignalingIface::single-arg-signal-q signal. 1567s # * @single_arg_signal_s: Handler for the #OrgProjectSignalingIface::single-arg-signal-s signal. 1567s # * @single_arg_signal_t: Handler for the #OrgProjectSignalingIface::single-arg-signal-t signal. 1567s # * @single_arg_signal_u: Handler for the #OrgProjectSignalingIface::single-arg-signal-u signal. 1567s # * @single_arg_signal_x: Handler for the #OrgProjectSignalingIface::single-arg-signal-x signal. 1567s # * @single_arg_signal_y: Handler for the #OrgProjectSignalingIface::single-arg-signal-y signal. 1567s # * 1567s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1567s # */ 1567s # 1567s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1567s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1567s # 1567s # static void 1567s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1567s # { 1567s # /* GObject signals for received D-Bus signals: */ 1567s # /** 1567s # * OrgProjectSignalingIface::no-arg-signal: 1567s # * @object: A #OrgProjectSignalingIface. 1567s # * 1567s # * On the client-side, this signal is emitted whenever the D-Bus signal "NoArgSignal" is received. 1567s # * 1567s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1567s # */ 1567s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_NO_ARG_SIGNAL] = 1567s # g_signal_new ("no-arg-signal", 1567s # G_TYPE_FROM_INTERFACE (iface), 1567s # G_SIGNAL_RUN_LAST, 1567s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, no_arg_signal), 1567s # NULL, 1567s # NULL, 1567s # org_project_signaling_iface_signal_marshal_no_arg_signal, 1567s # G_TYPE_NONE, 1567s # 0); 1567s # 1567s # /** 1567s # * OrgProjectSignalingIface::single-arg-signal-b: 1567s # * @object: A #OrgProjectSignalingIface. 1567s # * @arg_an_b: Argument. 1567s # * 1567s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalB" is received. 1567s # * 1567s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1567s # */ 1567s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_B] = 1567s # g_signal_new ("single-arg-signal-b", 1567s # G_TYPE_FROM_INTERFACE (iface), 1567s # G_SIGNAL_RUN_LAST, 1567s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_b), 1567s # NULL, 1567s # NULL, 1567s # org_project_signaling_iface_signal_marshal_single_arg_signal_b, 1567s # G_TYPE_NONE, 1567s # 1, G_TYPE_BOOLEAN); 1567s # 1567s # /** 1567s # * OrgProjectSignalingIface::single-arg-signal-y: 1567s # * @object: A #OrgProjectSignalingIface. 1567s # * @arg_an_y: Argument. 1567s # * 1567s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalY" is received. 1567s # * 1567s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1567s # */ 1567s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Y] = 1567s # g_signal_new ("single-arg-signal-y", 1567s # G_TYPE_FROM_INTERFACE (iface), 1567s # G_SIGNAL_RUN_LAST, 1567s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_y), 1567s # NULL, 1567s # NULL, 1567s # org_project_signaling_iface_signal_marshal_single_arg_signal_y, 1567s # G_TYPE_NONE, 1567s # 1, G_TYPE_UCHAR); 1567s # 1567s # /** 1567s # * OrgProjectSignalingIface::single-arg-signal-n: 1567s # * @object: A #OrgProjectSignalingIface. 1567s # * @arg_an_n: Argument. 1567s # * 1567s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalN" is received. 1567s # * 1567s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1567s # */ 1567s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_N] = 1567s # g_signal_new ("single-arg-signal-n", 1567s # G_TYPE_FROM_INTERFACE (iface), 1567s # G_SIGNAL_RUN_LAST, 1567s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_n), 1567s # NULL, 1567s # NULL, 1567s # org_project_signaling_iface_signal_marshal_single_arg_signal_n, 1567s # G_TYPE_NONE, 1567s # 1, G_TYPE_INT); 1567s # 1567s # /** 1567s # * OrgProjectSignalingIface::single-arg-signal-q: 1567s # * @object: A #OrgProjectSignalingIface. 1567s # * @arg_an_q: Argument. 1567s # * 1567s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalQ" is received. 1567s # * 1567s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1567s # */ 1567s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Q] = 1567s # g_signal_new ("single-arg-signal-q", 1567s # G_TYPE_FROM_INTERFACE (iface), 1567s # G_SIGNAL_RUN_LAST, 1567s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_q), 1567s # NULL, 1567s # NULL, 1567s # org_project_signaling_iface_signal_marshal_single_arg_signal_q, 1567s # G_TYPE_NONE, 1567s # 1, G_TYPE_UINT); 1567s # 1567s # /** 1567s # * OrgProjectSignalingIface::single-arg-signal-i: 1567s # * @object: A #OrgProjectSignalingIface. 1567s # * @arg_an_i: Argument. 1567s # * 1567s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalI" is received. 1567s # * 1567s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1567s # */ 1567s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_I] = 1567s # g_signal_new ("single-arg-signal-i", 1567s # G_TYPE_FROM_INTERFACE (iface), 1567s # G_SIGNAL_RUN_LAST, 1567s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_i), 1567s # NULL, 1567s # NULL, 1567s # org_project_signaling_iface_signal_marshal_single_arg_signal_i, 1567s # G_TYPE_NONE, 1567s # 1, G_TYPE_INT); 1567s # 1567s # /** 1567s # * OrgProjectSignalingIface::single-arg-signal-u: 1567s # * @object: A #OrgProjectSignalingIface. 1567s # * @arg_an_u: Argument. 1567s # * 1567s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalU" is received. 1567s # * 1567s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1567s # */ 1567s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_U] = 1567s # g_signal_new ("single-arg-signal-u", 1567s # G_TYPE_FROM_INTERFACE (iface), 1567s # G_SIGNAL_RUN_LAST, 1567s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_u), 1567s # NULL, 1567s # NULL, 1567s # org_project_signaling_iface_signal_marshal_single_arg_signal_u, 1567s # G_TYPE_NONE, 1567s # 1, G_TYPE_UINT); 1567s # 1567s # /** 1567s # * OrgProjectSignalingIface::single-arg-signal-x: 1567s # * @object: A #OrgProjectSignalingIface. 1567s # * @arg_an_x: Argument. 1567s # * 1567s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalX" is received. 1567s # * 1567s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1567s # */ 1567s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_X] = 1567s # g_signal_new ("single-arg-signal-x", 1567s # G_TYPE_FROM_INTERFACE (iface), 1567s # G_SIGNAL_RUN_LAST, 1567s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_x), 1567s # NULL, 1567s # NULL, 1567s # org_project_signaling_iface_signal_marshal_single_arg_signal_x, 1567s # G_TYPE_NONE, 1567s # 1, G_TYPE_INT64); 1567s # 1567s # /** 1567s # * OrgProjectSignalingIface::single-arg-signal-t: 1567s # * @object: A #OrgProjectSignalingIface. 1567s # * @arg_an_t: Argument. 1567s # * 1567s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalT" is received. 1567s # * 1567s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1567s # */ 1567s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_T] = 1567s # g_signal_new ("single-arg-signal-t", 1567s # G_TYPE_FROM_INTERFACE (iface), 1567s # G_SIGNAL_RUN_LAST, 1567s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_t), 1567s # NULL, 1567s # NULL, 1567s # org_project_signaling_iface_signal_marshal_single_arg_signal_t, 1567s # G_TYPE_NONE, 1567s # 1, G_TYPE_UINT64); 1567s # 1567s # /** 1567s # * OrgProjectSignalingIface::single-arg-signal-d: 1567s # * @object: A #OrgProjectSignalingIface. 1567s # * @arg_an_d: Argument. 1567s # * 1567s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalD" is received. 1567s # * 1567s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1567s # */ 1567s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_D] = 1567s # g_signal_new ("single-arg-signal-d", 1567s # G_TYPE_FROM_INTERFACE (iface), 1567s # G_SIGNAL_RUN_LAST, 1567s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_d), 1567s # NULL, 1567s # NULL, 1567s # org_project_signaling_iface_signal_marshal_single_arg_signal_d, 1567s # G_TYPE_NONE, 1567s # 1, G_TYPE_DOUBLE); 1567s # 1567s # /** 1567s # * OrgProjectSignalingIface::single-arg-signal-s: 1567s # * @object: A #OrgProjectSignalingIface. 1567s # * @arg_an_s: Argument. 1567s # * 1567s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalS" is received. 1567s # * 1567s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1567s # */ 1567s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_S] = 1567s # g_signal_new ("single-arg-signal-s", 1567s # G_TYPE_FROM_INTERFACE (iface), 1567s # G_SIGNAL_RUN_LAST, 1567s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_s), 1567s # NULL, 1567s # NULL, 1567s # org_project_signaling_iface_signal_marshal_single_arg_signal_s, 1567s # G_TYPE_NONE, 1567s # 1, G_TYPE_STRING); 1567s # 1567s # /** 1567s # * OrgProjectSignalingIface::single-arg-signal-o: 1567s # * @object: A #OrgProjectSignalingIface. 1567s # * @arg_an_o: Argument. 1567s # * 1567s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalO" is received. 1567s # * 1567s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1567s # */ 1567s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_O] = 1567s # g_signal_new ("single-arg-signal-o", 1567s # G_TYPE_FROM_INTERFACE (iface), 1567s # G_SIGNAL_RUN_LAST, 1567s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_o), 1567s # NULL, 1567s # NULL, 1567s # org_project_signaling_iface_signal_marshal_single_arg_signal_o, 1567s # G_TYPE_NONE, 1567s # 1, G_TYPE_STRING); 1567s # 1567s # /** 1567s # * OrgProjectSignalingIface::single-arg-signal-g: 1567s # * @object: A #OrgProjectSignalingIface. 1567s # * @arg_an_g: Argument. 1567s # * 1567s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalG" is received. 1567s # * 1567s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1567s # */ 1567s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_G] = 1567s # g_signal_new ("single-arg-signal-g", 1567s # G_TYPE_FROM_INTERFACE (iface), 1567s # G_SIGNAL_RUN_LAST, 1567s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_g), 1567s # NULL, 1567s # NULL, 1567s # org_project_signaling_iface_signal_marshal_single_arg_signal_g, 1567s # G_TYPE_NONE, 1567s # 1, G_TYPE_STRING); 1567s # 1567s # /** 1567s # * OrgProjectSignalingIface::single-arg-signal-h: 1567s # * @object: A #OrgProjectSignalingIface. 1567s # * @arg_an_h: Argument. 1567s # * 1567s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalH" is received. 1567s # * 1567s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1567s # */ 1567s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_H] = 1567s # g_signal_new ("single-arg-signal-h", 1567s # G_TYPE_FROM_INTERFACE (iface), 1567s # G_SIGNAL_RUN_LAST, 1567s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_h), 1567s # NULL, 1567s # NULL, 1567s # org_project_signaling_iface_signal_marshal_single_arg_signal_h, 1567s # G_TYPE_NONE, 1567s # 1, G_TYPE_VARIANT); 1567s # 1567s # /** 1567s # * OrgProjectSignalingIface::single-arg-signal-ay: 1567s # * @object: A #OrgProjectSignalingIface. 1567s # * @arg_an_ay: Argument. 1567s # * 1567s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalAY" is received. 1567s # * 1567s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1567s # */ 1567s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AY] = 1567s # g_signal_new ("single-arg-signal-ay", 1567s # G_TYPE_FROM_INTERFACE (iface), 1567s # G_SIGNAL_RUN_LAST, 1567s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_ay), 1567s # NULL, 1567s # NULL, 1567s # org_project_signaling_iface_signal_marshal_single_arg_signal_ay, 1567s # G_TYPE_NONE, 1567s # 1, G_TYPE_STRING); 1567s # 1567s # /** 1567s # * OrgProjectSignalingIface::single-arg-signal-as: 1567s # * @object: A #OrgProjectSignalingIface. 1567s # * @arg_an_as: Argument. 1567s # * 1567s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalAS" is received. 1567s # * 1567s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1567s # */ 1567s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AS] = 1567s # g_signal_new ("single-arg-signal-as", 1567s # G_TYPE_FROM_INTERFACE (iface), 1567s # G_SIGNAL_RUN_LAST, 1567s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_as), 1567s # NULL, 1567s # NULL, 1567s # org_project_signaling_iface_signal_marshal_single_arg_signal_as, 1567s # G_TYPE_NONE, 1567s # 1, G_TYPE_STRV); 1567s # 1567s # /** 1567s # * OrgProjectSignalingIface::single-arg-signal-ao: 1567s # * @object: A #OrgProjectSignalingIface. 1567s # * @arg_an_ao: Argument. 1567s # * 1567s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalAO" is received. 1567s # * 1567s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1567s # */ 1567s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AO] = 1567s # g_signal_new ("single-arg-signal-ao", 1567s # G_TYPE_FROM_INTERFACE (iface), 1567s # G_SIGNAL_RUN_LAST, 1567s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_ao), 1567s # NULL, 1567s # NULL, 1567s # org_project_signaling_iface_signal_marshal_single_arg_signal_ao, 1567s # G_TYPE_NONE, 1567s # 1, G_TYPE_STRV); 1567s # 1567s # /** 1567s # * OrgProjectSignalingIface::single-arg-signal-aay: 1567s # * @object: A #OrgProjectSignalingIface. 1567s # * @arg_an_aay: Argument. 1567s # * 1567s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalAAY" is received. 1567s # * 1567s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1567s # */ 1567s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AAY] = 1567s # g_signal_new ("single-arg-signal-aay", 1567s # G_TYPE_FROM_INTERFACE (iface), 1567s # G_SIGNAL_RUN_LAST, 1567s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_aay), 1567s # NULL, 1567s # NULL, 1567s # org_project_signaling_iface_signal_marshal_single_arg_signal_aay, 1567s # G_TYPE_NONE, 1567s # 1, G_TYPE_STRV); 1567s # 1567s # /** 1567s # * OrgProjectSignalingIface::single-arg-signal-asv: 1567s # * @object: A #OrgProjectSignalingIface. 1567s # * @arg_an_asv: Argument. 1567s # * 1567s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalASV" is received. 1567s # * 1567s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1567s # */ 1567s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_ASV] = 1567s # g_signal_new ("single-arg-signal-asv", 1567s # G_TYPE_FROM_INTERFACE (iface), 1567s # G_SIGNAL_RUN_LAST, 1567s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_asv), 1567s # NULL, 1567s # NULL, 1567s # org_project_signaling_iface_signal_marshal_single_arg_signal_asv, 1567s # G_TYPE_NONE, 1567s # 1, G_TYPE_VARIANT); 1567s # 1567s # } 1567s # 1567s # /** 1567s # * org_project_signaling_iface_emit_no_arg_signal: 1567s # * @object: A #OrgProjectSignalingIface. 1567s # * 1567s # * Emits the "NoArgSignal" D-Bus signal. 1567s # */ 1567s # void 1567s # org_project_signaling_iface_emit_no_arg_signal ( 1567s # OrgProjectSignalingIface *object) 1567s # { 1567s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_NO_ARG_SIGNAL], 0); 1567s # } 1567s # 1567s # /** 1567s # * org_project_signaling_iface_emit_single_arg_signal_b: 1567s # * @object: A #OrgProjectSignalingIface. 1567s # * @arg_an_b: Argument to pass with the signal. 1567s # * 1567s # * Emits the "SingleArgSignalB" D-Bus signal. 1567s # */ 1567s # void 1567s # org_project_signaling_iface_emit_single_arg_signal_b ( 1567s # OrgProjectSignalingIface *object, 1567s # gboolean arg_an_b) 1567s # { 1567s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_B], 0, arg_an_b); 1567s # } 1567s # 1567s # /** 1567s # * org_project_signaling_iface_emit_single_arg_signal_y: 1567s # * @object: A #OrgProjectSignalingIface. 1567s # * @arg_an_y: Argument to pass with the signal. 1567s # * 1567s # * Emits the "SingleArgSignalY" D-Bus signal. 1567s # */ 1567s # void 1567s # org_project_signaling_iface_emit_single_arg_signal_y ( 1567s # OrgProjectSignalingIface *object, 1567s # guchar arg_an_y) 1567s # { 1567s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Y], 0, arg_an_y); 1567s # } 1567s # 1567s # /** 1567s # * org_project_signaling_iface_emit_single_arg_signal_n: 1567s # * @object: A #OrgProjectSignalingIface. 1567s # * @arg_an_n: Argument to pass with the signal. 1567s # * 1567s # * Emits the "SingleArgSignalN" D-Bus signal. 1567s # */ 1567s # void 1567s # org_project_signaling_iface_emit_single_arg_signal_n ( 1567s # OrgProjectSignalingIface *object, 1567s # gint16 arg_an_n) 1567s # { 1567s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_N], 0, arg_an_n); 1567s # } 1567s # 1567s # /** 1567s # * org_project_signaling_iface_emit_single_arg_signal_q: 1567s # * @object: A #OrgProjectSignalingIface. 1567s # * @arg_an_q: Argument to pass with the signal. 1567s # * 1567s # * Emits the "SingleArgSignalQ" D-Bus signal. 1567s # */ 1567s # void 1567s # org_project_signaling_iface_emit_single_arg_signal_q ( 1567s # OrgProjectSignalingIface *object, 1567s # guint16 arg_an_q) 1567s # { 1567s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Q], 0, arg_an_q); 1567s # } 1567s # 1567s # /** 1567s # * org_project_signaling_iface_emit_single_arg_signal_i: 1567s # * @object: A #OrgProjectSignalingIface. 1567s # * @arg_an_i: Argument to pass with the signal. 1567s # * 1567s # * Emits the "SingleArgSignalI" D-Bus signal. 1567s # */ 1567s # void 1567s # org_project_signaling_iface_emit_single_arg_signal_i ( 1567s # OrgProjectSignalingIface *object, 1567s # gint arg_an_i) 1567s # { 1567s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_I], 0, arg_an_i); 1567s # } 1567s # 1567s # /** 1567s # * org_project_signaling_iface_emit_single_arg_signal_u: 1567s # * @object: A #OrgProjectSignalingIface. 1567s # * @arg_an_u: Argument to pass with the signal. 1567s # * 1567s # * Emits the "SingleArgSignalU" D-Bus signal. 1567s # */ 1567s # void 1567s # org_project_signaling_iface_emit_single_arg_signal_u ( 1567s # OrgProjectSignalingIface *object, 1567s # guint arg_an_u) 1567s # { 1567s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_U], 0, arg_an_u); 1567s # } 1567s # 1567s # /** 1567s # * org_project_signaling_iface_emit_single_arg_signal_x: 1567s # * @object: A #OrgProjectSignalingIface. 1567s # * @arg_an_x: Argument to pass with the signal. 1567s # * 1567s # * Emits the "SingleArgSignalX" D-Bus signal. 1567s # */ 1567s # void 1567s # org_project_signaling_iface_emit_single_arg_signal_x ( 1567s # OrgProjectSignalingIface *object, 1567s # gint64 arg_an_x) 1567s # { 1567s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_X], 0, arg_an_x); 1567s # } 1567s # 1567s # /** 1567s # * org_project_signaling_iface_emit_single_arg_signal_t: 1567s # * @object: A #OrgProjectSignalingIface. 1567s # * @arg_an_t: Argument to pass with the signal. 1567s # * 1567s # * Emits the "SingleArgSignalT" D-Bus signal. 1567s # */ 1567s # void 1567s # org_project_signaling_iface_emit_single_arg_signal_t ( 1567s # OrgProjectSignalingIface *object, 1567s # guint64 arg_an_t) 1567s # { 1567s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_T], 0, arg_an_t); 1567s # } 1567s # 1567s # /** 1567s # * org_project_signaling_iface_emit_single_arg_signal_d: 1567s # * @object: A #OrgProjectSignalingIface. 1567s # * @arg_an_d: Argument to pass with the signal. 1567s # * 1567s # * Emits the "SingleArgSignalD" D-Bus signal. 1567s # */ 1567s # void 1567s # org_project_signaling_iface_emit_single_arg_signal_d ( 1567s # OrgProjectSignalingIface *object, 1567s # gdouble arg_an_d) 1567s # { 1567s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_D], 0, arg_an_d); 1567s # } 1567s # 1567s # /** 1567s # * org_project_signaling_iface_emit_single_arg_signal_s: 1567s # * @object: A #OrgProjectSignalingIface. 1567s # * @arg_an_s: Argument to pass with the signal. 1567s # * 1567s # * Emits the "SingleArgSignalS" D-Bus signal. 1567s # */ 1567s # void 1567s # org_project_signaling_iface_emit_single_arg_signal_s ( 1567s # OrgProjectSignalingIface *object, 1567s # const gchar *arg_an_s) 1567s # { 1567s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_S], 0, arg_an_s); 1567s # } 1567s # 1567s # /** 1567s # * org_project_signaling_iface_emit_single_arg_signal_o: 1567s # * @object: A #OrgProjectSignalingIface. 1567s # * @arg_an_o: Argument to pass with the signal. 1567s # * 1567s # * Emits the "SingleArgSignalO" D-Bus signal. 1567s # */ 1567s # void 1567s # org_project_signaling_iface_emit_single_arg_signal_o ( 1567s # OrgProjectSignalingIface *object, 1567s # const gchar *arg_an_o) 1567s # { 1567s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_O], 0, arg_an_o); 1567s # } 1567s # 1567s # /** 1567s # * org_project_signaling_iface_emit_single_arg_signal_g: 1567s # * @object: A #OrgProjectSignalingIface. 1567s # * @arg_an_g: Argument to pass with the signal. 1567s # * 1567s # * Emits the "SingleArgSignalG" D-Bus signal. 1567s # */ 1567s # void 1567s # org_project_signaling_iface_emit_single_arg_signal_g ( 1567s # OrgProjectSignalingIface *object, 1567s # const gchar *arg_an_g) 1567s # { 1567s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_G], 0, arg_an_g); 1567s # } 1567s # 1567s # /** 1567s # * org_project_signaling_iface_emit_single_arg_signal_h: 1567s # * @object: A #OrgProjectSignalingIface. 1567s # * @arg_an_h: Argument to pass with the signal. 1567s # * 1567s # * Emits the "SingleArgSignalH" D-Bus signal. 1567s # */ 1567s # void 1567s # org_project_signaling_iface_emit_single_arg_signal_h ( 1567s # OrgProjectSignalingIface *object, 1567s # GVariant *arg_an_h) 1567s # { 1567s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_H], 0, arg_an_h); 1567s # } 1567s # 1567s # /** 1567s # * org_project_signaling_iface_emit_single_arg_signal_ay: 1567s # * @object: A #OrgProjectSignalingIface. 1567s # * @arg_an_ay: Argument to pass with the signal. 1567s # * 1567s # * Emits the "SingleArgSignalAY" D-Bus signal. 1567s # */ 1567s # void 1567s # org_project_signaling_iface_emit_single_arg_signal_ay ( 1567s # OrgProjectSignalingIface *object, 1567s # const gchar *arg_an_ay) 1567s # { 1567s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AY], 0, arg_an_ay); 1567s # } 1567s # 1567s # /** 1567s # * org_project_signaling_iface_emit_single_arg_signal_as: 1567s # * @object: A #OrgProjectSignalingIface. 1567s # * @arg_an_as: Argument to pass with the signal. 1567s # * 1567s # * Emits the "SingleArgSignalAS" D-Bus signal. 1567s # */ 1567s # void 1567s # org_project_signaling_iface_emit_single_arg_signal_as ( 1567s # OrgProjectSignalingIface *object, 1567s # const gchar *const *arg_an_as) 1567s # { 1567s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AS], 0, arg_an_as); 1567s # } 1567s # 1567s # /** 1567s # * org_project_signaling_iface_emit_single_arg_signal_ao: 1567s # * @object: A #OrgProjectSignalingIface. 1567s # * @arg_an_ao: Argument to pass with the signal. 1567s # * 1567s # * Emits the "SingleArgSignalAO" D-Bus signal. 1567s # */ 1567s # void 1567s # org_project_signaling_iface_emit_single_arg_signal_ao ( 1567s # OrgProjectSignalingIface *object, 1567s # const gchar *const *arg_an_ao) 1567s # { 1567s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AO], 0, arg_an_ao); 1567s # } 1567s # 1567s # /** 1567s # * org_project_signaling_iface_emit_single_arg_signal_aay: 1567s # * @object: A #OrgProjectSignalingIface. 1567s # * @arg_an_aay: Argument to pass with the signal. 1567s # * 1567s # * Emits the "SingleArgSignalAAY" D-Bus signal. 1567s # */ 1567s # void 1567s # org_project_signaling_iface_emit_single_arg_signal_aay ( 1567s # OrgProjectSignalingIface *object, 1567s # const gchar *const *arg_an_aay) 1567s # { 1567s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AAY], 0, arg_an_aay); 1567s # } 1567s # 1567s # /** 1567s # * org_project_signaling_iface_emit_single_arg_signal_asv: 1567s # * @object: A #OrgProjectSignalingIface. 1567s # * @arg_an_asv: Argument to pass with the signal. 1567s # * 1567s # * Emits the "SingleArgSignalASV" D-Bus signal. 1567s # */ 1567s # void 1567s # org_project_signaling_iface_emit_single_arg_signal_asv ( 1567s # OrgProjectSignalingIface *object, 1567s # GVariant *arg_an_asv) 1567s # { 1567s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_ASV], 0, arg_an_asv); 1567s # } 1567s # 1567s # /* ------------------------------------------------------------------------ */ 1567s # 1567s # /** 1567s # * OrgProjectSignalingIfaceProxy: 1567s # * 1567s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1567s # */ 1567s # 1567s # /** 1567s # * OrgProjectSignalingIfaceProxyClass: 1567s # * @parent_class: The parent class. 1567s # * 1567s # * Class structure for #OrgProjectSignalingIfaceProxy. 1567s # */ 1567s # 1567s # struct _OrgProjectSignalingIfaceProxyPrivate 1567s # { 1567s # GData *qdata; 1567s # }; 1567s # 1567s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1567s # 1567s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1567s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1567s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1567s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1567s # 1567s # #else 1567s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1567s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1567s # 1567s # #endif 1567s # static void 1567s # org_project_signaling_iface_proxy_finalize (GObject *object) 1567s # { 1567s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1567s # g_datalist_clear (&proxy->priv->qdata); 1567s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1567s # } 1567s # 1567s # static void 1567s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1567s # guint prop_id G_GNUC_UNUSED, 1567s # GValue *value G_GNUC_UNUSED, 1567s # GParamSpec *pspec G_GNUC_UNUSED) 1567s # { 1567s # } 1567s # 1567s # static void 1567s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1567s # guint prop_id G_GNUC_UNUSED, 1567s # const GValue *value G_GNUC_UNUSED, 1567s # GParamSpec *pspec G_GNUC_UNUSED) 1567s # { 1567s # } 1567s # 1567s # static void 1567s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1567s # const gchar *sender_name G_GNUC_UNUSED, 1567s # const gchar *signal_name, 1567s # GVariant *parameters) 1567s # { 1567s # _ExtendedGDBusSignalInfo *info; 1567s # GVariantIter iter; 1567s # GVariant *child; 1567s # GValue *paramv; 1567s # gsize num_params; 1567s # gsize n; 1567s # guint signal_id; 1567s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1567s # if (info == NULL) 1567s # return; 1567s # num_params = g_variant_n_children (parameters); 1567s # paramv = g_new0 (GValue, num_params + 1); 1567s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1567s # g_value_set_object (¶mv[0], proxy); 1567s # g_variant_iter_init (&iter, parameters); 1567s # n = 1; 1567s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1567s # { 1567s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1567s # if (arg_info->use_gvariant) 1567s # { 1567s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1567s # g_value_set_variant (¶mv[n], child); 1567s # n++; 1567s # } 1567s # else 1567s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1567s # g_variant_unref (child); 1567s # } 1567s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1567s # g_signal_emitv (paramv, signal_id, 0, NULL); 1567s # for (n = 0; n < num_params + 1; n++) 1567s # g_value_unset (¶mv[n]); 1567s # g_free (paramv); 1567s # } 1567s # 1567s # static void 1567s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1567s # GVariant *changed_properties, 1567s # const gchar *const *invalidated_properties) 1567s # { 1567s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1567s # guint n; 1567s # const gchar *key; 1567s # GVariantIter *iter; 1567s # _ExtendedGDBusPropertyInfo *info; 1567s # g_variant_get (changed_properties, "a{sv}", &iter); 1567s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1567s # { 1567s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1567s # g_datalist_remove_data (&proxy->priv->qdata, key); 1567s # if (info != NULL) 1567s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1567s # } 1567s # g_variant_iter_free (iter); 1567s # for (n = 0; invalidated_properties[n] != NULL; n++) 1567s # { 1567s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1567s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1567s # if (info != NULL) 1567s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1567s # } 1567s # } 1567s # 1567s # static void 1567s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1567s # { 1567s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1567s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1567s # #else 1567s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1567s # #endif 1567s # 1567s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1567s # } 1567s # 1567s # static void 1567s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1567s # { 1567s # GObjectClass *gobject_class; 1567s # GDBusProxyClass *proxy_class; 1567s # 1567s # gobject_class = G_OBJECT_CLASS (klass); 1567s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1567s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1567s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1567s # 1567s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1567s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1567s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1567s # 1567s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1567s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1567s # #endif 1567s # } 1567s # 1567s # static void 1567s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1567s # { 1567s # } 1567s # 1567s # /** 1567s # * org_project_signaling_iface_proxy_new: 1567s # * @connection: A #GDBusConnection. 1567s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1567s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1567s # * @object_path: An object path. 1567s # * @cancellable: (nullable): A #GCancellable or %NULL. 1567s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1567s # * @user_data: User data to pass to @callback. 1567s # * 1567s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1567s # * 1567s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1567s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1567s # * 1567s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1567s # */ 1567s # void 1567s # org_project_signaling_iface_proxy_new ( 1567s # GDBusConnection *connection, 1567s # GDBusProxyFlags flags, 1567s # const gchar *name, 1567s # const gchar *object_path, 1567s # GCancellable *cancellable, 1567s # GAsyncReadyCallback callback, 1567s # gpointer user_data) 1567s # { 1567s # 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); 1567s # } 1567s # 1567s # /** 1567s # * org_project_signaling_iface_proxy_new_finish: 1567s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1567s # * @error: Return location for error or %NULL 1567s # * 1567s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1567s # * 1567s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1567s # */ 1567s # OrgProjectSignalingIface * 1567s # org_project_signaling_iface_proxy_new_finish ( 1567s # GAsyncResult *res, 1567s # GError **error) 1567s # { 1567s # GObject *ret; 1567s # GObject *source_object; 1567s # source_object = g_async_result_get_source_object (res); 1567s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1567s # g_object_unref (source_object); 1567s # if (ret != NULL) 1567s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1567s # else 1567s # return NULL; 1567s # } 1567s # 1567s # /** 1567s # * org_project_signaling_iface_proxy_new_sync: 1567s # * @connection: A #GDBusConnection. 1567s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1567s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1567s # * @object_path: An object path. 1567s # * @cancellable: (nullable): A #GCancellable or %NULL. 1567s # * @error: Return location for error or %NULL 1567s # * 1567s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1567s # * 1567s # * The calling thread is blocked until a reply is received. 1567s # * 1567s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1567s # * 1567s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1567s # */ 1567s # OrgProjectSignalingIface * 1567s # org_project_signaling_iface_proxy_new_sync ( 1567s # GDBusConnection *connection, 1567s # GDBusProxyFlags flags, 1567s # const gchar *name, 1567s # const gchar *object_path, 1567s # GCancellable *cancellable, 1567s # GError **error) 1567s # { 1567s # GInitable *ret; 1567s # 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); 1567s # if (ret != NULL) 1567s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1567s # else 1567s # return NULL; 1567s # } 1567s # 1567s # 1567s # /** 1567s # * org_project_signaling_iface_proxy_new_for_bus: 1567s # * @bus_type: A #GBusType. 1567s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1567s # * @name: A bus name (well-known or unique). 1567s # * @object_path: An object path. 1567s # * @cancellable: (nullable): A #GCancellable or %NULL. 1567s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1567s # * @user_data: User data to pass to @callback. 1567s # * 1567s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1567s # * 1567s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1567s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1567s # * 1567s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1567s # */ 1567s # void 1567s # org_project_signaling_iface_proxy_new_for_bus ( 1567s # GBusType bus_type, 1567s # GDBusProxyFlags flags, 1567s # const gchar *name, 1567s # const gchar *object_path, 1567s # GCancellable *cancellable, 1567s # GAsyncReadyCallback callback, 1567s # gpointer user_data) 1567s # { 1567s # 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); 1567s # } 1567s # 1567s # /** 1567s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1567s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1567s # * @error: Return location for error or %NULL 1567s # * 1567s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1567s # * 1567s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1567s # */ 1567s # OrgProjectSignalingIface * 1567s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1567s # GAsyncResult *res, 1567s # GError **error) 1567s # { 1567s # GObject *ret; 1567s # GObject *source_object; 1567s # source_object = g_async_result_get_source_object (res); 1567s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1567s # g_object_unref (source_object); 1567s # if (ret != NULL) 1567s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1567s # else 1567s # return NULL; 1567s # } 1567s # 1567s # /** 1567s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1567s # * @bus_type: A #GBusType. 1567s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1567s # * @name: A bus name (well-known or unique). 1567s # * @object_path: An object path. 1567s # * @cancellable: (nullable): A #GCancellable or %NULL. 1567s # * @error: Return location for error or %NULL 1567s # * 1567s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1567s # * 1567s # * The calling thread is blocked until a reply is received. 1567s # * 1567s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1567s # * 1567s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1567s # */ 1567s # OrgProjectSignalingIface * 1567s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1567s # GBusType bus_type, 1567s # GDBusProxyFlags flags, 1567s # const gchar *name, 1567s # const gchar *object_path, 1567s # GCancellable *cancellable, 1567s # GError **error) 1567s # { 1567s # GInitable *ret; 1567s # 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); 1567s # if (ret != NULL) 1567s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1567s # else 1567s # return NULL; 1567s # } 1567s # 1567s # 1567s # /* ------------------------------------------------------------------------ */ 1567s # 1567s # /** 1567s # * OrgProjectSignalingIfaceSkeleton: 1567s # * 1567s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1567s # */ 1567s # 1567s # /** 1567s # * OrgProjectSignalingIfaceSkeletonClass: 1567s # * @parent_class: The parent class. 1567s # * 1567s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1567s # */ 1567s # 1567s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1567s # { 1567s # GValue *properties; 1567s # GList *changed_properties; 1567s # GSource *changed_properties_idle_source; 1567s # GMainContext *context; 1567s # GMutex lock; 1567s # }; 1567s # 1567s # static void 1567s # _org_project_signaling_iface_skeleton_handle_method_call ( 1567s # GDBusConnection *connection G_GNUC_UNUSED, 1567s # const gchar *sender G_GNUC_UNUSED, 1567s # const gchar *object_path G_GNUC_UNUSED, 1567s # const gchar *interface_name, 1567s # const gchar *method_name, 1567s # GVariant *parameters, 1567s # GDBusMethodInvocation *invocation, 1567s # gpointer user_data) 1567s # { 1567s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1567s # _ExtendedGDBusMethodInfo *info; 1567s # GVariantIter iter; 1567s # GVariant *child; 1567s # GValue *paramv; 1567s # gsize num_params; 1567s # guint num_extra; 1567s # gsize n; 1567s # guint signal_id; 1567s # GValue return_value = G_VALUE_INIT; 1567s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1567s # g_assert (info != NULL); 1567s # num_params = g_variant_n_children (parameters); 1567s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1567s # n = 0; 1567s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1567s # g_value_set_object (¶mv[n++], skeleton); 1567s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1567s # g_value_set_object (¶mv[n++], invocation); 1567s # if (info->pass_fdlist) 1567s # { 1567s # #ifdef G_OS_UNIX 1567s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1567s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1567s # #else 1567s # g_assert_not_reached (); 1567s # #endif 1567s # } 1567s # g_variant_iter_init (&iter, parameters); 1567s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1567s # { 1567s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1567s # if (arg_info->use_gvariant) 1567s # { 1567s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1567s # g_value_set_variant (¶mv[n], child); 1567s # n++; 1567s # } 1567s # else 1567s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1567s # g_variant_unref (child); 1567s # } 1567s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1567s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1567s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1567s # if (!g_value_get_boolean (&return_value)) 1567s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1567s # g_value_unset (&return_value); 1567s # for (n = 0; n < num_params + num_extra; n++) 1567s # g_value_unset (¶mv[n]); 1567s # g_free (paramv); 1567s # } 1567s # 1567s # static GVariant * 1567s # _org_project_signaling_iface_skeleton_handle_get_property ( 1567s # GDBusConnection *connection G_GNUC_UNUSED, 1567s # const gchar *sender G_GNUC_UNUSED, 1567s # const gchar *object_path G_GNUC_UNUSED, 1567s # const gchar *interface_name G_GNUC_UNUSED, 1567s # const gchar *property_name, 1567s # GError **error, 1567s # gpointer user_data) 1567s # { 1567s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1567s # GValue value = G_VALUE_INIT; 1567s # GParamSpec *pspec; 1567s # _ExtendedGDBusPropertyInfo *info; 1567s # GVariant *ret; 1567s # ret = NULL; 1567s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1567s # g_assert (info != NULL); 1567s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1567s # if (pspec == NULL) 1567s # { 1567s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1567s # } 1567s # else 1567s # { 1567s # g_value_init (&value, pspec->value_type); 1567s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1567s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1567s # g_value_unset (&value); 1567s # } 1567s # return ret; 1567s # } 1567s # 1567s # static gboolean 1567s # _org_project_signaling_iface_skeleton_handle_set_property ( 1567s # GDBusConnection *connection G_GNUC_UNUSED, 1567s # const gchar *sender G_GNUC_UNUSED, 1567s # const gchar *object_path G_GNUC_UNUSED, 1567s # const gchar *interface_name G_GNUC_UNUSED, 1567s # const gchar *property_name, 1567s # GVariant *variant, 1567s # GError **error, 1567s # gpointer user_data) 1567s # { 1567s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1567s # GValue value = G_VALUE_INIT; 1567s # GParamSpec *pspec; 1567s # _ExtendedGDBusPropertyInfo *info; 1567s # gboolean ret; 1567s # ret = FALSE; 1567s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1567s # g_assert (info != NULL); 1567s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1567s # if (pspec == NULL) 1567s # { 1567s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1567s # } 1567s # else 1567s # { 1567s # if (info->use_gvariant) 1567s # g_value_set_variant (&value, variant); 1567s # else 1567s # g_dbus_gvariant_to_gvalue (variant, &value); 1567s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1567s # g_value_unset (&value); 1567s # ret = TRUE; 1567s # } 1567s # return ret; 1567s # } 1567s # 1567s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1567s # { 1567s # _org_project_signaling_iface_skeleton_handle_method_call, 1567s # _org_project_signaling_iface_skeleton_handle_get_property, 1567s # _org_project_signaling_iface_skeleton_handle_set_property, 1567s # {NULL} 1567s # }; 1567s # 1567s # static GDBusInterfaceInfo * 1567s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1567s # { 1567s # return org_project_signaling_iface_interface_info (); 1567s # } 1567s # 1567s # static GDBusInterfaceVTable * 1567s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1567s # { 1567s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1567s # } 1567s # 1567s # static GVariant * 1567s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1567s # { 1567s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1567s # 1567s # GVariantBuilder builder; 1567s # guint n; 1567s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1567s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1567s # goto out; 1567s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1567s # { 1567s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1567s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1567s # { 1567s # GVariant *value; 1567s # 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); 1567s # if (value != NULL) 1567s # { 1567s # g_variant_take_ref (value); 1567s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1567s # g_variant_unref (value); 1567s # } 1567s # } 1567s # } 1567s # out: 1567s # return g_variant_builder_end (&builder); 1567s # } 1567s # 1567s # static void 1567s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1567s # { 1567s # } 1567s # 1567s # static void 1567s # _org_project_signaling_iface_on_signal_no_arg_signal ( 1567s # OrgProjectSignalingIface *object) 1567s # { 1567s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1567s # 1567s # GList *connections, *l; 1567s # GVariant *signal_variant; 1567s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1567s # 1567s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1567s # for (l = connections; l != NULL; l = l->next) 1567s # { 1567s # GDBusConnection *connection = l->data; 1567s # g_dbus_connection_emit_signal (connection, 1567s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "NoArgSignal", 1567s # signal_variant, NULL); 1567s # } 1567s # g_variant_unref (signal_variant); 1567s # g_list_free_full (connections, g_object_unref); 1567s # } 1567s # 1567s # static void 1567s # _org_project_signaling_iface_on_signal_single_arg_signal_b ( 1567s # OrgProjectSignalingIface *object, 1567s # gboolean arg_an_b) 1567s # { 1567s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1567s # 1567s # GList *connections, *l; 1567s # GVariant *signal_variant; 1567s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1567s # 1567s # signal_variant = g_variant_ref_sink (g_variant_new ("(b)", 1567s # arg_an_b)); 1567s # for (l = connections; l != NULL; l = l->next) 1567s # { 1567s # GDBusConnection *connection = l->data; 1567s # g_dbus_connection_emit_signal (connection, 1567s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalB", 1567s # signal_variant, NULL); 1567s # } 1567s # g_variant_unref (signal_variant); 1567s # g_list_free_full (connections, g_object_unref); 1567s # } 1567s # 1567s # static void 1567s # _org_project_signaling_iface_on_signal_single_arg_signal_y ( 1567s # OrgProjectSignalingIface *object, 1567s # guchar arg_an_y) 1567s # { 1567s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1567s # 1567s # GList *connections, *l; 1567s # GVariant *signal_variant; 1567s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1567s # 1567s # signal_variant = g_variant_ref_sink (g_variant_new ("(y)", 1567s # arg_an_y)); 1567s # for (l = connections; l != NULL; l = l->next) 1567s # { 1567s # GDBusConnection *connection = l->data; 1567s # g_dbus_connection_emit_signal (connection, 1567s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalY", 1567s # signal_variant, NULL); 1567s # } 1567s # g_variant_unref (signal_variant); 1567s # g_list_free_full (connections, g_object_unref); 1567s # } 1567s # 1567s # static void 1567s # _org_project_signaling_iface_on_signal_single_arg_signal_n ( 1567s # OrgProjectSignalingIface *object, 1567s # gint16 arg_an_n) 1567s # { 1567s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1567s # 1567s # GList *connections, *l; 1567s # GVariant *signal_variant; 1567s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1567s # 1567s # signal_variant = g_variant_ref_sink (g_variant_new ("(n)", 1567s # arg_an_n)); 1567s # for (l = connections; l != NULL; l = l->next) 1567s # { 1567s # GDBusConnection *connection = l->data; 1567s # g_dbus_connection_emit_signal (connection, 1567s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalN", 1567s # signal_variant, NULL); 1567s # } 1567s # g_variant_unref (signal_variant); 1567s # g_list_free_full (connections, g_object_unref); 1567s # } 1567s # 1567s # static void 1567s # _org_project_signaling_iface_on_signal_single_arg_signal_q ( 1567s # OrgProjectSignalingIface *object, 1567s # guint16 arg_an_q) 1567s # { 1567s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1567s # 1567s # GList *connections, *l; 1567s # GVariant *signal_variant; 1567s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1567s # 1567s # signal_variant = g_variant_ref_sink (g_variant_new ("(q)", 1567s # arg_an_q)); 1567s # for (l = connections; l != NULL; l = l->next) 1567s # { 1567s # GDBusConnection *connection = l->data; 1567s # g_dbus_connection_emit_signal (connection, 1567s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalQ", 1567s # signal_variant, NULL); 1567s # } 1567s # g_variant_unref (signal_variant); 1567s # g_list_free_full (connections, g_object_unref); 1567s # } 1567s # 1567s # static void 1567s # _org_project_signaling_iface_on_signal_single_arg_signal_i ( 1567s # OrgProjectSignalingIface *object, 1567s # gint arg_an_i) 1567s # { 1567s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1567s # 1567s # GList *connections, *l; 1567s # GVariant *signal_variant; 1567s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1567s # 1567s # signal_variant = g_variant_ref_sink (g_variant_new ("(i)", 1567s # arg_an_i)); 1567s # for (l = connections; l != NULL; l = l->next) 1567s # { 1567s # GDBusConnection *connection = l->data; 1567s # g_dbus_connection_emit_signal (connection, 1567s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalI", 1567s # signal_variant, NULL); 1567s # } 1567s # g_variant_unref (signal_variant); 1567s # g_list_free_full (connections, g_object_unref); 1567s # } 1567s # 1567s # static void 1567s # _org_project_signaling_iface_on_signal_single_arg_signal_u ( 1567s # OrgProjectSignalingIface *object, 1567s # guint arg_an_u) 1567s # { 1567s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1567s # 1567s # GList *connections, *l; 1567s # GVariant *signal_variant; 1567s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1567s # 1567s # signal_variant = g_variant_ref_sink (g_variant_new ("(u)", 1567s # arg_an_u)); 1567s # for (l = connections; l != NULL; l = l->next) 1567s # { 1567s # GDBusConnection *connection = l->data; 1567s # g_dbus_connection_emit_signal (connection, 1567s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalU", 1567s # signal_variant, NULL); 1567s # } 1567s # g_variant_unref (signal_variant); 1567s # g_list_free_full (connections, g_object_unref); 1567s # } 1567s # 1567s # static void 1567s # _org_project_signaling_iface_on_signal_single_arg_signal_x ( 1567s # OrgProjectSignalingIface *object, 1567s # gint64 arg_an_x) 1567s # { 1567s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1567s # 1567s # GList *connections, *l; 1567s # GVariant *signal_variant; 1567s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1567s # 1567s # signal_variant = g_variant_ref_sink (g_variant_new ("(x)", 1567s # arg_an_x)); 1567s # for (l = connections; l != NULL; l = l->next) 1567s # { 1567s # GDBusConnection *connection = l->data; 1567s # g_dbus_connection_emit_signal (connection, 1567s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalX", 1567s # signal_variant, NULL); 1567s # } 1567s # g_variant_unref (signal_variant); 1567s # g_list_free_full (connections, g_object_unref); 1567s # } 1567s # 1567s # static void 1567s # _org_project_signaling_iface_on_signal_single_arg_signal_t ( 1567s # OrgProjectSignalingIface *object, 1567s # guint64 arg_an_t) 1567s # { 1567s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1567s # 1567s # GList *connections, *l; 1567s # GVariant *signal_variant; 1567s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1567s # 1567s # signal_variant = g_variant_ref_sink (g_variant_new ("(t)", 1567s # arg_an_t)); 1567s # for (l = connections; l != NULL; l = l->next) 1567s # { 1567s # GDBusConnection *connection = l->data; 1567s # g_dbus_connection_emit_signal (connection, 1567s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalT", 1567s # signal_variant, NULL); 1567s # } 1567s # g_variant_unref (signal_variant); 1567s # g_list_free_full (connections, g_object_unref); 1567s # } 1567s # 1567s # static void 1567s # _org_project_signaling_iface_on_signal_single_arg_signal_d ( 1567s # OrgProjectSignalingIface *object, 1567s # gdouble arg_an_d) 1567s # { 1567s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1567s # 1567s # GList *connections, *l; 1567s # GVariant *signal_variant; 1567s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1567s # 1567s # signal_variant = g_variant_ref_sink (g_variant_new ("(d)", 1567s # arg_an_d)); 1567s # for (l = connections; l != NULL; l = l->next) 1567s # { 1567s # GDBusConnection *connection = l->data; 1567s # g_dbus_connection_emit_signal (connection, 1567s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalD", 1567s # signal_variant, NULL); 1567s # } 1567s # g_variant_unref (signal_variant); 1567s # g_list_free_full (connections, g_object_unref); 1567s # } 1567s # 1567s # static void 1567s # _org_project_signaling_iface_on_signal_single_arg_signal_s ( 1567s # OrgProjectSignalingIface *object, 1567s # const gchar *arg_an_s) 1567s # { 1567s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1567s # 1567s # GList *connections, *l; 1567s # GVariant *signal_variant; 1567s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1567s # 1567s # signal_variant = g_variant_ref_sink (g_variant_new ("(s)", 1567s # arg_an_s)); 1567s # for (l = connections; l != NULL; l = l->next) 1567s # { 1567s # GDBusConnection *connection = l->data; 1567s # g_dbus_connection_emit_signal (connection, 1567s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalS", 1567s # signal_variant, NULL); 1567s # } 1567s # g_variant_unref (signal_variant); 1567s # g_list_free_full (connections, g_object_unref); 1567s # } 1567s # 1567s # static void 1567s # _org_project_signaling_iface_on_signal_single_arg_signal_o ( 1567s # OrgProjectSignalingIface *object, 1567s # const gchar *arg_an_o) 1567s # { 1567s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1567s # 1567s # GList *connections, *l; 1567s # GVariant *signal_variant; 1567s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1567s # 1567s # signal_variant = g_variant_ref_sink (g_variant_new ("(o)", 1567s # arg_an_o)); 1567s # for (l = connections; l != NULL; l = l->next) 1567s # { 1567s # GDBusConnection *connection = l->data; 1567s # g_dbus_connection_emit_signal (connection, 1567s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalO", 1567s # signal_variant, NULL); 1567s # } 1567s # g_variant_unref (signal_variant); 1567s # g_list_free_full (connections, g_object_unref); 1567s # } 1567s # 1567s # static void 1567s # _org_project_signaling_iface_on_signal_single_arg_signal_g ( 1567s # OrgProjectSignalingIface *object, 1567s # const gchar *arg_an_g) 1567s # { 1567s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1567s # 1567s # GList *connections, *l; 1567s # GVariant *signal_variant; 1567s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1567s # 1567s # signal_variant = g_variant_ref_sink (g_variant_new ("(g)", 1567s # arg_an_g)); 1567s # for (l = connections; l != NULL; l = l->next) 1567s # { 1567s # GDBusConnection *connection = l->data; 1567s # g_dbus_connection_emit_signal (connection, 1567s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalG", 1567s # signal_variant, NULL); 1567s # } 1567s # g_variant_unref (signal_variant); 1567s # g_list_free_full (connections, g_object_unref); 1567s # } 1567s # 1567s # static void 1567s # _org_project_signaling_iface_on_signal_single_arg_signal_h ( 1567s # OrgProjectSignalingIface *object, 1567s # GVariant *arg_an_h) 1567s # { 1567s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1567s # 1567s # GList *connections, *l; 1567s # GVariant *signal_variant; 1567s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1567s # 1567s # signal_variant = g_variant_ref_sink (g_variant_new ("(@h)", 1567s # arg_an_h)); 1567s # for (l = connections; l != NULL; l = l->next) 1567s # { 1567s # GDBusConnection *connection = l->data; 1567s # g_dbus_connection_emit_signal (connection, 1567s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalH", 1567s # signal_variant, NULL); 1567s # } 1567s # g_variant_unref (signal_variant); 1567s # g_list_free_full (connections, g_object_unref); 1567s # } 1567s # 1567s # static void 1567s # _org_project_signaling_iface_on_signal_single_arg_signal_ay ( 1567s # OrgProjectSignalingIface *object, 1567s # const gchar *arg_an_ay) 1567s # { 1567s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1567s # 1567s # GList *connections, *l; 1567s # GVariant *signal_variant; 1567s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1567s # 1567s # signal_variant = g_variant_ref_sink (g_variant_new ("(^ay)", 1567s # arg_an_ay)); 1567s # for (l = connections; l != NULL; l = l->next) 1567s # { 1567s # GDBusConnection *connection = l->data; 1567s # g_dbus_connection_emit_signal (connection, 1567s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalAY", 1567s # signal_variant, NULL); 1567s # } 1567s # g_variant_unref (signal_variant); 1567s # g_list_free_full (connections, g_object_unref); 1567s # } 1567s # 1567s # static void 1567s # _org_project_signaling_iface_on_signal_single_arg_signal_as ( 1567s # OrgProjectSignalingIface *object, 1567s # const gchar *const *arg_an_as) 1567s # { 1567s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1567s # 1567s # GList *connections, *l; 1567s # GVariant *signal_variant; 1567s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1567s # 1567s # signal_variant = g_variant_ref_sink (g_variant_new ("(^as)", 1567s # arg_an_as)); 1567s # for (l = connections; l != NULL; l = l->next) 1567s # { 1567s # GDBusConnection *connection = l->data; 1567s # g_dbus_connection_emit_signal (connection, 1567s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalAS", 1567s # signal_variant, NULL); 1567s # } 1567s # g_variant_unref (signal_variant); 1567s # g_list_free_full (connections, g_object_unref); 1567s # } 1567s # 1567s # static void 1567s # _org_project_signaling_iface_on_signal_single_arg_signal_ao ( 1567s # OrgProjectSignalingIface *object, 1567s # const gchar *const *arg_an_ao) 1567s # { 1567s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1567s # 1567s # GList *connections, *l; 1567s # GVariant *signal_variant; 1567s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1567s # 1567s # signal_variant = g_variant_ref_sink (g_variant_new ("(^ao)", 1567s # arg_an_ao)); 1567s # for (l = connections; l != NULL; l = l->next) 1567s # { 1567s # GDBusConnection *connection = l->data; 1567s # g_dbus_connection_emit_signal (connection, 1567s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalAO", 1567s # signal_variant, NULL); 1567s # } 1567s # g_variant_unref (signal_variant); 1567s # g_list_free_full (connections, g_object_unref); 1567s # } 1567s # 1567s # static void 1567s # _org_project_signaling_iface_on_signal_single_arg_signal_aay ( 1567s # OrgProjectSignalingIface *object, 1567s # const gchar *const *arg_an_aay) 1567s # { 1567s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1567s # 1567s # GList *connections, *l; 1567s # GVariant *signal_variant; 1567s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1567s # 1567s # signal_variant = g_variant_ref_sink (g_variant_new ("(^aay)", 1567s # arg_an_aay)); 1567s # for (l = connections; l != NULL; l = l->next) 1567s # { 1567s # GDBusConnection *connection = l->data; 1567s # g_dbus_connection_emit_signal (connection, 1567s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalAAY", 1567s # signal_variant, NULL); 1567s # } 1567s # g_variant_unref (signal_variant); 1567s # g_list_free_full (connections, g_object_unref); 1567s # } 1567s # 1567s # static void 1567s # _org_project_signaling_iface_on_signal_single_arg_signal_asv ( 1567s # OrgProjectSignalingIface *object, 1567s # GVariant *arg_an_asv) 1567s # { 1567s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1567s # 1567s # GList *connections, *l; 1567s # GVariant *signal_variant; 1567s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1567s # 1567s # signal_variant = g_variant_ref_sink (g_variant_new ("(@a{sv})", 1567s # arg_an_asv)); 1567s # for (l = connections; l != NULL; l = l->next) 1567s # { 1567s # GDBusConnection *connection = l->data; 1567s # g_dbus_connection_emit_signal (connection, 1567s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalASV", 1567s # signal_variant, NULL); 1567s # } 1567s # g_variant_unref (signal_variant); 1567s # g_list_free_full (connections, g_object_unref); 1567s # } 1567s # 1567s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1567s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1567s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1567s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1567s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1567s # 1567s # #else 1567s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1567s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1567s # 1567s # #endif 1567s # static void 1567s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1567s # { 1567s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1567s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1567s # if (skeleton->priv->changed_properties_idle_source != NULL) 1567s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1567s # g_main_context_unref (skeleton->priv->context); 1567s # g_mutex_clear (&skeleton->priv->lock); 1567s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1567s # } 1567s # 1567s # static void 1567s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1567s # { 1567s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1567s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1567s # #else 1567s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1567s # #endif 1567s # 1567s # g_mutex_init (&skeleton->priv->lock); 1567s # skeleton->priv->context = g_main_context_ref_thread_default (); 1567s # } 1567s # 1567s # static void 1567s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1567s # { 1567s # GObjectClass *gobject_class; 1567s # GDBusInterfaceSkeletonClass *skeleton_class; 1567s # 1567s # gobject_class = G_OBJECT_CLASS (klass); 1567s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1567s # 1567s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1567s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1567s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1567s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1567s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1567s # 1567s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1567s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1567s # #endif 1567s # } 1567s # 1567s # static void 1567s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1567s # { 1567s # iface->no_arg_signal = _org_project_signaling_iface_on_signal_no_arg_signal; 1567s # iface->single_arg_signal_b = _org_project_signaling_iface_on_signal_single_arg_signal_b; 1567s # iface->single_arg_signal_y = _org_project_signaling_iface_on_signal_single_arg_signal_y; 1567s # iface->single_arg_signal_n = _org_project_signaling_iface_on_signal_single_arg_signal_n; 1567s # iface->single_arg_signal_q = _org_project_signaling_iface_on_signal_single_arg_signal_q; 1567s # iface->single_arg_signal_i = _org_project_signaling_iface_on_signal_single_arg_signal_i; 1567s # iface->single_arg_signal_u = _org_project_signaling_iface_on_signal_single_arg_signal_u; 1567s # iface->single_arg_signal_x = _org_project_signaling_iface_on_signal_single_arg_signal_x; 1567s # iface->single_arg_signal_t = _org_project_signaling_iface_on_signal_single_arg_signal_t; 1567s # iface->single_arg_signal_d = _org_project_signaling_iface_on_signal_single_arg_signal_d; 1567s # iface->single_arg_signal_s = _org_project_signaling_iface_on_signal_single_arg_signal_s; 1567s # iface->single_arg_signal_o = _org_project_signaling_iface_on_signal_single_arg_signal_o; 1567s # iface->single_arg_signal_g = _org_project_signaling_iface_on_signal_single_arg_signal_g; 1567s # iface->single_arg_signal_h = _org_project_signaling_iface_on_signal_single_arg_signal_h; 1567s # iface->single_arg_signal_ay = _org_project_signaling_iface_on_signal_single_arg_signal_ay; 1567s # iface->single_arg_signal_as = _org_project_signaling_iface_on_signal_single_arg_signal_as; 1567s # iface->single_arg_signal_ao = _org_project_signaling_iface_on_signal_single_arg_signal_ao; 1567s # iface->single_arg_signal_aay = _org_project_signaling_iface_on_signal_single_arg_signal_aay; 1567s # iface->single_arg_signal_asv = _org_project_signaling_iface_on_signal_single_arg_signal_asv; 1567s # } 1567s # 1567s # /** 1567s # * org_project_signaling_iface_skeleton_new: 1567s # * 1567s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1567s # * 1567s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1567s # */ 1567s # OrgProjectSignalingIface * 1567s # org_project_signaling_iface_skeleton_new (void) 1567s # { 1567s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1567s # } 1567s ok 21 __main__.TestCodegen.test_generate_signal_id_simple_signal 1567s # tmpdir: /tmp/tmphzfzdrhn 1567s # codegen: /usr/bin/gdbus-codegen 1567s # /tmp/tmphzfzdrhn/tmp5yv1qvj5.xml: 1567s # 1567s # 1567s # 1567s # 1567s # 1567s # 1567s # 1567s # 1567s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmphzfzdrhn/tmp5yv1qvj5.xml', '--output', '-', '--body'] 1567s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-baqskmurxn,guid=fbaffe99d0ccb1f6e1beb84865fc01cd', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.YcZbqk/autopkgtest_tmp', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.YcZbqk/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.YcZbqk/autopkgtest_tmp', 'TERM': 'unknown', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.YcZbqk/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.sVTVMp0Db0', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.rqZsJO/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.YcZbqk/wrapper.sh --artifacts=/tmp/autopkgtest.YcZbqk/installed-tests-artifacts --chdir=/tmp/autopkgtest.YcZbqk/build.S0E/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.YcZbqk/installed-tests-stderr --stdout=/tmp/autopkgtest.YcZbqk/installed-tests-stdout --tmp=/tmp/autopkgtest.YcZbqk/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2' --make-executable=/tmp/autopkgtest.YcZbqk/build.S0E/src/debian/tests/installed-tests -- /tmp/autopkgtest.YcZbqk/build.S0E/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.YcZbqk/build.S0E/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.YcZbqk/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1567s # Output: /* 1567s # * This file is generated by gdbus-codegen, do not modify it. 1567s # * 1567s # * The license of this code is the same as for the D-Bus interface description 1567s # * it was derived from. Note that it links to GLib, so must comply with the 1567s # * LGPL linking clauses. 1567s # */ 1567s # 1567s # #ifdef HAVE_CONFIG_H 1567s # # include "config.h" 1567s # #endif 1567s # 1567s # #include 1567s # #ifdef G_OS_UNIX 1567s # # include 1567s # #endif 1567s # 1567s # #ifdef G_ENABLE_DEBUG 1567s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1567s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1567s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1567s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1567s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1567s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1567s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1567s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1567s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1567s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1567s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1567s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1567s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1567s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1567s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1567s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1567s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1567s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1567s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1567s # #else /* !G_ENABLE_DEBUG */ 1567s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1567s # * Do not access GValues directly in your code. Instead, use the 1567s # * g_value_get_*() functions 1567s # */ 1567s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1567s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1567s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1567s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1567s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1567s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1567s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1567s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1567s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1567s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1567s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1567s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1567s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1567s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1567s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1567s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1567s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1567s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1567s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1567s # #endif /* !G_ENABLE_DEBUG */ 1567s # 1567s # typedef struct 1567s # { 1567s # GDBusArgInfo parent_struct; 1567s # gboolean use_gvariant; 1567s # } _ExtendedGDBusArgInfo; 1567s # 1567s # typedef struct 1567s # { 1567s # GDBusMethodInfo parent_struct; 1567s # const gchar *signal_name; 1567s # gboolean pass_fdlist; 1567s # } _ExtendedGDBusMethodInfo; 1567s # 1567s # typedef struct 1567s # { 1567s # GDBusSignalInfo parent_struct; 1567s # const gchar *signal_name; 1567s # } _ExtendedGDBusSignalInfo; 1567s # 1567s # typedef struct 1567s # { 1567s # GDBusPropertyInfo parent_struct; 1567s # const gchar *hyphen_name; 1567s # guint use_gvariant : 1; 1567s # guint emits_changed_signal : 1; 1567s # } _ExtendedGDBusPropertyInfo; 1567s # 1567s # typedef struct 1567s # { 1567s # GDBusInterfaceInfo parent_struct; 1567s # const gchar *hyphen_name; 1567s # } _ExtendedGDBusInterfaceInfo; 1567s # 1567s # typedef struct 1567s # { 1567s # const _ExtendedGDBusPropertyInfo *info; 1567s # guint prop_id; 1567s # GValue orig_value; /* the value before the change */ 1567s # } ChangedProperty; 1567s # 1567s # static void 1567s # _changed_property_free (ChangedProperty *data) 1567s # { 1567s # g_value_unset (&data->orig_value); 1567s # g_free (data); 1567s # } 1567s # 1567s # static gboolean 1567s # _g_strv_equal0 (gchar **a, gchar **b) 1567s # { 1567s # gboolean ret = FALSE; 1567s # guint n; 1567s # if (a == NULL && b == NULL) 1567s # { 1567s # ret = TRUE; 1567s # goto out; 1567s # } 1567s # if (a == NULL || b == NULL) 1567s # goto out; 1567s # if (g_strv_length (a) != g_strv_length (b)) 1567s # goto out; 1567s # for (n = 0; a[n] != NULL; n++) 1567s # if (g_strcmp0 (a[n], b[n]) != 0) 1567s # goto out; 1567s # ret = TRUE; 1567s # out: 1567s # return ret; 1567s # } 1567s # 1567s # static gboolean 1567s # _g_variant_equal0 (GVariant *a, GVariant *b) 1567s # { 1567s # gboolean ret = FALSE; 1567s # if (a == NULL && b == NULL) 1567s # { 1567s # ret = TRUE; 1567s # goto out; 1567s # } 1567s # if (a == NULL || b == NULL) 1567s # goto out; 1567s # ret = g_variant_equal (a, b); 1567s # out: 1567s # return ret; 1567s # } 1567s # 1567s # G_GNUC_UNUSED static gboolean 1567s # _g_value_equal (const GValue *a, const GValue *b) 1567s # { 1567s # gboolean ret = FALSE; 1567s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1567s # switch (G_VALUE_TYPE (a)) 1567s # { 1567s # case G_TYPE_BOOLEAN: 1567s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1567s # break; 1567s # case G_TYPE_UCHAR: 1567s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1567s # break; 1567s # case G_TYPE_INT: 1567s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1567s # break; 1567s # case G_TYPE_UINT: 1567s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1567s # break; 1567s # case G_TYPE_INT64: 1567s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1567s # break; 1567s # case G_TYPE_UINT64: 1567s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1567s # break; 1567s # case G_TYPE_DOUBLE: 1567s # { 1567s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1567s # gdouble da = g_value_get_double (a); 1567s # gdouble db = g_value_get_double (b); 1567s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1567s # } 1567s # break; 1567s # case G_TYPE_STRING: 1567s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1567s # break; 1567s # case G_TYPE_VARIANT: 1567s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1567s # break; 1567s # default: 1567s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1567s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1567s # else 1567s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1567s # break; 1567s # } 1567s # return ret; 1567s # } 1567s # 1567s # /* ------------------------------------------------------------------------ 1567s # * Code for interface org.project.UsefulInterface 1567s # * ------------------------------------------------------------------------ 1567s # */ 1567s # 1567s # /** 1567s # * SECTION:OrgProjectUsefulInterface 1567s # * @title: OrgProjectUsefulInterface 1567s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1567s # * 1567s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1567s # */ 1567s # 1567s # enum 1567s # { 1567s # _ORG_PROJECT_USEFUL_INTERFACE_SIMPLE_SIGNAL, 1567s # }; 1567s # 1567s # static unsigned _ORG_PROJECT_USEFUL_INTERFACE_SIGNALS[1] = { 0 }; 1567s # 1567s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1567s # 1567s # static const _ExtendedGDBusSignalInfo _org_project_useful_interface_signal_info_simple_signal = 1567s # { 1567s # { 1567s # -1, 1567s # (gchar *) "SimpleSignal", 1567s # NULL, 1567s # NULL 1567s # }, 1567s # "simple-signal" 1567s # }; 1567s # 1567s # static const GDBusSignalInfo * const _org_project_useful_interface_signal_info_pointers[] = 1567s # { 1567s # &_org_project_useful_interface_signal_info_simple_signal.parent_struct, 1567s # NULL 1567s # }; 1567s # 1567s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1567s # { 1567s # { 1567s # -1, 1567s # (gchar *) "org.project.UsefulInterface", 1567s # NULL, 1567s # (GDBusSignalInfo **) &_org_project_useful_interface_signal_info_pointers, 1567s # NULL, 1567s # NULL 1567s # }, 1567s # "org-project-useful-interface", 1567s # }; 1567s # 1567s # 1567s # /** 1567s # * org_project_useful_interface_interface_info: 1567s # * 1567s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1567s # * 1567s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1567s # */ 1567s # GDBusInterfaceInfo * 1567s # org_project_useful_interface_interface_info (void) 1567s # { 1567s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1567s # } 1567s # 1567s # /** 1567s # * org_project_useful_interface_override_properties: 1567s # * @klass: The class structure for a #GObject derived class. 1567s # * @property_id_begin: The property id to assign to the first overridden property. 1567s # * 1567s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1567s # * The properties are overridden in the order they are defined. 1567s # * 1567s # * Returns: The last property id. 1567s # */ 1567s # guint 1567s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1567s # { 1567s # return property_id_begin - 1; 1567s # } 1567s # 1567s # 1567s # inline static void 1567s # org_project_useful_interface_signal_marshal_simple_signal ( 1567s # GClosure *closure, 1567s # GValue *return_value, 1567s # unsigned int n_param_values, 1567s # const GValue *param_values, 1567s # void *invocation_hint, 1567s # void *marshal_data) 1567s # { 1567s # g_cclosure_marshal_VOID__VOID (closure, 1567s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1567s # } 1567s # 1567s # 1567s # /** 1567s # * OrgProjectUsefulInterface: 1567s # * 1567s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1567s # */ 1567s # 1567s # /** 1567s # * OrgProjectUsefulInterfaceIface: 1567s # * @parent_iface: The parent interface. 1567s # * @simple_signal: Handler for the #OrgProjectUsefulInterface::simple-signal signal. 1567s # * 1567s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1567s # */ 1567s # 1567s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1567s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1567s # 1567s # static void 1567s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1567s # { 1567s # /* GObject signals for received D-Bus signals: */ 1567s # /** 1567s # * OrgProjectUsefulInterface::simple-signal: 1567s # * @object: A #OrgProjectUsefulInterface. 1567s # * 1567s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1567s # * 1567s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1567s # */ 1567s # _ORG_PROJECT_USEFUL_INTERFACE_SIGNALS[_ORG_PROJECT_USEFUL_INTERFACE_SIMPLE_SIGNAL] = 1567s # g_signal_new ("simple-signal", 1567s # G_TYPE_FROM_INTERFACE (iface), 1567s # G_SIGNAL_RUN_LAST, 1567s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, simple_signal), 1567s # NULL, 1567s # NULL, 1567s # org_project_useful_interface_signal_marshal_simple_signal, 1567s # G_TYPE_NONE, 1567s # 0); 1567s # 1567s # } 1567s # 1567s # /** 1567s # * org_project_useful_interface_emit_simple_signal: 1567s # * @object: A #OrgProjectUsefulInterface. 1567s # * 1567s # * Emits the "SimpleSignal" D-Bus signal. 1567s # */ 1567s # void 1567s # org_project_useful_interface_emit_simple_signal ( 1567s # OrgProjectUsefulInterface *object) 1567s # { 1567s # g_signal_emit (object, _ORG_PROJECT_USEFUL_INTERFACE_SIGNALS[_ORG_PROJECT_USEFUL_INTERFACE_SIMPLE_SIGNAL], 0); 1567s # } 1567s # 1567s # /* ------------------------------------------------------------------------ */ 1567s # 1567s # /** 1567s # * OrgProjectUsefulInterfaceProxy: 1567s # * 1567s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1567s # */ 1567s # 1567s # /** 1567s # * OrgProjectUsefulInterfaceProxyClass: 1567s # * @parent_class: The parent class. 1567s # * 1567s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1567s # */ 1567s # 1567s # struct _OrgProjectUsefulInterfaceProxyPrivate 1567s # { 1567s # GData *qdata; 1567s # }; 1567s # 1567s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1567s # 1567s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1567s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1567s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1567s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1567s # 1567s # #else 1567s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1567s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1567s # 1567s # #endif 1567s # static void 1567s # org_project_useful_interface_proxy_finalize (GObject *object) 1567s # { 1567s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1567s # g_datalist_clear (&proxy->priv->qdata); 1567s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1567s # } 1567s # 1567s # static void 1567s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1567s # guint prop_id G_GNUC_UNUSED, 1567s # GValue *value G_GNUC_UNUSED, 1567s # GParamSpec *pspec G_GNUC_UNUSED) 1567s # { 1567s # } 1567s # 1567s # static void 1567s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1567s # guint prop_id G_GNUC_UNUSED, 1567s # const GValue *value G_GNUC_UNUSED, 1567s # GParamSpec *pspec G_GNUC_UNUSED) 1567s # { 1567s # } 1567s # 1567s # static void 1567s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1567s # const gchar *sender_name G_GNUC_UNUSED, 1567s # const gchar *signal_name, 1567s # GVariant *parameters) 1567s # { 1567s # _ExtendedGDBusSignalInfo *info; 1567s # GVariantIter iter; 1567s # GVariant *child; 1567s # GValue *paramv; 1567s # gsize num_params; 1567s # gsize n; 1567s # guint signal_id; 1567s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1567s # if (info == NULL) 1567s # return; 1567s # num_params = g_variant_n_children (parameters); 1567s # paramv = g_new0 (GValue, num_params + 1); 1567s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1567s # g_value_set_object (¶mv[0], proxy); 1567s # g_variant_iter_init (&iter, parameters); 1567s # n = 1; 1567s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1567s # { 1567s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1567s # if (arg_info->use_gvariant) 1567s # { 1567s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1567s # g_value_set_variant (¶mv[n], child); 1567s # n++; 1567s # } 1567s # else 1567s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1567s # g_variant_unref (child); 1567s # } 1567s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1567s # g_signal_emitv (paramv, signal_id, 0, NULL); 1567s # for (n = 0; n < num_params + 1; n++) 1567s # g_value_unset (¶mv[n]); 1567s # g_free (paramv); 1567s # } 1567s # 1567s # static void 1567s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1567s # GVariant *changed_properties, 1567s # const gchar *const *invalidated_properties) 1567s # { 1567s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1567s # guint n; 1567s # const gchar *key; 1567s # GVariantIter *iter; 1567s # _ExtendedGDBusPropertyInfo *info; 1567s # g_variant_get (changed_properties, "a{sv}", &iter); 1567s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1567s # { 1567s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1567s # g_datalist_remove_data (&proxy->priv->qdata, key); 1567s # if (info != NULL) 1567s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1567s # } 1567s # g_variant_iter_free (iter); 1567s # for (n = 0; invalidated_properties[n] != NULL; n++) 1567s # { 1567s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1567s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1567s # if (info != NULL) 1567s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1567s # } 1567s # } 1567s # 1567s # static void 1567s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1567s # { 1567s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1567s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1567s # #else 1567s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1567s # #endif 1567s # 1567s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1567s # } 1567s # 1567s # static void 1567s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1567s # { 1567s # GObjectClass *gobject_class; 1567s # GDBusProxyClass *proxy_class; 1567s # 1567s # gobject_class = G_OBJECT_CLASS (klass); 1567s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1567s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1567s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1567s # 1567s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1567s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1567s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1567s # 1567s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1567s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1567s # #endif 1567s # } 1567s # 1567s # static void 1567s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1567s # { 1567s # } 1567s # 1567s # /** 1567s # * org_project_useful_interface_proxy_new: 1567s # * @connection: A #GDBusConnection. 1567s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1567s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1567s # * @object_path: An object path. 1567s # * @cancellable: (nullable): A #GCancellable or %NULL. 1567s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1567s # * @user_data: User data to pass to @callback. 1567s # * 1567s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1567s # * 1567s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1567s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1567s # * 1567s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1567s # */ 1567s # void 1567s # org_project_useful_interface_proxy_new ( 1567s # GDBusConnection *connection, 1567s # GDBusProxyFlags flags, 1567s # const gchar *name, 1567s # const gchar *object_path, 1567s # GCancellable *cancellable, 1567s # GAsyncReadyCallback callback, 1567s # gpointer user_data) 1567s # { 1567s # g_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); 1567s # } 1567s # 1567s # /** 1567s # * org_project_useful_interface_proxy_new_finish: 1567s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1567s # * @error: Return location for error or %NULL 1567s # * 1567s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1567s # * 1567s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1567s # */ 1567s # OrgProjectUsefulInterface * 1567s # org_project_useful_interface_proxy_new_finish ( 1567s # GAsyncResult *res, 1567s # GError **error) 1567s # { 1567s # GObject *ret; 1567s # GObject *source_object; 1567s # source_object = g_async_result_get_source_object (res); 1567s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1567s # g_object_unref (source_object); 1567s # if (ret != NULL) 1567s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1567s # else 1567s # return NULL; 1567s # } 1567s # 1567s # /** 1567s # * org_project_useful_interface_proxy_new_sync: 1567s # * @connection: A #GDBusConnection. 1567s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1567s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1567s # * @object_path: An object path. 1567s # * @cancellable: (nullable): A #GCancellable or %NULL. 1567s # * @error: Return location for error or %NULL 1567s # * 1567s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1567s # * 1567s # * The calling thread is blocked until a reply is received. 1567s # * 1567s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1567s # * 1567s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1567s # */ 1567s # OrgProjectUsefulInterface * 1567s # org_project_useful_interface_proxy_new_sync ( 1567s # GDBusConnection *connection, 1567s # GDBusProxyFlags flags, 1567s # const gchar *name, 1567s # const gchar *object_path, 1567s # GCancellable *cancellable, 1567s # GError **error) 1567s # { 1567s # GInitable *ret; 1567s # 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); 1567s # if (ret != NULL) 1567s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1567s # else 1567s # return NULL; 1567s # } 1567s # 1567s # 1567s # /** 1567s # * org_project_useful_interface_proxy_new_for_bus: 1567s # * @bus_type: A #GBusType. 1567s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1567s # * @name: A bus name (well-known or unique). 1567s # * @object_path: An object path. 1567s # * @cancellable: (nullable): A #GCancellable or %NULL. 1567s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1567s # * @user_data: User data to pass to @callback. 1567s # * 1567s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1567s # * 1567s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1567s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1567s # * 1567s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1567s # */ 1567s # void 1567s # org_project_useful_interface_proxy_new_for_bus ( 1567s # GBusType bus_type, 1567s # GDBusProxyFlags flags, 1567s # const gchar *name, 1567s # const gchar *object_path, 1567s # GCancellable *cancellable, 1567s # GAsyncReadyCallback callback, 1567s # gpointer user_data) 1567s # { 1567s # g_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); 1567s # } 1567s # 1567s # /** 1567s # * org_project_useful_interface_proxy_new_for_bus_finish: 1567s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1567s # * @error: Return location for error or %NULL 1567s # * 1567s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1567s # * 1567s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1567s # */ 1567s # OrgProjectUsefulInterface * 1567s # org_project_useful_interface_proxy_new_for_bus_finish ( 1567s # GAsyncResult *res, 1567s # GError **error) 1567s # { 1567s # GObject *ret; 1567s # GObject *source_object; 1567s # source_object = g_async_result_get_source_object (res); 1567s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1567s # g_object_unref (source_object); 1567s # if (ret != NULL) 1567s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1567s # else 1567s # return NULL; 1567s # } 1567s # 1567s # /** 1567s # * org_project_useful_interface_proxy_new_for_bus_sync: 1567s # * @bus_type: A #GBusType. 1567s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1567s # * @name: A bus name (well-known or unique). 1567s # * @object_path: An object path. 1567s # * @cancellable: (nullable): A #GCancellable or %NULL. 1567s # * @error: Return location for error or %NULL 1567s # * 1567s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1567s # * 1567s # * The calling thread is blocked until a reply is received. 1567s # * 1567s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1567s # * 1567s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1567s # */ 1567s # OrgProjectUsefulInterface * 1567s # org_project_useful_interface_proxy_new_for_bus_sync ( 1567s # GBusType bus_type, 1567s # GDBusProxyFlags flags, 1567s # const gchar *name, 1567s # const gchar *object_path, 1567s # GCancellable *cancellable, 1567s # GError **error) 1567s # { 1567s # GInitable *ret; 1567s # 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); 1567s # if (ret != NULL) 1567s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1567s # else 1567s # return NULL; 1567s # } 1567s # 1567s # 1567s # /* ------------------------------------------------------------------------ */ 1567s # 1567s # /** 1567s # * OrgProjectUsefulInterfaceSkeleton: 1567s # * 1567s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1567s # */ 1567s # 1567s # /** 1567s # * OrgProjectUsefulInterfaceSkeletonClass: 1567s # * @parent_class: The parent class. 1567s # * 1567s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1567s # */ 1567s # 1567s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1567s # { 1567s # GValue *properties; 1567s # GList *changed_properties; 1567s # GSource *changed_properties_idle_source; 1567s # GMainContext *context; 1567s # GMutex lock; 1567s # }; 1567s # 1567s # static void 1567s # _org_project_useful_interface_skeleton_handle_method_call ( 1567s # GDBusConnection *connection G_GNUC_UNUSED, 1567s # const gchar *sender G_GNUC_UNUSED, 1567s # const gchar *object_path G_GNUC_UNUSED, 1567s # const gchar *interface_name, 1567s # const gchar *method_name, 1567s # GVariant *parameters, 1567s # GDBusMethodInvocation *invocation, 1567s # gpointer user_data) 1567s # { 1567s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1567s # _ExtendedGDBusMethodInfo *info; 1567s # GVariantIter iter; 1567s # GVariant *child; 1567s # GValue *paramv; 1567s # gsize num_params; 1567s # guint num_extra; 1567s # gsize n; 1567s # guint signal_id; 1567s # GValue return_value = G_VALUE_INIT; 1567s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1567s # g_assert (info != NULL); 1567s # num_params = g_variant_n_children (parameters); 1567s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1567s # n = 0; 1567s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1567s # g_value_set_object (¶mv[n++], skeleton); 1567s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1567s # g_value_set_object (¶mv[n++], invocation); 1567s # if (info->pass_fdlist) 1567s # { 1567s # #ifdef G_OS_UNIX 1567s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1567s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1567s # #else 1567s # g_assert_not_reached (); 1567s # #endif 1567s # } 1567s # g_variant_iter_init (&iter, parameters); 1567s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1567s # { 1567s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1567s # if (arg_info->use_gvariant) 1567s # { 1567s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1567s # g_value_set_variant (¶mv[n], child); 1567s # n++; 1567s # } 1567s # else 1567s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1567s # g_variant_unref (child); 1567s # } 1567s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1567s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1567s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1567s # if (!g_value_get_boolean (&return_value)) 1567s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1567s # g_value_unset (&return_value); 1567s # for (n = 0; n < num_params + num_extra; n++) 1567s # g_value_unset (¶mv[n]); 1567s # g_free (paramv); 1567s # } 1567s # 1567s # static GVariant * 1567s # _org_project_useful_interface_skeleton_handle_get_property ( 1567s # GDBusConnection *connection G_GNUC_UNUSED, 1567s # const gchar *sender G_GNUC_UNUSED, 1567s # const gchar *object_path G_GNUC_UNUSED, 1567s # const gchar *interface_name G_GNUC_UNUSED, 1567s # const gchar *property_name, 1567s # GError **error, 1567s # gpointer user_data) 1567s # { 1567s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1567s # GValue value = G_VALUE_INIT; 1567s # GParamSpec *pspec; 1567s # _ExtendedGDBusPropertyInfo *info; 1567s # GVariant *ret; 1567s # ret = NULL; 1567s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1567s # g_assert (info != NULL); 1567s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1567s # if (pspec == NULL) 1567s # { 1567s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1567s # } 1567s # else 1567s # { 1567s # g_value_init (&value, pspec->value_type); 1567s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1567s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1567s # g_value_unset (&value); 1567s # } 1567s # return ret; 1567s # } 1567s # 1567s # static gboolean 1567s # _org_project_useful_interface_skeleton_handle_set_property ( 1567s # GDBusConnection *connection G_GNUC_UNUSED, 1567s # const gchar *sender G_GNUC_UNUSED, 1567s # const gchar *object_path G_GNUC_UNUSED, 1567s # const gchar *interface_name G_GNUC_UNUSED, 1567s # const gchar *property_name, 1567s # GVariant *variant, 1567s # GError **error, 1567s # gpointer user_data) 1567s # { 1567s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1567s # GValue value = G_VALUE_INIT; 1567s # GParamSpec *pspec; 1567s # _ExtendedGDBusPropertyInfo *info; 1567s # gboolean ret; 1567s # ret = FALSE; 1567s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1567s # g_assert (info != NULL); 1567s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1567s # if (pspec == NULL) 1567s # { 1567s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1567s # } 1567s # else 1567s # { 1567s # if (info->use_gvariant) 1567s # g_value_set_variant (&value, variant); 1567s # else 1567s # g_dbus_gvariant_to_gvalue (variant, &value); 1567s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1567s # g_value_unset (&value); 1567s # ret = TRUE; 1567s # } 1567s # return ret; 1567s # } 1567s # 1567s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1567s # { 1567s # _org_project_useful_interface_skeleton_handle_method_call, 1567s # _org_project_useful_interface_skeleton_handle_get_property, 1567s # _org_project_useful_interface_skeleton_handle_set_property, 1567s # {NULL} 1567s # }; 1567s # 1567s # static GDBusInterfaceInfo * 1567s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1567s # { 1567s # return org_project_useful_interface_interface_info (); 1567s # } 1567s # 1567s # static GDBusInterfaceVTable * 1567s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1567s # { 1567s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1567s # } 1567s # 1567s # static GVariant * 1567s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1567s # { 1567s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1567s # 1567s # GVariantBuilder builder; 1567s # guint n; 1567s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1567s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1567s # goto out; 1567s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1567s # { 1567s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1567s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1567s # { 1567s # GVariant *value; 1567s # 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); 1567s # if (value != NULL) 1567s # { 1567s # g_variant_take_ref (value); 1567s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1567s # g_variant_unref (value); 1567s # } 1567s # } 1567s # } 1567s # out: 1567s # return g_variant_builder_end (&builder); 1567s # } 1567s # 1567s # static void 1567s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1567s # { 1567s # } 1567s # 1567s # static void 1567s # _org_project_useful_interface_on_signal_simple_signal ( 1567s # OrgProjectUsefulInterface *object) 1567s # { 1567s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1567s # 1567s # GList *connections, *l; 1567s # GVariant *signal_variant; 1567s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1567s # 1567s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1567s # for (l = connections; l != NULL; l = l->next) 1567s # { 1567s # GDBusConnection *connection = l->data; 1567s # g_dbus_connection_emit_signal (connection, 1567s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.UsefulInterface", "SimpleSignal", 1567s # signal_variant, NULL); 1567s # } 1567s # g_variant_unref (signal_variant); 1567s # g_list_free_full (connections, g_object_unref); 1567s # } 1567s # 1567s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1567s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1567s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1567s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1567s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1567s # 1567s # #else 1567s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1567s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1567s # 1567s # #endif 1567s # static void 1567s # org_project_useful_interface_skeleton_finalize (GObject *object) 1567s # { 1567s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1567s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1567s # if (skeleton->priv->changed_properties_idle_source != NULL) 1567s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1567s # g_main_context_unref (skeleton->priv->context); 1567s # g_mutex_clear (&skeleton->priv->lock); 1567s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1567s # } 1567s # 1567s # static void 1567s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1567s # { 1567s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1567s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1567s # #else 1567s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1567s # #endif 1567s # 1567s # g_mutex_init (&skeleton->priv->lock); 1567s # skeleton->priv->context = g_main_context_ref_thread_default (); 1567s # } 1567s # 1567s # static void 1567s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1567s # { 1567s # GObjectClass *gobject_class; 1567s # GDBusInterfaceSkeletonClass *skeleton_class; 1567s # 1567s # gobject_class = G_OBJECT_CLASS (klass); 1567s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1567s # 1567s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1567s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1567s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1567s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1567s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1567s # 1567s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1567s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1567s # #endif 1567s # } 1567s # 1567s # static void 1567s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface) 1567s # { 1567s # iface->simple_signal = _org_project_useful_interface_on_signal_simple_signal; 1567s # } 1567s # 1567s # /** 1567s # * org_project_useful_interface_skeleton_new: 1567s # * 1567s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1567s # * 1567s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1567s # */ 1567s # OrgProjectUsefulInterface * 1567s # org_project_useful_interface_skeleton_new (void) 1567s # { 1567s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1567s # } 1567s # 1567s # /* ------------------------------------------------------------------------ 1567s # * Code for interface org.project.OtherIface 1567s # * ------------------------------------------------------------------------ 1567s # */ 1567s # 1567s # /** 1567s # * SECTION:OrgProjectOtherIface 1567s # * @title: OrgProjectOtherIface 1567s # * @short_description: Generated C code for the org.project.OtherIface D-Bus interface 1567s # * 1567s # * This section contains code for working with the org.project.OtherIface D-Bus interface in C. 1567s # */ 1567s # 1567s # enum 1567s # { 1567s # _ORG_PROJECT_OTHER_IFACE_SIMPLE_SIGNAL, 1567s # }; 1567s # 1567s # static unsigned _ORG_PROJECT_OTHER_IFACE_SIGNALS[1] = { 0 }; 1567s # 1567s # /* ---- Introspection data for org.project.OtherIface ---- */ 1567s # 1567s # static const _ExtendedGDBusSignalInfo _org_project_other_iface_signal_info_simple_signal = 1567s # { 1567s # { 1567s # -1, 1567s # (gchar *) "SimpleSignal", 1567s # NULL, 1567s # NULL 1567s # }, 1567s # "simple-signal" 1567s # }; 1567s # 1567s # static const GDBusSignalInfo * const _org_project_other_iface_signal_info_pointers[] = 1567s # { 1567s # &_org_project_other_iface_signal_info_simple_signal.parent_struct, 1567s # NULL 1567s # }; 1567s # 1567s # static const _ExtendedGDBusInterfaceInfo _org_project_other_iface_interface_info = 1567s # { 1567s # { 1567s # -1, 1567s # (gchar *) "org.project.OtherIface", 1567s # NULL, 1567s # (GDBusSignalInfo **) &_org_project_other_iface_signal_info_pointers, 1567s # NULL, 1567s # NULL 1567s # }, 1567s # "org-project-other-iface", 1567s # }; 1567s # 1567s # 1567s # /** 1567s # * org_project_other_iface_interface_info: 1567s # * 1567s # * Gets a machine-readable description of the org.project.OtherIface D-Bus interface. 1567s # * 1567s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1567s # */ 1567s # GDBusInterfaceInfo * 1567s # org_project_other_iface_interface_info (void) 1567s # { 1567s # return (GDBusInterfaceInfo *) &_org_project_other_iface_interface_info.parent_struct; 1567s # } 1567s # 1567s # /** 1567s # * org_project_other_iface_override_properties: 1567s # * @klass: The class structure for a #GObject derived class. 1567s # * @property_id_begin: The property id to assign to the first overridden property. 1567s # * 1567s # * Overrides all #GObject properties in the #OrgProjectOtherIface interface for a concrete class. 1567s # * The properties are overridden in the order they are defined. 1567s # * 1567s # * Returns: The last property id. 1567s # */ 1567s # guint 1567s # org_project_other_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1567s # { 1567s # return property_id_begin - 1; 1567s # } 1567s # 1567s # 1567s # inline static void 1567s # org_project_other_iface_signal_marshal_simple_signal ( 1567s # GClosure *closure, 1567s # GValue *return_value, 1567s # unsigned int n_param_values, 1567s # const GValue *param_values, 1567s # void *invocation_hint, 1567s # void *marshal_data) 1567s # { 1567s # g_cclosure_marshal_VOID__VOID (closure, 1567s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1567s # } 1567s # 1567s # 1567s # /** 1567s # * OrgProjectOtherIface: 1567s # * 1567s # * Abstract interface type for the D-Bus interface org.project.OtherIface. 1567s # */ 1567s # 1567s # /** 1567s # * OrgProjectOtherIfaceIface: 1567s # * @parent_iface: The parent interface. 1567s # * @simple_signal: Handler for the #OrgProjectOtherIface::simple-signal signal. 1567s # * 1567s # * Virtual table for the D-Bus interface org.project.OtherIface. 1567s # */ 1567s # 1567s # typedef OrgProjectOtherIfaceIface OrgProjectOtherIfaceInterface; 1567s # G_DEFINE_INTERFACE (OrgProjectOtherIface, org_project_other_iface, G_TYPE_OBJECT) 1567s # 1567s # static void 1567s # org_project_other_iface_default_init (OrgProjectOtherIfaceIface *iface) 1567s # { 1567s # /* GObject signals for received D-Bus signals: */ 1567s # /** 1567s # * OrgProjectOtherIface::simple-signal: 1567s # * @object: A #OrgProjectOtherIface. 1567s # * 1567s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1567s # * 1567s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1567s # */ 1567s # _ORG_PROJECT_OTHER_IFACE_SIGNALS[_ORG_PROJECT_OTHER_IFACE_SIMPLE_SIGNAL] = 1567s # g_signal_new ("simple-signal", 1567s # G_TYPE_FROM_INTERFACE (iface), 1567s # G_SIGNAL_RUN_LAST, 1567s # G_STRUCT_OFFSET (OrgProjectOtherIfaceIface, simple_signal), 1567s # NULL, 1567s # NULL, 1567s # org_project_other_iface_signal_marshal_simple_signal, 1567s # G_TYPE_NONE, 1567s # 0); 1567s # 1567s # } 1567s # 1567s # /** 1567s # * org_project_other_iface_emit_simple_signal: 1567s # * @object: A #OrgProjectOtherIface. 1567s # * 1567s # * Emits the "SimpleSignal" D-Bus signal. 1567s # */ 1567s # void 1567s # org_project_other_iface_emit_simple_signal ( 1567s # OrgProjectOtherIface *object) 1567s # { 1567s # g_signal_emit (object, _ORG_PROJECT_OTHER_IFACE_SIGNALS[_ORG_PROJECT_OTHER_IFACE_SIMPLE_SIGNAL], 0); 1567s # } 1567s # 1567s # /* ------------------------------------------------------------------------ */ 1567s # 1567s # /** 1567s # * OrgProjectOtherIfaceProxy: 1567s # * 1567s # * The #OrgProjectOtherIfaceProxy structure contains only private data and should only be accessed using the provided API. 1567s # */ 1567s # 1567s # /** 1567s # * OrgProjectOtherIfaceProxyClass: 1567s # * @parent_class: The parent class. 1567s # * 1567s # * Class structure for #OrgProjectOtherIfaceProxy. 1567s # */ 1567s # 1567s # struct _OrgProjectOtherIfaceProxyPrivate 1567s # { 1567s # GData *qdata; 1567s # }; 1567s # 1567s # static void org_project_other_iface_proxy_iface_init (OrgProjectOtherIfaceIface *iface); 1567s # 1567s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1567s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherIfaceProxy, org_project_other_iface_proxy, G_TYPE_DBUS_PROXY, 1567s # G_ADD_PRIVATE (OrgProjectOtherIfaceProxy) 1567s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_IFACE, org_project_other_iface_proxy_iface_init)) 1567s # 1567s # #else 1567s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherIfaceProxy, org_project_other_iface_proxy, G_TYPE_DBUS_PROXY, 1567s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_IFACE, org_project_other_iface_proxy_iface_init)) 1567s # 1567s # #endif 1567s # static void 1567s # org_project_other_iface_proxy_finalize (GObject *object) 1567s # { 1567s # OrgProjectOtherIfaceProxy *proxy = ORG_PROJECT_OTHER_IFACE_PROXY (object); 1567s # g_datalist_clear (&proxy->priv->qdata); 1567s # G_OBJECT_CLASS (org_project_other_iface_proxy_parent_class)->finalize (object); 1567s # } 1567s # 1567s # static void 1567s # org_project_other_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1567s # guint prop_id G_GNUC_UNUSED, 1567s # GValue *value G_GNUC_UNUSED, 1567s # GParamSpec *pspec G_GNUC_UNUSED) 1567s # { 1567s # } 1567s # 1567s # static void 1567s # org_project_other_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1567s # guint prop_id G_GNUC_UNUSED, 1567s # const GValue *value G_GNUC_UNUSED, 1567s # GParamSpec *pspec G_GNUC_UNUSED) 1567s # { 1567s # } 1567s # 1567s # static void 1567s # org_project_other_iface_proxy_g_signal (GDBusProxy *proxy, 1567s # const gchar *sender_name G_GNUC_UNUSED, 1567s # const gchar *signal_name, 1567s # GVariant *parameters) 1567s # { 1567s # _ExtendedGDBusSignalInfo *info; 1567s # GVariantIter iter; 1567s # GVariant *child; 1567s # GValue *paramv; 1567s # gsize num_params; 1567s # gsize n; 1567s # guint signal_id; 1567s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_other_iface_interface_info.parent_struct, signal_name); 1567s # if (info == NULL) 1567s # return; 1567s # num_params = g_variant_n_children (parameters); 1567s # paramv = g_new0 (GValue, num_params + 1); 1567s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_OTHER_IFACE); 1567s # g_value_set_object (¶mv[0], proxy); 1567s # g_variant_iter_init (&iter, parameters); 1567s # n = 1; 1567s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1567s # { 1567s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1567s # if (arg_info->use_gvariant) 1567s # { 1567s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1567s # g_value_set_variant (¶mv[n], child); 1567s # n++; 1567s # } 1567s # else 1567s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1567s # g_variant_unref (child); 1567s # } 1567s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_OTHER_IFACE); 1567s # g_signal_emitv (paramv, signal_id, 0, NULL); 1567s # for (n = 0; n < num_params + 1; n++) 1567s # g_value_unset (¶mv[n]); 1567s # g_free (paramv); 1567s # } 1567s # 1567s # static void 1567s # org_project_other_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1567s # GVariant *changed_properties, 1567s # const gchar *const *invalidated_properties) 1567s # { 1567s # OrgProjectOtherIfaceProxy *proxy = ORG_PROJECT_OTHER_IFACE_PROXY (_proxy); 1567s # guint n; 1567s # const gchar *key; 1567s # GVariantIter *iter; 1567s # _ExtendedGDBusPropertyInfo *info; 1567s # g_variant_get (changed_properties, "a{sv}", &iter); 1567s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1567s # { 1567s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_iface_interface_info.parent_struct, key); 1567s # g_datalist_remove_data (&proxy->priv->qdata, key); 1567s # if (info != NULL) 1567s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1567s # } 1567s # g_variant_iter_free (iter); 1567s # for (n = 0; invalidated_properties[n] != NULL; n++) 1567s # { 1567s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_iface_interface_info.parent_struct, invalidated_properties[n]); 1567s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1567s # if (info != NULL) 1567s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1567s # } 1567s # } 1567s # 1567s # static void 1567s # org_project_other_iface_proxy_init (OrgProjectOtherIfaceProxy *proxy) 1567s # { 1567s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1567s # proxy->priv = org_project_other_iface_proxy_get_instance_private (proxy); 1567s # #else 1567s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_OTHER_IFACE_PROXY, OrgProjectOtherIfaceProxyPrivate); 1567s # #endif 1567s # 1567s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_other_iface_interface_info ()); 1567s # } 1567s # 1567s # static void 1567s # org_project_other_iface_proxy_class_init (OrgProjectOtherIfaceProxyClass *klass) 1567s # { 1567s # GObjectClass *gobject_class; 1567s # GDBusProxyClass *proxy_class; 1567s # 1567s # gobject_class = G_OBJECT_CLASS (klass); 1567s # gobject_class->finalize = org_project_other_iface_proxy_finalize; 1567s # gobject_class->get_property = org_project_other_iface_proxy_get_property; 1567s # gobject_class->set_property = org_project_other_iface_proxy_set_property; 1567s # 1567s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1567s # proxy_class->g_signal = org_project_other_iface_proxy_g_signal; 1567s # proxy_class->g_properties_changed = org_project_other_iface_proxy_g_properties_changed; 1567s # 1567s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1567s # g_type_class_add_private (klass, sizeof (OrgProjectOtherIfaceProxyPrivate)); 1567s # #endif 1567s # } 1567s # 1567s # static void 1567s # org_project_other_iface_proxy_iface_init (OrgProjectOtherIfaceIface *iface G_GNUC_UNUSED) 1567s # { 1567s # } 1567s # 1567s # /** 1567s # * org_project_other_iface_proxy_new: 1567s # * @connection: A #GDBusConnection. 1567s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1567s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1567s # * @object_path: An object path. 1567s # * @cancellable: (nullable): A #GCancellable or %NULL. 1567s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1567s # * @user_data: User data to pass to @callback. 1567s # * 1567s # * Asynchronously creates a proxy for the D-Bus interface org.project.OtherIface. See g_dbus_proxy_new() for more details. 1567s # * 1567s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1567s # * You can then call org_project_other_iface_proxy_new_finish() to get the result of the operation. 1567s # * 1567s # * See org_project_other_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1567s # */ 1567s # void 1567s # org_project_other_iface_proxy_new ( 1567s # GDBusConnection *connection, 1567s # GDBusProxyFlags flags, 1567s # const gchar *name, 1567s # const gchar *object_path, 1567s # GCancellable *cancellable, 1567s # GAsyncReadyCallback callback, 1567s # gpointer user_data) 1567s # { 1567s # 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); 1567s # } 1567s # 1567s # /** 1567s # * org_project_other_iface_proxy_new_finish: 1567s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_iface_proxy_new(). 1567s # * @error: Return location for error or %NULL 1567s # * 1567s # * Finishes an operation started with org_project_other_iface_proxy_new(). 1567s # * 1567s # * Returns: (transfer full) (type OrgProjectOtherIfaceProxy): The constructed proxy object or %NULL if @error is set. 1567s # */ 1567s # OrgProjectOtherIface * 1567s # org_project_other_iface_proxy_new_finish ( 1567s # GAsyncResult *res, 1567s # GError **error) 1567s # { 1567s # GObject *ret; 1567s # GObject *source_object; 1567s # source_object = g_async_result_get_source_object (res); 1567s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1567s # g_object_unref (source_object); 1567s # if (ret != NULL) 1567s # return ORG_PROJECT_OTHER_IFACE (ret); 1567s # else 1567s # return NULL; 1567s # } 1567s # 1567s # /** 1567s # * org_project_other_iface_proxy_new_sync: 1567s # * @connection: A #GDBusConnection. 1567s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1567s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1567s # * @object_path: An object path. 1567s # * @cancellable: (nullable): A #GCancellable or %NULL. 1567s # * @error: Return location for error or %NULL 1567s # * 1567s # * Synchronously creates a proxy for the D-Bus interface org.project.OtherIface. See g_dbus_proxy_new_sync() for more details. 1567s # * 1567s # * The calling thread is blocked until a reply is received. 1567s # * 1567s # * See org_project_other_iface_proxy_new() for the asynchronous version of this constructor. 1567s # * 1567s # * Returns: (transfer full) (type OrgProjectOtherIfaceProxy): The constructed proxy object or %NULL if @error is set. 1567s # */ 1567s # OrgProjectOtherIface * 1567s # org_project_other_iface_proxy_new_sync ( 1567s # GDBusConnection *connection, 1567s # GDBusProxyFlags flags, 1567s # const gchar *name, 1567s # const gchar *object_path, 1567s # GCancellable *cancellable, 1567s # GError **error) 1567s # { 1567s # GInitable *ret; 1567s # 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); 1567s # if (ret != NULL) 1567s # return ORG_PROJECT_OTHER_IFACE (ret); 1567s # else 1567s # return NULL; 1567s # } 1567s # 1567s # 1567s # /** 1567s # * org_project_other_iface_proxy_new_for_bus: 1567s # * @bus_type: A #GBusType. 1567s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1567s # * @name: A bus name (well-known or unique). 1567s # * @object_path: An object path. 1567s # * @cancellable: (nullable): A #GCancellable or %NULL. 1567s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1567s # * @user_data: User data to pass to @callback. 1567s # * 1567s # * Like org_project_other_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1567s # * 1567s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1567s # * You can then call org_project_other_iface_proxy_new_for_bus_finish() to get the result of the operation. 1567s # * 1567s # * See org_project_other_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1567s # */ 1567s # void 1567s # org_project_other_iface_proxy_new_for_bus ( 1567s # GBusType bus_type, 1567s # GDBusProxyFlags flags, 1567s # const gchar *name, 1567s # const gchar *object_path, 1567s # GCancellable *cancellable, 1567s # GAsyncReadyCallback callback, 1567s # gpointer user_data) 1567s # { 1567s # 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); 1567s # } 1567s # 1567s # /** 1567s # * org_project_other_iface_proxy_new_for_bus_finish: 1567s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_iface_proxy_new_for_bus(). 1567s # * @error: Return location for error or %NULL 1567s # * 1567s # * Finishes an operation started with org_project_other_iface_proxy_new_for_bus(). 1567s # * 1567s # * Returns: (transfer full) (type OrgProjectOtherIfaceProxy): The constructed proxy object or %NULL if @error is set. 1567s # */ 1567s # OrgProjectOtherIface * 1567s # org_project_other_iface_proxy_new_for_bus_finish ( 1567s # GAsyncResult *res, 1567s # GError **error) 1567s # { 1567s # GObject *ret; 1567s # GObject *source_object; 1567s # source_object = g_async_result_get_source_object (res); 1567s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1567s # g_object_unref (source_object); 1567s # if (ret != NULL) 1567s # return ORG_PROJECT_OTHER_IFACE (ret); 1567s # else 1567s # return NULL; 1567s # } 1567s # 1567s # /** 1567s # * org_project_other_iface_proxy_new_for_bus_sync: 1567s # * @bus_type: A #GBusType. 1567s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1567s # * @name: A bus name (well-known or unique). 1567s # * @object_path: An object path. 1567s # * @cancellable: (nullable): A #GCancellable or %NULL. 1567s # * @error: Return location for error or %NULL 1567s # * 1567s # * Like org_project_other_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1567s # * 1567s # * The calling thread is blocked until a reply is received. 1567s # * 1567s # * See org_project_other_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1567s # * 1567s # * Returns: (transfer full) (type OrgProjectOtherIfaceProxy): The constructed proxy object or %NULL if @error is set. 1567s # */ 1567s # OrgProjectOtherIface * 1567s # org_project_other_iface_proxy_new_for_bus_sync ( 1567s # GBusType bus_type, 1567s # GDBusProxyFlags flags, 1567s # const gchar *name, 1567s # const gchar *object_path, 1567s # GCancellable *cancellable, 1567s # GError **error) 1567s # { 1567s # GInitable *ret; 1567s # 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); 1567s # if (ret != NULL) 1567s # return ORG_PROJECT_OTHER_IFACE (ret); 1567s # else 1567s # return NULL; 1567s # } 1567s # 1567s # 1567s # /* ------------------------------------------------------------------------ */ 1567s # 1567s # /** 1567s # * OrgProjectOtherIfaceSkeleton: 1567s # * 1567s # * The #OrgProjectOtherIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1567s # */ 1567s # 1567s # /** 1567s # * OrgProjectOtherIfaceSkeletonClass: 1567s # * @parent_class: The parent class. 1567s # * 1567s # * Class structure for #OrgProjectOtherIfaceSkeleton. 1567s # */ 1567s # 1567s # struct _OrgProjectOtherIfaceSkeletonPrivate 1567s # { 1567s # GValue *properties; 1567s # GList *changed_properties; 1567s # GSource *changed_properties_idle_source; 1567s # GMainContext *context; 1567s # GMutex lock; 1567s # }; 1567s # 1567s # static void 1567s # _org_project_other_iface_skeleton_handle_method_call ( 1567s # GDBusConnection *connection G_GNUC_UNUSED, 1567s # const gchar *sender G_GNUC_UNUSED, 1567s # const gchar *object_path G_GNUC_UNUSED, 1567s # const gchar *interface_name, 1567s # const gchar *method_name, 1567s # GVariant *parameters, 1567s # GDBusMethodInvocation *invocation, 1567s # gpointer user_data) 1567s # { 1567s # OrgProjectOtherIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_IFACE_SKELETON (user_data); 1567s # _ExtendedGDBusMethodInfo *info; 1567s # GVariantIter iter; 1567s # GVariant *child; 1567s # GValue *paramv; 1567s # gsize num_params; 1567s # guint num_extra; 1567s # gsize n; 1567s # guint signal_id; 1567s # GValue return_value = G_VALUE_INIT; 1567s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1567s # g_assert (info != NULL); 1567s # num_params = g_variant_n_children (parameters); 1567s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1567s # n = 0; 1567s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_OTHER_IFACE); 1567s # g_value_set_object (¶mv[n++], skeleton); 1567s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1567s # g_value_set_object (¶mv[n++], invocation); 1567s # if (info->pass_fdlist) 1567s # { 1567s # #ifdef G_OS_UNIX 1567s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1567s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1567s # #else 1567s # g_assert_not_reached (); 1567s # #endif 1567s # } 1567s # g_variant_iter_init (&iter, parameters); 1567s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1567s # { 1567s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1567s # if (arg_info->use_gvariant) 1567s # { 1567s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1567s # g_value_set_variant (¶mv[n], child); 1567s # n++; 1567s # } 1567s # else 1567s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1567s # g_variant_unref (child); 1567s # } 1567s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_OTHER_IFACE); 1567s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1567s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1567s # if (!g_value_get_boolean (&return_value)) 1567s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1567s # g_value_unset (&return_value); 1567s # for (n = 0; n < num_params + num_extra; n++) 1567s # g_value_unset (¶mv[n]); 1567s # g_free (paramv); 1567s # } 1567s # 1567s # static GVariant * 1567s # _org_project_other_iface_skeleton_handle_get_property ( 1567s # GDBusConnection *connection G_GNUC_UNUSED, 1567s # const gchar *sender G_GNUC_UNUSED, 1567s # const gchar *object_path G_GNUC_UNUSED, 1567s # const gchar *interface_name G_GNUC_UNUSED, 1567s # const gchar *property_name, 1567s # GError **error, 1567s # gpointer user_data) 1567s # { 1567s # OrgProjectOtherIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_IFACE_SKELETON (user_data); 1567s # GValue value = G_VALUE_INIT; 1567s # GParamSpec *pspec; 1567s # _ExtendedGDBusPropertyInfo *info; 1567s # GVariant *ret; 1567s # ret = NULL; 1567s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_iface_interface_info.parent_struct, property_name); 1567s # g_assert (info != NULL); 1567s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1567s # if (pspec == NULL) 1567s # { 1567s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1567s # } 1567s # else 1567s # { 1567s # g_value_init (&value, pspec->value_type); 1567s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1567s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1567s # g_value_unset (&value); 1567s # } 1567s # return ret; 1567s # } 1567s # 1567s # static gboolean 1567s # _org_project_other_iface_skeleton_handle_set_property ( 1567s # GDBusConnection *connection G_GNUC_UNUSED, 1567s # const gchar *sender G_GNUC_UNUSED, 1567s # const gchar *object_path G_GNUC_UNUSED, 1567s # const gchar *interface_name G_GNUC_UNUSED, 1567s # const gchar *property_name, 1567s # GVariant *variant, 1567s # GError **error, 1567s # gpointer user_data) 1567s # { 1567s # OrgProjectOtherIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_IFACE_SKELETON (user_data); 1567s # GValue value = G_VALUE_INIT; 1567s # GParamSpec *pspec; 1567s # _ExtendedGDBusPropertyInfo *info; 1567s # gboolean ret; 1567s # ret = FALSE; 1567s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_iface_interface_info.parent_struct, property_name); 1567s # g_assert (info != NULL); 1567s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1567s # if (pspec == NULL) 1567s # { 1567s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1567s # } 1567s # else 1567s # { 1567s # if (info->use_gvariant) 1567s # g_value_set_variant (&value, variant); 1567s # else 1567s # g_dbus_gvariant_to_gvalue (variant, &value); 1567s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1567s # g_value_unset (&value); 1567s # ret = TRUE; 1567s # } 1567s # return ret; 1567s # } 1567s # 1567s # static const GDBusInterfaceVTable _org_project_other_iface_skeleton_vtable = 1567s # { 1567s # _org_project_other_iface_skeleton_handle_method_call, 1567s # _org_project_other_iface_skeleton_handle_get_property, 1567s # _org_project_other_iface_skeleton_handle_set_property, 1567s # {NULL} 1567s # }; 1567s # 1567s # static GDBusInterfaceInfo * 1567s # org_project_other_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1567s # { 1567s # return org_project_other_iface_interface_info (); 1567s # } 1567s # 1567s # static GDBusInterfaceVTable * 1567s # org_project_other_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1567s # { 1567s # return (GDBusInterfaceVTable *) &_org_project_other_iface_skeleton_vtable; 1567s # } 1567s # 1567s # static GVariant * 1567s # org_project_other_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1567s # { 1567s # OrgProjectOtherIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_IFACE_SKELETON (_skeleton); 1567s # 1567s # GVariantBuilder builder; 1567s # guint n; 1567s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1567s # if (_org_project_other_iface_interface_info.parent_struct.properties == NULL) 1567s # goto out; 1567s # for (n = 0; _org_project_other_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1567s # { 1567s # GDBusPropertyInfo *info = _org_project_other_iface_interface_info.parent_struct.properties[n]; 1567s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1567s # { 1567s # GVariant *value; 1567s # 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); 1567s # if (value != NULL) 1567s # { 1567s # g_variant_take_ref (value); 1567s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1567s # g_variant_unref (value); 1567s # } 1567s # } 1567s # } 1567s # out: 1567s # return g_variant_builder_end (&builder); 1567s # } 1567s # 1567s # static void 1567s # org_project_other_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1567s # { 1567s # } 1567s # 1567s # static void 1567s # _org_project_other_iface_on_signal_simple_signal ( 1567s # OrgProjectOtherIface *object) 1567s # { 1567s # OrgProjectOtherIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_IFACE_SKELETON (object); 1567s # 1567s # GList *connections, *l; 1567s # GVariant *signal_variant; 1567s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1567s # 1567s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1567s # for (l = connections; l != NULL; l = l->next) 1567s # { 1567s # GDBusConnection *connection = l->data; 1567s # g_dbus_connection_emit_signal (connection, 1567s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.OtherIface", "SimpleSignal", 1567s # signal_variant, NULL); 1567s # } 1567s # g_variant_unref (signal_variant); 1567s # g_list_free_full (connections, g_object_unref); 1567s # } 1567s # 1567s # static void org_project_other_iface_skeleton_iface_init (OrgProjectOtherIfaceIface *iface); 1567s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1567s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherIfaceSkeleton, org_project_other_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1567s # G_ADD_PRIVATE (OrgProjectOtherIfaceSkeleton) 1567s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_IFACE, org_project_other_iface_skeleton_iface_init)) 1567s # 1567s # #else 1567s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherIfaceSkeleton, org_project_other_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1567s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_IFACE, org_project_other_iface_skeleton_iface_init)) 1567s # 1567s # #endif 1567s # static void 1567s # org_project_other_iface_skeleton_finalize (GObject *object) 1567s # { 1567s # OrgProjectOtherIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_IFACE_SKELETON (object); 1567s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1567s # if (skeleton->priv->changed_properties_idle_source != NULL) 1567s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1567s # g_main_context_unref (skeleton->priv->context); 1567s # g_mutex_clear (&skeleton->priv->lock); 1567s # G_OBJECT_CLASS (org_project_other_iface_skeleton_parent_class)->finalize (object); 1567s # } 1567s # 1567s # static void 1567s # org_project_other_iface_skeleton_init (OrgProjectOtherIfaceSkeleton *skeleton) 1567s # { 1567s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1567s # skeleton->priv = org_project_other_iface_skeleton_get_instance_private (skeleton); 1567s # #else 1567s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_OTHER_IFACE_SKELETON, OrgProjectOtherIfaceSkeletonPrivate); 1567s # #endif 1567s # 1567s # g_mutex_init (&skeleton->priv->lock); 1567s # skeleton->priv->context = g_main_context_ref_thread_default (); 1567s # } 1567s # 1567s # static void 1567s # org_project_other_iface_skeleton_class_init (OrgProjectOtherIfaceSkeletonClass *klass) 1567s # { 1567s # GObjectClass *gobject_class; 1567s # GDBusInterfaceSkeletonClass *skeleton_class; 1567s # 1567s # gobject_class = G_OBJECT_CLASS (klass); 1567s # gobject_class->finalize = org_project_other_iface_skeleton_finalize; 1567s # 1567s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1567s # skeleton_class->get_info = org_project_other_iface_skeleton_dbus_interface_get_info; 1567s # skeleton_class->get_properties = org_project_other_iface_skeleton_dbus_interface_get_properties; 1567s # skeleton_class->flush = org_project_other_iface_skeleton_dbus_interface_flush; 1567s # skeleton_class->get_vtable = org_project_other_iface_skeleton_dbus_interface_get_vtable; 1567s # 1567s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1567s # g_type_class_add_private (klass, sizeof (OrgProjectOtherIfaceSkeletonPrivate)); 1567s # #endif 1567s # } 1567s # 1567s # static void 1567s # org_project_other_iface_skeleton_iface_init (OrgProjectOtherIfaceIface *iface) 1567s # { 1567s # iface->simple_signal = _org_project_other_iface_on_signal_simple_signal; 1567s # } 1567s # 1567s # /** 1567s # * org_project_other_iface_skeleton_new: 1567s # * 1567s # * Creates a skeleton object for the D-Bus interface org.project.OtherIface. 1567s # * 1567s # * Returns: (transfer full) (type OrgProjectOtherIfaceSkeleton): The skeleton object. 1567s # */ 1567s # OrgProjectOtherIface * 1567s # org_project_other_iface_skeleton_new (void) 1567s # { 1567s # return ORG_PROJECT_OTHER_IFACE (g_object_new (TYPE_ORG_PROJECT_OTHER_IFACE_SKELETON, NULL)); 1567s # } 1567s ok 22 __main__.TestCodegen.test_generate_signals_marshaller_simple_signal 1567s # tmpdir: /tmp/tmpl0jlp636 1567s # codegen: /usr/bin/gdbus-codegen 1567s # /tmp/tmpl0jlp636/tmpo3wqu638.xml: 1567s # 1567s # 1567s # 1567s # 1567s # 1567s # 1567s # 1567s # 1567s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpl0jlp636/tmpo3wqu638.xml', '--output', '-', '--body'] 1567s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-baqskmurxn,guid=fbaffe99d0ccb1f6e1beb84865fc01cd', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.YcZbqk/autopkgtest_tmp', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.YcZbqk/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.YcZbqk/autopkgtest_tmp', 'TERM': 'unknown', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.YcZbqk/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.sVTVMp0Db0', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.rqZsJO/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.YcZbqk/wrapper.sh --artifacts=/tmp/autopkgtest.YcZbqk/installed-tests-artifacts --chdir=/tmp/autopkgtest.YcZbqk/build.S0E/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.YcZbqk/installed-tests-stderr --stdout=/tmp/autopkgtest.YcZbqk/installed-tests-stdout --tmp=/tmp/autopkgtest.YcZbqk/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2' --make-executable=/tmp/autopkgtest.YcZbqk/build.S0E/src/debian/tests/installed-tests -- /tmp/autopkgtest.YcZbqk/build.S0E/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.YcZbqk/build.S0E/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.YcZbqk/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1567s # Output: /* 1567s # * This file is generated by gdbus-codegen, do not modify it. 1567s # * 1567s # * The license of this code is the same as for the D-Bus interface description 1567s # * it was derived from. Note that it links to GLib, so must comply with the 1567s # * LGPL linking clauses. 1567s # */ 1567s # 1567s # #ifdef HAVE_CONFIG_H 1567s # # include "config.h" 1567s # #endif 1567s # 1567s # #include 1567s # #ifdef G_OS_UNIX 1567s # # include 1567s # #endif 1567s # 1567s # #ifdef G_ENABLE_DEBUG 1567s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1567s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1567s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1567s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1567s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1567s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1567s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1567s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1567s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1567s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1567s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1567s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1567s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1567s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1567s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1567s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1567s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1567s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1567s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1567s # #else /* !G_ENABLE_DEBUG */ 1567s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1567s # * Do not access GValues directly in your code. Instead, use the 1567s # * g_value_get_*() functions 1567s # */ 1567s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1567s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1567s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1567s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1567s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1567s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1567s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1567s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1567s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1567s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1567s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1567s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1567s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1567s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1567s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1567s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1567s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1567s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1567s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1567s # #endif /* !G_ENABLE_DEBUG */ 1567s # 1567s # typedef struct 1567s # { 1567s # GDBusArgInfo parent_struct; 1567s # gboolean use_gvariant; 1567s # } _ExtendedGDBusArgInfo; 1567s # 1567s # typedef struct 1567s # { 1567s # GDBusMethodInfo parent_struct; 1567s # const gchar *signal_name; 1567s # gboolean pass_fdlist; 1567s # } _ExtendedGDBusMethodInfo; 1567s # 1567s # typedef struct 1567s # { 1567s # GDBusSignalInfo parent_struct; 1567s # const gchar *signal_name; 1567s # } _ExtendedGDBusSignalInfo; 1567s # 1567s # typedef struct 1567s # { 1567s # GDBusPropertyInfo parent_struct; 1567s # const gchar *hyphen_name; 1567s # guint use_gvariant : 1; 1567s # guint emits_changed_signal : 1; 1567s # } _ExtendedGDBusPropertyInfo; 1567s # 1567s # typedef struct 1567s # { 1567s # GDBusInterfaceInfo parent_struct; 1567s # const gchar *hyphen_name; 1567s # } _ExtendedGDBusInterfaceInfo; 1567s # 1567s # typedef struct 1567s # { 1567s # const _ExtendedGDBusPropertyInfo *info; 1567s # guint prop_id; 1567s # GValue orig_value; /* the value before the change */ 1567s # } ChangedProperty; 1567s # 1567s # static void 1567s # _changed_property_free (ChangedProperty *data) 1567s # { 1567s # g_value_unset (&data->orig_value); 1567s # g_free (data); 1567s # } 1567s # 1567s # static gboolean 1567s # _g_strv_equal0 (gchar **a, gchar **b) 1567s # { 1567s # gboolean ret = FALSE; 1567s # guint n; 1567s # if (a == NULL && b == NULL) 1567s # { 1567s # ret = TRUE; 1567s # goto out; 1567s # } 1567s # if (a == NULL || b == NULL) 1567s # goto out; 1567s # if (g_strv_length (a) != g_strv_length (b)) 1567s # goto out; 1567s # for (n = 0; a[n] != NULL; n++) 1567s # if (g_strcmp0 (a[n], b[n]) != 0) 1567s # goto out; 1567s # ret = TRUE; 1567s # out: 1567s # return ret; 1567s # } 1567s # 1567s # static gboolean 1567s # _g_variant_equal0 (GVariant *a, GVariant *b) 1567s # { 1567s # gboolean ret = FALSE; 1567s # if (a == NULL && b == NULL) 1567s # { 1567s # ret = TRUE; 1567s # goto out; 1567s # } 1567s # if (a == NULL || b == NULL) 1567s # goto out; 1567s # ret = g_variant_equal (a, b); 1567s # out: 1567s # return ret; 1567s # } 1567s # 1567s # G_GNUC_UNUSED static gboolean 1567s # _g_value_equal (const GValue *a, const GValue *b) 1567s # { 1567s # gboolean ret = FALSE; 1567s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1567s # switch (G_VALUE_TYPE (a)) 1567s # { 1567s # case G_TYPE_BOOLEAN: 1567s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1567s # break; 1567s # case G_TYPE_UCHAR: 1567s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1567s # break; 1567s # case G_TYPE_INT: 1567s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1567s # break; 1567s # case G_TYPE_UINT: 1567s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1567s # break; 1567s # case G_TYPE_INT64: 1567s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1567s # break; 1567s # case G_TYPE_UINT64: 1567s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1567s # break; 1567s # case G_TYPE_DOUBLE: 1567s # { 1567s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1567s # gdouble da = g_value_get_double (a); 1567s # gdouble db = g_value_get_double (b); 1567s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1567s # } 1567s # break; 1567s # case G_TYPE_STRING: 1567s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1567s # break; 1567s # case G_TYPE_VARIANT: 1567s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1567s # break; 1567s # default: 1567s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1567s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1567s # else 1567s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1567s # break; 1567s # } 1567s # return ret; 1567s # } 1567s # 1567s # /* ------------------------------------------------------------------------ 1567s # * Code for interface org.project.SignalingIface 1567s # * ------------------------------------------------------------------------ 1567s # */ 1567s # 1567s # /** 1567s # * SECTION:OrgProjectSignalingIface 1567s # * @title: OrgProjectSignalingIface 1567s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1567s # * 1567s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1567s # */ 1567s # 1567s # enum 1567s # { 1567s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 1567s # }; 1567s # 1567s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[1] = { 0 }; 1567s # 1567s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1567s # 1567s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 1567s # { 1567s # { 1567s # -1, 1567s # (gchar *) "SimpleSignal", 1567s # NULL, 1567s # NULL 1567s # }, 1567s # "simple-signal" 1567s # }; 1567s # 1567s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1567s # { 1567s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 1567s # NULL 1567s # }; 1567s # 1567s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1567s # { 1567s # { 1567s # -1, 1567s # (gchar *) "org.project.SignalingIface", 1567s # NULL, 1567s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1567s # NULL, 1567s # NULL 1567s # }, 1567s # "org-project-signaling-iface", 1567s # }; 1567s # 1567s # 1567s # /** 1567s # * org_project_signaling_iface_interface_info: 1567s # * 1567s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1567s # * 1567s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1567s # */ 1567s # GDBusInterfaceInfo * 1567s # org_project_signaling_iface_interface_info (void) 1567s # { 1567s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1567s # } 1567s # 1567s # /** 1567s # * org_project_signaling_iface_override_properties: 1567s # * @klass: The class structure for a #GObject derived class. 1567s # * @property_id_begin: The property id to assign to the first overridden property. 1567s # * 1567s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1567s # * The properties are overridden in the order they are defined. 1567s # * 1567s # * Returns: The last property id. 1567s # */ 1567s # guint 1567s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1567s # { 1567s # return property_id_begin - 1; 1567s # } 1567s # 1567s # 1567s # inline static void 1567s # org_project_signaling_iface_signal_marshal_simple_signal ( 1567s # GClosure *closure, 1567s # GValue *return_value, 1567s # unsigned int n_param_values, 1567s # const GValue *param_values, 1567s # void *invocation_hint, 1567s # void *marshal_data) 1567s # { 1567s # g_cclosure_marshal_VOID__VOID (closure, 1567s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1567s # } 1567s # 1567s # 1567s # /** 1567s # * OrgProjectSignalingIface: 1567s # * 1567s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1567s # */ 1567s # 1567s # /** 1567s # * OrgProjectSignalingIfaceIface: 1567s # * @parent_iface: The parent interface. 1567s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 1567s # * 1567s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1567s # */ 1567s # 1567s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1567s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1567s # 1567s # static void 1567s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1567s # { 1567s # /* GObject signals for received D-Bus signals: */ 1567s # /** 1567s # * OrgProjectSignalingIface::simple-signal: 1567s # * @object: A #OrgProjectSignalingIface. 1567s # * 1567s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1567s # * 1567s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1567s # */ 1567s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 1567s # g_signal_new ("simple-signal", 1567s # G_TYPE_FROM_INTERFACE (iface), 1567s # G_SIGNAL_RUN_LAST, 1567s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 1567s # NULL, 1567s # NULL, 1567s # org_project_signaling_iface_signal_marshal_simple_signal, 1567s # G_TYPE_NONE, 1567s # 0); 1567s # 1567s # } 1567s # 1567s # /** 1567s # * org_project_signaling_iface_emit_simple_signal: 1567s # * @object: A #OrgProjectSignalingIface. 1567s # * 1567s # * Emits the "SimpleSignal" D-Bus signal. 1567s # */ 1567s # void 1567s # org_project_signaling_iface_emit_simple_signal ( 1567s # OrgProjectSignalingIface *object) 1567s # { 1567s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 1567s # } 1567s # 1567s # /* ------------------------------------------------------------------------ */ 1567s # 1567s # /** 1567s # * OrgProjectSignalingIfaceProxy: 1567s # * 1567s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1567s # */ 1567s # 1567s # /** 1567s # * OrgProjectSignalingIfaceProxyClass: 1567s # * @parent_class: The parent class. 1567s # * 1567s # * Class structure for #OrgProjectSignalingIfaceProxy. 1567s # */ 1567s # 1567s # struct _OrgProjectSignalingIfaceProxyPrivate 1567s # { 1567s # GData *qdata; 1567s # }; 1567s # 1567s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1567s # 1567s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1567s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1567s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1567s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1567s # 1567s # #else 1567s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1567s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1567s # 1567s # #endif 1567s # static void 1567s # org_project_signaling_iface_proxy_finalize (GObject *object) 1567s # { 1567s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1567s # g_datalist_clear (&proxy->priv->qdata); 1567s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1567s # } 1567s # 1567s # static void 1567s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1567s # guint prop_id G_GNUC_UNUSED, 1567s # GValue *value G_GNUC_UNUSED, 1567s # GParamSpec *pspec G_GNUC_UNUSED) 1567s # { 1567s # } 1567s # 1567s # static void 1567s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1567s # guint prop_id G_GNUC_UNUSED, 1567s # const GValue *value G_GNUC_UNUSED, 1567s # GParamSpec *pspec G_GNUC_UNUSED) 1567s # { 1567s # } 1567s # 1567s # static void 1567s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1567s # const gchar *sender_name G_GNUC_UNUSED, 1567s # const gchar *signal_name, 1567s # GVariant *parameters) 1567s # { 1567s # _ExtendedGDBusSignalInfo *info; 1567s # GVariantIter iter; 1567s # GVariant *child; 1567s # GValue *paramv; 1567s # gsize num_params; 1567s # gsize n; 1567s # guint signal_id; 1567s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1567s # if (info == NULL) 1567s # return; 1567s # num_params = g_variant_n_children (parameters); 1567s # paramv = g_new0 (GValue, num_params + 1); 1567s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1567s # g_value_set_object (¶mv[0], proxy); 1567s # g_variant_iter_init (&iter, parameters); 1567s # n = 1; 1567s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1567s # { 1567s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1567s # if (arg_info->use_gvariant) 1567s # { 1567s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1567s # g_value_set_variant (¶mv[n], child); 1567s # n++; 1567s # } 1567s # else 1567s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1567s # g_variant_unref (child); 1567s # } 1567s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1567s # g_signal_emitv (paramv, signal_id, 0, NULL); 1567s # for (n = 0; n < num_params + 1; n++) 1567s # g_value_unset (¶mv[n]); 1567s # g_free (paramv); 1567s # } 1567s # 1567s # static void 1567s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1567s # GVariant *changed_properties, 1567s # const gchar *const *invalidated_properties) 1567s # { 1567s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1567s # guint n; 1567s # const gchar *key; 1567s # GVariantIter *iter; 1567s # _ExtendedGDBusPropertyInfo *info; 1567s # g_variant_get (changed_properties, "a{sv}", &iter); 1567s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1567s # { 1567s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1567s # g_datalist_remove_data (&proxy->priv->qdata, key); 1567s # if (info != NULL) 1567s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1567s # } 1567s # g_variant_iter_free (iter); 1567s # for (n = 0; invalidated_properties[n] != NULL; n++) 1567s # { 1567s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1567s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1567s # if (info != NULL) 1567s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1567s # } 1567s # } 1567s # 1567s # static void 1567s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1567s # { 1567s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1567s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1567s # #else 1567s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1567s # #endif 1567s # 1567s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1567s # } 1567s # 1567s # static void 1567s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1567s # { 1567s # GObjectClass *gobject_class; 1567s # GDBusProxyClass *proxy_class; 1567s # 1567s # gobject_class = G_OBJECT_CLASS (klass); 1567s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1567s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1567s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1567s # 1567s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1567s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1567s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1567s # 1567s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1567s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1567s # #endif 1567s # } 1567s # 1567s # static void 1567s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1567s # { 1567s # } 1567s # 1567s # /** 1567s # * org_project_signaling_iface_proxy_new: 1567s # * @connection: A #GDBusConnection. 1567s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1567s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1567s # * @object_path: An object path. 1567s # * @cancellable: (nullable): A #GCancellable or %NULL. 1567s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1567s # * @user_data: User data to pass to @callback. 1567s # * 1567s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1567s # * 1567s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1567s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1567s # * 1567s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1567s # */ 1567s # void 1567s # org_project_signaling_iface_proxy_new ( 1567s # GDBusConnection *connection, 1567s # GDBusProxyFlags flags, 1567s # const gchar *name, 1567s # const gchar *object_path, 1567s # GCancellable *cancellable, 1567s # GAsyncReadyCallback callback, 1567s # gpointer user_data) 1567s # { 1567s # 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); 1567s # } 1567s # 1567s # /** 1567s # * org_project_signaling_iface_proxy_new_finish: 1567s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1567s # * @error: Return location for error or %NULL 1567s # * 1567s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1567s # * 1567s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1567s # */ 1567s # OrgProjectSignalingIface * 1567s # org_project_signaling_iface_proxy_new_finish ( 1567s # GAsyncResult *res, 1567s # GError **error) 1567s # { 1567s # GObject *ret; 1567s # GObject *source_object; 1567s # source_object = g_async_result_get_source_object (res); 1567s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1567s # g_object_unref (source_object); 1567s # if (ret != NULL) 1567s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1567s # else 1567s # return NULL; 1567s # } 1567s # 1567s # /** 1567s # * org_project_signaling_iface_proxy_new_sync: 1567s # * @connection: A #GDBusConnection. 1567s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1567s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1567s # * @object_path: An object path. 1567s # * @cancellable: (nullable): A #GCancellable or %NULL. 1567s # * @error: Return location for error or %NULL 1567s # * 1567s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1567s # * 1567s # * The calling thread is blocked until a reply is received. 1567s # * 1567s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1567s # * 1567s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1567s # */ 1567s # OrgProjectSignalingIface * 1567s # org_project_signaling_iface_proxy_new_sync ( 1567s # GDBusConnection *connection, 1567s # GDBusProxyFlags flags, 1567s # const gchar *name, 1567s # const gchar *object_path, 1567s # GCancellable *cancellable, 1567s # GError **error) 1567s # { 1567s # GInitable *ret; 1567s # 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); 1567s # if (ret != NULL) 1567s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1567s # else 1567s # return NULL; 1567s # } 1567s # 1567s # 1567s # /** 1567s # * org_project_signaling_iface_proxy_new_for_bus: 1567s # * @bus_type: A #GBusType. 1567s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1567s # * @name: A bus name (well-known or unique). 1567s # * @object_path: An object path. 1567s # * @cancellable: (nullable): A #GCancellable or %NULL. 1567s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1567s # * @user_data: User data to pass to @callback. 1567s # * 1567s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1567s # * 1567s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1567s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1567s # * 1567s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1567s # */ 1567s # void 1567s # org_project_signaling_iface_proxy_new_for_bus ( 1567s # GBusType bus_type, 1567s # GDBusProxyFlags flags, 1567s # const gchar *name, 1567s # const gchar *object_path, 1567s # GCancellable *cancellable, 1567s # GAsyncReadyCallback callback, 1567s # gpointer user_data) 1567s # { 1567s # 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); 1567s # } 1567s # 1567s # /** 1567s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1567s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1567s # * @error: Return location for error or %NULL 1567s # * 1567s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1567s # * 1567s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1567s # */ 1567s # OrgProjectSignalingIface * 1567s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1567s # GAsyncResult *res, 1567s # GError **error) 1567s # { 1567s # GObject *ret; 1567s # GObject *source_object; 1567s # source_object = g_async_result_get_source_object (res); 1567s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1567s # g_object_unref (source_object); 1567s # if (ret != NULL) 1567s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1567s # else 1567s # return NULL; 1567s # } 1567s # 1567s # /** 1567s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1567s # * @bus_type: A #GBusType. 1567s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1567s # * @name: A bus name (well-known or unique). 1567s # * @object_path: An object path. 1567s # * @cancellable: (nullable): A #GCancellable or %NULL. 1567s # * @error: Return location for error or %NULL 1567s # * 1567s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1567s # * 1567s # * The calling thread is blocked until a reply is received. 1567s # * 1567s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1567s # * 1567s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1567s # */ 1567s # OrgProjectSignalingIface * 1567s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1567s # GBusType bus_type, 1567s # GDBusProxyFlags flags, 1567s # const gchar *name, 1567s # const gchar *object_path, 1567s # GCancellable *cancellable, 1567s # GError **error) 1567s # { 1567s # GInitable *ret; 1567s # 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); 1567s # if (ret != NULL) 1567s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1567s # else 1567s # return NULL; 1567s # } 1567s # 1567s # 1567s # /* ------------------------------------------------------------------------ */ 1567s # 1567s # /** 1567s # * OrgProjectSignalingIfaceSkeleton: 1567s # * 1567s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1567s # */ 1567s # 1567s # /** 1567s # * OrgProjectSignalingIfaceSkeletonClass: 1567s # * @parent_class: The parent class. 1567s # * 1567s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1567s # */ 1567s # 1567s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1567s # { 1567s # GValue *properties; 1567s # GList *changed_properties; 1567s # GSource *changed_properties_idle_source; 1567s # GMainContext *context; 1567s # GMutex lock; 1567s # }; 1567s # 1567s # static void 1567s # _org_project_signaling_iface_skeleton_handle_method_call ( 1567s # GDBusConnection *connection G_GNUC_UNUSED, 1567s # const gchar *sender G_GNUC_UNUSED, 1567s # const gchar *object_path G_GNUC_UNUSED, 1567s # const gchar *interface_name, 1567s # const gchar *method_name, 1567s # GVariant *parameters, 1567s # GDBusMethodInvocation *invocation, 1567s # gpointer user_data) 1567s # { 1567s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1567s # _ExtendedGDBusMethodInfo *info; 1567s # GVariantIter iter; 1567s # GVariant *child; 1567s # GValue *paramv; 1567s # gsize num_params; 1567s # guint num_extra; 1567s # gsize n; 1567s # guint signal_id; 1567s # GValue return_value = G_VALUE_INIT; 1567s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1567s # g_assert (info != NULL); 1567s # num_params = g_variant_n_children (parameters); 1567s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1567s # n = 0; 1567s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1567s # g_value_set_object (¶mv[n++], skeleton); 1567s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1567s # g_value_set_object (¶mv[n++], invocation); 1567s # if (info->pass_fdlist) 1567s # { 1567s # #ifdef G_OS_UNIX 1567s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1567s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1567s # #else 1567s # g_assert_not_reached (); 1567s # #endif 1567s # } 1567s # g_variant_iter_init (&iter, parameters); 1567s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1567s # { 1567s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1567s # if (arg_info->use_gvariant) 1567s # { 1567s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1567s # g_value_set_variant (¶mv[n], child); 1567s # n++; 1567s # } 1567s # else 1567s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1567s # g_variant_unref (child); 1567s # } 1567s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1567s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1567s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1567s # if (!g_value_get_boolean (&return_value)) 1567s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1567s # g_value_unset (&return_value); 1567s # for (n = 0; n < num_params + num_extra; n++) 1567s # g_value_unset (¶mv[n]); 1567s # g_free (paramv); 1567s # } 1567s # 1567s # static GVariant * 1567s # _org_project_signaling_iface_skeleton_handle_get_property ( 1567s # GDBusConnection *connection G_GNUC_UNUSED, 1567s # const gchar *sender G_GNUC_UNUSED, 1567s # const gchar *object_path G_GNUC_UNUSED, 1567s # const gchar *interface_name G_GNUC_UNUSED, 1567s # const gchar *property_name, 1567s # GError **error, 1567s # gpointer user_data) 1567s # { 1567s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1567s # GValue value = G_VALUE_INIT; 1567s # GParamSpec *pspec; 1567s # _ExtendedGDBusPropertyInfo *info; 1567s # GVariant *ret; 1567s # ret = NULL; 1567s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1567s # g_assert (info != NULL); 1567s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1567s # if (pspec == NULL) 1567s # { 1567s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1567s # } 1567s # else 1567s # { 1567s # g_value_init (&value, pspec->value_type); 1567s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1567s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1567s # g_value_unset (&value); 1567s # } 1567s # return ret; 1567s # } 1567s # 1567s # static gboolean 1567s # _org_project_signaling_iface_skeleton_handle_set_property ( 1567s # GDBusConnection *connection G_GNUC_UNUSED, 1567s # const gchar *sender G_GNUC_UNUSED, 1567s # const gchar *object_path G_GNUC_UNUSED, 1567s # const gchar *interface_name G_GNUC_UNUSED, 1567s # const gchar *property_name, 1567s # GVariant *variant, 1567s # GError **error, 1567s # gpointer user_data) 1567s # { 1567s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1567s # GValue value = G_VALUE_INIT; 1567s # GParamSpec *pspec; 1567s # _ExtendedGDBusPropertyInfo *info; 1567s # gboolean ret; 1567s # ret = FALSE; 1567s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1567s # g_assert (info != NULL); 1567s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1567s # if (pspec == NULL) 1567s # { 1567s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1567s # } 1567s # else 1567s # { 1567s # if (info->use_gvariant) 1567s # g_value_set_variant (&value, variant); 1567s # else 1567s # g_dbus_gvariant_to_gvalue (variant, &value); 1567s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1567s # g_value_unset (&value); 1567s # ret = TRUE; 1567s # } 1567s # return ret; 1567s # } 1567s # 1567s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1567s # { 1567s # _org_project_signaling_iface_skeleton_handle_method_call, 1567s # _org_project_signaling_iface_skeleton_handle_get_property, 1567s # _org_project_signaling_iface_skeleton_handle_set_property, 1567s # {NULL} 1567s # }; 1567s # 1567s # static GDBusInterfaceInfo * 1567s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1567s # { 1567s # return org_project_signaling_iface_interface_info (); 1567s # } 1567s # 1567s # static GDBusInterfaceVTable * 1567s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1567s # { 1567s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1567s # } 1567s # 1567s # static GVariant * 1567s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1567s # { 1567s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1567s # 1567s # GVariantBuilder builder; 1567s # guint n; 1567s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1567s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1567s # goto out; 1567s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1567s # { 1567s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1567s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1567s # { 1567s # GVariant *value; 1567s # 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); 1567s # if (value != NULL) 1567s # { 1567s # g_variant_take_ref (value); 1567s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1567s # g_variant_unref (value); 1567s # } 1567s # } 1567s # } 1567s # out: 1567s # return g_variant_builder_end (&builder); 1567s # } 1567s # 1567s # static void 1567s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1567s # { 1567s # } 1567s # 1567s # static void 1567s # _org_project_signaling_iface_on_signal_simple_signal ( 1567s # OrgProjectSignalingIface *object) 1567s # { 1567s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1567s # 1567s # GList *connections, *l; 1567s # GVariant *signal_variant; 1567s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1567s # 1567s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1567s # for (l = connections; l != NULL; l = l->next) 1567s # { 1567s # GDBusConnection *connection = l->data; 1567s # g_dbus_connection_emit_signal (connection, 1567s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 1567s # signal_variant, NULL); 1567s # } 1567s # g_variant_unref (signal_variant); 1567s # g_list_free_full (connections, g_object_unref); 1567s # } 1567s # 1567s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1567s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1567s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1567s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1567s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1567s # 1567s # #else 1567s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1567s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1567s # 1567s # #endif 1567s # static void 1567s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1567s # { 1567s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1567s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1567s # if (skeleton->priv->changed_properties_idle_source != NULL) 1567s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1567s # g_main_context_unref (skeleton->priv->context); 1567s # g_mutex_clear (&skeleton->priv->lock); 1567s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1567s # } 1567s # 1567s # static void 1567s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1567s # { 1567s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1567s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1567s # #else 1567s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1567s # #endif 1567s # 1567s # g_mutex_init (&skeleton->priv->lock); 1567s # skeleton->priv->context = g_main_context_ref_thread_default (); 1567s # } 1567s # 1567s # static void 1567s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1567s # { 1567s # GObjectClass *gobject_class; 1567s # GDBusInterfaceSkeletonClass *skeleton_class; 1567s # 1567s # gobject_class = G_OBJECT_CLASS (klass); 1567s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1567s # 1567s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1567s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1567s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1567s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1567s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1567s # 1567s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1567s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1567s # #endif 1567s # } 1567s # 1567s # static void 1567s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1567s # { 1567s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 1567s # } 1567s # 1567s # /** 1567s # * org_project_signaling_iface_skeleton_new: 1567s # * 1567s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1567s # * 1567s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1567s # */ 1567s # OrgProjectSignalingIface * 1567s # org_project_signaling_iface_skeleton_new (void) 1567s # { 1567s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1567s # } 1567s # 1567s # /* ------------------------------------------------------------------------ 1567s # * Code for interface org.project.OtherSignalingIface 1567s # * ------------------------------------------------------------------------ 1567s # */ 1567s # 1567s # /** 1567s # * SECTION:OrgProjectOtherSignalingIface 1567s # * @title: OrgProjectOtherSignalingIface 1567s # * @short_description: Generated C code for the org.project.OtherSignalingIface D-Bus interface 1567s # * 1567s # * This section contains code for working with the org.project.OtherSignalingIface D-Bus interface in C. 1567s # */ 1567s # 1567s # enum 1567s # { 1567s # _ORG_PROJECT_OTHER_SIGNALING_IFACE_SIMPLE_SIGNAL, 1567s # }; 1567s # 1567s # static unsigned _ORG_PROJECT_OTHER_SIGNALING_IFACE_SIGNALS[1] = { 0 }; 1567s # 1567s # /* ---- Introspection data for org.project.OtherSignalingIface ---- */ 1567s # 1567s # static const _ExtendedGDBusSignalInfo _org_project_other_signaling_iface_signal_info_simple_signal = 1567s # { 1567s # { 1567s # -1, 1567s # (gchar *) "SimpleSignal", 1567s # NULL, 1567s # NULL 1567s # }, 1567s # "simple-signal" 1567s # }; 1567s # 1567s # static const GDBusSignalInfo * const _org_project_other_signaling_iface_signal_info_pointers[] = 1567s # { 1567s # &_org_project_other_signaling_iface_signal_info_simple_signal.parent_struct, 1567s # NULL 1567s # }; 1567s # 1567s # static const _ExtendedGDBusInterfaceInfo _org_project_other_signaling_iface_interface_info = 1567s # { 1567s # { 1567s # -1, 1567s # (gchar *) "org.project.OtherSignalingIface", 1567s # NULL, 1567s # (GDBusSignalInfo **) &_org_project_other_signaling_iface_signal_info_pointers, 1567s # NULL, 1567s # NULL 1567s # }, 1567s # "org-project-other-signaling-iface", 1567s # }; 1567s # 1567s # 1567s # /** 1567s # * org_project_other_signaling_iface_interface_info: 1567s # * 1567s # * Gets a machine-readable description of the org.project.OtherSignalingIface D-Bus interface. 1567s # * 1567s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1567s # */ 1567s # GDBusInterfaceInfo * 1567s # org_project_other_signaling_iface_interface_info (void) 1567s # { 1567s # return (GDBusInterfaceInfo *) &_org_project_other_signaling_iface_interface_info.parent_struct; 1567s # } 1567s # 1567s # /** 1567s # * org_project_other_signaling_iface_override_properties: 1567s # * @klass: The class structure for a #GObject derived class. 1567s # * @property_id_begin: The property id to assign to the first overridden property. 1567s # * 1567s # * Overrides all #GObject properties in the #OrgProjectOtherSignalingIface interface for a concrete class. 1567s # * The properties are overridden in the order they are defined. 1567s # * 1567s # * Returns: The last property id. 1567s # */ 1567s # guint 1567s # org_project_other_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1567s # { 1567s # return property_id_begin - 1; 1567s # } 1567s # 1567s # 1567s # inline static void 1567s # org_project_other_signaling_iface_signal_marshal_simple_signal ( 1567s # GClosure *closure, 1567s # GValue *return_value, 1567s # unsigned int n_param_values, 1567s # const GValue *param_values, 1567s # void *invocation_hint, 1567s # void *marshal_data) 1567s # { 1567s # g_cclosure_marshal_VOID__VOID (closure, 1567s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1567s # } 1567s # 1567s # 1567s # /** 1567s # * OrgProjectOtherSignalingIface: 1567s # * 1567s # * Abstract interface type for the D-Bus interface org.project.OtherSignalingIface. 1567s # */ 1567s # 1567s # /** 1567s # * OrgProjectOtherSignalingIfaceIface: 1567s # * @parent_iface: The parent interface. 1567s # * @simple_signal: Handler for the #OrgProjectOtherSignalingIface::simple-signal signal. 1567s # * 1567s # * Virtual table for the D-Bus interface org.project.OtherSignalingIface. 1567s # */ 1567s # 1567s # typedef OrgProjectOtherSignalingIfaceIface OrgProjectOtherSignalingIfaceInterface; 1567s # G_DEFINE_INTERFACE (OrgProjectOtherSignalingIface, org_project_other_signaling_iface, G_TYPE_OBJECT) 1567s # 1567s # static void 1567s # org_project_other_signaling_iface_default_init (OrgProjectOtherSignalingIfaceIface *iface) 1567s # { 1567s # /* GObject signals for received D-Bus signals: */ 1567s # /** 1567s # * OrgProjectOtherSignalingIface::simple-signal: 1567s # * @object: A #OrgProjectOtherSignalingIface. 1567s # * 1567s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1567s # * 1567s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1567s # */ 1567s # _ORG_PROJECT_OTHER_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_OTHER_SIGNALING_IFACE_SIMPLE_SIGNAL] = 1567s # g_signal_new ("simple-signal", 1567s # G_TYPE_FROM_INTERFACE (iface), 1567s # G_SIGNAL_RUN_LAST, 1567s # G_STRUCT_OFFSET (OrgProjectOtherSignalingIfaceIface, simple_signal), 1567s # NULL, 1567s # NULL, 1567s # org_project_other_signaling_iface_signal_marshal_simple_signal, 1567s # G_TYPE_NONE, 1567s # 0); 1567s # 1567s # } 1567s # 1567s # /** 1567s # * org_project_other_signaling_iface_emit_simple_signal: 1567s # * @object: A #OrgProjectOtherSignalingIface. 1567s # * 1567s # * Emits the "SimpleSignal" D-Bus signal. 1567s # */ 1567s # void 1567s # org_project_other_signaling_iface_emit_simple_signal ( 1567s # OrgProjectOtherSignalingIface *object) 1567s # { 1567s # g_signal_emit (object, _ORG_PROJECT_OTHER_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_OTHER_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 1567s # } 1567s # 1567s # /* ------------------------------------------------------------------------ */ 1567s # 1567s # /** 1567s # * OrgProjectOtherSignalingIfaceProxy: 1567s # * 1567s # * The #OrgProjectOtherSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1567s # */ 1567s # 1567s # /** 1567s # * OrgProjectOtherSignalingIfaceProxyClass: 1567s # * @parent_class: The parent class. 1567s # * 1567s # * Class structure for #OrgProjectOtherSignalingIfaceProxy. 1567s # */ 1567s # 1567s # struct _OrgProjectOtherSignalingIfaceProxyPrivate 1567s # { 1567s # GData *qdata; 1567s # }; 1567s # 1567s # static void org_project_other_signaling_iface_proxy_iface_init (OrgProjectOtherSignalingIfaceIface *iface); 1567s # 1567s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1567s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherSignalingIfaceProxy, org_project_other_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1567s # G_ADD_PRIVATE (OrgProjectOtherSignalingIfaceProxy) 1567s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE, org_project_other_signaling_iface_proxy_iface_init)) 1567s # 1567s # #else 1567s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherSignalingIfaceProxy, org_project_other_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1567s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE, org_project_other_signaling_iface_proxy_iface_init)) 1567s # 1567s # #endif 1567s # static void 1567s # org_project_other_signaling_iface_proxy_finalize (GObject *object) 1567s # { 1567s # OrgProjectOtherSignalingIfaceProxy *proxy = ORG_PROJECT_OTHER_SIGNALING_IFACE_PROXY (object); 1567s # g_datalist_clear (&proxy->priv->qdata); 1567s # G_OBJECT_CLASS (org_project_other_signaling_iface_proxy_parent_class)->finalize (object); 1567s # } 1567s # 1567s # static void 1567s # org_project_other_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1567s # guint prop_id G_GNUC_UNUSED, 1567s # GValue *value G_GNUC_UNUSED, 1567s # GParamSpec *pspec G_GNUC_UNUSED) 1567s # { 1567s # } 1567s # 1567s # static void 1567s # org_project_other_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1567s # guint prop_id G_GNUC_UNUSED, 1567s # const GValue *value G_GNUC_UNUSED, 1567s # GParamSpec *pspec G_GNUC_UNUSED) 1567s # { 1567s # } 1567s # 1567s # static void 1567s # org_project_other_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1567s # const gchar *sender_name G_GNUC_UNUSED, 1567s # const gchar *signal_name, 1567s # GVariant *parameters) 1567s # { 1567s # _ExtendedGDBusSignalInfo *info; 1567s # GVariantIter iter; 1567s # GVariant *child; 1567s # GValue *paramv; 1567s # gsize num_params; 1567s # gsize n; 1567s # guint signal_id; 1567s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_other_signaling_iface_interface_info.parent_struct, signal_name); 1567s # if (info == NULL) 1567s # return; 1567s # num_params = g_variant_n_children (parameters); 1567s # paramv = g_new0 (GValue, num_params + 1); 1567s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE); 1567s # g_value_set_object (¶mv[0], proxy); 1567s # g_variant_iter_init (&iter, parameters); 1567s # n = 1; 1567s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1567s # { 1567s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1567s # if (arg_info->use_gvariant) 1567s # { 1567s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1567s # g_value_set_variant (¶mv[n], child); 1567s # n++; 1567s # } 1567s # else 1567s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1567s # g_variant_unref (child); 1567s # } 1567s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE); 1567s # g_signal_emitv (paramv, signal_id, 0, NULL); 1567s # for (n = 0; n < num_params + 1; n++) 1567s # g_value_unset (¶mv[n]); 1567s # g_free (paramv); 1567s # } 1567s # 1567s # static void 1567s # org_project_other_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1567s # GVariant *changed_properties, 1567s # const gchar *const *invalidated_properties) 1567s # { 1567s # OrgProjectOtherSignalingIfaceProxy *proxy = ORG_PROJECT_OTHER_SIGNALING_IFACE_PROXY (_proxy); 1567s # guint n; 1567s # const gchar *key; 1567s # GVariantIter *iter; 1567s # _ExtendedGDBusPropertyInfo *info; 1567s # g_variant_get (changed_properties, "a{sv}", &iter); 1567s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1567s # { 1567s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_signaling_iface_interface_info.parent_struct, key); 1567s # g_datalist_remove_data (&proxy->priv->qdata, key); 1567s # if (info != NULL) 1567s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1567s # } 1567s # g_variant_iter_free (iter); 1567s # for (n = 0; invalidated_properties[n] != NULL; n++) 1567s # { 1567s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1567s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1567s # if (info != NULL) 1567s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1567s # } 1567s # } 1567s # 1567s # static void 1567s # org_project_other_signaling_iface_proxy_init (OrgProjectOtherSignalingIfaceProxy *proxy) 1567s # { 1567s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1567s # proxy->priv = org_project_other_signaling_iface_proxy_get_instance_private (proxy); 1567s # #else 1567s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE_PROXY, OrgProjectOtherSignalingIfaceProxyPrivate); 1567s # #endif 1567s # 1567s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_other_signaling_iface_interface_info ()); 1567s # } 1567s # 1567s # static void 1567s # org_project_other_signaling_iface_proxy_class_init (OrgProjectOtherSignalingIfaceProxyClass *klass) 1567s # { 1567s # GObjectClass *gobject_class; 1567s # GDBusProxyClass *proxy_class; 1567s # 1567s # gobject_class = G_OBJECT_CLASS (klass); 1567s # gobject_class->finalize = org_project_other_signaling_iface_proxy_finalize; 1567s # gobject_class->get_property = org_project_other_signaling_iface_proxy_get_property; 1567s # gobject_class->set_property = org_project_other_signaling_iface_proxy_set_property; 1567s # 1567s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1567s # proxy_class->g_signal = org_project_other_signaling_iface_proxy_g_signal; 1567s # proxy_class->g_properties_changed = org_project_other_signaling_iface_proxy_g_properties_changed; 1567s # 1567s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1567s # g_type_class_add_private (klass, sizeof (OrgProjectOtherSignalingIfaceProxyPrivate)); 1567s # #endif 1567s # } 1567s # 1567s # static void 1567s # org_project_other_signaling_iface_proxy_iface_init (OrgProjectOtherSignalingIfaceIface *iface G_GNUC_UNUSED) 1567s # { 1567s # } 1567s # 1567s # /** 1567s # * org_project_other_signaling_iface_proxy_new: 1567s # * @connection: A #GDBusConnection. 1567s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1567s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1567s # * @object_path: An object path. 1567s # * @cancellable: (nullable): A #GCancellable or %NULL. 1567s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1567s # * @user_data: User data to pass to @callback. 1567s # * 1567s # * Asynchronously creates a proxy for the D-Bus interface org.project.OtherSignalingIface. See g_dbus_proxy_new() for more details. 1567s # * 1567s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1567s # * You can then call org_project_other_signaling_iface_proxy_new_finish() to get the result of the operation. 1567s # * 1567s # * See org_project_other_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1567s # */ 1567s # void 1567s # org_project_other_signaling_iface_proxy_new ( 1567s # GDBusConnection *connection, 1567s # GDBusProxyFlags flags, 1567s # const gchar *name, 1567s # const gchar *object_path, 1567s # GCancellable *cancellable, 1567s # GAsyncReadyCallback callback, 1567s # gpointer user_data) 1567s # { 1567s # 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); 1567s # } 1567s # 1567s # /** 1567s # * org_project_other_signaling_iface_proxy_new_finish: 1567s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_signaling_iface_proxy_new(). 1567s # * @error: Return location for error or %NULL 1567s # * 1567s # * Finishes an operation started with org_project_other_signaling_iface_proxy_new(). 1567s # * 1567s # * Returns: (transfer full) (type OrgProjectOtherSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1567s # */ 1567s # OrgProjectOtherSignalingIface * 1567s # org_project_other_signaling_iface_proxy_new_finish ( 1567s # GAsyncResult *res, 1567s # GError **error) 1567s # { 1567s # GObject *ret; 1567s # GObject *source_object; 1567s # source_object = g_async_result_get_source_object (res); 1567s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1567s # g_object_unref (source_object); 1567s # if (ret != NULL) 1567s # return ORG_PROJECT_OTHER_SIGNALING_IFACE (ret); 1567s # else 1567s # return NULL; 1567s # } 1567s # 1567s # /** 1567s # * org_project_other_signaling_iface_proxy_new_sync: 1567s # * @connection: A #GDBusConnection. 1567s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1567s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1567s # * @object_path: An object path. 1567s # * @cancellable: (nullable): A #GCancellable or %NULL. 1567s # * @error: Return location for error or %NULL 1567s # * 1567s # * Synchronously creates a proxy for the D-Bus interface org.project.OtherSignalingIface. See g_dbus_proxy_new_sync() for more details. 1567s # * 1567s # * The calling thread is blocked until a reply is received. 1567s # * 1567s # * See org_project_other_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1567s # * 1567s # * Returns: (transfer full) (type OrgProjectOtherSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1567s # */ 1567s # OrgProjectOtherSignalingIface * 1567s # org_project_other_signaling_iface_proxy_new_sync ( 1567s # GDBusConnection *connection, 1567s # GDBusProxyFlags flags, 1567s # const gchar *name, 1567s # const gchar *object_path, 1567s # GCancellable *cancellable, 1567s # GError **error) 1567s # { 1567s # GInitable *ret; 1567s # 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); 1567s # if (ret != NULL) 1567s # return ORG_PROJECT_OTHER_SIGNALING_IFACE (ret); 1567s # else 1567s # return NULL; 1567s # } 1567s # 1567s # 1567s # /** 1567s # * org_project_other_signaling_iface_proxy_new_for_bus: 1567s # * @bus_type: A #GBusType. 1567s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1567s # * @name: A bus name (well-known or unique). 1567s # * @object_path: An object path. 1567s # * @cancellable: (nullable): A #GCancellable or %NULL. 1567s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1567s # * @user_data: User data to pass to @callback. 1567s # * 1567s # * Like org_project_other_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1567s # * 1567s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1567s # * You can then call org_project_other_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1567s # * 1567s # * See org_project_other_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1567s # */ 1567s # void 1567s # org_project_other_signaling_iface_proxy_new_for_bus ( 1567s # GBusType bus_type, 1567s # GDBusProxyFlags flags, 1567s # const gchar *name, 1567s # const gchar *object_path, 1567s # GCancellable *cancellable, 1567s # GAsyncReadyCallback callback, 1567s # gpointer user_data) 1567s # { 1567s # 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); 1567s # } 1567s # 1567s # /** 1567s # * org_project_other_signaling_iface_proxy_new_for_bus_finish: 1567s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_signaling_iface_proxy_new_for_bus(). 1567s # * @error: Return location for error or %NULL 1567s # * 1567s # * Finishes an operation started with org_project_other_signaling_iface_proxy_new_for_bus(). 1567s # * 1567s # * Returns: (transfer full) (type OrgProjectOtherSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1567s # */ 1567s # OrgProjectOtherSignalingIface * 1567s # org_project_other_signaling_iface_proxy_new_for_bus_finish ( 1567s # GAsyncResult *res, 1567s # GError **error) 1567s # { 1567s # GObject *ret; 1567s # GObject *source_object; 1567s # source_object = g_async_result_get_source_object (res); 1567s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1567s # g_object_unref (source_object); 1567s # if (ret != NULL) 1567s # return ORG_PROJECT_OTHER_SIGNALING_IFACE (ret); 1567s # else 1567s # return NULL; 1567s # } 1567s # 1567s # /** 1567s # * org_project_other_signaling_iface_proxy_new_for_bus_sync: 1567s # * @bus_type: A #GBusType. 1567s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1567s # * @name: A bus name (well-known or unique). 1567s # * @object_path: An object path. 1567s # * @cancellable: (nullable): A #GCancellable or %NULL. 1567s # * @error: Return location for error or %NULL 1567s # * 1567s # * Like org_project_other_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1567s # * 1567s # * The calling thread is blocked until a reply is received. 1567s # * 1567s # * See org_project_other_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1567s # * 1567s # * Returns: (transfer full) (type OrgProjectOtherSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1567s # */ 1567s # OrgProjectOtherSignalingIface * 1567s # org_project_other_signaling_iface_proxy_new_for_bus_sync ( 1567s # GBusType bus_type, 1567s # GDBusProxyFlags flags, 1567s # const gchar *name, 1567s # const gchar *object_path, 1567s # GCancellable *cancellable, 1567s # GError **error) 1567s # { 1567s # GInitable *ret; 1567s # 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); 1567s # if (ret != NULL) 1567s # return ORG_PROJECT_OTHER_SIGNALING_IFACE (ret); 1567s # else 1567s # return NULL; 1567s # } 1567s # 1567s # 1567s # /* ------------------------------------------------------------------------ */ 1567s # 1567s # /** 1567s # * OrgProjectOtherSignalingIfaceSkeleton: 1567s # * 1567s # * The #OrgProjectOtherSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1567s # */ 1567s # 1567s # /** 1567s # * OrgProjectOtherSignalingIfaceSkeletonClass: 1567s # * @parent_class: The parent class. 1567s # * 1567s # * Class structure for #OrgProjectOtherSignalingIfaceSkeleton. 1567s # */ 1567s # 1567s # struct _OrgProjectOtherSignalingIfaceSkeletonPrivate 1567s # { 1567s # GValue *properties; 1567s # GList *changed_properties; 1567s # GSource *changed_properties_idle_source; 1567s # GMainContext *context; 1567s # GMutex lock; 1567s # }; 1567s # 1567s # static void 1567s # _org_project_other_signaling_iface_skeleton_handle_method_call ( 1567s # GDBusConnection *connection G_GNUC_UNUSED, 1567s # const gchar *sender G_GNUC_UNUSED, 1567s # const gchar *object_path G_GNUC_UNUSED, 1567s # const gchar *interface_name, 1567s # const gchar *method_name, 1567s # GVariant *parameters, 1567s # GDBusMethodInvocation *invocation, 1567s # gpointer user_data) 1567s # { 1567s # OrgProjectOtherSignalingIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_SIGNALING_IFACE_SKELETON (user_data); 1567s # _ExtendedGDBusMethodInfo *info; 1567s # GVariantIter iter; 1567s # GVariant *child; 1567s # GValue *paramv; 1567s # gsize num_params; 1567s # guint num_extra; 1567s # gsize n; 1567s # guint signal_id; 1567s # GValue return_value = G_VALUE_INIT; 1567s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1567s # g_assert (info != NULL); 1567s # num_params = g_variant_n_children (parameters); 1567s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1567s # n = 0; 1567s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE); 1567s # g_value_set_object (¶mv[n++], skeleton); 1567s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1567s # g_value_set_object (¶mv[n++], invocation); 1567s # if (info->pass_fdlist) 1567s # { 1567s # #ifdef G_OS_UNIX 1567s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1567s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1567s # #else 1567s # g_assert_not_reached (); 1567s # #endif 1567s # } 1567s # g_variant_iter_init (&iter, parameters); 1567s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1567s # { 1567s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1567s # if (arg_info->use_gvariant) 1567s # { 1567s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1567s # g_value_set_variant (¶mv[n], child); 1567s # n++; 1567s # } 1567s # else 1567s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1567s # g_variant_unref (child); 1567s # } 1567s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE); 1567s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1567s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1567s # if (!g_value_get_boolean (&return_value)) 1567s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1567s # g_value_unset (&return_value); 1567s # for (n = 0; n < num_params + num_extra; n++) 1567s # g_value_unset (¶mv[n]); 1567s # g_free (paramv); 1567s # } 1567s # 1567s # static GVariant * 1567s # _org_project_other_signaling_iface_skeleton_handle_get_property ( 1567s # GDBusConnection *connection G_GNUC_UNUSED, 1567s # const gchar *sender G_GNUC_UNUSED, 1567s # const gchar *object_path G_GNUC_UNUSED, 1567s # const gchar *interface_name G_GNUC_UNUSED, 1567s # const gchar *property_name, 1567s # GError **error, 1567s # gpointer user_data) 1567s # { 1567s # OrgProjectOtherSignalingIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_SIGNALING_IFACE_SKELETON (user_data); 1567s # GValue value = G_VALUE_INIT; 1567s # GParamSpec *pspec; 1567s # _ExtendedGDBusPropertyInfo *info; 1567s # GVariant *ret; 1567s # ret = NULL; 1567s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_signaling_iface_interface_info.parent_struct, property_name); 1567s # g_assert (info != NULL); 1567s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1567s # if (pspec == NULL) 1567s # { 1567s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1567s # } 1567s # else 1567s # { 1567s # g_value_init (&value, pspec->value_type); 1567s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1567s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1567s # g_value_unset (&value); 1567s # } 1567s # return ret; 1567s # } 1567s # 1567s # static gboolean 1567s # _org_project_other_signaling_iface_skeleton_handle_set_property ( 1567s # GDBusConnection *connection G_GNUC_UNUSED, 1567s # const gchar *sender G_GNUC_UNUSED, 1567s # const gchar *object_path G_GNUC_UNUSED, 1567s # const gchar *interface_name G_GNUC_UNUSED, 1567s # const gchar *property_name, 1567s # GVariant *variant, 1567s # GError **error, 1567s # gpointer user_data) 1567s # { 1567s # OrgProjectOtherSignalingIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_SIGNALING_IFACE_SKELETON (user_data); 1567s # GValue value = G_VALUE_INIT; 1567s # GParamSpec *pspec; 1567s # _ExtendedGDBusPropertyInfo *info; 1567s # gboolean ret; 1567s # ret = FALSE; 1567s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_signaling_iface_interface_info.parent_struct, property_name); 1567s # g_assert (info != NULL); 1567s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1567s # if (pspec == NULL) 1567s # { 1567s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1567s # } 1567s # else 1567s # { 1567s # if (info->use_gvariant) 1567s # g_value_set_variant (&value, variant); 1567s # else 1567s # g_dbus_gvariant_to_gvalue (variant, &value); 1567s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1567s # g_value_unset (&value); 1567s # ret = TRUE; 1567s # } 1567s # return ret; 1567s # } 1567s # 1567s # static const GDBusInterfaceVTable _org_project_other_signaling_iface_skeleton_vtable = 1567s # { 1567s # _org_project_other_signaling_iface_skeleton_handle_method_call, 1567s # _org_project_other_signaling_iface_skeleton_handle_get_property, 1567s # _org_project_other_signaling_iface_skeleton_handle_set_property, 1567s # {NULL} 1567s # }; 1567s # 1567s # static GDBusInterfaceInfo * 1567s # org_project_other_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1567s # { 1567s # return org_project_other_signaling_iface_interface_info (); 1567s # } 1567s # 1567s # static GDBusInterfaceVTable * 1567s # org_project_other_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1567s # { 1567s # return (GDBusInterfaceVTable *) &_org_project_other_signaling_iface_skeleton_vtable; 1567s # } 1567s # 1567s # static GVariant * 1567s # org_project_other_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1567s # { 1567s # OrgProjectOtherSignalingIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_SIGNALING_IFACE_SKELETON (_skeleton); 1567s # 1567s # GVariantBuilder builder; 1567s # guint n; 1567s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1567s # if (_org_project_other_signaling_iface_interface_info.parent_struct.properties == NULL) 1567s # goto out; 1567s # for (n = 0; _org_project_other_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1567s # { 1567s # GDBusPropertyInfo *info = _org_project_other_signaling_iface_interface_info.parent_struct.properties[n]; 1567s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1567s # { 1567s # GVariant *value; 1567s # 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); 1567s # if (value != NULL) 1567s # { 1567s # g_variant_take_ref (value); 1567s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1567s # g_variant_unref (value); 1567s # } 1567s # } 1567s # } 1567s # out: 1567s # return g_variant_builder_end (&builder); 1567s # } 1567s # 1567s # static void 1567s # org_project_other_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1567s # { 1567s # } 1567s # 1567s # static void 1567s # _org_project_other_signaling_iface_on_signal_simple_signal ( 1567s # OrgProjectOtherSignalingIface *object) 1567s # { 1567s # OrgProjectOtherSignalingIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_SIGNALING_IFACE_SKELETON (object); 1567s # 1567s # GList *connections, *l; 1567s # GVariant *signal_variant; 1567s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1567s # 1567s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1567s # for (l = connections; l != NULL; l = l->next) 1567s # { 1567s # GDBusConnection *connection = l->data; 1567s # g_dbus_connection_emit_signal (connection, 1567s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.OtherSignalingIface", "SimpleSignal", 1567s # signal_variant, NULL); 1567s # } 1567s # g_variant_unref (signal_variant); 1567s # g_list_free_full (connections, g_object_unref); 1567s # } 1567s # 1567s # static void org_project_other_signaling_iface_skeleton_iface_init (OrgProjectOtherSignalingIfaceIface *iface); 1567s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1567s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherSignalingIfaceSkeleton, org_project_other_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1567s # G_ADD_PRIVATE (OrgProjectOtherSignalingIfaceSkeleton) 1567s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE, org_project_other_signaling_iface_skeleton_iface_init)) 1567s # 1567s # #else 1567s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherSignalingIfaceSkeleton, org_project_other_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1567s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE, org_project_other_signaling_iface_skeleton_iface_init)) 1567s # 1567s # #endif 1567s # static void 1567s # org_project_other_signaling_iface_skeleton_finalize (GObject *object) 1567s # { 1567s # OrgProjectOtherSignalingIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_SIGNALING_IFACE_SKELETON (object); 1567s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1567s # if (skeleton->priv->changed_properties_idle_source != NULL) 1567s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1567s # g_main_context_unref (skeleton->priv->context); 1567s # g_mutex_clear (&skeleton->priv->lock); 1567s # G_OBJECT_CLASS (org_project_other_signaling_iface_skeleton_parent_class)->finalize (object); 1567s # } 1567s # 1567s # static void 1567s # org_project_other_signaling_iface_skeleton_init (OrgProjectOtherSignalingIfaceSkeleton *skeleton) 1567s # { 1567s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1567s # skeleton->priv = org_project_other_signaling_iface_skeleton_get_instance_private (skeleton); 1567s # #else 1567s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE_SKELETON, OrgProjectOtherSignalingIfaceSkeletonPrivate); 1567s # #endif 1567s # 1567s # g_mutex_init (&skeleton->priv->lock); 1567s # skeleton->priv->context = g_main_context_ref_thread_default (); 1567s # } 1567s # 1567s # static void 1567s # org_project_other_signaling_iface_skeleton_class_init (OrgProjectOtherSignalingIfaceSkeletonClass *klass) 1567s # { 1567s # GObjectClass *gobject_class; 1567s # GDBusInterfaceSkeletonClass *skeleton_class; 1567s # 1567s # gobject_class = G_OBJECT_CLASS (klass); 1567s # gobject_class->finalize = org_project_other_signaling_iface_skeleton_finalize; 1567s # 1567s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1567s # skeleton_class->get_info = org_project_other_signaling_iface_skeleton_dbus_interface_get_info; 1567s # skeleton_class->get_properties = org_project_other_signaling_iface_skeleton_dbus_interface_get_properties; 1567s # skeleton_class->flush = org_project_other_signaling_iface_skeleton_dbus_interface_flush; 1567s # skeleton_class->get_vtable = org_project_other_signaling_iface_skeleton_dbus_interface_get_vtable; 1567s # 1567s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1567s # g_type_class_add_private (klass, sizeof (OrgProjectOtherSignalingIfaceSkeletonPrivate)); 1567s # #endif 1567s # } 1567s # 1567s # static void 1567s # org_project_other_signaling_iface_skeleton_iface_init (OrgProjectOtherSignalingIfaceIface *iface) 1567s # { 1567s # iface->simple_signal = _org_project_other_signaling_iface_on_signal_simple_signal; 1567s # } 1567s # 1567s # /** 1567s # * org_project_other_signaling_iface_skeleton_new: 1567s # * 1567s # * Creates a skeleton object for the D-Bus interface org.project.OtherSignalingIface. 1567s # * 1567s # * Returns: (transfer full) (type OrgProjectOtherSignalingIfaceSkeleton): The skeleton object. 1567s # */ 1567s # OrgProjectOtherSignalingIface * 1567s # org_project_other_signaling_iface_skeleton_new (void) 1567s # { 1567s # return ORG_PROJECT_OTHER_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE_SKELETON, NULL)); 1567s # } 1568s ok 23 __main__.TestCodegen.test_generate_signals_marshaller_single_typed_args 1568s # tmpdir: /tmp/tmpgfozeg7c 1568s # codegen: /usr/bin/gdbus-codegen 1568s # /tmp/tmpgfozeg7c/tmpb_g20gxq.xml: 1568s # 1568s # 1568s # 1568s # 1568s # 1568s # 1568s # 1568s # 1568s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpgfozeg7c/tmpb_g20gxq.xml', '--output', '-', '--body'] 1568s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-baqskmurxn,guid=fbaffe99d0ccb1f6e1beb84865fc01cd', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.YcZbqk/autopkgtest_tmp', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.YcZbqk/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.YcZbqk/autopkgtest_tmp', 'TERM': 'unknown', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.YcZbqk/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.sVTVMp0Db0', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.rqZsJO/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.YcZbqk/wrapper.sh --artifacts=/tmp/autopkgtest.YcZbqk/installed-tests-artifacts --chdir=/tmp/autopkgtest.YcZbqk/build.S0E/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.YcZbqk/installed-tests-stderr --stdout=/tmp/autopkgtest.YcZbqk/installed-tests-stdout --tmp=/tmp/autopkgtest.YcZbqk/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2' --make-executable=/tmp/autopkgtest.YcZbqk/build.S0E/src/debian/tests/installed-tests -- /tmp/autopkgtest.YcZbqk/build.S0E/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.YcZbqk/build.S0E/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.YcZbqk/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1568s # Output: /* 1568s # * This file is generated by gdbus-codegen, do not modify it. 1568s # * 1568s # * The license of this code is the same as for the D-Bus interface description 1568s # * it was derived from. Note that it links to GLib, so must comply with the 1568s # * LGPL linking clauses. 1568s # */ 1568s # 1568s # #ifdef HAVE_CONFIG_H 1568s # # include "config.h" 1568s # #endif 1568s # 1568s # #include 1568s # #ifdef G_OS_UNIX 1568s # # include 1568s # #endif 1568s # 1568s # #ifdef G_ENABLE_DEBUG 1568s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1568s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1568s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1568s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1568s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1568s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1568s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1568s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1568s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1568s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1568s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1568s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1568s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1568s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1568s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1568s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1568s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1568s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1568s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1568s # #else /* !G_ENABLE_DEBUG */ 1568s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1568s # * Do not access GValues directly in your code. Instead, use the 1568s # * g_value_get_*() functions 1568s # */ 1568s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1568s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1568s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1568s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1568s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1568s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1568s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1568s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1568s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1568s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1568s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1568s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1568s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1568s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1568s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1568s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1568s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1568s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1568s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1568s # #endif /* !G_ENABLE_DEBUG */ 1568s # 1568s # typedef struct 1568s # { 1568s # GDBusArgInfo parent_struct; 1568s # gboolean use_gvariant; 1568s # } _ExtendedGDBusArgInfo; 1568s # 1568s # typedef struct 1568s # { 1568s # GDBusMethodInfo parent_struct; 1568s # const gchar *signal_name; 1568s # gboolean pass_fdlist; 1568s # } _ExtendedGDBusMethodInfo; 1568s # 1568s # typedef struct 1568s # { 1568s # GDBusSignalInfo parent_struct; 1568s # const gchar *signal_name; 1568s # } _ExtendedGDBusSignalInfo; 1568s # 1568s # typedef struct 1568s # { 1568s # GDBusPropertyInfo parent_struct; 1568s # const gchar *hyphen_name; 1568s # guint use_gvariant : 1; 1568s # guint emits_changed_signal : 1; 1568s # } _ExtendedGDBusPropertyInfo; 1568s # 1568s # typedef struct 1568s # { 1568s # GDBusInterfaceInfo parent_struct; 1568s # const gchar *hyphen_name; 1568s # } _ExtendedGDBusInterfaceInfo; 1568s # 1568s # typedef struct 1568s # { 1568s # const _ExtendedGDBusPropertyInfo *info; 1568s # guint prop_id; 1568s # GValue orig_value; /* the value before the change */ 1568s # } ChangedProperty; 1568s # 1568s # static void 1568s # _changed_property_free (ChangedProperty *data) 1568s # { 1568s # g_value_unset (&data->orig_value); 1568s # g_free (data); 1568s # } 1568s # 1568s # static gboolean 1568s # _g_strv_equal0 (gchar **a, gchar **b) 1568s # { 1568s # gboolean ret = FALSE; 1568s # guint n; 1568s # if (a == NULL && b == NULL) 1568s # { 1568s # ret = TRUE; 1568s # goto out; 1568s # } 1568s # if (a == NULL || b == NULL) 1568s # goto out; 1568s # if (g_strv_length (a) != g_strv_length (b)) 1568s # goto out; 1568s # for (n = 0; a[n] != NULL; n++) 1568s # if (g_strcmp0 (a[n], b[n]) != 0) 1568s # goto out; 1568s # ret = TRUE; 1568s # out: 1568s # return ret; 1568s # } 1568s # 1568s # static gboolean 1568s # _g_variant_equal0 (GVariant *a, GVariant *b) 1568s # { 1568s # gboolean ret = FALSE; 1568s # if (a == NULL && b == NULL) 1568s # { 1568s # ret = TRUE; 1568s # goto out; 1568s # } 1568s # if (a == NULL || b == NULL) 1568s # goto out; 1568s # ret = g_variant_equal (a, b); 1568s # out: 1568s # return ret; 1568s # } 1568s # 1568s # G_GNUC_UNUSED static gboolean 1568s # _g_value_equal (const GValue *a, const GValue *b) 1568s # { 1568s # gboolean ret = FALSE; 1568s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1568s # switch (G_VALUE_TYPE (a)) 1568s # { 1568s # case G_TYPE_BOOLEAN: 1568s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1568s # break; 1568s # case G_TYPE_UCHAR: 1568s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1568s # break; 1568s # case G_TYPE_INT: 1568s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1568s # break; 1568s # case G_TYPE_UINT: 1568s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1568s # break; 1568s # case G_TYPE_INT64: 1568s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1568s # break; 1568s # case G_TYPE_UINT64: 1568s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1568s # break; 1568s # case G_TYPE_DOUBLE: 1568s # { 1568s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1568s # gdouble da = g_value_get_double (a); 1568s # gdouble db = g_value_get_double (b); 1568s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1568s # } 1568s # break; 1568s # case G_TYPE_STRING: 1568s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1568s # break; 1568s # case G_TYPE_VARIANT: 1568s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1568s # break; 1568s # default: 1568s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1568s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1568s # else 1568s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1568s # break; 1568s # } 1568s # return ret; 1568s # } 1568s # 1568s # /* ------------------------------------------------------------------------ 1568s # * Code for interface org.project.SignalingIface 1568s # * ------------------------------------------------------------------------ 1568s # */ 1568s # 1568s # /** 1568s # * SECTION:OrgProjectSignalingIface 1568s # * @title: OrgProjectSignalingIface 1568s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1568s # * 1568s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1568s # */ 1568s # 1568s # enum 1568s # { 1568s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 1568s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_B, 1568s # }; 1568s # 1568s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 1568s # 1568s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1568s # 1568s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 1568s # { 1568s # { 1568s # -1, 1568s # (gchar *) "SimpleSignal", 1568s # NULL, 1568s # NULL 1568s # }, 1568s # "simple-signal" 1568s # }; 1568s # 1568s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_b_ARG_arg_b = 1568s # { 1568s # { 1568s # -1, 1568s # (gchar *) "arg_b", 1568s # (gchar *) "b", 1568s # NULL 1568s # }, 1568s # FALSE 1568s # }; 1568s # 1568s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_b_ARG_pointers[] = 1568s # { 1568s # &_org_project_signaling_iface_signal_info_single_arg_signal_b_ARG_arg_b.parent_struct, 1568s # NULL 1568s # }; 1568s # 1568s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_b = 1568s # { 1568s # { 1568s # -1, 1568s # (gchar *) "SingleArgSignalB", 1568s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_b_ARG_pointers, 1568s # NULL 1568s # }, 1568s # "single-arg-signal-b" 1568s # }; 1568s # 1568s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1568s # { 1568s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 1568s # &_org_project_signaling_iface_signal_info_single_arg_signal_b.parent_struct, 1568s # NULL 1568s # }; 1568s # 1568s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1568s # { 1568s # { 1568s # -1, 1568s # (gchar *) "org.project.SignalingIface", 1568s # NULL, 1568s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1568s # NULL, 1568s # NULL 1568s # }, 1568s # "org-project-signaling-iface", 1568s # }; 1568s # 1568s # 1568s # /** 1568s # * org_project_signaling_iface_interface_info: 1568s # * 1568s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1568s # * 1568s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1568s # */ 1568s # GDBusInterfaceInfo * 1568s # org_project_signaling_iface_interface_info (void) 1568s # { 1568s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1568s # } 1568s # 1568s # /** 1568s # * org_project_signaling_iface_override_properties: 1568s # * @klass: The class structure for a #GObject derived class. 1568s # * @property_id_begin: The property id to assign to the first overridden property. 1568s # * 1568s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1568s # * The properties are overridden in the order they are defined. 1568s # * 1568s # * Returns: The last property id. 1568s # */ 1568s # guint 1568s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1568s # { 1568s # return property_id_begin - 1; 1568s # } 1568s # 1568s # 1568s # inline static void 1568s # org_project_signaling_iface_signal_marshal_simple_signal ( 1568s # GClosure *closure, 1568s # GValue *return_value, 1568s # unsigned int n_param_values, 1568s # const GValue *param_values, 1568s # void *invocation_hint, 1568s # void *marshal_data) 1568s # { 1568s # g_cclosure_marshal_VOID__VOID (closure, 1568s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1568s # } 1568s # 1568s # inline static void 1568s # org_project_signaling_iface_signal_marshal_single_arg_signal_b ( 1568s # GClosure *closure, 1568s # GValue *return_value, 1568s # unsigned int n_param_values, 1568s # const GValue *param_values, 1568s # void *invocation_hint, 1568s # void *marshal_data) 1568s # { 1568s # g_cclosure_marshal_VOID__BOOLEAN (closure, 1568s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1568s # } 1568s # 1568s # 1568s # /** 1568s # * OrgProjectSignalingIface: 1568s # * 1568s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1568s # */ 1568s # 1568s # /** 1568s # * OrgProjectSignalingIfaceIface: 1568s # * @parent_iface: The parent interface. 1568s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 1568s # * @single_arg_signal_b: Handler for the #OrgProjectSignalingIface::single-arg-signal-b signal. 1568s # * 1568s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1568s # */ 1568s # 1568s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1568s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1568s # 1568s # static void 1568s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1568s # { 1568s # /* GObject signals for received D-Bus signals: */ 1568s # /** 1568s # * OrgProjectSignalingIface::simple-signal: 1568s # * @object: A #OrgProjectSignalingIface. 1568s # * 1568s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1568s # * 1568s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1568s # */ 1568s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 1568s # g_signal_new ("simple-signal", 1568s # G_TYPE_FROM_INTERFACE (iface), 1568s # G_SIGNAL_RUN_LAST, 1568s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 1568s # NULL, 1568s # NULL, 1568s # org_project_signaling_iface_signal_marshal_simple_signal, 1568s # G_TYPE_NONE, 1568s # 0); 1568s # 1568s # /** 1568s # * OrgProjectSignalingIface::single-arg-signal-b: 1568s # * @object: A #OrgProjectSignalingIface. 1568s # * @arg_arg_b: Argument. 1568s # * 1568s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalB" is received. 1568s # * 1568s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1568s # */ 1568s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_B] = 1568s # g_signal_new ("single-arg-signal-b", 1568s # G_TYPE_FROM_INTERFACE (iface), 1568s # G_SIGNAL_RUN_LAST, 1568s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_b), 1568s # NULL, 1568s # NULL, 1568s # org_project_signaling_iface_signal_marshal_single_arg_signal_b, 1568s # G_TYPE_NONE, 1568s # 1, G_TYPE_BOOLEAN); 1568s # 1568s # } 1568s # 1568s # /** 1568s # * org_project_signaling_iface_emit_simple_signal: 1568s # * @object: A #OrgProjectSignalingIface. 1568s # * 1568s # * Emits the "SimpleSignal" D-Bus signal. 1568s # */ 1568s # void 1568s # org_project_signaling_iface_emit_simple_signal ( 1568s # OrgProjectSignalingIface *object) 1568s # { 1568s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 1568s # } 1568s # 1568s # /** 1568s # * org_project_signaling_iface_emit_single_arg_signal_b: 1568s # * @object: A #OrgProjectSignalingIface. 1568s # * @arg_arg_b: Argument to pass with the signal. 1568s # * 1568s # * Emits the "SingleArgSignalB" D-Bus signal. 1568s # */ 1568s # void 1568s # org_project_signaling_iface_emit_single_arg_signal_b ( 1568s # OrgProjectSignalingIface *object, 1568s # gboolean arg_arg_b) 1568s # { 1568s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_B], 0, arg_arg_b); 1568s # } 1568s # 1568s # /* ------------------------------------------------------------------------ */ 1568s # 1568s # /** 1568s # * OrgProjectSignalingIfaceProxy: 1568s # * 1568s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1568s # */ 1568s # 1568s # /** 1568s # * OrgProjectSignalingIfaceProxyClass: 1568s # * @parent_class: The parent class. 1568s # * 1568s # * Class structure for #OrgProjectSignalingIfaceProxy. 1568s # */ 1568s # 1568s # struct _OrgProjectSignalingIfaceProxyPrivate 1568s # { 1568s # GData *qdata; 1568s # }; 1568s # 1568s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1568s # 1568s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1568s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1568s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1568s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1568s # 1568s # #else 1568s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1568s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1568s # 1568s # #endif 1568s # static void 1568s # org_project_signaling_iface_proxy_finalize (GObject *object) 1568s # { 1568s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1568s # g_datalist_clear (&proxy->priv->qdata); 1568s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1568s # } 1568s # 1568s # static void 1568s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1568s # guint prop_id G_GNUC_UNUSED, 1568s # GValue *value G_GNUC_UNUSED, 1568s # GParamSpec *pspec G_GNUC_UNUSED) 1568s # { 1568s # } 1568s # 1568s # static void 1568s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1568s # guint prop_id G_GNUC_UNUSED, 1568s # const GValue *value G_GNUC_UNUSED, 1568s # GParamSpec *pspec G_GNUC_UNUSED) 1568s # { 1568s # } 1568s # 1568s # static void 1568s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1568s # const gchar *sender_name G_GNUC_UNUSED, 1568s # const gchar *signal_name, 1568s # GVariant *parameters) 1568s # { 1568s # _ExtendedGDBusSignalInfo *info; 1568s # GVariantIter iter; 1568s # GVariant *child; 1568s # GValue *paramv; 1568s # gsize num_params; 1568s # gsize n; 1568s # guint signal_id; 1568s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1568s # if (info == NULL) 1568s # return; 1568s # num_params = g_variant_n_children (parameters); 1568s # paramv = g_new0 (GValue, num_params + 1); 1568s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1568s # g_value_set_object (¶mv[0], proxy); 1568s # g_variant_iter_init (&iter, parameters); 1568s # n = 1; 1568s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1568s # { 1568s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1568s # if (arg_info->use_gvariant) 1568s # { 1568s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1568s # g_value_set_variant (¶mv[n], child); 1568s # n++; 1568s # } 1568s # else 1568s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1568s # g_variant_unref (child); 1568s # } 1568s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1568s # g_signal_emitv (paramv, signal_id, 0, NULL); 1568s # for (n = 0; n < num_params + 1; n++) 1568s # g_value_unset (¶mv[n]); 1568s # g_free (paramv); 1568s # } 1568s # 1568s # static void 1568s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1568s # GVariant *changed_properties, 1568s # const gchar *const *invalidated_properties) 1568s # { 1568s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1568s # guint n; 1568s # const gchar *key; 1568s # GVariantIter *iter; 1568s # _ExtendedGDBusPropertyInfo *info; 1568s # g_variant_get (changed_properties, "a{sv}", &iter); 1568s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1568s # { 1568s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1568s # g_datalist_remove_data (&proxy->priv->qdata, key); 1568s # if (info != NULL) 1568s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1568s # } 1568s # g_variant_iter_free (iter); 1568s # for (n = 0; invalidated_properties[n] != NULL; n++) 1568s # { 1568s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1568s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1568s # if (info != NULL) 1568s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1568s # } 1568s # } 1568s # 1568s # static void 1568s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1568s # { 1568s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1568s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1568s # #else 1568s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1568s # #endif 1568s # 1568s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1568s # } 1568s # 1568s # static void 1568s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1568s # { 1568s # GObjectClass *gobject_class; 1568s # GDBusProxyClass *proxy_class; 1568s # 1568s # gobject_class = G_OBJECT_CLASS (klass); 1568s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1568s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1568s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1568s # 1568s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1568s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1568s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1568s # 1568s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1568s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1568s # #endif 1568s # } 1568s # 1568s # static void 1568s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1568s # { 1568s # } 1568s # 1568s # /** 1568s # * org_project_signaling_iface_proxy_new: 1568s # * @connection: A #GDBusConnection. 1568s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1568s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1568s # * @object_path: An object path. 1568s # * @cancellable: (nullable): A #GCancellable or %NULL. 1568s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1568s # * @user_data: User data to pass to @callback. 1568s # * 1568s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1568s # * 1568s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1568s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1568s # * 1568s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1568s # */ 1568s # void 1568s # org_project_signaling_iface_proxy_new ( 1568s # GDBusConnection *connection, 1568s # GDBusProxyFlags flags, 1568s # const gchar *name, 1568s # const gchar *object_path, 1568s # GCancellable *cancellable, 1568s # GAsyncReadyCallback callback, 1568s # gpointer user_data) 1568s # { 1568s # 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); 1568s # } 1568s # 1568s # /** 1568s # * org_project_signaling_iface_proxy_new_finish: 1568s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1568s # * @error: Return location for error or %NULL 1568s # * 1568s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1568s # * 1568s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1568s # */ 1568s # OrgProjectSignalingIface * 1568s # org_project_signaling_iface_proxy_new_finish ( 1568s # GAsyncResult *res, 1568s # GError **error) 1568s # { 1568s # GObject *ret; 1568s # GObject *source_object; 1568s # source_object = g_async_result_get_source_object (res); 1568s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1568s # g_object_unref (source_object); 1568s # if (ret != NULL) 1568s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1568s # else 1568s # return NULL; 1568s # } 1568s # 1568s # /** 1568s # * org_project_signaling_iface_proxy_new_sync: 1568s # * @connection: A #GDBusConnection. 1568s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1568s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1568s # * @object_path: An object path. 1568s # * @cancellable: (nullable): A #GCancellable or %NULL. 1568s # * @error: Return location for error or %NULL 1568s # * 1568s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1568s # * 1568s # * The calling thread is blocked until a reply is received. 1568s # * 1568s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1568s # * 1568s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1568s # */ 1568s # OrgProjectSignalingIface * 1568s # org_project_signaling_iface_proxy_new_sync ( 1568s # GDBusConnection *connection, 1568s # GDBusProxyFlags flags, 1568s # const gchar *name, 1568s # const gchar *object_path, 1568s # GCancellable *cancellable, 1568s # GError **error) 1568s # { 1568s # GInitable *ret; 1568s # 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); 1568s # if (ret != NULL) 1568s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1568s # else 1568s # return NULL; 1568s # } 1568s # 1568s # 1568s # /** 1568s # * org_project_signaling_iface_proxy_new_for_bus: 1568s # * @bus_type: A #GBusType. 1568s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1568s # * @name: A bus name (well-known or unique). 1568s # * @object_path: An object path. 1568s # * @cancellable: (nullable): A #GCancellable or %NULL. 1568s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1568s # * @user_data: User data to pass to @callback. 1568s # * 1568s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1568s # * 1568s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1568s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1568s # * 1568s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1568s # */ 1568s # void 1568s # org_project_signaling_iface_proxy_new_for_bus ( 1568s # GBusType bus_type, 1568s # GDBusProxyFlags flags, 1568s # const gchar *name, 1568s # const gchar *object_path, 1568s # GCancellable *cancellable, 1568s # GAsyncReadyCallback callback, 1568s # gpointer user_data) 1568s # { 1568s # 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); 1568s # } 1568s # 1568s # /** 1568s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1568s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1568s # * @error: Return location for error or %NULL 1568s # * 1568s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1568s # * 1568s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1568s # */ 1568s # OrgProjectSignalingIface * 1568s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1568s # GAsyncResult *res, 1568s # GError **error) 1568s # { 1568s # GObject *ret; 1568s # GObject *source_object; 1568s # source_object = g_async_result_get_source_object (res); 1568s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1568s # g_object_unref (source_object); 1568s # if (ret != NULL) 1568s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1568s # else 1568s # return NULL; 1568s # } 1568s # 1568s # /** 1568s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1568s # * @bus_type: A #GBusType. 1568s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1568s # * @name: A bus name (well-known or unique). 1568s # * @object_path: An object path. 1568s # * @cancellable: (nullable): A #GCancellable or %NULL. 1568s # * @error: Return location for error or %NULL 1568s # * 1568s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1568s # * 1568s # * The calling thread is blocked until a reply is received. 1568s # * 1568s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1568s # * 1568s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1568s # */ 1568s # OrgProjectSignalingIface * 1568s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1568s # GBusType bus_type, 1568s # GDBusProxyFlags flags, 1568s # const gchar *name, 1568s # const gchar *object_path, 1568s # GCancellable *cancellable, 1568s # GError **error) 1568s # { 1568s # GInitable *ret; 1568s # 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); 1568s # if (ret != NULL) 1568s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1568s # else 1568s # return NULL; 1568s # } 1568s # 1568s # 1568s # /* ------------------------------------------------------------------------ */ 1568s # 1568s # /** 1568s # * OrgProjectSignalingIfaceSkeleton: 1568s # * 1568s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1568s # */ 1568s # 1568s # /** 1568s # * OrgProjectSignalingIfaceSkeletonClass: 1568s # * @parent_class: The parent class. 1568s # * 1568s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1568s # */ 1568s # 1568s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1568s # { 1568s # GValue *properties; 1568s # GList *changed_properties; 1568s # GSource *changed_properties_idle_source; 1568s # GMainContext *context; 1568s # GMutex lock; 1568s # }; 1568s # 1568s # static void 1568s # _org_project_signaling_iface_skeleton_handle_method_call ( 1568s # GDBusConnection *connection G_GNUC_UNUSED, 1568s # const gchar *sender G_GNUC_UNUSED, 1568s # const gchar *object_path G_GNUC_UNUSED, 1568s # const gchar *interface_name, 1568s # const gchar *method_name, 1568s # GVariant *parameters, 1568s # GDBusMethodInvocation *invocation, 1568s # gpointer user_data) 1568s # { 1568s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1568s # _ExtendedGDBusMethodInfo *info; 1568s # GVariantIter iter; 1568s # GVariant *child; 1568s # GValue *paramv; 1568s # gsize num_params; 1568s # guint num_extra; 1568s # gsize n; 1568s # guint signal_id; 1568s # GValue return_value = G_VALUE_INIT; 1568s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1568s # g_assert (info != NULL); 1568s # num_params = g_variant_n_children (parameters); 1568s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1568s # n = 0; 1568s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1568s # g_value_set_object (¶mv[n++], skeleton); 1568s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1568s # g_value_set_object (¶mv[n++], invocation); 1568s # if (info->pass_fdlist) 1568s # { 1568s # #ifdef G_OS_UNIX 1568s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1568s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1568s # #else 1568s # g_assert_not_reached (); 1568s # #endif 1568s # } 1568s # g_variant_iter_init (&iter, parameters); 1568s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1568s # { 1568s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1568s # if (arg_info->use_gvariant) 1568s # { 1568s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1568s # g_value_set_variant (¶mv[n], child); 1568s # n++; 1568s # } 1568s # else 1568s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1568s # g_variant_unref (child); 1568s # } 1568s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1568s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1568s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1568s # if (!g_value_get_boolean (&return_value)) 1568s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1568s # g_value_unset (&return_value); 1568s # for (n = 0; n < num_params + num_extra; n++) 1568s # g_value_unset (¶mv[n]); 1568s # g_free (paramv); 1568s # } 1568s # 1568s # static GVariant * 1568s # _org_project_signaling_iface_skeleton_handle_get_property ( 1568s # GDBusConnection *connection G_GNUC_UNUSED, 1568s # const gchar *sender G_GNUC_UNUSED, 1568s # const gchar *object_path G_GNUC_UNUSED, 1568s # const gchar *interface_name G_GNUC_UNUSED, 1568s # const gchar *property_name, 1568s # GError **error, 1568s # gpointer user_data) 1568s # { 1568s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1568s # GValue value = G_VALUE_INIT; 1568s # GParamSpec *pspec; 1568s # _ExtendedGDBusPropertyInfo *info; 1568s # GVariant *ret; 1568s # ret = NULL; 1568s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1568s # g_assert (info != NULL); 1568s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1568s # if (pspec == NULL) 1568s # { 1568s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1568s # } 1568s # else 1568s # { 1568s # g_value_init (&value, pspec->value_type); 1568s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1568s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1568s # g_value_unset (&value); 1568s # } 1568s # return ret; 1568s # } 1568s # 1568s # static gboolean 1568s # _org_project_signaling_iface_skeleton_handle_set_property ( 1568s # GDBusConnection *connection G_GNUC_UNUSED, 1568s # const gchar *sender G_GNUC_UNUSED, 1568s # const gchar *object_path G_GNUC_UNUSED, 1568s # const gchar *interface_name G_GNUC_UNUSED, 1568s # const gchar *property_name, 1568s # GVariant *variant, 1568s # GError **error, 1568s # gpointer user_data) 1568s # { 1568s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1568s # GValue value = G_VALUE_INIT; 1568s # GParamSpec *pspec; 1568s # _ExtendedGDBusPropertyInfo *info; 1568s # gboolean ret; 1568s # ret = FALSE; 1568s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1568s # g_assert (info != NULL); 1568s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1568s # if (pspec == NULL) 1568s # { 1568s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1568s # } 1568s # else 1568s # { 1568s # if (info->use_gvariant) 1568s # g_value_set_variant (&value, variant); 1568s # else 1568s # g_dbus_gvariant_to_gvalue (variant, &value); 1568s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1568s # g_value_unset (&value); 1568s # ret = TRUE; 1568s # } 1568s # return ret; 1568s # } 1568s # 1568s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1568s # { 1568s # _org_project_signaling_iface_skeleton_handle_method_call, 1568s # _org_project_signaling_iface_skeleton_handle_get_property, 1568s # _org_project_signaling_iface_skeleton_handle_set_property, 1568s # {NULL} 1568s # }; 1568s # 1568s # static GDBusInterfaceInfo * 1568s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1568s # { 1568s # return org_project_signaling_iface_interface_info (); 1568s # } 1568s # 1568s # static GDBusInterfaceVTable * 1568s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1568s # { 1568s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1568s # } 1568s # 1568s # static GVariant * 1568s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1568s # { 1568s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1568s # 1568s # GVariantBuilder builder; 1568s # guint n; 1568s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1568s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1568s # goto out; 1568s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1568s # { 1568s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1568s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1568s # { 1568s # GVariant *value; 1568s # 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); 1568s # if (value != NULL) 1568s # { 1568s # g_variant_take_ref (value); 1568s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1568s # g_variant_unref (value); 1568s # } 1568s # } 1568s # } 1568s # out: 1568s # return g_variant_builder_end (&builder); 1568s # } 1568s # 1568s # static void 1568s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1568s # { 1568s # } 1568s # 1568s # static void 1568s # _org_project_signaling_iface_on_signal_simple_signal ( 1568s # OrgProjectSignalingIface *object) 1568s # { 1568s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1568s # 1568s # GList *connections, *l; 1568s # GVariant *signal_variant; 1568s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1568s # 1568s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1568s # for (l = connections; l != NULL; l = l->next) 1568s # { 1568s # GDBusConnection *connection = l->data; 1568s # g_dbus_connection_emit_signal (connection, 1568s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 1568s # signal_variant, NULL); 1568s # } 1568s # g_variant_unref (signal_variant); 1568s # g_list_free_full (connections, g_object_unref); 1568s # } 1568s # 1568s # static void 1568s # _org_project_signaling_iface_on_signal_single_arg_signal_b ( 1568s # OrgProjectSignalingIface *object, 1568s # gboolean arg_arg_b) 1568s # { 1568s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1568s # 1568s # GList *connections, *l; 1568s # GVariant *signal_variant; 1568s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1568s # 1568s # signal_variant = g_variant_ref_sink (g_variant_new ("(b)", 1568s # arg_arg_b)); 1568s # for (l = connections; l != NULL; l = l->next) 1568s # { 1568s # GDBusConnection *connection = l->data; 1568s # g_dbus_connection_emit_signal (connection, 1568s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalB", 1568s # signal_variant, NULL); 1568s # } 1568s # g_variant_unref (signal_variant); 1568s # g_list_free_full (connections, g_object_unref); 1568s # } 1568s # 1568s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1568s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1568s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1568s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1568s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1568s # 1568s # #else 1568s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1568s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1568s # 1568s # #endif 1568s # static void 1568s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1568s # { 1568s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1568s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1568s # if (skeleton->priv->changed_properties_idle_source != NULL) 1568s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1568s # g_main_context_unref (skeleton->priv->context); 1568s # g_mutex_clear (&skeleton->priv->lock); 1568s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1568s # } 1568s # 1568s # static void 1568s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1568s # { 1568s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1568s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1568s # #else 1568s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1568s # #endif 1568s # 1568s # g_mutex_init (&skeleton->priv->lock); 1568s # skeleton->priv->context = g_main_context_ref_thread_default (); 1568s # } 1568s # 1568s # static void 1568s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1568s # { 1568s # GObjectClass *gobject_class; 1568s # GDBusInterfaceSkeletonClass *skeleton_class; 1568s # 1568s # gobject_class = G_OBJECT_CLASS (klass); 1568s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1568s # 1568s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1568s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1568s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1568s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1568s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1568s # 1568s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1568s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1568s # #endif 1568s # } 1568s # 1568s # static void 1568s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1568s # { 1568s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 1568s # iface->single_arg_signal_b = _org_project_signaling_iface_on_signal_single_arg_signal_b; 1568s # } 1568s # 1568s # /** 1568s # * org_project_signaling_iface_skeleton_new: 1568s # * 1568s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1568s # * 1568s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1568s # */ 1568s # OrgProjectSignalingIface * 1568s # org_project_signaling_iface_skeleton_new (void) 1568s # { 1568s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1568s # } 1568s # /tmp/tmpgfozeg7c/tmp2ceddid9.xml: 1568s # 1568s # 1568s # 1568s # 1568s # 1568s # 1568s # 1568s # 1568s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpgfozeg7c/tmp2ceddid9.xml', '--output', '-', '--body'] 1568s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-baqskmurxn,guid=fbaffe99d0ccb1f6e1beb84865fc01cd', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.YcZbqk/autopkgtest_tmp', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.YcZbqk/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.YcZbqk/autopkgtest_tmp', 'TERM': 'unknown', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.YcZbqk/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.sVTVMp0Db0', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.rqZsJO/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.YcZbqk/wrapper.sh --artifacts=/tmp/autopkgtest.YcZbqk/installed-tests-artifacts --chdir=/tmp/autopkgtest.YcZbqk/build.S0E/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.YcZbqk/installed-tests-stderr --stdout=/tmp/autopkgtest.YcZbqk/installed-tests-stdout --tmp=/tmp/autopkgtest.YcZbqk/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2' --make-executable=/tmp/autopkgtest.YcZbqk/build.S0E/src/debian/tests/installed-tests -- /tmp/autopkgtest.YcZbqk/build.S0E/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.YcZbqk/build.S0E/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.YcZbqk/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1568s # Output: /* 1568s # * This file is generated by gdbus-codegen, do not modify it. 1568s # * 1568s # * The license of this code is the same as for the D-Bus interface description 1568s # * it was derived from. Note that it links to GLib, so must comply with the 1568s # * LGPL linking clauses. 1568s # */ 1568s # 1568s # #ifdef HAVE_CONFIG_H 1568s # # include "config.h" 1568s # #endif 1568s # 1568s # #include 1568s # #ifdef G_OS_UNIX 1568s # # include 1568s # #endif 1568s # 1568s # #ifdef G_ENABLE_DEBUG 1568s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1568s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1568s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1568s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1568s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1568s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1568s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1568s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1568s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1568s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1568s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1568s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1568s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1568s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1568s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1568s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1568s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1568s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1568s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1568s # #else /* !G_ENABLE_DEBUG */ 1568s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1568s # * Do not access GValues directly in your code. Instead, use the 1568s # * g_value_get_*() functions 1568s # */ 1568s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1568s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1568s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1568s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1568s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1568s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1568s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1568s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1568s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1568s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1568s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1568s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1568s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1568s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1568s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1568s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1568s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1568s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1568s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1568s # #endif /* !G_ENABLE_DEBUG */ 1568s # 1568s # typedef struct 1568s # { 1568s # GDBusArgInfo parent_struct; 1568s # gboolean use_gvariant; 1568s # } _ExtendedGDBusArgInfo; 1568s # 1568s # typedef struct 1568s # { 1568s # GDBusMethodInfo parent_struct; 1568s # const gchar *signal_name; 1568s # gboolean pass_fdlist; 1568s # } _ExtendedGDBusMethodInfo; 1568s # 1568s # typedef struct 1568s # { 1568s # GDBusSignalInfo parent_struct; 1568s # const gchar *signal_name; 1568s # } _ExtendedGDBusSignalInfo; 1568s # 1568s # typedef struct 1568s # { 1568s # GDBusPropertyInfo parent_struct; 1568s # const gchar *hyphen_name; 1568s # guint use_gvariant : 1; 1568s # guint emits_changed_signal : 1; 1568s # } _ExtendedGDBusPropertyInfo; 1568s # 1568s # typedef struct 1568s # { 1568s # GDBusInterfaceInfo parent_struct; 1568s # const gchar *hyphen_name; 1568s # } _ExtendedGDBusInterfaceInfo; 1568s # 1568s # typedef struct 1568s # { 1568s # const _ExtendedGDBusPropertyInfo *info; 1568s # guint prop_id; 1568s # GValue orig_value; /* the value before the change */ 1568s # } ChangedProperty; 1568s # 1568s # static void 1568s # _changed_property_free (ChangedProperty *data) 1568s # { 1568s # g_value_unset (&data->orig_value); 1568s # g_free (data); 1568s # } 1568s # 1568s # static gboolean 1568s # _g_strv_equal0 (gchar **a, gchar **b) 1568s # { 1568s # gboolean ret = FALSE; 1568s # guint n; 1568s # if (a == NULL && b == NULL) 1568s # { 1568s # ret = TRUE; 1568s # goto out; 1568s # } 1568s # if (a == NULL || b == NULL) 1568s # goto out; 1568s # if (g_strv_length (a) != g_strv_length (b)) 1568s # goto out; 1568s # for (n = 0; a[n] != NULL; n++) 1568s # if (g_strcmp0 (a[n], b[n]) != 0) 1568s # goto out; 1568s # ret = TRUE; 1568s # out: 1568s # return ret; 1568s # } 1568s # 1568s # static gboolean 1568s # _g_variant_equal0 (GVariant *a, GVariant *b) 1568s # { 1568s # gboolean ret = FALSE; 1568s # if (a == NULL && b == NULL) 1568s # { 1568s # ret = TRUE; 1568s # goto out; 1568s # } 1568s # if (a == NULL || b == NULL) 1568s # goto out; 1568s # ret = g_variant_equal (a, b); 1568s # out: 1568s # return ret; 1568s # } 1568s # 1568s # G_GNUC_UNUSED static gboolean 1568s # _g_value_equal (const GValue *a, const GValue *b) 1568s # { 1568s # gboolean ret = FALSE; 1568s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1568s # switch (G_VALUE_TYPE (a)) 1568s # { 1568s # case G_TYPE_BOOLEAN: 1568s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1568s # break; 1568s # case G_TYPE_UCHAR: 1568s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1568s # break; 1568s # case G_TYPE_INT: 1568s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1568s # break; 1568s # case G_TYPE_UINT: 1568s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1568s # break; 1568s # case G_TYPE_INT64: 1568s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1568s # break; 1568s # case G_TYPE_UINT64: 1568s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1568s # break; 1568s # case G_TYPE_DOUBLE: 1568s # { 1568s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1568s # gdouble da = g_value_get_double (a); 1568s # gdouble db = g_value_get_double (b); 1568s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1568s # } 1568s # break; 1568s # case G_TYPE_STRING: 1568s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1568s # break; 1568s # case G_TYPE_VARIANT: 1568s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1568s # break; 1568s # default: 1568s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1568s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1568s # else 1568s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1568s # break; 1568s # } 1568s # return ret; 1568s # } 1568s # 1568s # /* ------------------------------------------------------------------------ 1568s # * Code for interface org.project.SignalingIface 1568s # * ------------------------------------------------------------------------ 1568s # */ 1568s # 1568s # /** 1568s # * SECTION:OrgProjectSignalingIface 1568s # * @title: OrgProjectSignalingIface 1568s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1568s # * 1568s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1568s # */ 1568s # 1568s # enum 1568s # { 1568s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 1568s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Y, 1568s # }; 1568s # 1568s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 1568s # 1568s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1568s # 1568s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 1568s # { 1568s # { 1568s # -1, 1568s # (gchar *) "SimpleSignal", 1568s # NULL, 1568s # NULL 1568s # }, 1568s # "simple-signal" 1568s # }; 1568s # 1568s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_y_ARG_arg_y = 1568s # { 1568s # { 1568s # -1, 1568s # (gchar *) "arg_y", 1568s # (gchar *) "y", 1568s # NULL 1568s # }, 1568s # FALSE 1568s # }; 1568s # 1568s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_y_ARG_pointers[] = 1568s # { 1568s # &_org_project_signaling_iface_signal_info_single_arg_signal_y_ARG_arg_y.parent_struct, 1568s # NULL 1568s # }; 1568s # 1568s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_y = 1568s # { 1568s # { 1568s # -1, 1568s # (gchar *) "SingleArgSignalY", 1568s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_y_ARG_pointers, 1568s # NULL 1568s # }, 1568s # "single-arg-signal-y" 1568s # }; 1568s # 1568s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1568s # { 1568s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 1568s # &_org_project_signaling_iface_signal_info_single_arg_signal_y.parent_struct, 1568s # NULL 1568s # }; 1568s # 1568s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1568s # { 1568s # { 1568s # -1, 1568s # (gchar *) "org.project.SignalingIface", 1568s # NULL, 1568s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1568s # NULL, 1568s # NULL 1568s # }, 1568s # "org-project-signaling-iface", 1568s # }; 1568s # 1568s # 1568s # /** 1568s # * org_project_signaling_iface_interface_info: 1568s # * 1568s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1568s # * 1568s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1568s # */ 1568s # GDBusInterfaceInfo * 1568s # org_project_signaling_iface_interface_info (void) 1568s # { 1568s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1568s # } 1568s # 1568s # /** 1568s # * org_project_signaling_iface_override_properties: 1568s # * @klass: The class structure for a #GObject derived class. 1568s # * @property_id_begin: The property id to assign to the first overridden property. 1568s # * 1568s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1568s # * The properties are overridden in the order they are defined. 1568s # * 1568s # * Returns: The last property id. 1568s # */ 1568s # guint 1568s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1568s # { 1568s # return property_id_begin - 1; 1568s # } 1568s # 1568s # 1568s # inline static void 1568s # org_project_signaling_iface_signal_marshal_simple_signal ( 1568s # GClosure *closure, 1568s # GValue *return_value, 1568s # unsigned int n_param_values, 1568s # const GValue *param_values, 1568s # void *invocation_hint, 1568s # void *marshal_data) 1568s # { 1568s # g_cclosure_marshal_VOID__VOID (closure, 1568s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1568s # } 1568s # 1568s # inline static void 1568s # org_project_signaling_iface_signal_marshal_single_arg_signal_y ( 1568s # GClosure *closure, 1568s # GValue *return_value, 1568s # unsigned int n_param_values, 1568s # const GValue *param_values, 1568s # void *invocation_hint, 1568s # void *marshal_data) 1568s # { 1568s # g_cclosure_marshal_VOID__UCHAR (closure, 1568s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1568s # } 1568s # 1568s # 1568s # /** 1568s # * OrgProjectSignalingIface: 1568s # * 1568s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1568s # */ 1568s # 1568s # /** 1568s # * OrgProjectSignalingIfaceIface: 1568s # * @parent_iface: The parent interface. 1568s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 1568s # * @single_arg_signal_y: Handler for the #OrgProjectSignalingIface::single-arg-signal-y signal. 1568s # * 1568s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1568s # */ 1568s # 1568s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1568s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1568s # 1568s # static void 1568s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1568s # { 1568s # /* GObject signals for received D-Bus signals: */ 1568s # /** 1568s # * OrgProjectSignalingIface::simple-signal: 1568s # * @object: A #OrgProjectSignalingIface. 1568s # * 1568s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1568s # * 1568s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1568s # */ 1568s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 1568s # g_signal_new ("simple-signal", 1568s # G_TYPE_FROM_INTERFACE (iface), 1568s # G_SIGNAL_RUN_LAST, 1568s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 1568s # NULL, 1568s # NULL, 1568s # org_project_signaling_iface_signal_marshal_simple_signal, 1568s # G_TYPE_NONE, 1568s # 0); 1568s # 1568s # /** 1568s # * OrgProjectSignalingIface::single-arg-signal-y: 1568s # * @object: A #OrgProjectSignalingIface. 1568s # * @arg_arg_y: Argument. 1568s # * 1568s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalY" is received. 1568s # * 1568s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1568s # */ 1568s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Y] = 1568s # g_signal_new ("single-arg-signal-y", 1568s # G_TYPE_FROM_INTERFACE (iface), 1568s # G_SIGNAL_RUN_LAST, 1568s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_y), 1568s # NULL, 1568s # NULL, 1568s # org_project_signaling_iface_signal_marshal_single_arg_signal_y, 1568s # G_TYPE_NONE, 1568s # 1, G_TYPE_UCHAR); 1568s # 1568s # } 1568s # 1568s # /** 1568s # * org_project_signaling_iface_emit_simple_signal: 1568s # * @object: A #OrgProjectSignalingIface. 1568s # * 1568s # * Emits the "SimpleSignal" D-Bus signal. 1568s # */ 1568s # void 1568s # org_project_signaling_iface_emit_simple_signal ( 1568s # OrgProjectSignalingIface *object) 1568s # { 1568s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 1568s # } 1568s # 1568s # /** 1568s # * org_project_signaling_iface_emit_single_arg_signal_y: 1568s # * @object: A #OrgProjectSignalingIface. 1568s # * @arg_arg_y: Argument to pass with the signal. 1568s # * 1568s # * Emits the "SingleArgSignalY" D-Bus signal. 1568s # */ 1568s # void 1568s # org_project_signaling_iface_emit_single_arg_signal_y ( 1568s # OrgProjectSignalingIface *object, 1568s # guchar arg_arg_y) 1568s # { 1568s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Y], 0, arg_arg_y); 1568s # } 1568s # 1568s # /* ------------------------------------------------------------------------ */ 1568s # 1568s # /** 1568s # * OrgProjectSignalingIfaceProxy: 1568s # * 1568s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1568s # */ 1568s # 1568s # /** 1568s # * OrgProjectSignalingIfaceProxyClass: 1568s # * @parent_class: The parent class. 1568s # * 1568s # * Class structure for #OrgProjectSignalingIfaceProxy. 1568s # */ 1568s # 1568s # struct _OrgProjectSignalingIfaceProxyPrivate 1568s # { 1568s # GData *qdata; 1568s # }; 1568s # 1568s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1568s # 1568s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1568s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1568s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1568s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1568s # 1568s # #else 1568s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1568s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1568s # 1568s # #endif 1568s # static void 1568s # org_project_signaling_iface_proxy_finalize (GObject *object) 1568s # { 1568s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1568s # g_datalist_clear (&proxy->priv->qdata); 1568s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1568s # } 1568s # 1568s # static void 1568s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1568s # guint prop_id G_GNUC_UNUSED, 1568s # GValue *value G_GNUC_UNUSED, 1568s # GParamSpec *pspec G_GNUC_UNUSED) 1568s # { 1568s # } 1568s # 1568s # static void 1568s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1568s # guint prop_id G_GNUC_UNUSED, 1568s # const GValue *value G_GNUC_UNUSED, 1568s # GParamSpec *pspec G_GNUC_UNUSED) 1568s # { 1568s # } 1568s # 1568s # static void 1568s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1568s # const gchar *sender_name G_GNUC_UNUSED, 1568s # const gchar *signal_name, 1568s # GVariant *parameters) 1568s # { 1568s # _ExtendedGDBusSignalInfo *info; 1568s # GVariantIter iter; 1568s # GVariant *child; 1568s # GValue *paramv; 1568s # gsize num_params; 1568s # gsize n; 1568s # guint signal_id; 1568s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1568s # if (info == NULL) 1568s # return; 1568s # num_params = g_variant_n_children (parameters); 1568s # paramv = g_new0 (GValue, num_params + 1); 1568s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1568s # g_value_set_object (¶mv[0], proxy); 1568s # g_variant_iter_init (&iter, parameters); 1568s # n = 1; 1568s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1568s # { 1568s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1568s # if (arg_info->use_gvariant) 1568s # { 1568s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1568s # g_value_set_variant (¶mv[n], child); 1568s # n++; 1568s # } 1568s # else 1568s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1568s # g_variant_unref (child); 1568s # } 1568s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1568s # g_signal_emitv (paramv, signal_id, 0, NULL); 1568s # for (n = 0; n < num_params + 1; n++) 1568s # g_value_unset (¶mv[n]); 1568s # g_free (paramv); 1568s # } 1568s # 1568s # static void 1568s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1568s # GVariant *changed_properties, 1568s # const gchar *const *invalidated_properties) 1568s # { 1568s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1568s # guint n; 1568s # const gchar *key; 1568s # GVariantIter *iter; 1568s # _ExtendedGDBusPropertyInfo *info; 1568s # g_variant_get (changed_properties, "a{sv}", &iter); 1568s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1568s # { 1568s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1568s # g_datalist_remove_data (&proxy->priv->qdata, key); 1568s # if (info != NULL) 1568s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1568s # } 1568s # g_variant_iter_free (iter); 1568s # for (n = 0; invalidated_properties[n] != NULL; n++) 1568s # { 1568s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1568s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1568s # if (info != NULL) 1568s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1568s # } 1568s # } 1568s # 1568s # static void 1568s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1568s # { 1568s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1568s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1568s # #else 1568s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1568s # #endif 1568s # 1568s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1568s # } 1568s # 1568s # static void 1568s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1568s # { 1568s # GObjectClass *gobject_class; 1568s # GDBusProxyClass *proxy_class; 1568s # 1568s # gobject_class = G_OBJECT_CLASS (klass); 1568s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1568s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1568s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1568s # 1568s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1568s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1568s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1568s # 1568s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1568s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1568s # #endif 1568s # } 1568s # 1568s # static void 1568s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1568s # { 1568s # } 1568s # 1568s # /** 1568s # * org_project_signaling_iface_proxy_new: 1568s # * @connection: A #GDBusConnection. 1568s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1568s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1568s # * @object_path: An object path. 1568s # * @cancellable: (nullable): A #GCancellable or %NULL. 1568s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1568s # * @user_data: User data to pass to @callback. 1568s # * 1568s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1568s # * 1568s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1568s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1568s # * 1568s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1568s # */ 1568s # void 1568s # org_project_signaling_iface_proxy_new ( 1568s # GDBusConnection *connection, 1568s # GDBusProxyFlags flags, 1568s # const gchar *name, 1568s # const gchar *object_path, 1568s # GCancellable *cancellable, 1568s # GAsyncReadyCallback callback, 1568s # gpointer user_data) 1568s # { 1568s # 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); 1568s # } 1568s # 1568s # /** 1568s # * org_project_signaling_iface_proxy_new_finish: 1568s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1568s # * @error: Return location for error or %NULL 1568s # * 1568s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1568s # * 1568s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1568s # */ 1568s # OrgProjectSignalingIface * 1568s # org_project_signaling_iface_proxy_new_finish ( 1568s # GAsyncResult *res, 1568s # GError **error) 1568s # { 1568s # GObject *ret; 1568s # GObject *source_object; 1568s # source_object = g_async_result_get_source_object (res); 1568s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1568s # g_object_unref (source_object); 1568s # if (ret != NULL) 1568s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1568s # else 1568s # return NULL; 1568s # } 1568s # 1568s # /** 1568s # * org_project_signaling_iface_proxy_new_sync: 1568s # * @connection: A #GDBusConnection. 1568s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1568s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1568s # * @object_path: An object path. 1568s # * @cancellable: (nullable): A #GCancellable or %NULL. 1568s # * @error: Return location for error or %NULL 1568s # * 1568s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1568s # * 1568s # * The calling thread is blocked until a reply is received. 1568s # * 1568s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1568s # * 1568s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1568s # */ 1568s # OrgProjectSignalingIface * 1568s # org_project_signaling_iface_proxy_new_sync ( 1568s # GDBusConnection *connection, 1568s # GDBusProxyFlags flags, 1568s # const gchar *name, 1568s # const gchar *object_path, 1568s # GCancellable *cancellable, 1568s # GError **error) 1568s # { 1568s # GInitable *ret; 1568s # 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); 1568s # if (ret != NULL) 1568s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1568s # else 1568s # return NULL; 1568s # } 1568s # 1568s # 1568s # /** 1568s # * org_project_signaling_iface_proxy_new_for_bus: 1568s # * @bus_type: A #GBusType. 1568s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1568s # * @name: A bus name (well-known or unique). 1568s # * @object_path: An object path. 1568s # * @cancellable: (nullable): A #GCancellable or %NULL. 1568s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1568s # * @user_data: User data to pass to @callback. 1568s # * 1568s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1568s # * 1568s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1568s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1568s # * 1568s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1568s # */ 1568s # void 1568s # org_project_signaling_iface_proxy_new_for_bus ( 1568s # GBusType bus_type, 1568s # GDBusProxyFlags flags, 1568s # const gchar *name, 1568s # const gchar *object_path, 1568s # GCancellable *cancellable, 1568s # GAsyncReadyCallback callback, 1568s # gpointer user_data) 1568s # { 1568s # 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); 1568s # } 1568s # 1568s # /** 1568s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1568s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1568s # * @error: Return location for error or %NULL 1568s # * 1568s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1568s # * 1568s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1568s # */ 1568s # OrgProjectSignalingIface * 1568s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1568s # GAsyncResult *res, 1568s # GError **error) 1568s # { 1568s # GObject *ret; 1568s # GObject *source_object; 1568s # source_object = g_async_result_get_source_object (res); 1568s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1568s # g_object_unref (source_object); 1568s # if (ret != NULL) 1568s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1568s # else 1568s # return NULL; 1568s # } 1568s # 1568s # /** 1568s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1568s # * @bus_type: A #GBusType. 1568s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1568s # * @name: A bus name (well-known or unique). 1568s # * @object_path: An object path. 1568s # * @cancellable: (nullable): A #GCancellable or %NULL. 1568s # * @error: Return location for error or %NULL 1568s # * 1568s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1568s # * 1568s # * The calling thread is blocked until a reply is received. 1568s # * 1568s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1568s # * 1568s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1568s # */ 1568s # OrgProjectSignalingIface * 1568s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1568s # GBusType bus_type, 1568s # GDBusProxyFlags flags, 1568s # const gchar *name, 1568s # const gchar *object_path, 1568s # GCancellable *cancellable, 1568s # GError **error) 1568s # { 1568s # GInitable *ret; 1568s # 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); 1568s # if (ret != NULL) 1568s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1568s # else 1568s # return NULL; 1568s # } 1568s # 1568s # 1568s # /* ------------------------------------------------------------------------ */ 1568s # 1568s # /** 1568s # * OrgProjectSignalingIfaceSkeleton: 1568s # * 1568s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1568s # */ 1568s # 1568s # /** 1568s # * OrgProjectSignalingIfaceSkeletonClass: 1568s # * @parent_class: The parent class. 1568s # * 1568s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1568s # */ 1568s # 1568s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1568s # { 1568s # GValue *properties; 1568s # GList *changed_properties; 1568s # GSource *changed_properties_idle_source; 1568s # GMainContext *context; 1568s # GMutex lock; 1568s # }; 1568s # 1568s # static void 1568s # _org_project_signaling_iface_skeleton_handle_method_call ( 1568s # GDBusConnection *connection G_GNUC_UNUSED, 1568s # const gchar *sender G_GNUC_UNUSED, 1568s # const gchar *object_path G_GNUC_UNUSED, 1568s # const gchar *interface_name, 1568s # const gchar *method_name, 1568s # GVariant *parameters, 1568s # GDBusMethodInvocation *invocation, 1568s # gpointer user_data) 1568s # { 1568s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1568s # _ExtendedGDBusMethodInfo *info; 1568s # GVariantIter iter; 1568s # GVariant *child; 1568s # GValue *paramv; 1568s # gsize num_params; 1568s # guint num_extra; 1568s # gsize n; 1568s # guint signal_id; 1568s # GValue return_value = G_VALUE_INIT; 1568s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1568s # g_assert (info != NULL); 1568s # num_params = g_variant_n_children (parameters); 1568s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1568s # n = 0; 1568s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1568s # g_value_set_object (¶mv[n++], skeleton); 1568s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1568s # g_value_set_object (¶mv[n++], invocation); 1568s # if (info->pass_fdlist) 1568s # { 1568s # #ifdef G_OS_UNIX 1568s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1568s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1568s # #else 1568s # g_assert_not_reached (); 1568s # #endif 1568s # } 1568s # g_variant_iter_init (&iter, parameters); 1568s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1568s # { 1568s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1568s # if (arg_info->use_gvariant) 1568s # { 1568s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1568s # g_value_set_variant (¶mv[n], child); 1568s # n++; 1568s # } 1568s # else 1568s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1568s # g_variant_unref (child); 1568s # } 1568s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1568s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1568s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1568s # if (!g_value_get_boolean (&return_value)) 1568s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1568s # g_value_unset (&return_value); 1568s # for (n = 0; n < num_params + num_extra; n++) 1568s # g_value_unset (¶mv[n]); 1568s # g_free (paramv); 1568s # } 1568s # 1568s # static GVariant * 1568s # _org_project_signaling_iface_skeleton_handle_get_property ( 1568s # GDBusConnection *connection G_GNUC_UNUSED, 1568s # const gchar *sender G_GNUC_UNUSED, 1568s # const gchar *object_path G_GNUC_UNUSED, 1568s # const gchar *interface_name G_GNUC_UNUSED, 1568s # const gchar *property_name, 1568s # GError **error, 1568s # gpointer user_data) 1568s # { 1568s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1568s # GValue value = G_VALUE_INIT; 1568s # GParamSpec *pspec; 1568s # _ExtendedGDBusPropertyInfo *info; 1568s # GVariant *ret; 1568s # ret = NULL; 1568s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1568s # g_assert (info != NULL); 1568s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1568s # if (pspec == NULL) 1568s # { 1568s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1568s # } 1568s # else 1568s # { 1568s # g_value_init (&value, pspec->value_type); 1568s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1568s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1568s # g_value_unset (&value); 1568s # } 1568s # return ret; 1568s # } 1568s # 1568s # static gboolean 1568s # _org_project_signaling_iface_skeleton_handle_set_property ( 1568s # GDBusConnection *connection G_GNUC_UNUSED, 1568s # const gchar *sender G_GNUC_UNUSED, 1568s # const gchar *object_path G_GNUC_UNUSED, 1568s # const gchar *interface_name G_GNUC_UNUSED, 1568s # const gchar *property_name, 1568s # GVariant *variant, 1568s # GError **error, 1568s # gpointer user_data) 1568s # { 1568s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1568s # GValue value = G_VALUE_INIT; 1568s # GParamSpec *pspec; 1568s # _ExtendedGDBusPropertyInfo *info; 1568s # gboolean ret; 1568s # ret = FALSE; 1568s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1568s # g_assert (info != NULL); 1568s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1568s # if (pspec == NULL) 1568s # { 1568s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1568s # } 1568s # else 1568s # { 1568s # if (info->use_gvariant) 1568s # g_value_set_variant (&value, variant); 1568s # else 1568s # g_dbus_gvariant_to_gvalue (variant, &value); 1568s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1568s # g_value_unset (&value); 1568s # ret = TRUE; 1568s # } 1568s # return ret; 1568s # } 1568s # 1568s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1568s # { 1568s # _org_project_signaling_iface_skeleton_handle_method_call, 1568s # _org_project_signaling_iface_skeleton_handle_get_property, 1568s # _org_project_signaling_iface_skeleton_handle_set_property, 1568s # {NULL} 1568s # }; 1568s # 1568s # static GDBusInterfaceInfo * 1568s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1568s # { 1568s # return org_project_signaling_iface_interface_info (); 1568s # } 1568s # 1568s # static GDBusInterfaceVTable * 1568s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1568s # { 1568s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1568s # } 1568s # 1568s # static GVariant * 1568s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1568s # { 1568s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1568s # 1568s # GVariantBuilder builder; 1568s # guint n; 1568s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1568s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1568s # goto out; 1568s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1568s # { 1568s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1568s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1568s # { 1568s # GVariant *value; 1568s # 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); 1568s # if (value != NULL) 1568s # { 1568s # g_variant_take_ref (value); 1568s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1568s # g_variant_unref (value); 1568s # } 1568s # } 1568s # } 1568s # out: 1568s # return g_variant_builder_end (&builder); 1568s # } 1568s # 1568s # static void 1568s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1568s # { 1568s # } 1568s # 1568s # static void 1568s # _org_project_signaling_iface_on_signal_simple_signal ( 1568s # OrgProjectSignalingIface *object) 1568s # { 1568s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1568s # 1568s # GList *connections, *l; 1568s # GVariant *signal_variant; 1568s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1568s # 1568s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1568s # for (l = connections; l != NULL; l = l->next) 1568s # { 1568s # GDBusConnection *connection = l->data; 1568s # g_dbus_connection_emit_signal (connection, 1568s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 1568s # signal_variant, NULL); 1568s # } 1568s # g_variant_unref (signal_variant); 1568s # g_list_free_full (connections, g_object_unref); 1568s # } 1568s # 1568s # static void 1568s # _org_project_signaling_iface_on_signal_single_arg_signal_y ( 1568s # OrgProjectSignalingIface *object, 1568s # guchar arg_arg_y) 1568s # { 1568s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1568s # 1568s # GList *connections, *l; 1568s # GVariant *signal_variant; 1568s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1568s # 1568s # signal_variant = g_variant_ref_sink (g_variant_new ("(y)", 1568s # arg_arg_y)); 1568s # for (l = connections; l != NULL; l = l->next) 1568s # { 1568s # GDBusConnection *connection = l->data; 1568s # g_dbus_connection_emit_signal (connection, 1568s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalY", 1568s # signal_variant, NULL); 1568s # } 1568s # g_variant_unref (signal_variant); 1568s # g_list_free_full (connections, g_object_unref); 1568s # } 1568s # 1568s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1568s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1568s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1568s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1568s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1568s # 1568s # #else 1568s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1568s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1568s # 1568s # #endif 1568s # static void 1568s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1568s # { 1568s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1568s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1568s # if (skeleton->priv->changed_properties_idle_source != NULL) 1568s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1568s # g_main_context_unref (skeleton->priv->context); 1568s # g_mutex_clear (&skeleton->priv->lock); 1568s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1568s # } 1568s # 1568s # static void 1568s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1568s # { 1568s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1568s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1568s # #else 1568s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1568s # #endif 1568s # 1568s # g_mutex_init (&skeleton->priv->lock); 1568s # skeleton->priv->context = g_main_context_ref_thread_default (); 1568s # } 1568s # 1568s # static void 1568s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1568s # { 1568s # GObjectClass *gobject_class; 1568s # GDBusInterfaceSkeletonClass *skeleton_class; 1568s # 1568s # gobject_class = G_OBJECT_CLASS (klass); 1568s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1568s # 1568s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1568s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1568s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1568s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1568s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1568s # 1568s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1568s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1568s # #endif 1568s # } 1568s # 1568s # static void 1568s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1568s # { 1568s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 1568s # iface->single_arg_signal_y = _org_project_signaling_iface_on_signal_single_arg_signal_y; 1568s # } 1568s # 1568s # /** 1568s # * org_project_signaling_iface_skeleton_new: 1568s # * 1568s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1568s # * 1568s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1568s # */ 1568s # OrgProjectSignalingIface * 1568s # org_project_signaling_iface_skeleton_new (void) 1568s # { 1568s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1568s # } 1568s # /tmp/tmpgfozeg7c/tmpoy632_dy.xml: 1568s # 1568s # 1568s # 1568s # 1568s # 1568s # 1568s # 1568s # 1568s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpgfozeg7c/tmpoy632_dy.xml', '--output', '-', '--body'] 1568s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-baqskmurxn,guid=fbaffe99d0ccb1f6e1beb84865fc01cd', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.YcZbqk/autopkgtest_tmp', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.YcZbqk/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.YcZbqk/autopkgtest_tmp', 'TERM': 'unknown', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.YcZbqk/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.sVTVMp0Db0', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.rqZsJO/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.YcZbqk/wrapper.sh --artifacts=/tmp/autopkgtest.YcZbqk/installed-tests-artifacts --chdir=/tmp/autopkgtest.YcZbqk/build.S0E/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.YcZbqk/installed-tests-stderr --stdout=/tmp/autopkgtest.YcZbqk/installed-tests-stdout --tmp=/tmp/autopkgtest.YcZbqk/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2' --make-executable=/tmp/autopkgtest.YcZbqk/build.S0E/src/debian/tests/installed-tests -- /tmp/autopkgtest.YcZbqk/build.S0E/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.YcZbqk/build.S0E/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.YcZbqk/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1568s # Output: /* 1568s # * This file is generated by gdbus-codegen, do not modify it. 1568s # * 1568s # * The license of this code is the same as for the D-Bus interface description 1568s # * it was derived from. Note that it links to GLib, so must comply with the 1568s # * LGPL linking clauses. 1568s # */ 1568s # 1568s # #ifdef HAVE_CONFIG_H 1568s # # include "config.h" 1568s # #endif 1568s # 1568s # #include 1568s # #ifdef G_OS_UNIX 1568s # # include 1568s # #endif 1568s # 1568s # #ifdef G_ENABLE_DEBUG 1568s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1568s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1568s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1568s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1568s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1568s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1568s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1568s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1568s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1568s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1568s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1568s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1568s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1568s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1568s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1568s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1568s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1568s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1568s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1568s # #else /* !G_ENABLE_DEBUG */ 1568s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1568s # * Do not access GValues directly in your code. Instead, use the 1568s # * g_value_get_*() functions 1568s # */ 1568s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1568s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1568s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1568s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1568s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1568s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1568s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1568s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1568s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1568s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1568s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1568s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1568s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1568s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1568s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1568s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1568s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1568s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1568s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1568s # #endif /* !G_ENABLE_DEBUG */ 1568s # 1568s # typedef struct 1568s # { 1568s # GDBusArgInfo parent_struct; 1568s # gboolean use_gvariant; 1568s # } _ExtendedGDBusArgInfo; 1568s # 1568s # typedef struct 1568s # { 1568s # GDBusMethodInfo parent_struct; 1568s # const gchar *signal_name; 1568s # gboolean pass_fdlist; 1568s # } _ExtendedGDBusMethodInfo; 1568s # 1568s # typedef struct 1568s # { 1568s # GDBusSignalInfo parent_struct; 1568s # const gchar *signal_name; 1568s # } _ExtendedGDBusSignalInfo; 1568s # 1568s # typedef struct 1568s # { 1568s # GDBusPropertyInfo parent_struct; 1568s # const gchar *hyphen_name; 1568s # guint use_gvariant : 1; 1568s # guint emits_changed_signal : 1; 1568s # } _ExtendedGDBusPropertyInfo; 1568s # 1568s # typedef struct 1568s # { 1568s # GDBusInterfaceInfo parent_struct; 1568s # const gchar *hyphen_name; 1568s # } _ExtendedGDBusInterfaceInfo; 1568s # 1568s # typedef struct 1568s # { 1568s # const _ExtendedGDBusPropertyInfo *info; 1568s # guint prop_id; 1568s # GValue orig_value; /* the value before the change */ 1568s # } ChangedProperty; 1568s # 1568s # static void 1568s # _changed_property_free (ChangedProperty *data) 1568s # { 1568s # g_value_unset (&data->orig_value); 1568s # g_free (data); 1568s # } 1568s # 1568s # static gboolean 1568s # _g_strv_equal0 (gchar **a, gchar **b) 1568s # { 1568s # gboolean ret = FALSE; 1568s # guint n; 1568s # if (a == NULL && b == NULL) 1568s # { 1568s # ret = TRUE; 1568s # goto out; 1568s # } 1568s # if (a == NULL || b == NULL) 1568s # goto out; 1568s # if (g_strv_length (a) != g_strv_length (b)) 1568s # goto out; 1568s # for (n = 0; a[n] != NULL; n++) 1568s # if (g_strcmp0 (a[n], b[n]) != 0) 1568s # goto out; 1568s # ret = TRUE; 1568s # out: 1568s # return ret; 1568s # } 1568s # 1568s # static gboolean 1568s # _g_variant_equal0 (GVariant *a, GVariant *b) 1568s # { 1568s # gboolean ret = FALSE; 1568s # if (a == NULL && b == NULL) 1568s # { 1568s # ret = TRUE; 1568s # goto out; 1568s # } 1568s # if (a == NULL || b == NULL) 1568s # goto out; 1568s # ret = g_variant_equal (a, b); 1568s # out: 1568s # return ret; 1568s # } 1568s # 1568s # G_GNUC_UNUSED static gboolean 1568s # _g_value_equal (const GValue *a, const GValue *b) 1568s # { 1568s # gboolean ret = FALSE; 1568s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1568s # switch (G_VALUE_TYPE (a)) 1568s # { 1568s # case G_TYPE_BOOLEAN: 1568s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1568s # break; 1568s # case G_TYPE_UCHAR: 1568s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1568s # break; 1568s # case G_TYPE_INT: 1568s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1568s # break; 1568s # case G_TYPE_UINT: 1568s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1568s # break; 1568s # case G_TYPE_INT64: 1568s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1568s # break; 1568s # case G_TYPE_UINT64: 1568s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1568s # break; 1568s # case G_TYPE_DOUBLE: 1568s # { 1568s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1568s # gdouble da = g_value_get_double (a); 1568s # gdouble db = g_value_get_double (b); 1568s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1568s # } 1568s # break; 1568s # case G_TYPE_STRING: 1568s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1568s # break; 1568s # case G_TYPE_VARIANT: 1568s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1568s # break; 1568s # default: 1568s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1568s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1568s # else 1568s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1568s # break; 1568s # } 1568s # return ret; 1568s # } 1568s # 1568s # /* ------------------------------------------------------------------------ 1568s # * Code for interface org.project.SignalingIface 1568s # * ------------------------------------------------------------------------ 1568s # */ 1568s # 1568s # /** 1568s # * SECTION:OrgProjectSignalingIface 1568s # * @title: OrgProjectSignalingIface 1568s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1568s # * 1568s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1568s # */ 1568s # 1568s # enum 1568s # { 1568s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 1568s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_N, 1568s # }; 1568s # 1568s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 1568s # 1568s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1568s # 1568s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 1568s # { 1568s # { 1568s # -1, 1568s # (gchar *) "SimpleSignal", 1568s # NULL, 1568s # NULL 1568s # }, 1568s # "simple-signal" 1568s # }; 1568s # 1568s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_n_ARG_arg_n = 1568s # { 1568s # { 1568s # -1, 1568s # (gchar *) "arg_n", 1568s # (gchar *) "n", 1568s # NULL 1568s # }, 1568s # FALSE 1568s # }; 1568s # 1568s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_n_ARG_pointers[] = 1568s # { 1568s # &_org_project_signaling_iface_signal_info_single_arg_signal_n_ARG_arg_n.parent_struct, 1568s # NULL 1568s # }; 1568s # 1568s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_n = 1568s # { 1568s # { 1568s # -1, 1568s # (gchar *) "SingleArgSignalN", 1568s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_n_ARG_pointers, 1568s # NULL 1568s # }, 1568s # "single-arg-signal-n" 1568s # }; 1568s # 1568s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1568s # { 1568s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 1568s # &_org_project_signaling_iface_signal_info_single_arg_signal_n.parent_struct, 1568s # NULL 1568s # }; 1568s # 1568s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1568s # { 1568s # { 1568s # -1, 1568s # (gchar *) "org.project.SignalingIface", 1568s # NULL, 1568s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1568s # NULL, 1568s # NULL 1568s # }, 1568s # "org-project-signaling-iface", 1568s # }; 1568s # 1568s # 1568s # /** 1568s # * org_project_signaling_iface_interface_info: 1568s # * 1568s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1568s # * 1568s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1568s # */ 1568s # GDBusInterfaceInfo * 1568s # org_project_signaling_iface_interface_info (void) 1568s # { 1568s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1568s # } 1568s # 1568s # /** 1568s # * org_project_signaling_iface_override_properties: 1568s # * @klass: The class structure for a #GObject derived class. 1568s # * @property_id_begin: The property id to assign to the first overridden property. 1568s # * 1568s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1568s # * The properties are overridden in the order they are defined. 1568s # * 1568s # * Returns: The last property id. 1568s # */ 1568s # guint 1568s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1568s # { 1568s # return property_id_begin - 1; 1568s # } 1568s # 1568s # 1568s # inline static void 1568s # org_project_signaling_iface_signal_marshal_simple_signal ( 1568s # GClosure *closure, 1568s # GValue *return_value, 1568s # unsigned int n_param_values, 1568s # const GValue *param_values, 1568s # void *invocation_hint, 1568s # void *marshal_data) 1568s # { 1568s # g_cclosure_marshal_VOID__VOID (closure, 1568s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1568s # } 1568s # 1568s # inline static void 1568s # org_project_signaling_iface_signal_marshal_single_arg_signal_n ( 1568s # GClosure *closure, 1568s # GValue *return_value, 1568s # unsigned int n_param_values, 1568s # const GValue *param_values, 1568s # void *invocation_hint, 1568s # void *marshal_data) 1568s # { 1568s # g_cclosure_marshal_VOID__INT (closure, 1568s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1568s # } 1568s # 1568s # 1568s # /** 1568s # * OrgProjectSignalingIface: 1568s # * 1568s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1568s # */ 1568s # 1568s # /** 1568s # * OrgProjectSignalingIfaceIface: 1568s # * @parent_iface: The parent interface. 1568s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 1568s # * @single_arg_signal_n: Handler for the #OrgProjectSignalingIface::single-arg-signal-n signal. 1568s # * 1568s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1568s # */ 1568s # 1568s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1568s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1568s # 1568s # static void 1568s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1568s # { 1568s # /* GObject signals for received D-Bus signals: */ 1568s # /** 1568s # * OrgProjectSignalingIface::simple-signal: 1568s # * @object: A #OrgProjectSignalingIface. 1568s # * 1568s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1568s # * 1568s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1568s # */ 1568s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 1568s # g_signal_new ("simple-signal", 1568s # G_TYPE_FROM_INTERFACE (iface), 1568s # G_SIGNAL_RUN_LAST, 1568s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 1568s # NULL, 1568s # NULL, 1568s # org_project_signaling_iface_signal_marshal_simple_signal, 1568s # G_TYPE_NONE, 1568s # 0); 1568s # 1568s # /** 1568s # * OrgProjectSignalingIface::single-arg-signal-n: 1568s # * @object: A #OrgProjectSignalingIface. 1568s # * @arg_arg_n: Argument. 1568s # * 1568s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalN" is received. 1568s # * 1568s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1568s # */ 1568s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_N] = 1568s # g_signal_new ("single-arg-signal-n", 1568s # G_TYPE_FROM_INTERFACE (iface), 1568s # G_SIGNAL_RUN_LAST, 1568s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_n), 1568s # NULL, 1568s # NULL, 1568s # org_project_signaling_iface_signal_marshal_single_arg_signal_n, 1568s # G_TYPE_NONE, 1568s # 1, G_TYPE_INT); 1568s # 1568s # } 1568s # 1568s # /** 1568s # * org_project_signaling_iface_emit_simple_signal: 1568s # * @object: A #OrgProjectSignalingIface. 1568s # * 1568s # * Emits the "SimpleSignal" D-Bus signal. 1568s # */ 1568s # void 1568s # org_project_signaling_iface_emit_simple_signal ( 1568s # OrgProjectSignalingIface *object) 1568s # { 1568s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 1568s # } 1568s # 1568s # /** 1568s # * org_project_signaling_iface_emit_single_arg_signal_n: 1568s # * @object: A #OrgProjectSignalingIface. 1568s # * @arg_arg_n: Argument to pass with the signal. 1568s # * 1568s # * Emits the "SingleArgSignalN" D-Bus signal. 1568s # */ 1568s # void 1568s # org_project_signaling_iface_emit_single_arg_signal_n ( 1568s # OrgProjectSignalingIface *object, 1568s # gint16 arg_arg_n) 1568s # { 1568s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_N], 0, arg_arg_n); 1568s # } 1568s # 1568s # /* ------------------------------------------------------------------------ */ 1568s # 1568s # /** 1568s # * OrgProjectSignalingIfaceProxy: 1568s # * 1568s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1568s # */ 1568s # 1568s # /** 1568s # * OrgProjectSignalingIfaceProxyClass: 1568s # * @parent_class: The parent class. 1568s # * 1568s # * Class structure for #OrgProjectSignalingIfaceProxy. 1568s # */ 1568s # 1568s # struct _OrgProjectSignalingIfaceProxyPrivate 1568s # { 1568s # GData *qdata; 1568s # }; 1568s # 1568s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1568s # 1568s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1568s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1568s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1568s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1568s # 1568s # #else 1568s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1568s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1568s # 1568s # #endif 1568s # static void 1568s # org_project_signaling_iface_proxy_finalize (GObject *object) 1568s # { 1568s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1568s # g_datalist_clear (&proxy->priv->qdata); 1568s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1568s # } 1568s # 1568s # static void 1568s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1568s # guint prop_id G_GNUC_UNUSED, 1568s # GValue *value G_GNUC_UNUSED, 1568s # GParamSpec *pspec G_GNUC_UNUSED) 1568s # { 1568s # } 1568s # 1568s # static void 1568s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1568s # guint prop_id G_GNUC_UNUSED, 1568s # const GValue *value G_GNUC_UNUSED, 1568s # GParamSpec *pspec G_GNUC_UNUSED) 1568s # { 1568s # } 1568s # 1568s # static void 1568s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1568s # const gchar *sender_name G_GNUC_UNUSED, 1568s # const gchar *signal_name, 1568s # GVariant *parameters) 1568s # { 1568s # _ExtendedGDBusSignalInfo *info; 1568s # GVariantIter iter; 1568s # GVariant *child; 1568s # GValue *paramv; 1568s # gsize num_params; 1568s # gsize n; 1568s # guint signal_id; 1568s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1568s # if (info == NULL) 1568s # return; 1568s # num_params = g_variant_n_children (parameters); 1568s # paramv = g_new0 (GValue, num_params + 1); 1568s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1568s # g_value_set_object (¶mv[0], proxy); 1568s # g_variant_iter_init (&iter, parameters); 1568s # n = 1; 1568s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1568s # { 1568s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1568s # if (arg_info->use_gvariant) 1568s # { 1568s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1568s # g_value_set_variant (¶mv[n], child); 1568s # n++; 1568s # } 1568s # else 1568s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1568s # g_variant_unref (child); 1568s # } 1568s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1568s # g_signal_emitv (paramv, signal_id, 0, NULL); 1568s # for (n = 0; n < num_params + 1; n++) 1568s # g_value_unset (¶mv[n]); 1568s # g_free (paramv); 1568s # } 1568s # 1568s # static void 1568s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1568s # GVariant *changed_properties, 1568s # const gchar *const *invalidated_properties) 1568s # { 1568s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1568s # guint n; 1568s # const gchar *key; 1568s # GVariantIter *iter; 1568s # _ExtendedGDBusPropertyInfo *info; 1568s # g_variant_get (changed_properties, "a{sv}", &iter); 1568s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1568s # { 1568s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1568s # g_datalist_remove_data (&proxy->priv->qdata, key); 1568s # if (info != NULL) 1568s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1568s # } 1568s # g_variant_iter_free (iter); 1568s # for (n = 0; invalidated_properties[n] != NULL; n++) 1568s # { 1568s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1568s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1568s # if (info != NULL) 1568s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1568s # } 1568s # } 1568s # 1568s # static void 1568s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1568s # { 1568s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1568s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1568s # #else 1568s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1568s # #endif 1568s # 1568s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1568s # } 1568s # 1568s # static void 1568s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1568s # { 1568s # GObjectClass *gobject_class; 1568s # GDBusProxyClass *proxy_class; 1568s # 1568s # gobject_class = G_OBJECT_CLASS (klass); 1568s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1568s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1568s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1568s # 1568s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1568s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1568s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1568s # 1568s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1568s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1568s # #endif 1568s # } 1568s # 1568s # static void 1568s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1568s # { 1568s # } 1568s # 1568s # /** 1568s # * org_project_signaling_iface_proxy_new: 1568s # * @connection: A #GDBusConnection. 1568s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1568s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1568s # * @object_path: An object path. 1568s # * @cancellable: (nullable): A #GCancellable or %NULL. 1568s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1568s # * @user_data: User data to pass to @callback. 1568s # * 1568s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1568s # * 1568s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1568s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1568s # * 1568s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1568s # */ 1568s # void 1568s # org_project_signaling_iface_proxy_new ( 1568s # GDBusConnection *connection, 1568s # GDBusProxyFlags flags, 1568s # const gchar *name, 1568s # const gchar *object_path, 1568s # GCancellable *cancellable, 1568s # GAsyncReadyCallback callback, 1568s # gpointer user_data) 1568s # { 1568s # 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); 1568s # } 1568s # 1568s # /** 1568s # * org_project_signaling_iface_proxy_new_finish: 1568s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1568s # * @error: Return location for error or %NULL 1568s # * 1568s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1568s # * 1568s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1568s # */ 1568s # OrgProjectSignalingIface * 1568s # org_project_signaling_iface_proxy_new_finish ( 1568s # GAsyncResult *res, 1568s # GError **error) 1568s # { 1568s # GObject *ret; 1568s # GObject *source_object; 1568s # source_object = g_async_result_get_source_object (res); 1568s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1568s # g_object_unref (source_object); 1568s # if (ret != NULL) 1568s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1568s # else 1568s # return NULL; 1568s # } 1568s # 1568s # /** 1568s # * org_project_signaling_iface_proxy_new_sync: 1568s # * @connection: A #GDBusConnection. 1568s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1568s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1568s # * @object_path: An object path. 1568s # * @cancellable: (nullable): A #GCancellable or %NULL. 1568s # * @error: Return location for error or %NULL 1568s # * 1568s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1568s # * 1568s # * The calling thread is blocked until a reply is received. 1568s # * 1568s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1568s # * 1568s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1568s # */ 1568s # OrgProjectSignalingIface * 1568s # org_project_signaling_iface_proxy_new_sync ( 1568s # GDBusConnection *connection, 1568s # GDBusProxyFlags flags, 1568s # const gchar *name, 1568s # const gchar *object_path, 1568s # GCancellable *cancellable, 1568s # GError **error) 1568s # { 1568s # GInitable *ret; 1568s # 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); 1568s # if (ret != NULL) 1568s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1568s # else 1568s # return NULL; 1568s # } 1568s # 1568s # 1568s # /** 1568s # * org_project_signaling_iface_proxy_new_for_bus: 1568s # * @bus_type: A #GBusType. 1568s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1568s # * @name: A bus name (well-known or unique). 1568s # * @object_path: An object path. 1568s # * @cancellable: (nullable): A #GCancellable or %NULL. 1568s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1568s # * @user_data: User data to pass to @callback. 1568s # * 1568s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1568s # * 1568s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1568s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1568s # * 1568s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1568s # */ 1568s # void 1568s # org_project_signaling_iface_proxy_new_for_bus ( 1568s # GBusType bus_type, 1568s # GDBusProxyFlags flags, 1568s # const gchar *name, 1568s # const gchar *object_path, 1568s # GCancellable *cancellable, 1568s # GAsyncReadyCallback callback, 1568s # gpointer user_data) 1568s # { 1568s # 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); 1568s # } 1568s # 1568s # /** 1568s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1568s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1568s # * @error: Return location for error or %NULL 1568s # * 1568s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1568s # * 1568s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1568s # */ 1568s # OrgProjectSignalingIface * 1568s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1568s # GAsyncResult *res, 1568s # GError **error) 1568s # { 1568s # GObject *ret; 1568s # GObject *source_object; 1568s # source_object = g_async_result_get_source_object (res); 1568s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1568s # g_object_unref (source_object); 1568s # if (ret != NULL) 1568s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1568s # else 1568s # return NULL; 1568s # } 1568s # 1568s # /** 1568s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1568s # * @bus_type: A #GBusType. 1568s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1568s # * @name: A bus name (well-known or unique). 1568s # * @object_path: An object path. 1568s # * @cancellable: (nullable): A #GCancellable or %NULL. 1568s # * @error: Return location for error or %NULL 1568s # * 1568s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1568s # * 1568s # * The calling thread is blocked until a reply is received. 1568s # * 1568s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1568s # * 1568s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1568s # */ 1568s # OrgProjectSignalingIface * 1568s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1568s # GBusType bus_type, 1568s # GDBusProxyFlags flags, 1568s # const gchar *name, 1568s # const gchar *object_path, 1568s # GCancellable *cancellable, 1568s # GError **error) 1568s # { 1568s # GInitable *ret; 1568s # 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); 1568s # if (ret != NULL) 1568s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1568s # else 1568s # return NULL; 1568s # } 1568s # 1568s # 1568s # /* ------------------------------------------------------------------------ */ 1568s # 1568s # /** 1568s # * OrgProjectSignalingIfaceSkeleton: 1568s # * 1568s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1568s # */ 1568s # 1568s # /** 1568s # * OrgProjectSignalingIfaceSkeletonClass: 1568s # * @parent_class: The parent class. 1568s # * 1568s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1568s # */ 1568s # 1568s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1568s # { 1568s # GValue *properties; 1568s # GList *changed_properties; 1568s # GSource *changed_properties_idle_source; 1568s # GMainContext *context; 1568s # GMutex lock; 1568s # }; 1568s # 1568s # static void 1568s # _org_project_signaling_iface_skeleton_handle_method_call ( 1568s # GDBusConnection *connection G_GNUC_UNUSED, 1568s # const gchar *sender G_GNUC_UNUSED, 1568s # const gchar *object_path G_GNUC_UNUSED, 1568s # const gchar *interface_name, 1568s # const gchar *method_name, 1568s # GVariant *parameters, 1568s # GDBusMethodInvocation *invocation, 1568s # gpointer user_data) 1568s # { 1568s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1568s # _ExtendedGDBusMethodInfo *info; 1568s # GVariantIter iter; 1568s # GVariant *child; 1568s # GValue *paramv; 1568s # gsize num_params; 1568s # guint num_extra; 1568s # gsize n; 1568s # guint signal_id; 1568s # GValue return_value = G_VALUE_INIT; 1568s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1568s # g_assert (info != NULL); 1568s # num_params = g_variant_n_children (parameters); 1568s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1568s # n = 0; 1568s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1568s # g_value_set_object (¶mv[n++], skeleton); 1568s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1568s # g_value_set_object (¶mv[n++], invocation); 1568s # if (info->pass_fdlist) 1568s # { 1568s # #ifdef G_OS_UNIX 1568s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1568s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1568s # #else 1568s # g_assert_not_reached (); 1568s # #endif 1568s # } 1568s # g_variant_iter_init (&iter, parameters); 1568s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1568s # { 1568s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1568s # if (arg_info->use_gvariant) 1568s # { 1568s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1568s # g_value_set_variant (¶mv[n], child); 1568s # n++; 1568s # } 1568s # else 1568s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1568s # g_variant_unref (child); 1568s # } 1568s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1568s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1568s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1568s # if (!g_value_get_boolean (&return_value)) 1568s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1568s # g_value_unset (&return_value); 1568s # for (n = 0; n < num_params + num_extra; n++) 1568s # g_value_unset (¶mv[n]); 1568s # g_free (paramv); 1568s # } 1568s # 1568s # static GVariant * 1568s # _org_project_signaling_iface_skeleton_handle_get_property ( 1568s # GDBusConnection *connection G_GNUC_UNUSED, 1568s # const gchar *sender G_GNUC_UNUSED, 1568s # const gchar *object_path G_GNUC_UNUSED, 1568s # const gchar *interface_name G_GNUC_UNUSED, 1568s # const gchar *property_name, 1568s # GError **error, 1568s # gpointer user_data) 1568s # { 1568s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1568s # GValue value = G_VALUE_INIT; 1568s # GParamSpec *pspec; 1568s # _ExtendedGDBusPropertyInfo *info; 1568s # GVariant *ret; 1568s # ret = NULL; 1568s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1568s # g_assert (info != NULL); 1568s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1568s # if (pspec == NULL) 1568s # { 1568s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1568s # } 1568s # else 1568s # { 1568s # g_value_init (&value, pspec->value_type); 1568s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1568s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1568s # g_value_unset (&value); 1568s # } 1568s # return ret; 1568s # } 1568s # 1568s # static gboolean 1568s # _org_project_signaling_iface_skeleton_handle_set_property ( 1568s # GDBusConnection *connection G_GNUC_UNUSED, 1568s # const gchar *sender G_GNUC_UNUSED, 1568s # const gchar *object_path G_GNUC_UNUSED, 1568s # const gchar *interface_name G_GNUC_UNUSED, 1568s # const gchar *property_name, 1568s # GVariant *variant, 1568s # GError **error, 1568s # gpointer user_data) 1568s # { 1568s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1568s # GValue value = G_VALUE_INIT; 1568s # GParamSpec *pspec; 1568s # _ExtendedGDBusPropertyInfo *info; 1568s # gboolean ret; 1568s # ret = FALSE; 1568s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1568s # g_assert (info != NULL); 1568s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1568s # if (pspec == NULL) 1568s # { 1568s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1568s # } 1568s # else 1568s # { 1568s # if (info->use_gvariant) 1568s # g_value_set_variant (&value, variant); 1568s # else 1568s # g_dbus_gvariant_to_gvalue (variant, &value); 1568s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1568s # g_value_unset (&value); 1568s # ret = TRUE; 1568s # } 1568s # return ret; 1568s # } 1568s # 1568s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1568s # { 1568s # _org_project_signaling_iface_skeleton_handle_method_call, 1568s # _org_project_signaling_iface_skeleton_handle_get_property, 1568s # _org_project_signaling_iface_skeleton_handle_set_property, 1568s # {NULL} 1568s # }; 1568s # 1568s # static GDBusInterfaceInfo * 1568s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1568s # { 1568s # return org_project_signaling_iface_interface_info (); 1568s # } 1568s # 1568s # static GDBusInterfaceVTable * 1568s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1568s # { 1568s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1568s # } 1568s # 1568s # static GVariant * 1568s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1568s # { 1568s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1568s # 1568s # GVariantBuilder builder; 1568s # guint n; 1568s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1568s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1568s # goto out; 1568s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1568s # { 1568s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1568s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1568s # { 1568s # GVariant *value; 1568s # 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); 1568s # if (value != NULL) 1568s # { 1568s # g_variant_take_ref (value); 1568s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1568s # g_variant_unref (value); 1568s # } 1568s # } 1568s # } 1568s # out: 1568s # return g_variant_builder_end (&builder); 1568s # } 1568s # 1568s # static void 1568s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1568s # { 1568s # } 1568s # 1568s # static void 1568s # _org_project_signaling_iface_on_signal_simple_signal ( 1568s # OrgProjectSignalingIface *object) 1568s # { 1568s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1568s # 1568s # GList *connections, *l; 1568s # GVariant *signal_variant; 1568s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1568s # 1568s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1568s # for (l = connections; l != NULL; l = l->next) 1568s # { 1568s # GDBusConnection *connection = l->data; 1568s # g_dbus_connection_emit_signal (connection, 1568s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 1568s # signal_variant, NULL); 1568s # } 1568s # g_variant_unref (signal_variant); 1568s # g_list_free_full (connections, g_object_unref); 1568s # } 1568s # 1568s # static void 1568s # _org_project_signaling_iface_on_signal_single_arg_signal_n ( 1568s # OrgProjectSignalingIface *object, 1568s # gint16 arg_arg_n) 1568s # { 1568s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1568s # 1568s # GList *connections, *l; 1568s # GVariant *signal_variant; 1568s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1568s # 1568s # signal_variant = g_variant_ref_sink (g_variant_new ("(n)", 1568s # arg_arg_n)); 1568s # for (l = connections; l != NULL; l = l->next) 1568s # { 1568s # GDBusConnection *connection = l->data; 1568s # g_dbus_connection_emit_signal (connection, 1568s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalN", 1568s # signal_variant, NULL); 1568s # } 1568s # g_variant_unref (signal_variant); 1568s # g_list_free_full (connections, g_object_unref); 1568s # } 1568s # 1568s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1568s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1568s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1568s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1568s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1568s # 1568s # #else 1568s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1568s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1568s # 1568s # #endif 1568s # static void 1568s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1568s # { 1568s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1568s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1568s # if (skeleton->priv->changed_properties_idle_source != NULL) 1568s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1568s # g_main_context_unref (skeleton->priv->context); 1568s # g_mutex_clear (&skeleton->priv->lock); 1568s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1568s # } 1568s # 1568s # static void 1568s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1568s # { 1568s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1568s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1568s # #else 1568s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1568s # #endif 1568s # 1568s # g_mutex_init (&skeleton->priv->lock); 1568s # skeleton->priv->context = g_main_context_ref_thread_default (); 1568s # } 1568s # 1568s # static void 1568s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1568s # { 1568s # GObjectClass *gobject_class; 1568s # GDBusInterfaceSkeletonClass *skeleton_class; 1568s # 1568s # gobject_class = G_OBJECT_CLASS (klass); 1568s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1568s # 1568s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1568s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1568s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1568s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1568s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1568s # 1568s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1568s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1568s # #endif 1568s # } 1568s # 1568s # static void 1568s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1568s # { 1568s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 1568s # iface->single_arg_signal_n = _org_project_signaling_iface_on_signal_single_arg_signal_n; 1568s # } 1568s # 1568s # /** 1568s # * org_project_signaling_iface_skeleton_new: 1568s # * 1568s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1568s # * 1568s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1568s # */ 1568s # OrgProjectSignalingIface * 1568s # org_project_signaling_iface_skeleton_new (void) 1568s # { 1568s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1568s # } 1568s # /tmp/tmpgfozeg7c/tmp9xugmktz.xml: 1568s # 1568s # 1568s # 1568s # 1568s # 1568s # 1568s # 1568s # 1568s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpgfozeg7c/tmp9xugmktz.xml', '--output', '-', '--body'] 1568s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-baqskmurxn,guid=fbaffe99d0ccb1f6e1beb84865fc01cd', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.YcZbqk/autopkgtest_tmp', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.YcZbqk/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.YcZbqk/autopkgtest_tmp', 'TERM': 'unknown', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.YcZbqk/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.sVTVMp0Db0', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.rqZsJO/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.YcZbqk/wrapper.sh --artifacts=/tmp/autopkgtest.YcZbqk/installed-tests-artifacts --chdir=/tmp/autopkgtest.YcZbqk/build.S0E/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.YcZbqk/installed-tests-stderr --stdout=/tmp/autopkgtest.YcZbqk/installed-tests-stdout --tmp=/tmp/autopkgtest.YcZbqk/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2' --make-executable=/tmp/autopkgtest.YcZbqk/build.S0E/src/debian/tests/installed-tests -- /tmp/autopkgtest.YcZbqk/build.S0E/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.YcZbqk/build.S0E/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.YcZbqk/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1568s # Output: /* 1568s # * This file is generated by gdbus-codegen, do not modify it. 1568s # * 1568s # * The license of this code is the same as for the D-Bus interface description 1568s # * it was derived from. Note that it links to GLib, so must comply with the 1568s # * LGPL linking clauses. 1568s # */ 1568s # 1568s # #ifdef HAVE_CONFIG_H 1568s # # include "config.h" 1568s # #endif 1568s # 1568s # #include 1568s # #ifdef G_OS_UNIX 1568s # # include 1568s # #endif 1568s # 1568s # #ifdef G_ENABLE_DEBUG 1568s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1568s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1568s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1568s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1568s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1568s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1568s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1568s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1568s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1568s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1568s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1568s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1568s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1568s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1568s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1568s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1568s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1568s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1568s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1568s # #else /* !G_ENABLE_DEBUG */ 1568s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1568s # * Do not access GValues directly in your code. Instead, use the 1568s # * g_value_get_*() functions 1568s # */ 1568s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1568s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1568s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1568s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1568s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1568s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1568s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1568s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1568s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1568s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1568s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1568s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1568s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1568s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1568s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1568s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1568s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1568s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1568s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1568s # #endif /* !G_ENABLE_DEBUG */ 1568s # 1568s # typedef struct 1568s # { 1568s # GDBusArgInfo parent_struct; 1568s # gboolean use_gvariant; 1568s # } _ExtendedGDBusArgInfo; 1568s # 1568s # typedef struct 1568s # { 1568s # GDBusMethodInfo parent_struct; 1568s # const gchar *signal_name; 1568s # gboolean pass_fdlist; 1568s # } _ExtendedGDBusMethodInfo; 1568s # 1568s # typedef struct 1568s # { 1568s # GDBusSignalInfo parent_struct; 1568s # const gchar *signal_name; 1568s # } _ExtendedGDBusSignalInfo; 1568s # 1568s # typedef struct 1568s # { 1568s # GDBusPropertyInfo parent_struct; 1568s # const gchar *hyphen_name; 1568s # guint use_gvariant : 1; 1568s # guint emits_changed_signal : 1; 1568s # } _ExtendedGDBusPropertyInfo; 1568s # 1568s # typedef struct 1568s # { 1568s # GDBusInterfaceInfo parent_struct; 1568s # const gchar *hyphen_name; 1568s # } _ExtendedGDBusInterfaceInfo; 1568s # 1568s # typedef struct 1568s # { 1568s # const _ExtendedGDBusPropertyInfo *info; 1568s # guint prop_id; 1568s # GValue orig_value; /* the value before the change */ 1568s # } ChangedProperty; 1568s # 1568s # static void 1568s # _changed_property_free (ChangedProperty *data) 1568s # { 1568s # g_value_unset (&data->orig_value); 1568s # g_free (data); 1568s # } 1568s # 1568s # static gboolean 1568s # _g_strv_equal0 (gchar **a, gchar **b) 1568s # { 1568s # gboolean ret = FALSE; 1568s # guint n; 1568s # if (a == NULL && b == NULL) 1568s # { 1568s # ret = TRUE; 1568s # goto out; 1568s # } 1568s # if (a == NULL || b == NULL) 1568s # goto out; 1568s # if (g_strv_length (a) != g_strv_length (b)) 1568s # goto out; 1568s # for (n = 0; a[n] != NULL; n++) 1568s # if (g_strcmp0 (a[n], b[n]) != 0) 1568s # goto out; 1568s # ret = TRUE; 1568s # out: 1568s # return ret; 1568s # } 1568s # 1568s # static gboolean 1568s # _g_variant_equal0 (GVariant *a, GVariant *b) 1568s # { 1568s # gboolean ret = FALSE; 1568s # if (a == NULL && b == NULL) 1568s # { 1568s # ret = TRUE; 1568s # goto out; 1568s # } 1568s # if (a == NULL || b == NULL) 1568s # goto out; 1568s # ret = g_variant_equal (a, b); 1568s # out: 1568s # return ret; 1568s # } 1568s # 1568s # G_GNUC_UNUSED static gboolean 1568s # _g_value_equal (const GValue *a, const GValue *b) 1568s # { 1568s # gboolean ret = FALSE; 1568s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1568s # switch (G_VALUE_TYPE (a)) 1568s # { 1568s # case G_TYPE_BOOLEAN: 1568s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1568s # break; 1568s # case G_TYPE_UCHAR: 1568s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1568s # break; 1568s # case G_TYPE_INT: 1568s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1568s # break; 1568s # case G_TYPE_UINT: 1568s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1568s # break; 1568s # case G_TYPE_INT64: 1568s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1568s # break; 1568s # case G_TYPE_UINT64: 1568s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1568s # break; 1568s # case G_TYPE_DOUBLE: 1568s # { 1568s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1568s # gdouble da = g_value_get_double (a); 1568s # gdouble db = g_value_get_double (b); 1568s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1568s # } 1568s # break; 1568s # case G_TYPE_STRING: 1568s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1568s # break; 1568s # case G_TYPE_VARIANT: 1568s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1568s # break; 1568s # default: 1568s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1568s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1568s # else 1568s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1568s # break; 1568s # } 1568s # return ret; 1568s # } 1568s # 1568s # /* ------------------------------------------------------------------------ 1568s # * Code for interface org.project.SignalingIface 1568s # * ------------------------------------------------------------------------ 1568s # */ 1568s # 1568s # /** 1568s # * SECTION:OrgProjectSignalingIface 1568s # * @title: OrgProjectSignalingIface 1568s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1568s # * 1568s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1568s # */ 1568s # 1568s # enum 1568s # { 1568s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 1568s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Q, 1568s # }; 1568s # 1568s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 1568s # 1568s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1568s # 1568s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 1568s # { 1568s # { 1568s # -1, 1568s # (gchar *) "SimpleSignal", 1568s # NULL, 1568s # NULL 1568s # }, 1568s # "simple-signal" 1568s # }; 1568s # 1568s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_q_ARG_arg_q = 1568s # { 1568s # { 1568s # -1, 1568s # (gchar *) "arg_q", 1568s # (gchar *) "q", 1568s # NULL 1568s # }, 1568s # FALSE 1568s # }; 1568s # 1568s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_q_ARG_pointers[] = 1568s # { 1568s # &_org_project_signaling_iface_signal_info_single_arg_signal_q_ARG_arg_q.parent_struct, 1568s # NULL 1568s # }; 1568s # 1568s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_q = 1568s # { 1568s # { 1568s # -1, 1568s # (gchar *) "SingleArgSignalQ", 1568s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_q_ARG_pointers, 1568s # NULL 1568s # }, 1568s # "single-arg-signal-q" 1568s # }; 1568s # 1568s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1568s # { 1568s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 1568s # &_org_project_signaling_iface_signal_info_single_arg_signal_q.parent_struct, 1568s # NULL 1568s # }; 1568s # 1568s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1568s # { 1568s # { 1568s # -1, 1568s # (gchar *) "org.project.SignalingIface", 1568s # NULL, 1568s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1568s # NULL, 1568s # NULL 1568s # }, 1568s # "org-project-signaling-iface", 1568s # }; 1568s # 1568s # 1568s # /** 1568s # * org_project_signaling_iface_interface_info: 1568s # * 1568s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1568s # * 1568s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1568s # */ 1568s # GDBusInterfaceInfo * 1568s # org_project_signaling_iface_interface_info (void) 1568s # { 1568s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1568s # } 1568s # 1568s # /** 1568s # * org_project_signaling_iface_override_properties: 1568s # * @klass: The class structure for a #GObject derived class. 1568s # * @property_id_begin: The property id to assign to the first overridden property. 1568s # * 1568s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1568s # * The properties are overridden in the order they are defined. 1568s # * 1568s # * Returns: The last property id. 1568s # */ 1568s # guint 1568s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1568s # { 1568s # return property_id_begin - 1; 1568s # } 1568s # 1568s # 1568s # inline static void 1568s # org_project_signaling_iface_signal_marshal_simple_signal ( 1568s # GClosure *closure, 1568s # GValue *return_value, 1568s # unsigned int n_param_values, 1568s # const GValue *param_values, 1568s # void *invocation_hint, 1568s # void *marshal_data) 1568s # { 1568s # g_cclosure_marshal_VOID__VOID (closure, 1568s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1568s # } 1568s # 1568s # inline static void 1568s # org_project_signaling_iface_signal_marshal_single_arg_signal_q ( 1568s # GClosure *closure, 1568s # GValue *return_value, 1568s # unsigned int n_param_values, 1568s # const GValue *param_values, 1568s # void *invocation_hint, 1568s # void *marshal_data) 1568s # { 1568s # g_cclosure_marshal_VOID__UINT (closure, 1568s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1568s # } 1568s # 1568s # 1568s # /** 1568s # * OrgProjectSignalingIface: 1568s # * 1568s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1568s # */ 1568s # 1568s # /** 1568s # * OrgProjectSignalingIfaceIface: 1568s # * @parent_iface: The parent interface. 1568s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 1568s # * @single_arg_signal_q: Handler for the #OrgProjectSignalingIface::single-arg-signal-q signal. 1568s # * 1568s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1568s # */ 1568s # 1568s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1568s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1568s # 1568s # static void 1568s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1568s # { 1568s # /* GObject signals for received D-Bus signals: */ 1568s # /** 1568s # * OrgProjectSignalingIface::simple-signal: 1568s # * @object: A #OrgProjectSignalingIface. 1568s # * 1568s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1568s # * 1568s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1568s # */ 1568s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 1568s # g_signal_new ("simple-signal", 1568s # G_TYPE_FROM_INTERFACE (iface), 1568s # G_SIGNAL_RUN_LAST, 1568s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 1568s # NULL, 1568s # NULL, 1568s # org_project_signaling_iface_signal_marshal_simple_signal, 1568s # G_TYPE_NONE, 1568s # 0); 1568s # 1568s # /** 1568s # * OrgProjectSignalingIface::single-arg-signal-q: 1568s # * @object: A #OrgProjectSignalingIface. 1568s # * @arg_arg_q: Argument. 1568s # * 1568s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalQ" is received. 1568s # * 1568s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1568s # */ 1568s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Q] = 1568s # g_signal_new ("single-arg-signal-q", 1568s # G_TYPE_FROM_INTERFACE (iface), 1568s # G_SIGNAL_RUN_LAST, 1568s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_q), 1568s # NULL, 1568s # NULL, 1568s # org_project_signaling_iface_signal_marshal_single_arg_signal_q, 1568s # G_TYPE_NONE, 1568s # 1, G_TYPE_UINT); 1568s # 1568s # } 1568s # 1568s # /** 1568s # * org_project_signaling_iface_emit_simple_signal: 1568s # * @object: A #OrgProjectSignalingIface. 1568s # * 1568s # * Emits the "SimpleSignal" D-Bus signal. 1568s # */ 1568s # void 1568s # org_project_signaling_iface_emit_simple_signal ( 1568s # OrgProjectSignalingIface *object) 1568s # { 1568s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 1568s # } 1568s # 1568s # /** 1568s # * org_project_signaling_iface_emit_single_arg_signal_q: 1568s # * @object: A #OrgProjectSignalingIface. 1568s # * @arg_arg_q: Argument to pass with the signal. 1568s # * 1568s # * Emits the "SingleArgSignalQ" D-Bus signal. 1568s # */ 1568s # void 1568s # org_project_signaling_iface_emit_single_arg_signal_q ( 1568s # OrgProjectSignalingIface *object, 1568s # guint16 arg_arg_q) 1568s # { 1568s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Q], 0, arg_arg_q); 1568s # } 1568s # 1568s # /* ------------------------------------------------------------------------ */ 1568s # 1568s # /** 1568s # * OrgProjectSignalingIfaceProxy: 1568s # * 1568s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1568s # */ 1568s # 1568s # /** 1568s # * OrgProjectSignalingIfaceProxyClass: 1568s # * @parent_class: The parent class. 1568s # * 1568s # * Class structure for #OrgProjectSignalingIfaceProxy. 1568s # */ 1568s # 1568s # struct _OrgProjectSignalingIfaceProxyPrivate 1568s # { 1568s # GData *qdata; 1568s # }; 1568s # 1568s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1568s # 1568s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1568s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1568s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1568s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1568s # 1568s # #else 1568s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1568s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1568s # 1568s # #endif 1568s # static void 1568s # org_project_signaling_iface_proxy_finalize (GObject *object) 1568s # { 1568s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1568s # g_datalist_clear (&proxy->priv->qdata); 1568s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1568s # } 1568s # 1568s # static void 1568s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1568s # guint prop_id G_GNUC_UNUSED, 1568s # GValue *value G_GNUC_UNUSED, 1568s # GParamSpec *pspec G_GNUC_UNUSED) 1568s # { 1568s # } 1568s # 1568s # static void 1568s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1568s # guint prop_id G_GNUC_UNUSED, 1568s # const GValue *value G_GNUC_UNUSED, 1568s # GParamSpec *pspec G_GNUC_UNUSED) 1568s # { 1568s # } 1568s # 1568s # static void 1568s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1568s # const gchar *sender_name G_GNUC_UNUSED, 1568s # const gchar *signal_name, 1568s # GVariant *parameters) 1568s # { 1568s # _ExtendedGDBusSignalInfo *info; 1568s # GVariantIter iter; 1568s # GVariant *child; 1568s # GValue *paramv; 1568s # gsize num_params; 1568s # gsize n; 1568s # guint signal_id; 1568s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1568s # if (info == NULL) 1568s # return; 1568s # num_params = g_variant_n_children (parameters); 1568s # paramv = g_new0 (GValue, num_params + 1); 1568s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1568s # g_value_set_object (¶mv[0], proxy); 1568s # g_variant_iter_init (&iter, parameters); 1568s # n = 1; 1568s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1568s # { 1568s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1568s # if (arg_info->use_gvariant) 1568s # { 1568s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1568s # g_value_set_variant (¶mv[n], child); 1568s # n++; 1568s # } 1568s # else 1568s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1568s # g_variant_unref (child); 1568s # } 1568s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1568s # g_signal_emitv (paramv, signal_id, 0, NULL); 1568s # for (n = 0; n < num_params + 1; n++) 1568s # g_value_unset (¶mv[n]); 1568s # g_free (paramv); 1568s # } 1568s # 1568s # static void 1568s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1568s # GVariant *changed_properties, 1568s # const gchar *const *invalidated_properties) 1568s # { 1568s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1568s # guint n; 1568s # const gchar *key; 1568s # GVariantIter *iter; 1568s # _ExtendedGDBusPropertyInfo *info; 1568s # g_variant_get (changed_properties, "a{sv}", &iter); 1568s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1568s # { 1568s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1568s # g_datalist_remove_data (&proxy->priv->qdata, key); 1568s # if (info != NULL) 1568s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1568s # } 1568s # g_variant_iter_free (iter); 1568s # for (n = 0; invalidated_properties[n] != NULL; n++) 1568s # { 1568s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1568s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1568s # if (info != NULL) 1568s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1568s # } 1568s # } 1568s # 1568s # static void 1568s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1568s # { 1568s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1568s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1568s # #else 1568s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1568s # #endif 1568s # 1568s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1568s # } 1568s # 1568s # static void 1568s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1568s # { 1568s # GObjectClass *gobject_class; 1568s # GDBusProxyClass *proxy_class; 1568s # 1568s # gobject_class = G_OBJECT_CLASS (klass); 1568s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1568s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1568s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1568s # 1568s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1568s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1568s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1568s # 1568s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1568s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1568s # #endif 1568s # } 1568s # 1568s # static void 1568s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1568s # { 1568s # } 1568s # 1568s # /** 1568s # * org_project_signaling_iface_proxy_new: 1568s # * @connection: A #GDBusConnection. 1568s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1568s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1568s # * @object_path: An object path. 1568s # * @cancellable: (nullable): A #GCancellable or %NULL. 1568s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1568s # * @user_data: User data to pass to @callback. 1568s # * 1568s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1568s # * 1568s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1568s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1568s # * 1568s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1568s # */ 1568s # void 1568s # org_project_signaling_iface_proxy_new ( 1568s # GDBusConnection *connection, 1568s # GDBusProxyFlags flags, 1568s # const gchar *name, 1568s # const gchar *object_path, 1568s # GCancellable *cancellable, 1568s # GAsyncReadyCallback callback, 1568s # gpointer user_data) 1568s # { 1568s # 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); 1568s # } 1568s # 1568s # /** 1568s # * org_project_signaling_iface_proxy_new_finish: 1568s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1568s # * @error: Return location for error or %NULL 1568s # * 1568s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1568s # * 1568s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1568s # */ 1568s # OrgProjectSignalingIface * 1568s # org_project_signaling_iface_proxy_new_finish ( 1568s # GAsyncResult *res, 1568s # GError **error) 1568s # { 1568s # GObject *ret; 1568s # GObject *source_object; 1568s # source_object = g_async_result_get_source_object (res); 1568s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1568s # g_object_unref (source_object); 1568s # if (ret != NULL) 1568s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1568s # else 1568s # return NULL; 1568s # } 1568s # 1568s # /** 1568s # * org_project_signaling_iface_proxy_new_sync: 1568s # * @connection: A #GDBusConnection. 1568s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1568s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1568s # * @object_path: An object path. 1568s # * @cancellable: (nullable): A #GCancellable or %NULL. 1568s # * @error: Return location for error or %NULL 1568s # * 1568s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1568s # * 1568s # * The calling thread is blocked until a reply is received. 1568s # * 1568s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1568s # * 1568s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1568s # */ 1568s # OrgProjectSignalingIface * 1568s # org_project_signaling_iface_proxy_new_sync ( 1568s # GDBusConnection *connection, 1568s # GDBusProxyFlags flags, 1568s # const gchar *name, 1568s # const gchar *object_path, 1568s # GCancellable *cancellable, 1568s # GError **error) 1568s # { 1568s # GInitable *ret; 1568s # 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); 1568s # if (ret != NULL) 1568s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1568s # else 1568s # return NULL; 1568s # } 1568s # 1568s # 1568s # /** 1568s # * org_project_signaling_iface_proxy_new_for_bus: 1568s # * @bus_type: A #GBusType. 1568s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1568s # * @name: A bus name (well-known or unique). 1568s # * @object_path: An object path. 1568s # * @cancellable: (nullable): A #GCancellable or %NULL. 1568s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1568s # * @user_data: User data to pass to @callback. 1568s # * 1568s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1568s # * 1568s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1568s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1568s # * 1568s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1568s # */ 1568s # void 1568s # org_project_signaling_iface_proxy_new_for_bus ( 1568s # GBusType bus_type, 1568s # GDBusProxyFlags flags, 1568s # const gchar *name, 1568s # const gchar *object_path, 1568s # GCancellable *cancellable, 1568s # GAsyncReadyCallback callback, 1568s # gpointer user_data) 1568s # { 1568s # 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); 1568s # } 1568s # 1568s # /** 1568s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1568s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1568s # * @error: Return location for error or %NULL 1568s # * 1568s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1568s # * 1568s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1568s # */ 1568s # OrgProjectSignalingIface * 1568s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1568s # GAsyncResult *res, 1568s # GError **error) 1568s # { 1568s # GObject *ret; 1568s # GObject *source_object; 1568s # source_object = g_async_result_get_source_object (res); 1568s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1568s # g_object_unref (source_object); 1568s # if (ret != NULL) 1568s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1568s # else 1568s # return NULL; 1568s # } 1568s # 1568s # /** 1568s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1568s # * @bus_type: A #GBusType. 1568s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1568s # * @name: A bus name (well-known or unique). 1568s # * @object_path: An object path. 1568s # * @cancellable: (nullable): A #GCancellable or %NULL. 1568s # * @error: Return location for error or %NULL 1568s # * 1568s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1568s # * 1568s # * The calling thread is blocked until a reply is received. 1568s # * 1568s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1568s # * 1568s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1568s # */ 1568s # OrgProjectSignalingIface * 1568s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1568s # GBusType bus_type, 1568s # GDBusProxyFlags flags, 1568s # const gchar *name, 1568s # const gchar *object_path, 1568s # GCancellable *cancellable, 1568s # GError **error) 1568s # { 1568s # GInitable *ret; 1568s # 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); 1568s # if (ret != NULL) 1568s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1568s # else 1568s # return NULL; 1568s # } 1568s # 1568s # 1568s # /* ------------------------------------------------------------------------ */ 1568s # 1568s # /** 1568s # * OrgProjectSignalingIfaceSkeleton: 1568s # * 1568s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1568s # */ 1568s # 1568s # /** 1568s # * OrgProjectSignalingIfaceSkeletonClass: 1568s # * @parent_class: The parent class. 1568s # * 1568s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1568s # */ 1568s # 1568s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1568s # { 1568s # GValue *properties; 1568s # GList *changed_properties; 1568s # GSource *changed_properties_idle_source; 1568s # GMainContext *context; 1568s # GMutex lock; 1568s # }; 1568s # 1568s # static void 1568s # _org_project_signaling_iface_skeleton_handle_method_call ( 1568s # GDBusConnection *connection G_GNUC_UNUSED, 1568s # const gchar *sender G_GNUC_UNUSED, 1568s # const gchar *object_path G_GNUC_UNUSED, 1568s # const gchar *interface_name, 1568s # const gchar *method_name, 1568s # GVariant *parameters, 1568s # GDBusMethodInvocation *invocation, 1568s # gpointer user_data) 1568s # { 1568s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1568s # _ExtendedGDBusMethodInfo *info; 1568s # GVariantIter iter; 1568s # GVariant *child; 1568s # GValue *paramv; 1568s # gsize num_params; 1568s # guint num_extra; 1568s # gsize n; 1568s # guint signal_id; 1568s # GValue return_value = G_VALUE_INIT; 1568s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1568s # g_assert (info != NULL); 1568s # num_params = g_variant_n_children (parameters); 1568s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1568s # n = 0; 1568s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1568s # g_value_set_object (¶mv[n++], skeleton); 1568s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1568s # g_value_set_object (¶mv[n++], invocation); 1568s # if (info->pass_fdlist) 1568s # { 1568s # #ifdef G_OS_UNIX 1568s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1568s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1568s # #else 1568s # g_assert_not_reached (); 1568s # #endif 1568s # } 1568s # g_variant_iter_init (&iter, parameters); 1568s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1568s # { 1568s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1568s # if (arg_info->use_gvariant) 1568s # { 1568s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1568s # g_value_set_variant (¶mv[n], child); 1568s # n++; 1568s # } 1568s # else 1568s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1568s # g_variant_unref (child); 1568s # } 1568s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1568s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1568s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1568s # if (!g_value_get_boolean (&return_value)) 1568s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1568s # g_value_unset (&return_value); 1568s # for (n = 0; n < num_params + num_extra; n++) 1568s # g_value_unset (¶mv[n]); 1568s # g_free (paramv); 1568s # } 1568s # 1568s # static GVariant * 1568s # _org_project_signaling_iface_skeleton_handle_get_property ( 1568s # GDBusConnection *connection G_GNUC_UNUSED, 1568s # const gchar *sender G_GNUC_UNUSED, 1568s # const gchar *object_path G_GNUC_UNUSED, 1568s # const gchar *interface_name G_GNUC_UNUSED, 1568s # const gchar *property_name, 1568s # GError **error, 1568s # gpointer user_data) 1568s # { 1568s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1568s # GValue value = G_VALUE_INIT; 1568s # GParamSpec *pspec; 1568s # _ExtendedGDBusPropertyInfo *info; 1568s # GVariant *ret; 1568s # ret = NULL; 1568s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1568s # g_assert (info != NULL); 1568s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1568s # if (pspec == NULL) 1568s # { 1568s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1568s # } 1568s # else 1568s # { 1568s # g_value_init (&value, pspec->value_type); 1568s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1568s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1568s # g_value_unset (&value); 1568s # } 1568s # return ret; 1568s # } 1568s # 1568s # static gboolean 1568s # _org_project_signaling_iface_skeleton_handle_set_property ( 1568s # GDBusConnection *connection G_GNUC_UNUSED, 1568s # const gchar *sender G_GNUC_UNUSED, 1568s # const gchar *object_path G_GNUC_UNUSED, 1568s # const gchar *interface_name G_GNUC_UNUSED, 1568s # const gchar *property_name, 1568s # GVariant *variant, 1568s # GError **error, 1568s # gpointer user_data) 1568s # { 1568s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1568s # GValue value = G_VALUE_INIT; 1568s # GParamSpec *pspec; 1568s # _ExtendedGDBusPropertyInfo *info; 1568s # gboolean ret; 1568s # ret = FALSE; 1568s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1568s # g_assert (info != NULL); 1568s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1568s # if (pspec == NULL) 1568s # { 1568s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1568s # } 1568s # else 1568s # { 1568s # if (info->use_gvariant) 1568s # g_value_set_variant (&value, variant); 1568s # else 1568s # g_dbus_gvariant_to_gvalue (variant, &value); 1568s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1568s # g_value_unset (&value); 1568s # ret = TRUE; 1568s # } 1568s # return ret; 1568s # } 1568s # 1568s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1568s # { 1568s # _org_project_signaling_iface_skeleton_handle_method_call, 1568s # _org_project_signaling_iface_skeleton_handle_get_property, 1568s # _org_project_signaling_iface_skeleton_handle_set_property, 1568s # {NULL} 1568s # }; 1568s # 1568s # static GDBusInterfaceInfo * 1568s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1568s # { 1568s # return org_project_signaling_iface_interface_info (); 1568s # } 1568s # 1568s # static GDBusInterfaceVTable * 1568s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1568s # { 1568s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1568s # } 1568s # 1568s # static GVariant * 1568s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1568s # { 1568s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1568s # 1568s # GVariantBuilder builder; 1568s # guint n; 1568s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1568s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1568s # goto out; 1568s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1568s # { 1568s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1568s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1568s # { 1568s # GVariant *value; 1568s # 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); 1568s # if (value != NULL) 1568s # { 1568s # g_variant_take_ref (value); 1568s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1568s # g_variant_unref (value); 1568s # } 1568s # } 1568s # } 1568s # out: 1568s # return g_variant_builder_end (&builder); 1568s # } 1568s # 1568s # static void 1568s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1568s # { 1568s # } 1568s # 1568s # static void 1568s # _org_project_signaling_iface_on_signal_simple_signal ( 1568s # OrgProjectSignalingIface *object) 1568s # { 1568s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1568s # 1568s # GList *connections, *l; 1568s # GVariant *signal_variant; 1568s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1568s # 1568s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1568s # for (l = connections; l != NULL; l = l->next) 1568s # { 1568s # GDBusConnection *connection = l->data; 1568s # g_dbus_connection_emit_signal (connection, 1568s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 1568s # signal_variant, NULL); 1568s # } 1568s # g_variant_unref (signal_variant); 1568s # g_list_free_full (connections, g_object_unref); 1568s # } 1568s # 1568s # static void 1568s # _org_project_signaling_iface_on_signal_single_arg_signal_q ( 1568s # OrgProjectSignalingIface *object, 1568s # guint16 arg_arg_q) 1568s # { 1568s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1568s # 1568s # GList *connections, *l; 1568s # GVariant *signal_variant; 1568s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1568s # 1568s # signal_variant = g_variant_ref_sink (g_variant_new ("(q)", 1568s # arg_arg_q)); 1568s # for (l = connections; l != NULL; l = l->next) 1568s # { 1568s # GDBusConnection *connection = l->data; 1568s # g_dbus_connection_emit_signal (connection, 1568s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalQ", 1568s # signal_variant, NULL); 1568s # } 1568s # g_variant_unref (signal_variant); 1568s # g_list_free_full (connections, g_object_unref); 1568s # } 1568s # 1568s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1568s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1568s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1568s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1568s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1568s # 1568s # #else 1568s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1568s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1568s # 1568s # #endif 1568s # static void 1568s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1568s # { 1568s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1568s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1568s # if (skeleton->priv->changed_properties_idle_source != NULL) 1568s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1568s # g_main_context_unref (skeleton->priv->context); 1568s # g_mutex_clear (&skeleton->priv->lock); 1568s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1568s # } 1568s # 1568s # static void 1568s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1568s # { 1568s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1568s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1568s # #else 1568s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1568s # #endif 1568s # 1568s # g_mutex_init (&skeleton->priv->lock); 1568s # skeleton->priv->context = g_main_context_ref_thread_default (); 1568s # } 1568s # 1568s # static void 1568s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1568s # { 1568s # GObjectClass *gobject_class; 1568s # GDBusInterfaceSkeletonClass *skeleton_class; 1568s # 1568s # gobject_class = G_OBJECT_CLASS (klass); 1568s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1568s # 1568s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1568s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1568s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1568s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1568s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1568s # 1568s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1568s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1568s # #endif 1568s # } 1568s # 1568s # static void 1568s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1568s # { 1568s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 1568s # iface->single_arg_signal_q = _org_project_signaling_iface_on_signal_single_arg_signal_q; 1568s # } 1568s # 1568s # /** 1568s # * org_project_signaling_iface_skeleton_new: 1568s # * 1568s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1568s # * 1568s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1568s # */ 1568s # OrgProjectSignalingIface * 1568s # org_project_signaling_iface_skeleton_new (void) 1568s # { 1568s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1568s # } 1568s # /tmp/tmpgfozeg7c/tmp8x4cocdh.xml: 1568s # 1568s # 1568s # 1568s # 1568s # 1568s # 1568s # 1568s # 1568s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpgfozeg7c/tmp8x4cocdh.xml', '--output', '-', '--body'] 1568s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-baqskmurxn,guid=fbaffe99d0ccb1f6e1beb84865fc01cd', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.YcZbqk/autopkgtest_tmp', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.YcZbqk/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.YcZbqk/autopkgtest_tmp', 'TERM': 'unknown', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.YcZbqk/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.sVTVMp0Db0', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.rqZsJO/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.YcZbqk/wrapper.sh --artifacts=/tmp/autopkgtest.YcZbqk/installed-tests-artifacts --chdir=/tmp/autopkgtest.YcZbqk/build.S0E/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.YcZbqk/installed-tests-stderr --stdout=/tmp/autopkgtest.YcZbqk/installed-tests-stdout --tmp=/tmp/autopkgtest.YcZbqk/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2' --make-executable=/tmp/autopkgtest.YcZbqk/build.S0E/src/debian/tests/installed-tests -- /tmp/autopkgtest.YcZbqk/build.S0E/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.YcZbqk/build.S0E/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.YcZbqk/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1568s # Output: /* 1568s # * This file is generated by gdbus-codegen, do not modify it. 1568s # * 1568s # * The license of this code is the same as for the D-Bus interface description 1568s # * it was derived from. Note that it links to GLib, so must comply with the 1568s # * LGPL linking clauses. 1568s # */ 1568s # 1568s # #ifdef HAVE_CONFIG_H 1568s # # include "config.h" 1568s # #endif 1568s # 1568s # #include 1568s # #ifdef G_OS_UNIX 1568s # # include 1568s # #endif 1568s # 1568s # #ifdef G_ENABLE_DEBUG 1568s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1568s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1568s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1568s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1568s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1568s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1568s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1568s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1568s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1568s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1568s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1568s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1568s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1568s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1568s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1568s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1568s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1568s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1568s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1568s # #else /* !G_ENABLE_DEBUG */ 1568s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1568s # * Do not access GValues directly in your code. Instead, use the 1568s # * g_value_get_*() functions 1568s # */ 1568s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1568s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1568s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1568s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1568s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1568s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1568s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1568s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1568s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1568s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1568s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1568s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1568s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1568s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1568s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1568s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1568s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1568s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1568s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1568s # #endif /* !G_ENABLE_DEBUG */ 1568s # 1568s # typedef struct 1568s # { 1568s # GDBusArgInfo parent_struct; 1568s # gboolean use_gvariant; 1568s # } _ExtendedGDBusArgInfo; 1568s # 1568s # typedef struct 1568s # { 1568s # GDBusMethodInfo parent_struct; 1568s # const gchar *signal_name; 1568s # gboolean pass_fdlist; 1568s # } _ExtendedGDBusMethodInfo; 1568s # 1568s # typedef struct 1568s # { 1568s # GDBusSignalInfo parent_struct; 1568s # const gchar *signal_name; 1568s # } _ExtendedGDBusSignalInfo; 1568s # 1568s # typedef struct 1568s # { 1568s # GDBusPropertyInfo parent_struct; 1568s # const gchar *hyphen_name; 1568s # guint use_gvariant : 1; 1568s # guint emits_changed_signal : 1; 1568s # } _ExtendedGDBusPropertyInfo; 1568s # 1568s # typedef struct 1568s # { 1568s # GDBusInterfaceInfo parent_struct; 1568s # const gchar *hyphen_name; 1568s # } _ExtendedGDBusInterfaceInfo; 1568s # 1568s # typedef struct 1568s # { 1568s # const _ExtendedGDBusPropertyInfo *info; 1568s # guint prop_id; 1568s # GValue orig_value; /* the value before the change */ 1568s # } ChangedProperty; 1568s # 1568s # static void 1568s # _changed_property_free (ChangedProperty *data) 1568s # { 1568s # g_value_unset (&data->orig_value); 1568s # g_free (data); 1568s # } 1568s # 1568s # static gboolean 1568s # _g_strv_equal0 (gchar **a, gchar **b) 1568s # { 1568s # gboolean ret = FALSE; 1568s # guint n; 1568s # if (a == NULL && b == NULL) 1568s # { 1568s # ret = TRUE; 1568s # goto out; 1568s # } 1568s # if (a == NULL || b == NULL) 1568s # goto out; 1568s # if (g_strv_length (a) != g_strv_length (b)) 1568s # goto out; 1568s # for (n = 0; a[n] != NULL; n++) 1568s # if (g_strcmp0 (a[n], b[n]) != 0) 1568s # goto out; 1568s # ret = TRUE; 1568s # out: 1568s # return ret; 1568s # } 1568s # 1568s # static gboolean 1568s # _g_variant_equal0 (GVariant *a, GVariant *b) 1568s # { 1568s # gboolean ret = FALSE; 1568s # if (a == NULL && b == NULL) 1568s # { 1568s # ret = TRUE; 1568s # goto out; 1568s # } 1568s # if (a == NULL || b == NULL) 1568s # goto out; 1568s # ret = g_variant_equal (a, b); 1568s # out: 1568s # return ret; 1568s # } 1568s # 1568s # G_GNUC_UNUSED static gboolean 1568s # _g_value_equal (const GValue *a, const GValue *b) 1568s # { 1568s # gboolean ret = FALSE; 1568s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1568s # switch (G_VALUE_TYPE (a)) 1568s # { 1568s # case G_TYPE_BOOLEAN: 1568s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1568s # break; 1568s # case G_TYPE_UCHAR: 1568s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1568s # break; 1568s # case G_TYPE_INT: 1568s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1568s # break; 1568s # case G_TYPE_UINT: 1568s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1568s # break; 1568s # case G_TYPE_INT64: 1568s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1568s # break; 1568s # case G_TYPE_UINT64: 1568s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1568s # break; 1568s # case G_TYPE_DOUBLE: 1568s # { 1568s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1568s # gdouble da = g_value_get_double (a); 1568s # gdouble db = g_value_get_double (b); 1568s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1568s # } 1568s # break; 1568s # case G_TYPE_STRING: 1568s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1568s # break; 1568s # case G_TYPE_VARIANT: 1568s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1568s # break; 1568s # default: 1568s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1568s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1568s # else 1568s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1568s # break; 1568s # } 1568s # return ret; 1568s # } 1568s # 1568s # /* ------------------------------------------------------------------------ 1568s # * Code for interface org.project.SignalingIface 1568s # * ------------------------------------------------------------------------ 1568s # */ 1568s # 1568s # /** 1568s # * SECTION:OrgProjectSignalingIface 1568s # * @title: OrgProjectSignalingIface 1568s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1568s # * 1568s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1568s # */ 1568s # 1568s # enum 1568s # { 1568s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 1568s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_I, 1568s # }; 1568s # 1568s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 1568s # 1568s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1568s # 1568s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 1568s # { 1568s # { 1568s # -1, 1568s # (gchar *) "SimpleSignal", 1568s # NULL, 1568s # NULL 1568s # }, 1568s # "simple-signal" 1568s # }; 1568s # 1568s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_i_ARG_arg_i = 1568s # { 1568s # { 1568s # -1, 1568s # (gchar *) "arg_i", 1568s # (gchar *) "i", 1568s # NULL 1568s # }, 1568s # FALSE 1568s # }; 1568s # 1568s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_i_ARG_pointers[] = 1568s # { 1568s # &_org_project_signaling_iface_signal_info_single_arg_signal_i_ARG_arg_i.parent_struct, 1568s # NULL 1568s # }; 1568s # 1568s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_i = 1568s # { 1568s # { 1568s # -1, 1568s # (gchar *) "SingleArgSignalI", 1568s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_i_ARG_pointers, 1568s # NULL 1568s # }, 1568s # "single-arg-signal-i" 1568s # }; 1568s # 1568s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1568s # { 1568s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 1568s # &_org_project_signaling_iface_signal_info_single_arg_signal_i.parent_struct, 1568s # NULL 1568s # }; 1568s # 1568s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1568s # { 1568s # { 1568s # -1, 1568s # (gchar *) "org.project.SignalingIface", 1568s # NULL, 1568s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1568s # NULL, 1568s # NULL 1568s # }, 1568s # "org-project-signaling-iface", 1568s # }; 1568s # 1568s # 1568s # /** 1568s # * org_project_signaling_iface_interface_info: 1568s # * 1568s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1568s # * 1568s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1568s # */ 1568s # GDBusInterfaceInfo * 1568s # org_project_signaling_iface_interface_info (void) 1568s # { 1568s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1568s # } 1568s # 1568s # /** 1568s # * org_project_signaling_iface_override_properties: 1568s # * @klass: The class structure for a #GObject derived class. 1568s # * @property_id_begin: The property id to assign to the first overridden property. 1568s # * 1568s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1568s # * The properties are overridden in the order they are defined. 1568s # * 1568s # * Returns: The last property id. 1568s # */ 1568s # guint 1568s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1568s # { 1568s # return property_id_begin - 1; 1568s # } 1568s # 1568s # 1568s # inline static void 1568s # org_project_signaling_iface_signal_marshal_simple_signal ( 1568s # GClosure *closure, 1568s # GValue *return_value, 1568s # unsigned int n_param_values, 1568s # const GValue *param_values, 1568s # void *invocation_hint, 1568s # void *marshal_data) 1568s # { 1568s # g_cclosure_marshal_VOID__VOID (closure, 1568s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1568s # } 1568s # 1568s # inline static void 1568s # org_project_signaling_iface_signal_marshal_single_arg_signal_i ( 1568s # GClosure *closure, 1568s # GValue *return_value, 1568s # unsigned int n_param_values, 1568s # const GValue *param_values, 1568s # void *invocation_hint, 1568s # void *marshal_data) 1568s # { 1568s # g_cclosure_marshal_VOID__INT (closure, 1568s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1568s # } 1568s # 1568s # 1568s # /** 1568s # * OrgProjectSignalingIface: 1568s # * 1568s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1568s # */ 1568s # 1568s # /** 1568s # * OrgProjectSignalingIfaceIface: 1568s # * @parent_iface: The parent interface. 1568s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 1568s # * @single_arg_signal_i: Handler for the #OrgProjectSignalingIface::single-arg-signal-i signal. 1568s # * 1568s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1568s # */ 1568s # 1568s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1568s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1568s # 1568s # static void 1568s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1568s # { 1568s # /* GObject signals for received D-Bus signals: */ 1568s # /** 1568s # * OrgProjectSignalingIface::simple-signal: 1568s # * @object: A #OrgProjectSignalingIface. 1568s # * 1568s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1568s # * 1568s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1568s # */ 1568s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 1568s # g_signal_new ("simple-signal", 1568s # G_TYPE_FROM_INTERFACE (iface), 1568s # G_SIGNAL_RUN_LAST, 1568s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 1568s # NULL, 1568s # NULL, 1568s # org_project_signaling_iface_signal_marshal_simple_signal, 1568s # G_TYPE_NONE, 1568s # 0); 1568s # 1568s # /** 1568s # * OrgProjectSignalingIface::single-arg-signal-i: 1568s # * @object: A #OrgProjectSignalingIface. 1568s # * @arg_arg_i: Argument. 1568s # * 1568s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalI" is received. 1568s # * 1568s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1568s # */ 1568s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_I] = 1568s # g_signal_new ("single-arg-signal-i", 1568s # G_TYPE_FROM_INTERFACE (iface), 1568s # G_SIGNAL_RUN_LAST, 1568s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_i), 1568s # NULL, 1568s # NULL, 1568s # org_project_signaling_iface_signal_marshal_single_arg_signal_i, 1568s # G_TYPE_NONE, 1568s # 1, G_TYPE_INT); 1568s # 1568s # } 1568s # 1568s # /** 1568s # * org_project_signaling_iface_emit_simple_signal: 1568s # * @object: A #OrgProjectSignalingIface. 1568s # * 1568s # * Emits the "SimpleSignal" D-Bus signal. 1568s # */ 1568s # void 1568s # org_project_signaling_iface_emit_simple_signal ( 1568s # OrgProjectSignalingIface *object) 1568s # { 1568s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 1568s # } 1568s # 1568s # /** 1568s # * org_project_signaling_iface_emit_single_arg_signal_i: 1568s # * @object: A #OrgProjectSignalingIface. 1568s # * @arg_arg_i: Argument to pass with the signal. 1568s # * 1568s # * Emits the "SingleArgSignalI" D-Bus signal. 1568s # */ 1568s # void 1568s # org_project_signaling_iface_emit_single_arg_signal_i ( 1568s # OrgProjectSignalingIface *object, 1568s # gint arg_arg_i) 1568s # { 1568s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_I], 0, arg_arg_i); 1568s # } 1568s # 1568s # /* ------------------------------------------------------------------------ */ 1568s # 1568s # /** 1568s # * OrgProjectSignalingIfaceProxy: 1568s # * 1568s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1568s # */ 1568s # 1568s # /** 1568s # * OrgProjectSignalingIfaceProxyClass: 1568s # * @parent_class: The parent class. 1568s # * 1568s # * Class structure for #OrgProjectSignalingIfaceProxy. 1568s # */ 1568s # 1568s # struct _OrgProjectSignalingIfaceProxyPrivate 1568s # { 1568s # GData *qdata; 1568s # }; 1568s # 1568s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1568s # 1568s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1568s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1568s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1568s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1568s # 1568s # #else 1568s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1568s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1568s # 1568s # #endif 1568s # static void 1568s # org_project_signaling_iface_proxy_finalize (GObject *object) 1568s # { 1568s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1568s # g_datalist_clear (&proxy->priv->qdata); 1568s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1568s # } 1568s # 1568s # static void 1568s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1568s # guint prop_id G_GNUC_UNUSED, 1568s # GValue *value G_GNUC_UNUSED, 1568s # GParamSpec *pspec G_GNUC_UNUSED) 1568s # { 1568s # } 1568s # 1568s # static void 1568s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1568s # guint prop_id G_GNUC_UNUSED, 1568s # const GValue *value G_GNUC_UNUSED, 1568s # GParamSpec *pspec G_GNUC_UNUSED) 1568s # { 1568s # } 1568s # 1568s # static void 1568s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1568s # const gchar *sender_name G_GNUC_UNUSED, 1568s # const gchar *signal_name, 1568s # GVariant *parameters) 1568s # { 1568s # _ExtendedGDBusSignalInfo *info; 1568s # GVariantIter iter; 1568s # GVariant *child; 1568s # GValue *paramv; 1568s # gsize num_params; 1568s # gsize n; 1568s # guint signal_id; 1568s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1568s # if (info == NULL) 1568s # return; 1568s # num_params = g_variant_n_children (parameters); 1568s # paramv = g_new0 (GValue, num_params + 1); 1568s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1568s # g_value_set_object (¶mv[0], proxy); 1568s # g_variant_iter_init (&iter, parameters); 1568s # n = 1; 1568s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1568s # { 1568s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1568s # if (arg_info->use_gvariant) 1568s # { 1568s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1568s # g_value_set_variant (¶mv[n], child); 1568s # n++; 1568s # } 1568s # else 1568s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1568s # g_variant_unref (child); 1568s # } 1568s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1568s # g_signal_emitv (paramv, signal_id, 0, NULL); 1568s # for (n = 0; n < num_params + 1; n++) 1568s # g_value_unset (¶mv[n]); 1568s # g_free (paramv); 1568s # } 1568s # 1568s # static void 1568s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1568s # GVariant *changed_properties, 1568s # const gchar *const *invalidated_properties) 1568s # { 1568s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1568s # guint n; 1568s # const gchar *key; 1568s # GVariantIter *iter; 1568s # _ExtendedGDBusPropertyInfo *info; 1568s # g_variant_get (changed_properties, "a{sv}", &iter); 1568s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1568s # { 1568s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1568s # g_datalist_remove_data (&proxy->priv->qdata, key); 1568s # if (info != NULL) 1568s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1568s # } 1568s # g_variant_iter_free (iter); 1568s # for (n = 0; invalidated_properties[n] != NULL; n++) 1568s # { 1568s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1568s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1568s # if (info != NULL) 1568s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1568s # } 1568s # } 1568s # 1568s # static void 1568s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1568s # { 1568s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1568s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1568s # #else 1568s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1568s # #endif 1568s # 1568s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1568s # } 1568s # 1568s # static void 1568s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1568s # { 1568s # GObjectClass *gobject_class; 1568s # GDBusProxyClass *proxy_class; 1568s # 1568s # gobject_class = G_OBJECT_CLASS (klass); 1568s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1568s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1568s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1568s # 1568s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1568s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1568s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1568s # 1568s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1568s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1568s # #endif 1568s # } 1568s # 1568s # static void 1568s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1568s # { 1568s # } 1568s # 1568s # /** 1568s # * org_project_signaling_iface_proxy_new: 1568s # * @connection: A #GDBusConnection. 1568s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1568s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1568s # * @object_path: An object path. 1568s # * @cancellable: (nullable): A #GCancellable or %NULL. 1568s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1568s # * @user_data: User data to pass to @callback. 1568s # * 1568s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1568s # * 1568s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1568s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1568s # * 1568s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1568s # */ 1568s # void 1568s # org_project_signaling_iface_proxy_new ( 1568s # GDBusConnection *connection, 1568s # GDBusProxyFlags flags, 1568s # const gchar *name, 1568s # const gchar *object_path, 1568s # GCancellable *cancellable, 1568s # GAsyncReadyCallback callback, 1568s # gpointer user_data) 1568s # { 1568s # 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); 1568s # } 1568s # 1568s # /** 1568s # * org_project_signaling_iface_proxy_new_finish: 1568s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1568s # * @error: Return location for error or %NULL 1568s # * 1568s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1568s # * 1568s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1568s # */ 1568s # OrgProjectSignalingIface * 1568s # org_project_signaling_iface_proxy_new_finish ( 1568s # GAsyncResult *res, 1568s # GError **error) 1568s # { 1568s # GObject *ret; 1568s # GObject *source_object; 1568s # source_object = g_async_result_get_source_object (res); 1568s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1568s # g_object_unref (source_object); 1568s # if (ret != NULL) 1568s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1568s # else 1568s # return NULL; 1568s # } 1568s # 1568s # /** 1568s # * org_project_signaling_iface_proxy_new_sync: 1568s # * @connection: A #GDBusConnection. 1568s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1568s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1568s # * @object_path: An object path. 1568s # * @cancellable: (nullable): A #GCancellable or %NULL. 1568s # * @error: Return location for error or %NULL 1568s # * 1568s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1568s # * 1568s # * The calling thread is blocked until a reply is received. 1568s # * 1568s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1568s # * 1568s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1568s # */ 1568s # OrgProjectSignalingIface * 1568s # org_project_signaling_iface_proxy_new_sync ( 1568s # GDBusConnection *connection, 1568s # GDBusProxyFlags flags, 1568s # const gchar *name, 1568s # const gchar *object_path, 1568s # GCancellable *cancellable, 1568s # GError **error) 1568s # { 1568s # GInitable *ret; 1568s # 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); 1568s # if (ret != NULL) 1568s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1568s # else 1568s # return NULL; 1568s # } 1568s # 1568s # 1568s # /** 1568s # * org_project_signaling_iface_proxy_new_for_bus: 1568s # * @bus_type: A #GBusType. 1568s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1568s # * @name: A bus name (well-known or unique). 1568s # * @object_path: An object path. 1568s # * @cancellable: (nullable): A #GCancellable or %NULL. 1568s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1568s # * @user_data: User data to pass to @callback. 1568s # * 1568s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1568s # * 1568s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1568s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1568s # * 1568s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1568s # */ 1568s # void 1568s # org_project_signaling_iface_proxy_new_for_bus ( 1568s # GBusType bus_type, 1568s # GDBusProxyFlags flags, 1568s # const gchar *name, 1568s # const gchar *object_path, 1568s # GCancellable *cancellable, 1568s # GAsyncReadyCallback callback, 1568s # gpointer user_data) 1568s # { 1568s # 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); 1568s # } 1568s # 1568s # /** 1568s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1568s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1568s # * @error: Return location for error or %NULL 1568s # * 1568s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1568s # * 1568s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1568s # */ 1568s # OrgProjectSignalingIface * 1568s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1568s # GAsyncResult *res, 1568s # GError **error) 1568s # { 1568s # GObject *ret; 1568s # GObject *source_object; 1568s # source_object = g_async_result_get_source_object (res); 1568s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1568s # g_object_unref (source_object); 1568s # if (ret != NULL) 1568s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1568s # else 1568s # return NULL; 1568s # } 1568s # 1568s # /** 1568s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1568s # * @bus_type: A #GBusType. 1568s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1568s # * @name: A bus name (well-known or unique). 1568s # * @object_path: An object path. 1568s # * @cancellable: (nullable): A #GCancellable or %NULL. 1568s # * @error: Return location for error or %NULL 1568s # * 1568s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1568s # * 1568s # * The calling thread is blocked until a reply is received. 1568s # * 1568s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1568s # * 1568s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1568s # */ 1568s # OrgProjectSignalingIface * 1568s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1568s # GBusType bus_type, 1568s # GDBusProxyFlags flags, 1568s # const gchar *name, 1568s # const gchar *object_path, 1568s # GCancellable *cancellable, 1568s # GError **error) 1568s # { 1568s # GInitable *ret; 1568s # 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); 1568s # if (ret != NULL) 1568s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1568s # else 1568s # return NULL; 1568s # } 1568s # 1568s # 1568s # /* ------------------------------------------------------------------------ */ 1568s # 1568s # /** 1568s # * OrgProjectSignalingIfaceSkeleton: 1568s # * 1568s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1568s # */ 1568s # 1568s # /** 1568s # * OrgProjectSignalingIfaceSkeletonClass: 1568s # * @parent_class: The parent class. 1568s # * 1568s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1568s # */ 1568s # 1568s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1568s # { 1568s # GValue *properties; 1568s # GList *changed_properties; 1568s # GSource *changed_properties_idle_source; 1568s # GMainContext *context; 1568s # GMutex lock; 1568s # }; 1568s # 1568s # static void 1568s # _org_project_signaling_iface_skeleton_handle_method_call ( 1568s # GDBusConnection *connection G_GNUC_UNUSED, 1568s # const gchar *sender G_GNUC_UNUSED, 1568s # const gchar *object_path G_GNUC_UNUSED, 1568s # const gchar *interface_name, 1568s # const gchar *method_name, 1568s # GVariant *parameters, 1568s # GDBusMethodInvocation *invocation, 1568s # gpointer user_data) 1568s # { 1568s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1568s # _ExtendedGDBusMethodInfo *info; 1568s # GVariantIter iter; 1568s # GVariant *child; 1568s # GValue *paramv; 1568s # gsize num_params; 1568s # guint num_extra; 1568s # gsize n; 1568s # guint signal_id; 1568s # GValue return_value = G_VALUE_INIT; 1568s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1568s # g_assert (info != NULL); 1568s # num_params = g_variant_n_children (parameters); 1568s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1568s # n = 0; 1568s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1568s # g_value_set_object (¶mv[n++], skeleton); 1568s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1568s # g_value_set_object (¶mv[n++], invocation); 1568s # if (info->pass_fdlist) 1568s # { 1568s # #ifdef G_OS_UNIX 1568s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1568s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1568s # #else 1568s # g_assert_not_reached (); 1568s # #endif 1568s # } 1568s # g_variant_iter_init (&iter, parameters); 1568s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1568s # { 1568s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1568s # if (arg_info->use_gvariant) 1568s # { 1568s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1568s # g_value_set_variant (¶mv[n], child); 1568s # n++; 1568s # } 1568s # else 1568s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1568s # g_variant_unref (child); 1568s # } 1568s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1568s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1568s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1568s # if (!g_value_get_boolean (&return_value)) 1568s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1568s # g_value_unset (&return_value); 1568s # for (n = 0; n < num_params + num_extra; n++) 1568s # g_value_unset (¶mv[n]); 1568s # g_free (paramv); 1568s # } 1568s # 1568s # static GVariant * 1568s # _org_project_signaling_iface_skeleton_handle_get_property ( 1568s # GDBusConnection *connection G_GNUC_UNUSED, 1568s # const gchar *sender G_GNUC_UNUSED, 1568s # const gchar *object_path G_GNUC_UNUSED, 1568s # const gchar *interface_name G_GNUC_UNUSED, 1568s # const gchar *property_name, 1568s # GError **error, 1568s # gpointer user_data) 1568s # { 1568s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1568s # GValue value = G_VALUE_INIT; 1568s # GParamSpec *pspec; 1568s # _ExtendedGDBusPropertyInfo *info; 1568s # GVariant *ret; 1568s # ret = NULL; 1568s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1568s # g_assert (info != NULL); 1568s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1568s # if (pspec == NULL) 1568s # { 1568s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1568s # } 1568s # else 1568s # { 1568s # g_value_init (&value, pspec->value_type); 1568s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1568s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1568s # g_value_unset (&value); 1568s # } 1568s # return ret; 1568s # } 1568s # 1568s # static gboolean 1568s # _org_project_signaling_iface_skeleton_handle_set_property ( 1568s # GDBusConnection *connection G_GNUC_UNUSED, 1568s # const gchar *sender G_GNUC_UNUSED, 1568s # const gchar *object_path G_GNUC_UNUSED, 1568s # const gchar *interface_name G_GNUC_UNUSED, 1568s # const gchar *property_name, 1568s # GVariant *variant, 1568s # GError **error, 1568s # gpointer user_data) 1568s # { 1568s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1568s # GValue value = G_VALUE_INIT; 1568s # GParamSpec *pspec; 1568s # _ExtendedGDBusPropertyInfo *info; 1568s # gboolean ret; 1568s # ret = FALSE; 1568s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1568s # g_assert (info != NULL); 1568s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1568s # if (pspec == NULL) 1568s # { 1568s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1568s # } 1568s # else 1568s # { 1568s # if (info->use_gvariant) 1568s # g_value_set_variant (&value, variant); 1568s # else 1568s # g_dbus_gvariant_to_gvalue (variant, &value); 1568s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1568s # g_value_unset (&value); 1568s # ret = TRUE; 1568s # } 1568s # return ret; 1568s # } 1568s # 1568s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1568s # { 1568s # _org_project_signaling_iface_skeleton_handle_method_call, 1568s # _org_project_signaling_iface_skeleton_handle_get_property, 1568s # _org_project_signaling_iface_skeleton_handle_set_property, 1568s # {NULL} 1568s # }; 1568s # 1568s # static GDBusInterfaceInfo * 1568s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1568s # { 1568s # return org_project_signaling_iface_interface_info (); 1568s # } 1568s # 1568s # static GDBusInterfaceVTable * 1568s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1568s # { 1568s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1568s # } 1568s # 1568s # static GVariant * 1568s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1568s # { 1568s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1568s # 1568s # GVariantBuilder builder; 1568s # guint n; 1568s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1568s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1568s # goto out; 1568s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1568s # { 1568s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1568s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1568s # { 1568s # GVariant *value; 1568s # 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); 1568s # if (value != NULL) 1568s # { 1568s # g_variant_take_ref (value); 1568s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1568s # g_variant_unref (value); 1568s # } 1568s # } 1568s # } 1568s # out: 1568s # return g_variant_builder_end (&builder); 1568s # } 1568s # 1568s # static void 1568s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1568s # { 1568s # } 1568s # 1568s # static void 1568s # _org_project_signaling_iface_on_signal_simple_signal ( 1568s # OrgProjectSignalingIface *object) 1568s # { 1568s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1568s # 1568s # GList *connections, *l; 1568s # GVariant *signal_variant; 1568s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1568s # 1568s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1568s # for (l = connections; l != NULL; l = l->next) 1568s # { 1568s # GDBusConnection *connection = l->data; 1568s # g_dbus_connection_emit_signal (connection, 1568s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 1568s # signal_variant, NULL); 1568s # } 1568s # g_variant_unref (signal_variant); 1568s # g_list_free_full (connections, g_object_unref); 1568s # } 1568s # 1568s # static void 1568s # _org_project_signaling_iface_on_signal_single_arg_signal_i ( 1568s # OrgProjectSignalingIface *object, 1568s # gint arg_arg_i) 1568s # { 1568s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1568s # 1568s # GList *connections, *l; 1568s # GVariant *signal_variant; 1568s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1568s # 1568s # signal_variant = g_variant_ref_sink (g_variant_new ("(i)", 1568s # arg_arg_i)); 1568s # for (l = connections; l != NULL; l = l->next) 1568s # { 1568s # GDBusConnection *connection = l->data; 1568s # g_dbus_connection_emit_signal (connection, 1568s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalI", 1568s # signal_variant, NULL); 1568s # } 1568s # g_variant_unref (signal_variant); 1568s # g_list_free_full (connections, g_object_unref); 1568s # } 1568s # 1568s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1568s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1568s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1568s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1568s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1568s # 1568s # #else 1568s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1568s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1568s # 1568s # #endif 1568s # static void 1568s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1568s # { 1568s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1568s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1568s # if (skeleton->priv->changed_properties_idle_source != NULL) 1568s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1568s # g_main_context_unref (skeleton->priv->context); 1568s # g_mutex_clear (&skeleton->priv->lock); 1568s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1568s # } 1568s # 1568s # static void 1568s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1568s # { 1568s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1568s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1568s # #else 1568s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1568s # #endif 1568s # 1568s # g_mutex_init (&skeleton->priv->lock); 1568s # skeleton->priv->context = g_main_context_ref_thread_default (); 1568s # } 1568s # 1568s # static void 1568s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1568s # { 1568s # GObjectClass *gobject_class; 1568s # GDBusInterfaceSkeletonClass *skeleton_class; 1568s # 1568s # gobject_class = G_OBJECT_CLASS (klass); 1568s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1568s # 1568s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1568s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1568s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1568s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1568s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1568s # 1568s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1568s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1568s # #endif 1568s # } 1568s # 1568s # static void 1568s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1568s # { 1568s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 1568s # iface->single_arg_signal_i = _org_project_signaling_iface_on_signal_single_arg_signal_i; 1568s # } 1568s # 1568s # /** 1568s # * org_project_signaling_iface_skeleton_new: 1568s # * 1568s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1568s # * 1568s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1568s # */ 1568s # OrgProjectSignalingIface * 1568s # org_project_signaling_iface_skeleton_new (void) 1568s # { 1568s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1568s # } 1568s # /tmp/tmpgfozeg7c/tmpngmkz_w1.xml: 1568s # 1568s # 1568s # 1568s # 1568s # 1568s # 1568s # 1568s # 1568s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpgfozeg7c/tmpngmkz_w1.xml', '--output', '-', '--body'] 1568s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-baqskmurxn,guid=fbaffe99d0ccb1f6e1beb84865fc01cd', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.YcZbqk/autopkgtest_tmp', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.YcZbqk/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.YcZbqk/autopkgtest_tmp', 'TERM': 'unknown', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.YcZbqk/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.sVTVMp0Db0', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.rqZsJO/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.YcZbqk/wrapper.sh --artifacts=/tmp/autopkgtest.YcZbqk/installed-tests-artifacts --chdir=/tmp/autopkgtest.YcZbqk/build.S0E/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.YcZbqk/installed-tests-stderr --stdout=/tmp/autopkgtest.YcZbqk/installed-tests-stdout --tmp=/tmp/autopkgtest.YcZbqk/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2' --make-executable=/tmp/autopkgtest.YcZbqk/build.S0E/src/debian/tests/installed-tests -- /tmp/autopkgtest.YcZbqk/build.S0E/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.YcZbqk/build.S0E/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.YcZbqk/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1568s # Output: /* 1568s # * This file is generated by gdbus-codegen, do not modify it. 1568s # * 1568s # * The license of this code is the same as for the D-Bus interface description 1568s # * it was derived from. Note that it links to GLib, so must comply with the 1568s # * LGPL linking clauses. 1568s # */ 1568s # 1568s # #ifdef HAVE_CONFIG_H 1568s # # include "config.h" 1568s # #endif 1568s # 1568s # #include 1568s # #ifdef G_OS_UNIX 1568s # # include 1568s # #endif 1568s # 1568s # #ifdef G_ENABLE_DEBUG 1568s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1568s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1568s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1568s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1568s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1568s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1568s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1568s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1568s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1568s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1568s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1568s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1568s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1568s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1568s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1568s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1568s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1568s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1568s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1568s # #else /* !G_ENABLE_DEBUG */ 1568s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1568s # * Do not access GValues directly in your code. Instead, use the 1568s # * g_value_get_*() functions 1568s # */ 1568s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1568s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1568s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1568s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1568s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1568s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1568s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1568s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1568s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1568s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1568s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1568s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1568s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1568s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1568s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1568s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1568s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1568s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1568s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1568s # #endif /* !G_ENABLE_DEBUG */ 1568s # 1568s # typedef struct 1568s # { 1568s # GDBusArgInfo parent_struct; 1568s # gboolean use_gvariant; 1568s # } _ExtendedGDBusArgInfo; 1568s # 1568s # typedef struct 1568s # { 1568s # GDBusMethodInfo parent_struct; 1568s # const gchar *signal_name; 1568s # gboolean pass_fdlist; 1568s # } _ExtendedGDBusMethodInfo; 1568s # 1568s # typedef struct 1568s # { 1568s # GDBusSignalInfo parent_struct; 1568s # const gchar *signal_name; 1568s # } _ExtendedGDBusSignalInfo; 1568s # 1568s # typedef struct 1568s # { 1568s # GDBusPropertyInfo parent_struct; 1568s # const gchar *hyphen_name; 1568s # guint use_gvariant : 1; 1568s # guint emits_changed_signal : 1; 1568s # } _ExtendedGDBusPropertyInfo; 1568s # 1568s # typedef struct 1568s # { 1568s # GDBusInterfaceInfo parent_struct; 1568s # const gchar *hyphen_name; 1568s # } _ExtendedGDBusInterfaceInfo; 1568s # 1568s # typedef struct 1568s # { 1568s # const _ExtendedGDBusPropertyInfo *info; 1568s # guint prop_id; 1568s # GValue orig_value; /* the value before the change */ 1568s # } ChangedProperty; 1568s # 1568s # static void 1568s # _changed_property_free (ChangedProperty *data) 1568s # { 1568s # g_value_unset (&data->orig_value); 1568s # g_free (data); 1568s # } 1568s # 1568s # static gboolean 1568s # _g_strv_equal0 (gchar **a, gchar **b) 1568s # { 1568s # gboolean ret = FALSE; 1568s # guint n; 1568s # if (a == NULL && b == NULL) 1568s # { 1568s # ret = TRUE; 1568s # goto out; 1568s # } 1568s # if (a == NULL || b == NULL) 1568s # goto out; 1568s # if (g_strv_length (a) != g_strv_length (b)) 1568s # goto out; 1568s # for (n = 0; a[n] != NULL; n++) 1568s # if (g_strcmp0 (a[n], b[n]) != 0) 1568s # goto out; 1568s # ret = TRUE; 1568s # out: 1568s # return ret; 1568s # } 1568s # 1568s # static gboolean 1568s # _g_variant_equal0 (GVariant *a, GVariant *b) 1568s # { 1568s # gboolean ret = FALSE; 1568s # if (a == NULL && b == NULL) 1568s # { 1568s # ret = TRUE; 1568s # goto out; 1568s # } 1568s # if (a == NULL || b == NULL) 1568s # goto out; 1568s # ret = g_variant_equal (a, b); 1568s # out: 1568s # return ret; 1568s # } 1568s # 1568s # G_GNUC_UNUSED static gboolean 1568s # _g_value_equal (const GValue *a, const GValue *b) 1568s # { 1568s # gboolean ret = FALSE; 1568s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1568s # switch (G_VALUE_TYPE (a)) 1568s # { 1568s # case G_TYPE_BOOLEAN: 1568s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1568s # break; 1568s # case G_TYPE_UCHAR: 1568s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1568s # break; 1568s # case G_TYPE_INT: 1568s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1568s # break; 1568s # case G_TYPE_UINT: 1568s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1568s # break; 1568s # case G_TYPE_INT64: 1568s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1568s # break; 1568s # case G_TYPE_UINT64: 1568s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1568s # break; 1568s # case G_TYPE_DOUBLE: 1568s # { 1568s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1568s # gdouble da = g_value_get_double (a); 1568s # gdouble db = g_value_get_double (b); 1568s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1568s # } 1568s # break; 1568s # case G_TYPE_STRING: 1568s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1568s # break; 1568s # case G_TYPE_VARIANT: 1568s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1568s # break; 1568s # default: 1568s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1568s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1568s # else 1568s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1568s # break; 1568s # } 1568s # return ret; 1568s # } 1568s # 1568s # /* ------------------------------------------------------------------------ 1568s # * Code for interface org.project.SignalingIface 1568s # * ------------------------------------------------------------------------ 1568s # */ 1568s # 1568s # /** 1568s # * SECTION:OrgProjectSignalingIface 1568s # * @title: OrgProjectSignalingIface 1568s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1568s # * 1568s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1568s # */ 1568s # 1568s # enum 1568s # { 1568s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 1568s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_U, 1568s # }; 1568s # 1568s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 1568s # 1568s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1568s # 1568s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 1568s # { 1568s # { 1568s # -1, 1568s # (gchar *) "SimpleSignal", 1568s # NULL, 1568s # NULL 1568s # }, 1568s # "simple-signal" 1568s # }; 1568s # 1568s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_u_ARG_arg_u = 1568s # { 1568s # { 1568s # -1, 1568s # (gchar *) "arg_u", 1568s # (gchar *) "u", 1568s # NULL 1568s # }, 1568s # FALSE 1568s # }; 1568s # 1568s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_u_ARG_pointers[] = 1568s # { 1568s # &_org_project_signaling_iface_signal_info_single_arg_signal_u_ARG_arg_u.parent_struct, 1568s # NULL 1568s # }; 1568s # 1568s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_u = 1568s # { 1568s # { 1568s # -1, 1568s # (gchar *) "SingleArgSignalU", 1568s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_u_ARG_pointers, 1568s # NULL 1568s # }, 1568s # "single-arg-signal-u" 1568s # }; 1568s # 1568s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1568s # { 1568s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 1568s # &_org_project_signaling_iface_signal_info_single_arg_signal_u.parent_struct, 1568s # NULL 1568s # }; 1568s # 1568s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1568s # { 1568s # { 1568s # -1, 1568s # (gchar *) "org.project.SignalingIface", 1568s # NULL, 1568s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1568s # NULL, 1568s # NULL 1568s # }, 1568s # "org-project-signaling-iface", 1568s # }; 1568s # 1568s # 1568s # /** 1568s # * org_project_signaling_iface_interface_info: 1568s # * 1568s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1568s # * 1568s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1568s # */ 1568s # GDBusInterfaceInfo * 1568s # org_project_signaling_iface_interface_info (void) 1568s # { 1568s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1568s # } 1568s # 1568s # /** 1568s # * org_project_signaling_iface_override_properties: 1568s # * @klass: The class structure for a #GObject derived class. 1568s # * @property_id_begin: The property id to assign to the first overridden property. 1568s # * 1568s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1568s # * The properties are overridden in the order they are defined. 1568s # * 1568s # * Returns: The last property id. 1568s # */ 1568s # guint 1568s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1568s # { 1568s # return property_id_begin - 1; 1568s # } 1568s # 1568s # 1568s # inline static void 1568s # org_project_signaling_iface_signal_marshal_simple_signal ( 1568s # GClosure *closure, 1568s # GValue *return_value, 1568s # unsigned int n_param_values, 1568s # const GValue *param_values, 1568s # void *invocation_hint, 1568s # void *marshal_data) 1568s # { 1568s # g_cclosure_marshal_VOID__VOID (closure, 1568s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1568s # } 1568s # 1568s # inline static void 1568s # org_project_signaling_iface_signal_marshal_single_arg_signal_u ( 1568s # GClosure *closure, 1568s # GValue *return_value, 1568s # unsigned int n_param_values, 1568s # const GValue *param_values, 1568s # void *invocation_hint, 1568s # void *marshal_data) 1568s # { 1568s # g_cclosure_marshal_VOID__UINT (closure, 1568s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1568s # } 1568s # 1568s # 1568s # /** 1568s # * OrgProjectSignalingIface: 1568s # * 1568s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1568s # */ 1568s # 1568s # /** 1568s # * OrgProjectSignalingIfaceIface: 1568s # * @parent_iface: The parent interface. 1568s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 1568s # * @single_arg_signal_u: Handler for the #OrgProjectSignalingIface::single-arg-signal-u signal. 1568s # * 1568s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1568s # */ 1568s # 1568s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1568s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1568s # 1568s # static void 1568s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1568s # { 1568s # /* GObject signals for received D-Bus signals: */ 1568s # /** 1568s # * OrgProjectSignalingIface::simple-signal: 1568s # * @object: A #OrgProjectSignalingIface. 1568s # * 1568s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1568s # * 1568s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1568s # */ 1568s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 1568s # g_signal_new ("simple-signal", 1568s # G_TYPE_FROM_INTERFACE (iface), 1568s # G_SIGNAL_RUN_LAST, 1568s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 1568s # NULL, 1568s # NULL, 1568s # org_project_signaling_iface_signal_marshal_simple_signal, 1568s # G_TYPE_NONE, 1568s # 0); 1568s # 1568s # /** 1568s # * OrgProjectSignalingIface::single-arg-signal-u: 1568s # * @object: A #OrgProjectSignalingIface. 1568s # * @arg_arg_u: Argument. 1568s # * 1568s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalU" is received. 1568s # * 1568s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1568s # */ 1568s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_U] = 1568s # g_signal_new ("single-arg-signal-u", 1568s # G_TYPE_FROM_INTERFACE (iface), 1568s # G_SIGNAL_RUN_LAST, 1568s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_u), 1568s # NULL, 1568s # NULL, 1568s # org_project_signaling_iface_signal_marshal_single_arg_signal_u, 1568s # G_TYPE_NONE, 1568s # 1, G_TYPE_UINT); 1568s # 1568s # } 1568s # 1568s # /** 1568s # * org_project_signaling_iface_emit_simple_signal: 1568s # * @object: A #OrgProjectSignalingIface. 1568s # * 1568s # * Emits the "SimpleSignal" D-Bus signal. 1568s # */ 1568s # void 1568s # org_project_signaling_iface_emit_simple_signal ( 1568s # OrgProjectSignalingIface *object) 1568s # { 1568s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 1568s # } 1568s # 1568s # /** 1568s # * org_project_signaling_iface_emit_single_arg_signal_u: 1568s # * @object: A #OrgProjectSignalingIface. 1568s # * @arg_arg_u: Argument to pass with the signal. 1568s # * 1568s # * Emits the "SingleArgSignalU" D-Bus signal. 1568s # */ 1568s # void 1568s # org_project_signaling_iface_emit_single_arg_signal_u ( 1568s # OrgProjectSignalingIface *object, 1568s # guint arg_arg_u) 1568s # { 1568s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_U], 0, arg_arg_u); 1568s # } 1568s # 1568s # /* ------------------------------------------------------------------------ */ 1568s # 1568s # /** 1568s # * OrgProjectSignalingIfaceProxy: 1568s # * 1568s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1568s # */ 1568s # 1568s # /** 1568s # * OrgProjectSignalingIfaceProxyClass: 1568s # * @parent_class: The parent class. 1568s # * 1568s # * Class structure for #OrgProjectSignalingIfaceProxy. 1568s # */ 1568s # 1568s # struct _OrgProjectSignalingIfaceProxyPrivate 1568s # { 1568s # GData *qdata; 1568s # }; 1568s # 1568s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1568s # 1568s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1568s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1568s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1568s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1568s # 1568s # #else 1568s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1568s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1568s # 1568s # #endif 1568s # static void 1568s # org_project_signaling_iface_proxy_finalize (GObject *object) 1568s # { 1568s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1568s # g_datalist_clear (&proxy->priv->qdata); 1568s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1568s # } 1568s # 1568s # static void 1568s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1568s # guint prop_id G_GNUC_UNUSED, 1568s # GValue *value G_GNUC_UNUSED, 1568s # GParamSpec *pspec G_GNUC_UNUSED) 1568s # { 1568s # } 1568s # 1568s # static void 1568s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1568s # guint prop_id G_GNUC_UNUSED, 1568s # const GValue *value G_GNUC_UNUSED, 1568s # GParamSpec *pspec G_GNUC_UNUSED) 1568s # { 1568s # } 1568s # 1568s # static void 1568s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1568s # const gchar *sender_name G_GNUC_UNUSED, 1568s # const gchar *signal_name, 1568s # GVariant *parameters) 1568s # { 1568s # _ExtendedGDBusSignalInfo *info; 1568s # GVariantIter iter; 1568s # GVariant *child; 1568s # GValue *paramv; 1568s # gsize num_params; 1568s # gsize n; 1568s # guint signal_id; 1568s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1568s # if (info == NULL) 1568s # return; 1568s # num_params = g_variant_n_children (parameters); 1568s # paramv = g_new0 (GValue, num_params + 1); 1568s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1568s # g_value_set_object (¶mv[0], proxy); 1568s # g_variant_iter_init (&iter, parameters); 1568s # n = 1; 1568s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1568s # { 1568s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1568s # if (arg_info->use_gvariant) 1568s # { 1568s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1568s # g_value_set_variant (¶mv[n], child); 1568s # n++; 1568s # } 1568s # else 1568s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1568s # g_variant_unref (child); 1568s # } 1568s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1568s # g_signal_emitv (paramv, signal_id, 0, NULL); 1568s # for (n = 0; n < num_params + 1; n++) 1568s # g_value_unset (¶mv[n]); 1568s # g_free (paramv); 1568s # } 1568s # 1568s # static void 1568s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1568s # GVariant *changed_properties, 1568s # const gchar *const *invalidated_properties) 1568s # { 1568s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1568s # guint n; 1568s # const gchar *key; 1568s # GVariantIter *iter; 1568s # _ExtendedGDBusPropertyInfo *info; 1568s # g_variant_get (changed_properties, "a{sv}", &iter); 1568s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1568s # { 1568s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1568s # g_datalist_remove_data (&proxy->priv->qdata, key); 1568s # if (info != NULL) 1568s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1568s # } 1568s # g_variant_iter_free (iter); 1568s # for (n = 0; invalidated_properties[n] != NULL; n++) 1568s # { 1568s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1568s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1568s # if (info != NULL) 1568s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1568s # } 1568s # } 1568s # 1568s # static void 1568s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1568s # { 1568s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1568s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1568s # #else 1568s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1568s # #endif 1568s # 1568s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1568s # } 1568s # 1568s # static void 1568s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1568s # { 1568s # GObjectClass *gobject_class; 1568s # GDBusProxyClass *proxy_class; 1568s # 1568s # gobject_class = G_OBJECT_CLASS (klass); 1568s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1568s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1568s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1568s # 1568s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1568s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1568s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1568s # 1568s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1568s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1568s # #endif 1568s # } 1568s # 1568s # static void 1568s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1568s # { 1568s # } 1568s # 1568s # /** 1568s # * org_project_signaling_iface_proxy_new: 1568s # * @connection: A #GDBusConnection. 1568s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1568s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1568s # * @object_path: An object path. 1568s # * @cancellable: (nullable): A #GCancellable or %NULL. 1568s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1568s # * @user_data: User data to pass to @callback. 1568s # * 1568s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1568s # * 1568s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1568s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1568s # * 1568s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1568s # */ 1568s # void 1568s # org_project_signaling_iface_proxy_new ( 1568s # GDBusConnection *connection, 1568s # GDBusProxyFlags flags, 1568s # const gchar *name, 1568s # const gchar *object_path, 1568s # GCancellable *cancellable, 1568s # GAsyncReadyCallback callback, 1568s # gpointer user_data) 1568s # { 1568s # 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); 1568s # } 1568s # 1568s # /** 1568s # * org_project_signaling_iface_proxy_new_finish: 1568s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1568s # * @error: Return location for error or %NULL 1568s # * 1568s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1568s # * 1568s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1568s # */ 1568s # OrgProjectSignalingIface * 1568s # org_project_signaling_iface_proxy_new_finish ( 1568s # GAsyncResult *res, 1568s # GError **error) 1568s # { 1568s # GObject *ret; 1568s # GObject *source_object; 1568s # source_object = g_async_result_get_source_object (res); 1568s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1568s # g_object_unref (source_object); 1568s # if (ret != NULL) 1568s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1568s # else 1568s # return NULL; 1568s # } 1568s # 1568s # /** 1568s # * org_project_signaling_iface_proxy_new_sync: 1568s # * @connection: A #GDBusConnection. 1568s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1568s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1568s # * @object_path: An object path. 1568s # * @cancellable: (nullable): A #GCancellable or %NULL. 1568s # * @error: Return location for error or %NULL 1568s # * 1568s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1568s # * 1568s # * The calling thread is blocked until a reply is received. 1568s # * 1568s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1568s # * 1568s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1568s # */ 1568s # OrgProjectSignalingIface * 1568s # org_project_signaling_iface_proxy_new_sync ( 1568s # GDBusConnection *connection, 1568s # GDBusProxyFlags flags, 1568s # const gchar *name, 1568s # const gchar *object_path, 1568s # GCancellable *cancellable, 1568s # GError **error) 1568s # { 1568s # GInitable *ret; 1568s # 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); 1568s # if (ret != NULL) 1568s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1568s # else 1568s # return NULL; 1568s # } 1568s # 1568s # 1568s # /** 1568s # * org_project_signaling_iface_proxy_new_for_bus: 1568s # * @bus_type: A #GBusType. 1568s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1568s # * @name: A bus name (well-known or unique). 1568s # * @object_path: An object path. 1568s # * @cancellable: (nullable): A #GCancellable or %NULL. 1568s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1568s # * @user_data: User data to pass to @callback. 1568s # * 1568s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1568s # * 1568s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1568s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1568s # * 1568s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1568s # */ 1568s # void 1568s # org_project_signaling_iface_proxy_new_for_bus ( 1568s # GBusType bus_type, 1568s # GDBusProxyFlags flags, 1568s # const gchar *name, 1568s # const gchar *object_path, 1568s # GCancellable *cancellable, 1568s # GAsyncReadyCallback callback, 1568s # gpointer user_data) 1568s # { 1568s # 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); 1568s # } 1568s # 1568s # /** 1568s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1568s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1568s # * @error: Return location for error or %NULL 1568s # * 1568s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1568s # * 1568s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1568s # */ 1568s # OrgProjectSignalingIface * 1568s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1568s # GAsyncResult *res, 1568s # GError **error) 1568s # { 1568s # GObject *ret; 1568s # GObject *source_object; 1568s # source_object = g_async_result_get_source_object (res); 1568s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1568s # g_object_unref (source_object); 1568s # if (ret != NULL) 1568s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1568s # else 1568s # return NULL; 1568s # } 1568s # 1568s # /** 1568s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1568s # * @bus_type: A #GBusType. 1568s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1568s # * @name: A bus name (well-known or unique). 1568s # * @object_path: An object path. 1568s # * @cancellable: (nullable): A #GCancellable or %NULL. 1568s # * @error: Return location for error or %NULL 1568s # * 1568s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1568s # * 1568s # * The calling thread is blocked until a reply is received. 1568s # * 1568s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1568s # * 1568s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1568s # */ 1568s # OrgProjectSignalingIface * 1568s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1568s # GBusType bus_type, 1568s # GDBusProxyFlags flags, 1568s # const gchar *name, 1568s # const gchar *object_path, 1568s # GCancellable *cancellable, 1568s # GError **error) 1568s # { 1568s # GInitable *ret; 1568s # 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); 1568s # if (ret != NULL) 1568s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1568s # else 1568s # return NULL; 1568s # } 1568s # 1568s # 1568s # /* ------------------------------------------------------------------------ */ 1568s # 1568s # /** 1568s # * OrgProjectSignalingIfaceSkeleton: 1568s # * 1568s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1568s # */ 1568s # 1568s # /** 1568s # * OrgProjectSignalingIfaceSkeletonClass: 1568s # * @parent_class: The parent class. 1568s # * 1568s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1568s # */ 1568s # 1568s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1568s # { 1568s # GValue *properties; 1568s # GList *changed_properties; 1568s # GSource *changed_properties_idle_source; 1568s # GMainContext *context; 1568s # GMutex lock; 1568s # }; 1568s # 1568s # static void 1568s # _org_project_signaling_iface_skeleton_handle_method_call ( 1568s # GDBusConnection *connection G_GNUC_UNUSED, 1568s # const gchar *sender G_GNUC_UNUSED, 1568s # const gchar *object_path G_GNUC_UNUSED, 1568s # const gchar *interface_name, 1568s # const gchar *method_name, 1568s # GVariant *parameters, 1568s # GDBusMethodInvocation *invocation, 1568s # gpointer user_data) 1568s # { 1568s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1568s # _ExtendedGDBusMethodInfo *info; 1568s # GVariantIter iter; 1568s # GVariant *child; 1568s # GValue *paramv; 1568s # gsize num_params; 1568s # guint num_extra; 1568s # gsize n; 1568s # guint signal_id; 1568s # GValue return_value = G_VALUE_INIT; 1568s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1568s # g_assert (info != NULL); 1568s # num_params = g_variant_n_children (parameters); 1568s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1568s # n = 0; 1568s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1568s # g_value_set_object (¶mv[n++], skeleton); 1568s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1568s # g_value_set_object (¶mv[n++], invocation); 1568s # if (info->pass_fdlist) 1568s # { 1568s # #ifdef G_OS_UNIX 1568s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1568s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1568s # #else 1568s # g_assert_not_reached (); 1568s # #endif 1568s # } 1568s # g_variant_iter_init (&iter, parameters); 1568s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1568s # { 1568s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1568s # if (arg_info->use_gvariant) 1568s # { 1568s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1568s # g_value_set_variant (¶mv[n], child); 1568s # n++; 1568s # } 1568s # else 1568s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1568s # g_variant_unref (child); 1568s # } 1568s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1568s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1568s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1568s # if (!g_value_get_boolean (&return_value)) 1568s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1568s # g_value_unset (&return_value); 1568s # for (n = 0; n < num_params + num_extra; n++) 1568s # g_value_unset (¶mv[n]); 1568s # g_free (paramv); 1568s # } 1568s # 1568s # static GVariant * 1568s # _org_project_signaling_iface_skeleton_handle_get_property ( 1568s # GDBusConnection *connection G_GNUC_UNUSED, 1568s # const gchar *sender G_GNUC_UNUSED, 1568s # const gchar *object_path G_GNUC_UNUSED, 1568s # const gchar *interface_name G_GNUC_UNUSED, 1568s # const gchar *property_name, 1568s # GError **error, 1568s # gpointer user_data) 1568s # { 1568s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1568s # GValue value = G_VALUE_INIT; 1568s # GParamSpec *pspec; 1568s # _ExtendedGDBusPropertyInfo *info; 1568s # GVariant *ret; 1568s # ret = NULL; 1568s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1568s # g_assert (info != NULL); 1568s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1568s # if (pspec == NULL) 1568s # { 1568s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1568s # } 1568s # else 1568s # { 1568s # g_value_init (&value, pspec->value_type); 1568s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1568s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1568s # g_value_unset (&value); 1568s # } 1568s # return ret; 1568s # } 1568s # 1568s # static gboolean 1568s # _org_project_signaling_iface_skeleton_handle_set_property ( 1568s # GDBusConnection *connection G_GNUC_UNUSED, 1568s # const gchar *sender G_GNUC_UNUSED, 1568s # const gchar *object_path G_GNUC_UNUSED, 1568s # const gchar *interface_name G_GNUC_UNUSED, 1568s # const gchar *property_name, 1568s # GVariant *variant, 1568s # GError **error, 1568s # gpointer user_data) 1568s # { 1568s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1568s # GValue value = G_VALUE_INIT; 1568s # GParamSpec *pspec; 1568s # _ExtendedGDBusPropertyInfo *info; 1568s # gboolean ret; 1568s # ret = FALSE; 1568s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1568s # g_assert (info != NULL); 1568s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1568s # if (pspec == NULL) 1568s # { 1568s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1568s # } 1568s # else 1568s # { 1568s # if (info->use_gvariant) 1568s # g_value_set_variant (&value, variant); 1568s # else 1568s # g_dbus_gvariant_to_gvalue (variant, &value); 1568s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1568s # g_value_unset (&value); 1568s # ret = TRUE; 1568s # } 1568s # return ret; 1568s # } 1568s # 1568s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1568s # { 1568s # _org_project_signaling_iface_skeleton_handle_method_call, 1568s # _org_project_signaling_iface_skeleton_handle_get_property, 1568s # _org_project_signaling_iface_skeleton_handle_set_property, 1568s # {NULL} 1568s # }; 1568s # 1568s # static GDBusInterfaceInfo * 1568s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1568s # { 1568s # return org_project_signaling_iface_interface_info (); 1568s # } 1568s # 1568s # static GDBusInterfaceVTable * 1568s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1568s # { 1568s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1568s # } 1568s # 1568s # static GVariant * 1568s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1568s # { 1568s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1568s # 1568s # GVariantBuilder builder; 1568s # guint n; 1568s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1568s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1568s # goto out; 1568s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1568s # { 1568s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1568s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1568s # { 1568s # GVariant *value; 1568s # 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); 1568s # if (value != NULL) 1568s # { 1568s # g_variant_take_ref (value); 1568s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1568s # g_variant_unref (value); 1568s # } 1568s # } 1568s # } 1568s # out: 1568s # return g_variant_builder_end (&builder); 1568s # } 1568s # 1568s # static void 1568s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1568s # { 1568s # } 1568s # 1568s # static void 1568s # _org_project_signaling_iface_on_signal_simple_signal ( 1568s # OrgProjectSignalingIface *object) 1568s # { 1568s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1568s # 1568s # GList *connections, *l; 1568s # GVariant *signal_variant; 1568s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1568s # 1568s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1568s # for (l = connections; l != NULL; l = l->next) 1568s # { 1568s # GDBusConnection *connection = l->data; 1568s # g_dbus_connection_emit_signal (connection, 1568s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 1568s # signal_variant, NULL); 1568s # } 1568s # g_variant_unref (signal_variant); 1568s # g_list_free_full (connections, g_object_unref); 1568s # } 1568s # 1568s # static void 1568s # _org_project_signaling_iface_on_signal_single_arg_signal_u ( 1568s # OrgProjectSignalingIface *object, 1568s # guint arg_arg_u) 1568s # { 1568s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1568s # 1568s # GList *connections, *l; 1568s # GVariant *signal_variant; 1568s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1568s # 1568s # signal_variant = g_variant_ref_sink (g_variant_new ("(u)", 1568s # arg_arg_u)); 1568s # for (l = connections; l != NULL; l = l->next) 1568s # { 1568s # GDBusConnection *connection = l->data; 1568s # g_dbus_connection_emit_signal (connection, 1568s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalU", 1568s # signal_variant, NULL); 1568s # } 1568s # g_variant_unref (signal_variant); 1568s # g_list_free_full (connections, g_object_unref); 1568s # } 1568s # 1568s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1568s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1568s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1568s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1568s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1568s # 1568s # #else 1568s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1568s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1568s # 1568s # #endif 1568s # static void 1568s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1568s # { 1568s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1568s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1568s # if (skeleton->priv->changed_properties_idle_source != NULL) 1568s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1568s # g_main_context_unref (skeleton->priv->context); 1568s # g_mutex_clear (&skeleton->priv->lock); 1568s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1568s # } 1568s # 1568s # static void 1568s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1568s # { 1568s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1568s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1568s # #else 1568s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1568s # #endif 1568s # 1568s # g_mutex_init (&skeleton->priv->lock); 1568s # skeleton->priv->context = g_main_context_ref_thread_default (); 1568s # } 1568s # 1568s # static void 1568s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1568s # { 1568s # GObjectClass *gobject_class; 1568s # GDBusInterfaceSkeletonClass *skeleton_class; 1568s # 1568s # gobject_class = G_OBJECT_CLASS (klass); 1568s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1568s # 1568s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1568s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1568s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1568s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1568s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1568s # 1568s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1568s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1568s # #endif 1568s # } 1568s # 1568s # static void 1568s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1568s # { 1568s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 1568s # iface->single_arg_signal_u = _org_project_signaling_iface_on_signal_single_arg_signal_u; 1568s # } 1568s # 1568s # /** 1568s # * org_project_signaling_iface_skeleton_new: 1568s # * 1568s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1568s # * 1568s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1568s # */ 1568s # OrgProjectSignalingIface * 1568s # org_project_signaling_iface_skeleton_new (void) 1568s # { 1568s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1568s # } 1568s # /tmp/tmpgfozeg7c/tmpi23xyb_x.xml: 1568s # 1568s # 1568s # 1568s # 1568s # 1568s # 1568s # 1568s # 1568s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpgfozeg7c/tmpi23xyb_x.xml', '--output', '-', '--body'] 1568s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-baqskmurxn,guid=fbaffe99d0ccb1f6e1beb84865fc01cd', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.YcZbqk/autopkgtest_tmp', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.YcZbqk/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.YcZbqk/autopkgtest_tmp', 'TERM': 'unknown', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.YcZbqk/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.sVTVMp0Db0', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.rqZsJO/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.YcZbqk/wrapper.sh --artifacts=/tmp/autopkgtest.YcZbqk/installed-tests-artifacts --chdir=/tmp/autopkgtest.YcZbqk/build.S0E/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.YcZbqk/installed-tests-stderr --stdout=/tmp/autopkgtest.YcZbqk/installed-tests-stdout --tmp=/tmp/autopkgtest.YcZbqk/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2' --make-executable=/tmp/autopkgtest.YcZbqk/build.S0E/src/debian/tests/installed-tests -- /tmp/autopkgtest.YcZbqk/build.S0E/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.YcZbqk/build.S0E/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.YcZbqk/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1568s # Output: /* 1568s # * This file is generated by gdbus-codegen, do not modify it. 1568s # * 1568s # * The license of this code is the same as for the D-Bus interface description 1568s # * it was derived from. Note that it links to GLib, so must comply with the 1568s # * LGPL linking clauses. 1568s # */ 1568s # 1568s # #ifdef HAVE_CONFIG_H 1568s # # include "config.h" 1568s # #endif 1568s # 1568s # #include 1568s # #ifdef G_OS_UNIX 1568s # # include 1568s # #endif 1568s # 1568s # #ifdef G_ENABLE_DEBUG 1568s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1568s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1568s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1568s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1568s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1568s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1568s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1568s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1568s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1568s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1568s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1568s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1568s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1568s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1568s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1568s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1568s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1568s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1568s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1568s # #else /* !G_ENABLE_DEBUG */ 1568s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1568s # * Do not access GValues directly in your code. Instead, use the 1568s # * g_value_get_*() functions 1568s # */ 1568s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1568s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1568s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1568s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1568s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1568s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1568s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1568s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1568s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1568s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1568s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1568s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1568s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1568s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1568s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1568s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1568s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1568s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1568s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1568s # #endif /* !G_ENABLE_DEBUG */ 1568s # 1568s # typedef struct 1568s # { 1568s # GDBusArgInfo parent_struct; 1568s # gboolean use_gvariant; 1568s # } _ExtendedGDBusArgInfo; 1568s # 1568s # typedef struct 1568s # { 1568s # GDBusMethodInfo parent_struct; 1568s # const gchar *signal_name; 1568s # gboolean pass_fdlist; 1568s # } _ExtendedGDBusMethodInfo; 1568s # 1568s # typedef struct 1568s # { 1568s # GDBusSignalInfo parent_struct; 1568s # const gchar *signal_name; 1568s # } _ExtendedGDBusSignalInfo; 1568s # 1568s # typedef struct 1568s # { 1568s # GDBusPropertyInfo parent_struct; 1568s # const gchar *hyphen_name; 1568s # guint use_gvariant : 1; 1568s # guint emits_changed_signal : 1; 1568s # } _ExtendedGDBusPropertyInfo; 1568s # 1568s # typedef struct 1568s # { 1568s # GDBusInterfaceInfo parent_struct; 1568s # const gchar *hyphen_name; 1568s # } _ExtendedGDBusInterfaceInfo; 1568s # 1568s # typedef struct 1568s # { 1568s # const _ExtendedGDBusPropertyInfo *info; 1568s # guint prop_id; 1568s # GValue orig_value; /* the value before the change */ 1568s # } ChangedProperty; 1568s # 1568s # static void 1568s # _changed_property_free (ChangedProperty *data) 1568s # { 1568s # g_value_unset (&data->orig_value); 1568s # g_free (data); 1568s # } 1568s # 1568s # static gboolean 1568s # _g_strv_equal0 (gchar **a, gchar **b) 1568s # { 1568s # gboolean ret = FALSE; 1568s # guint n; 1568s # if (a == NULL && b == NULL) 1568s # { 1568s # ret = TRUE; 1568s # goto out; 1568s # } 1568s # if (a == NULL || b == NULL) 1568s # goto out; 1568s # if (g_strv_length (a) != g_strv_length (b)) 1568s # goto out; 1568s # for (n = 0; a[n] != NULL; n++) 1568s # if (g_strcmp0 (a[n], b[n]) != 0) 1568s # goto out; 1568s # ret = TRUE; 1568s # out: 1568s # return ret; 1568s # } 1568s # 1568s # static gboolean 1568s # _g_variant_equal0 (GVariant *a, GVariant *b) 1568s # { 1568s # gboolean ret = FALSE; 1568s # if (a == NULL && b == NULL) 1568s # { 1568s # ret = TRUE; 1568s # goto out; 1568s # } 1568s # if (a == NULL || b == NULL) 1568s # goto out; 1568s # ret = g_variant_equal (a, b); 1568s # out: 1568s # return ret; 1568s # } 1568s # 1568s # G_GNUC_UNUSED static gboolean 1568s # _g_value_equal (const GValue *a, const GValue *b) 1568s # { 1568s # gboolean ret = FALSE; 1568s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1568s # switch (G_VALUE_TYPE (a)) 1568s # { 1568s # case G_TYPE_BOOLEAN: 1568s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1568s # break; 1568s # case G_TYPE_UCHAR: 1568s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1568s # break; 1568s # case G_TYPE_INT: 1568s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1568s # break; 1568s # case G_TYPE_UINT: 1568s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1568s # break; 1568s # case G_TYPE_INT64: 1568s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1568s # break; 1568s # case G_TYPE_UINT64: 1568s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1568s # break; 1568s # case G_TYPE_DOUBLE: 1568s # { 1568s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1568s # gdouble da = g_value_get_double (a); 1568s # gdouble db = g_value_get_double (b); 1568s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1568s # } 1568s # break; 1568s # case G_TYPE_STRING: 1568s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1568s # break; 1568s # case G_TYPE_VARIANT: 1568s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1568s # break; 1568s # default: 1568s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1568s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1568s # else 1568s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1568s # break; 1568s # } 1568s # return ret; 1568s # } 1568s # 1568s # static void 1568s # _g_dbus_codegen_marshal_VOID__INT64 ( 1568s # GClosure *closure, 1568s # GValue *return_value G_GNUC_UNUSED, 1568s # unsigned int n_param_values, 1568s # const GValue *param_values, 1568s # void *invocation_hint G_GNUC_UNUSED, 1568s # void *marshal_data) 1568s # { 1568s # typedef void (*_GDbusCodegenMarshalVoid_Int64Func) 1568s # (void *data1, 1568s # gint64 arg_arg_x, 1568s # void *data2); 1568s # _GDbusCodegenMarshalVoid_Int64Func callback; 1568s # GCClosure *cc = (GCClosure*) closure; 1568s # void *data1, *data2; 1568s # 1568s # g_return_if_fail (n_param_values == 2); 1568s # 1568s # if (G_CCLOSURE_SWAP_DATA (closure)) 1568s # { 1568s # data1 = closure->data; 1568s # data2 = g_value_peek_pointer (param_values + 0); 1568s # } 1568s # else 1568s # { 1568s # data1 = g_value_peek_pointer (param_values + 0); 1568s # data2 = closure->data; 1568s # } 1568s # 1568s # callback = (_GDbusCodegenMarshalVoid_Int64Func) 1568s # (marshal_data ? marshal_data : cc->callback); 1568s # 1568s # callback (data1, 1568s # g_marshal_value_peek_int64 (param_values + 1), 1568s # data2); 1568s # } 1568s # 1568s # /* ------------------------------------------------------------------------ 1568s # * Code for interface org.project.SignalingIface 1568s # * ------------------------------------------------------------------------ 1568s # */ 1568s # 1568s # /** 1568s # * SECTION:OrgProjectSignalingIface 1568s # * @title: OrgProjectSignalingIface 1568s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1568s # * 1568s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1568s # */ 1568s # 1568s # enum 1568s # { 1568s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 1568s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_X, 1568s # }; 1568s # 1568s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 1568s # 1568s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1568s # 1568s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 1568s # { 1568s # { 1568s # -1, 1568s # (gchar *) "SimpleSignal", 1568s # NULL, 1568s # NULL 1568s # }, 1568s # "simple-signal" 1568s # }; 1568s # 1568s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_x_ARG_arg_x = 1568s # { 1568s # { 1568s # -1, 1568s # (gchar *) "arg_x", 1568s # (gchar *) "x", 1568s # NULL 1568s # }, 1568s # FALSE 1568s # }; 1568s # 1568s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_x_ARG_pointers[] = 1568s # { 1568s # &_org_project_signaling_iface_signal_info_single_arg_signal_x_ARG_arg_x.parent_struct, 1568s # NULL 1568s # }; 1568s # 1568s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_x = 1568s # { 1568s # { 1568s # -1, 1568s # (gchar *) "SingleArgSignalX", 1568s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_x_ARG_pointers, 1568s # NULL 1568s # }, 1568s # "single-arg-signal-x" 1568s # }; 1568s # 1568s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1568s # { 1568s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 1568s # &_org_project_signaling_iface_signal_info_single_arg_signal_x.parent_struct, 1568s # NULL 1568s # }; 1568s # 1568s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1568s # { 1568s # { 1568s # -1, 1568s # (gchar *) "org.project.SignalingIface", 1568s # NULL, 1568s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1568s # NULL, 1568s # NULL 1568s # }, 1568s # "org-project-signaling-iface", 1568s # }; 1568s # 1568s # 1568s # /** 1568s # * org_project_signaling_iface_interface_info: 1568s # * 1568s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1568s # * 1568s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1568s # */ 1568s # GDBusInterfaceInfo * 1568s # org_project_signaling_iface_interface_info (void) 1568s # { 1568s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1568s # } 1568s # 1568s # /** 1568s # * org_project_signaling_iface_override_properties: 1568s # * @klass: The class structure for a #GObject derived class. 1568s # * @property_id_begin: The property id to assign to the first overridden property. 1568s # * 1568s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1568s # * The properties are overridden in the order they are defined. 1568s # * 1568s # * Returns: The last property id. 1568s # */ 1568s # guint 1568s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1568s # { 1568s # return property_id_begin - 1; 1568s # } 1568s # 1568s # 1568s # inline static void 1568s # org_project_signaling_iface_signal_marshal_simple_signal ( 1568s # GClosure *closure, 1568s # GValue *return_value, 1568s # unsigned int n_param_values, 1568s # const GValue *param_values, 1568s # void *invocation_hint, 1568s # void *marshal_data) 1568s # { 1568s # g_cclosure_marshal_VOID__VOID (closure, 1568s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1568s # } 1568s # 1568s # inline static void 1568s # org_project_signaling_iface_signal_marshal_single_arg_signal_x ( 1568s # GClosure *closure, 1568s # GValue *return_value, 1568s # unsigned int n_param_values, 1568s # const GValue *param_values, 1568s # void *invocation_hint, 1568s # void *marshal_data) 1568s # { 1568s # _g_dbus_codegen_marshal_VOID__INT64 (closure, 1568s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1568s # } 1568s # 1568s # 1568s # /** 1568s # * OrgProjectSignalingIface: 1568s # * 1568s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1568s # */ 1568s # 1568s # /** 1568s # * OrgProjectSignalingIfaceIface: 1568s # * @parent_iface: The parent interface. 1568s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 1568s # * @single_arg_signal_x: Handler for the #OrgProjectSignalingIface::single-arg-signal-x signal. 1568s # * 1568s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1568s # */ 1568s # 1568s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1568s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1568s # 1568s # static void 1568s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1568s # { 1568s # /* GObject signals for received D-Bus signals: */ 1568s # /** 1568s # * OrgProjectSignalingIface::simple-signal: 1568s # * @object: A #OrgProjectSignalingIface. 1568s # * 1568s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1568s # * 1568s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1568s # */ 1568s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 1568s # g_signal_new ("simple-signal", 1568s # G_TYPE_FROM_INTERFACE (iface), 1568s # G_SIGNAL_RUN_LAST, 1568s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 1568s # NULL, 1568s # NULL, 1568s # org_project_signaling_iface_signal_marshal_simple_signal, 1568s # G_TYPE_NONE, 1568s # 0); 1568s # 1568s # /** 1568s # * OrgProjectSignalingIface::single-arg-signal-x: 1568s # * @object: A #OrgProjectSignalingIface. 1568s # * @arg_arg_x: Argument. 1568s # * 1568s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalX" is received. 1568s # * 1568s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1568s # */ 1568s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_X] = 1568s # g_signal_new ("single-arg-signal-x", 1568s # G_TYPE_FROM_INTERFACE (iface), 1568s # G_SIGNAL_RUN_LAST, 1568s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_x), 1568s # NULL, 1568s # NULL, 1568s # org_project_signaling_iface_signal_marshal_single_arg_signal_x, 1568s # G_TYPE_NONE, 1568s # 1, G_TYPE_INT64); 1568s # 1568s # } 1568s # 1568s # /** 1568s # * org_project_signaling_iface_emit_simple_signal: 1568s # * @object: A #OrgProjectSignalingIface. 1568s # * 1568s # * Emits the "SimpleSignal" D-Bus signal. 1568s # */ 1568s # void 1568s # org_project_signaling_iface_emit_simple_signal ( 1568s # OrgProjectSignalingIface *object) 1568s # { 1568s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 1568s # } 1568s # 1568s # /** 1568s # * org_project_signaling_iface_emit_single_arg_signal_x: 1568s # * @object: A #OrgProjectSignalingIface. 1568s # * @arg_arg_x: Argument to pass with the signal. 1568s # * 1568s # * Emits the "SingleArgSignalX" D-Bus signal. 1568s # */ 1568s # void 1568s # org_project_signaling_iface_emit_single_arg_signal_x ( 1568s # OrgProjectSignalingIface *object, 1568s # gint64 arg_arg_x) 1568s # { 1568s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_X], 0, arg_arg_x); 1568s # } 1568s # 1568s # /* ------------------------------------------------------------------------ */ 1568s # 1568s # /** 1568s # * OrgProjectSignalingIfaceProxy: 1568s # * 1568s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1568s # */ 1568s # 1568s # /** 1568s # * OrgProjectSignalingIfaceProxyClass: 1568s # * @parent_class: The parent class. 1568s # * 1568s # * Class structure for #OrgProjectSignalingIfaceProxy. 1568s # */ 1568s # 1568s # struct _OrgProjectSignalingIfaceProxyPrivate 1568s # { 1568s # GData *qdata; 1568s # }; 1568s # 1568s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1568s # 1568s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1568s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1568s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1568s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1568s # 1568s # #else 1568s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1568s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1568s # 1568s # #endif 1568s # static void 1568s # org_project_signaling_iface_proxy_finalize (GObject *object) 1568s # { 1568s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1568s # g_datalist_clear (&proxy->priv->qdata); 1568s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1568s # } 1568s # 1568s # static void 1568s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1568s # guint prop_id G_GNUC_UNUSED, 1568s # GValue *value G_GNUC_UNUSED, 1568s # GParamSpec *pspec G_GNUC_UNUSED) 1568s # { 1568s # } 1568s # 1568s # static void 1568s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1568s # guint prop_id G_GNUC_UNUSED, 1568s # const GValue *value G_GNUC_UNUSED, 1568s # GParamSpec *pspec G_GNUC_UNUSED) 1568s # { 1568s # } 1568s # 1568s # static void 1568s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1568s # const gchar *sender_name G_GNUC_UNUSED, 1568s # const gchar *signal_name, 1568s # GVariant *parameters) 1568s # { 1568s # _ExtendedGDBusSignalInfo *info; 1568s # GVariantIter iter; 1568s # GVariant *child; 1568s # GValue *paramv; 1568s # gsize num_params; 1568s # gsize n; 1568s # guint signal_id; 1568s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1568s # if (info == NULL) 1568s # return; 1568s # num_params = g_variant_n_children (parameters); 1568s # paramv = g_new0 (GValue, num_params + 1); 1568s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1568s # g_value_set_object (¶mv[0], proxy); 1568s # g_variant_iter_init (&iter, parameters); 1568s # n = 1; 1568s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1568s # { 1568s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1568s # if (arg_info->use_gvariant) 1568s # { 1568s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1568s # g_value_set_variant (¶mv[n], child); 1568s # n++; 1568s # } 1568s # else 1568s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1568s # g_variant_unref (child); 1568s # } 1568s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1568s # g_signal_emitv (paramv, signal_id, 0, NULL); 1568s # for (n = 0; n < num_params + 1; n++) 1568s # g_value_unset (¶mv[n]); 1568s # g_free (paramv); 1568s # } 1568s # 1568s # static void 1568s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1568s # GVariant *changed_properties, 1568s # const gchar *const *invalidated_properties) 1568s # { 1568s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1568s # guint n; 1568s # const gchar *key; 1568s # GVariantIter *iter; 1568s # _ExtendedGDBusPropertyInfo *info; 1568s # g_variant_get (changed_properties, "a{sv}", &iter); 1568s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1568s # { 1568s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1568s # g_datalist_remove_data (&proxy->priv->qdata, key); 1568s # if (info != NULL) 1568s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1568s # } 1568s # g_variant_iter_free (iter); 1568s # for (n = 0; invalidated_properties[n] != NULL; n++) 1568s # { 1568s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1568s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1568s # if (info != NULL) 1568s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1568s # } 1568s # } 1568s # 1568s # static void 1568s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1568s # { 1568s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1568s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1568s # #else 1568s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1568s # #endif 1568s # 1568s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1568s # } 1568s # 1568s # static void 1568s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1568s # { 1568s # GObjectClass *gobject_class; 1568s # GDBusProxyClass *proxy_class; 1568s # 1568s # gobject_class = G_OBJECT_CLASS (klass); 1568s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1568s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1568s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1568s # 1568s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1568s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1568s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1568s # 1568s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1568s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1568s # #endif 1568s # } 1568s # 1568s # static void 1568s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1568s # { 1568s # } 1568s # 1568s # /** 1568s # * org_project_signaling_iface_proxy_new: 1568s # * @connection: A #GDBusConnection. 1568s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1568s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1568s # * @object_path: An object path. 1568s # * @cancellable: (nullable): A #GCancellable or %NULL. 1568s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1568s # * @user_data: User data to pass to @callback. 1568s # * 1568s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1568s # * 1568s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1568s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1568s # * 1568s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1568s # */ 1568s # void 1568s # org_project_signaling_iface_proxy_new ( 1568s # GDBusConnection *connection, 1568s # GDBusProxyFlags flags, 1568s # const gchar *name, 1568s # const gchar *object_path, 1568s # GCancellable *cancellable, 1568s # GAsyncReadyCallback callback, 1568s # gpointer user_data) 1568s # { 1568s # 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); 1568s # } 1568s # 1568s # /** 1568s # * org_project_signaling_iface_proxy_new_finish: 1568s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1568s # * @error: Return location for error or %NULL 1568s # * 1568s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1568s # * 1568s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1568s # */ 1568s # OrgProjectSignalingIface * 1568s # org_project_signaling_iface_proxy_new_finish ( 1568s # GAsyncResult *res, 1568s # GError **error) 1568s # { 1568s # GObject *ret; 1568s # GObject *source_object; 1568s # source_object = g_async_result_get_source_object (res); 1568s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1568s # g_object_unref (source_object); 1568s # if (ret != NULL) 1568s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1568s # else 1568s # return NULL; 1568s # } 1568s # 1568s # /** 1568s # * org_project_signaling_iface_proxy_new_sync: 1568s # * @connection: A #GDBusConnection. 1568s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1568s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1568s # * @object_path: An object path. 1568s # * @cancellable: (nullable): A #GCancellable or %NULL. 1568s # * @error: Return location for error or %NULL 1568s # * 1568s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1568s # * 1568s # * The calling thread is blocked until a reply is received. 1568s # * 1568s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1568s # * 1568s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1568s # */ 1568s # OrgProjectSignalingIface * 1568s # org_project_signaling_iface_proxy_new_sync ( 1568s # GDBusConnection *connection, 1568s # GDBusProxyFlags flags, 1568s # const gchar *name, 1568s # const gchar *object_path, 1568s # GCancellable *cancellable, 1568s # GError **error) 1568s # { 1568s # GInitable *ret; 1568s # 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); 1568s # if (ret != NULL) 1568s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1568s # else 1568s # return NULL; 1568s # } 1568s # 1568s # 1568s # /** 1568s # * org_project_signaling_iface_proxy_new_for_bus: 1568s # * @bus_type: A #GBusType. 1568s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1568s # * @name: A bus name (well-known or unique). 1568s # * @object_path: An object path. 1568s # * @cancellable: (nullable): A #GCancellable or %NULL. 1568s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1568s # * @user_data: User data to pass to @callback. 1568s # * 1568s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1568s # * 1568s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1568s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1568s # * 1568s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1568s # */ 1568s # void 1568s # org_project_signaling_iface_proxy_new_for_bus ( 1568s # GBusType bus_type, 1568s # GDBusProxyFlags flags, 1568s # const gchar *name, 1568s # const gchar *object_path, 1568s # GCancellable *cancellable, 1568s # GAsyncReadyCallback callback, 1568s # gpointer user_data) 1568s # { 1568s # 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); 1568s # } 1568s # 1568s # /** 1568s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1568s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1568s # * @error: Return location for error or %NULL 1568s # * 1568s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1568s # * 1568s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1568s # */ 1568s # OrgProjectSignalingIface * 1568s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1568s # GAsyncResult *res, 1568s # GError **error) 1568s # { 1568s # GObject *ret; 1568s # GObject *source_object; 1568s # source_object = g_async_result_get_source_object (res); 1568s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1568s # g_object_unref (source_object); 1568s # if (ret != NULL) 1568s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1568s # else 1568s # return NULL; 1568s # } 1568s # 1568s # /** 1568s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1568s # * @bus_type: A #GBusType. 1568s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1568s # * @name: A bus name (well-known or unique). 1568s # * @object_path: An object path. 1568s # * @cancellable: (nullable): A #GCancellable or %NULL. 1568s # * @error: Return location for error or %NULL 1568s # * 1568s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1568s # * 1568s # * The calling thread is blocked until a reply is received. 1568s # * 1568s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1568s # * 1568s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1568s # */ 1568s # OrgProjectSignalingIface * 1568s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1568s # GBusType bus_type, 1568s # GDBusProxyFlags flags, 1568s # const gchar *name, 1568s # const gchar *object_path, 1568s # GCancellable *cancellable, 1568s # GError **error) 1568s # { 1568s # GInitable *ret; 1568s # 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); 1568s # if (ret != NULL) 1568s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1568s # else 1568s # return NULL; 1568s # } 1568s # 1568s # 1568s # /* ------------------------------------------------------------------------ */ 1568s # 1568s # /** 1568s # * OrgProjectSignalingIfaceSkeleton: 1568s # * 1568s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1568s # */ 1568s # 1568s # /** 1568s # * OrgProjectSignalingIfaceSkeletonClass: 1568s # * @parent_class: The parent class. 1568s # * 1568s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1568s # */ 1568s # 1568s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1568s # { 1568s # GValue *properties; 1568s # GList *changed_properties; 1568s # GSource *changed_properties_idle_source; 1568s # GMainContext *context; 1568s # GMutex lock; 1568s # }; 1568s # 1568s # static void 1568s # _org_project_signaling_iface_skeleton_handle_method_call ( 1568s # GDBusConnection *connection G_GNUC_UNUSED, 1568s # const gchar *sender G_GNUC_UNUSED, 1568s # const gchar *object_path G_GNUC_UNUSED, 1568s # const gchar *interface_name, 1568s # const gchar *method_name, 1568s # GVariant *parameters, 1568s # GDBusMethodInvocation *invocation, 1568s # gpointer user_data) 1568s # { 1568s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1568s # _ExtendedGDBusMethodInfo *info; 1568s # GVariantIter iter; 1568s # GVariant *child; 1568s # GValue *paramv; 1568s # gsize num_params; 1568s # guint num_extra; 1568s # gsize n; 1568s # guint signal_id; 1568s # GValue return_value = G_VALUE_INIT; 1568s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1568s # g_assert (info != NULL); 1568s # num_params = g_variant_n_children (parameters); 1568s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1568s # n = 0; 1568s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1568s # g_value_set_object (¶mv[n++], skeleton); 1568s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1568s # g_value_set_object (¶mv[n++], invocation); 1568s # if (info->pass_fdlist) 1568s # { 1568s # #ifdef G_OS_UNIX 1568s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1568s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1568s # #else 1568s # g_assert_not_reached (); 1568s # #endif 1568s # } 1568s # g_variant_iter_init (&iter, parameters); 1568s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1568s # { 1568s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1568s # if (arg_info->use_gvariant) 1568s # { 1568s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1568s # g_value_set_variant (¶mv[n], child); 1568s # n++; 1568s # } 1568s # else 1568s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1568s # g_variant_unref (child); 1568s # } 1568s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1568s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1568s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1568s # if (!g_value_get_boolean (&return_value)) 1568s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1568s # g_value_unset (&return_value); 1568s # for (n = 0; n < num_params + num_extra; n++) 1568s # g_value_unset (¶mv[n]); 1568s # g_free (paramv); 1568s # } 1568s # 1568s # static GVariant * 1568s # _org_project_signaling_iface_skeleton_handle_get_property ( 1568s # GDBusConnection *connection G_GNUC_UNUSED, 1568s # const gchar *sender G_GNUC_UNUSED, 1568s # const gchar *object_path G_GNUC_UNUSED, 1568s # const gchar *interface_name G_GNUC_UNUSED, 1568s # const gchar *property_name, 1568s # GError **error, 1568s # gpointer user_data) 1568s # { 1568s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1568s # GValue value = G_VALUE_INIT; 1568s # GParamSpec *pspec; 1568s # _ExtendedGDBusPropertyInfo *info; 1568s # GVariant *ret; 1568s # ret = NULL; 1568s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1568s # g_assert (info != NULL); 1568s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1568s # if (pspec == NULL) 1568s # { 1568s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1568s # } 1568s # else 1568s # { 1568s # g_value_init (&value, pspec->value_type); 1568s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1568s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1568s # g_value_unset (&value); 1568s # } 1568s # return ret; 1568s # } 1568s # 1568s # static gboolean 1568s # _org_project_signaling_iface_skeleton_handle_set_property ( 1568s # GDBusConnection *connection G_GNUC_UNUSED, 1568s # const gchar *sender G_GNUC_UNUSED, 1568s # const gchar *object_path G_GNUC_UNUSED, 1568s # const gchar *interface_name G_GNUC_UNUSED, 1568s # const gchar *property_name, 1568s # GVariant *variant, 1568s # GError **error, 1568s # gpointer user_data) 1568s # { 1568s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1568s # GValue value = G_VALUE_INIT; 1568s # GParamSpec *pspec; 1568s # _ExtendedGDBusPropertyInfo *info; 1568s # gboolean ret; 1568s # ret = FALSE; 1568s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1568s # g_assert (info != NULL); 1568s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1568s # if (pspec == NULL) 1568s # { 1568s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1568s # } 1568s # else 1568s # { 1568s # if (info->use_gvariant) 1568s # g_value_set_variant (&value, variant); 1568s # else 1568s # g_dbus_gvariant_to_gvalue (variant, &value); 1568s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1568s # g_value_unset (&value); 1568s # ret = TRUE; 1568s # } 1568s # return ret; 1568s # } 1568s # 1568s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1568s # { 1568s # _org_project_signaling_iface_skeleton_handle_method_call, 1568s # _org_project_signaling_iface_skeleton_handle_get_property, 1568s # _org_project_signaling_iface_skeleton_handle_set_property, 1568s # {NULL} 1568s # }; 1568s # 1568s # static GDBusInterfaceInfo * 1568s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1568s # { 1568s # return org_project_signaling_iface_interface_info (); 1568s # } 1568s # 1568s # static GDBusInterfaceVTable * 1568s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1568s # { 1568s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1568s # } 1568s # 1568s # static GVariant * 1568s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1568s # { 1568s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1568s # 1568s # GVariantBuilder builder; 1568s # guint n; 1568s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1568s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1568s # goto out; 1568s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1568s # { 1568s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1568s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1568s # { 1568s # GVariant *value; 1568s # 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); 1568s # if (value != NULL) 1568s # { 1568s # g_variant_take_ref (value); 1568s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1568s # g_variant_unref (value); 1568s # } 1568s # } 1568s # } 1568s # out: 1568s # return g_variant_builder_end (&builder); 1568s # } 1568s # 1568s # static void 1568s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1568s # { 1568s # } 1568s # 1568s # static void 1568s # _org_project_signaling_iface_on_signal_simple_signal ( 1568s # OrgProjectSignalingIface *object) 1568s # { 1568s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1568s # 1568s # GList *connections, *l; 1568s # GVariant *signal_variant; 1568s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1568s # 1568s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1568s # for (l = connections; l != NULL; l = l->next) 1568s # { 1568s # GDBusConnection *connection = l->data; 1568s # g_dbus_connection_emit_signal (connection, 1568s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 1568s # signal_variant, NULL); 1568s # } 1568s # g_variant_unref (signal_variant); 1568s # g_list_free_full (connections, g_object_unref); 1568s # } 1568s # 1568s # static void 1568s # _org_project_signaling_iface_on_signal_single_arg_signal_x ( 1568s # OrgProjectSignalingIface *object, 1568s # gint64 arg_arg_x) 1568s # { 1568s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1568s # 1568s # GList *connections, *l; 1568s # GVariant *signal_variant; 1568s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1568s # 1568s # signal_variant = g_variant_ref_sink (g_variant_new ("(x)", 1568s # arg_arg_x)); 1568s # for (l = connections; l != NULL; l = l->next) 1568s # { 1568s # GDBusConnection *connection = l->data; 1568s # g_dbus_connection_emit_signal (connection, 1568s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalX", 1568s # signal_variant, NULL); 1568s # } 1568s # g_variant_unref (signal_variant); 1568s # g_list_free_full (connections, g_object_unref); 1568s # } 1568s # 1568s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1568s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1568s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1568s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1568s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1568s # 1568s # #else 1568s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1568s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1568s # 1568s # #endif 1568s # static void 1568s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1568s # { 1568s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1568s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1568s # if (skeleton->priv->changed_properties_idle_source != NULL) 1568s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1568s # g_main_context_unref (skeleton->priv->context); 1568s # g_mutex_clear (&skeleton->priv->lock); 1568s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1568s # } 1568s # 1568s # static void 1568s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1568s # { 1568s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1568s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1568s # #else 1568s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1568s # #endif 1568s # 1568s # g_mutex_init (&skeleton->priv->lock); 1568s # skeleton->priv->context = g_main_context_ref_thread_default (); 1568s # } 1568s # 1568s # static void 1568s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1568s # { 1568s # GObjectClass *gobject_class; 1568s # GDBusInterfaceSkeletonClass *skeleton_class; 1568s # 1568s # gobject_class = G_OBJECT_CLASS (klass); 1568s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1568s # 1568s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1568s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1568s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1568s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1568s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1568s # 1568s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1568s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1568s # #endif 1568s # } 1568s # 1568s # static void 1568s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1568s # { 1568s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 1568s # iface->single_arg_signal_x = _org_project_signaling_iface_on_signal_single_arg_signal_x; 1568s # } 1568s # 1568s # /** 1568s # * org_project_signaling_iface_skeleton_new: 1568s # * 1568s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1568s # * 1568s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1568s # */ 1568s # OrgProjectSignalingIface * 1568s # org_project_signaling_iface_skeleton_new (void) 1568s # { 1568s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1568s # } 1568s # /tmp/tmpgfozeg7c/tmphgz4mjt9.xml: 1568s # 1568s # 1568s # 1568s # 1568s # 1568s # 1568s # 1568s # 1568s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpgfozeg7c/tmphgz4mjt9.xml', '--output', '-', '--body'] 1568s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-baqskmurxn,guid=fbaffe99d0ccb1f6e1beb84865fc01cd', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.YcZbqk/autopkgtest_tmp', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.YcZbqk/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.YcZbqk/autopkgtest_tmp', 'TERM': 'unknown', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.YcZbqk/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.sVTVMp0Db0', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.rqZsJO/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.YcZbqk/wrapper.sh --artifacts=/tmp/autopkgtest.YcZbqk/installed-tests-artifacts --chdir=/tmp/autopkgtest.YcZbqk/build.S0E/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.YcZbqk/installed-tests-stderr --stdout=/tmp/autopkgtest.YcZbqk/installed-tests-stdout --tmp=/tmp/autopkgtest.YcZbqk/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2' --make-executable=/tmp/autopkgtest.YcZbqk/build.S0E/src/debian/tests/installed-tests -- /tmp/autopkgtest.YcZbqk/build.S0E/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.YcZbqk/build.S0E/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.YcZbqk/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1568s # Output: /* 1568s # * This file is generated by gdbus-codegen, do not modify it. 1568s # * 1568s # * The license of this code is the same as for the D-Bus interface description 1568s # * it was derived from. Note that it links to GLib, so must comply with the 1568s # * LGPL linking clauses. 1568s # */ 1568s # 1568s # #ifdef HAVE_CONFIG_H 1568s # # include "config.h" 1568s # #endif 1568s # 1568s # #include 1568s # #ifdef G_OS_UNIX 1568s # # include 1568s # #endif 1568s # 1568s # #ifdef G_ENABLE_DEBUG 1568s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1568s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1568s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1568s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1568s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1568s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1568s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1568s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1568s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1568s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1568s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1568s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1568s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1568s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1568s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1568s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1568s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1568s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1568s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1568s # #else /* !G_ENABLE_DEBUG */ 1568s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1568s # * Do not access GValues directly in your code. Instead, use the 1568s # * g_value_get_*() functions 1568s # */ 1568s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1568s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1568s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1568s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1568s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1568s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1568s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1568s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1568s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1568s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1568s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1568s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1568s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1568s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1568s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1568s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1568s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1568s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1568s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1568s # #endif /* !G_ENABLE_DEBUG */ 1568s # 1568s # typedef struct 1568s # { 1568s # GDBusArgInfo parent_struct; 1568s # gboolean use_gvariant; 1568s # } _ExtendedGDBusArgInfo; 1568s # 1568s # typedef struct 1568s # { 1568s # GDBusMethodInfo parent_struct; 1568s # const gchar *signal_name; 1568s # gboolean pass_fdlist; 1568s # } _ExtendedGDBusMethodInfo; 1568s # 1568s # typedef struct 1568s # { 1568s # GDBusSignalInfo parent_struct; 1568s # const gchar *signal_name; 1568s # } _ExtendedGDBusSignalInfo; 1568s # 1568s # typedef struct 1568s # { 1568s # GDBusPropertyInfo parent_struct; 1568s # const gchar *hyphen_name; 1568s # guint use_gvariant : 1; 1568s # guint emits_changed_signal : 1; 1568s # } _ExtendedGDBusPropertyInfo; 1568s # 1568s # typedef struct 1568s # { 1568s # GDBusInterfaceInfo parent_struct; 1568s # const gchar *hyphen_name; 1568s # } _ExtendedGDBusInterfaceInfo; 1568s # 1568s # typedef struct 1568s # { 1568s # const _ExtendedGDBusPropertyInfo *info; 1568s # guint prop_id; 1568s # GValue orig_value; /* the value before the change */ 1568s # } ChangedProperty; 1568s # 1568s # static void 1568s # _changed_property_free (ChangedProperty *data) 1568s # { 1568s # g_value_unset (&data->orig_value); 1568s # g_free (data); 1568s # } 1568s # 1568s # static gboolean 1568s # _g_strv_equal0 (gchar **a, gchar **b) 1568s # { 1568s # gboolean ret = FALSE; 1568s # guint n; 1568s # if (a == NULL && b == NULL) 1568s # { 1568s # ret = TRUE; 1568s # goto out; 1568s # } 1568s # if (a == NULL || b == NULL) 1568s # goto out; 1568s # if (g_strv_length (a) != g_strv_length (b)) 1568s # goto out; 1568s # for (n = 0; a[n] != NULL; n++) 1568s # if (g_strcmp0 (a[n], b[n]) != 0) 1568s # goto out; 1568s # ret = TRUE; 1568s # out: 1568s # return ret; 1568s # } 1568s # 1568s # static gboolean 1568s # _g_variant_equal0 (GVariant *a, GVariant *b) 1568s # { 1568s # gboolean ret = FALSE; 1568s # if (a == NULL && b == NULL) 1568s # { 1568s # ret = TRUE; 1568s # goto out; 1568s # } 1568s # if (a == NULL || b == NULL) 1568s # goto out; 1568s # ret = g_variant_equal (a, b); 1568s # out: 1568s # return ret; 1568s # } 1568s # 1568s # G_GNUC_UNUSED static gboolean 1568s # _g_value_equal (const GValue *a, const GValue *b) 1568s # { 1568s # gboolean ret = FALSE; 1568s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1568s # switch (G_VALUE_TYPE (a)) 1568s # { 1568s # case G_TYPE_BOOLEAN: 1568s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1568s # break; 1568s # case G_TYPE_UCHAR: 1568s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1568s # break; 1568s # case G_TYPE_INT: 1568s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1568s # break; 1568s # case G_TYPE_UINT: 1568s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1568s # break; 1568s # case G_TYPE_INT64: 1568s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1568s # break; 1568s # case G_TYPE_UINT64: 1568s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1568s # break; 1568s # case G_TYPE_DOUBLE: 1568s # { 1568s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1568s # gdouble da = g_value_get_double (a); 1568s # gdouble db = g_value_get_double (b); 1568s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1568s # } 1568s # break; 1568s # case G_TYPE_STRING: 1568s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1568s # break; 1568s # case G_TYPE_VARIANT: 1568s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1568s # break; 1568s # default: 1568s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1568s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1568s # else 1568s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1568s # break; 1568s # } 1568s # return ret; 1568s # } 1568s # 1568s # static void 1568s # _g_dbus_codegen_marshal_VOID__UINT64 ( 1568s # GClosure *closure, 1568s # GValue *return_value G_GNUC_UNUSED, 1568s # unsigned int n_param_values, 1568s # const GValue *param_values, 1568s # void *invocation_hint G_GNUC_UNUSED, 1568s # void *marshal_data) 1568s # { 1568s # typedef void (*_GDbusCodegenMarshalVoid_Uint64Func) 1568s # (void *data1, 1568s # guint64 arg_arg_t, 1568s # void *data2); 1568s # _GDbusCodegenMarshalVoid_Uint64Func callback; 1568s # GCClosure *cc = (GCClosure*) closure; 1568s # void *data1, *data2; 1568s # 1568s # g_return_if_fail (n_param_values == 2); 1568s # 1568s # if (G_CCLOSURE_SWAP_DATA (closure)) 1568s # { 1568s # data1 = closure->data; 1568s # data2 = g_value_peek_pointer (param_values + 0); 1568s # } 1568s # else 1568s # { 1568s # data1 = g_value_peek_pointer (param_values + 0); 1568s # data2 = closure->data; 1568s # } 1568s # 1568s # callback = (_GDbusCodegenMarshalVoid_Uint64Func) 1568s # (marshal_data ? marshal_data : cc->callback); 1568s # 1568s # callback (data1, 1568s # g_marshal_value_peek_uint64 (param_values + 1), 1568s # data2); 1568s # } 1568s # 1568s # /* ------------------------------------------------------------------------ 1568s # * Code for interface org.project.SignalingIface 1568s # * ------------------------------------------------------------------------ 1568s # */ 1568s # 1568s # /** 1568s # * SECTION:OrgProjectSignalingIface 1568s # * @title: OrgProjectSignalingIface 1568s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1568s # * 1568s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1568s # */ 1568s # 1568s # enum 1568s # { 1568s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 1568s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_T, 1568s # }; 1568s # 1568s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 1568s # 1568s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1568s # 1568s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 1568s # { 1568s # { 1568s # -1, 1568s # (gchar *) "SimpleSignal", 1568s # NULL, 1568s # NULL 1568s # }, 1568s # "simple-signal" 1568s # }; 1568s # 1568s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_t_ARG_arg_t = 1568s # { 1568s # { 1568s # -1, 1568s # (gchar *) "arg_t", 1568s # (gchar *) "t", 1568s # NULL 1568s # }, 1568s # FALSE 1568s # }; 1568s # 1568s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_t_ARG_pointers[] = 1568s # { 1568s # &_org_project_signaling_iface_signal_info_single_arg_signal_t_ARG_arg_t.parent_struct, 1568s # NULL 1568s # }; 1568s # 1568s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_t = 1568s # { 1568s # { 1568s # -1, 1568s # (gchar *) "SingleArgSignalT", 1568s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_t_ARG_pointers, 1568s # NULL 1568s # }, 1568s # "single-arg-signal-t" 1568s # }; 1568s # 1568s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1568s # { 1568s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 1568s # &_org_project_signaling_iface_signal_info_single_arg_signal_t.parent_struct, 1568s # NULL 1568s # }; 1568s # 1568s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1568s # { 1568s # { 1568s # -1, 1568s # (gchar *) "org.project.SignalingIface", 1568s # NULL, 1568s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1568s # NULL, 1568s # NULL 1568s # }, 1568s # "org-project-signaling-iface", 1568s # }; 1568s # 1568s # 1568s # /** 1568s # * org_project_signaling_iface_interface_info: 1568s # * 1568s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1568s # * 1568s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1568s # */ 1568s # GDBusInterfaceInfo * 1568s # org_project_signaling_iface_interface_info (void) 1568s # { 1568s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1568s # } 1568s # 1568s # /** 1568s # * org_project_signaling_iface_override_properties: 1568s # * @klass: The class structure for a #GObject derived class. 1568s # * @property_id_begin: The property id to assign to the first overridden property. 1568s # * 1568s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1568s # * The properties are overridden in the order they are defined. 1568s # * 1568s # * Returns: The last property id. 1568s # */ 1568s # guint 1568s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1568s # { 1568s # return property_id_begin - 1; 1568s # } 1568s # 1568s # 1568s # inline static void 1568s # org_project_signaling_iface_signal_marshal_simple_signal ( 1568s # GClosure *closure, 1568s # GValue *return_value, 1568s # unsigned int n_param_values, 1568s # const GValue *param_values, 1568s # void *invocation_hint, 1568s # void *marshal_data) 1568s # { 1568s # g_cclosure_marshal_VOID__VOID (closure, 1568s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1568s # } 1568s # 1568s # inline static void 1568s # org_project_signaling_iface_signal_marshal_single_arg_signal_t ( 1568s # GClosure *closure, 1568s # GValue *return_value, 1568s # unsigned int n_param_values, 1568s # const GValue *param_values, 1568s # void *invocation_hint, 1568s # void *marshal_data) 1568s # { 1568s # _g_dbus_codegen_marshal_VOID__UINT64 (closure, 1568s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1568s # } 1568s # 1568s # 1568s # /** 1568s # * OrgProjectSignalingIface: 1568s # * 1568s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1568s # */ 1568s # 1568s # /** 1568s # * OrgProjectSignalingIfaceIface: 1568s # * @parent_iface: The parent interface. 1568s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 1568s # * @single_arg_signal_t: Handler for the #OrgProjectSignalingIface::single-arg-signal-t signal. 1568s # * 1568s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1568s # */ 1568s # 1568s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1568s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1568s # 1568s # static void 1568s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1568s # { 1568s # /* GObject signals for received D-Bus signals: */ 1568s # /** 1568s # * OrgProjectSignalingIface::simple-signal: 1568s # * @object: A #OrgProjectSignalingIface. 1568s # * 1568s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1568s # * 1568s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1568s # */ 1568s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 1568s # g_signal_new ("simple-signal", 1568s # G_TYPE_FROM_INTERFACE (iface), 1568s # G_SIGNAL_RUN_LAST, 1568s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 1568s # NULL, 1568s # NULL, 1568s # org_project_signaling_iface_signal_marshal_simple_signal, 1568s # G_TYPE_NONE, 1568s # 0); 1568s # 1568s # /** 1568s # * OrgProjectSignalingIface::single-arg-signal-t: 1568s # * @object: A #OrgProjectSignalingIface. 1568s # * @arg_arg_t: Argument. 1568s # * 1568s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalT" is received. 1568s # * 1568s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1568s # */ 1568s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_T] = 1568s # g_signal_new ("single-arg-signal-t", 1568s # G_TYPE_FROM_INTERFACE (iface), 1568s # G_SIGNAL_RUN_LAST, 1568s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_t), 1568s # NULL, 1568s # NULL, 1568s # org_project_signaling_iface_signal_marshal_single_arg_signal_t, 1568s # G_TYPE_NONE, 1568s # 1, G_TYPE_UINT64); 1568s # 1568s # } 1568s # 1568s # /** 1568s # * org_project_signaling_iface_emit_simple_signal: 1568s # * @object: A #OrgProjectSignalingIface. 1568s # * 1568s # * Emits the "SimpleSignal" D-Bus signal. 1568s # */ 1568s # void 1568s # org_project_signaling_iface_emit_simple_signal ( 1568s # OrgProjectSignalingIface *object) 1568s # { 1568s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 1568s # } 1568s # 1568s # /** 1568s # * org_project_signaling_iface_emit_single_arg_signal_t: 1568s # * @object: A #OrgProjectSignalingIface. 1568s # * @arg_arg_t: Argument to pass with the signal. 1568s # * 1568s # * Emits the "SingleArgSignalT" D-Bus signal. 1568s # */ 1568s # void 1568s # org_project_signaling_iface_emit_single_arg_signal_t ( 1568s # OrgProjectSignalingIface *object, 1568s # guint64 arg_arg_t) 1568s # { 1568s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_T], 0, arg_arg_t); 1568s # } 1568s # 1568s # /* ------------------------------------------------------------------------ */ 1568s # 1568s # /** 1568s # * OrgProjectSignalingIfaceProxy: 1568s # * 1568s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1568s # */ 1568s # 1568s # /** 1568s # * OrgProjectSignalingIfaceProxyClass: 1568s # * @parent_class: The parent class. 1568s # * 1568s # * Class structure for #OrgProjectSignalingIfaceProxy. 1568s # */ 1568s # 1568s # struct _OrgProjectSignalingIfaceProxyPrivate 1568s # { 1568s # GData *qdata; 1568s # }; 1568s # 1568s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1568s # 1568s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1568s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1568s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1568s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1568s # 1568s # #else 1568s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1568s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1568s # 1568s # #endif 1568s # static void 1568s # org_project_signaling_iface_proxy_finalize (GObject *object) 1568s # { 1568s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1568s # g_datalist_clear (&proxy->priv->qdata); 1568s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1568s # } 1568s # 1568s # static void 1568s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1568s # guint prop_id G_GNUC_UNUSED, 1568s # GValue *value G_GNUC_UNUSED, 1568s # GParamSpec *pspec G_GNUC_UNUSED) 1568s # { 1568s # } 1568s # 1568s # static void 1568s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1568s # guint prop_id G_GNUC_UNUSED, 1568s # const GValue *value G_GNUC_UNUSED, 1568s # GParamSpec *pspec G_GNUC_UNUSED) 1568s # { 1568s # } 1568s # 1568s # static void 1568s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1568s # const gchar *sender_name G_GNUC_UNUSED, 1568s # const gchar *signal_name, 1568s # GVariant *parameters) 1568s # { 1568s # _ExtendedGDBusSignalInfo *info; 1568s # GVariantIter iter; 1568s # GVariant *child; 1568s # GValue *paramv; 1568s # gsize num_params; 1568s # gsize n; 1568s # guint signal_id; 1568s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1568s # if (info == NULL) 1568s # return; 1568s # num_params = g_variant_n_children (parameters); 1568s # paramv = g_new0 (GValue, num_params + 1); 1568s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1568s # g_value_set_object (¶mv[0], proxy); 1568s # g_variant_iter_init (&iter, parameters); 1568s # n = 1; 1568s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1568s # { 1568s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1568s # if (arg_info->use_gvariant) 1568s # { 1568s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1568s # g_value_set_variant (¶mv[n], child); 1568s # n++; 1568s # } 1568s # else 1568s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1568s # g_variant_unref (child); 1568s # } 1568s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1568s # g_signal_emitv (paramv, signal_id, 0, NULL); 1568s # for (n = 0; n < num_params + 1; n++) 1568s # g_value_unset (¶mv[n]); 1568s # g_free (paramv); 1568s # } 1568s # 1568s # static void 1568s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1568s # GVariant *changed_properties, 1568s # const gchar *const *invalidated_properties) 1568s # { 1568s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1568s # guint n; 1568s # const gchar *key; 1568s # GVariantIter *iter; 1568s # _ExtendedGDBusPropertyInfo *info; 1568s # g_variant_get (changed_properties, "a{sv}", &iter); 1568s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1568s # { 1568s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1568s # g_datalist_remove_data (&proxy->priv->qdata, key); 1568s # if (info != NULL) 1568s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1568s # } 1568s # g_variant_iter_free (iter); 1568s # for (n = 0; invalidated_properties[n] != NULL; n++) 1568s # { 1568s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1568s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1568s # if (info != NULL) 1568s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1568s # } 1568s # } 1568s # 1568s # static void 1568s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1568s # { 1568s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1568s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1568s # #else 1568s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1568s # #endif 1568s # 1568s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1568s # } 1568s # 1568s # static void 1568s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1568s # { 1568s # GObjectClass *gobject_class; 1568s # GDBusProxyClass *proxy_class; 1568s # 1568s # gobject_class = G_OBJECT_CLASS (klass); 1568s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1568s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1568s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1568s # 1568s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1568s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1568s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1568s # 1568s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1568s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1568s # #endif 1568s # } 1568s # 1568s # static void 1568s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1568s # { 1568s # } 1568s # 1568s # /** 1568s # * org_project_signaling_iface_proxy_new: 1568s # * @connection: A #GDBusConnection. 1568s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1568s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1568s # * @object_path: An object path. 1568s # * @cancellable: (nullable): A #GCancellable or %NULL. 1568s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1568s # * @user_data: User data to pass to @callback. 1568s # * 1568s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1568s # * 1568s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1568s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1568s # * 1568s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1568s # */ 1568s # void 1568s # org_project_signaling_iface_proxy_new ( 1568s # GDBusConnection *connection, 1568s # GDBusProxyFlags flags, 1568s # const gchar *name, 1568s # const gchar *object_path, 1568s # GCancellable *cancellable, 1568s # GAsyncReadyCallback callback, 1568s # gpointer user_data) 1568s # { 1568s # 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); 1568s # } 1568s # 1568s # /** 1568s # * org_project_signaling_iface_proxy_new_finish: 1568s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1568s # * @error: Return location for error or %NULL 1568s # * 1568s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1568s # * 1568s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1568s # */ 1568s # OrgProjectSignalingIface * 1568s # org_project_signaling_iface_proxy_new_finish ( 1568s # GAsyncResult *res, 1568s # GError **error) 1568s # { 1568s # GObject *ret; 1568s # GObject *source_object; 1568s # source_object = g_async_result_get_source_object (res); 1568s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1568s # g_object_unref (source_object); 1568s # if (ret != NULL) 1568s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1568s # else 1568s # return NULL; 1568s # } 1568s # 1568s # /** 1568s # * org_project_signaling_iface_proxy_new_sync: 1568s # * @connection: A #GDBusConnection. 1568s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1568s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1568s # * @object_path: An object path. 1568s # * @cancellable: (nullable): A #GCancellable or %NULL. 1568s # * @error: Return location for error or %NULL 1568s # * 1568s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1568s # * 1568s # * The calling thread is blocked until a reply is received. 1568s # * 1568s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1568s # * 1568s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1568s # */ 1568s # OrgProjectSignalingIface * 1568s # org_project_signaling_iface_proxy_new_sync ( 1568s # GDBusConnection *connection, 1568s # GDBusProxyFlags flags, 1568s # const gchar *name, 1568s # const gchar *object_path, 1568s # GCancellable *cancellable, 1568s # GError **error) 1568s # { 1568s # GInitable *ret; 1568s # 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); 1568s # if (ret != NULL) 1568s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1568s # else 1568s # return NULL; 1568s # } 1568s # 1568s # 1568s # /** 1568s # * org_project_signaling_iface_proxy_new_for_bus: 1568s # * @bus_type: A #GBusType. 1568s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1568s # * @name: A bus name (well-known or unique). 1568s # * @object_path: An object path. 1568s # * @cancellable: (nullable): A #GCancellable or %NULL. 1568s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1568s # * @user_data: User data to pass to @callback. 1568s # * 1568s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1568s # * 1568s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1568s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1568s # * 1568s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1568s # */ 1568s # void 1568s # org_project_signaling_iface_proxy_new_for_bus ( 1568s # GBusType bus_type, 1568s # GDBusProxyFlags flags, 1568s # const gchar *name, 1568s # const gchar *object_path, 1568s # GCancellable *cancellable, 1568s # GAsyncReadyCallback callback, 1568s # gpointer user_data) 1568s # { 1568s # 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); 1568s # } 1568s # 1568s # /** 1568s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1568s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1568s # * @error: Return location for error or %NULL 1568s # * 1568s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1568s # * 1568s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1568s # */ 1568s # OrgProjectSignalingIface * 1568s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1568s # GAsyncResult *res, 1568s # GError **error) 1568s # { 1568s # GObject *ret; 1568s # GObject *source_object; 1568s # source_object = g_async_result_get_source_object (res); 1568s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1568s # g_object_unref (source_object); 1568s # if (ret != NULL) 1568s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1568s # else 1568s # return NULL; 1568s # } 1568s # 1568s # /** 1568s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1568s # * @bus_type: A #GBusType. 1568s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1568s # * @name: A bus name (well-known or unique). 1568s # * @object_path: An object path. 1568s # * @cancellable: (nullable): A #GCancellable or %NULL. 1568s # * @error: Return location for error or %NULL 1568s # * 1568s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1568s # * 1568s # * The calling thread is blocked until a reply is received. 1568s # * 1568s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1568s # * 1568s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1568s # */ 1568s # OrgProjectSignalingIface * 1568s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1568s # GBusType bus_type, 1568s # GDBusProxyFlags flags, 1568s # const gchar *name, 1568s # const gchar *object_path, 1568s # GCancellable *cancellable, 1568s # GError **error) 1568s # { 1568s # GInitable *ret; 1568s # 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); 1568s # if (ret != NULL) 1568s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1568s # else 1568s # return NULL; 1568s # } 1568s # 1568s # 1568s # /* ------------------------------------------------------------------------ */ 1568s # 1568s # /** 1568s # * OrgProjectSignalingIfaceSkeleton: 1568s # * 1568s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1568s # */ 1568s # 1568s # /** 1568s # * OrgProjectSignalingIfaceSkeletonClass: 1568s # * @parent_class: The parent class. 1568s # * 1568s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1568s # */ 1568s # 1568s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1568s # { 1568s # GValue *properties; 1568s # GList *changed_properties; 1568s # GSource *changed_properties_idle_source; 1568s # GMainContext *context; 1568s # GMutex lock; 1568s # }; 1568s # 1568s # static void 1568s # _org_project_signaling_iface_skeleton_handle_method_call ( 1568s # GDBusConnection *connection G_GNUC_UNUSED, 1568s # const gchar *sender G_GNUC_UNUSED, 1568s # const gchar *object_path G_GNUC_UNUSED, 1568s # const gchar *interface_name, 1568s # const gchar *method_name, 1568s # GVariant *parameters, 1568s # GDBusMethodInvocation *invocation, 1568s # gpointer user_data) 1568s # { 1568s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1568s # _ExtendedGDBusMethodInfo *info; 1568s # GVariantIter iter; 1568s # GVariant *child; 1568s # GValue *paramv; 1568s # gsize num_params; 1568s # guint num_extra; 1568s # gsize n; 1568s # guint signal_id; 1568s # GValue return_value = G_VALUE_INIT; 1568s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1568s # g_assert (info != NULL); 1568s # num_params = g_variant_n_children (parameters); 1568s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1568s # n = 0; 1568s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1568s # g_value_set_object (¶mv[n++], skeleton); 1568s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1568s # g_value_set_object (¶mv[n++], invocation); 1568s # if (info->pass_fdlist) 1568s # { 1568s # #ifdef G_OS_UNIX 1568s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1568s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1568s # #else 1568s # g_assert_not_reached (); 1568s # #endif 1568s # } 1568s # g_variant_iter_init (&iter, parameters); 1568s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1568s # { 1568s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1568s # if (arg_info->use_gvariant) 1568s # { 1568s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1568s # g_value_set_variant (¶mv[n], child); 1568s # n++; 1568s # } 1568s # else 1568s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1568s # g_variant_unref (child); 1568s # } 1568s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1568s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1568s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1568s # if (!g_value_get_boolean (&return_value)) 1568s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1568s # g_value_unset (&return_value); 1568s # for (n = 0; n < num_params + num_extra; n++) 1568s # g_value_unset (¶mv[n]); 1568s # g_free (paramv); 1568s # } 1568s # 1568s # static GVariant * 1568s # _org_project_signaling_iface_skeleton_handle_get_property ( 1568s # GDBusConnection *connection G_GNUC_UNUSED, 1568s # const gchar *sender G_GNUC_UNUSED, 1568s # const gchar *object_path G_GNUC_UNUSED, 1568s # const gchar *interface_name G_GNUC_UNUSED, 1568s # const gchar *property_name, 1568s # GError **error, 1568s # gpointer user_data) 1568s # { 1568s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1568s # GValue value = G_VALUE_INIT; 1568s # GParamSpec *pspec; 1568s # _ExtendedGDBusPropertyInfo *info; 1568s # GVariant *ret; 1568s # ret = NULL; 1568s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1568s # g_assert (info != NULL); 1568s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1568s # if (pspec == NULL) 1568s # { 1568s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1568s # } 1568s # else 1568s # { 1568s # g_value_init (&value, pspec->value_type); 1568s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1568s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1568s # g_value_unset (&value); 1568s # } 1568s # return ret; 1568s # } 1568s # 1568s # static gboolean 1568s # _org_project_signaling_iface_skeleton_handle_set_property ( 1568s # GDBusConnection *connection G_GNUC_UNUSED, 1568s # const gchar *sender G_GNUC_UNUSED, 1568s # const gchar *object_path G_GNUC_UNUSED, 1568s # const gchar *interface_name G_GNUC_UNUSED, 1568s # const gchar *property_name, 1568s # GVariant *variant, 1568s # GError **error, 1568s # gpointer user_data) 1568s # { 1568s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1568s # GValue value = G_VALUE_INIT; 1568s # GParamSpec *pspec; 1568s # _ExtendedGDBusPropertyInfo *info; 1568s # gboolean ret; 1568s # ret = FALSE; 1568s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1568s # g_assert (info != NULL); 1568s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1568s # if (pspec == NULL) 1568s # { 1568s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1568s # } 1568s # else 1568s # { 1568s # if (info->use_gvariant) 1568s # g_value_set_variant (&value, variant); 1568s # else 1568s # g_dbus_gvariant_to_gvalue (variant, &value); 1568s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1568s # g_value_unset (&value); 1568s # ret = TRUE; 1568s # } 1568s # return ret; 1568s # } 1568s # 1568s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1568s # { 1568s # _org_project_signaling_iface_skeleton_handle_method_call, 1568s # _org_project_signaling_iface_skeleton_handle_get_property, 1568s # _org_project_signaling_iface_skeleton_handle_set_property, 1568s # {NULL} 1568s # }; 1568s # 1568s # static GDBusInterfaceInfo * 1568s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1568s # { 1568s # return org_project_signaling_iface_interface_info (); 1568s # } 1568s # 1568s # static GDBusInterfaceVTable * 1568s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1568s # { 1568s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1568s # } 1568s # 1568s # static GVariant * 1568s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1568s # { 1568s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1568s # 1568s # GVariantBuilder builder; 1568s # guint n; 1568s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1568s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1568s # goto out; 1568s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1568s # { 1568s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1568s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1568s # { 1568s # GVariant *value; 1568s # 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); 1568s # if (value != NULL) 1568s # { 1568s # g_variant_take_ref (value); 1568s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1568s # g_variant_unref (value); 1568s # } 1568s # } 1568s # } 1568s # out: 1568s # return g_variant_builder_end (&builder); 1568s # } 1568s # 1568s # static void 1568s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1568s # { 1568s # } 1568s # 1568s # static void 1568s # _org_project_signaling_iface_on_signal_simple_signal ( 1568s # OrgProjectSignalingIface *object) 1568s # { 1568s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1568s # 1568s # GList *connections, *l; 1568s # GVariant *signal_variant; 1568s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1568s # 1568s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1568s # for (l = connections; l != NULL; l = l->next) 1568s # { 1568s # GDBusConnection *connection = l->data; 1568s # g_dbus_connection_emit_signal (connection, 1568s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 1568s # signal_variant, NULL); 1568s # } 1568s # g_variant_unref (signal_variant); 1568s # g_list_free_full (connections, g_object_unref); 1568s # } 1568s # 1568s # static void 1568s # _org_project_signaling_iface_on_signal_single_arg_signal_t ( 1568s # OrgProjectSignalingIface *object, 1568s # guint64 arg_arg_t) 1568s # { 1568s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1568s # 1568s # GList *connections, *l; 1568s # GVariant *signal_variant; 1568s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1568s # 1568s # signal_variant = g_variant_ref_sink (g_variant_new ("(t)", 1568s # arg_arg_t)); 1568s # for (l = connections; l != NULL; l = l->next) 1568s # { 1568s # GDBusConnection *connection = l->data; 1568s # g_dbus_connection_emit_signal (connection, 1568s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalT", 1568s # signal_variant, NULL); 1568s # } 1568s # g_variant_unref (signal_variant); 1568s # g_list_free_full (connections, g_object_unref); 1568s # } 1568s # 1568s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1568s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1568s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1568s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1568s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1568s # 1568s # #else 1568s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1568s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1568s # 1568s # #endif 1568s # static void 1568s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1568s # { 1568s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1568s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1568s # if (skeleton->priv->changed_properties_idle_source != NULL) 1568s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1568s # g_main_context_unref (skeleton->priv->context); 1568s # g_mutex_clear (&skeleton->priv->lock); 1568s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1568s # } 1568s # 1568s # static void 1568s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1568s # { 1568s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1568s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1568s # #else 1568s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1568s # #endif 1568s # 1568s # g_mutex_init (&skeleton->priv->lock); 1568s # skeleton->priv->context = g_main_context_ref_thread_default (); 1568s # } 1568s # 1568s # static void 1568s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1568s # { 1568s # GObjectClass *gobject_class; 1568s # GDBusInterfaceSkeletonClass *skeleton_class; 1568s # 1568s # gobject_class = G_OBJECT_CLASS (klass); 1568s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1568s # 1568s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1568s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1568s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1568s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1568s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1568s # 1568s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1568s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1568s # #endif 1568s # } 1568s # 1568s # static void 1568s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1568s # { 1568s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 1568s # iface->single_arg_signal_t = _org_project_signaling_iface_on_signal_single_arg_signal_t; 1568s # } 1568s # 1568s # /** 1568s # * org_project_signaling_iface_skeleton_new: 1568s # * 1568s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1568s # * 1568s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1568s # */ 1568s # OrgProjectSignalingIface * 1568s # org_project_signaling_iface_skeleton_new (void) 1568s # { 1568s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1568s # } 1568s # /tmp/tmpgfozeg7c/tmpkn44666q.xml: 1568s # 1568s # 1568s # 1568s # 1568s # 1568s # 1568s # 1568s # 1568s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpgfozeg7c/tmpkn44666q.xml', '--output', '-', '--body'] 1568s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-baqskmurxn,guid=fbaffe99d0ccb1f6e1beb84865fc01cd', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.YcZbqk/autopkgtest_tmp', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.YcZbqk/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.YcZbqk/autopkgtest_tmp', 'TERM': 'unknown', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.YcZbqk/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.sVTVMp0Db0', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.rqZsJO/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.YcZbqk/wrapper.sh --artifacts=/tmp/autopkgtest.YcZbqk/installed-tests-artifacts --chdir=/tmp/autopkgtest.YcZbqk/build.S0E/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.YcZbqk/installed-tests-stderr --stdout=/tmp/autopkgtest.YcZbqk/installed-tests-stdout --tmp=/tmp/autopkgtest.YcZbqk/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2' --make-executable=/tmp/autopkgtest.YcZbqk/build.S0E/src/debian/tests/installed-tests -- /tmp/autopkgtest.YcZbqk/build.S0E/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.YcZbqk/build.S0E/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.YcZbqk/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1568s # Output: /* 1568s # * This file is generated by gdbus-codegen, do not modify it. 1568s # * 1568s # * The license of this code is the same as for the D-Bus interface description 1568s # * it was derived from. Note that it links to GLib, so must comply with the 1568s # * LGPL linking clauses. 1568s # */ 1568s # 1568s # #ifdef HAVE_CONFIG_H 1568s # # include "config.h" 1568s # #endif 1568s # 1568s # #include 1568s # #ifdef G_OS_UNIX 1568s # # include 1568s # #endif 1568s # 1568s # #ifdef G_ENABLE_DEBUG 1568s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1568s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1568s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1568s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1568s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1568s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1568s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1568s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1568s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1568s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1568s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1568s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1568s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1568s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1568s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1568s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1568s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1568s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1568s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1568s # #else /* !G_ENABLE_DEBUG */ 1568s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1568s # * Do not access GValues directly in your code. Instead, use the 1568s # * g_value_get_*() functions 1568s # */ 1568s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1568s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1568s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1568s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1568s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1568s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1568s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1568s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1568s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1568s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1568s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1568s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1568s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1568s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1568s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1568s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1568s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1568s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1568s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1568s # #endif /* !G_ENABLE_DEBUG */ 1568s # 1568s # typedef struct 1568s # { 1568s # GDBusArgInfo parent_struct; 1568s # gboolean use_gvariant; 1568s # } _ExtendedGDBusArgInfo; 1568s # 1568s # typedef struct 1568s # { 1568s # GDBusMethodInfo parent_struct; 1568s # const gchar *signal_name; 1568s # gboolean pass_fdlist; 1568s # } _ExtendedGDBusMethodInfo; 1568s # 1568s # typedef struct 1568s # { 1568s # GDBusSignalInfo parent_struct; 1568s # const gchar *signal_name; 1568s # } _ExtendedGDBusSignalInfo; 1568s # 1568s # typedef struct 1568s # { 1568s # GDBusPropertyInfo parent_struct; 1568s # const gchar *hyphen_name; 1568s # guint use_gvariant : 1; 1568s # guint emits_changed_signal : 1; 1568s # } _ExtendedGDBusPropertyInfo; 1568s # 1568s # typedef struct 1568s # { 1568s # GDBusInterfaceInfo parent_struct; 1568s # const gchar *hyphen_name; 1568s # } _ExtendedGDBusInterfaceInfo; 1568s # 1568s # typedef struct 1568s # { 1568s # const _ExtendedGDBusPropertyInfo *info; 1568s # guint prop_id; 1568s # GValue orig_value; /* the value before the change */ 1568s # } ChangedProperty; 1568s # 1568s # static void 1568s # _changed_property_free (ChangedProperty *data) 1568s # { 1568s # g_value_unset (&data->orig_value); 1568s # g_free (data); 1568s # } 1568s # 1568s # static gboolean 1568s # _g_strv_equal0 (gchar **a, gchar **b) 1568s # { 1568s # gboolean ret = FALSE; 1568s # guint n; 1568s # if (a == NULL && b == NULL) 1568s # { 1568s # ret = TRUE; 1568s # goto out; 1568s # } 1568s # if (a == NULL || b == NULL) 1568s # goto out; 1568s # if (g_strv_length (a) != g_strv_length (b)) 1568s # goto out; 1568s # for (n = 0; a[n] != NULL; n++) 1568s # if (g_strcmp0 (a[n], b[n]) != 0) 1568s # goto out; 1568s # ret = TRUE; 1568s # out: 1568s # return ret; 1568s # } 1568s # 1568s # static gboolean 1568s # _g_variant_equal0 (GVariant *a, GVariant *b) 1568s # { 1568s # gboolean ret = FALSE; 1568s # if (a == NULL && b == NULL) 1568s # { 1568s # ret = TRUE; 1568s # goto out; 1568s # } 1568s # if (a == NULL || b == NULL) 1568s # goto out; 1568s # ret = g_variant_equal (a, b); 1568s # out: 1568s # return ret; 1568s # } 1568s # 1568s # G_GNUC_UNUSED static gboolean 1568s # _g_value_equal (const GValue *a, const GValue *b) 1568s # { 1568s # gboolean ret = FALSE; 1568s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1568s # switch (G_VALUE_TYPE (a)) 1568s # { 1568s # case G_TYPE_BOOLEAN: 1568s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1568s # break; 1568s # case G_TYPE_UCHAR: 1568s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1568s # break; 1568s # case G_TYPE_INT: 1568s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1568s # break; 1568s # case G_TYPE_UINT: 1568s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1568s # break; 1568s # case G_TYPE_INT64: 1568s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1568s # break; 1568s # case G_TYPE_UINT64: 1568s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1568s # break; 1568s # case G_TYPE_DOUBLE: 1568s # { 1568s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1568s # gdouble da = g_value_get_double (a); 1568s # gdouble db = g_value_get_double (b); 1568s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1568s # } 1568s # break; 1568s # case G_TYPE_STRING: 1568s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1568s # break; 1568s # case G_TYPE_VARIANT: 1568s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1568s # break; 1568s # default: 1568s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1568s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1568s # else 1568s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1568s # break; 1568s # } 1568s # return ret; 1568s # } 1568s # 1568s # /* ------------------------------------------------------------------------ 1568s # * Code for interface org.project.SignalingIface 1568s # * ------------------------------------------------------------------------ 1568s # */ 1568s # 1568s # /** 1568s # * SECTION:OrgProjectSignalingIface 1568s # * @title: OrgProjectSignalingIface 1568s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1568s # * 1568s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1568s # */ 1568s # 1568s # enum 1568s # { 1568s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 1568s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_D, 1568s # }; 1568s # 1568s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 1568s # 1568s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1568s # 1568s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 1568s # { 1568s # { 1568s # -1, 1568s # (gchar *) "SimpleSignal", 1568s # NULL, 1568s # NULL 1568s # }, 1568s # "simple-signal" 1568s # }; 1568s # 1568s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_d_ARG_arg_d = 1568s # { 1568s # { 1568s # -1, 1568s # (gchar *) "arg_d", 1568s # (gchar *) "d", 1568s # NULL 1568s # }, 1568s # FALSE 1568s # }; 1568s # 1568s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_d_ARG_pointers[] = 1568s # { 1568s # &_org_project_signaling_iface_signal_info_single_arg_signal_d_ARG_arg_d.parent_struct, 1568s # NULL 1568s # }; 1568s # 1568s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_d = 1568s # { 1568s # { 1568s # -1, 1568s # (gchar *) "SingleArgSignalD", 1568s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_d_ARG_pointers, 1568s # NULL 1568s # }, 1568s # "single-arg-signal-d" 1568s # }; 1568s # 1568s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1568s # { 1568s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 1568s # &_org_project_signaling_iface_signal_info_single_arg_signal_d.parent_struct, 1568s # NULL 1568s # }; 1568s # 1568s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1568s # { 1568s # { 1568s # -1, 1568s # (gchar *) "org.project.SignalingIface", 1568s # NULL, 1568s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1568s # NULL, 1568s # NULL 1568s # }, 1568s # "org-project-signaling-iface", 1568s # }; 1568s # 1568s # 1568s # /** 1568s # * org_project_signaling_iface_interface_info: 1568s # * 1568s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1568s # * 1568s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1568s # */ 1568s # GDBusInterfaceInfo * 1568s # org_project_signaling_iface_interface_info (void) 1568s # { 1568s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1568s # } 1568s # 1568s # /** 1568s # * org_project_signaling_iface_override_properties: 1568s # * @klass: The class structure for a #GObject derived class. 1568s # * @property_id_begin: The property id to assign to the first overridden property. 1568s # * 1568s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1568s # * The properties are overridden in the order they are defined. 1568s # * 1568s # * Returns: The last property id. 1568s # */ 1568s # guint 1568s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1568s # { 1568s # return property_id_begin - 1; 1568s # } 1568s # 1568s # 1568s # inline static void 1568s # org_project_signaling_iface_signal_marshal_simple_signal ( 1568s # GClosure *closure, 1568s # GValue *return_value, 1568s # unsigned int n_param_values, 1568s # const GValue *param_values, 1568s # void *invocation_hint, 1568s # void *marshal_data) 1568s # { 1568s # g_cclosure_marshal_VOID__VOID (closure, 1568s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1568s # } 1568s # 1568s # inline static void 1568s # org_project_signaling_iface_signal_marshal_single_arg_signal_d ( 1568s # GClosure *closure, 1568s # GValue *return_value, 1568s # unsigned int n_param_values, 1568s # const GValue *param_values, 1568s # void *invocation_hint, 1568s # void *marshal_data) 1568s # { 1568s # g_cclosure_marshal_VOID__DOUBLE (closure, 1568s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1568s # } 1568s # 1568s # 1568s # /** 1568s # * OrgProjectSignalingIface: 1568s # * 1568s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1568s # */ 1568s # 1568s # /** 1568s # * OrgProjectSignalingIfaceIface: 1568s # * @parent_iface: The parent interface. 1568s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 1568s # * @single_arg_signal_d: Handler for the #OrgProjectSignalingIface::single-arg-signal-d signal. 1568s # * 1568s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1568s # */ 1568s # 1568s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1568s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1568s # 1568s # static void 1568s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1568s # { 1568s # /* GObject signals for received D-Bus signals: */ 1568s # /** 1568s # * OrgProjectSignalingIface::simple-signal: 1568s # * @object: A #OrgProjectSignalingIface. 1568s # * 1568s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1568s # * 1568s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1568s # */ 1568s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 1568s # g_signal_new ("simple-signal", 1568s # G_TYPE_FROM_INTERFACE (iface), 1568s # G_SIGNAL_RUN_LAST, 1568s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 1568s # NULL, 1568s # NULL, 1568s # org_project_signaling_iface_signal_marshal_simple_signal, 1568s # G_TYPE_NONE, 1568s # 0); 1568s # 1568s # /** 1568s # * OrgProjectSignalingIface::single-arg-signal-d: 1568s # * @object: A #OrgProjectSignalingIface. 1568s # * @arg_arg_d: Argument. 1568s # * 1568s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalD" is received. 1568s # * 1568s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1568s # */ 1568s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_D] = 1568s # g_signal_new ("single-arg-signal-d", 1568s # G_TYPE_FROM_INTERFACE (iface), 1568s # G_SIGNAL_RUN_LAST, 1568s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_d), 1568s # NULL, 1568s # NULL, 1568s # org_project_signaling_iface_signal_marshal_single_arg_signal_d, 1568s # G_TYPE_NONE, 1568s # 1, G_TYPE_DOUBLE); 1568s # 1568s # } 1568s # 1568s # /** 1568s # * org_project_signaling_iface_emit_simple_signal: 1568s # * @object: A #OrgProjectSignalingIface. 1568s # * 1568s # * Emits the "SimpleSignal" D-Bus signal. 1568s # */ 1568s # void 1568s # org_project_signaling_iface_emit_simple_signal ( 1568s # OrgProjectSignalingIface *object) 1568s # { 1568s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 1568s # } 1568s # 1568s # /** 1568s # * org_project_signaling_iface_emit_single_arg_signal_d: 1568s # * @object: A #OrgProjectSignalingIface. 1568s # * @arg_arg_d: Argument to pass with the signal. 1568s # * 1568s # * Emits the "SingleArgSignalD" D-Bus signal. 1568s # */ 1568s # void 1568s # org_project_signaling_iface_emit_single_arg_signal_d ( 1568s # OrgProjectSignalingIface *object, 1568s # gdouble arg_arg_d) 1568s # { 1568s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_D], 0, arg_arg_d); 1568s # } 1568s # 1568s # /* ------------------------------------------------------------------------ */ 1568s # 1568s # /** 1568s # * OrgProjectSignalingIfaceProxy: 1568s # * 1568s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1568s # */ 1568s # 1568s # /** 1568s # * OrgProjectSignalingIfaceProxyClass: 1568s # * @parent_class: The parent class. 1568s # * 1568s # * Class structure for #OrgProjectSignalingIfaceProxy. 1568s # */ 1568s # 1568s # struct _OrgProjectSignalingIfaceProxyPrivate 1568s # { 1568s # GData *qdata; 1568s # }; 1568s # 1568s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1568s # 1568s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1568s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1568s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1568s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1568s # 1568s # #else 1568s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1568s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1568s # 1568s # #endif 1568s # static void 1568s # org_project_signaling_iface_proxy_finalize (GObject *object) 1568s # { 1568s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1568s # g_datalist_clear (&proxy->priv->qdata); 1568s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1568s # } 1568s # 1568s # static void 1568s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1568s # guint prop_id G_GNUC_UNUSED, 1568s # GValue *value G_GNUC_UNUSED, 1568s # GParamSpec *pspec G_GNUC_UNUSED) 1568s # { 1568s # } 1568s # 1568s # static void 1568s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1568s # guint prop_id G_GNUC_UNUSED, 1568s # const GValue *value G_GNUC_UNUSED, 1568s # GParamSpec *pspec G_GNUC_UNUSED) 1568s # { 1568s # } 1568s # 1568s # static void 1568s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1568s # const gchar *sender_name G_GNUC_UNUSED, 1568s # const gchar *signal_name, 1568s # GVariant *parameters) 1568s # { 1568s # _ExtendedGDBusSignalInfo *info; 1568s # GVariantIter iter; 1568s # GVariant *child; 1568s # GValue *paramv; 1568s # gsize num_params; 1568s # gsize n; 1568s # guint signal_id; 1568s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1568s # if (info == NULL) 1568s # return; 1568s # num_params = g_variant_n_children (parameters); 1568s # paramv = g_new0 (GValue, num_params + 1); 1568s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1568s # g_value_set_object (¶mv[0], proxy); 1568s # g_variant_iter_init (&iter, parameters); 1568s # n = 1; 1568s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1568s # { 1568s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1568s # if (arg_info->use_gvariant) 1568s # { 1568s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1568s # g_value_set_variant (¶mv[n], child); 1568s # n++; 1568s # } 1568s # else 1568s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1568s # g_variant_unref (child); 1568s # } 1568s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1568s # g_signal_emitv (paramv, signal_id, 0, NULL); 1568s # for (n = 0; n < num_params + 1; n++) 1568s # g_value_unset (¶mv[n]); 1568s # g_free (paramv); 1568s # } 1568s # 1568s # static void 1568s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1568s # GVariant *changed_properties, 1568s # const gchar *const *invalidated_properties) 1568s # { 1568s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1568s # guint n; 1568s # const gchar *key; 1568s # GVariantIter *iter; 1568s # _ExtendedGDBusPropertyInfo *info; 1568s # g_variant_get (changed_properties, "a{sv}", &iter); 1568s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1568s # { 1568s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1568s # g_datalist_remove_data (&proxy->priv->qdata, key); 1568s # if (info != NULL) 1568s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1568s # } 1568s # g_variant_iter_free (iter); 1568s # for (n = 0; invalidated_properties[n] != NULL; n++) 1568s # { 1568s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1568s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1568s # if (info != NULL) 1568s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1568s # } 1568s # } 1568s # 1568s # static void 1568s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1568s # { 1568s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1568s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1568s # #else 1568s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1568s # #endif 1568s # 1568s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1568s # } 1568s # 1568s # static void 1568s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1568s # { 1568s # GObjectClass *gobject_class; 1568s # GDBusProxyClass *proxy_class; 1568s # 1568s # gobject_class = G_OBJECT_CLASS (klass); 1568s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1568s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1568s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1568s # 1568s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1568s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1568s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1568s # 1568s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1568s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1568s # #endif 1568s # } 1568s # 1568s # static void 1568s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1568s # { 1568s # } 1568s # 1568s # /** 1568s # * org_project_signaling_iface_proxy_new: 1568s # * @connection: A #GDBusConnection. 1568s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1568s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1568s # * @object_path: An object path. 1568s # * @cancellable: (nullable): A #GCancellable or %NULL. 1568s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1568s # * @user_data: User data to pass to @callback. 1568s # * 1568s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1568s # * 1568s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1568s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1568s # * 1568s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1568s # */ 1568s # void 1568s # org_project_signaling_iface_proxy_new ( 1568s # GDBusConnection *connection, 1568s # GDBusProxyFlags flags, 1568s # const gchar *name, 1568s # const gchar *object_path, 1568s # GCancellable *cancellable, 1568s # GAsyncReadyCallback callback, 1568s # gpointer user_data) 1568s # { 1568s # 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); 1568s # } 1568s # 1568s # /** 1568s # * org_project_signaling_iface_proxy_new_finish: 1568s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1568s # * @error: Return location for error or %NULL 1568s # * 1568s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1568s # * 1568s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1568s # */ 1568s # OrgProjectSignalingIface * 1568s # org_project_signaling_iface_proxy_new_finish ( 1568s # GAsyncResult *res, 1568s # GError **error) 1568s # { 1568s # GObject *ret; 1568s # GObject *source_object; 1568s # source_object = g_async_result_get_source_object (res); 1568s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1568s # g_object_unref (source_object); 1568s # if (ret != NULL) 1568s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1568s # else 1568s # return NULL; 1568s # } 1568s # 1568s # /** 1568s # * org_project_signaling_iface_proxy_new_sync: 1568s # * @connection: A #GDBusConnection. 1568s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1568s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1568s # * @object_path: An object path. 1568s # * @cancellable: (nullable): A #GCancellable or %NULL. 1568s # * @error: Return location for error or %NULL 1568s # * 1568s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1568s # * 1568s # * The calling thread is blocked until a reply is received. 1568s # * 1568s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1568s # * 1568s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1568s # */ 1568s # OrgProjectSignalingIface * 1568s # org_project_signaling_iface_proxy_new_sync ( 1568s # GDBusConnection *connection, 1568s # GDBusProxyFlags flags, 1568s # const gchar *name, 1568s # const gchar *object_path, 1568s # GCancellable *cancellable, 1568s # GError **error) 1568s # { 1568s # GInitable *ret; 1568s # 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); 1568s # if (ret != NULL) 1568s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1568s # else 1568s # return NULL; 1568s # } 1568s # 1568s # 1568s # /** 1568s # * org_project_signaling_iface_proxy_new_for_bus: 1568s # * @bus_type: A #GBusType. 1568s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1568s # * @name: A bus name (well-known or unique). 1568s # * @object_path: An object path. 1568s # * @cancellable: (nullable): A #GCancellable or %NULL. 1568s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1568s # * @user_data: User data to pass to @callback. 1568s # * 1568s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1568s # * 1568s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1568s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1568s # * 1568s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1568s # */ 1568s # void 1568s # org_project_signaling_iface_proxy_new_for_bus ( 1568s # GBusType bus_type, 1568s # GDBusProxyFlags flags, 1568s # const gchar *name, 1568s # const gchar *object_path, 1568s # GCancellable *cancellable, 1568s # GAsyncReadyCallback callback, 1568s # gpointer user_data) 1568s # { 1568s # 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); 1568s # } 1568s # 1568s # /** 1568s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1568s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1568s # * @error: Return location for error or %NULL 1568s # * 1568s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1568s # * 1568s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1568s # */ 1568s # OrgProjectSignalingIface * 1568s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1568s # GAsyncResult *res, 1568s # GError **error) 1568s # { 1568s # GObject *ret; 1568s # GObject *source_object; 1568s # source_object = g_async_result_get_source_object (res); 1568s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1568s # g_object_unref (source_object); 1568s # if (ret != NULL) 1568s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1568s # else 1568s # return NULL; 1568s # } 1568s # 1568s # /** 1568s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1568s # * @bus_type: A #GBusType. 1568s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1568s # * @name: A bus name (well-known or unique). 1568s # * @object_path: An object path. 1568s # * @cancellable: (nullable): A #GCancellable or %NULL. 1568s # * @error: Return location for error or %NULL 1568s # * 1568s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1568s # * 1568s # * The calling thread is blocked until a reply is received. 1568s # * 1568s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1568s # * 1568s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1568s # */ 1568s # OrgProjectSignalingIface * 1568s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1568s # GBusType bus_type, 1568s # GDBusProxyFlags flags, 1568s # const gchar *name, 1568s # const gchar *object_path, 1568s # GCancellable *cancellable, 1568s # GError **error) 1568s # { 1568s # GInitable *ret; 1568s # 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); 1568s # if (ret != NULL) 1568s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1568s # else 1568s # return NULL; 1568s # } 1568s # 1568s # 1568s # /* ------------------------------------------------------------------------ */ 1568s # 1568s # /** 1568s # * OrgProjectSignalingIfaceSkeleton: 1568s # * 1568s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1568s # */ 1568s # 1568s # /** 1568s # * OrgProjectSignalingIfaceSkeletonClass: 1568s # * @parent_class: The parent class. 1568s # * 1568s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1568s # */ 1568s # 1568s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1568s # { 1568s # GValue *properties; 1568s # GList *changed_properties; 1568s # GSource *changed_properties_idle_source; 1568s # GMainContext *context; 1568s # GMutex lock; 1568s # }; 1568s # 1568s # static void 1568s # _org_project_signaling_iface_skeleton_handle_method_call ( 1568s # GDBusConnection *connection G_GNUC_UNUSED, 1568s # const gchar *sender G_GNUC_UNUSED, 1568s # const gchar *object_path G_GNUC_UNUSED, 1568s # const gchar *interface_name, 1568s # const gchar *method_name, 1568s # GVariant *parameters, 1568s # GDBusMethodInvocation *invocation, 1568s # gpointer user_data) 1568s # { 1568s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1568s # _ExtendedGDBusMethodInfo *info; 1568s # GVariantIter iter; 1568s # GVariant *child; 1568s # GValue *paramv; 1568s # gsize num_params; 1568s # guint num_extra; 1568s # gsize n; 1568s # guint signal_id; 1568s # GValue return_value = G_VALUE_INIT; 1568s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1568s # g_assert (info != NULL); 1568s # num_params = g_variant_n_children (parameters); 1568s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1568s # n = 0; 1568s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1568s # g_value_set_object (¶mv[n++], skeleton); 1568s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1568s # g_value_set_object (¶mv[n++], invocation); 1568s # if (info->pass_fdlist) 1568s # { 1568s # #ifdef G_OS_UNIX 1568s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1568s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1568s # #else 1568s # g_assert_not_reached (); 1568s # #endif 1568s # } 1568s # g_variant_iter_init (&iter, parameters); 1568s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1568s # { 1568s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1568s # if (arg_info->use_gvariant) 1568s # { 1568s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1568s # g_value_set_variant (¶mv[n], child); 1568s # n++; 1568s # } 1568s # else 1568s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1568s # g_variant_unref (child); 1568s # } 1568s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1568s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1568s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1568s # if (!g_value_get_boolean (&return_value)) 1568s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1568s # g_value_unset (&return_value); 1568s # for (n = 0; n < num_params + num_extra; n++) 1568s # g_value_unset (¶mv[n]); 1568s # g_free (paramv); 1568s # } 1568s # 1568s # static GVariant * 1568s # _org_project_signaling_iface_skeleton_handle_get_property ( 1568s # GDBusConnection *connection G_GNUC_UNUSED, 1568s # const gchar *sender G_GNUC_UNUSED, 1568s # const gchar *object_path G_GNUC_UNUSED, 1568s # const gchar *interface_name G_GNUC_UNUSED, 1568s # const gchar *property_name, 1568s # GError **error, 1568s # gpointer user_data) 1568s # { 1568s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1568s # GValue value = G_VALUE_INIT; 1568s # GParamSpec *pspec; 1568s # _ExtendedGDBusPropertyInfo *info; 1568s # GVariant *ret; 1568s # ret = NULL; 1568s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1568s # g_assert (info != NULL); 1568s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1568s # if (pspec == NULL) 1568s # { 1568s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1568s # } 1568s # else 1568s # { 1568s # g_value_init (&value, pspec->value_type); 1568s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1568s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1568s # g_value_unset (&value); 1568s # } 1568s # return ret; 1568s # } 1568s # 1568s # static gboolean 1568s # _org_project_signaling_iface_skeleton_handle_set_property ( 1568s # GDBusConnection *connection G_GNUC_UNUSED, 1568s # const gchar *sender G_GNUC_UNUSED, 1568s # const gchar *object_path G_GNUC_UNUSED, 1568s # const gchar *interface_name G_GNUC_UNUSED, 1568s # const gchar *property_name, 1568s # GVariant *variant, 1568s # GError **error, 1568s # gpointer user_data) 1568s # { 1568s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1568s # GValue value = G_VALUE_INIT; 1568s # GParamSpec *pspec; 1568s # _ExtendedGDBusPropertyInfo *info; 1568s # gboolean ret; 1568s # ret = FALSE; 1568s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1568s # g_assert (info != NULL); 1568s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1568s # if (pspec == NULL) 1568s # { 1568s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1568s # } 1568s # else 1568s # { 1568s # if (info->use_gvariant) 1568s # g_value_set_variant (&value, variant); 1568s # else 1568s # g_dbus_gvariant_to_gvalue (variant, &value); 1568s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1568s # g_value_unset (&value); 1568s # ret = TRUE; 1568s # } 1568s # return ret; 1568s # } 1568s # 1568s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1568s # { 1568s # _org_project_signaling_iface_skeleton_handle_method_call, 1568s # _org_project_signaling_iface_skeleton_handle_get_property, 1568s # _org_project_signaling_iface_skeleton_handle_set_property, 1568s # {NULL} 1568s # }; 1568s # 1568s # static GDBusInterfaceInfo * 1568s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1568s # { 1568s # return org_project_signaling_iface_interface_info (); 1568s # } 1568s # 1568s # static GDBusInterfaceVTable * 1568s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1568s # { 1568s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1568s # } 1568s # 1568s # static GVariant * 1568s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1568s # { 1568s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1568s # 1568s # GVariantBuilder builder; 1568s # guint n; 1568s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1568s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1568s # goto out; 1568s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1568s # { 1568s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1568s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1568s # { 1568s # GVariant *value; 1568s # 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); 1568s # if (value != NULL) 1568s # { 1568s # g_variant_take_ref (value); 1568s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1568s # g_variant_unref (value); 1568s # } 1568s # } 1568s # } 1568s # out: 1568s # return g_variant_builder_end (&builder); 1568s # } 1568s # 1568s # static void 1568s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1568s # { 1568s # } 1568s # 1568s # static void 1568s # _org_project_signaling_iface_on_signal_simple_signal ( 1568s # OrgProjectSignalingIface *object) 1568s # { 1568s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1568s # 1568s # GList *connections, *l; 1568s # GVariant *signal_variant; 1568s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1568s # 1568s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1568s # for (l = connections; l != NULL; l = l->next) 1568s # { 1568s # GDBusConnection *connection = l->data; 1568s # g_dbus_connection_emit_signal (connection, 1568s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 1568s # signal_variant, NULL); 1568s # } 1568s # g_variant_unref (signal_variant); 1568s # g_list_free_full (connections, g_object_unref); 1568s # } 1568s # 1568s # static void 1568s # _org_project_signaling_iface_on_signal_single_arg_signal_d ( 1568s # OrgProjectSignalingIface *object, 1568s # gdouble arg_arg_d) 1568s # { 1568s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1568s # 1568s # GList *connections, *l; 1568s # GVariant *signal_variant; 1568s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1568s # 1568s # signal_variant = g_variant_ref_sink (g_variant_new ("(d)", 1568s # arg_arg_d)); 1568s # for (l = connections; l != NULL; l = l->next) 1568s # { 1568s # GDBusConnection *connection = l->data; 1568s # g_dbus_connection_emit_signal (connection, 1568s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalD", 1568s # signal_variant, NULL); 1568s # } 1568s # g_variant_unref (signal_variant); 1568s # g_list_free_full (connections, g_object_unref); 1568s # } 1568s # 1568s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1568s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1568s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1568s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1568s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1568s # 1568s # #else 1568s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1568s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1568s # 1568s # #endif 1568s # static void 1568s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1568s # { 1568s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1568s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1568s # if (skeleton->priv->changed_properties_idle_source != NULL) 1568s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1568s # g_main_context_unref (skeleton->priv->context); 1568s # g_mutex_clear (&skeleton->priv->lock); 1568s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1568s # } 1568s # 1568s # static void 1568s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1568s # { 1568s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1568s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1568s # #else 1568s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1568s # #endif 1568s # 1568s # g_mutex_init (&skeleton->priv->lock); 1568s # skeleton->priv->context = g_main_context_ref_thread_default (); 1568s # } 1568s # 1568s # static void 1568s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1568s # { 1568s # GObjectClass *gobject_class; 1568s # GDBusInterfaceSkeletonClass *skeleton_class; 1568s # 1568s # gobject_class = G_OBJECT_CLASS (klass); 1568s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1568s # 1568s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1568s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1568s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1568s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1568s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1568s # 1568s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1568s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1568s # #endif 1568s # } 1568s # 1568s # static void 1568s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1568s # { 1568s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 1568s # iface->single_arg_signal_d = _org_project_signaling_iface_on_signal_single_arg_signal_d; 1568s # } 1568s # 1568s # /** 1568s # * org_project_signaling_iface_skeleton_new: 1568s # * 1568s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1568s # * 1568s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1568s # */ 1568s # OrgProjectSignalingIface * 1568s # org_project_signaling_iface_skeleton_new (void) 1568s # { 1568s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1568s # } 1568s # /tmp/tmpgfozeg7c/tmp07dr2gs0.xml: 1568s # 1568s # 1568s # 1568s # 1568s # 1568s # 1568s # 1568s # 1568s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpgfozeg7c/tmp07dr2gs0.xml', '--output', '-', '--body'] 1568s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-baqskmurxn,guid=fbaffe99d0ccb1f6e1beb84865fc01cd', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.YcZbqk/autopkgtest_tmp', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.YcZbqk/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.YcZbqk/autopkgtest_tmp', 'TERM': 'unknown', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.YcZbqk/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.sVTVMp0Db0', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.rqZsJO/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.YcZbqk/wrapper.sh --artifacts=/tmp/autopkgtest.YcZbqk/installed-tests-artifacts --chdir=/tmp/autopkgtest.YcZbqk/build.S0E/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.YcZbqk/installed-tests-stderr --stdout=/tmp/autopkgtest.YcZbqk/installed-tests-stdout --tmp=/tmp/autopkgtest.YcZbqk/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2' --make-executable=/tmp/autopkgtest.YcZbqk/build.S0E/src/debian/tests/installed-tests -- /tmp/autopkgtest.YcZbqk/build.S0E/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.YcZbqk/build.S0E/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.YcZbqk/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1568s # Output: /* 1568s # * This file is generated by gdbus-codegen, do not modify it. 1568s # * 1568s # * The license of this code is the same as for the D-Bus interface description 1568s # * it was derived from. Note that it links to GLib, so must comply with the 1568s # * LGPL linking clauses. 1568s # */ 1568s # 1568s # #ifdef HAVE_CONFIG_H 1568s # # include "config.h" 1568s # #endif 1568s # 1568s # #include 1568s # #ifdef G_OS_UNIX 1568s # # include 1568s # #endif 1568s # 1568s # #ifdef G_ENABLE_DEBUG 1568s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1568s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1568s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1568s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1568s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1568s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1568s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1568s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1568s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1568s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1568s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1568s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1568s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1568s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1568s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1568s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1568s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1568s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1568s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1568s # #else /* !G_ENABLE_DEBUG */ 1568s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1568s # * Do not access GValues directly in your code. Instead, use the 1568s # * g_value_get_*() functions 1568s # */ 1568s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1568s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1568s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1568s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1568s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1568s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1568s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1568s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1568s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1568s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1568s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1568s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1568s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1568s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1568s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1568s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1568s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1568s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1568s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1568s # #endif /* !G_ENABLE_DEBUG */ 1568s # 1568s # typedef struct 1568s # { 1568s # GDBusArgInfo parent_struct; 1568s # gboolean use_gvariant; 1568s # } _ExtendedGDBusArgInfo; 1568s # 1568s # typedef struct 1568s # { 1568s # GDBusMethodInfo parent_struct; 1568s # const gchar *signal_name; 1568s # gboolean pass_fdlist; 1568s # } _ExtendedGDBusMethodInfo; 1568s # 1568s # typedef struct 1568s # { 1568s # GDBusSignalInfo parent_struct; 1568s # const gchar *signal_name; 1568s # } _ExtendedGDBusSignalInfo; 1568s # 1568s # typedef struct 1568s # { 1568s # GDBusPropertyInfo parent_struct; 1568s # const gchar *hyphen_name; 1568s # guint use_gvariant : 1; 1568s # guint emits_changed_signal : 1; 1568s # } _ExtendedGDBusPropertyInfo; 1568s # 1568s # typedef struct 1568s # { 1568s # GDBusInterfaceInfo parent_struct; 1568s # const gchar *hyphen_name; 1568s # } _ExtendedGDBusInterfaceInfo; 1568s # 1568s # typedef struct 1568s # { 1568s # const _ExtendedGDBusPropertyInfo *info; 1568s # guint prop_id; 1568s # GValue orig_value; /* the value before the change */ 1568s # } ChangedProperty; 1568s # 1568s # static void 1568s # _changed_property_free (ChangedProperty *data) 1568s # { 1568s # g_value_unset (&data->orig_value); 1568s # g_free (data); 1568s # } 1568s # 1568s # static gboolean 1568s # _g_strv_equal0 (gchar **a, gchar **b) 1568s # { 1568s # gboolean ret = FALSE; 1568s # guint n; 1568s # if (a == NULL && b == NULL) 1568s # { 1568s # ret = TRUE; 1568s # goto out; 1568s # } 1568s # if (a == NULL || b == NULL) 1568s # goto out; 1568s # if (g_strv_length (a) != g_strv_length (b)) 1568s # goto out; 1568s # for (n = 0; a[n] != NULL; n++) 1568s # if (g_strcmp0 (a[n], b[n]) != 0) 1568s # goto out; 1568s # ret = TRUE; 1568s # out: 1568s # return ret; 1568s # } 1568s # 1568s # static gboolean 1568s # _g_variant_equal0 (GVariant *a, GVariant *b) 1568s # { 1568s # gboolean ret = FALSE; 1568s # if (a == NULL && b == NULL) 1568s # { 1568s # ret = TRUE; 1568s # goto out; 1568s # } 1568s # if (a == NULL || b == NULL) 1568s # goto out; 1568s # ret = g_variant_equal (a, b); 1568s # out: 1568s # return ret; 1568s # } 1568s # 1568s # G_GNUC_UNUSED static gboolean 1568s # _g_value_equal (const GValue *a, const GValue *b) 1568s # { 1568s # gboolean ret = FALSE; 1568s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1568s # switch (G_VALUE_TYPE (a)) 1568s # { 1568s # case G_TYPE_BOOLEAN: 1568s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1568s # break; 1568s # case G_TYPE_UCHAR: 1568s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1568s # break; 1568s # case G_TYPE_INT: 1568s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1568s # break; 1568s # case G_TYPE_UINT: 1568s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1568s # break; 1568s # case G_TYPE_INT64: 1568s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1568s # break; 1568s # case G_TYPE_UINT64: 1568s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1568s # break; 1568s # case G_TYPE_DOUBLE: 1568s # { 1568s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1568s # gdouble da = g_value_get_double (a); 1568s # gdouble db = g_value_get_double (b); 1568s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1568s # } 1568s # break; 1568s # case G_TYPE_STRING: 1568s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1568s # break; 1568s # case G_TYPE_VARIANT: 1568s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1568s # break; 1568s # default: 1568s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1568s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1568s # else 1568s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1568s # break; 1568s # } 1568s # return ret; 1568s # } 1568s # 1568s # /* ------------------------------------------------------------------------ 1568s # * Code for interface org.project.SignalingIface 1568s # * ------------------------------------------------------------------------ 1568s # */ 1568s # 1568s # /** 1568s # * SECTION:OrgProjectSignalingIface 1568s # * @title: OrgProjectSignalingIface 1568s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1568s # * 1568s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1568s # */ 1568s # 1568s # enum 1568s # { 1568s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 1568s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_S, 1568s # }; 1568s # 1568s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 1568s # 1568s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1568s # 1568s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 1568s # { 1568s # { 1568s # -1, 1568s # (gchar *) "SimpleSignal", 1568s # NULL, 1568s # NULL 1568s # }, 1568s # "simple-signal" 1568s # }; 1568s # 1568s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_s_ARG_arg_s = 1568s # { 1568s # { 1568s # -1, 1568s # (gchar *) "arg_s", 1568s # (gchar *) "s", 1568s # NULL 1568s # }, 1568s # FALSE 1568s # }; 1568s # 1568s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_s_ARG_pointers[] = 1568s # { 1568s # &_org_project_signaling_iface_signal_info_single_arg_signal_s_ARG_arg_s.parent_struct, 1568s # NULL 1568s # }; 1568s # 1568s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_s = 1568s # { 1568s # { 1568s # -1, 1568s # (gchar *) "SingleArgSignalS", 1568s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_s_ARG_pointers, 1568s # NULL 1568s # }, 1568s # "single-arg-signal-s" 1568s # }; 1568s # 1568s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1568s # { 1568s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 1568s # &_org_project_signaling_iface_signal_info_single_arg_signal_s.parent_struct, 1568s # NULL 1568s # }; 1568s # 1568s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1568s # { 1568s # { 1568s # -1, 1568s # (gchar *) "org.project.SignalingIface", 1568s # NULL, 1568s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1568s # NULL, 1568s # NULL 1568s # }, 1568s # "org-project-signaling-iface", 1568s # }; 1568s # 1568s # 1568s # /** 1568s # * org_project_signaling_iface_interface_info: 1568s # * 1568s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1568s # * 1568s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1568s # */ 1568s # GDBusInterfaceInfo * 1568s # org_project_signaling_iface_interface_info (void) 1568s # { 1568s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1568s # } 1568s # 1568s # /** 1568s # * org_project_signaling_iface_override_properties: 1568s # * @klass: The class structure for a #GObject derived class. 1568s # * @property_id_begin: The property id to assign to the first overridden property. 1568s # * 1568s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1568s # * The properties are overridden in the order they are defined. 1568s # * 1568s # * Returns: The last property id. 1568s # */ 1568s # guint 1568s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1568s # { 1568s # return property_id_begin - 1; 1568s # } 1568s # 1568s # 1568s # inline static void 1568s # org_project_signaling_iface_signal_marshal_simple_signal ( 1568s # GClosure *closure, 1568s # GValue *return_value, 1568s # unsigned int n_param_values, 1568s # const GValue *param_values, 1568s # void *invocation_hint, 1568s # void *marshal_data) 1568s # { 1568s # g_cclosure_marshal_VOID__VOID (closure, 1568s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1568s # } 1568s # 1568s # inline static void 1568s # org_project_signaling_iface_signal_marshal_single_arg_signal_s ( 1568s # GClosure *closure, 1568s # GValue *return_value, 1568s # unsigned int n_param_values, 1568s # const GValue *param_values, 1568s # void *invocation_hint, 1568s # void *marshal_data) 1568s # { 1568s # g_cclosure_marshal_VOID__STRING (closure, 1568s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1568s # } 1568s # 1568s # 1568s # /** 1568s # * OrgProjectSignalingIface: 1568s # * 1568s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1568s # */ 1568s # 1568s # /** 1568s # * OrgProjectSignalingIfaceIface: 1568s # * @parent_iface: The parent interface. 1568s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 1568s # * @single_arg_signal_s: Handler for the #OrgProjectSignalingIface::single-arg-signal-s signal. 1568s # * 1568s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1568s # */ 1568s # 1568s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1568s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1568s # 1568s # static void 1568s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1568s # { 1568s # /* GObject signals for received D-Bus signals: */ 1568s # /** 1568s # * OrgProjectSignalingIface::simple-signal: 1568s # * @object: A #OrgProjectSignalingIface. 1568s # * 1568s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1568s # * 1568s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1568s # */ 1568s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 1568s # g_signal_new ("simple-signal", 1568s # G_TYPE_FROM_INTERFACE (iface), 1568s # G_SIGNAL_RUN_LAST, 1568s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 1568s # NULL, 1568s # NULL, 1568s # org_project_signaling_iface_signal_marshal_simple_signal, 1568s # G_TYPE_NONE, 1568s # 0); 1568s # 1568s # /** 1568s # * OrgProjectSignalingIface::single-arg-signal-s: 1568s # * @object: A #OrgProjectSignalingIface. 1568s # * @arg_arg_s: Argument. 1568s # * 1568s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalS" is received. 1568s # * 1568s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1568s # */ 1568s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_S] = 1568s # g_signal_new ("single-arg-signal-s", 1568s # G_TYPE_FROM_INTERFACE (iface), 1568s # G_SIGNAL_RUN_LAST, 1568s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_s), 1568s # NULL, 1568s # NULL, 1568s # org_project_signaling_iface_signal_marshal_single_arg_signal_s, 1568s # G_TYPE_NONE, 1568s # 1, G_TYPE_STRING); 1568s # 1568s # } 1568s # 1568s # /** 1568s # * org_project_signaling_iface_emit_simple_signal: 1568s # * @object: A #OrgProjectSignalingIface. 1568s # * 1568s # * Emits the "SimpleSignal" D-Bus signal. 1568s # */ 1568s # void 1568s # org_project_signaling_iface_emit_simple_signal ( 1568s # OrgProjectSignalingIface *object) 1568s # { 1568s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 1568s # } 1568s # 1568s # /** 1568s # * org_project_signaling_iface_emit_single_arg_signal_s: 1568s # * @object: A #OrgProjectSignalingIface. 1568s # * @arg_arg_s: Argument to pass with the signal. 1568s # * 1568s # * Emits the "SingleArgSignalS" D-Bus signal. 1568s # */ 1568s # void 1568s # org_project_signaling_iface_emit_single_arg_signal_s ( 1568s # OrgProjectSignalingIface *object, 1568s # const gchar *arg_arg_s) 1568s # { 1568s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_S], 0, arg_arg_s); 1568s # } 1568s # 1568s # /* ------------------------------------------------------------------------ */ 1568s # 1568s # /** 1568s # * OrgProjectSignalingIfaceProxy: 1568s # * 1568s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1568s # */ 1568s # 1568s # /** 1568s # * OrgProjectSignalingIfaceProxyClass: 1568s # * @parent_class: The parent class. 1568s # * 1568s # * Class structure for #OrgProjectSignalingIfaceProxy. 1568s # */ 1568s # 1568s # struct _OrgProjectSignalingIfaceProxyPrivate 1568s # { 1568s # GData *qdata; 1568s # }; 1568s # 1568s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1568s # 1568s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1568s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1568s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1568s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1568s # 1568s # #else 1568s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1568s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1568s # 1568s # #endif 1568s # static void 1568s # org_project_signaling_iface_proxy_finalize (GObject *object) 1568s # { 1568s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1568s # g_datalist_clear (&proxy->priv->qdata); 1568s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1568s # } 1568s # 1568s # static void 1568s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1568s # guint prop_id G_GNUC_UNUSED, 1568s # GValue *value G_GNUC_UNUSED, 1568s # GParamSpec *pspec G_GNUC_UNUSED) 1568s # { 1568s # } 1568s # 1568s # static void 1568s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1568s # guint prop_id G_GNUC_UNUSED, 1568s # const GValue *value G_GNUC_UNUSED, 1568s # GParamSpec *pspec G_GNUC_UNUSED) 1568s # { 1568s # } 1568s # 1568s # static void 1568s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1568s # const gchar *sender_name G_GNUC_UNUSED, 1568s # const gchar *signal_name, 1568s # GVariant *parameters) 1568s # { 1568s # _ExtendedGDBusSignalInfo *info; 1568s # GVariantIter iter; 1568s # GVariant *child; 1568s # GValue *paramv; 1568s # gsize num_params; 1568s # gsize n; 1568s # guint signal_id; 1568s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1568s # if (info == NULL) 1568s # return; 1568s # num_params = g_variant_n_children (parameters); 1568s # paramv = g_new0 (GValue, num_params + 1); 1568s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1568s # g_value_set_object (¶mv[0], proxy); 1568s # g_variant_iter_init (&iter, parameters); 1568s # n = 1; 1568s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1568s # { 1568s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1568s # if (arg_info->use_gvariant) 1568s # { 1568s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1568s # g_value_set_variant (¶mv[n], child); 1568s # n++; 1568s # } 1568s # else 1568s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1568s # g_variant_unref (child); 1568s # } 1568s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1568s # g_signal_emitv (paramv, signal_id, 0, NULL); 1568s # for (n = 0; n < num_params + 1; n++) 1568s # g_value_unset (¶mv[n]); 1568s # g_free (paramv); 1568s # } 1568s # 1568s # static void 1568s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1568s # GVariant *changed_properties, 1568s # const gchar *const *invalidated_properties) 1568s # { 1568s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1568s # guint n; 1568s # const gchar *key; 1568s # GVariantIter *iter; 1568s # _ExtendedGDBusPropertyInfo *info; 1568s # g_variant_get (changed_properties, "a{sv}", &iter); 1568s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1568s # { 1568s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1568s # g_datalist_remove_data (&proxy->priv->qdata, key); 1568s # if (info != NULL) 1568s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1568s # } 1568s # g_variant_iter_free (iter); 1568s # for (n = 0; invalidated_properties[n] != NULL; n++) 1568s # { 1568s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1568s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1568s # if (info != NULL) 1568s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1568s # } 1568s # } 1568s # 1568s # static void 1568s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1568s # { 1568s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1568s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1568s # #else 1568s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1568s # #endif 1568s # 1568s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1568s # } 1568s # 1568s # static void 1568s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1568s # { 1568s # GObjectClass *gobject_class; 1568s # GDBusProxyClass *proxy_class; 1568s # 1568s # gobject_class = G_OBJECT_CLASS (klass); 1568s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1568s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1568s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1568s # 1568s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1568s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1568s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1568s # 1568s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1568s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1568s # #endif 1568s # } 1568s # 1568s # static void 1568s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1568s # { 1568s # } 1568s # 1568s # /** 1568s # * org_project_signaling_iface_proxy_new: 1568s # * @connection: A #GDBusConnection. 1568s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1568s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1568s # * @object_path: An object path. 1568s # * @cancellable: (nullable): A #GCancellable or %NULL. 1568s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1568s # * @user_data: User data to pass to @callback. 1568s # * 1568s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1568s # * 1568s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1568s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1568s # * 1568s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1568s # */ 1568s # void 1568s # org_project_signaling_iface_proxy_new ( 1568s # GDBusConnection *connection, 1568s # GDBusProxyFlags flags, 1568s # const gchar *name, 1568s # const gchar *object_path, 1568s # GCancellable *cancellable, 1568s # GAsyncReadyCallback callback, 1568s # gpointer user_data) 1568s # { 1568s # 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); 1568s # } 1568s # 1568s # /** 1568s # * org_project_signaling_iface_proxy_new_finish: 1568s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1568s # * @error: Return location for error or %NULL 1568s # * 1568s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1568s # * 1568s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1568s # */ 1568s # OrgProjectSignalingIface * 1568s # org_project_signaling_iface_proxy_new_finish ( 1568s # GAsyncResult *res, 1568s # GError **error) 1568s # { 1568s # GObject *ret; 1568s # GObject *source_object; 1568s # source_object = g_async_result_get_source_object (res); 1568s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1568s # g_object_unref (source_object); 1568s # if (ret != NULL) 1568s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1568s # else 1568s # return NULL; 1568s # } 1568s # 1568s # /** 1568s # * org_project_signaling_iface_proxy_new_sync: 1568s # * @connection: A #GDBusConnection. 1568s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1568s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1568s # * @object_path: An object path. 1568s # * @cancellable: (nullable): A #GCancellable or %NULL. 1568s # * @error: Return location for error or %NULL 1568s # * 1568s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1568s # * 1568s # * The calling thread is blocked until a reply is received. 1568s # * 1568s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1568s # * 1568s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1568s # */ 1568s # OrgProjectSignalingIface * 1568s # org_project_signaling_iface_proxy_new_sync ( 1568s # GDBusConnection *connection, 1568s # GDBusProxyFlags flags, 1568s # const gchar *name, 1568s # const gchar *object_path, 1568s # GCancellable *cancellable, 1568s # GError **error) 1568s # { 1568s # GInitable *ret; 1568s # 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); 1568s # if (ret != NULL) 1568s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1568s # else 1568s # return NULL; 1568s # } 1568s # 1568s # 1568s # /** 1568s # * org_project_signaling_iface_proxy_new_for_bus: 1568s # * @bus_type: A #GBusType. 1568s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1568s # * @name: A bus name (well-known or unique). 1568s # * @object_path: An object path. 1568s # * @cancellable: (nullable): A #GCancellable or %NULL. 1568s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1568s # * @user_data: User data to pass to @callback. 1568s # * 1568s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1568s # * 1568s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1568s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1568s # * 1568s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1568s # */ 1568s # void 1568s # org_project_signaling_iface_proxy_new_for_bus ( 1568s # GBusType bus_type, 1568s # GDBusProxyFlags flags, 1568s # const gchar *name, 1568s # const gchar *object_path, 1568s # GCancellable *cancellable, 1568s # GAsyncReadyCallback callback, 1568s # gpointer user_data) 1568s # { 1568s # 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); 1568s # } 1568s # 1568s # /** 1568s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1568s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1568s # * @error: Return location for error or %NULL 1568s # * 1568s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1568s # * 1568s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1568s # */ 1568s # OrgProjectSignalingIface * 1568s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1568s # GAsyncResult *res, 1568s # GError **error) 1568s # { 1568s # GObject *ret; 1568s # GObject *source_object; 1568s # source_object = g_async_result_get_source_object (res); 1568s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1568s # g_object_unref (source_object); 1568s # if (ret != NULL) 1568s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1568s # else 1568s # return NULL; 1568s # } 1568s # 1568s # /** 1568s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1568s # * @bus_type: A #GBusType. 1568s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1568s # * @name: A bus name (well-known or unique). 1568s # * @object_path: An object path. 1568s # * @cancellable: (nullable): A #GCancellable or %NULL. 1568s # * @error: Return location for error or %NULL 1568s # * 1568s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1568s # * 1568s # * The calling thread is blocked until a reply is received. 1568s # * 1568s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1568s # * 1568s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1568s # */ 1568s # OrgProjectSignalingIface * 1568s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1568s # GBusType bus_type, 1568s # GDBusProxyFlags flags, 1568s # const gchar *name, 1568s # const gchar *object_path, 1568s # GCancellable *cancellable, 1568s # GError **error) 1568s # { 1568s # GInitable *ret; 1568s # 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); 1568s # if (ret != NULL) 1568s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1568s # else 1568s # return NULL; 1568s # } 1568s # 1568s # 1568s # /* ------------------------------------------------------------------------ */ 1568s # 1568s # /** 1568s # * OrgProjectSignalingIfaceSkeleton: 1568s # * 1568s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1568s # */ 1568s # 1568s # /** 1568s # * OrgProjectSignalingIfaceSkeletonClass: 1568s # * @parent_class: The parent class. 1568s # * 1568s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1568s # */ 1568s # 1568s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1568s # { 1568s # GValue *properties; 1568s # GList *changed_properties; 1568s # GSource *changed_properties_idle_source; 1568s # GMainContext *context; 1568s # GMutex lock; 1568s # }; 1568s # 1568s # static void 1568s # _org_project_signaling_iface_skeleton_handle_method_call ( 1568s # GDBusConnection *connection G_GNUC_UNUSED, 1568s # const gchar *sender G_GNUC_UNUSED, 1568s # const gchar *object_path G_GNUC_UNUSED, 1568s # const gchar *interface_name, 1568s # const gchar *method_name, 1568s # GVariant *parameters, 1568s # GDBusMethodInvocation *invocation, 1568s # gpointer user_data) 1568s # { 1568s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1568s # _ExtendedGDBusMethodInfo *info; 1568s # GVariantIter iter; 1568s # GVariant *child; 1568s # GValue *paramv; 1568s # gsize num_params; 1568s # guint num_extra; 1568s # gsize n; 1568s # guint signal_id; 1568s # GValue return_value = G_VALUE_INIT; 1568s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1568s # g_assert (info != NULL); 1568s # num_params = g_variant_n_children (parameters); 1568s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1568s # n = 0; 1568s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1568s # g_value_set_object (¶mv[n++], skeleton); 1568s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1568s # g_value_set_object (¶mv[n++], invocation); 1568s # if (info->pass_fdlist) 1568s # { 1568s # #ifdef G_OS_UNIX 1568s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1568s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1568s # #else 1568s # g_assert_not_reached (); 1568s # #endif 1568s # } 1568s # g_variant_iter_init (&iter, parameters); 1568s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1568s # { 1568s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1568s # if (arg_info->use_gvariant) 1568s # { 1568s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1568s # g_value_set_variant (¶mv[n], child); 1568s # n++; 1568s # } 1568s # else 1568s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1568s # g_variant_unref (child); 1568s # } 1568s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1568s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1568s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1568s # if (!g_value_get_boolean (&return_value)) 1568s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1568s # g_value_unset (&return_value); 1568s # for (n = 0; n < num_params + num_extra; n++) 1568s # g_value_unset (¶mv[n]); 1568s # g_free (paramv); 1568s # } 1568s # 1568s # static GVariant * 1568s # _org_project_signaling_iface_skeleton_handle_get_property ( 1568s # GDBusConnection *connection G_GNUC_UNUSED, 1568s # const gchar *sender G_GNUC_UNUSED, 1568s # const gchar *object_path G_GNUC_UNUSED, 1568s # const gchar *interface_name G_GNUC_UNUSED, 1568s # const gchar *property_name, 1568s # GError **error, 1568s # gpointer user_data) 1568s # { 1568s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1568s # GValue value = G_VALUE_INIT; 1568s # GParamSpec *pspec; 1568s # _ExtendedGDBusPropertyInfo *info; 1568s # GVariant *ret; 1568s # ret = NULL; 1568s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1568s # g_assert (info != NULL); 1568s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1568s # if (pspec == NULL) 1568s # { 1568s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1568s # } 1568s # else 1568s # { 1568s # g_value_init (&value, pspec->value_type); 1568s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1568s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1568s # g_value_unset (&value); 1568s # } 1568s # return ret; 1568s # } 1568s # 1568s # static gboolean 1568s # _org_project_signaling_iface_skeleton_handle_set_property ( 1568s # GDBusConnection *connection G_GNUC_UNUSED, 1568s # const gchar *sender G_GNUC_UNUSED, 1568s # const gchar *object_path G_GNUC_UNUSED, 1568s # const gchar *interface_name G_GNUC_UNUSED, 1568s # const gchar *property_name, 1568s # GVariant *variant, 1568s # GError **error, 1568s # gpointer user_data) 1568s # { 1568s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1568s # GValue value = G_VALUE_INIT; 1568s # GParamSpec *pspec; 1568s # _ExtendedGDBusPropertyInfo *info; 1568s # gboolean ret; 1568s # ret = FALSE; 1568s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1568s # g_assert (info != NULL); 1568s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1568s # if (pspec == NULL) 1568s # { 1568s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1568s # } 1568s # else 1568s # { 1568s # if (info->use_gvariant) 1568s # g_value_set_variant (&value, variant); 1568s # else 1568s # g_dbus_gvariant_to_gvalue (variant, &value); 1568s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1568s # g_value_unset (&value); 1568s # ret = TRUE; 1568s # } 1568s # return ret; 1568s # } 1568s # 1568s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1568s # { 1568s # _org_project_signaling_iface_skeleton_handle_method_call, 1568s # _org_project_signaling_iface_skeleton_handle_get_property, 1568s # _org_project_signaling_iface_skeleton_handle_set_property, 1568s # {NULL} 1568s # }; 1568s # 1568s # static GDBusInterfaceInfo * 1568s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1568s # { 1568s # return org_project_signaling_iface_interface_info (); 1568s # } 1568s # 1568s # static GDBusInterfaceVTable * 1568s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1568s # { 1568s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1568s # } 1568s # 1568s # static GVariant * 1568s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1568s # { 1568s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1568s # 1568s # GVariantBuilder builder; 1568s # guint n; 1568s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1568s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1568s # goto out; 1568s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1568s # { 1568s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1568s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1568s # { 1568s # GVariant *value; 1568s # 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); 1568s # if (value != NULL) 1568s # { 1568s # g_variant_take_ref (value); 1568s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1568s # g_variant_unref (value); 1568s # } 1568s # } 1568s # } 1568s # out: 1568s # return g_variant_builder_end (&builder); 1568s # } 1568s # 1568s # static void 1568s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1568s # { 1568s # } 1568s # 1568s # static void 1568s # _org_project_signaling_iface_on_signal_simple_signal ( 1568s # OrgProjectSignalingIface *object) 1568s # { 1568s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1568s # 1568s # GList *connections, *l; 1568s # GVariant *signal_variant; 1568s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1568s # 1568s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1568s # for (l = connections; l != NULL; l = l->next) 1568s # { 1568s # GDBusConnection *connection = l->data; 1568s # g_dbus_connection_emit_signal (connection, 1568s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 1568s # signal_variant, NULL); 1568s # } 1568s # g_variant_unref (signal_variant); 1568s # g_list_free_full (connections, g_object_unref); 1568s # } 1568s # 1568s # static void 1568s # _org_project_signaling_iface_on_signal_single_arg_signal_s ( 1568s # OrgProjectSignalingIface *object, 1568s # const gchar *arg_arg_s) 1568s # { 1568s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1568s # 1568s # GList *connections, *l; 1568s # GVariant *signal_variant; 1568s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1568s # 1568s # signal_variant = g_variant_ref_sink (g_variant_new ("(s)", 1568s # arg_arg_s)); 1568s # for (l = connections; l != NULL; l = l->next) 1568s # { 1568s # GDBusConnection *connection = l->data; 1568s # g_dbus_connection_emit_signal (connection, 1568s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalS", 1568s # signal_variant, NULL); 1568s # } 1568s # g_variant_unref (signal_variant); 1568s # g_list_free_full (connections, g_object_unref); 1568s # } 1568s # 1568s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1568s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1568s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1568s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1568s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1568s # 1568s # #else 1568s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1568s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1568s # 1568s # #endif 1568s # static void 1568s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1568s # { 1568s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1568s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1568s # if (skeleton->priv->changed_properties_idle_source != NULL) 1568s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1568s # g_main_context_unref (skeleton->priv->context); 1568s # g_mutex_clear (&skeleton->priv->lock); 1568s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1568s # } 1568s # 1568s # static void 1568s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1568s # { 1568s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1568s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1568s # #else 1568s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1568s # #endif 1568s # 1568s # g_mutex_init (&skeleton->priv->lock); 1568s # skeleton->priv->context = g_main_context_ref_thread_default (); 1568s # } 1568s # 1568s # static void 1568s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1568s # { 1568s # GObjectClass *gobject_class; 1568s # GDBusInterfaceSkeletonClass *skeleton_class; 1568s # 1568s # gobject_class = G_OBJECT_CLASS (klass); 1568s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1568s # 1568s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1568s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1568s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1568s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1568s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1568s # 1568s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1568s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1568s # #endif 1568s # } 1568s # 1568s # static void 1568s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1568s # { 1568s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 1568s # iface->single_arg_signal_s = _org_project_signaling_iface_on_signal_single_arg_signal_s; 1568s # } 1568s # 1568s # /** 1568s # * org_project_signaling_iface_skeleton_new: 1568s # * 1568s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1568s # * 1568s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1568s # */ 1568s # OrgProjectSignalingIface * 1568s # org_project_signaling_iface_skeleton_new (void) 1568s # { 1568s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1568s # } 1568s # /tmp/tmpgfozeg7c/tmpt2xxts1q.xml: 1568s # 1568s # 1568s # 1568s # 1568s # 1568s # 1568s # 1568s # 1568s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpgfozeg7c/tmpt2xxts1q.xml', '--output', '-', '--body'] 1568s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-baqskmurxn,guid=fbaffe99d0ccb1f6e1beb84865fc01cd', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.YcZbqk/autopkgtest_tmp', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.YcZbqk/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.YcZbqk/autopkgtest_tmp', 'TERM': 'unknown', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.YcZbqk/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.sVTVMp0Db0', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.rqZsJO/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.YcZbqk/wrapper.sh --artifacts=/tmp/autopkgtest.YcZbqk/installed-tests-artifacts --chdir=/tmp/autopkgtest.YcZbqk/build.S0E/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.YcZbqk/installed-tests-stderr --stdout=/tmp/autopkgtest.YcZbqk/installed-tests-stdout --tmp=/tmp/autopkgtest.YcZbqk/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2' --make-executable=/tmp/autopkgtest.YcZbqk/build.S0E/src/debian/tests/installed-tests -- /tmp/autopkgtest.YcZbqk/build.S0E/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.YcZbqk/build.S0E/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.YcZbqk/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1568s # Output: /* 1568s # * This file is generated by gdbus-codegen, do not modify it. 1568s # * 1568s # * The license of this code is the same as for the D-Bus interface description 1568s # * it was derived from. Note that it links to GLib, so must comply with the 1568s # * LGPL linking clauses. 1568s # */ 1568s # 1568s # #ifdef HAVE_CONFIG_H 1568s # # include "config.h" 1568s # #endif 1568s # 1568s # #include 1568s # #ifdef G_OS_UNIX 1568s # # include 1568s # #endif 1568s # 1568s # #ifdef G_ENABLE_DEBUG 1568s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1568s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1568s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1568s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1568s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1568s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1568s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1568s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1568s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1568s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1568s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1568s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1568s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1568s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1568s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1568s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1568s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1568s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1568s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1568s # #else /* !G_ENABLE_DEBUG */ 1568s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1568s # * Do not access GValues directly in your code. Instead, use the 1568s # * g_value_get_*() functions 1568s # */ 1568s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1568s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1568s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1568s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1568s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1568s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1568s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1568s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1568s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1568s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1568s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1568s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1568s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1568s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1568s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1568s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1568s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1568s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1568s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1568s # #endif /* !G_ENABLE_DEBUG */ 1568s # 1568s # typedef struct 1568s # { 1568s # GDBusArgInfo parent_struct; 1568s # gboolean use_gvariant; 1568s # } _ExtendedGDBusArgInfo; 1568s # 1568s # typedef struct 1568s # { 1568s # GDBusMethodInfo parent_struct; 1568s # const gchar *signal_name; 1568s # gboolean pass_fdlist; 1568s # } _ExtendedGDBusMethodInfo; 1568s # 1568s # typedef struct 1568s # { 1568s # GDBusSignalInfo parent_struct; 1568s # const gchar *signal_name; 1568s # } _ExtendedGDBusSignalInfo; 1568s # 1568s # typedef struct 1568s # { 1568s # GDBusPropertyInfo parent_struct; 1568s # const gchar *hyphen_name; 1568s # guint use_gvariant : 1; 1568s # guint emits_changed_signal : 1; 1568s # } _ExtendedGDBusPropertyInfo; 1568s # 1568s # typedef struct 1568s # { 1568s # GDBusInterfaceInfo parent_struct; 1568s # const gchar *hyphen_name; 1568s # } _ExtendedGDBusInterfaceInfo; 1568s # 1568s # typedef struct 1568s # { 1568s # const _ExtendedGDBusPropertyInfo *info; 1568s # guint prop_id; 1568s # GValue orig_value; /* the value before the change */ 1568s # } ChangedProperty; 1568s # 1568s # static void 1568s # _changed_property_free (ChangedProperty *data) 1568s # { 1568s # g_value_unset (&data->orig_value); 1568s # g_free (data); 1568s # } 1568s # 1568s # static gboolean 1568s # _g_strv_equal0 (gchar **a, gchar **b) 1568s # { 1568s # gboolean ret = FALSE; 1568s # guint n; 1568s # if (a == NULL && b == NULL) 1568s # { 1568s # ret = TRUE; 1568s # goto out; 1568s # } 1568s # if (a == NULL || b == NULL) 1568s # goto out; 1568s # if (g_strv_length (a) != g_strv_length (b)) 1568s # goto out; 1568s # for (n = 0; a[n] != NULL; n++) 1568s # if (g_strcmp0 (a[n], b[n]) != 0) 1568s # goto out; 1568s # ret = TRUE; 1568s # out: 1568s # return ret; 1568s # } 1568s # 1568s # static gboolean 1568s # _g_variant_equal0 (GVariant *a, GVariant *b) 1568s # { 1568s # gboolean ret = FALSE; 1568s # if (a == NULL && b == NULL) 1568s # { 1568s # ret = TRUE; 1568s # goto out; 1568s # } 1568s # if (a == NULL || b == NULL) 1568s # goto out; 1568s # ret = g_variant_equal (a, b); 1568s # out: 1568s # return ret; 1568s # } 1568s # 1568s # G_GNUC_UNUSED static gboolean 1568s # _g_value_equal (const GValue *a, const GValue *b) 1568s # { 1568s # gboolean ret = FALSE; 1568s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1568s # switch (G_VALUE_TYPE (a)) 1568s # { 1568s # case G_TYPE_BOOLEAN: 1568s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1568s # break; 1568s # case G_TYPE_UCHAR: 1568s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1568s # break; 1568s # case G_TYPE_INT: 1568s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1568s # break; 1568s # case G_TYPE_UINT: 1568s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1568s # break; 1568s # case G_TYPE_INT64: 1568s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1568s # break; 1568s # case G_TYPE_UINT64: 1568s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1568s # break; 1568s # case G_TYPE_DOUBLE: 1568s # { 1568s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1568s # gdouble da = g_value_get_double (a); 1568s # gdouble db = g_value_get_double (b); 1568s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1568s # } 1568s # break; 1568s # case G_TYPE_STRING: 1568s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1568s # break; 1568s # case G_TYPE_VARIANT: 1568s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1568s # break; 1568s # default: 1568s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1568s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1568s # else 1568s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1568s # break; 1568s # } 1568s # return ret; 1568s # } 1568s # 1568s # /* ------------------------------------------------------------------------ 1568s # * Code for interface org.project.SignalingIface 1568s # * ------------------------------------------------------------------------ 1568s # */ 1568s # 1568s # /** 1568s # * SECTION:OrgProjectSignalingIface 1568s # * @title: OrgProjectSignalingIface 1568s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1568s # * 1568s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1568s # */ 1568s # 1568s # enum 1568s # { 1568s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 1568s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_O, 1568s # }; 1568s # 1568s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 1568s # 1568s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1568s # 1568s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 1568s # { 1568s # { 1568s # -1, 1568s # (gchar *) "SimpleSignal", 1568s # NULL, 1568s # NULL 1568s # }, 1568s # "simple-signal" 1568s # }; 1568s # 1568s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_o_ARG_arg_o = 1568s # { 1568s # { 1568s # -1, 1568s # (gchar *) "arg_o", 1568s # (gchar *) "o", 1568s # NULL 1568s # }, 1568s # FALSE 1568s # }; 1568s # 1568s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_o_ARG_pointers[] = 1568s # { 1568s # &_org_project_signaling_iface_signal_info_single_arg_signal_o_ARG_arg_o.parent_struct, 1568s # NULL 1568s # }; 1568s # 1568s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_o = 1568s # { 1568s # { 1568s # -1, 1568s # (gchar *) "SingleArgSignalO", 1568s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_o_ARG_pointers, 1568s # NULL 1568s # }, 1568s # "single-arg-signal-o" 1568s # }; 1568s # 1568s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1568s # { 1568s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 1568s # &_org_project_signaling_iface_signal_info_single_arg_signal_o.parent_struct, 1568s # NULL 1568s # }; 1568s # 1568s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1568s # { 1568s # { 1568s # -1, 1568s # (gchar *) "org.project.SignalingIface", 1568s # NULL, 1568s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1568s # NULL, 1568s # NULL 1568s # }, 1568s # "org-project-signaling-iface", 1568s # }; 1568s # 1568s # 1568s # /** 1568s # * org_project_signaling_iface_interface_info: 1568s # * 1568s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1568s # * 1568s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1568s # */ 1568s # GDBusInterfaceInfo * 1568s # org_project_signaling_iface_interface_info (void) 1568s # { 1568s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1568s # } 1568s # 1568s # /** 1568s # * org_project_signaling_iface_override_properties: 1568s # * @klass: The class structure for a #GObject derived class. 1568s # * @property_id_begin: The property id to assign to the first overridden property. 1568s # * 1568s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1568s # * The properties are overridden in the order they are defined. 1568s # * 1568s # * Returns: The last property id. 1568s # */ 1568s # guint 1568s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1568s # { 1568s # return property_id_begin - 1; 1568s # } 1568s # 1568s # 1568s # inline static void 1568s # org_project_signaling_iface_signal_marshal_simple_signal ( 1568s # GClosure *closure, 1568s # GValue *return_value, 1568s # unsigned int n_param_values, 1568s # const GValue *param_values, 1568s # void *invocation_hint, 1568s # void *marshal_data) 1568s # { 1568s # g_cclosure_marshal_VOID__VOID (closure, 1568s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1568s # } 1568s # 1568s # inline static void 1568s # org_project_signaling_iface_signal_marshal_single_arg_signal_o ( 1568s # GClosure *closure, 1568s # GValue *return_value, 1568s # unsigned int n_param_values, 1568s # const GValue *param_values, 1568s # void *invocation_hint, 1568s # void *marshal_data) 1568s # { 1568s # g_cclosure_marshal_VOID__STRING (closure, 1568s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1568s # } 1568s # 1568s # 1568s # /** 1568s # * OrgProjectSignalingIface: 1568s # * 1568s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1568s # */ 1568s # 1568s # /** 1568s # * OrgProjectSignalingIfaceIface: 1568s # * @parent_iface: The parent interface. 1568s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 1568s # * @single_arg_signal_o: Handler for the #OrgProjectSignalingIface::single-arg-signal-o signal. 1568s # * 1568s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1568s # */ 1568s # 1568s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1568s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1568s # 1568s # static void 1568s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1568s # { 1568s # /* GObject signals for received D-Bus signals: */ 1568s # /** 1568s # * OrgProjectSignalingIface::simple-signal: 1568s # * @object: A #OrgProjectSignalingIface. 1568s # * 1568s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1568s # * 1568s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1568s # */ 1568s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 1568s # g_signal_new ("simple-signal", 1568s # G_TYPE_FROM_INTERFACE (iface), 1568s # G_SIGNAL_RUN_LAST, 1568s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 1568s # NULL, 1568s # NULL, 1568s # org_project_signaling_iface_signal_marshal_simple_signal, 1568s # G_TYPE_NONE, 1568s # 0); 1568s # 1568s # /** 1568s # * OrgProjectSignalingIface::single-arg-signal-o: 1568s # * @object: A #OrgProjectSignalingIface. 1568s # * @arg_arg_o: Argument. 1568s # * 1568s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalO" is received. 1568s # * 1568s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1568s # */ 1568s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_O] = 1568s # g_signal_new ("single-arg-signal-o", 1568s # G_TYPE_FROM_INTERFACE (iface), 1568s # G_SIGNAL_RUN_LAST, 1568s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_o), 1568s # NULL, 1568s # NULL, 1568s # org_project_signaling_iface_signal_marshal_single_arg_signal_o, 1568s # G_TYPE_NONE, 1568s # 1, G_TYPE_STRING); 1568s # 1568s # } 1568s # 1568s # /** 1568s # * org_project_signaling_iface_emit_simple_signal: 1568s # * @object: A #OrgProjectSignalingIface. 1568s # * 1568s # * Emits the "SimpleSignal" D-Bus signal. 1568s # */ 1568s # void 1568s # org_project_signaling_iface_emit_simple_signal ( 1568s # OrgProjectSignalingIface *object) 1568s # { 1568s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 1568s # } 1568s # 1568s # /** 1568s # * org_project_signaling_iface_emit_single_arg_signal_o: 1568s # * @object: A #OrgProjectSignalingIface. 1568s # * @arg_arg_o: Argument to pass with the signal. 1568s # * 1568s # * Emits the "SingleArgSignalO" D-Bus signal. 1568s # */ 1568s # void 1568s # org_project_signaling_iface_emit_single_arg_signal_o ( 1568s # OrgProjectSignalingIface *object, 1568s # const gchar *arg_arg_o) 1568s # { 1568s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_O], 0, arg_arg_o); 1568s # } 1568s # 1568s # /* ------------------------------------------------------------------------ */ 1568s # 1568s # /** 1568s # * OrgProjectSignalingIfaceProxy: 1568s # * 1568s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1568s # */ 1568s # 1568s # /** 1568s # * OrgProjectSignalingIfaceProxyClass: 1568s # * @parent_class: The parent class. 1568s # * 1568s # * Class structure for #OrgProjectSignalingIfaceProxy. 1568s # */ 1568s # 1568s # struct _OrgProjectSignalingIfaceProxyPrivate 1568s # { 1568s # GData *qdata; 1568s # }; 1568s # 1568s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1568s # 1568s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1568s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1568s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1568s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1568s # 1568s # #else 1568s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1568s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1568s # 1568s # #endif 1568s # static void 1568s # org_project_signaling_iface_proxy_finalize (GObject *object) 1568s # { 1568s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1568s # g_datalist_clear (&proxy->priv->qdata); 1568s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1568s # } 1568s # 1568s # static void 1568s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1568s # guint prop_id G_GNUC_UNUSED, 1568s # GValue *value G_GNUC_UNUSED, 1568s # GParamSpec *pspec G_GNUC_UNUSED) 1568s # { 1568s # } 1568s # 1568s # static void 1568s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1568s # guint prop_id G_GNUC_UNUSED, 1568s # const GValue *value G_GNUC_UNUSED, 1568s # GParamSpec *pspec G_GNUC_UNUSED) 1568s # { 1568s # } 1568s # 1568s # static void 1568s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1568s # const gchar *sender_name G_GNUC_UNUSED, 1568s # const gchar *signal_name, 1568s # GVariant *parameters) 1568s # { 1568s # _ExtendedGDBusSignalInfo *info; 1568s # GVariantIter iter; 1568s # GVariant *child; 1568s # GValue *paramv; 1568s # gsize num_params; 1568s # gsize n; 1568s # guint signal_id; 1568s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1568s # if (info == NULL) 1568s # return; 1568s # num_params = g_variant_n_children (parameters); 1568s # paramv = g_new0 (GValue, num_params + 1); 1568s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1568s # g_value_set_object (¶mv[0], proxy); 1568s # g_variant_iter_init (&iter, parameters); 1568s # n = 1; 1568s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1568s # { 1568s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1568s # if (arg_info->use_gvariant) 1568s # { 1568s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1568s # g_value_set_variant (¶mv[n], child); 1568s # n++; 1568s # } 1568s # else 1568s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1568s # g_variant_unref (child); 1568s # } 1568s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1568s # g_signal_emitv (paramv, signal_id, 0, NULL); 1568s # for (n = 0; n < num_params + 1; n++) 1568s # g_value_unset (¶mv[n]); 1568s # g_free (paramv); 1568s # } 1568s # 1568s # static void 1568s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1568s # GVariant *changed_properties, 1568s # const gchar *const *invalidated_properties) 1568s # { 1568s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1568s # guint n; 1568s # const gchar *key; 1568s # GVariantIter *iter; 1568s # _ExtendedGDBusPropertyInfo *info; 1568s # g_variant_get (changed_properties, "a{sv}", &iter); 1568s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1568s # { 1568s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1568s # g_datalist_remove_data (&proxy->priv->qdata, key); 1568s # if (info != NULL) 1568s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1568s # } 1568s # g_variant_iter_free (iter); 1568s # for (n = 0; invalidated_properties[n] != NULL; n++) 1568s # { 1568s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1568s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1568s # if (info != NULL) 1568s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1568s # } 1568s # } 1568s # 1568s # static void 1568s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1568s # { 1568s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1568s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1568s # #else 1568s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1568s # #endif 1568s # 1568s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1568s # } 1568s # 1568s # static void 1568s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1568s # { 1568s # GObjectClass *gobject_class; 1568s # GDBusProxyClass *proxy_class; 1568s # 1568s # gobject_class = G_OBJECT_CLASS (klass); 1568s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1568s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1568s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1568s # 1568s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1568s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1568s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1568s # 1568s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1568s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1568s # #endif 1568s # } 1568s # 1568s # static void 1568s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1568s # { 1568s # } 1568s # 1568s # /** 1568s # * org_project_signaling_iface_proxy_new: 1568s # * @connection: A #GDBusConnection. 1568s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1568s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1568s # * @object_path: An object path. 1568s # * @cancellable: (nullable): A #GCancellable or %NULL. 1568s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1568s # * @user_data: User data to pass to @callback. 1568s # * 1568s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1568s # * 1568s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1568s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1568s # * 1568s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1568s # */ 1568s # void 1568s # org_project_signaling_iface_proxy_new ( 1568s # GDBusConnection *connection, 1568s # GDBusProxyFlags flags, 1568s # const gchar *name, 1568s # const gchar *object_path, 1568s # GCancellable *cancellable, 1568s # GAsyncReadyCallback callback, 1568s # gpointer user_data) 1568s # { 1568s # 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); 1568s # } 1568s # 1568s # /** 1568s # * org_project_signaling_iface_proxy_new_finish: 1568s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1568s # * @error: Return location for error or %NULL 1568s # * 1568s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1568s # * 1568s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1568s # */ 1568s # OrgProjectSignalingIface * 1568s # org_project_signaling_iface_proxy_new_finish ( 1568s # GAsyncResult *res, 1568s # GError **error) 1568s # { 1568s # GObject *ret; 1568s # GObject *source_object; 1568s # source_object = g_async_result_get_source_object (res); 1568s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1568s # g_object_unref (source_object); 1568s # if (ret != NULL) 1568s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1568s # else 1568s # return NULL; 1568s # } 1568s # 1568s # /** 1568s # * org_project_signaling_iface_proxy_new_sync: 1568s # * @connection: A #GDBusConnection. 1568s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1568s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1568s # * @object_path: An object path. 1568s # * @cancellable: (nullable): A #GCancellable or %NULL. 1568s # * @error: Return location for error or %NULL 1568s # * 1568s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1568s # * 1568s # * The calling thread is blocked until a reply is received. 1568s # * 1568s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1568s # * 1568s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1568s # */ 1568s # OrgProjectSignalingIface * 1568s # org_project_signaling_iface_proxy_new_sync ( 1568s # GDBusConnection *connection, 1568s # GDBusProxyFlags flags, 1568s # const gchar *name, 1568s # const gchar *object_path, 1568s # GCancellable *cancellable, 1568s # GError **error) 1568s # { 1568s # GInitable *ret; 1568s # 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); 1568s # if (ret != NULL) 1568s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1568s # else 1568s # return NULL; 1568s # } 1568s # 1568s # 1568s # /** 1568s # * org_project_signaling_iface_proxy_new_for_bus: 1568s # * @bus_type: A #GBusType. 1568s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1568s # * @name: A bus name (well-known or unique). 1568s # * @object_path: An object path. 1568s # * @cancellable: (nullable): A #GCancellable or %NULL. 1568s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1568s # * @user_data: User data to pass to @callback. 1568s # * 1568s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1568s # * 1568s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1568s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1568s # * 1568s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1568s # */ 1568s # void 1568s # org_project_signaling_iface_proxy_new_for_bus ( 1568s # GBusType bus_type, 1568s # GDBusProxyFlags flags, 1568s # const gchar *name, 1568s # const gchar *object_path, 1568s # GCancellable *cancellable, 1568s # GAsyncReadyCallback callback, 1568s # gpointer user_data) 1568s # { 1568s # 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); 1568s # } 1568s # 1568s # /** 1568s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1568s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1568s # * @error: Return location for error or %NULL 1568s # * 1568s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1568s # * 1568s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1568s # */ 1568s # OrgProjectSignalingIface * 1568s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1568s # GAsyncResult *res, 1568s # GError **error) 1568s # { 1568s # GObject *ret; 1568s # GObject *source_object; 1568s # source_object = g_async_result_get_source_object (res); 1568s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1568s # g_object_unref (source_object); 1568s # if (ret != NULL) 1568s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1568s # else 1568s # return NULL; 1568s # } 1568s # 1568s # /** 1568s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1568s # * @bus_type: A #GBusType. 1568s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1568s # * @name: A bus name (well-known or unique). 1568s # * @object_path: An object path. 1568s # * @cancellable: (nullable): A #GCancellable or %NULL. 1568s # * @error: Return location for error or %NULL 1568s # * 1568s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1568s # * 1568s # * The calling thread is blocked until a reply is received. 1568s # * 1568s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1568s # * 1568s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1568s # */ 1568s # OrgProjectSignalingIface * 1568s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1568s # GBusType bus_type, 1568s # GDBusProxyFlags flags, 1568s # const gchar *name, 1568s # const gchar *object_path, 1568s # GCancellable *cancellable, 1568s # GError **error) 1568s # { 1568s # GInitable *ret; 1568s # 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); 1568s # if (ret != NULL) 1568s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1568s # else 1568s # return NULL; 1568s # } 1568s # 1568s # 1568s # /* ------------------------------------------------------------------------ */ 1568s # 1568s # /** 1568s # * OrgProjectSignalingIfaceSkeleton: 1568s # * 1568s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1568s # */ 1568s # 1568s # /** 1568s # * OrgProjectSignalingIfaceSkeletonClass: 1568s # * @parent_class: The parent class. 1568s # * 1568s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1568s # */ 1568s # 1568s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1568s # { 1568s # GValue *properties; 1568s # GList *changed_properties; 1568s # GSource *changed_properties_idle_source; 1568s # GMainContext *context; 1568s # GMutex lock; 1568s # }; 1568s # 1568s # static void 1568s # _org_project_signaling_iface_skeleton_handle_method_call ( 1568s # GDBusConnection *connection G_GNUC_UNUSED, 1568s # const gchar *sender G_GNUC_UNUSED, 1568s # const gchar *object_path G_GNUC_UNUSED, 1568s # const gchar *interface_name, 1568s # const gchar *method_name, 1568s # GVariant *parameters, 1568s # GDBusMethodInvocation *invocation, 1568s # gpointer user_data) 1568s # { 1568s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1568s # _ExtendedGDBusMethodInfo *info; 1568s # GVariantIter iter; 1568s # GVariant *child; 1568s # GValue *paramv; 1568s # gsize num_params; 1568s # guint num_extra; 1568s # gsize n; 1568s # guint signal_id; 1568s # GValue return_value = G_VALUE_INIT; 1568s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1568s # g_assert (info != NULL); 1568s # num_params = g_variant_n_children (parameters); 1568s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1568s # n = 0; 1568s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1568s # g_value_set_object (¶mv[n++], skeleton); 1568s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1568s # g_value_set_object (¶mv[n++], invocation); 1568s # if (info->pass_fdlist) 1568s # { 1568s # #ifdef G_OS_UNIX 1568s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1568s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1568s # #else 1568s # g_assert_not_reached (); 1568s # #endif 1568s # } 1568s # g_variant_iter_init (&iter, parameters); 1568s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1568s # { 1568s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1568s # if (arg_info->use_gvariant) 1568s # { 1568s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1568s # g_value_set_variant (¶mv[n], child); 1568s # n++; 1568s # } 1568s # else 1568s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1568s # g_variant_unref (child); 1568s # } 1568s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1568s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1568s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1568s # if (!g_value_get_boolean (&return_value)) 1568s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1568s # g_value_unset (&return_value); 1568s # for (n = 0; n < num_params + num_extra; n++) 1568s # g_value_unset (¶mv[n]); 1568s # g_free (paramv); 1568s # } 1568s # 1568s # static GVariant * 1568s # _org_project_signaling_iface_skeleton_handle_get_property ( 1568s # GDBusConnection *connection G_GNUC_UNUSED, 1568s # const gchar *sender G_GNUC_UNUSED, 1568s # const gchar *object_path G_GNUC_UNUSED, 1568s # const gchar *interface_name G_GNUC_UNUSED, 1568s # const gchar *property_name, 1568s # GError **error, 1568s # gpointer user_data) 1568s # { 1568s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1568s # GValue value = G_VALUE_INIT; 1568s # GParamSpec *pspec; 1568s # _ExtendedGDBusPropertyInfo *info; 1568s # GVariant *ret; 1568s # ret = NULL; 1568s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1568s # g_assert (info != NULL); 1568s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1568s # if (pspec == NULL) 1568s # { 1568s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1568s # } 1568s # else 1568s # { 1568s # g_value_init (&value, pspec->value_type); 1568s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1568s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1568s # g_value_unset (&value); 1568s # } 1568s # return ret; 1568s # } 1568s # 1568s # static gboolean 1568s # _org_project_signaling_iface_skeleton_handle_set_property ( 1568s # GDBusConnection *connection G_GNUC_UNUSED, 1568s # const gchar *sender G_GNUC_UNUSED, 1568s # const gchar *object_path G_GNUC_UNUSED, 1568s # const gchar *interface_name G_GNUC_UNUSED, 1568s # const gchar *property_name, 1568s # GVariant *variant, 1568s # GError **error, 1568s # gpointer user_data) 1568s # { 1568s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1568s # GValue value = G_VALUE_INIT; 1568s # GParamSpec *pspec; 1568s # _ExtendedGDBusPropertyInfo *info; 1568s # gboolean ret; 1568s # ret = FALSE; 1568s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1568s # g_assert (info != NULL); 1568s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1568s # if (pspec == NULL) 1568s # { 1568s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1568s # } 1568s # else 1568s # { 1568s # if (info->use_gvariant) 1568s # g_value_set_variant (&value, variant); 1568s # else 1568s # g_dbus_gvariant_to_gvalue (variant, &value); 1568s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1568s # g_value_unset (&value); 1568s # ret = TRUE; 1568s # } 1568s # return ret; 1568s # } 1568s # 1568s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1568s # { 1568s # _org_project_signaling_iface_skeleton_handle_method_call, 1568s # _org_project_signaling_iface_skeleton_handle_get_property, 1568s # _org_project_signaling_iface_skeleton_handle_set_property, 1568s # {NULL} 1568s # }; 1568s # 1568s # static GDBusInterfaceInfo * 1568s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1568s # { 1568s # return org_project_signaling_iface_interface_info (); 1568s # } 1568s # 1568s # static GDBusInterfaceVTable * 1568s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1568s # { 1568s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1568s # } 1568s # 1568s # static GVariant * 1568s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1568s # { 1568s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1568s # 1568s # GVariantBuilder builder; 1568s # guint n; 1568s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1568s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1568s # goto out; 1568s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1568s # { 1568s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1568s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1568s # { 1568s # GVariant *value; 1568s # 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); 1568s # if (value != NULL) 1568s # { 1568s # g_variant_take_ref (value); 1568s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1568s # g_variant_unref (value); 1568s # } 1568s # } 1568s # } 1568s # out: 1568s # return g_variant_builder_end (&builder); 1568s # } 1568s # 1568s # static void 1568s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1568s # { 1568s # } 1568s # 1568s # static void 1568s # _org_project_signaling_iface_on_signal_simple_signal ( 1568s # OrgProjectSignalingIface *object) 1568s # { 1568s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1568s # 1568s # GList *connections, *l; 1568s # GVariant *signal_variant; 1568s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1568s # 1568s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1568s # for (l = connections; l != NULL; l = l->next) 1568s # { 1568s # GDBusConnection *connection = l->data; 1568s # g_dbus_connection_emit_signal (connection, 1568s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 1568s # signal_variant, NULL); 1568s # } 1568s # g_variant_unref (signal_variant); 1568s # g_list_free_full (connections, g_object_unref); 1568s # } 1568s # 1568s # static void 1568s # _org_project_signaling_iface_on_signal_single_arg_signal_o ( 1568s # OrgProjectSignalingIface *object, 1568s # const gchar *arg_arg_o) 1568s # { 1568s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1568s # 1568s # GList *connections, *l; 1568s # GVariant *signal_variant; 1568s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1568s # 1568s # signal_variant = g_variant_ref_sink (g_variant_new ("(o)", 1568s # arg_arg_o)); 1568s # for (l = connections; l != NULL; l = l->next) 1568s # { 1568s # GDBusConnection *connection = l->data; 1568s # g_dbus_connection_emit_signal (connection, 1568s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalO", 1568s # signal_variant, NULL); 1568s # } 1568s # g_variant_unref (signal_variant); 1568s # g_list_free_full (connections, g_object_unref); 1568s # } 1568s # 1568s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1568s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1568s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1568s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1568s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1568s # 1568s # #else 1568s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1568s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1568s # 1568s # #endif 1568s # static void 1568s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1568s # { 1568s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1568s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1568s # if (skeleton->priv->changed_properties_idle_source != NULL) 1568s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1568s # g_main_context_unref (skeleton->priv->context); 1568s # g_mutex_clear (&skeleton->priv->lock); 1568s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1568s # } 1568s # 1568s # static void 1568s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1568s # { 1568s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1568s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1568s # #else 1568s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1568s # #endif 1568s # 1568s # g_mutex_init (&skeleton->priv->lock); 1568s # skeleton->priv->context = g_main_context_ref_thread_default (); 1568s # } 1568s # 1568s # static void 1568s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1568s # { 1568s # GObjectClass *gobject_class; 1568s # GDBusInterfaceSkeletonClass *skeleton_class; 1568s # 1568s # gobject_class = G_OBJECT_CLASS (klass); 1568s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1568s # 1568s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1568s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1568s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1568s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1568s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1568s # 1568s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1568s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1568s # #endif 1568s # } 1568s # 1568s # static void 1568s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1568s # { 1568s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 1568s # iface->single_arg_signal_o = _org_project_signaling_iface_on_signal_single_arg_signal_o; 1568s # } 1568s # 1568s # /** 1568s # * org_project_signaling_iface_skeleton_new: 1568s # * 1568s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1568s # * 1568s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1568s # */ 1568s # OrgProjectSignalingIface * 1568s # org_project_signaling_iface_skeleton_new (void) 1568s # { 1568s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1568s # } 1568s # /tmp/tmpgfozeg7c/tmpt2da2nxt.xml: 1568s # 1568s # 1568s # 1568s # 1568s # 1568s # 1568s # 1568s # 1568s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpgfozeg7c/tmpt2da2nxt.xml', '--output', '-', '--body'] 1568s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-baqskmurxn,guid=fbaffe99d0ccb1f6e1beb84865fc01cd', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.YcZbqk/autopkgtest_tmp', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.YcZbqk/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.YcZbqk/autopkgtest_tmp', 'TERM': 'unknown', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.YcZbqk/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.sVTVMp0Db0', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.rqZsJO/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.YcZbqk/wrapper.sh --artifacts=/tmp/autopkgtest.YcZbqk/installed-tests-artifacts --chdir=/tmp/autopkgtest.YcZbqk/build.S0E/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.YcZbqk/installed-tests-stderr --stdout=/tmp/autopkgtest.YcZbqk/installed-tests-stdout --tmp=/tmp/autopkgtest.YcZbqk/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2' --make-executable=/tmp/autopkgtest.YcZbqk/build.S0E/src/debian/tests/installed-tests -- /tmp/autopkgtest.YcZbqk/build.S0E/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.YcZbqk/build.S0E/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.YcZbqk/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1568s # Output: /* 1568s # * This file is generated by gdbus-codegen, do not modify it. 1568s # * 1568s # * The license of this code is the same as for the D-Bus interface description 1568s # * it was derived from. Note that it links to GLib, so must comply with the 1568s # * LGPL linking clauses. 1568s # */ 1568s # 1568s # #ifdef HAVE_CONFIG_H 1568s # # include "config.h" 1568s # #endif 1568s # 1568s # #include 1568s # #ifdef G_OS_UNIX 1568s # # include 1568s # #endif 1568s # 1568s # #ifdef G_ENABLE_DEBUG 1568s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1568s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1568s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1568s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1568s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1568s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1568s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1568s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1568s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1568s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1568s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1568s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1568s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1568s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1568s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1568s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1568s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1568s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1568s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1568s # #else /* !G_ENABLE_DEBUG */ 1568s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1568s # * Do not access GValues directly in your code. Instead, use the 1568s # * g_value_get_*() functions 1568s # */ 1568s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1568s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1568s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1568s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1568s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1568s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1568s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1568s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1568s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1568s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1568s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1568s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1568s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1568s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1568s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1568s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1568s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1568s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1568s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1568s # #endif /* !G_ENABLE_DEBUG */ 1568s # 1568s # typedef struct 1568s # { 1568s # GDBusArgInfo parent_struct; 1568s # gboolean use_gvariant; 1568s # } _ExtendedGDBusArgInfo; 1568s # 1568s # typedef struct 1568s # { 1568s # GDBusMethodInfo parent_struct; 1568s # const gchar *signal_name; 1568s # gboolean pass_fdlist; 1568s # } _ExtendedGDBusMethodInfo; 1568s # 1568s # typedef struct 1568s # { 1568s # GDBusSignalInfo parent_struct; 1568s # const gchar *signal_name; 1568s # } _ExtendedGDBusSignalInfo; 1568s # 1568s # typedef struct 1568s # { 1568s # GDBusPropertyInfo parent_struct; 1568s # const gchar *hyphen_name; 1568s # guint use_gvariant : 1; 1568s # guint emits_changed_signal : 1; 1568s # } _ExtendedGDBusPropertyInfo; 1568s # 1568s # typedef struct 1568s # { 1568s # GDBusInterfaceInfo parent_struct; 1568s # const gchar *hyphen_name; 1568s # } _ExtendedGDBusInterfaceInfo; 1568s # 1568s # typedef struct 1568s # { 1568s # const _ExtendedGDBusPropertyInfo *info; 1568s # guint prop_id; 1568s # GValue orig_value; /* the value before the change */ 1568s # } ChangedProperty; 1568s # 1568s # static void 1568s # _changed_property_free (ChangedProperty *data) 1568s # { 1568s # g_value_unset (&data->orig_value); 1568s # g_free (data); 1568s # } 1568s # 1568s # static gboolean 1568s # _g_strv_equal0 (gchar **a, gchar **b) 1568s # { 1568s # gboolean ret = FALSE; 1568s # guint n; 1568s # if (a == NULL && b == NULL) 1568s # { 1568s # ret = TRUE; 1568s # goto out; 1568s # } 1568s # if (a == NULL || b == NULL) 1568s # goto out; 1568s # if (g_strv_length (a) != g_strv_length (b)) 1568s # goto out; 1568s # for (n = 0; a[n] != NULL; n++) 1568s # if (g_strcmp0 (a[n], b[n]) != 0) 1568s # goto out; 1568s # ret = TRUE; 1568s # out: 1568s # return ret; 1568s # } 1568s # 1568s # static gboolean 1568s # _g_variant_equal0 (GVariant *a, GVariant *b) 1568s # { 1568s # gboolean ret = FALSE; 1568s # if (a == NULL && b == NULL) 1568s # { 1568s # ret = TRUE; 1568s # goto out; 1568s # } 1568s # if (a == NULL || b == NULL) 1568s # goto out; 1568s # ret = g_variant_equal (a, b); 1568s # out: 1568s # return ret; 1568s # } 1568s # 1568s # G_GNUC_UNUSED static gboolean 1568s # _g_value_equal (const GValue *a, const GValue *b) 1568s # { 1568s # gboolean ret = FALSE; 1568s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1568s # switch (G_VALUE_TYPE (a)) 1568s # { 1568s # case G_TYPE_BOOLEAN: 1568s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1568s # break; 1568s # case G_TYPE_UCHAR: 1568s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1568s # break; 1568s # case G_TYPE_INT: 1568s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1568s # break; 1568s # case G_TYPE_UINT: 1568s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1568s # break; 1568s # case G_TYPE_INT64: 1568s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1568s # break; 1568s # case G_TYPE_UINT64: 1568s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1568s # break; 1568s # case G_TYPE_DOUBLE: 1568s # { 1568s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1568s # gdouble da = g_value_get_double (a); 1568s # gdouble db = g_value_get_double (b); 1568s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1568s # } 1568s # break; 1568s # case G_TYPE_STRING: 1568s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1568s # break; 1568s # case G_TYPE_VARIANT: 1568s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1568s # break; 1568s # default: 1568s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1568s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1568s # else 1568s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1568s # break; 1568s # } 1568s # return ret; 1568s # } 1568s # 1568s # /* ------------------------------------------------------------------------ 1568s # * Code for interface org.project.SignalingIface 1568s # * ------------------------------------------------------------------------ 1568s # */ 1568s # 1568s # /** 1568s # * SECTION:OrgProjectSignalingIface 1568s # * @title: OrgProjectSignalingIface 1568s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1568s # * 1568s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1568s # */ 1568s # 1568s # enum 1568s # { 1568s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 1568s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_G, 1568s # }; 1568s # 1568s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 1568s # 1568s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1568s # 1568s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 1568s # { 1568s # { 1568s # -1, 1568s # (gchar *) "SimpleSignal", 1568s # NULL, 1568s # NULL 1568s # }, 1568s # "simple-signal" 1568s # }; 1568s # 1568s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_g_ARG_arg_g = 1568s # { 1568s # { 1568s # -1, 1568s # (gchar *) "arg_g", 1568s # (gchar *) "g", 1568s # NULL 1568s # }, 1568s # FALSE 1568s # }; 1568s # 1568s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_g_ARG_pointers[] = 1568s # { 1568s # &_org_project_signaling_iface_signal_info_single_arg_signal_g_ARG_arg_g.parent_struct, 1568s # NULL 1568s # }; 1568s # 1568s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_g = 1568s # { 1568s # { 1568s # -1, 1568s # (gchar *) "SingleArgSignalG", 1568s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_g_ARG_pointers, 1568s # NULL 1568s # }, 1568s # "single-arg-signal-g" 1568s # }; 1568s # 1568s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1568s # { 1568s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 1568s # &_org_project_signaling_iface_signal_info_single_arg_signal_g.parent_struct, 1568s # NULL 1568s # }; 1568s # 1568s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1568s # { 1568s # { 1568s # -1, 1568s # (gchar *) "org.project.SignalingIface", 1568s # NULL, 1568s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1568s # NULL, 1568s # NULL 1568s # }, 1568s # "org-project-signaling-iface", 1568s # }; 1568s # 1568s # 1568s # /** 1568s # * org_project_signaling_iface_interface_info: 1568s # * 1568s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1568s # * 1568s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1568s # */ 1568s # GDBusInterfaceInfo * 1568s # org_project_signaling_iface_interface_info (void) 1568s # { 1568s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1568s # } 1568s # 1568s # /** 1568s # * org_project_signaling_iface_override_properties: 1568s # * @klass: The class structure for a #GObject derived class. 1568s # * @property_id_begin: The property id to assign to the first overridden property. 1568s # * 1568s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1568s # * The properties are overridden in the order they are defined. 1568s # * 1568s # * Returns: The last property id. 1568s # */ 1568s # guint 1568s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1568s # { 1568s # return property_id_begin - 1; 1568s # } 1568s # 1568s # 1568s # inline static void 1568s # org_project_signaling_iface_signal_marshal_simple_signal ( 1568s # GClosure *closure, 1568s # GValue *return_value, 1568s # unsigned int n_param_values, 1568s # const GValue *param_values, 1568s # void *invocation_hint, 1568s # void *marshal_data) 1568s # { 1568s # g_cclosure_marshal_VOID__VOID (closure, 1568s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1568s # } 1568s # 1568s # inline static void 1568s # org_project_signaling_iface_signal_marshal_single_arg_signal_g ( 1568s # GClosure *closure, 1568s # GValue *return_value, 1568s # unsigned int n_param_values, 1568s # const GValue *param_values, 1568s # void *invocation_hint, 1568s # void *marshal_data) 1568s # { 1568s # g_cclosure_marshal_VOID__STRING (closure, 1568s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1568s # } 1568s # 1568s # 1568s # /** 1568s # * OrgProjectSignalingIface: 1568s # * 1568s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1568s # */ 1568s # 1568s # /** 1568s # * OrgProjectSignalingIfaceIface: 1568s # * @parent_iface: The parent interface. 1568s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 1568s # * @single_arg_signal_g: Handler for the #OrgProjectSignalingIface::single-arg-signal-g signal. 1568s # * 1568s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1568s # */ 1568s # 1568s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1568s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1568s # 1568s # static void 1568s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1568s # { 1568s # /* GObject signals for received D-Bus signals: */ 1568s # /** 1568s # * OrgProjectSignalingIface::simple-signal: 1568s # * @object: A #OrgProjectSignalingIface. 1568s # * 1568s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1568s # * 1568s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1568s # */ 1568s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 1568s # g_signal_new ("simple-signal", 1568s # G_TYPE_FROM_INTERFACE (iface), 1568s # G_SIGNAL_RUN_LAST, 1568s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 1568s # NULL, 1568s # NULL, 1568s # org_project_signaling_iface_signal_marshal_simple_signal, 1568s # G_TYPE_NONE, 1568s # 0); 1568s # 1568s # /** 1568s # * OrgProjectSignalingIface::single-arg-signal-g: 1568s # * @object: A #OrgProjectSignalingIface. 1568s # * @arg_arg_g: Argument. 1568s # * 1568s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalG" is received. 1568s # * 1568s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1568s # */ 1568s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_G] = 1568s # g_signal_new ("single-arg-signal-g", 1568s # G_TYPE_FROM_INTERFACE (iface), 1568s # G_SIGNAL_RUN_LAST, 1568s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_g), 1568s # NULL, 1568s # NULL, 1568s # org_project_signaling_iface_signal_marshal_single_arg_signal_g, 1568s # G_TYPE_NONE, 1568s # 1, G_TYPE_STRING); 1568s # 1568s # } 1568s # 1568s # /** 1568s # * org_project_signaling_iface_emit_simple_signal: 1568s # * @object: A #OrgProjectSignalingIface. 1568s # * 1568s # * Emits the "SimpleSignal" D-Bus signal. 1568s # */ 1568s # void 1568s # org_project_signaling_iface_emit_simple_signal ( 1568s # OrgProjectSignalingIface *object) 1568s # { 1568s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 1568s # } 1568s # 1568s # /** 1568s # * org_project_signaling_iface_emit_single_arg_signal_g: 1568s # * @object: A #OrgProjectSignalingIface. 1568s # * @arg_arg_g: Argument to pass with the signal. 1568s # * 1568s # * Emits the "SingleArgSignalG" D-Bus signal. 1568s # */ 1568s # void 1568s # org_project_signaling_iface_emit_single_arg_signal_g ( 1568s # OrgProjectSignalingIface *object, 1568s # const gchar *arg_arg_g) 1568s # { 1568s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_G], 0, arg_arg_g); 1568s # } 1568s # 1568s # /* ------------------------------------------------------------------------ */ 1568s # 1568s # /** 1568s # * OrgProjectSignalingIfaceProxy: 1568s # * 1568s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1568s # */ 1568s # 1568s # /** 1568s # * OrgProjectSignalingIfaceProxyClass: 1568s # * @parent_class: The parent class. 1568s # * 1568s # * Class structure for #OrgProjectSignalingIfaceProxy. 1568s # */ 1568s # 1568s # struct _OrgProjectSignalingIfaceProxyPrivate 1568s # { 1568s # GData *qdata; 1568s # }; 1568s # 1568s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1568s # 1568s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1568s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1568s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1568s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1568s # 1568s # #else 1568s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1568s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1568s # 1568s # #endif 1568s # static void 1568s # org_project_signaling_iface_proxy_finalize (GObject *object) 1568s # { 1568s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1568s # g_datalist_clear (&proxy->priv->qdata); 1568s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1568s # } 1568s # 1568s # static void 1568s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1568s # guint prop_id G_GNUC_UNUSED, 1568s # GValue *value G_GNUC_UNUSED, 1568s # GParamSpec *pspec G_GNUC_UNUSED) 1568s # { 1568s # } 1568s # 1568s # static void 1568s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1568s # guint prop_id G_GNUC_UNUSED, 1568s # const GValue *value G_GNUC_UNUSED, 1568s # GParamSpec *pspec G_GNUC_UNUSED) 1568s # { 1568s # } 1568s # 1568s # static void 1568s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1568s # const gchar *sender_name G_GNUC_UNUSED, 1568s # const gchar *signal_name, 1568s # GVariant *parameters) 1568s # { 1568s # _ExtendedGDBusSignalInfo *info; 1568s # GVariantIter iter; 1568s # GVariant *child; 1568s # GValue *paramv; 1568s # gsize num_params; 1568s # gsize n; 1568s # guint signal_id; 1568s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1568s # if (info == NULL) 1568s # return; 1568s # num_params = g_variant_n_children (parameters); 1568s # paramv = g_new0 (GValue, num_params + 1); 1568s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1568s # g_value_set_object (¶mv[0], proxy); 1568s # g_variant_iter_init (&iter, parameters); 1568s # n = 1; 1568s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1568s # { 1568s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1568s # if (arg_info->use_gvariant) 1568s # { 1568s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1568s # g_value_set_variant (¶mv[n], child); 1568s # n++; 1568s # } 1568s # else 1568s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1568s # g_variant_unref (child); 1568s # } 1568s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1568s # g_signal_emitv (paramv, signal_id, 0, NULL); 1568s # for (n = 0; n < num_params + 1; n++) 1568s # g_value_unset (¶mv[n]); 1568s # g_free (paramv); 1568s # } 1568s # 1568s # static void 1568s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1568s # GVariant *changed_properties, 1568s # const gchar *const *invalidated_properties) 1568s # { 1568s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1568s # guint n; 1568s # const gchar *key; 1568s # GVariantIter *iter; 1568s # _ExtendedGDBusPropertyInfo *info; 1568s # g_variant_get (changed_properties, "a{sv}", &iter); 1568s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1568s # { 1568s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1568s # g_datalist_remove_data (&proxy->priv->qdata, key); 1568s # if (info != NULL) 1568s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1568s # } 1568s # g_variant_iter_free (iter); 1568s # for (n = 0; invalidated_properties[n] != NULL; n++) 1568s # { 1568s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1568s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1568s # if (info != NULL) 1568s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1568s # } 1568s # } 1568s # 1568s # static void 1568s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1568s # { 1568s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1568s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1568s # #else 1568s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1568s # #endif 1568s # 1568s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1568s # } 1568s # 1568s # static void 1568s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1568s # { 1568s # GObjectClass *gobject_class; 1568s # GDBusProxyClass *proxy_class; 1568s # 1568s # gobject_class = G_OBJECT_CLASS (klass); 1568s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1568s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1568s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1568s # 1568s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1568s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1568s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1568s # 1568s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1568s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1568s # #endif 1568s # } 1568s # 1568s # static void 1568s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1568s # { 1568s # } 1568s # 1568s # /** 1568s # * org_project_signaling_iface_proxy_new: 1568s # * @connection: A #GDBusConnection. 1568s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1568s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1568s # * @object_path: An object path. 1568s # * @cancellable: (nullable): A #GCancellable or %NULL. 1568s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1568s # * @user_data: User data to pass to @callback. 1568s # * 1568s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1568s # * 1568s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1568s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1568s # * 1568s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1568s # */ 1568s # void 1568s # org_project_signaling_iface_proxy_new ( 1568s # GDBusConnection *connection, 1568s # GDBusProxyFlags flags, 1568s # const gchar *name, 1568s # const gchar *object_path, 1568s # GCancellable *cancellable, 1568s # GAsyncReadyCallback callback, 1568s # gpointer user_data) 1568s # { 1568s # 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); 1568s # } 1568s # 1568s # /** 1568s # * org_project_signaling_iface_proxy_new_finish: 1568s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1568s # * @error: Return location for error or %NULL 1568s # * 1568s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1568s # * 1568s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1568s # */ 1568s # OrgProjectSignalingIface * 1568s # org_project_signaling_iface_proxy_new_finish ( 1568s # GAsyncResult *res, 1568s # GError **error) 1568s # { 1568s # GObject *ret; 1568s # GObject *source_object; 1568s # source_object = g_async_result_get_source_object (res); 1568s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1568s # g_object_unref (source_object); 1568s # if (ret != NULL) 1568s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1568s # else 1568s # return NULL; 1568s # } 1568s # 1568s # /** 1568s # * org_project_signaling_iface_proxy_new_sync: 1568s # * @connection: A #GDBusConnection. 1568s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1568s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1568s # * @object_path: An object path. 1568s # * @cancellable: (nullable): A #GCancellable or %NULL. 1568s # * @error: Return location for error or %NULL 1568s # * 1568s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1568s # * 1568s # * The calling thread is blocked until a reply is received. 1568s # * 1568s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1568s # * 1568s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1568s # */ 1568s # OrgProjectSignalingIface * 1568s # org_project_signaling_iface_proxy_new_sync ( 1568s # GDBusConnection *connection, 1568s # GDBusProxyFlags flags, 1568s # const gchar *name, 1568s # const gchar *object_path, 1568s # GCancellable *cancellable, 1568s # GError **error) 1568s # { 1568s # GInitable *ret; 1568s # 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); 1568s # if (ret != NULL) 1568s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1568s # else 1568s # return NULL; 1568s # } 1568s # 1568s # 1568s # /** 1568s # * org_project_signaling_iface_proxy_new_for_bus: 1568s # * @bus_type: A #GBusType. 1568s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1568s # * @name: A bus name (well-known or unique). 1568s # * @object_path: An object path. 1568s # * @cancellable: (nullable): A #GCancellable or %NULL. 1568s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1568s # * @user_data: User data to pass to @callback. 1568s # * 1568s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1568s # * 1568s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1568s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1568s # * 1568s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1568s # */ 1568s # void 1568s # org_project_signaling_iface_proxy_new_for_bus ( 1568s # GBusType bus_type, 1568s # GDBusProxyFlags flags, 1568s # const gchar *name, 1568s # const gchar *object_path, 1568s # GCancellable *cancellable, 1568s # GAsyncReadyCallback callback, 1568s # gpointer user_data) 1568s # { 1568s # 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); 1568s # } 1568s # 1568s # /** 1568s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1568s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1568s # * @error: Return location for error or %NULL 1568s # * 1568s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1568s # * 1568s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1568s # */ 1568s # OrgProjectSignalingIface * 1568s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1568s # GAsyncResult *res, 1568s # GError **error) 1568s # { 1568s # GObject *ret; 1568s # GObject *source_object; 1568s # source_object = g_async_result_get_source_object (res); 1568s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1568s # g_object_unref (source_object); 1568s # if (ret != NULL) 1568s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1568s # else 1568s # return NULL; 1568s # } 1568s # 1568s # /** 1568s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1568s # * @bus_type: A #GBusType. 1568s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1568s # * @name: A bus name (well-known or unique). 1568s # * @object_path: An object path. 1568s # * @cancellable: (nullable): A #GCancellable or %NULL. 1568s # * @error: Return location for error or %NULL 1568s # * 1568s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1568s # * 1568s # * The calling thread is blocked until a reply is received. 1568s # * 1568s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1568s # * 1568s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1568s # */ 1568s # OrgProjectSignalingIface * 1568s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1568s # GBusType bus_type, 1568s # GDBusProxyFlags flags, 1568s # const gchar *name, 1568s # const gchar *object_path, 1568s # GCancellable *cancellable, 1568s # GError **error) 1568s # { 1568s # GInitable *ret; 1568s # 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); 1568s # if (ret != NULL) 1568s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1568s # else 1568s # return NULL; 1568s # } 1568s # 1568s # 1568s # /* ------------------------------------------------------------------------ */ 1568s # 1568s # /** 1568s # * OrgProjectSignalingIfaceSkeleton: 1568s # * 1568s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1568s # */ 1568s # 1568s # /** 1568s # * OrgProjectSignalingIfaceSkeletonClass: 1568s # * @parent_class: The parent class. 1568s # * 1568s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1568s # */ 1568s # 1568s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1568s # { 1568s # GValue *properties; 1568s # GList *changed_properties; 1568s # GSource *changed_properties_idle_source; 1568s # GMainContext *context; 1568s # GMutex lock; 1568s # }; 1568s # 1568s # static void 1568s # _org_project_signaling_iface_skeleton_handle_method_call ( 1568s # GDBusConnection *connection G_GNUC_UNUSED, 1568s # const gchar *sender G_GNUC_UNUSED, 1568s # const gchar *object_path G_GNUC_UNUSED, 1568s # const gchar *interface_name, 1568s # const gchar *method_name, 1568s # GVariant *parameters, 1568s # GDBusMethodInvocation *invocation, 1568s # gpointer user_data) 1568s # { 1568s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1568s # _ExtendedGDBusMethodInfo *info; 1568s # GVariantIter iter; 1568s # GVariant *child; 1568s # GValue *paramv; 1568s # gsize num_params; 1568s # guint num_extra; 1568s # gsize n; 1568s # guint signal_id; 1568s # GValue return_value = G_VALUE_INIT; 1568s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1568s # g_assert (info != NULL); 1568s # num_params = g_variant_n_children (parameters); 1568s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1568s # n = 0; 1568s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1568s # g_value_set_object (¶mv[n++], skeleton); 1568s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1568s # g_value_set_object (¶mv[n++], invocation); 1568s # if (info->pass_fdlist) 1568s # { 1568s # #ifdef G_OS_UNIX 1568s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1568s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1568s # #else 1568s # g_assert_not_reached (); 1568s # #endif 1568s # } 1568s # g_variant_iter_init (&iter, parameters); 1568s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1568s # { 1568s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1568s # if (arg_info->use_gvariant) 1568s # { 1568s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1568s # g_value_set_variant (¶mv[n], child); 1568s # n++; 1568s # } 1568s # else 1568s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1568s # g_variant_unref (child); 1568s # } 1568s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1568s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1568s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1568s # if (!g_value_get_boolean (&return_value)) 1568s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1568s # g_value_unset (&return_value); 1568s # for (n = 0; n < num_params + num_extra; n++) 1568s # g_value_unset (¶mv[n]); 1568s # g_free (paramv); 1568s # } 1568s # 1568s # static GVariant * 1568s # _org_project_signaling_iface_skeleton_handle_get_property ( 1568s # GDBusConnection *connection G_GNUC_UNUSED, 1568s # const gchar *sender G_GNUC_UNUSED, 1568s # const gchar *object_path G_GNUC_UNUSED, 1568s # const gchar *interface_name G_GNUC_UNUSED, 1568s # const gchar *property_name, 1568s # GError **error, 1568s # gpointer user_data) 1568s # { 1568s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1568s # GValue value = G_VALUE_INIT; 1568s # GParamSpec *pspec; 1568s # _ExtendedGDBusPropertyInfo *info; 1568s # GVariant *ret; 1568s # ret = NULL; 1568s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1568s # g_assert (info != NULL); 1568s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1568s # if (pspec == NULL) 1568s # { 1568s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1568s # } 1568s # else 1568s # { 1568s # g_value_init (&value, pspec->value_type); 1568s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1568s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1568s # g_value_unset (&value); 1568s # } 1568s # return ret; 1568s # } 1568s # 1568s # static gboolean 1568s # _org_project_signaling_iface_skeleton_handle_set_property ( 1568s # GDBusConnection *connection G_GNUC_UNUSED, 1568s # const gchar *sender G_GNUC_UNUSED, 1568s # const gchar *object_path G_GNUC_UNUSED, 1568s # const gchar *interface_name G_GNUC_UNUSED, 1568s # const gchar *property_name, 1568s # GVariant *variant, 1568s # GError **error, 1568s # gpointer user_data) 1568s # { 1568s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1568s # GValue value = G_VALUE_INIT; 1568s # GParamSpec *pspec; 1568s # _ExtendedGDBusPropertyInfo *info; 1568s # gboolean ret; 1568s # ret = FALSE; 1568s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1568s # g_assert (info != NULL); 1568s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1568s # if (pspec == NULL) 1568s # { 1568s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1568s # } 1568s # else 1568s # { 1568s # if (info->use_gvariant) 1568s # g_value_set_variant (&value, variant); 1568s # else 1568s # g_dbus_gvariant_to_gvalue (variant, &value); 1568s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1568s # g_value_unset (&value); 1568s # ret = TRUE; 1568s # } 1568s # return ret; 1568s # } 1568s # 1568s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1568s # { 1568s # _org_project_signaling_iface_skeleton_handle_method_call, 1568s # _org_project_signaling_iface_skeleton_handle_get_property, 1568s # _org_project_signaling_iface_skeleton_handle_set_property, 1568s # {NULL} 1568s # }; 1568s # 1568s # static GDBusInterfaceInfo * 1568s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1568s # { 1568s # return org_project_signaling_iface_interface_info (); 1568s # } 1568s # 1568s # static GDBusInterfaceVTable * 1568s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1568s # { 1568s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1568s # } 1568s # 1568s # static GVariant * 1568s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1568s # { 1568s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1568s # 1568s # GVariantBuilder builder; 1568s # guint n; 1568s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1568s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1568s # goto out; 1568s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1568s # { 1568s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1568s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1568s # { 1568s # GVariant *value; 1568s # 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); 1568s # if (value != NULL) 1568s # { 1568s # g_variant_take_ref (value); 1568s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1568s # g_variant_unref (value); 1568s # } 1568s # } 1568s # } 1568s # out: 1568s # return g_variant_builder_end (&builder); 1568s # } 1568s # 1568s # static void 1568s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1568s # { 1568s # } 1568s # 1568s # static void 1568s # _org_project_signaling_iface_on_signal_simple_signal ( 1568s # OrgProjectSignalingIface *object) 1568s # { 1568s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1568s # 1568s # GList *connections, *l; 1568s # GVariant *signal_variant; 1568s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1568s # 1568s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1568s # for (l = connections; l != NULL; l = l->next) 1568s # { 1568s # GDBusConnection *connection = l->data; 1568s # g_dbus_connection_emit_signal (connection, 1568s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 1568s # signal_variant, NULL); 1568s # } 1568s # g_variant_unref (signal_variant); 1568s # g_list_free_full (connections, g_object_unref); 1568s # } 1568s # 1568s # static void 1568s # _org_project_signaling_iface_on_signal_single_arg_signal_g ( 1568s # OrgProjectSignalingIface *object, 1568s # const gchar *arg_arg_g) 1568s # { 1568s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1568s # 1568s # GList *connections, *l; 1568s # GVariant *signal_variant; 1568s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1568s # 1568s # signal_variant = g_variant_ref_sink (g_variant_new ("(g)", 1568s # arg_arg_g)); 1568s # for (l = connections; l != NULL; l = l->next) 1568s # { 1568s # GDBusConnection *connection = l->data; 1568s # g_dbus_connection_emit_signal (connection, 1568s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalG", 1568s # signal_variant, NULL); 1568s # } 1568s # g_variant_unref (signal_variant); 1568s # g_list_free_full (connections, g_object_unref); 1568s # } 1568s # 1568s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1568s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1568s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1568s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1568s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1568s # 1568s # #else 1568s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1568s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1568s # 1568s # #endif 1568s # static void 1568s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1568s # { 1568s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1568s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1568s # if (skeleton->priv->changed_properties_idle_source != NULL) 1568s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1568s # g_main_context_unref (skeleton->priv->context); 1568s # g_mutex_clear (&skeleton->priv->lock); 1568s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1568s # } 1568s # 1568s # static void 1568s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1568s # { 1568s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1568s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1568s # #else 1568s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1568s # #endif 1568s # 1568s # g_mutex_init (&skeleton->priv->lock); 1568s # skeleton->priv->context = g_main_context_ref_thread_default (); 1568s # } 1568s # 1568s # static void 1568s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1568s # { 1568s # GObjectClass *gobject_class; 1568s # GDBusInterfaceSkeletonClass *skeleton_class; 1568s # 1568s # gobject_class = G_OBJECT_CLASS (klass); 1568s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1568s # 1568s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1568s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1568s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1568s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1568s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1568s # 1568s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1568s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1568s # #endif 1568s # } 1568s # 1568s # static void 1568s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1568s # { 1568s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 1568s # iface->single_arg_signal_g = _org_project_signaling_iface_on_signal_single_arg_signal_g; 1568s # } 1568s # 1568s # /** 1568s # * org_project_signaling_iface_skeleton_new: 1568s # * 1568s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1568s # * 1568s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1568s # */ 1568s # OrgProjectSignalingIface * 1568s # org_project_signaling_iface_skeleton_new (void) 1568s # { 1568s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1568s # } 1568s # /tmp/tmpgfozeg7c/tmpwulvyw0j.xml: 1568s # 1568s # 1568s # 1568s # 1568s # 1568s # 1568s # 1568s # 1568s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpgfozeg7c/tmpwulvyw0j.xml', '--output', '-', '--body'] 1568s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-baqskmurxn,guid=fbaffe99d0ccb1f6e1beb84865fc01cd', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.YcZbqk/autopkgtest_tmp', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.YcZbqk/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.YcZbqk/autopkgtest_tmp', 'TERM': 'unknown', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.YcZbqk/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.sVTVMp0Db0', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.rqZsJO/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.YcZbqk/wrapper.sh --artifacts=/tmp/autopkgtest.YcZbqk/installed-tests-artifacts --chdir=/tmp/autopkgtest.YcZbqk/build.S0E/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.YcZbqk/installed-tests-stderr --stdout=/tmp/autopkgtest.YcZbqk/installed-tests-stdout --tmp=/tmp/autopkgtest.YcZbqk/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2' --make-executable=/tmp/autopkgtest.YcZbqk/build.S0E/src/debian/tests/installed-tests -- /tmp/autopkgtest.YcZbqk/build.S0E/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.YcZbqk/build.S0E/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.YcZbqk/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1568s # Output: /* 1568s # * This file is generated by gdbus-codegen, do not modify it. 1568s # * 1568s # * The license of this code is the same as for the D-Bus interface description 1568s # * it was derived from. Note that it links to GLib, so must comply with the 1568s # * LGPL linking clauses. 1568s # */ 1568s # 1568s # #ifdef HAVE_CONFIG_H 1568s # # include "config.h" 1568s # #endif 1568s # 1568s # #include 1568s # #ifdef G_OS_UNIX 1568s # # include 1568s # #endif 1568s # 1568s # #ifdef G_ENABLE_DEBUG 1568s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1568s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1568s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1568s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1568s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1568s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1568s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1568s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1568s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1568s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1568s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1568s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1568s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1568s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1568s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1568s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1568s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1568s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1568s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1568s # #else /* !G_ENABLE_DEBUG */ 1568s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1568s # * Do not access GValues directly in your code. Instead, use the 1568s # * g_value_get_*() functions 1568s # */ 1568s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1568s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1568s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1568s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1568s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1568s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1568s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1568s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1568s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1568s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1568s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1568s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1568s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1568s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1568s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1568s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1568s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1568s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1568s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1568s # #endif /* !G_ENABLE_DEBUG */ 1568s # 1568s # typedef struct 1568s # { 1568s # GDBusArgInfo parent_struct; 1568s # gboolean use_gvariant; 1568s # } _ExtendedGDBusArgInfo; 1568s # 1568s # typedef struct 1568s # { 1568s # GDBusMethodInfo parent_struct; 1568s # const gchar *signal_name; 1568s # gboolean pass_fdlist; 1568s # } _ExtendedGDBusMethodInfo; 1568s # 1568s # typedef struct 1568s # { 1568s # GDBusSignalInfo parent_struct; 1568s # const gchar *signal_name; 1568s # } _ExtendedGDBusSignalInfo; 1568s # 1568s # typedef struct 1568s # { 1568s # GDBusPropertyInfo parent_struct; 1568s # const gchar *hyphen_name; 1568s # guint use_gvariant : 1; 1568s # guint emits_changed_signal : 1; 1568s # } _ExtendedGDBusPropertyInfo; 1568s # 1568s # typedef struct 1568s # { 1568s # GDBusInterfaceInfo parent_struct; 1568s # const gchar *hyphen_name; 1568s # } _ExtendedGDBusInterfaceInfo; 1568s # 1568s # typedef struct 1568s # { 1568s # const _ExtendedGDBusPropertyInfo *info; 1568s # guint prop_id; 1568s # GValue orig_value; /* the value before the change */ 1568s # } ChangedProperty; 1568s # 1568s # static void 1568s # _changed_property_free (ChangedProperty *data) 1568s # { 1568s # g_value_unset (&data->orig_value); 1568s # g_free (data); 1568s # } 1568s # 1568s # static gboolean 1568s # _g_strv_equal0 (gchar **a, gchar **b) 1568s # { 1568s # gboolean ret = FALSE; 1568s # guint n; 1568s # if (a == NULL && b == NULL) 1568s # { 1568s # ret = TRUE; 1568s # goto out; 1568s # } 1568s # if (a == NULL || b == NULL) 1568s # goto out; 1568s # if (g_strv_length (a) != g_strv_length (b)) 1568s # goto out; 1568s # for (n = 0; a[n] != NULL; n++) 1568s # if (g_strcmp0 (a[n], b[n]) != 0) 1568s # goto out; 1568s # ret = TRUE; 1568s # out: 1568s # return ret; 1568s # } 1568s # 1568s # static gboolean 1568s # _g_variant_equal0 (GVariant *a, GVariant *b) 1568s # { 1568s # gboolean ret = FALSE; 1568s # if (a == NULL && b == NULL) 1568s # { 1568s # ret = TRUE; 1568s # goto out; 1568s # } 1568s # if (a == NULL || b == NULL) 1568s # goto out; 1568s # ret = g_variant_equal (a, b); 1568s # out: 1568s # return ret; 1568s # } 1568s # 1568s # G_GNUC_UNUSED static gboolean 1568s # _g_value_equal (const GValue *a, const GValue *b) 1568s # { 1568s # gboolean ret = FALSE; 1568s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1568s # switch (G_VALUE_TYPE (a)) 1568s # { 1568s # case G_TYPE_BOOLEAN: 1568s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1568s # break; 1568s # case G_TYPE_UCHAR: 1568s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1568s # break; 1568s # case G_TYPE_INT: 1568s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1568s # break; 1568s # case G_TYPE_UINT: 1568s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1568s # break; 1568s # case G_TYPE_INT64: 1568s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1568s # break; 1568s # case G_TYPE_UINT64: 1568s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1568s # break; 1568s # case G_TYPE_DOUBLE: 1568s # { 1568s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1568s # gdouble da = g_value_get_double (a); 1568s # gdouble db = g_value_get_double (b); 1568s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1568s # } 1568s # break; 1568s # case G_TYPE_STRING: 1568s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1568s # break; 1568s # case G_TYPE_VARIANT: 1568s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1568s # break; 1568s # default: 1568s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1568s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1568s # else 1568s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1568s # break; 1568s # } 1568s # return ret; 1568s # } 1568s # 1568s # /* ------------------------------------------------------------------------ 1568s # * Code for interface org.project.SignalingIface 1568s # * ------------------------------------------------------------------------ 1568s # */ 1568s # 1568s # /** 1568s # * SECTION:OrgProjectSignalingIface 1568s # * @title: OrgProjectSignalingIface 1568s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1568s # * 1568s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1568s # */ 1568s # 1568s # enum 1568s # { 1568s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 1568s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_H, 1568s # }; 1568s # 1568s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 1568s # 1568s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1568s # 1568s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 1568s # { 1568s # { 1568s # -1, 1568s # (gchar *) "SimpleSignal", 1568s # NULL, 1568s # NULL 1568s # }, 1568s # "simple-signal" 1568s # }; 1568s # 1568s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_h_ARG_arg_h = 1568s # { 1568s # { 1568s # -1, 1568s # (gchar *) "arg_h", 1568s # (gchar *) "h", 1568s # NULL 1568s # }, 1568s # FALSE 1568s # }; 1568s # 1568s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_h_ARG_pointers[] = 1568s # { 1568s # &_org_project_signaling_iface_signal_info_single_arg_signal_h_ARG_arg_h.parent_struct, 1568s # NULL 1568s # }; 1568s # 1568s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_h = 1568s # { 1568s # { 1568s # -1, 1568s # (gchar *) "SingleArgSignalH", 1568s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_h_ARG_pointers, 1568s # NULL 1568s # }, 1568s # "single-arg-signal-h" 1568s # }; 1568s # 1568s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1568s # { 1568s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 1568s # &_org_project_signaling_iface_signal_info_single_arg_signal_h.parent_struct, 1568s # NULL 1568s # }; 1568s # 1568s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1568s # { 1568s # { 1568s # -1, 1568s # (gchar *) "org.project.SignalingIface", 1568s # NULL, 1568s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1568s # NULL, 1568s # NULL 1568s # }, 1568s # "org-project-signaling-iface", 1568s # }; 1568s # 1568s # 1568s # /** 1568s # * org_project_signaling_iface_interface_info: 1568s # * 1568s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1568s # * 1568s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1568s # */ 1568s # GDBusInterfaceInfo * 1568s # org_project_signaling_iface_interface_info (void) 1568s # { 1568s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1568s # } 1568s # 1568s # /** 1568s # * org_project_signaling_iface_override_properties: 1568s # * @klass: The class structure for a #GObject derived class. 1568s # * @property_id_begin: The property id to assign to the first overridden property. 1568s # * 1568s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1568s # * The properties are overridden in the order they are defined. 1568s # * 1568s # * Returns: The last property id. 1568s # */ 1568s # guint 1568s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1568s # { 1568s # return property_id_begin - 1; 1568s # } 1568s # 1568s # 1568s # inline static void 1568s # org_project_signaling_iface_signal_marshal_simple_signal ( 1568s # GClosure *closure, 1568s # GValue *return_value, 1568s # unsigned int n_param_values, 1568s # const GValue *param_values, 1568s # void *invocation_hint, 1568s # void *marshal_data) 1568s # { 1568s # g_cclosure_marshal_VOID__VOID (closure, 1568s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1568s # } 1568s # 1568s # inline static void 1568s # org_project_signaling_iface_signal_marshal_single_arg_signal_h ( 1568s # GClosure *closure, 1568s # GValue *return_value, 1568s # unsigned int n_param_values, 1568s # const GValue *param_values, 1568s # void *invocation_hint, 1568s # void *marshal_data) 1568s # { 1568s # g_cclosure_marshal_VOID__VARIANT (closure, 1568s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1568s # } 1568s # 1568s # 1568s # /** 1568s # * OrgProjectSignalingIface: 1568s # * 1568s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1568s # */ 1568s # 1568s # /** 1568s # * OrgProjectSignalingIfaceIface: 1568s # * @parent_iface: The parent interface. 1568s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 1568s # * @single_arg_signal_h: Handler for the #OrgProjectSignalingIface::single-arg-signal-h signal. 1568s # * 1568s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1568s # */ 1568s # 1568s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1568s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1568s # 1568s # static void 1568s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1568s # { 1568s # /* GObject signals for received D-Bus signals: */ 1568s # /** 1568s # * OrgProjectSignalingIface::simple-signal: 1568s # * @object: A #OrgProjectSignalingIface. 1568s # * 1568s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1568s # * 1568s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1568s # */ 1568s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 1568s # g_signal_new ("simple-signal", 1568s # G_TYPE_FROM_INTERFACE (iface), 1568s # G_SIGNAL_RUN_LAST, 1568s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 1568s # NULL, 1568s # NULL, 1568s # org_project_signaling_iface_signal_marshal_simple_signal, 1568s # G_TYPE_NONE, 1568s # 0); 1568s # 1568s # /** 1568s # * OrgProjectSignalingIface::single-arg-signal-h: 1568s # * @object: A #OrgProjectSignalingIface. 1568s # * @arg_arg_h: Argument. 1568s # * 1568s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalH" is received. 1568s # * 1568s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1568s # */ 1568s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_H] = 1568s # g_signal_new ("single-arg-signal-h", 1568s # G_TYPE_FROM_INTERFACE (iface), 1568s # G_SIGNAL_RUN_LAST, 1568s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_h), 1568s # NULL, 1568s # NULL, 1568s # org_project_signaling_iface_signal_marshal_single_arg_signal_h, 1568s # G_TYPE_NONE, 1568s # 1, G_TYPE_VARIANT); 1568s # 1568s # } 1568s # 1568s # /** 1568s # * org_project_signaling_iface_emit_simple_signal: 1568s # * @object: A #OrgProjectSignalingIface. 1568s # * 1568s # * Emits the "SimpleSignal" D-Bus signal. 1568s # */ 1568s # void 1568s # org_project_signaling_iface_emit_simple_signal ( 1568s # OrgProjectSignalingIface *object) 1568s # { 1568s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 1568s # } 1568s # 1568s # /** 1568s # * org_project_signaling_iface_emit_single_arg_signal_h: 1568s # * @object: A #OrgProjectSignalingIface. 1568s # * @arg_arg_h: Argument to pass with the signal. 1568s # * 1568s # * Emits the "SingleArgSignalH" D-Bus signal. 1568s # */ 1568s # void 1568s # org_project_signaling_iface_emit_single_arg_signal_h ( 1568s # OrgProjectSignalingIface *object, 1568s # GVariant *arg_arg_h) 1568s # { 1568s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_H], 0, arg_arg_h); 1568s # } 1568s # 1568s # /* ------------------------------------------------------------------------ */ 1568s # 1568s # /** 1568s # * OrgProjectSignalingIfaceProxy: 1568s # * 1568s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1568s # */ 1568s # 1568s # /** 1568s # * OrgProjectSignalingIfaceProxyClass: 1568s # * @parent_class: The parent class. 1568s # * 1568s # * Class structure for #OrgProjectSignalingIfaceProxy. 1568s # */ 1568s # 1568s # struct _OrgProjectSignalingIfaceProxyPrivate 1568s # { 1568s # GData *qdata; 1568s # }; 1568s # 1568s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1568s # 1568s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1568s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1568s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1568s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1568s # 1568s # #else 1568s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1568s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1568s # 1568s # #endif 1568s # static void 1568s # org_project_signaling_iface_proxy_finalize (GObject *object) 1568s # { 1568s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1568s # g_datalist_clear (&proxy->priv->qdata); 1568s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1568s # } 1568s # 1568s # static void 1568s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1568s # guint prop_id G_GNUC_UNUSED, 1568s # GValue *value G_GNUC_UNUSED, 1568s # GParamSpec *pspec G_GNUC_UNUSED) 1568s # { 1568s # } 1568s # 1568s # static void 1568s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1568s # guint prop_id G_GNUC_UNUSED, 1568s # const GValue *value G_GNUC_UNUSED, 1568s # GParamSpec *pspec G_GNUC_UNUSED) 1568s # { 1568s # } 1568s # 1568s # static void 1568s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1568s # const gchar *sender_name G_GNUC_UNUSED, 1568s # const gchar *signal_name, 1568s # GVariant *parameters) 1568s # { 1568s # _ExtendedGDBusSignalInfo *info; 1568s # GVariantIter iter; 1568s # GVariant *child; 1568s # GValue *paramv; 1568s # gsize num_params; 1568s # gsize n; 1568s # guint signal_id; 1568s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1568s # if (info == NULL) 1568s # return; 1568s # num_params = g_variant_n_children (parameters); 1568s # paramv = g_new0 (GValue, num_params + 1); 1568s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1568s # g_value_set_object (¶mv[0], proxy); 1568s # g_variant_iter_init (&iter, parameters); 1568s # n = 1; 1568s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1568s # { 1568s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1568s # if (arg_info->use_gvariant) 1568s # { 1568s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1568s # g_value_set_variant (¶mv[n], child); 1568s # n++; 1568s # } 1568s # else 1568s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1568s # g_variant_unref (child); 1568s # } 1568s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1568s # g_signal_emitv (paramv, signal_id, 0, NULL); 1568s # for (n = 0; n < num_params + 1; n++) 1568s # g_value_unset (¶mv[n]); 1568s # g_free (paramv); 1568s # } 1568s # 1568s # static void 1568s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1568s # GVariant *changed_properties, 1568s # const gchar *const *invalidated_properties) 1568s # { 1568s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1568s # guint n; 1568s # const gchar *key; 1568s # GVariantIter *iter; 1568s # _ExtendedGDBusPropertyInfo *info; 1568s # g_variant_get (changed_properties, "a{sv}", &iter); 1568s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1568s # { 1568s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1568s # g_datalist_remove_data (&proxy->priv->qdata, key); 1568s # if (info != NULL) 1568s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1568s # } 1568s # g_variant_iter_free (iter); 1568s # for (n = 0; invalidated_properties[n] != NULL; n++) 1568s # { 1568s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1568s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1568s # if (info != NULL) 1568s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1568s # } 1568s # } 1568s # 1568s # static void 1568s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1568s # { 1568s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1568s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1568s # #else 1568s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1568s # #endif 1568s # 1568s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1568s # } 1568s # 1568s # static void 1568s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1568s # { 1568s # GObjectClass *gobject_class; 1568s # GDBusProxyClass *proxy_class; 1568s # 1568s # gobject_class = G_OBJECT_CLASS (klass); 1568s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1568s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1568s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1568s # 1568s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1568s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1568s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1568s # 1568s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1568s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1568s # #endif 1568s # } 1568s # 1568s # static void 1568s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1568s # { 1568s # } 1568s # 1568s # /** 1568s # * org_project_signaling_iface_proxy_new: 1568s # * @connection: A #GDBusConnection. 1568s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1568s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1568s # * @object_path: An object path. 1568s # * @cancellable: (nullable): A #GCancellable or %NULL. 1568s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1568s # * @user_data: User data to pass to @callback. 1568s # * 1568s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1568s # * 1568s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1568s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1568s # * 1568s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1568s # */ 1568s # void 1568s # org_project_signaling_iface_proxy_new ( 1568s # GDBusConnection *connection, 1568s # GDBusProxyFlags flags, 1568s # const gchar *name, 1568s # const gchar *object_path, 1568s # GCancellable *cancellable, 1568s # GAsyncReadyCallback callback, 1568s # gpointer user_data) 1568s # { 1568s # 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); 1568s # } 1568s # 1568s # /** 1568s # * org_project_signaling_iface_proxy_new_finish: 1568s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1568s # * @error: Return location for error or %NULL 1568s # * 1568s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1568s # * 1568s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1568s # */ 1568s # OrgProjectSignalingIface * 1568s # org_project_signaling_iface_proxy_new_finish ( 1568s # GAsyncResult *res, 1568s # GError **error) 1568s # { 1568s # GObject *ret; 1568s # GObject *source_object; 1568s # source_object = g_async_result_get_source_object (res); 1568s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1568s # g_object_unref (source_object); 1568s # if (ret != NULL) 1568s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1568s # else 1568s # return NULL; 1568s # } 1568s # 1568s # /** 1568s # * org_project_signaling_iface_proxy_new_sync: 1568s # * @connection: A #GDBusConnection. 1568s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1568s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1568s # * @object_path: An object path. 1568s # * @cancellable: (nullable): A #GCancellable or %NULL. 1568s # * @error: Return location for error or %NULL 1568s # * 1568s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1568s # * 1568s # * The calling thread is blocked until a reply is received. 1568s # * 1568s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1568s # * 1568s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1568s # */ 1568s # OrgProjectSignalingIface * 1568s # org_project_signaling_iface_proxy_new_sync ( 1568s # GDBusConnection *connection, 1568s # GDBusProxyFlags flags, 1568s # const gchar *name, 1568s # const gchar *object_path, 1568s # GCancellable *cancellable, 1568s # GError **error) 1568s # { 1568s # GInitable *ret; 1568s # 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); 1568s # if (ret != NULL) 1568s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1568s # else 1568s # return NULL; 1568s # } 1568s # 1568s # 1568s # /** 1568s # * org_project_signaling_iface_proxy_new_for_bus: 1568s # * @bus_type: A #GBusType. 1568s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1568s # * @name: A bus name (well-known or unique). 1568s # * @object_path: An object path. 1568s # * @cancellable: (nullable): A #GCancellable or %NULL. 1568s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1568s # * @user_data: User data to pass to @callback. 1568s # * 1568s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1568s # * 1568s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1568s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1568s # * 1568s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1568s # */ 1568s # void 1568s # org_project_signaling_iface_proxy_new_for_bus ( 1568s # GBusType bus_type, 1568s # GDBusProxyFlags flags, 1568s # const gchar *name, 1568s # const gchar *object_path, 1568s # GCancellable *cancellable, 1568s # GAsyncReadyCallback callback, 1568s # gpointer user_data) 1568s # { 1568s # 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); 1568s # } 1568s # 1568s # /** 1568s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1568s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1568s # * @error: Return location for error or %NULL 1568s # * 1568s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1568s # * 1568s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1568s # */ 1568s # OrgProjectSignalingIface * 1568s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1568s # GAsyncResult *res, 1568s # GError **error) 1568s # { 1568s # GObject *ret; 1568s # GObject *source_object; 1568s # source_object = g_async_result_get_source_object (res); 1568s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1568s # g_object_unref (source_object); 1568s # if (ret != NULL) 1568s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1568s # else 1568s # return NULL; 1568s # } 1568s # 1568s # /** 1568s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1568s # * @bus_type: A #GBusType. 1568s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1568s # * @name: A bus name (well-known or unique). 1568s # * @object_path: An object path. 1568s # * @cancellable: (nullable): A #GCancellable or %NULL. 1568s # * @error: Return location for error or %NULL 1568s # * 1568s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1568s # * 1568s # * The calling thread is blocked until a reply is received. 1568s # * 1568s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1568s # * 1568s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1568s # */ 1568s # OrgProjectSignalingIface * 1568s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1568s # GBusType bus_type, 1568s # GDBusProxyFlags flags, 1568s # const gchar *name, 1568s # const gchar *object_path, 1568s # GCancellable *cancellable, 1568s # GError **error) 1568s # { 1568s # GInitable *ret; 1568s # 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); 1568s # if (ret != NULL) 1568s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1568s # else 1568s # return NULL; 1568s # } 1568s # 1568s # 1568s # /* ------------------------------------------------------------------------ */ 1568s # 1568s # /** 1568s # * OrgProjectSignalingIfaceSkeleton: 1568s # * 1568s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1568s # */ 1568s # 1568s # /** 1568s # * OrgProjectSignalingIfaceSkeletonClass: 1568s # * @parent_class: The parent class. 1568s # * 1568s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1568s # */ 1568s # 1568s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1568s # { 1568s # GValue *properties; 1568s # GList *changed_properties; 1568s # GSource *changed_properties_idle_source; 1568s # GMainContext *context; 1568s # GMutex lock; 1568s # }; 1568s # 1568s # static void 1568s # _org_project_signaling_iface_skeleton_handle_method_call ( 1568s # GDBusConnection *connection G_GNUC_UNUSED, 1568s # const gchar *sender G_GNUC_UNUSED, 1568s # const gchar *object_path G_GNUC_UNUSED, 1568s # const gchar *interface_name, 1568s # const gchar *method_name, 1568s # GVariant *parameters, 1568s # GDBusMethodInvocation *invocation, 1568s # gpointer user_data) 1568s # { 1568s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1568s # _ExtendedGDBusMethodInfo *info; 1568s # GVariantIter iter; 1568s # GVariant *child; 1568s # GValue *paramv; 1568s # gsize num_params; 1568s # guint num_extra; 1568s # gsize n; 1568s # guint signal_id; 1568s # GValue return_value = G_VALUE_INIT; 1568s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1568s # g_assert (info != NULL); 1568s # num_params = g_variant_n_children (parameters); 1568s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1568s # n = 0; 1568s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1568s # g_value_set_object (¶mv[n++], skeleton); 1568s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1568s # g_value_set_object (¶mv[n++], invocation); 1568s # if (info->pass_fdlist) 1568s # { 1568s # #ifdef G_OS_UNIX 1568s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1568s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1568s # #else 1568s # g_assert_not_reached (); 1568s # #endif 1568s # } 1568s # g_variant_iter_init (&iter, parameters); 1568s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1568s # { 1568s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1568s # if (arg_info->use_gvariant) 1568s # { 1568s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1568s # g_value_set_variant (¶mv[n], child); 1568s # n++; 1568s # } 1568s # else 1568s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1568s # g_variant_unref (child); 1568s # } 1568s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1568s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1568s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1568s # if (!g_value_get_boolean (&return_value)) 1568s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1568s # g_value_unset (&return_value); 1568s # for (n = 0; n < num_params + num_extra; n++) 1568s # g_value_unset (¶mv[n]); 1568s # g_free (paramv); 1568s # } 1568s # 1568s # static GVariant * 1568s # _org_project_signaling_iface_skeleton_handle_get_property ( 1568s # GDBusConnection *connection G_GNUC_UNUSED, 1568s # const gchar *sender G_GNUC_UNUSED, 1568s # const gchar *object_path G_GNUC_UNUSED, 1568s # const gchar *interface_name G_GNUC_UNUSED, 1568s # const gchar *property_name, 1568s # GError **error, 1568s # gpointer user_data) 1568s # { 1568s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1568s # GValue value = G_VALUE_INIT; 1568s # GParamSpec *pspec; 1568s # _ExtendedGDBusPropertyInfo *info; 1568s # GVariant *ret; 1568s # ret = NULL; 1568s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1568s # g_assert (info != NULL); 1568s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1568s # if (pspec == NULL) 1568s # { 1568s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1568s # } 1568s # else 1568s # { 1568s # g_value_init (&value, pspec->value_type); 1568s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1568s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1568s # g_value_unset (&value); 1568s # } 1568s # return ret; 1568s # } 1568s # 1568s # static gboolean 1568s # _org_project_signaling_iface_skeleton_handle_set_property ( 1568s # GDBusConnection *connection G_GNUC_UNUSED, 1568s # const gchar *sender G_GNUC_UNUSED, 1568s # const gchar *object_path G_GNUC_UNUSED, 1568s # const gchar *interface_name G_GNUC_UNUSED, 1568s # const gchar *property_name, 1568s # GVariant *variant, 1568s # GError **error, 1568s # gpointer user_data) 1568s # { 1568s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1568s # GValue value = G_VALUE_INIT; 1568s # GParamSpec *pspec; 1568s # _ExtendedGDBusPropertyInfo *info; 1568s # gboolean ret; 1568s # ret = FALSE; 1568s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1568s # g_assert (info != NULL); 1568s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1568s # if (pspec == NULL) 1568s # { 1568s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1568s # } 1568s # else 1568s # { 1568s # if (info->use_gvariant) 1568s # g_value_set_variant (&value, variant); 1568s # else 1568s # g_dbus_gvariant_to_gvalue (variant, &value); 1568s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1568s # g_value_unset (&value); 1568s # ret = TRUE; 1568s # } 1568s # return ret; 1568s # } 1568s # 1568s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1568s # { 1568s # _org_project_signaling_iface_skeleton_handle_method_call, 1568s # _org_project_signaling_iface_skeleton_handle_get_property, 1568s # _org_project_signaling_iface_skeleton_handle_set_property, 1568s # {NULL} 1568s # }; 1568s # 1568s # static GDBusInterfaceInfo * 1568s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1568s # { 1568s # return org_project_signaling_iface_interface_info (); 1568s # } 1568s # 1568s # static GDBusInterfaceVTable * 1568s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1568s # { 1568s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1568s # } 1568s # 1568s # static GVariant * 1568s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1568s # { 1568s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1568s # 1568s # GVariantBuilder builder; 1568s # guint n; 1568s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1568s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1568s # goto out; 1568s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1568s # { 1568s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1568s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1568s # { 1568s # GVariant *value; 1568s # 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); 1568s # if (value != NULL) 1568s # { 1568s # g_variant_take_ref (value); 1568s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1568s # g_variant_unref (value); 1568s # } 1568s # } 1568s # } 1568s # out: 1568s # return g_variant_builder_end (&builder); 1568s # } 1568s # 1568s # static void 1568s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1568s # { 1568s # } 1568s # 1568s # static void 1568s # _org_project_signaling_iface_on_signal_simple_signal ( 1568s # OrgProjectSignalingIface *object) 1568s # { 1568s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1568s # 1568s # GList *connections, *l; 1568s # GVariant *signal_variant; 1568s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1568s # 1568s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1568s # for (l = connections; l != NULL; l = l->next) 1568s # { 1568s # GDBusConnection *connection = l->data; 1568s # g_dbus_connection_emit_signal (connection, 1568s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 1568s # signal_variant, NULL); 1568s # } 1568s # g_variant_unref (signal_variant); 1568s # g_list_free_full (connections, g_object_unref); 1568s # } 1568s # 1568s # static void 1568s # _org_project_signaling_iface_on_signal_single_arg_signal_h ( 1568s # OrgProjectSignalingIface *object, 1568s # GVariant *arg_arg_h) 1568s # { 1568s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1568s # 1568s # GList *connections, *l; 1568s # GVariant *signal_variant; 1568s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1568s # 1568s # signal_variant = g_variant_ref_sink (g_variant_new ("(@h)", 1568s # arg_arg_h)); 1568s # for (l = connections; l != NULL; l = l->next) 1568s # { 1568s # GDBusConnection *connection = l->data; 1568s # g_dbus_connection_emit_signal (connection, 1568s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalH", 1568s # signal_variant, NULL); 1568s # } 1568s # g_variant_unref (signal_variant); 1568s # g_list_free_full (connections, g_object_unref); 1568s # } 1568s # 1568s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1568s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1568s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1568s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1568s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1568s # 1568s # #else 1568s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1568s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1568s # 1568s # #endif 1568s # static void 1568s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1568s # { 1568s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1568s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1568s # if (skeleton->priv->changed_properties_idle_source != NULL) 1568s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1568s # g_main_context_unref (skeleton->priv->context); 1568s # g_mutex_clear (&skeleton->priv->lock); 1568s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1568s # } 1568s # 1568s # static void 1568s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1568s # { 1568s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1568s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1568s # #else 1568s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1568s # #endif 1568s # 1568s # g_mutex_init (&skeleton->priv->lock); 1568s # skeleton->priv->context = g_main_context_ref_thread_default (); 1568s # } 1568s # 1568s # static void 1568s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1568s # { 1568s # GObjectClass *gobject_class; 1568s # GDBusInterfaceSkeletonClass *skeleton_class; 1568s # 1568s # gobject_class = G_OBJECT_CLASS (klass); 1568s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1568s # 1568s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1568s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1568s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1568s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1568s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1568s # 1568s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1568s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1568s # #endif 1568s # } 1568s # 1568s # static void 1568s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1568s # { 1568s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 1568s # iface->single_arg_signal_h = _org_project_signaling_iface_on_signal_single_arg_signal_h; 1568s # } 1568s # 1568s # /** 1568s # * org_project_signaling_iface_skeleton_new: 1568s # * 1568s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1568s # * 1568s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1568s # */ 1568s # OrgProjectSignalingIface * 1568s # org_project_signaling_iface_skeleton_new (void) 1568s # { 1568s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1568s # } 1568s # /tmp/tmpgfozeg7c/tmpbh5g2nx0.xml: 1568s # 1568s # 1568s # 1568s # 1568s # 1568s # 1568s # 1568s # 1568s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpgfozeg7c/tmpbh5g2nx0.xml', '--output', '-', '--body'] 1568s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-baqskmurxn,guid=fbaffe99d0ccb1f6e1beb84865fc01cd', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.YcZbqk/autopkgtest_tmp', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.YcZbqk/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.YcZbqk/autopkgtest_tmp', 'TERM': 'unknown', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.YcZbqk/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.sVTVMp0Db0', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.rqZsJO/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.YcZbqk/wrapper.sh --artifacts=/tmp/autopkgtest.YcZbqk/installed-tests-artifacts --chdir=/tmp/autopkgtest.YcZbqk/build.S0E/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.YcZbqk/installed-tests-stderr --stdout=/tmp/autopkgtest.YcZbqk/installed-tests-stdout --tmp=/tmp/autopkgtest.YcZbqk/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2' --make-executable=/tmp/autopkgtest.YcZbqk/build.S0E/src/debian/tests/installed-tests -- /tmp/autopkgtest.YcZbqk/build.S0E/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.YcZbqk/build.S0E/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.YcZbqk/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1568s # Output: /* 1568s # * This file is generated by gdbus-codegen, do not modify it. 1568s # * 1568s # * The license of this code is the same as for the D-Bus interface description 1568s # * it was derived from. Note that it links to GLib, so must comply with the 1568s # * LGPL linking clauses. 1568s # */ 1568s # 1568s # #ifdef HAVE_CONFIG_H 1568s # # include "config.h" 1568s # #endif 1568s # 1568s # #include 1568s # #ifdef G_OS_UNIX 1568s # # include 1568s # #endif 1568s # 1568s # #ifdef G_ENABLE_DEBUG 1568s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1568s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1568s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1568s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1568s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1568s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1568s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1568s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1568s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1568s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1568s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1568s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1568s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1568s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1568s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1568s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1568s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1568s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1568s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1568s # #else /* !G_ENABLE_DEBUG */ 1568s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1568s # * Do not access GValues directly in your code. Instead, use the 1568s # * g_value_get_*() functions 1568s # */ 1568s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1568s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1568s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1568s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1568s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1568s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1568s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1568s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1568s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1568s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1568s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1568s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1568s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1568s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1568s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1568s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1568s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1568s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1568s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1568s # #endif /* !G_ENABLE_DEBUG */ 1568s # 1568s # typedef struct 1568s # { 1568s # GDBusArgInfo parent_struct; 1568s # gboolean use_gvariant; 1568s # } _ExtendedGDBusArgInfo; 1568s # 1568s # typedef struct 1568s # { 1568s # GDBusMethodInfo parent_struct; 1568s # const gchar *signal_name; 1568s # gboolean pass_fdlist; 1568s # } _ExtendedGDBusMethodInfo; 1568s # 1568s # typedef struct 1568s # { 1568s # GDBusSignalInfo parent_struct; 1568s # const gchar *signal_name; 1568s # } _ExtendedGDBusSignalInfo; 1568s # 1568s # typedef struct 1568s # { 1568s # GDBusPropertyInfo parent_struct; 1568s # const gchar *hyphen_name; 1568s # guint use_gvariant : 1; 1568s # guint emits_changed_signal : 1; 1568s # } _ExtendedGDBusPropertyInfo; 1568s # 1568s # typedef struct 1568s # { 1568s # GDBusInterfaceInfo parent_struct; 1568s # const gchar *hyphen_name; 1568s # } _ExtendedGDBusInterfaceInfo; 1568s # 1568s # typedef struct 1568s # { 1568s # const _ExtendedGDBusPropertyInfo *info; 1568s # guint prop_id; 1568s # GValue orig_value; /* the value before the change */ 1568s # } ChangedProperty; 1568s # 1568s # static void 1568s # _changed_property_free (ChangedProperty *data) 1568s # { 1568s # g_value_unset (&data->orig_value); 1568s # g_free (data); 1568s # } 1568s # 1568s # static gboolean 1568s # _g_strv_equal0 (gchar **a, gchar **b) 1568s # { 1568s # gboolean ret = FALSE; 1568s # guint n; 1568s # if (a == NULL && b == NULL) 1568s # { 1568s # ret = TRUE; 1568s # goto out; 1568s # } 1568s # if (a == NULL || b == NULL) 1568s # goto out; 1568s # if (g_strv_length (a) != g_strv_length (b)) 1568s # goto out; 1568s # for (n = 0; a[n] != NULL; n++) 1568s # if (g_strcmp0 (a[n], b[n]) != 0) 1568s # goto out; 1568s # ret = TRUE; 1568s # out: 1568s # return ret; 1568s # } 1568s # 1568s # static gboolean 1568s # _g_variant_equal0 (GVariant *a, GVariant *b) 1568s # { 1568s # gboolean ret = FALSE; 1568s # if (a == NULL && b == NULL) 1568s # { 1568s # ret = TRUE; 1568s # goto out; 1568s # } 1568s # if (a == NULL || b == NULL) 1568s # goto out; 1568s # ret = g_variant_equal (a, b); 1568s # out: 1568s # return ret; 1568s # } 1568s # 1568s # G_GNUC_UNUSED static gboolean 1568s # _g_value_equal (const GValue *a, const GValue *b) 1568s # { 1568s # gboolean ret = FALSE; 1568s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1568s # switch (G_VALUE_TYPE (a)) 1568s # { 1568s # case G_TYPE_BOOLEAN: 1568s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1568s # break; 1568s # case G_TYPE_UCHAR: 1568s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1568s # break; 1568s # case G_TYPE_INT: 1568s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1568s # break; 1568s # case G_TYPE_UINT: 1568s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1568s # break; 1568s # case G_TYPE_INT64: 1568s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1568s # break; 1568s # case G_TYPE_UINT64: 1568s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1568s # break; 1568s # case G_TYPE_DOUBLE: 1568s # { 1568s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1568s # gdouble da = g_value_get_double (a); 1568s # gdouble db = g_value_get_double (b); 1568s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1568s # } 1568s # break; 1568s # case G_TYPE_STRING: 1568s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1568s # break; 1568s # case G_TYPE_VARIANT: 1568s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1568s # break; 1568s # default: 1568s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1568s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1568s # else 1568s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1568s # break; 1568s # } 1568s # return ret; 1568s # } 1568s # 1568s # /* ------------------------------------------------------------------------ 1568s # * Code for interface org.project.SignalingIface 1568s # * ------------------------------------------------------------------------ 1568s # */ 1568s # 1568s # /** 1568s # * SECTION:OrgProjectSignalingIface 1568s # * @title: OrgProjectSignalingIface 1568s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1568s # * 1568s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1568s # */ 1568s # 1568s # enum 1568s # { 1568s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 1568s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AY, 1568s # }; 1568s # 1568s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 1568s # 1568s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1568s # 1568s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 1568s # { 1568s # { 1568s # -1, 1568s # (gchar *) "SimpleSignal", 1568s # NULL, 1568s # NULL 1568s # }, 1568s # "simple-signal" 1568s # }; 1568s # 1568s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_ay_ARG_arg_ay = 1568s # { 1568s # { 1568s # -1, 1568s # (gchar *) "arg_ay", 1568s # (gchar *) "ay", 1568s # NULL 1568s # }, 1568s # FALSE 1568s # }; 1568s # 1568s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_ay_ARG_pointers[] = 1568s # { 1568s # &_org_project_signaling_iface_signal_info_single_arg_signal_ay_ARG_arg_ay.parent_struct, 1568s # NULL 1568s # }; 1568s # 1568s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_ay = 1568s # { 1568s # { 1568s # -1, 1568s # (gchar *) "SingleArgSignalAy", 1568s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_ay_ARG_pointers, 1568s # NULL 1568s # }, 1568s # "single-arg-signal-ay" 1568s # }; 1568s # 1568s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1568s # { 1568s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 1568s # &_org_project_signaling_iface_signal_info_single_arg_signal_ay.parent_struct, 1568s # NULL 1568s # }; 1568s # 1568s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1568s # { 1568s # { 1568s # -1, 1568s # (gchar *) "org.project.SignalingIface", 1568s # NULL, 1568s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1568s # NULL, 1568s # NULL 1568s # }, 1568s # "org-project-signaling-iface", 1568s # }; 1568s # 1568s # 1568s # /** 1568s # * org_project_signaling_iface_interface_info: 1568s # * 1568s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1568s # * 1568s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1568s # */ 1568s # GDBusInterfaceInfo * 1568s # org_project_signaling_iface_interface_info (void) 1568s # { 1568s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1568s # } 1568s # 1568s # /** 1568s # * org_project_signaling_iface_override_properties: 1568s # * @klass: The class structure for a #GObject derived class. 1568s # * @property_id_begin: The property id to assign to the first overridden property. 1568s # * 1568s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1568s # * The properties are overridden in the order they are defined. 1568s # * 1568s # * Returns: The last property id. 1568s # */ 1568s # guint 1568s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1568s # { 1568s # return property_id_begin - 1; 1568s # } 1568s # 1568s # 1568s # inline static void 1568s # org_project_signaling_iface_signal_marshal_simple_signal ( 1568s # GClosure *closure, 1568s # GValue *return_value, 1568s # unsigned int n_param_values, 1568s # const GValue *param_values, 1568s # void *invocation_hint, 1568s # void *marshal_data) 1568s # { 1568s # g_cclosure_marshal_VOID__VOID (closure, 1568s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1568s # } 1568s # 1568s # inline static void 1568s # org_project_signaling_iface_signal_marshal_single_arg_signal_ay ( 1568s # GClosure *closure, 1568s # GValue *return_value, 1568s # unsigned int n_param_values, 1568s # const GValue *param_values, 1568s # void *invocation_hint, 1568s # void *marshal_data) 1568s # { 1568s # g_cclosure_marshal_VOID__STRING (closure, 1568s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1568s # } 1568s # 1568s # 1568s # /** 1568s # * OrgProjectSignalingIface: 1568s # * 1568s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1568s # */ 1568s # 1568s # /** 1568s # * OrgProjectSignalingIfaceIface: 1568s # * @parent_iface: The parent interface. 1568s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 1568s # * @single_arg_signal_ay: Handler for the #OrgProjectSignalingIface::single-arg-signal-ay signal. 1568s # * 1568s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1568s # */ 1568s # 1568s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1568s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1568s # 1568s # static void 1568s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1568s # { 1568s # /* GObject signals for received D-Bus signals: */ 1568s # /** 1568s # * OrgProjectSignalingIface::simple-signal: 1568s # * @object: A #OrgProjectSignalingIface. 1568s # * 1568s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1568s # * 1568s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1568s # */ 1568s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 1568s # g_signal_new ("simple-signal", 1568s # G_TYPE_FROM_INTERFACE (iface), 1568s # G_SIGNAL_RUN_LAST, 1568s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 1568s # NULL, 1568s # NULL, 1568s # org_project_signaling_iface_signal_marshal_simple_signal, 1568s # G_TYPE_NONE, 1568s # 0); 1568s # 1568s # /** 1568s # * OrgProjectSignalingIface::single-arg-signal-ay: 1568s # * @object: A #OrgProjectSignalingIface. 1568s # * @arg_arg_ay: Argument. 1568s # * 1568s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalAy" is received. 1568s # * 1568s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1568s # */ 1568s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AY] = 1568s # g_signal_new ("single-arg-signal-ay", 1568s # G_TYPE_FROM_INTERFACE (iface), 1568s # G_SIGNAL_RUN_LAST, 1568s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_ay), 1568s # NULL, 1568s # NULL, 1568s # org_project_signaling_iface_signal_marshal_single_arg_signal_ay, 1568s # G_TYPE_NONE, 1568s # 1, G_TYPE_STRING); 1568s # 1568s # } 1568s # 1568s # /** 1568s # * org_project_signaling_iface_emit_simple_signal: 1568s # * @object: A #OrgProjectSignalingIface. 1568s # * 1568s # * Emits the "SimpleSignal" D-Bus signal. 1568s # */ 1568s # void 1568s # org_project_signaling_iface_emit_simple_signal ( 1568s # OrgProjectSignalingIface *object) 1568s # { 1568s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 1568s # } 1568s # 1568s # /** 1568s # * org_project_signaling_iface_emit_single_arg_signal_ay: 1568s # * @object: A #OrgProjectSignalingIface. 1568s # * @arg_arg_ay: Argument to pass with the signal. 1568s # * 1568s # * Emits the "SingleArgSignalAy" D-Bus signal. 1568s # */ 1568s # void 1568s # org_project_signaling_iface_emit_single_arg_signal_ay ( 1568s # OrgProjectSignalingIface *object, 1568s # const gchar *arg_arg_ay) 1568s # { 1568s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AY], 0, arg_arg_ay); 1568s # } 1568s # 1568s # /* ------------------------------------------------------------------------ */ 1568s # 1568s # /** 1568s # * OrgProjectSignalingIfaceProxy: 1568s # * 1568s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1568s # */ 1568s # 1568s # /** 1568s # * OrgProjectSignalingIfaceProxyClass: 1568s # * @parent_class: The parent class. 1568s # * 1568s # * Class structure for #OrgProjectSignalingIfaceProxy. 1568s # */ 1568s # 1568s # struct _OrgProjectSignalingIfaceProxyPrivate 1568s # { 1568s # GData *qdata; 1568s # }; 1568s # 1568s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1568s # 1568s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1568s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1568s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1568s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1568s # 1568s # #else 1568s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1568s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1568s # 1568s # #endif 1568s # static void 1568s # org_project_signaling_iface_proxy_finalize (GObject *object) 1568s # { 1568s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1568s # g_datalist_clear (&proxy->priv->qdata); 1568s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1568s # } 1568s # 1568s # static void 1568s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1568s # guint prop_id G_GNUC_UNUSED, 1568s # GValue *value G_GNUC_UNUSED, 1568s # GParamSpec *pspec G_GNUC_UNUSED) 1568s # { 1568s # } 1568s # 1568s # static void 1568s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1568s # guint prop_id G_GNUC_UNUSED, 1568s # const GValue *value G_GNUC_UNUSED, 1568s # GParamSpec *pspec G_GNUC_UNUSED) 1568s # { 1568s # } 1568s # 1568s # static void 1568s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1568s # const gchar *sender_name G_GNUC_UNUSED, 1568s # const gchar *signal_name, 1568s # GVariant *parameters) 1568s # { 1568s # _ExtendedGDBusSignalInfo *info; 1568s # GVariantIter iter; 1568s # GVariant *child; 1568s # GValue *paramv; 1568s # gsize num_params; 1568s # gsize n; 1568s # guint signal_id; 1568s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1568s # if (info == NULL) 1568s # return; 1568s # num_params = g_variant_n_children (parameters); 1568s # paramv = g_new0 (GValue, num_params + 1); 1568s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1568s # g_value_set_object (¶mv[0], proxy); 1568s # g_variant_iter_init (&iter, parameters); 1568s # n = 1; 1568s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1568s # { 1568s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1568s # if (arg_info->use_gvariant) 1568s # { 1568s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1568s # g_value_set_variant (¶mv[n], child); 1568s # n++; 1568s # } 1568s # else 1568s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1568s # g_variant_unref (child); 1568s # } 1568s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1568s # g_signal_emitv (paramv, signal_id, 0, NULL); 1568s # for (n = 0; n < num_params + 1; n++) 1568s # g_value_unset (¶mv[n]); 1568s # g_free (paramv); 1568s # } 1568s # 1568s # static void 1568s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1568s # GVariant *changed_properties, 1568s # const gchar *const *invalidated_properties) 1568s # { 1568s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1568s # guint n; 1568s # const gchar *key; 1568s # GVariantIter *iter; 1568s # _ExtendedGDBusPropertyInfo *info; 1568s # g_variant_get (changed_properties, "a{sv}", &iter); 1568s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1568s # { 1568s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1568s # g_datalist_remove_data (&proxy->priv->qdata, key); 1568s # if (info != NULL) 1568s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1568s # } 1568s # g_variant_iter_free (iter); 1568s # for (n = 0; invalidated_properties[n] != NULL; n++) 1568s # { 1568s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1568s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1568s # if (info != NULL) 1568s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1568s # } 1568s # } 1568s # 1568s # static void 1568s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1568s # { 1568s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1568s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1568s # #else 1568s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1568s # #endif 1568s # 1568s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1568s # } 1568s # 1568s # static void 1568s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1568s # { 1568s # GObjectClass *gobject_class; 1568s # GDBusProxyClass *proxy_class; 1568s # 1568s # gobject_class = G_OBJECT_CLASS (klass); 1568s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1568s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1568s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1568s # 1568s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1568s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1568s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1568s # 1568s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1568s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1568s # #endif 1568s # } 1568s # 1568s # static void 1568s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1568s # { 1568s # } 1568s # 1568s # /** 1568s # * org_project_signaling_iface_proxy_new: 1568s # * @connection: A #GDBusConnection. 1568s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1568s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1568s # * @object_path: An object path. 1568s # * @cancellable: (nullable): A #GCancellable or %NULL. 1568s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1568s # * @user_data: User data to pass to @callback. 1568s # * 1568s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1568s # * 1568s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1568s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1568s # * 1568s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1568s # */ 1568s # void 1568s # org_project_signaling_iface_proxy_new ( 1568s # GDBusConnection *connection, 1568s # GDBusProxyFlags flags, 1568s # const gchar *name, 1568s # const gchar *object_path, 1568s # GCancellable *cancellable, 1568s # GAsyncReadyCallback callback, 1568s # gpointer user_data) 1568s # { 1568s # 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); 1568s # } 1568s # 1568s # /** 1568s # * org_project_signaling_iface_proxy_new_finish: 1568s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1568s # * @error: Return location for error or %NULL 1568s # * 1568s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1568s # * 1568s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1568s # */ 1568s # OrgProjectSignalingIface * 1568s # org_project_signaling_iface_proxy_new_finish ( 1568s # GAsyncResult *res, 1568s # GError **error) 1568s # { 1568s # GObject *ret; 1568s # GObject *source_object; 1568s # source_object = g_async_result_get_source_object (res); 1568s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1568s # g_object_unref (source_object); 1568s # if (ret != NULL) 1568s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1568s # else 1568s # return NULL; 1568s # } 1568s # 1568s # /** 1568s # * org_project_signaling_iface_proxy_new_sync: 1568s # * @connection: A #GDBusConnection. 1568s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1568s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1568s # * @object_path: An object path. 1568s # * @cancellable: (nullable): A #GCancellable or %NULL. 1568s # * @error: Return location for error or %NULL 1568s # * 1568s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1568s # * 1568s # * The calling thread is blocked until a reply is received. 1568s # * 1568s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1568s # * 1568s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1568s # */ 1568s # OrgProjectSignalingIface * 1568s # org_project_signaling_iface_proxy_new_sync ( 1568s # GDBusConnection *connection, 1568s # GDBusProxyFlags flags, 1568s # const gchar *name, 1568s # const gchar *object_path, 1568s # GCancellable *cancellable, 1568s # GError **error) 1568s # { 1568s # GInitable *ret; 1568s # 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); 1568s # if (ret != NULL) 1568s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1568s # else 1568s # return NULL; 1568s # } 1568s # 1568s # 1568s # /** 1568s # * org_project_signaling_iface_proxy_new_for_bus: 1568s # * @bus_type: A #GBusType. 1568s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1568s # * @name: A bus name (well-known or unique). 1568s # * @object_path: An object path. 1568s # * @cancellable: (nullable): A #GCancellable or %NULL. 1568s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1568s # * @user_data: User data to pass to @callback. 1568s # * 1568s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1568s # * 1568s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1568s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1568s # * 1568s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1568s # */ 1568s # void 1568s # org_project_signaling_iface_proxy_new_for_bus ( 1568s # GBusType bus_type, 1568s # GDBusProxyFlags flags, 1568s # const gchar *name, 1568s # const gchar *object_path, 1568s # GCancellable *cancellable, 1568s # GAsyncReadyCallback callback, 1568s # gpointer user_data) 1568s # { 1568s # 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); 1568s # } 1568s # 1568s # /** 1568s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1568s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1568s # * @error: Return location for error or %NULL 1568s # * 1568s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1568s # * 1568s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1568s # */ 1568s # OrgProjectSignalingIface * 1568s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1568s # GAsyncResult *res, 1568s # GError **error) 1568s # { 1568s # GObject *ret; 1568s # GObject *source_object; 1568s # source_object = g_async_result_get_source_object (res); 1568s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1568s # g_object_unref (source_object); 1568s # if (ret != NULL) 1568s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1568s # else 1568s # return NULL; 1568s # } 1568s # 1568s # /** 1568s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1568s # * @bus_type: A #GBusType. 1568s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1568s # * @name: A bus name (well-known or unique). 1568s # * @object_path: An object path. 1568s # * @cancellable: (nullable): A #GCancellable or %NULL. 1568s # * @error: Return location for error or %NULL 1568s # * 1568s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1568s # * 1568s # * The calling thread is blocked until a reply is received. 1568s # * 1568s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1568s # * 1568s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1568s # */ 1568s # OrgProjectSignalingIface * 1568s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1568s # GBusType bus_type, 1568s # GDBusProxyFlags flags, 1568s # const gchar *name, 1568s # const gchar *object_path, 1568s # GCancellable *cancellable, 1568s # GError **error) 1568s # { 1568s # GInitable *ret; 1568s # 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); 1568s # if (ret != NULL) 1568s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1568s # else 1568s # return NULL; 1568s # } 1568s # 1568s # 1568s # /* ------------------------------------------------------------------------ */ 1568s # 1568s # /** 1568s # * OrgProjectSignalingIfaceSkeleton: 1568s # * 1568s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1568s # */ 1568s # 1568s # /** 1568s # * OrgProjectSignalingIfaceSkeletonClass: 1568s # * @parent_class: The parent class. 1568s # * 1568s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1568s # */ 1568s # 1568s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1568s # { 1568s # GValue *properties; 1568s # GList *changed_properties; 1568s # GSource *changed_properties_idle_source; 1568s # GMainContext *context; 1568s # GMutex lock; 1568s # }; 1568s # 1568s # static void 1568s # _org_project_signaling_iface_skeleton_handle_method_call ( 1568s # GDBusConnection *connection G_GNUC_UNUSED, 1568s # const gchar *sender G_GNUC_UNUSED, 1568s # const gchar *object_path G_GNUC_UNUSED, 1568s # const gchar *interface_name, 1568s # const gchar *method_name, 1568s # GVariant *parameters, 1568s # GDBusMethodInvocation *invocation, 1568s # gpointer user_data) 1568s # { 1568s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1568s # _ExtendedGDBusMethodInfo *info; 1568s # GVariantIter iter; 1568s # GVariant *child; 1568s # GValue *paramv; 1568s # gsize num_params; 1568s # guint num_extra; 1568s # gsize n; 1568s # guint signal_id; 1568s # GValue return_value = G_VALUE_INIT; 1568s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1568s # g_assert (info != NULL); 1568s # num_params = g_variant_n_children (parameters); 1568s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1568s # n = 0; 1568s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1568s # g_value_set_object (¶mv[n++], skeleton); 1568s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1568s # g_value_set_object (¶mv[n++], invocation); 1568s # if (info->pass_fdlist) 1568s # { 1568s # #ifdef G_OS_UNIX 1568s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1568s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1568s # #else 1568s # g_assert_not_reached (); 1568s # #endif 1568s # } 1568s # g_variant_iter_init (&iter, parameters); 1568s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1568s # { 1568s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1568s # if (arg_info->use_gvariant) 1568s # { 1568s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1568s # g_value_set_variant (¶mv[n], child); 1568s # n++; 1568s # } 1568s # else 1568s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1568s # g_variant_unref (child); 1568s # } 1568s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1568s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1568s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1568s # if (!g_value_get_boolean (&return_value)) 1568s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1568s # g_value_unset (&return_value); 1568s # for (n = 0; n < num_params + num_extra; n++) 1568s # g_value_unset (¶mv[n]); 1568s # g_free (paramv); 1568s # } 1568s # 1568s # static GVariant * 1568s # _org_project_signaling_iface_skeleton_handle_get_property ( 1568s # GDBusConnection *connection G_GNUC_UNUSED, 1568s # const gchar *sender G_GNUC_UNUSED, 1568s # const gchar *object_path G_GNUC_UNUSED, 1568s # const gchar *interface_name G_GNUC_UNUSED, 1568s # const gchar *property_name, 1568s # GError **error, 1568s # gpointer user_data) 1568s # { 1568s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1568s # GValue value = G_VALUE_INIT; 1568s # GParamSpec *pspec; 1568s # _ExtendedGDBusPropertyInfo *info; 1568s # GVariant *ret; 1568s # ret = NULL; 1568s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1568s # g_assert (info != NULL); 1568s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1568s # if (pspec == NULL) 1568s # { 1568s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1568s # } 1568s # else 1568s # { 1568s # g_value_init (&value, pspec->value_type); 1568s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1568s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1568s # g_value_unset (&value); 1568s # } 1568s # return ret; 1568s # } 1568s # 1568s # static gboolean 1568s # _org_project_signaling_iface_skeleton_handle_set_property ( 1568s # GDBusConnection *connection G_GNUC_UNUSED, 1568s # const gchar *sender G_GNUC_UNUSED, 1568s # const gchar *object_path G_GNUC_UNUSED, 1568s # const gchar *interface_name G_GNUC_UNUSED, 1568s # const gchar *property_name, 1568s # GVariant *variant, 1568s # GError **error, 1568s # gpointer user_data) 1568s # { 1568s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1568s # GValue value = G_VALUE_INIT; 1568s # GParamSpec *pspec; 1568s # _ExtendedGDBusPropertyInfo *info; 1568s # gboolean ret; 1568s # ret = FALSE; 1568s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1568s # g_assert (info != NULL); 1568s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1568s # if (pspec == NULL) 1568s # { 1568s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1568s # } 1568s # else 1568s # { 1568s # if (info->use_gvariant) 1568s # g_value_set_variant (&value, variant); 1568s # else 1568s # g_dbus_gvariant_to_gvalue (variant, &value); 1568s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1568s # g_value_unset (&value); 1568s # ret = TRUE; 1568s # } 1568s # return ret; 1568s # } 1568s # 1568s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1568s # { 1568s # _org_project_signaling_iface_skeleton_handle_method_call, 1568s # _org_project_signaling_iface_skeleton_handle_get_property, 1568s # _org_project_signaling_iface_skeleton_handle_set_property, 1568s # {NULL} 1568s # }; 1568s # 1568s # static GDBusInterfaceInfo * 1568s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1568s # { 1568s # return org_project_signaling_iface_interface_info (); 1568s # } 1568s # 1568s # static GDBusInterfaceVTable * 1568s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1568s # { 1568s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1568s # } 1568s # 1568s # static GVariant * 1568s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1568s # { 1568s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1568s # 1568s # GVariantBuilder builder; 1568s # guint n; 1568s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1568s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1568s # goto out; 1568s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1568s # { 1568s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1568s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1568s # { 1568s # GVariant *value; 1568s # 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); 1568s # if (value != NULL) 1568s # { 1568s # g_variant_take_ref (value); 1568s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1568s # g_variant_unref (value); 1568s # } 1568s # } 1568s # } 1568s # out: 1568s # return g_variant_builder_end (&builder); 1568s # } 1568s # 1568s # static void 1568s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1568s # { 1568s # } 1568s # 1568s # static void 1568s # _org_project_signaling_iface_on_signal_simple_signal ( 1568s # OrgProjectSignalingIface *object) 1568s # { 1568s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1568s # 1568s # GList *connections, *l; 1568s # GVariant *signal_variant; 1568s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1568s # 1568s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1568s # for (l = connections; l != NULL; l = l->next) 1568s # { 1568s # GDBusConnection *connection = l->data; 1568s # g_dbus_connection_emit_signal (connection, 1568s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 1568s # signal_variant, NULL); 1568s # } 1568s # g_variant_unref (signal_variant); 1568s # g_list_free_full (connections, g_object_unref); 1568s # } 1568s # 1568s # static void 1568s # _org_project_signaling_iface_on_signal_single_arg_signal_ay ( 1568s # OrgProjectSignalingIface *object, 1568s # const gchar *arg_arg_ay) 1568s # { 1568s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1568s # 1568s # GList *connections, *l; 1568s # GVariant *signal_variant; 1568s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1568s # 1568s # signal_variant = g_variant_ref_sink (g_variant_new ("(^ay)", 1568s # arg_arg_ay)); 1568s # for (l = connections; l != NULL; l = l->next) 1568s # { 1568s # GDBusConnection *connection = l->data; 1568s # g_dbus_connection_emit_signal (connection, 1568s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalAy", 1568s # signal_variant, NULL); 1568s # } 1568s # g_variant_unref (signal_variant); 1568s # g_list_free_full (connections, g_object_unref); 1568s # } 1568s # 1568s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1568s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1568s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1568s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1568s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1568s # 1568s # #else 1568s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1568s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1568s # 1568s # #endif 1568s # static void 1568s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1568s # { 1568s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1568s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1568s # if (skeleton->priv->changed_properties_idle_source != NULL) 1568s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1568s # g_main_context_unref (skeleton->priv->context); 1568s # g_mutex_clear (&skeleton->priv->lock); 1568s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1568s # } 1568s # 1568s # static void 1568s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1568s # { 1568s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1568s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1568s # #else 1568s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1568s # #endif 1568s # 1568s # g_mutex_init (&skeleton->priv->lock); 1568s # skeleton->priv->context = g_main_context_ref_thread_default (); 1568s # } 1568s # 1568s # static void 1568s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1568s # { 1568s # GObjectClass *gobject_class; 1568s # GDBusInterfaceSkeletonClass *skeleton_class; 1568s # 1568s # gobject_class = G_OBJECT_CLASS (klass); 1568s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1568s # 1568s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1568s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1568s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1568s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1568s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1568s # 1568s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1568s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1568s # #endif 1568s # } 1568s # 1568s # static void 1568s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1568s # { 1568s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 1568s # iface->single_arg_signal_ay = _org_project_signaling_iface_on_signal_single_arg_signal_ay; 1568s # } 1568s # 1568s # /** 1568s # * org_project_signaling_iface_skeleton_new: 1568s # * 1568s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1568s # * 1568s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1568s # */ 1568s # OrgProjectSignalingIface * 1568s # org_project_signaling_iface_skeleton_new (void) 1568s # { 1568s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1568s # } 1568s # /tmp/tmpgfozeg7c/tmp5hnc5vez.xml: 1568s # 1568s # 1568s # 1568s # 1568s # 1568s # 1568s # 1568s # 1568s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpgfozeg7c/tmp5hnc5vez.xml', '--output', '-', '--body'] 1568s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-baqskmurxn,guid=fbaffe99d0ccb1f6e1beb84865fc01cd', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.YcZbqk/autopkgtest_tmp', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.YcZbqk/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.YcZbqk/autopkgtest_tmp', 'TERM': 'unknown', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.YcZbqk/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.sVTVMp0Db0', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.rqZsJO/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.YcZbqk/wrapper.sh --artifacts=/tmp/autopkgtest.YcZbqk/installed-tests-artifacts --chdir=/tmp/autopkgtest.YcZbqk/build.S0E/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.YcZbqk/installed-tests-stderr --stdout=/tmp/autopkgtest.YcZbqk/installed-tests-stdout --tmp=/tmp/autopkgtest.YcZbqk/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2' --make-executable=/tmp/autopkgtest.YcZbqk/build.S0E/src/debian/tests/installed-tests -- /tmp/autopkgtest.YcZbqk/build.S0E/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.YcZbqk/build.S0E/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.YcZbqk/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1568s # Output: /* 1568s # * This file is generated by gdbus-codegen, do not modify it. 1568s # * 1568s # * The license of this code is the same as for the D-Bus interface description 1568s # * it was derived from. Note that it links to GLib, so must comply with the 1568s # * LGPL linking clauses. 1568s # */ 1568s # 1568s # #ifdef HAVE_CONFIG_H 1568s # # include "config.h" 1568s # #endif 1568s # 1568s # #include 1568s # #ifdef G_OS_UNIX 1568s # # include 1568s # #endif 1568s # 1568s # #ifdef G_ENABLE_DEBUG 1568s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1568s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1568s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1568s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1568s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1568s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1568s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1568s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1568s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1568s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1568s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1568s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1568s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1568s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1568s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1568s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1568s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1568s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1568s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1568s # #else /* !G_ENABLE_DEBUG */ 1568s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1568s # * Do not access GValues directly in your code. Instead, use the 1568s # * g_value_get_*() functions 1568s # */ 1568s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1568s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1568s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1568s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1568s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1568s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1568s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1568s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1568s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1568s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1568s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1568s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1568s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1568s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1568s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1568s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1568s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1568s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1568s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1568s # #endif /* !G_ENABLE_DEBUG */ 1568s # 1568s # typedef struct 1568s # { 1568s # GDBusArgInfo parent_struct; 1568s # gboolean use_gvariant; 1568s # } _ExtendedGDBusArgInfo; 1568s # 1568s # typedef struct 1568s # { 1568s # GDBusMethodInfo parent_struct; 1568s # const gchar *signal_name; 1568s # gboolean pass_fdlist; 1568s # } _ExtendedGDBusMethodInfo; 1568s # 1568s # typedef struct 1568s # { 1568s # GDBusSignalInfo parent_struct; 1568s # const gchar *signal_name; 1568s # } _ExtendedGDBusSignalInfo; 1568s # 1568s # typedef struct 1568s # { 1568s # GDBusPropertyInfo parent_struct; 1568s # const gchar *hyphen_name; 1568s # guint use_gvariant : 1; 1568s # guint emits_changed_signal : 1; 1568s # } _ExtendedGDBusPropertyInfo; 1568s # 1568s # typedef struct 1568s # { 1568s # GDBusInterfaceInfo parent_struct; 1568s # const gchar *hyphen_name; 1568s # } _ExtendedGDBusInterfaceInfo; 1568s # 1568s # typedef struct 1568s # { 1568s # const _ExtendedGDBusPropertyInfo *info; 1568s # guint prop_id; 1568s # GValue orig_value; /* the value before the change */ 1568s # } ChangedProperty; 1568s # 1568s # static void 1568s # _changed_property_free (ChangedProperty *data) 1568s # { 1568s # g_value_unset (&data->orig_value); 1568s # g_free (data); 1568s # } 1568s # 1568s # static gboolean 1568s # _g_strv_equal0 (gchar **a, gchar **b) 1568s # { 1568s # gboolean ret = FALSE; 1568s # guint n; 1568s # if (a == NULL && b == NULL) 1568s # { 1568s # ret = TRUE; 1568s # goto out; 1568s # } 1568s # if (a == NULL || b == NULL) 1568s # goto out; 1568s # if (g_strv_length (a) != g_strv_length (b)) 1568s # goto out; 1568s # for (n = 0; a[n] != NULL; n++) 1568s # if (g_strcmp0 (a[n], b[n]) != 0) 1568s # goto out; 1568s # ret = TRUE; 1568s # out: 1568s # return ret; 1568s # } 1568s # 1568s # static gboolean 1568s # _g_variant_equal0 (GVariant *a, GVariant *b) 1568s # { 1568s # gboolean ret = FALSE; 1568s # if (a == NULL && b == NULL) 1568s # { 1568s # ret = TRUE; 1568s # goto out; 1568s # } 1568s # if (a == NULL || b == NULL) 1568s # goto out; 1568s # ret = g_variant_equal (a, b); 1568s # out: 1568s # return ret; 1568s # } 1568s # 1568s # G_GNUC_UNUSED static gboolean 1568s # _g_value_equal (const GValue *a, const GValue *b) 1568s # { 1568s # gboolean ret = FALSE; 1568s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1568s # switch (G_VALUE_TYPE (a)) 1568s # { 1568s # case G_TYPE_BOOLEAN: 1568s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1568s # break; 1568s # case G_TYPE_UCHAR: 1568s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1568s # break; 1568s # case G_TYPE_INT: 1568s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1568s # break; 1568s # case G_TYPE_UINT: 1568s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1568s # break; 1568s # case G_TYPE_INT64: 1568s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1568s # break; 1568s # case G_TYPE_UINT64: 1568s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1568s # break; 1568s # case G_TYPE_DOUBLE: 1568s # { 1568s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1568s # gdouble da = g_value_get_double (a); 1568s # gdouble db = g_value_get_double (b); 1568s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1568s # } 1568s # break; 1568s # case G_TYPE_STRING: 1568s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1568s # break; 1568s # case G_TYPE_VARIANT: 1568s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1568s # break; 1568s # default: 1568s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1568s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1568s # else 1568s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1568s # break; 1568s # } 1568s # return ret; 1568s # } 1568s # 1568s # /* ------------------------------------------------------------------------ 1568s # * Code for interface org.project.SignalingIface 1568s # * ------------------------------------------------------------------------ 1568s # */ 1568s # 1568s # /** 1568s # * SECTION:OrgProjectSignalingIface 1568s # * @title: OrgProjectSignalingIface 1568s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1568s # * 1568s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1568s # */ 1568s # 1568s # enum 1568s # { 1568s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 1568s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AS, 1568s # }; 1568s # 1568s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 1568s # 1568s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1568s # 1568s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 1568s # { 1568s # { 1568s # -1, 1568s # (gchar *) "SimpleSignal", 1568s # NULL, 1568s # NULL 1568s # }, 1568s # "simple-signal" 1568s # }; 1568s # 1568s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_as_ARG_arg_as = 1568s # { 1568s # { 1568s # -1, 1568s # (gchar *) "arg_as", 1568s # (gchar *) "as", 1568s # NULL 1568s # }, 1568s # FALSE 1568s # }; 1568s # 1568s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_as_ARG_pointers[] = 1568s # { 1568s # &_org_project_signaling_iface_signal_info_single_arg_signal_as_ARG_arg_as.parent_struct, 1568s # NULL 1568s # }; 1568s # 1568s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_as = 1568s # { 1568s # { 1568s # -1, 1568s # (gchar *) "SingleArgSignalAs", 1568s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_as_ARG_pointers, 1568s # NULL 1568s # }, 1568s # "single-arg-signal-as" 1568s # }; 1568s # 1568s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1568s # { 1568s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 1568s # &_org_project_signaling_iface_signal_info_single_arg_signal_as.parent_struct, 1568s # NULL 1568s # }; 1568s # 1568s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1568s # { 1568s # { 1568s # -1, 1568s # (gchar *) "org.project.SignalingIface", 1568s # NULL, 1568s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1568s # NULL, 1568s # NULL 1568s # }, 1568s # "org-project-signaling-iface", 1568s # }; 1568s # 1568s # 1568s # /** 1568s # * org_project_signaling_iface_interface_info: 1568s # * 1568s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1568s # * 1568s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1568s # */ 1568s # GDBusInterfaceInfo * 1568s # org_project_signaling_iface_interface_info (void) 1568s # { 1568s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1568s # } 1568s # 1568s # /** 1568s # * org_project_signaling_iface_override_properties: 1568s # * @klass: The class structure for a #GObject derived class. 1568s # * @property_id_begin: The property id to assign to the first overridden property. 1568s # * 1568s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1568s # * The properties are overridden in the order they are defined. 1568s # * 1568s # * Returns: The last property id. 1568s # */ 1568s # guint 1568s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1568s # { 1568s # return property_id_begin - 1; 1568s # } 1568s # 1568s # 1568s # inline static void 1568s # org_project_signaling_iface_signal_marshal_simple_signal ( 1568s # GClosure *closure, 1568s # GValue *return_value, 1568s # unsigned int n_param_values, 1568s # const GValue *param_values, 1568s # void *invocation_hint, 1568s # void *marshal_data) 1568s # { 1568s # g_cclosure_marshal_VOID__VOID (closure, 1568s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1568s # } 1568s # 1568s # inline static void 1568s # org_project_signaling_iface_signal_marshal_single_arg_signal_as ( 1568s # GClosure *closure, 1568s # GValue *return_value, 1568s # unsigned int n_param_values, 1568s # const GValue *param_values, 1568s # void *invocation_hint, 1568s # void *marshal_data) 1568s # { 1568s # g_cclosure_marshal_VOID__BOXED (closure, 1568s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1568s # } 1568s # 1568s # 1568s # /** 1568s # * OrgProjectSignalingIface: 1568s # * 1568s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1568s # */ 1568s # 1568s # /** 1568s # * OrgProjectSignalingIfaceIface: 1568s # * @parent_iface: The parent interface. 1568s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 1568s # * @single_arg_signal_as: Handler for the #OrgProjectSignalingIface::single-arg-signal-as signal. 1568s # * 1568s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1568s # */ 1568s # 1568s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1568s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1568s # 1568s # static void 1568s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1568s # { 1568s # /* GObject signals for received D-Bus signals: */ 1568s # /** 1568s # * OrgProjectSignalingIface::simple-signal: 1568s # * @object: A #OrgProjectSignalingIface. 1568s # * 1568s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1568s # * 1568s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1568s # */ 1568s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 1568s # g_signal_new ("simple-signal", 1568s # G_TYPE_FROM_INTERFACE (iface), 1568s # G_SIGNAL_RUN_LAST, 1568s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 1568s # NULL, 1568s # NULL, 1568s # org_project_signaling_iface_signal_marshal_simple_signal, 1568s # G_TYPE_NONE, 1568s # 0); 1568s # 1568s # /** 1568s # * OrgProjectSignalingIface::single-arg-signal-as: 1568s # * @object: A #OrgProjectSignalingIface. 1568s # * @arg_arg_as: Argument. 1568s # * 1568s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalAs" is received. 1568s # * 1568s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1568s # */ 1568s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AS] = 1568s # g_signal_new ("single-arg-signal-as", 1568s # G_TYPE_FROM_INTERFACE (iface), 1568s # G_SIGNAL_RUN_LAST, 1568s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_as), 1568s # NULL, 1568s # NULL, 1568s # org_project_signaling_iface_signal_marshal_single_arg_signal_as, 1568s # G_TYPE_NONE, 1568s # 1, G_TYPE_STRV); 1568s # 1568s # } 1568s # 1568s # /** 1568s # * org_project_signaling_iface_emit_simple_signal: 1568s # * @object: A #OrgProjectSignalingIface. 1568s # * 1568s # * Emits the "SimpleSignal" D-Bus signal. 1568s # */ 1568s # void 1568s # org_project_signaling_iface_emit_simple_signal ( 1568s # OrgProjectSignalingIface *object) 1568s # { 1568s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 1568s # } 1568s # 1568s # /** 1568s # * org_project_signaling_iface_emit_single_arg_signal_as: 1568s # * @object: A #OrgProjectSignalingIface. 1568s # * @arg_arg_as: Argument to pass with the signal. 1568s # * 1568s # * Emits the "SingleArgSignalAs" D-Bus signal. 1568s # */ 1568s # void 1568s # org_project_signaling_iface_emit_single_arg_signal_as ( 1568s # OrgProjectSignalingIface *object, 1568s # const gchar *const *arg_arg_as) 1568s # { 1568s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AS], 0, arg_arg_as); 1568s # } 1568s # 1568s # /* ------------------------------------------------------------------------ */ 1568s # 1568s # /** 1568s # * OrgProjectSignalingIfaceProxy: 1568s # * 1568s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1568s # */ 1568s # 1568s # /** 1568s # * OrgProjectSignalingIfaceProxyClass: 1568s # * @parent_class: The parent class. 1568s # * 1568s # * Class structure for #OrgProjectSignalingIfaceProxy. 1568s # */ 1568s # 1568s # struct _OrgProjectSignalingIfaceProxyPrivate 1568s # { 1568s # GData *qdata; 1568s # }; 1568s # 1568s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1568s # 1568s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1568s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1568s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1568s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1568s # 1568s # #else 1568s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1568s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1568s # 1568s # #endif 1568s # static void 1568s # org_project_signaling_iface_proxy_finalize (GObject *object) 1568s # { 1568s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1568s # g_datalist_clear (&proxy->priv->qdata); 1568s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1568s # } 1568s # 1568s # static void 1568s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1568s # guint prop_id G_GNUC_UNUSED, 1568s # GValue *value G_GNUC_UNUSED, 1568s # GParamSpec *pspec G_GNUC_UNUSED) 1568s # { 1568s # } 1568s # 1568s # static void 1568s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1568s # guint prop_id G_GNUC_UNUSED, 1568s # const GValue *value G_GNUC_UNUSED, 1568s # GParamSpec *pspec G_GNUC_UNUSED) 1568s # { 1568s # } 1568s # 1568s # static void 1568s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1568s # const gchar *sender_name G_GNUC_UNUSED, 1568s # const gchar *signal_name, 1568s # GVariant *parameters) 1568s # { 1568s # _ExtendedGDBusSignalInfo *info; 1568s # GVariantIter iter; 1568s # GVariant *child; 1568s # GValue *paramv; 1568s # gsize num_params; 1568s # gsize n; 1568s # guint signal_id; 1568s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1568s # if (info == NULL) 1568s # return; 1568s # num_params = g_variant_n_children (parameters); 1568s # paramv = g_new0 (GValue, num_params + 1); 1568s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1568s # g_value_set_object (¶mv[0], proxy); 1568s # g_variant_iter_init (&iter, parameters); 1568s # n = 1; 1568s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1568s # { 1568s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1568s # if (arg_info->use_gvariant) 1568s # { 1568s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1568s # g_value_set_variant (¶mv[n], child); 1568s # n++; 1568s # } 1568s # else 1568s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1568s # g_variant_unref (child); 1568s # } 1568s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1568s # g_signal_emitv (paramv, signal_id, 0, NULL); 1568s # for (n = 0; n < num_params + 1; n++) 1568s # g_value_unset (¶mv[n]); 1568s # g_free (paramv); 1568s # } 1568s # 1568s # static void 1568s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1568s # GVariant *changed_properties, 1568s # const gchar *const *invalidated_properties) 1568s # { 1568s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1568s # guint n; 1568s # const gchar *key; 1568s # GVariantIter *iter; 1568s # _ExtendedGDBusPropertyInfo *info; 1568s # g_variant_get (changed_properties, "a{sv}", &iter); 1568s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1568s # { 1568s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1568s # g_datalist_remove_data (&proxy->priv->qdata, key); 1568s # if (info != NULL) 1568s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1568s # } 1568s # g_variant_iter_free (iter); 1568s # for (n = 0; invalidated_properties[n] != NULL; n++) 1568s # { 1568s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1568s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1568s # if (info != NULL) 1568s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1568s # } 1568s # } 1568s # 1568s # static void 1568s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1568s # { 1568s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1568s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1568s # #else 1568s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1568s # #endif 1568s # 1568s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1568s # } 1568s # 1568s # static void 1568s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1568s # { 1568s # GObjectClass *gobject_class; 1568s # GDBusProxyClass *proxy_class; 1568s # 1568s # gobject_class = G_OBJECT_CLASS (klass); 1568s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1568s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1568s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1568s # 1568s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1568s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1568s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1568s # 1568s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1568s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1568s # #endif 1568s # } 1568s # 1568s # static void 1568s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1568s # { 1568s # } 1568s # 1568s # /** 1568s # * org_project_signaling_iface_proxy_new: 1568s # * @connection: A #GDBusConnection. 1568s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1568s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1568s # * @object_path: An object path. 1568s # * @cancellable: (nullable): A #GCancellable or %NULL. 1568s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1568s # * @user_data: User data to pass to @callback. 1568s # * 1568s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1568s # * 1568s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1568s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1568s # * 1568s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1568s # */ 1568s # void 1568s # org_project_signaling_iface_proxy_new ( 1568s # GDBusConnection *connection, 1568s # GDBusProxyFlags flags, 1568s # const gchar *name, 1568s # const gchar *object_path, 1568s # GCancellable *cancellable, 1568s # GAsyncReadyCallback callback, 1568s # gpointer user_data) 1568s # { 1568s # 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); 1568s # } 1568s # 1568s # /** 1568s # * org_project_signaling_iface_proxy_new_finish: 1568s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1568s # * @error: Return location for error or %NULL 1568s # * 1568s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1568s # * 1568s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1568s # */ 1568s # OrgProjectSignalingIface * 1568s # org_project_signaling_iface_proxy_new_finish ( 1568s # GAsyncResult *res, 1568s # GError **error) 1568s # { 1568s # GObject *ret; 1568s # GObject *source_object; 1568s # source_object = g_async_result_get_source_object (res); 1568s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1568s # g_object_unref (source_object); 1568s # if (ret != NULL) 1568s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1568s # else 1568s # return NULL; 1568s # } 1568s # 1568s # /** 1568s # * org_project_signaling_iface_proxy_new_sync: 1568s # * @connection: A #GDBusConnection. 1568s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1568s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1568s # * @object_path: An object path. 1568s # * @cancellable: (nullable): A #GCancellable or %NULL. 1568s # * @error: Return location for error or %NULL 1568s # * 1568s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1568s # * 1568s # * The calling thread is blocked until a reply is received. 1568s # * 1568s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1568s # * 1568s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1568s # */ 1568s # OrgProjectSignalingIface * 1568s # org_project_signaling_iface_proxy_new_sync ( 1568s # GDBusConnection *connection, 1568s # GDBusProxyFlags flags, 1568s # const gchar *name, 1568s # const gchar *object_path, 1568s # GCancellable *cancellable, 1568s # GError **error) 1568s # { 1568s # GInitable *ret; 1568s # 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); 1568s # if (ret != NULL) 1568s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1568s # else 1568s # return NULL; 1568s # } 1568s # 1568s # 1568s # /** 1568s # * org_project_signaling_iface_proxy_new_for_bus: 1568s # * @bus_type: A #GBusType. 1568s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1568s # * @name: A bus name (well-known or unique). 1568s # * @object_path: An object path. 1568s # * @cancellable: (nullable): A #GCancellable or %NULL. 1568s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1568s # * @user_data: User data to pass to @callback. 1568s # * 1568s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1568s # * 1568s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1568s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1568s # * 1568s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1568s # */ 1568s # void 1568s # org_project_signaling_iface_proxy_new_for_bus ( 1568s # GBusType bus_type, 1568s # GDBusProxyFlags flags, 1568s # const gchar *name, 1568s # const gchar *object_path, 1568s # GCancellable *cancellable, 1568s # GAsyncReadyCallback callback, 1568s # gpointer user_data) 1568s # { 1568s # 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); 1568s # } 1568s # 1568s # /** 1568s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1568s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1568s # * @error: Return location for error or %NULL 1568s # * 1568s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1568s # * 1568s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1568s # */ 1568s # OrgProjectSignalingIface * 1568s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1568s # GAsyncResult *res, 1568s # GError **error) 1568s # { 1568s # GObject *ret; 1568s # GObject *source_object; 1568s # source_object = g_async_result_get_source_object (res); 1568s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1568s # g_object_unref (source_object); 1568s # if (ret != NULL) 1568s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1568s # else 1568s # return NULL; 1568s # } 1568s # 1568s # /** 1568s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1568s # * @bus_type: A #GBusType. 1568s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1568s # * @name: A bus name (well-known or unique). 1568s # * @object_path: An object path. 1568s # * @cancellable: (nullable): A #GCancellable or %NULL. 1568s # * @error: Return location for error or %NULL 1568s # * 1568s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1568s # * 1568s # * The calling thread is blocked until a reply is received. 1568s # * 1568s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1568s # * 1568s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1568s # */ 1568s # OrgProjectSignalingIface * 1568s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1568s # GBusType bus_type, 1568s # GDBusProxyFlags flags, 1568s # const gchar *name, 1568s # const gchar *object_path, 1568s # GCancellable *cancellable, 1568s # GError **error) 1568s # { 1568s # GInitable *ret; 1568s # 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); 1568s # if (ret != NULL) 1568s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1568s # else 1568s # return NULL; 1568s # } 1568s # 1568s # 1568s # /* ------------------------------------------------------------------------ */ 1568s # 1568s # /** 1568s # * OrgProjectSignalingIfaceSkeleton: 1568s # * 1568s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1568s # */ 1568s # 1568s # /** 1568s # * OrgProjectSignalingIfaceSkeletonClass: 1568s # * @parent_class: The parent class. 1568s # * 1568s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1568s # */ 1568s # 1568s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1568s # { 1568s # GValue *properties; 1568s # GList *changed_properties; 1568s # GSource *changed_properties_idle_source; 1568s # GMainContext *context; 1568s # GMutex lock; 1568s # }; 1568s # 1568s # static void 1568s # _org_project_signaling_iface_skeleton_handle_method_call ( 1568s # GDBusConnection *connection G_GNUC_UNUSED, 1568s # const gchar *sender G_GNUC_UNUSED, 1568s # const gchar *object_path G_GNUC_UNUSED, 1568s # const gchar *interface_name, 1568s # const gchar *method_name, 1568s # GVariant *parameters, 1568s # GDBusMethodInvocation *invocation, 1568s # gpointer user_data) 1568s # { 1568s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1568s # _ExtendedGDBusMethodInfo *info; 1568s # GVariantIter iter; 1568s # GVariant *child; 1568s # GValue *paramv; 1568s # gsize num_params; 1568s # guint num_extra; 1568s # gsize n; 1568s # guint signal_id; 1568s # GValue return_value = G_VALUE_INIT; 1568s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1568s # g_assert (info != NULL); 1568s # num_params = g_variant_n_children (parameters); 1568s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1568s # n = 0; 1568s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1568s # g_value_set_object (¶mv[n++], skeleton); 1568s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1568s # g_value_set_object (¶mv[n++], invocation); 1568s # if (info->pass_fdlist) 1568s # { 1568s # #ifdef G_OS_UNIX 1568s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1568s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1568s # #else 1568s # g_assert_not_reached (); 1568s # #endif 1568s # } 1568s # g_variant_iter_init (&iter, parameters); 1568s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1568s # { 1568s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1568s # if (arg_info->use_gvariant) 1568s # { 1568s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1568s # g_value_set_variant (¶mv[n], child); 1568s # n++; 1568s # } 1568s # else 1568s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1568s # g_variant_unref (child); 1568s # } 1568s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1568s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1568s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1568s # if (!g_value_get_boolean (&return_value)) 1568s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1568s # g_value_unset (&return_value); 1568s # for (n = 0; n < num_params + num_extra; n++) 1568s # g_value_unset (¶mv[n]); 1568s # g_free (paramv); 1568s # } 1568s # 1568s # static GVariant * 1568s # _org_project_signaling_iface_skeleton_handle_get_property ( 1568s # GDBusConnection *connection G_GNUC_UNUSED, 1568s # const gchar *sender G_GNUC_UNUSED, 1568s # const gchar *object_path G_GNUC_UNUSED, 1568s # const gchar *interface_name G_GNUC_UNUSED, 1568s # const gchar *property_name, 1568s # GError **error, 1568s # gpointer user_data) 1568s # { 1568s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1568s # GValue value = G_VALUE_INIT; 1568s # GParamSpec *pspec; 1568s # _ExtendedGDBusPropertyInfo *info; 1568s # GVariant *ret; 1568s # ret = NULL; 1568s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1568s # g_assert (info != NULL); 1568s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1568s # if (pspec == NULL) 1568s # { 1568s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1568s # } 1568s # else 1568s # { 1568s # g_value_init (&value, pspec->value_type); 1568s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1568s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1568s # g_value_unset (&value); 1568s # } 1568s # return ret; 1568s # } 1568s # 1568s # static gboolean 1568s # _org_project_signaling_iface_skeleton_handle_set_property ( 1568s # GDBusConnection *connection G_GNUC_UNUSED, 1568s # const gchar *sender G_GNUC_UNUSED, 1568s # const gchar *object_path G_GNUC_UNUSED, 1568s # const gchar *interface_name G_GNUC_UNUSED, 1568s # const gchar *property_name, 1568s # GVariant *variant, 1568s # GError **error, 1568s # gpointer user_data) 1568s # { 1568s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1568s # GValue value = G_VALUE_INIT; 1568s # GParamSpec *pspec; 1568s # _ExtendedGDBusPropertyInfo *info; 1568s # gboolean ret; 1568s # ret = FALSE; 1568s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1568s # g_assert (info != NULL); 1568s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1568s # if (pspec == NULL) 1568s # { 1568s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1568s # } 1568s # else 1568s # { 1568s # if (info->use_gvariant) 1568s # g_value_set_variant (&value, variant); 1568s # else 1568s # g_dbus_gvariant_to_gvalue (variant, &value); 1568s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1568s # g_value_unset (&value); 1568s # ret = TRUE; 1568s # } 1568s # return ret; 1568s # } 1568s # 1568s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1568s # { 1568s # _org_project_signaling_iface_skeleton_handle_method_call, 1568s # _org_project_signaling_iface_skeleton_handle_get_property, 1568s # _org_project_signaling_iface_skeleton_handle_set_property, 1568s # {NULL} 1568s # }; 1568s # 1568s # static GDBusInterfaceInfo * 1568s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1568s # { 1568s # return org_project_signaling_iface_interface_info (); 1568s # } 1568s # 1568s # static GDBusInterfaceVTable * 1568s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1568s # { 1568s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1568s # } 1568s # 1568s # static GVariant * 1568s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1568s # { 1568s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1568s # 1568s # GVariantBuilder builder; 1568s # guint n; 1568s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1568s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1568s # goto out; 1568s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1568s # { 1568s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1568s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1568s # { 1568s # GVariant *value; 1568s # 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); 1568s # if (value != NULL) 1568s # { 1568s # g_variant_take_ref (value); 1568s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1568s # g_variant_unref (value); 1568s # } 1568s # } 1568s # } 1568s # out: 1568s # return g_variant_builder_end (&builder); 1568s # } 1568s # 1568s # static void 1568s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1568s # { 1568s # } 1568s # 1568s # static void 1568s # _org_project_signaling_iface_on_signal_simple_signal ( 1568s # OrgProjectSignalingIface *object) 1568s # { 1568s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1568s # 1568s # GList *connections, *l; 1568s # GVariant *signal_variant; 1568s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1568s # 1568s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1568s # for (l = connections; l != NULL; l = l->next) 1568s # { 1568s # GDBusConnection *connection = l->data; 1568s # g_dbus_connection_emit_signal (connection, 1568s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 1568s # signal_variant, NULL); 1568s # } 1568s # g_variant_unref (signal_variant); 1568s # g_list_free_full (connections, g_object_unref); 1568s # } 1568s # 1568s # static void 1568s # _org_project_signaling_iface_on_signal_single_arg_signal_as ( 1568s # OrgProjectSignalingIface *object, 1568s # const gchar *const *arg_arg_as) 1568s # { 1568s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1568s # 1568s # GList *connections, *l; 1568s # GVariant *signal_variant; 1568s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1568s # 1568s # signal_variant = g_variant_ref_sink (g_variant_new ("(^as)", 1568s # arg_arg_as)); 1568s # for (l = connections; l != NULL; l = l->next) 1568s # { 1568s # GDBusConnection *connection = l->data; 1568s # g_dbus_connection_emit_signal (connection, 1568s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalAs", 1568s # signal_variant, NULL); 1568s # } 1568s # g_variant_unref (signal_variant); 1568s # g_list_free_full (connections, g_object_unref); 1568s # } 1568s # 1568s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1568s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1568s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1568s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1568s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1568s # 1568s # #else 1568s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1568s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1568s # 1568s # #endif 1568s # static void 1568s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1568s # { 1568s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1568s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1568s # if (skeleton->priv->changed_properties_idle_source != NULL) 1568s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1568s # g_main_context_unref (skeleton->priv->context); 1568s # g_mutex_clear (&skeleton->priv->lock); 1568s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1568s # } 1568s # 1568s # static void 1568s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1568s # { 1568s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1568s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1568s # #else 1568s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1568s # #endif 1568s # 1568s # g_mutex_init (&skeleton->priv->lock); 1568s # skeleton->priv->context = g_main_context_ref_thread_default (); 1568s # } 1568s # 1568s # static void 1568s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1568s # { 1568s # GObjectClass *gobject_class; 1568s # GDBusInterfaceSkeletonClass *skeleton_class; 1568s # 1568s # gobject_class = G_OBJECT_CLASS (klass); 1568s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1568s # 1568s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1568s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1568s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1568s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1568s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1568s # 1568s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1568s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1568s # #endif 1568s # } 1568s # 1568s # static void 1568s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1568s # { 1568s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 1568s # iface->single_arg_signal_as = _org_project_signaling_iface_on_signal_single_arg_signal_as; 1568s # } 1568s # 1568s # /** 1568s # * org_project_signaling_iface_skeleton_new: 1568s # * 1568s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1568s # * 1568s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1568s # */ 1568s # OrgProjectSignalingIface * 1568s # org_project_signaling_iface_skeleton_new (void) 1568s # { 1568s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1568s # } 1568s # /tmp/tmpgfozeg7c/tmpvxpq46cu.xml: 1568s # 1568s # 1568s # 1568s # 1568s # 1568s # 1568s # 1568s # 1568s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpgfozeg7c/tmpvxpq46cu.xml', '--output', '-', '--body'] 1568s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-baqskmurxn,guid=fbaffe99d0ccb1f6e1beb84865fc01cd', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.YcZbqk/autopkgtest_tmp', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.YcZbqk/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.YcZbqk/autopkgtest_tmp', 'TERM': 'unknown', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.YcZbqk/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.sVTVMp0Db0', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.rqZsJO/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.YcZbqk/wrapper.sh --artifacts=/tmp/autopkgtest.YcZbqk/installed-tests-artifacts --chdir=/tmp/autopkgtest.YcZbqk/build.S0E/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.YcZbqk/installed-tests-stderr --stdout=/tmp/autopkgtest.YcZbqk/installed-tests-stdout --tmp=/tmp/autopkgtest.YcZbqk/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2' --make-executable=/tmp/autopkgtest.YcZbqk/build.S0E/src/debian/tests/installed-tests -- /tmp/autopkgtest.YcZbqk/build.S0E/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.YcZbqk/build.S0E/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.YcZbqk/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1568s # Output: /* 1568s # * This file is generated by gdbus-codegen, do not modify it. 1568s # * 1568s # * The license of this code is the same as for the D-Bus interface description 1568s # * it was derived from. Note that it links to GLib, so must comply with the 1568s # * LGPL linking clauses. 1568s # */ 1568s # 1568s # #ifdef HAVE_CONFIG_H 1568s # # include "config.h" 1568s # #endif 1568s # 1568s # #include 1568s # #ifdef G_OS_UNIX 1568s # # include 1568s # #endif 1568s # 1568s # #ifdef G_ENABLE_DEBUG 1568s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1568s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1568s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1568s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1568s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1568s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1568s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1568s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1568s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1568s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1568s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1568s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1568s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1568s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1568s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1568s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1568s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1568s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1568s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1568s # #else /* !G_ENABLE_DEBUG */ 1568s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1568s # * Do not access GValues directly in your code. Instead, use the 1568s # * g_value_get_*() functions 1568s # */ 1568s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1568s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1568s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1568s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1568s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1568s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1568s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1568s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1568s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1568s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1568s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1568s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1568s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1568s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1568s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1568s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1568s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1568s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1568s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1568s # #endif /* !G_ENABLE_DEBUG */ 1568s # 1568s # typedef struct 1568s # { 1568s # GDBusArgInfo parent_struct; 1568s # gboolean use_gvariant; 1568s # } _ExtendedGDBusArgInfo; 1568s # 1568s # typedef struct 1568s # { 1568s # GDBusMethodInfo parent_struct; 1568s # const gchar *signal_name; 1568s # gboolean pass_fdlist; 1568s # } _ExtendedGDBusMethodInfo; 1568s # 1568s # typedef struct 1568s # { 1568s # GDBusSignalInfo parent_struct; 1568s # const gchar *signal_name; 1568s # } _ExtendedGDBusSignalInfo; 1568s # 1568s # typedef struct 1568s # { 1568s # GDBusPropertyInfo parent_struct; 1568s # const gchar *hyphen_name; 1568s # guint use_gvariant : 1; 1568s # guint emits_changed_signal : 1; 1568s # } _ExtendedGDBusPropertyInfo; 1568s # 1568s # typedef struct 1568s # { 1568s # GDBusInterfaceInfo parent_struct; 1568s # const gchar *hyphen_name; 1568s # } _ExtendedGDBusInterfaceInfo; 1568s # 1568s # typedef struct 1568s # { 1568s # const _ExtendedGDBusPropertyInfo *info; 1568s # guint prop_id; 1568s # GValue orig_value; /* the value before the change */ 1568s # } ChangedProperty; 1568s # 1568s # static void 1568s # _changed_property_free (ChangedProperty *data) 1568s # { 1568s # g_value_unset (&data->orig_value); 1568s # g_free (data); 1568s # } 1568s # 1568s # static gboolean 1568s # _g_strv_equal0 (gchar **a, gchar **b) 1568s # { 1568s # gboolean ret = FALSE; 1568s # guint n; 1568s # if (a == NULL && b == NULL) 1568s # { 1568s # ret = TRUE; 1568s # goto out; 1568s # } 1568s # if (a == NULL || b == NULL) 1568s # goto out; 1568s # if (g_strv_length (a) != g_strv_length (b)) 1568s # goto out; 1568s # for (n = 0; a[n] != NULL; n++) 1568s # if (g_strcmp0 (a[n], b[n]) != 0) 1568s # goto out; 1568s # ret = TRUE; 1568s # out: 1568s # return ret; 1568s # } 1568s # 1568s # static gboolean 1568s # _g_variant_equal0 (GVariant *a, GVariant *b) 1568s # { 1568s # gboolean ret = FALSE; 1568s # if (a == NULL && b == NULL) 1568s # { 1568s # ret = TRUE; 1568s # goto out; 1568s # } 1568s # if (a == NULL || b == NULL) 1568s # goto out; 1568s # ret = g_variant_equal (a, b); 1568s # out: 1568s # return ret; 1568s # } 1568s # 1568s # G_GNUC_UNUSED static gboolean 1568s # _g_value_equal (const GValue *a, const GValue *b) 1568s # { 1568s # gboolean ret = FALSE; 1568s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1568s # switch (G_VALUE_TYPE (a)) 1568s # { 1568s # case G_TYPE_BOOLEAN: 1568s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1568s # break; 1568s # case G_TYPE_UCHAR: 1568s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1568s # break; 1568s # case G_TYPE_INT: 1568s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1568s # break; 1568s # case G_TYPE_UINT: 1568s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1568s # break; 1568s # case G_TYPE_INT64: 1568s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1568s # break; 1568s # case G_TYPE_UINT64: 1568s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1568s # break; 1568s # case G_TYPE_DOUBLE: 1568s # { 1568s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1568s # gdouble da = g_value_get_double (a); 1568s # gdouble db = g_value_get_double (b); 1568s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1568s # } 1568s # break; 1568s # case G_TYPE_STRING: 1568s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1568s # break; 1568s # case G_TYPE_VARIANT: 1568s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1568s # break; 1568s # default: 1568s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1568s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1568s # else 1568s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1568s # break; 1568s # } 1568s # return ret; 1568s # } 1568s # 1568s # /* ------------------------------------------------------------------------ 1568s # * Code for interface org.project.SignalingIface 1568s # * ------------------------------------------------------------------------ 1568s # */ 1568s # 1568s # /** 1568s # * SECTION:OrgProjectSignalingIface 1568s # * @title: OrgProjectSignalingIface 1568s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1568s # * 1568s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1568s # */ 1568s # 1568s # enum 1568s # { 1568s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 1568s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AO, 1568s # }; 1568s # 1568s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 1568s # 1568s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1568s # 1568s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 1568s # { 1568s # { 1568s # -1, 1568s # (gchar *) "SimpleSignal", 1568s # NULL, 1568s # NULL 1568s # }, 1568s # "simple-signal" 1568s # }; 1568s # 1568s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_ao_ARG_arg_ao = 1568s # { 1568s # { 1568s # -1, 1568s # (gchar *) "arg_ao", 1568s # (gchar *) "ao", 1568s # NULL 1568s # }, 1568s # FALSE 1568s # }; 1568s # 1568s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_ao_ARG_pointers[] = 1568s # { 1568s # &_org_project_signaling_iface_signal_info_single_arg_signal_ao_ARG_arg_ao.parent_struct, 1568s # NULL 1568s # }; 1568s # 1568s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_ao = 1568s # { 1568s # { 1568s # -1, 1568s # (gchar *) "SingleArgSignalAo", 1568s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_ao_ARG_pointers, 1568s # NULL 1568s # }, 1568s # "single-arg-signal-ao" 1568s # }; 1568s # 1568s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1568s # { 1568s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 1568s # &_org_project_signaling_iface_signal_info_single_arg_signal_ao.parent_struct, 1568s # NULL 1568s # }; 1568s # 1568s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1568s # { 1568s # { 1568s # -1, 1568s # (gchar *) "org.project.SignalingIface", 1568s # NULL, 1568s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1568s # NULL, 1568s # NULL 1568s # }, 1568s # "org-project-signaling-iface", 1568s # }; 1568s # 1568s # 1568s # /** 1568s # * org_project_signaling_iface_interface_info: 1568s # * 1568s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1568s # * 1568s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1568s # */ 1568s # GDBusInterfaceInfo * 1568s # org_project_signaling_iface_interface_info (void) 1568s # { 1568s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1568s # } 1568s # 1568s # /** 1568s # * org_project_signaling_iface_override_properties: 1568s # * @klass: The class structure for a #GObject derived class. 1568s # * @property_id_begin: The property id to assign to the first overridden property. 1568s # * 1568s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1568s # * The properties are overridden in the order they are defined. 1568s # * 1568s # * Returns: The last property id. 1568s # */ 1568s # guint 1568s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1568s # { 1568s # return property_id_begin - 1; 1568s # } 1568s # 1568s # 1568s # inline static void 1568s # org_project_signaling_iface_signal_marshal_simple_signal ( 1568s # GClosure *closure, 1568s # GValue *return_value, 1568s # unsigned int n_param_values, 1568s # const GValue *param_values, 1568s # void *invocation_hint, 1568s # void *marshal_data) 1568s # { 1568s # g_cclosure_marshal_VOID__VOID (closure, 1568s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1568s # } 1568s # 1568s # inline static void 1568s # org_project_signaling_iface_signal_marshal_single_arg_signal_ao ( 1568s # GClosure *closure, 1568s # GValue *return_value, 1568s # unsigned int n_param_values, 1568s # const GValue *param_values, 1568s # void *invocation_hint, 1568s # void *marshal_data) 1568s # { 1568s # g_cclosure_marshal_VOID__BOXED (closure, 1568s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1568s # } 1568s # 1568s # 1568s # /** 1568s # * OrgProjectSignalingIface: 1568s # * 1568s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1568s # */ 1568s # 1568s # /** 1568s # * OrgProjectSignalingIfaceIface: 1568s # * @parent_iface: The parent interface. 1568s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 1568s # * @single_arg_signal_ao: Handler for the #OrgProjectSignalingIface::single-arg-signal-ao signal. 1568s # * 1568s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1568s # */ 1568s # 1568s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1568s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1568s # 1568s # static void 1568s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1568s # { 1568s # /* GObject signals for received D-Bus signals: */ 1568s # /** 1568s # * OrgProjectSignalingIface::simple-signal: 1568s # * @object: A #OrgProjectSignalingIface. 1568s # * 1568s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1568s # * 1568s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1568s # */ 1568s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 1568s # g_signal_new ("simple-signal", 1568s # G_TYPE_FROM_INTERFACE (iface), 1568s # G_SIGNAL_RUN_LAST, 1568s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 1568s # NULL, 1568s # NULL, 1568s # org_project_signaling_iface_signal_marshal_simple_signal, 1568s # G_TYPE_NONE, 1568s # 0); 1568s # 1568s # /** 1568s # * OrgProjectSignalingIface::single-arg-signal-ao: 1568s # * @object: A #OrgProjectSignalingIface. 1568s # * @arg_arg_ao: Argument. 1568s # * 1568s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalAo" is received. 1568s # * 1568s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1568s # */ 1568s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AO] = 1568s # g_signal_new ("single-arg-signal-ao", 1568s # G_TYPE_FROM_INTERFACE (iface), 1568s # G_SIGNAL_RUN_LAST, 1568s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_ao), 1568s # NULL, 1568s # NULL, 1568s # org_project_signaling_iface_signal_marshal_single_arg_signal_ao, 1568s # G_TYPE_NONE, 1568s # 1, G_TYPE_STRV); 1568s # 1568s # } 1568s # 1568s # /** 1568s # * org_project_signaling_iface_emit_simple_signal: 1568s # * @object: A #OrgProjectSignalingIface. 1568s # * 1568s # * Emits the "SimpleSignal" D-Bus signal. 1568s # */ 1568s # void 1568s # org_project_signaling_iface_emit_simple_signal ( 1568s # OrgProjectSignalingIface *object) 1568s # { 1568s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 1568s # } 1568s # 1568s # /** 1568s # * org_project_signaling_iface_emit_single_arg_signal_ao: 1568s # * @object: A #OrgProjectSignalingIface. 1568s # * @arg_arg_ao: Argument to pass with the signal. 1568s # * 1568s # * Emits the "SingleArgSignalAo" D-Bus signal. 1568s # */ 1568s # void 1568s # org_project_signaling_iface_emit_single_arg_signal_ao ( 1568s # OrgProjectSignalingIface *object, 1568s # const gchar *const *arg_arg_ao) 1568s # { 1568s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AO], 0, arg_arg_ao); 1568s # } 1568s # 1568s # /* ------------------------------------------------------------------------ */ 1568s # 1568s # /** 1568s # * OrgProjectSignalingIfaceProxy: 1568s # * 1568s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1568s # */ 1568s # 1568s # /** 1568s # * OrgProjectSignalingIfaceProxyClass: 1568s # * @parent_class: The parent class. 1568s # * 1568s # * Class structure for #OrgProjectSignalingIfaceProxy. 1568s # */ 1568s # 1568s # struct _OrgProjectSignalingIfaceProxyPrivate 1568s # { 1568s # GData *qdata; 1568s # }; 1568s # 1568s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1568s # 1568s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1568s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1568s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1568s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1568s # 1568s # #else 1568s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1568s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1568s # 1568s # #endif 1568s # static void 1568s # org_project_signaling_iface_proxy_finalize (GObject *object) 1568s # { 1568s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1568s # g_datalist_clear (&proxy->priv->qdata); 1568s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1568s # } 1568s # 1568s # static void 1568s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1568s # guint prop_id G_GNUC_UNUSED, 1568s # GValue *value G_GNUC_UNUSED, 1568s # GParamSpec *pspec G_GNUC_UNUSED) 1568s # { 1568s # } 1568s # 1568s # static void 1568s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1568s # guint prop_id G_GNUC_UNUSED, 1568s # const GValue *value G_GNUC_UNUSED, 1568s # GParamSpec *pspec G_GNUC_UNUSED) 1568s # { 1568s # } 1568s # 1568s # static void 1568s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1568s # const gchar *sender_name G_GNUC_UNUSED, 1568s # const gchar *signal_name, 1568s # GVariant *parameters) 1568s # { 1568s # _ExtendedGDBusSignalInfo *info; 1568s # GVariantIter iter; 1568s # GVariant *child; 1568s # GValue *paramv; 1568s # gsize num_params; 1568s # gsize n; 1568s # guint signal_id; 1568s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1568s # if (info == NULL) 1568s # return; 1568s # num_params = g_variant_n_children (parameters); 1568s # paramv = g_new0 (GValue, num_params + 1); 1568s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1568s # g_value_set_object (¶mv[0], proxy); 1568s # g_variant_iter_init (&iter, parameters); 1568s # n = 1; 1568s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1568s # { 1568s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1568s # if (arg_info->use_gvariant) 1568s # { 1568s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1568s # g_value_set_variant (¶mv[n], child); 1568s # n++; 1568s # } 1568s # else 1568s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1568s # g_variant_unref (child); 1568s # } 1568s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1568s # g_signal_emitv (paramv, signal_id, 0, NULL); 1568s # for (n = 0; n < num_params + 1; n++) 1568s # g_value_unset (¶mv[n]); 1568s # g_free (paramv); 1568s # } 1568s # 1568s # static void 1568s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1568s # GVariant *changed_properties, 1568s # const gchar *const *invalidated_properties) 1568s # { 1568s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1568s # guint n; 1568s # const gchar *key; 1568s # GVariantIter *iter; 1568s # _ExtendedGDBusPropertyInfo *info; 1568s # g_variant_get (changed_properties, "a{sv}", &iter); 1568s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1568s # { 1568s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1568s # g_datalist_remove_data (&proxy->priv->qdata, key); 1568s # if (info != NULL) 1568s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1568s # } 1568s # g_variant_iter_free (iter); 1568s # for (n = 0; invalidated_properties[n] != NULL; n++) 1568s # { 1568s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1568s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1568s # if (info != NULL) 1568s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1568s # } 1568s # } 1568s # 1568s # static void 1568s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1568s # { 1568s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1568s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1568s # #else 1568s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1568s # #endif 1568s # 1568s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1568s # } 1568s # 1568s # static void 1568s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1568s # { 1568s # GObjectClass *gobject_class; 1568s # GDBusProxyClass *proxy_class; 1568s # 1568s # gobject_class = G_OBJECT_CLASS (klass); 1568s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1568s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1568s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1568s # 1568s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1568s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1568s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1568s # 1568s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1568s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1568s # #endif 1568s # } 1568s # 1568s # static void 1568s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1568s # { 1568s # } 1568s # 1568s # /** 1568s # * org_project_signaling_iface_proxy_new: 1568s # * @connection: A #GDBusConnection. 1568s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1568s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1568s # * @object_path: An object path. 1568s # * @cancellable: (nullable): A #GCancellable or %NULL. 1568s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1568s # * @user_data: User data to pass to @callback. 1568s # * 1568s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1568s # * 1568s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1568s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1568s # * 1568s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1568s # */ 1568s # void 1568s # org_project_signaling_iface_proxy_new ( 1568s # GDBusConnection *connection, 1568s # GDBusProxyFlags flags, 1568s # const gchar *name, 1568s # const gchar *object_path, 1568s # GCancellable *cancellable, 1568s # GAsyncReadyCallback callback, 1568s # gpointer user_data) 1568s # { 1568s # 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); 1568s # } 1568s # 1568s # /** 1568s # * org_project_signaling_iface_proxy_new_finish: 1568s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1568s # * @error: Return location for error or %NULL 1568s # * 1568s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1568s # * 1568s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1568s # */ 1568s # OrgProjectSignalingIface * 1568s # org_project_signaling_iface_proxy_new_finish ( 1568s # GAsyncResult *res, 1568s # GError **error) 1568s # { 1568s # GObject *ret; 1568s # GObject *source_object; 1568s # source_object = g_async_result_get_source_object (res); 1568s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1568s # g_object_unref (source_object); 1568s # if (ret != NULL) 1568s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1568s # else 1568s # return NULL; 1568s # } 1568s # 1568s # /** 1568s # * org_project_signaling_iface_proxy_new_sync: 1568s # * @connection: A #GDBusConnection. 1568s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1568s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1568s # * @object_path: An object path. 1568s # * @cancellable: (nullable): A #GCancellable or %NULL. 1568s # * @error: Return location for error or %NULL 1568s # * 1568s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1568s # * 1568s # * The calling thread is blocked until a reply is received. 1568s # * 1568s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1568s # * 1568s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1568s # */ 1568s # OrgProjectSignalingIface * 1568s # org_project_signaling_iface_proxy_new_sync ( 1568s # GDBusConnection *connection, 1568s # GDBusProxyFlags flags, 1568s # const gchar *name, 1568s # const gchar *object_path, 1568s # GCancellable *cancellable, 1568s # GError **error) 1568s # { 1568s # GInitable *ret; 1568s # 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); 1568s # if (ret != NULL) 1568s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1568s # else 1568s # return NULL; 1568s # } 1568s # 1568s # 1568s # /** 1568s # * org_project_signaling_iface_proxy_new_for_bus: 1568s # * @bus_type: A #GBusType. 1568s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1568s # * @name: A bus name (well-known or unique). 1568s # * @object_path: An object path. 1568s # * @cancellable: (nullable): A #GCancellable or %NULL. 1568s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1568s # * @user_data: User data to pass to @callback. 1568s # * 1568s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1568s # * 1568s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1568s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1568s # * 1568s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1568s # */ 1568s # void 1568s # org_project_signaling_iface_proxy_new_for_bus ( 1568s # GBusType bus_type, 1568s # GDBusProxyFlags flags, 1568s # const gchar *name, 1568s # const gchar *object_path, 1568s # GCancellable *cancellable, 1568s # GAsyncReadyCallback callback, 1568s # gpointer user_data) 1568s # { 1568s # 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); 1568s # } 1568s # 1568s # /** 1568s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1568s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1568s # * @error: Return location for error or %NULL 1568s # * 1568s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1568s # * 1568s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1568s # */ 1568s # OrgProjectSignalingIface * 1568s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1568s # GAsyncResult *res, 1568s # GError **error) 1568s # { 1568s # GObject *ret; 1568s # GObject *source_object; 1568s # source_object = g_async_result_get_source_object (res); 1568s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1568s # g_object_unref (source_object); 1568s # if (ret != NULL) 1568s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1568s # else 1568s # return NULL; 1568s # } 1568s # 1568s # /** 1568s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1568s # * @bus_type: A #GBusType. 1568s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1568s # * @name: A bus name (well-known or unique). 1568s # * @object_path: An object path. 1568s # * @cancellable: (nullable): A #GCancellable or %NULL. 1568s # * @error: Return location for error or %NULL 1568s # * 1568s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1568s # * 1568s # * The calling thread is blocked until a reply is received. 1568s # * 1568s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1568s # * 1568s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1568s # */ 1568s # OrgProjectSignalingIface * 1568s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1568s # GBusType bus_type, 1568s # GDBusProxyFlags flags, 1568s # const gchar *name, 1568s # const gchar *object_path, 1568s # GCancellable *cancellable, 1568s # GError **error) 1568s # { 1568s # GInitable *ret; 1568s # 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); 1568s # if (ret != NULL) 1568s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1568s # else 1568s # return NULL; 1568s # } 1568s # 1568s # 1568s # /* ------------------------------------------------------------------------ */ 1568s # 1568s # /** 1568s # * OrgProjectSignalingIfaceSkeleton: 1568s # * 1568s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1568s # */ 1568s # 1568s # /** 1568s # * OrgProjectSignalingIfaceSkeletonClass: 1568s # * @parent_class: The parent class. 1568s # * 1568s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1568s # */ 1568s # 1568s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1568s # { 1568s # GValue *properties; 1568s # GList *changed_properties; 1568s # GSource *changed_properties_idle_source; 1568s # GMainContext *context; 1568s # GMutex lock; 1568s # }; 1568s # 1568s # static void 1568s # _org_project_signaling_iface_skeleton_handle_method_call ( 1568s # GDBusConnection *connection G_GNUC_UNUSED, 1568s # const gchar *sender G_GNUC_UNUSED, 1568s # const gchar *object_path G_GNUC_UNUSED, 1568s # const gchar *interface_name, 1568s # const gchar *method_name, 1568s # GVariant *parameters, 1568s # GDBusMethodInvocation *invocation, 1568s # gpointer user_data) 1568s # { 1568s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1568s # _ExtendedGDBusMethodInfo *info; 1568s # GVariantIter iter; 1568s # GVariant *child; 1568s # GValue *paramv; 1568s # gsize num_params; 1568s # guint num_extra; 1568s # gsize n; 1568s # guint signal_id; 1568s # GValue return_value = G_VALUE_INIT; 1568s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1568s # g_assert (info != NULL); 1568s # num_params = g_variant_n_children (parameters); 1568s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1568s # n = 0; 1568s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1568s # g_value_set_object (¶mv[n++], skeleton); 1568s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1568s # g_value_set_object (¶mv[n++], invocation); 1568s # if (info->pass_fdlist) 1568s # { 1568s # #ifdef G_OS_UNIX 1568s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1568s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1568s # #else 1568s # g_assert_not_reached (); 1568s # #endif 1568s # } 1568s # g_variant_iter_init (&iter, parameters); 1568s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1568s # { 1568s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1568s # if (arg_info->use_gvariant) 1568s # { 1568s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1568s # g_value_set_variant (¶mv[n], child); 1568s # n++; 1568s # } 1568s # else 1568s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1568s # g_variant_unref (child); 1568s # } 1568s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1568s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1568s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1568s # if (!g_value_get_boolean (&return_value)) 1568s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1568s # g_value_unset (&return_value); 1568s # for (n = 0; n < num_params + num_extra; n++) 1568s # g_value_unset (¶mv[n]); 1568s # g_free (paramv); 1568s # } 1568s # 1568s # static GVariant * 1568s # _org_project_signaling_iface_skeleton_handle_get_property ( 1568s # GDBusConnection *connection G_GNUC_UNUSED, 1568s # const gchar *sender G_GNUC_UNUSED, 1568s # const gchar *object_path G_GNUC_UNUSED, 1568s # const gchar *interface_name G_GNUC_UNUSED, 1568s # const gchar *property_name, 1568s # GError **error, 1568s # gpointer user_data) 1568s # { 1568s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1568s # GValue value = G_VALUE_INIT; 1568s # GParamSpec *pspec; 1568s # _ExtendedGDBusPropertyInfo *info; 1568s # GVariant *ret; 1568s # ret = NULL; 1568s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1568s # g_assert (info != NULL); 1568s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1568s # if (pspec == NULL) 1568s # { 1568s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1568s # } 1568s # else 1568s # { 1568s # g_value_init (&value, pspec->value_type); 1568s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1568s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1568s # g_value_unset (&value); 1568s # } 1568s # return ret; 1568s # } 1568s # 1568s # static gboolean 1568s # _org_project_signaling_iface_skeleton_handle_set_property ( 1568s # GDBusConnection *connection G_GNUC_UNUSED, 1568s # const gchar *sender G_GNUC_UNUSED, 1568s # const gchar *object_path G_GNUC_UNUSED, 1568s # const gchar *interface_name G_GNUC_UNUSED, 1568s # const gchar *property_name, 1568s # GVariant *variant, 1568s # GError **error, 1568s # gpointer user_data) 1568s # { 1568s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1568s # GValue value = G_VALUE_INIT; 1568s # GParamSpec *pspec; 1568s # _ExtendedGDBusPropertyInfo *info; 1568s # gboolean ret; 1568s # ret = FALSE; 1568s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1568s # g_assert (info != NULL); 1568s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1568s # if (pspec == NULL) 1568s # { 1568s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1568s # } 1568s # else 1568s # { 1568s # if (info->use_gvariant) 1568s # g_value_set_variant (&value, variant); 1568s # else 1568s # g_dbus_gvariant_to_gvalue (variant, &value); 1568s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1568s # g_value_unset (&value); 1568s # ret = TRUE; 1568s # } 1568s # return ret; 1568s # } 1568s # 1568s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1568s # { 1568s # _org_project_signaling_iface_skeleton_handle_method_call, 1568s # _org_project_signaling_iface_skeleton_handle_get_property, 1568s # _org_project_signaling_iface_skeleton_handle_set_property, 1568s # {NULL} 1568s # }; 1568s # 1568s # static GDBusInterfaceInfo * 1568s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1568s # { 1568s # return org_project_signaling_iface_interface_info (); 1568s # } 1568s # 1568s # static GDBusInterfaceVTable * 1568s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1568s # { 1568s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1568s # } 1568s # 1568s # static GVariant * 1568s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1568s # { 1568s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1568s # 1568s # GVariantBuilder builder; 1568s # guint n; 1568s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1568s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1568s # goto out; 1568s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1568s # { 1568s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1568s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1568s # { 1568s # GVariant *value; 1568s # 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); 1568s # if (value != NULL) 1568s # { 1568s # g_variant_take_ref (value); 1568s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1568s # g_variant_unref (value); 1568s # } 1568s # } 1568s # } 1568s # out: 1568s # return g_variant_builder_end (&builder); 1568s # } 1568s # 1568s # static void 1568s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1568s # { 1568s # } 1568s # 1568s # static void 1568s # _org_project_signaling_iface_on_signal_simple_signal ( 1568s # OrgProjectSignalingIface *object) 1568s # { 1568s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1568s # 1568s # GList *connections, *l; 1568s # GVariant *signal_variant; 1568s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1568s # 1568s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1568s # for (l = connections; l != NULL; l = l->next) 1568s # { 1568s # GDBusConnection *connection = l->data; 1568s # g_dbus_connection_emit_signal (connection, 1568s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 1568s # signal_variant, NULL); 1568s # } 1568s # g_variant_unref (signal_variant); 1568s # g_list_free_full (connections, g_object_unref); 1568s # } 1568s # 1568s # static void 1568s # _org_project_signaling_iface_on_signal_single_arg_signal_ao ( 1568s # OrgProjectSignalingIface *object, 1568s # const gchar *const *arg_arg_ao) 1568s # { 1568s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1568s # 1568s # GList *connections, *l; 1568s # GVariant *signal_variant; 1568s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1568s # 1568s # signal_variant = g_variant_ref_sink (g_variant_new ("(^ao)", 1568s # arg_arg_ao)); 1568s # for (l = connections; l != NULL; l = l->next) 1568s # { 1568s # GDBusConnection *connection = l->data; 1568s # g_dbus_connection_emit_signal (connection, 1568s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalAo", 1568s # signal_variant, NULL); 1568s # } 1568s # g_variant_unref (signal_variant); 1568s # g_list_free_full (connections, g_object_unref); 1568s # } 1568s # 1568s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1568s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1568s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1568s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1568s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1568s # 1568s # #else 1568s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1568s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1568s # 1568s # #endif 1568s # static void 1568s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1568s # { 1568s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1568s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1568s # if (skeleton->priv->changed_properties_idle_source != NULL) 1568s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1568s # g_main_context_unref (skeleton->priv->context); 1568s # g_mutex_clear (&skeleton->priv->lock); 1568s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1568s # } 1568s # 1568s # static void 1568s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1568s # { 1568s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1568s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1568s # #else 1568s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1568s # #endif 1568s # 1568s # g_mutex_init (&skeleton->priv->lock); 1568s # skeleton->priv->context = g_main_context_ref_thread_default (); 1568s # } 1568s # 1568s # static void 1568s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1568s # { 1568s # GObjectClass *gobject_class; 1568s # GDBusInterfaceSkeletonClass *skeleton_class; 1568s # 1568s # gobject_class = G_OBJECT_CLASS (klass); 1568s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1568s # 1568s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1568s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1568s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1568s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1568s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1568s # 1568s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1568s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1568s # #endif 1568s # } 1568s # 1568s # static void 1568s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1568s # { 1568s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 1568s # iface->single_arg_signal_ao = _org_project_signaling_iface_on_signal_single_arg_signal_ao; 1568s # } 1568s # 1568s # /** 1568s # * org_project_signaling_iface_skeleton_new: 1568s # * 1568s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1568s # * 1568s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1568s # */ 1568s # OrgProjectSignalingIface * 1568s # org_project_signaling_iface_skeleton_new (void) 1568s # { 1568s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1568s # } 1568s # /tmp/tmpgfozeg7c/tmpc6cmmpfl.xml: 1568s # 1568s # 1568s # 1568s # 1568s # 1568s # 1568s # 1568s # 1568s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpgfozeg7c/tmpc6cmmpfl.xml', '--output', '-', '--body'] 1568s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-baqskmurxn,guid=fbaffe99d0ccb1f6e1beb84865fc01cd', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.YcZbqk/autopkgtest_tmp', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.YcZbqk/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.YcZbqk/autopkgtest_tmp', 'TERM': 'unknown', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.YcZbqk/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.sVTVMp0Db0', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.rqZsJO/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.YcZbqk/wrapper.sh --artifacts=/tmp/autopkgtest.YcZbqk/installed-tests-artifacts --chdir=/tmp/autopkgtest.YcZbqk/build.S0E/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.YcZbqk/installed-tests-stderr --stdout=/tmp/autopkgtest.YcZbqk/installed-tests-stdout --tmp=/tmp/autopkgtest.YcZbqk/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2' --make-executable=/tmp/autopkgtest.YcZbqk/build.S0E/src/debian/tests/installed-tests -- /tmp/autopkgtest.YcZbqk/build.S0E/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.YcZbqk/build.S0E/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.YcZbqk/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1568s # Output: /* 1568s # * This file is generated by gdbus-codegen, do not modify it. 1568s # * 1568s # * The license of this code is the same as for the D-Bus interface description 1568s # * it was derived from. Note that it links to GLib, so must comply with the 1568s # * LGPL linking clauses. 1568s # */ 1568s # 1568s # #ifdef HAVE_CONFIG_H 1568s # # include "config.h" 1568s # #endif 1568s # 1568s # #include 1568s # #ifdef G_OS_UNIX 1568s # # include 1568s # #endif 1568s # 1568s # #ifdef G_ENABLE_DEBUG 1568s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1568s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1568s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1568s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1568s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1568s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1568s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1568s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1568s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1568s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1568s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1568s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1568s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1568s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1568s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1568s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1568s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1568s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1568s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1568s # #else /* !G_ENABLE_DEBUG */ 1568s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1568s # * Do not access GValues directly in your code. Instead, use the 1568s # * g_value_get_*() functions 1568s # */ 1568s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1568s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1568s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1568s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1568s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1568s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1568s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1568s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1568s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1568s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1568s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1568s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1568s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1568s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1568s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1568s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1568s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1568s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1568s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1568s # #endif /* !G_ENABLE_DEBUG */ 1568s # 1568s # typedef struct 1568s # { 1568s # GDBusArgInfo parent_struct; 1568s # gboolean use_gvariant; 1568s # } _ExtendedGDBusArgInfo; 1568s # 1568s # typedef struct 1568s # { 1568s # GDBusMethodInfo parent_struct; 1568s # const gchar *signal_name; 1568s # gboolean pass_fdlist; 1568s # } _ExtendedGDBusMethodInfo; 1568s # 1568s # typedef struct 1568s # { 1568s # GDBusSignalInfo parent_struct; 1568s # const gchar *signal_name; 1568s # } _ExtendedGDBusSignalInfo; 1568s # 1568s # typedef struct 1568s # { 1568s # GDBusPropertyInfo parent_struct; 1568s # const gchar *hyphen_name; 1568s # guint use_gvariant : 1; 1568s # guint emits_changed_signal : 1; 1568s # } _ExtendedGDBusPropertyInfo; 1568s # 1568s # typedef struct 1568s # { 1568s # GDBusInterfaceInfo parent_struct; 1568s # const gchar *hyphen_name; 1568s # } _ExtendedGDBusInterfaceInfo; 1568s # 1568s # typedef struct 1568s # { 1568s # const _ExtendedGDBusPropertyInfo *info; 1568s # guint prop_id; 1568s # GValue orig_value; /* the value before the change */ 1568s # } ChangedProperty; 1568s # 1568s # static void 1568s # _changed_property_free (ChangedProperty *data) 1568s # { 1568s # g_value_unset (&data->orig_value); 1568s # g_free (data); 1568s # } 1568s # 1568s # static gboolean 1568s # _g_strv_equal0 (gchar **a, gchar **b) 1568s # { 1568s # gboolean ret = FALSE; 1568s # guint n; 1568s # if (a == NULL && b == NULL) 1568s # { 1568s # ret = TRUE; 1568s # goto out; 1568s # } 1568s # if (a == NULL || b == NULL) 1568s # goto out; 1568s # if (g_strv_length (a) != g_strv_length (b)) 1568s # goto out; 1568s # for (n = 0; a[n] != NULL; n++) 1568s # if (g_strcmp0 (a[n], b[n]) != 0) 1568s # goto out; 1568s # ret = TRUE; 1568s # out: 1568s # return ret; 1568s # } 1568s # 1568s # static gboolean 1568s # _g_variant_equal0 (GVariant *a, GVariant *b) 1568s # { 1568s # gboolean ret = FALSE; 1568s # if (a == NULL && b == NULL) 1568s # { 1568s # ret = TRUE; 1568s # goto out; 1568s # } 1568s # if (a == NULL || b == NULL) 1568s # goto out; 1568s # ret = g_variant_equal (a, b); 1568s # out: 1568s # return ret; 1568s # } 1568s # 1568s # G_GNUC_UNUSED static gboolean 1568s # _g_value_equal (const GValue *a, const GValue *b) 1568s # { 1568s # gboolean ret = FALSE; 1568s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1568s # switch (G_VALUE_TYPE (a)) 1568s # { 1568s # case G_TYPE_BOOLEAN: 1568s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1568s # break; 1568s # case G_TYPE_UCHAR: 1568s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1568s # break; 1568s # case G_TYPE_INT: 1568s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1568s # break; 1568s # case G_TYPE_UINT: 1568s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1568s # break; 1568s # case G_TYPE_INT64: 1568s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1568s # break; 1568s # case G_TYPE_UINT64: 1568s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1568s # break; 1568s # case G_TYPE_DOUBLE: 1568s # { 1568s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1568s # gdouble da = g_value_get_double (a); 1568s # gdouble db = g_value_get_double (b); 1568s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1568s # } 1568s # break; 1568s # case G_TYPE_STRING: 1568s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1568s # break; 1568s # case G_TYPE_VARIANT: 1568s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1568s # break; 1568s # default: 1568s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1568s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1568s # else 1568s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1568s # break; 1568s # } 1568s # return ret; 1568s # } 1568s # 1568s # /* ------------------------------------------------------------------------ 1568s # * Code for interface org.project.SignalingIface 1568s # * ------------------------------------------------------------------------ 1568s # */ 1568s # 1568s # /** 1568s # * SECTION:OrgProjectSignalingIface 1568s # * @title: OrgProjectSignalingIface 1568s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1568s # * 1568s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1568s # */ 1568s # 1568s # enum 1568s # { 1568s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 1568s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AAY, 1568s # }; 1568s # 1568s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 1568s # 1568s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1568s # 1568s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 1568s # { 1568s # { 1568s # -1, 1568s # (gchar *) "SimpleSignal", 1568s # NULL, 1568s # NULL 1568s # }, 1568s # "simple-signal" 1568s # }; 1568s # 1568s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_aay_ARG_arg_aay = 1568s # { 1568s # { 1568s # -1, 1568s # (gchar *) "arg_aay", 1568s # (gchar *) "aay", 1568s # NULL 1568s # }, 1568s # FALSE 1568s # }; 1568s # 1568s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_aay_ARG_pointers[] = 1568s # { 1568s # &_org_project_signaling_iface_signal_info_single_arg_signal_aay_ARG_arg_aay.parent_struct, 1568s # NULL 1568s # }; 1568s # 1568s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_aay = 1568s # { 1568s # { 1568s # -1, 1568s # (gchar *) "SingleArgSignalAay", 1568s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_aay_ARG_pointers, 1568s # NULL 1568s # }, 1568s # "single-arg-signal-aay" 1568s # }; 1568s # 1568s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1568s # { 1568s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 1568s # &_org_project_signaling_iface_signal_info_single_arg_signal_aay.parent_struct, 1568s # NULL 1568s # }; 1568s # 1568s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1568s # { 1568s # { 1568s # -1, 1568s # (gchar *) "org.project.SignalingIface", 1568s # NULL, 1568s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1568s # NULL, 1568s # NULL 1568s # }, 1568s # "org-project-signaling-iface", 1568s # }; 1568s # 1568s # 1568s # /** 1568s # * org_project_signaling_iface_interface_info: 1568s # * 1568s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1568s # * 1568s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1568s # */ 1568s # GDBusInterfaceInfo * 1568s # org_project_signaling_iface_interface_info (void) 1568s # { 1568s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1568s # } 1568s # 1568s # /** 1568s # * org_project_signaling_iface_override_properties: 1568s # * @klass: The class structure for a #GObject derived class. 1568s # * @property_id_begin: The property id to assign to the first overridden property. 1568s # * 1568s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1568s # * The properties are overridden in the order they are defined. 1568s # * 1568s # * Returns: The last property id. 1568s # */ 1568s # guint 1568s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1568s # { 1568s # return property_id_begin - 1; 1568s # } 1568s # 1568s # 1568s # inline static void 1568s # org_project_signaling_iface_signal_marshal_simple_signal ( 1568s # GClosure *closure, 1568s # GValue *return_value, 1568s # unsigned int n_param_values, 1568s # const GValue *param_values, 1568s # void *invocation_hint, 1568s # void *marshal_data) 1568s # { 1568s # g_cclosure_marshal_VOID__VOID (closure, 1568s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1568s # } 1568s # 1568s # inline static void 1568s # org_project_signaling_iface_signal_marshal_single_arg_signal_aay ( 1568s # GClosure *closure, 1568s # GValue *return_value, 1568s # unsigned int n_param_values, 1568s # const GValue *param_values, 1568s # void *invocation_hint, 1568s # void *marshal_data) 1568s # { 1568s # g_cclosure_marshal_VOID__BOXED (closure, 1568s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1568s # } 1568s # 1568s # 1568s # /** 1568s # * OrgProjectSignalingIface: 1568s # * 1568s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1568s # */ 1568s # 1568s # /** 1568s # * OrgProjectSignalingIfaceIface: 1568s # * @parent_iface: The parent interface. 1568s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 1568s # * @single_arg_signal_aay: Handler for the #OrgProjectSignalingIface::single-arg-signal-aay signal. 1568s # * 1568s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1568s # */ 1568s # 1568s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1568s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1568s # 1568s # static void 1568s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1568s # { 1568s # /* GObject signals for received D-Bus signals: */ 1568s # /** 1568s # * OrgProjectSignalingIface::simple-signal: 1568s # * @object: A #OrgProjectSignalingIface. 1568s # * 1568s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1568s # * 1568s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1568s # */ 1568s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 1568s # g_signal_new ("simple-signal", 1568s # G_TYPE_FROM_INTERFACE (iface), 1568s # G_SIGNAL_RUN_LAST, 1568s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 1568s # NULL, 1568s # NULL, 1568s # org_project_signaling_iface_signal_marshal_simple_signal, 1568s # G_TYPE_NONE, 1568s # 0); 1568s # 1568s # /** 1568s # * OrgProjectSignalingIface::single-arg-signal-aay: 1568s # * @object: A #OrgProjectSignalingIface. 1568s # * @arg_arg_aay: Argument. 1568s # * 1568s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalAay" is received. 1568s # * 1568s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1568s # */ 1568s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AAY] = 1568s # g_signal_new ("single-arg-signal-aay", 1568s # G_TYPE_FROM_INTERFACE (iface), 1568s # G_SIGNAL_RUN_LAST, 1568s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_aay), 1568s # NULL, 1568s # NULL, 1568s # org_project_signaling_iface_signal_marshal_single_arg_signal_aay, 1568s # G_TYPE_NONE, 1568s # 1, G_TYPE_STRV); 1568s # 1568s # } 1568s # 1568s # /** 1568s # * org_project_signaling_iface_emit_simple_signal: 1568s # * @object: A #OrgProjectSignalingIface. 1568s # * 1568s # * Emits the "SimpleSignal" D-Bus signal. 1568s # */ 1568s # void 1568s # org_project_signaling_iface_emit_simple_signal ( 1568s # OrgProjectSignalingIface *object) 1568s # { 1568s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 1568s # } 1568s # 1568s # /** 1568s # * org_project_signaling_iface_emit_single_arg_signal_aay: 1568s # * @object: A #OrgProjectSignalingIface. 1568s # * @arg_arg_aay: Argument to pass with the signal. 1568s # * 1568s # * Emits the "SingleArgSignalAay" D-Bus signal. 1568s # */ 1568s # void 1568s # org_project_signaling_iface_emit_single_arg_signal_aay ( 1568s # OrgProjectSignalingIface *object, 1568s # const gchar *const *arg_arg_aay) 1568s # { 1568s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AAY], 0, arg_arg_aay); 1568s # } 1568s # 1568s # /* ------------------------------------------------------------------------ */ 1568s # 1568s # /** 1568s # * OrgProjectSignalingIfaceProxy: 1568s # * 1568s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1568s # */ 1568s # 1568s # /** 1568s # * OrgProjectSignalingIfaceProxyClass: 1568s # * @parent_class: The parent class. 1568s # * 1568s # * Class structure for #OrgProjectSignalingIfaceProxy. 1568s # */ 1568s # 1568s # struct _OrgProjectSignalingIfaceProxyPrivate 1568s # { 1568s # GData *qdata; 1568s # }; 1568s # 1568s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1568s # 1568s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1568s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1568s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1568s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1568s # 1568s # #else 1568s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1568s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1568s # 1568s # #endif 1568s # static void 1568s # org_project_signaling_iface_proxy_finalize (GObject *object) 1568s # { 1568s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1568s # g_datalist_clear (&proxy->priv->qdata); 1568s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1568s # } 1568s # 1568s # static void 1568s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1568s # guint prop_id G_GNUC_UNUSED, 1568s # GValue *value G_GNUC_UNUSED, 1568s # GParamSpec *pspec G_GNUC_UNUSED) 1568s # { 1568s # } 1568s # 1568s # static void 1568s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1568s # guint prop_id G_GNUC_UNUSED, 1568s # const GValue *value G_GNUC_UNUSED, 1568s # GParamSpec *pspec G_GNUC_UNUSED) 1568s # { 1568s # } 1568s # 1568s # static void 1568s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1568s # const gchar *sender_name G_GNUC_UNUSED, 1568s # const gchar *signal_name, 1568s # GVariant *parameters) 1568s # { 1568s # _ExtendedGDBusSignalInfo *info; 1568s # GVariantIter iter; 1568s # GVariant *child; 1568s # GValue *paramv; 1568s # gsize num_params; 1568s # gsize n; 1568s # guint signal_id; 1568s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1568s # if (info == NULL) 1568s # return; 1568s # num_params = g_variant_n_children (parameters); 1568s # paramv = g_new0 (GValue, num_params + 1); 1568s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1568s # g_value_set_object (¶mv[0], proxy); 1568s # g_variant_iter_init (&iter, parameters); 1568s # n = 1; 1568s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1568s # { 1568s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1568s # if (arg_info->use_gvariant) 1568s # { 1568s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1568s # g_value_set_variant (¶mv[n], child); 1568s # n++; 1568s # } 1568s # else 1568s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1568s # g_variant_unref (child); 1568s # } 1568s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1568s # g_signal_emitv (paramv, signal_id, 0, NULL); 1568s # for (n = 0; n < num_params + 1; n++) 1568s # g_value_unset (¶mv[n]); 1568s # g_free (paramv); 1568s # } 1568s # 1568s # static void 1568s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1568s # GVariant *changed_properties, 1568s # const gchar *const *invalidated_properties) 1568s # { 1568s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1568s # guint n; 1568s # const gchar *key; 1568s # GVariantIter *iter; 1568s # _ExtendedGDBusPropertyInfo *info; 1568s # g_variant_get (changed_properties, "a{sv}", &iter); 1568s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1568s # { 1568s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1568s # g_datalist_remove_data (&proxy->priv->qdata, key); 1568s # if (info != NULL) 1568s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1568s # } 1568s # g_variant_iter_free (iter); 1568s # for (n = 0; invalidated_properties[n] != NULL; n++) 1568s # { 1568s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1568s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1568s # if (info != NULL) 1568s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1568s # } 1568s # } 1568s # 1568s # static void 1568s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1568s # { 1568s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1568s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1568s # #else 1568s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1568s # #endif 1568s # 1568s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1568s # } 1568s # 1568s # static void 1568s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1568s # { 1568s # GObjectClass *gobject_class; 1568s # GDBusProxyClass *proxy_class; 1568s # 1568s # gobject_class = G_OBJECT_CLASS (klass); 1568s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1568s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1568s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1568s # 1568s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1568s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1568s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1568s # 1568s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1568s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1568s # #endif 1568s # } 1568s # 1568s # static void 1568s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1568s # { 1568s # } 1568s # 1568s # /** 1568s # * org_project_signaling_iface_proxy_new: 1568s # * @connection: A #GDBusConnection. 1568s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1568s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1568s # * @object_path: An object path. 1568s # * @cancellable: (nullable): A #GCancellable or %NULL. 1568s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1568s # * @user_data: User data to pass to @callback. 1568s # * 1568s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1568s # * 1568s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1568s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1568s # * 1568s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1568s # */ 1568s # void 1568s # org_project_signaling_iface_proxy_new ( 1568s # GDBusConnection *connection, 1568s # GDBusProxyFlags flags, 1568s # const gchar *name, 1568s # const gchar *object_path, 1568s # GCancellable *cancellable, 1568s # GAsyncReadyCallback callback, 1568s # gpointer user_data) 1568s # { 1568s # 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); 1568s # } 1568s # 1568s # /** 1568s # * org_project_signaling_iface_proxy_new_finish: 1568s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1568s # * @error: Return location for error or %NULL 1568s # * 1568s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1568s # * 1568s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1568s # */ 1568s # OrgProjectSignalingIface * 1568s # org_project_signaling_iface_proxy_new_finish ( 1568s # GAsyncResult *res, 1568s # GError **error) 1568s # { 1568s # GObject *ret; 1568s # GObject *source_object; 1568s # source_object = g_async_result_get_source_object (res); 1568s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1568s # g_object_unref (source_object); 1568s # if (ret != NULL) 1568s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1568s # else 1568s # return NULL; 1568s # } 1568s # 1568s # /** 1568s # * org_project_signaling_iface_proxy_new_sync: 1568s # * @connection: A #GDBusConnection. 1568s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1568s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1568s # * @object_path: An object path. 1568s # * @cancellable: (nullable): A #GCancellable or %NULL. 1568s # * @error: Return location for error or %NULL 1568s # * 1568s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1568s # * 1568s # * The calling thread is blocked until a reply is received. 1568s # * 1568s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1568s # * 1568s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1568s # */ 1568s # OrgProjectSignalingIface * 1568s # org_project_signaling_iface_proxy_new_sync ( 1568s # GDBusConnection *connection, 1568s # GDBusProxyFlags flags, 1568s # const gchar *name, 1568s # const gchar *object_path, 1568s # GCancellable *cancellable, 1568s # GError **error) 1568s # { 1568s # GInitable *ret; 1568s # 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); 1568s # if (ret != NULL) 1568s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1568s # else 1568s # return NULL; 1568s # } 1568s # 1568s # 1568s # /** 1568s # * org_project_signaling_iface_proxy_new_for_bus: 1568s # * @bus_type: A #GBusType. 1568s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1568s # * @name: A bus name (well-known or unique). 1568s # * @object_path: An object path. 1568s # * @cancellable: (nullable): A #GCancellable or %NULL. 1568s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1568s # * @user_data: User data to pass to @callback. 1568s # * 1568s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1568s # * 1568s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1568s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1568s # * 1568s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1568s # */ 1568s # void 1568s # org_project_signaling_iface_proxy_new_for_bus ( 1568s # GBusType bus_type, 1568s # GDBusProxyFlags flags, 1568s # const gchar *name, 1568s # const gchar *object_path, 1568s # GCancellable *cancellable, 1568s # GAsyncReadyCallback callback, 1568s # gpointer user_data) 1568s # { 1568s # 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); 1568s # } 1568s # 1568s # /** 1568s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1568s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1568s # * @error: Return location for error or %NULL 1568s # * 1568s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1568s # * 1568s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1568s # */ 1568s # OrgProjectSignalingIface * 1568s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1568s # GAsyncResult *res, 1568s # GError **error) 1568s # { 1568s # GObject *ret; 1568s # GObject *source_object; 1568s # source_object = g_async_result_get_source_object (res); 1568s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1568s # g_object_unref (source_object); 1568s # if (ret != NULL) 1568s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1568s # else 1568s # return NULL; 1568s # } 1568s # 1568s # /** 1568s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1568s # * @bus_type: A #GBusType. 1568s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1568s # * @name: A bus name (well-known or unique). 1568s # * @object_path: An object path. 1568s # * @cancellable: (nullable): A #GCancellable or %NULL. 1568s # * @error: Return location for error or %NULL 1568s # * 1568s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1568s # * 1568s # * The calling thread is blocked until a reply is received. 1568s # * 1568s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1568s # * 1568s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1568s # */ 1568s # OrgProjectSignalingIface * 1568s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1568s # GBusType bus_type, 1568s # GDBusProxyFlags flags, 1568s # const gchar *name, 1568s # const gchar *object_path, 1568s # GCancellable *cancellable, 1568s # GError **error) 1568s # { 1568s # GInitable *ret; 1568s # 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); 1568s # if (ret != NULL) 1568s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1568s # else 1568s # return NULL; 1568s # } 1568s # 1568s # 1568s # /* ------------------------------------------------------------------------ */ 1568s # 1568s # /** 1568s # * OrgProjectSignalingIfaceSkeleton: 1568s # * 1568s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1568s # */ 1568s # 1568s # /** 1568s # * OrgProjectSignalingIfaceSkeletonClass: 1568s # * @parent_class: The parent class. 1568s # * 1568s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1568s # */ 1568s # 1568s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1568s # { 1568s # GValue *properties; 1568s # GList *changed_properties; 1568s # GSource *changed_properties_idle_source; 1568s # GMainContext *context; 1568s # GMutex lock; 1568s # }; 1568s # 1568s # static void 1568s # _org_project_signaling_iface_skeleton_handle_method_call ( 1568s # GDBusConnection *connection G_GNUC_UNUSED, 1568s # const gchar *sender G_GNUC_UNUSED, 1568s # const gchar *object_path G_GNUC_UNUSED, 1568s # const gchar *interface_name, 1568s # const gchar *method_name, 1568s # GVariant *parameters, 1568s # GDBusMethodInvocation *invocation, 1568s # gpointer user_data) 1568s # { 1568s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1568s # _ExtendedGDBusMethodInfo *info; 1568s # GVariantIter iter; 1568s # GVariant *child; 1568s # GValue *paramv; 1568s # gsize num_params; 1568s # guint num_extra; 1568s # gsize n; 1568s # guint signal_id; 1568s # GValue return_value = G_VALUE_INIT; 1568s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1568s # g_assert (info != NULL); 1568s # num_params = g_variant_n_children (parameters); 1568s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1568s # n = 0; 1568s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1568s # g_value_set_object (¶mv[n++], skeleton); 1568s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1568s # g_value_set_object (¶mv[n++], invocation); 1568s # if (info->pass_fdlist) 1568s # { 1568s # #ifdef G_OS_UNIX 1568s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1568s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1568s # #else 1568s # g_assert_not_reached (); 1568s # #endif 1568s # } 1568s # g_variant_iter_init (&iter, parameters); 1568s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1568s # { 1568s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1568s # if (arg_info->use_gvariant) 1568s # { 1568s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1568s # g_value_set_variant (¶mv[n], child); 1568s # n++; 1568s # } 1568s # else 1568s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1568s # g_variant_unref (child); 1568s # } 1568s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1568s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1568s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1568s # if (!g_value_get_boolean (&return_value)) 1568s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1568s # g_value_unset (&return_value); 1568s # for (n = 0; n < num_params + num_extra; n++) 1568s # g_value_unset (¶mv[n]); 1568s # g_free (paramv); 1568s # } 1568s # 1568s # static GVariant * 1568s # _org_project_signaling_iface_skeleton_handle_get_property ( 1568s # GDBusConnection *connection G_GNUC_UNUSED, 1568s # const gchar *sender G_GNUC_UNUSED, 1568s # const gchar *object_path G_GNUC_UNUSED, 1568s # const gchar *interface_name G_GNUC_UNUSED, 1568s # const gchar *property_name, 1568s # GError **error, 1568s # gpointer user_data) 1568s # { 1568s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1568s # GValue value = G_VALUE_INIT; 1568s # GParamSpec *pspec; 1568s # _ExtendedGDBusPropertyInfo *info; 1568s # GVariant *ret; 1568s # ret = NULL; 1568s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1568s # g_assert (info != NULL); 1568s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1568s # if (pspec == NULL) 1568s # { 1568s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1568s # } 1568s # else 1568s # { 1568s # g_value_init (&value, pspec->value_type); 1568s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1568s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1568s # g_value_unset (&value); 1568s # } 1568s # return ret; 1568s # } 1568s # 1568s # static gboolean 1568s # _org_project_signaling_iface_skeleton_handle_set_property ( 1568s # GDBusConnection *connection G_GNUC_UNUSED, 1568s # const gchar *sender G_GNUC_UNUSED, 1568s # const gchar *object_path G_GNUC_UNUSED, 1568s # const gchar *interface_name G_GNUC_UNUSED, 1568s # const gchar *property_name, 1568s # GVariant *variant, 1568s # GError **error, 1568s # gpointer user_data) 1568s # { 1568s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1568s # GValue value = G_VALUE_INIT; 1568s # GParamSpec *pspec; 1568s # _ExtendedGDBusPropertyInfo *info; 1568s # gboolean ret; 1568s # ret = FALSE; 1568s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1568s # g_assert (info != NULL); 1568s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1568s # if (pspec == NULL) 1568s # { 1568s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1568s # } 1568s # else 1568s # { 1568s # if (info->use_gvariant) 1568s # g_value_set_variant (&value, variant); 1568s # else 1568s # g_dbus_gvariant_to_gvalue (variant, &value); 1568s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1568s # g_value_unset (&value); 1568s # ret = TRUE; 1568s # } 1568s # return ret; 1568s # } 1568s # 1568s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1568s # { 1568s # _org_project_signaling_iface_skeleton_handle_method_call, 1568s # _org_project_signaling_iface_skeleton_handle_get_property, 1568s # _org_project_signaling_iface_skeleton_handle_set_property, 1568s # {NULL} 1568s # }; 1568s # 1568s # static GDBusInterfaceInfo * 1568s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1568s # { 1568s # return org_project_signaling_iface_interface_info (); 1568s # } 1568s # 1568s # static GDBusInterfaceVTable * 1568s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1568s # { 1568s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1568s # } 1568s # 1568s # static GVariant * 1568s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1568s # { 1568s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1568s # 1568s # GVariantBuilder builder; 1568s # guint n; 1568s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1568s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1568s # goto out; 1568s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1568s # { 1568s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1568s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1568s # { 1568s # GVariant *value; 1568s # 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); 1568s # if (value != NULL) 1568s # { 1568s # g_variant_take_ref (value); 1568s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1568s # g_variant_unref (value); 1568s # } 1568s # } 1568s # } 1568s # out: 1568s # return g_variant_builder_end (&builder); 1568s # } 1568s # 1568s # static void 1568s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1568s # { 1568s # } 1568s # 1568s # static void 1568s # _org_project_signaling_iface_on_signal_simple_signal ( 1568s # OrgProjectSignalingIface *object) 1568s # { 1568s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1568s # 1568s # GList *connections, *l; 1568s # GVariant *signal_variant; 1568s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1568s # 1568s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1568s # for (l = connections; l != NULL; l = l->next) 1568s # { 1568s # GDBusConnection *connection = l->data; 1568s # g_dbus_connection_emit_signal (connection, 1568s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 1568s # signal_variant, NULL); 1568s # } 1568s # g_variant_unref (signal_variant); 1568s # g_list_free_full (connections, g_object_unref); 1568s # } 1568s # 1568s # static void 1568s # _org_project_signaling_iface_on_signal_single_arg_signal_aay ( 1568s # OrgProjectSignalingIface *object, 1568s # const gchar *const *arg_arg_aay) 1568s # { 1568s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1568s # 1568s # GList *connections, *l; 1568s # GVariant *signal_variant; 1568s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1568s # 1568s # signal_variant = g_variant_ref_sink (g_variant_new ("(^aay)", 1568s # arg_arg_aay)); 1568s # for (l = connections; l != NULL; l = l->next) 1568s # { 1568s # GDBusConnection *connection = l->data; 1568s # g_dbus_connection_emit_signal (connection, 1568s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalAay", 1568s # signal_variant, NULL); 1568s # } 1568s # g_variant_unref (signal_variant); 1568s # g_list_free_full (connections, g_object_unref); 1568s # } 1568s # 1568s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1568s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1568s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1568s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1568s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1568s # 1568s # #else 1568s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1568s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1568s # 1568s # #endif 1568s # static void 1568s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1568s # { 1568s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1568s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1568s # if (skeleton->priv->changed_properties_idle_source != NULL) 1568s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1568s # g_main_context_unref (skeleton->priv->context); 1568s # g_mutex_clear (&skeleton->priv->lock); 1568s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1568s # } 1568s # 1568s # static void 1568s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1568s # { 1568s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1568s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1568s # #else 1568s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1568s # #endif 1568s # 1568s # g_mutex_init (&skeleton->priv->lock); 1568s # skeleton->priv->context = g_main_context_ref_thread_default (); 1568s # } 1568s # 1568s # static void 1568s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1568s # { 1568s # GObjectClass *gobject_class; 1568s # GDBusInterfaceSkeletonClass *skeleton_class; 1568s # 1568s # gobject_class = G_OBJECT_CLASS (klass); 1568s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1568s # 1568s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1568s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1568s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1568s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1568s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1568s # 1568s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1568s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1568s # #endif 1568s # } 1568s # 1568s # static void 1568s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1568s # { 1568s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 1568s # iface->single_arg_signal_aay = _org_project_signaling_iface_on_signal_single_arg_signal_aay; 1568s # } 1568s # 1568s # /** 1568s # * org_project_signaling_iface_skeleton_new: 1568s # * 1568s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1568s # * 1568s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1568s # */ 1568s # OrgProjectSignalingIface * 1568s # org_project_signaling_iface_skeleton_new (void) 1568s # { 1568s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1568s # } 1568s # /tmp/tmpgfozeg7c/tmpcnm_ybt8.xml: 1568s # 1568s # 1568s # 1568s # 1568s # 1568s # 1568s # 1568s # 1568s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpgfozeg7c/tmpcnm_ybt8.xml', '--output', '-', '--body'] 1568s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-baqskmurxn,guid=fbaffe99d0ccb1f6e1beb84865fc01cd', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.YcZbqk/autopkgtest_tmp', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.YcZbqk/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.YcZbqk/autopkgtest_tmp', 'TERM': 'unknown', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.YcZbqk/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.sVTVMp0Db0', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.rqZsJO/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.YcZbqk/wrapper.sh --artifacts=/tmp/autopkgtest.YcZbqk/installed-tests-artifacts --chdir=/tmp/autopkgtest.YcZbqk/build.S0E/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.YcZbqk/installed-tests-stderr --stdout=/tmp/autopkgtest.YcZbqk/installed-tests-stdout --tmp=/tmp/autopkgtest.YcZbqk/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2' --make-executable=/tmp/autopkgtest.YcZbqk/build.S0E/src/debian/tests/installed-tests -- /tmp/autopkgtest.YcZbqk/build.S0E/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.YcZbqk/build.S0E/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.YcZbqk/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1568s # Output: /* 1568s # * This file is generated by gdbus-codegen, do not modify it. 1568s # * 1568s # * The license of this code is the same as for the D-Bus interface description 1568s # * it was derived from. Note that it links to GLib, so must comply with the 1568s # * LGPL linking clauses. 1568s # */ 1568s # 1568s # #ifdef HAVE_CONFIG_H 1568s # # include "config.h" 1568s # #endif 1568s # 1568s # #include 1568s # #ifdef G_OS_UNIX 1568s # # include 1568s # #endif 1568s # 1568s # #ifdef G_ENABLE_DEBUG 1568s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1568s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1568s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1568s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1568s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1568s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1568s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1568s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1568s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1568s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1568s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1568s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1568s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1568s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1568s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1568s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1568s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1568s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1568s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1568s # #else /* !G_ENABLE_DEBUG */ 1568s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1568s # * Do not access GValues directly in your code. Instead, use the 1568s # * g_value_get_*() functions 1568s # */ 1568s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1568s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1568s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1568s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1568s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1568s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1568s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1568s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1568s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1568s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1568s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1568s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1568s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1568s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1568s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1568s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1568s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1568s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1568s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1568s # #endif /* !G_ENABLE_DEBUG */ 1568s # 1568s # typedef struct 1568s # { 1568s # GDBusArgInfo parent_struct; 1568s # gboolean use_gvariant; 1568s # } _ExtendedGDBusArgInfo; 1568s # 1568s # typedef struct 1568s # { 1568s # GDBusMethodInfo parent_struct; 1568s # const gchar *signal_name; 1568s # gboolean pass_fdlist; 1568s # } _ExtendedGDBusMethodInfo; 1568s # 1568s # typedef struct 1568s # { 1568s # GDBusSignalInfo parent_struct; 1568s # const gchar *signal_name; 1568s # } _ExtendedGDBusSignalInfo; 1568s # 1568s # typedef struct 1568s # { 1568s # GDBusPropertyInfo parent_struct; 1568s # const gchar *hyphen_name; 1568s # guint use_gvariant : 1; 1568s # guint emits_changed_signal : 1; 1568s # } _ExtendedGDBusPropertyInfo; 1568s # 1568s # typedef struct 1568s # { 1568s # GDBusInterfaceInfo parent_struct; 1568s # const gchar *hyphen_name; 1568s # } _ExtendedGDBusInterfaceInfo; 1568s # 1568s # typedef struct 1568s # { 1568s # const _ExtendedGDBusPropertyInfo *info; 1568s # guint prop_id; 1568s # GValue orig_value; /* the value before the change */ 1568s # } ChangedProperty; 1568s # 1568s # static void 1568s # _changed_property_free (ChangedProperty *data) 1568s # { 1568s # g_value_unset (&data->orig_value); 1568s # g_free (data); 1568s # } 1568s # 1568s # static gboolean 1568s # _g_strv_equal0 (gchar **a, gchar **b) 1568s # { 1568s # gboolean ret = FALSE; 1568s # guint n; 1568s # if (a == NULL && b == NULL) 1568s # { 1568s # ret = TRUE; 1568s # goto out; 1568s # } 1568s # if (a == NULL || b == NULL) 1568s # goto out; 1568s # if (g_strv_length (a) != g_strv_length (b)) 1568s # goto out; 1568s # for (n = 0; a[n] != NULL; n++) 1568s # if (g_strcmp0 (a[n], b[n]) != 0) 1568s # goto out; 1568s # ret = TRUE; 1568s # out: 1568s # return ret; 1568s # } 1568s # 1568s # static gboolean 1568s # _g_variant_equal0 (GVariant *a, GVariant *b) 1568s # { 1568s # gboolean ret = FALSE; 1568s # if (a == NULL && b == NULL) 1568s # { 1568s # ret = TRUE; 1568s # goto out; 1568s # } 1568s # if (a == NULL || b == NULL) 1568s # goto out; 1568s # ret = g_variant_equal (a, b); 1568s # out: 1568s # return ret; 1568s # } 1568s # 1568s # G_GNUC_UNUSED static gboolean 1568s # _g_value_equal (const GValue *a, const GValue *b) 1568s # { 1568s # gboolean ret = FALSE; 1568s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1568s # switch (G_VALUE_TYPE (a)) 1568s # { 1568s # case G_TYPE_BOOLEAN: 1568s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1568s # break; 1568s # case G_TYPE_UCHAR: 1568s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1568s # break; 1568s # case G_TYPE_INT: 1568s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1568s # break; 1568s # case G_TYPE_UINT: 1568s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1568s # break; 1568s # case G_TYPE_INT64: 1568s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1568s # break; 1568s # case G_TYPE_UINT64: 1568s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1568s # break; 1568s # case G_TYPE_DOUBLE: 1568s # { 1568s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1568s # gdouble da = g_value_get_double (a); 1568s # gdouble db = g_value_get_double (b); 1568s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1568s # } 1568s # break; 1568s # case G_TYPE_STRING: 1568s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1568s # break; 1568s # case G_TYPE_VARIANT: 1568s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1568s # break; 1568s # default: 1568s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1568s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1568s # else 1568s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1568s # break; 1568s # } 1568s # return ret; 1568s # } 1568s # 1568s # /* ------------------------------------------------------------------------ 1568s # * Code for interface org.project.SignalingIface 1568s # * ------------------------------------------------------------------------ 1568s # */ 1568s # 1568s # /** 1568s # * SECTION:OrgProjectSignalingIface 1568s # * @title: OrgProjectSignalingIface 1568s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1568s # * 1568s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1568s # */ 1568s # 1568s # enum 1568s # { 1568s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 1568s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_ASV, 1568s # }; 1568s # 1568s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 1568s # 1568s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1568s # 1568s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 1568s # { 1568s # { 1568s # -1, 1568s # (gchar *) "SimpleSignal", 1568s # NULL, 1568s # NULL 1568s # }, 1568s # "simple-signal" 1568s # }; 1568s # 1568s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_asv_ARG_arg_asv = 1568s # { 1568s # { 1568s # -1, 1568s # (gchar *) "arg_asv", 1568s # (gchar *) "a{sv}", 1568s # NULL 1568s # }, 1568s # FALSE 1568s # }; 1568s # 1568s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_asv_ARG_pointers[] = 1568s # { 1568s # &_org_project_signaling_iface_signal_info_single_arg_signal_asv_ARG_arg_asv.parent_struct, 1568s # NULL 1568s # }; 1568s # 1568s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_asv = 1568s # { 1568s # { 1568s # -1, 1568s # (gchar *) "SingleArgSignalAsv", 1568s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_asv_ARG_pointers, 1568s # NULL 1568s # }, 1568s # "single-arg-signal-asv" 1568s # }; 1568s # 1568s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1568s # { 1568s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 1568s # &_org_project_signaling_iface_signal_info_single_arg_signal_asv.parent_struct, 1568s # NULL 1568s # }; 1568s # 1568s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1568s # { 1568s # { 1568s # -1, 1568s # (gchar *) "org.project.SignalingIface", 1568s # NULL, 1568s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1568s # NULL, 1568s # NULL 1568s # }, 1568s # "org-project-signaling-iface", 1568s # }; 1568s # 1568s # 1568s # /** 1568s # * org_project_signaling_iface_interface_info: 1568s # * 1568s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1568s # * 1568s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1568s # */ 1568s # GDBusInterfaceInfo * 1568s # org_project_signaling_iface_interface_info (void) 1568s # { 1568s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1568s # } 1568s # 1568s # /** 1568s # * org_project_signaling_iface_override_properties: 1568s # * @klass: The class structure for a #GObject derived class. 1568s # * @property_id_begin: The property id to assign to the first overridden property. 1568s # * 1568s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1568s # * The properties are overridden in the order they are defined. 1568s # * 1568s # * Returns: The last property id. 1568s # */ 1568s # guint 1568s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1568s # { 1568s # return property_id_begin - 1; 1568s # } 1568s # 1568s # 1568s # inline static void 1568s # org_project_signaling_iface_signal_marshal_simple_signal ( 1568s # GClosure *closure, 1568s # GValue *return_value, 1568s # unsigned int n_param_values, 1568s # const GValue *param_values, 1568s # void *invocation_hint, 1568s # void *marshal_data) 1568s # { 1568s # g_cclosure_marshal_VOID__VOID (closure, 1568s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1568s # } 1568s # 1568s # inline static void 1568s # org_project_signaling_iface_signal_marshal_single_arg_signal_asv ( 1568s # GClosure *closure, 1568s # GValue *return_value, 1568s # unsigned int n_param_values, 1568s # const GValue *param_values, 1568s # void *invocation_hint, 1568s # void *marshal_data) 1568s # { 1568s # g_cclosure_marshal_VOID__VARIANT (closure, 1568s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1568s # } 1568s # 1568s # 1568s # /** 1568s # * OrgProjectSignalingIface: 1568s # * 1568s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1568s # */ 1568s # 1568s # /** 1568s # * OrgProjectSignalingIfaceIface: 1568s # * @parent_iface: The parent interface. 1568s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 1568s # * @single_arg_signal_asv: Handler for the #OrgProjectSignalingIface::single-arg-signal-asv signal. 1568s # * 1568s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1568s # */ 1568s # 1568s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1568s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1568s # 1568s # static void 1568s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1568s # { 1568s # /* GObject signals for received D-Bus signals: */ 1568s # /** 1568s # * OrgProjectSignalingIface::simple-signal: 1568s # * @object: A #OrgProjectSignalingIface. 1568s # * 1568s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1568s # * 1568s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1568s # */ 1568s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 1568s # g_signal_new ("simple-signal", 1568s # G_TYPE_FROM_INTERFACE (iface), 1568s # G_SIGNAL_RUN_LAST, 1568s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 1568s # NULL, 1568s # NULL, 1568s # org_project_signaling_iface_signal_marshal_simple_signal, 1568s # G_TYPE_NONE, 1568s # 0); 1568s # 1568s # /** 1568s # * OrgProjectSignalingIface::single-arg-signal-asv: 1568s # * @object: A #OrgProjectSignalingIface. 1568s # * @arg_arg_asv: Argument. 1568s # * 1568s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalAsv" is received. 1568s # * 1568s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1568s # */ 1568s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_ASV] = 1568s # g_signal_new ("single-arg-signal-asv", 1568s # G_TYPE_FROM_INTERFACE (iface), 1568s # G_SIGNAL_RUN_LAST, 1568s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_asv), 1568s # NULL, 1568s # NULL, 1568s # org_project_signaling_iface_signal_marshal_single_arg_signal_asv, 1568s # G_TYPE_NONE, 1568s # 1, G_TYPE_VARIANT); 1568s # 1568s # } 1568s # 1568s # /** 1568s # * org_project_signaling_iface_emit_simple_signal: 1568s # * @object: A #OrgProjectSignalingIface. 1568s # * 1568s # * Emits the "SimpleSignal" D-Bus signal. 1568s # */ 1568s # void 1568s # org_project_signaling_iface_emit_simple_signal ( 1568s # OrgProjectSignalingIface *object) 1568s # { 1568s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 1568s # } 1568s # 1568s # /** 1568s # * org_project_signaling_iface_emit_single_arg_signal_asv: 1568s # * @object: A #OrgProjectSignalingIface. 1568s # * @arg_arg_asv: Argument to pass with the signal. 1568s # * 1568s # * Emits the "SingleArgSignalAsv" D-Bus signal. 1568s # */ 1568s # void 1568s # org_project_signaling_iface_emit_single_arg_signal_asv ( 1568s # OrgProjectSignalingIface *object, 1568s # GVariant *arg_arg_asv) 1568s # { 1568s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_ASV], 0, arg_arg_asv); 1568s # } 1568s # 1568s # /* ------------------------------------------------------------------------ */ 1568s # 1568s # /** 1568s # * OrgProjectSignalingIfaceProxy: 1568s # * 1568s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1568s # */ 1568s # 1568s # /** 1568s # * OrgProjectSignalingIfaceProxyClass: 1568s # * @parent_class: The parent class. 1568s # * 1568s # * Class structure for #OrgProjectSignalingIfaceProxy. 1568s # */ 1568s # 1568s # struct _OrgProjectSignalingIfaceProxyPrivate 1568s # { 1568s # GData *qdata; 1568s # }; 1568s # 1568s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1568s # 1568s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1568s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1568s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1568s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1568s # 1568s # #else 1568s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1568s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1568s # 1568s # #endif 1568s # static void 1568s # org_project_signaling_iface_proxy_finalize (GObject *object) 1568s # { 1568s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1568s # g_datalist_clear (&proxy->priv->qdata); 1568s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1568s # } 1568s # 1568s # static void 1568s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1568s # guint prop_id G_GNUC_UNUSED, 1568s # GValue *value G_GNUC_UNUSED, 1568s # GParamSpec *pspec G_GNUC_UNUSED) 1568s # { 1568s # } 1568s # 1568s # static void 1568s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1568s # guint prop_id G_GNUC_UNUSED, 1568s # const GValue *value G_GNUC_UNUSED, 1568s # GParamSpec *pspec G_GNUC_UNUSED) 1568s # { 1568s # } 1568s # 1568s # static void 1568s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1568s # const gchar *sender_name G_GNUC_UNUSED, 1568s # const gchar *signal_name, 1568s # GVariant *parameters) 1568s # { 1568s # _ExtendedGDBusSignalInfo *info; 1568s # GVariantIter iter; 1568s # GVariant *child; 1568s # GValue *paramv; 1568s # gsize num_params; 1568s # gsize n; 1568s # guint signal_id; 1568s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1568s # if (info == NULL) 1568s # return; 1568s # num_params = g_variant_n_children (parameters); 1568s # paramv = g_new0 (GValue, num_params + 1); 1568s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1568s # g_value_set_object (¶mv[0], proxy); 1568s # g_variant_iter_init (&iter, parameters); 1568s # n = 1; 1568s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1568s # { 1568s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1568s # if (arg_info->use_gvariant) 1568s # { 1568s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1568s # g_value_set_variant (¶mv[n], child); 1568s # n++; 1568s # } 1568s # else 1568s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1568s # g_variant_unref (child); 1568s # } 1568s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1568s # g_signal_emitv (paramv, signal_id, 0, NULL); 1568s # for (n = 0; n < num_params + 1; n++) 1568s # g_value_unset (¶mv[n]); 1568s # g_free (paramv); 1568s # } 1568s # 1568s # static void 1568s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1568s # GVariant *changed_properties, 1568s # const gchar *const *invalidated_properties) 1568s # { 1568s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1568s # guint n; 1568s # const gchar *key; 1568s # GVariantIter *iter; 1568s # _ExtendedGDBusPropertyInfo *info; 1568s # g_variant_get (changed_properties, "a{sv}", &iter); 1568s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1568s # { 1568s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1568s # g_datalist_remove_data (&proxy->priv->qdata, key); 1568s # if (info != NULL) 1568s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1568s # } 1568s # g_variant_iter_free (iter); 1568s # for (n = 0; invalidated_properties[n] != NULL; n++) 1568s # { 1568s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1568s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1568s # if (info != NULL) 1568s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1568s # } 1568s # } 1568s # 1568s # static void 1568s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1568s # { 1568s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1568s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1568s # #else 1568s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1568s # #endif 1568s # 1568s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1568s # } 1568s # 1568s # static void 1568s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1568s # { 1568s # GObjectClass *gobject_class; 1568s # GDBusProxyClass *proxy_class; 1568s # 1568s # gobject_class = G_OBJECT_CLASS (klass); 1568s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1568s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1568s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1568s # 1568s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1568s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1568s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1568s # 1568s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1568s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1568s # #endif 1568s # } 1568s # 1568s # static void 1568s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1568s # { 1568s # } 1568s # 1568s # /** 1568s # * org_project_signaling_iface_proxy_new: 1568s # * @connection: A #GDBusConnection. 1568s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1568s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1568s # * @object_path: An object path. 1568s # * @cancellable: (nullable): A #GCancellable or %NULL. 1568s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1568s # * @user_data: User data to pass to @callback. 1568s # * 1568s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1568s # * 1568s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1568s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1568s # * 1568s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1568s # */ 1568s # void 1568s # org_project_signaling_iface_proxy_new ( 1568s # GDBusConnection *connection, 1568s # GDBusProxyFlags flags, 1568s # const gchar *name, 1568s # const gchar *object_path, 1568s # GCancellable *cancellable, 1568s # GAsyncReadyCallback callback, 1568s # gpointer user_data) 1568s # { 1568s # 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); 1568s # } 1568s # 1568s # /** 1568s # * org_project_signaling_iface_proxy_new_finish: 1568s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1568s # * @error: Return location for error or %NULL 1568s # * 1568s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1568s # * 1568s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1568s # */ 1568s # OrgProjectSignalingIface * 1568s # org_project_signaling_iface_proxy_new_finish ( 1568s # GAsyncResult *res, 1568s # GError **error) 1568s # { 1568s # GObject *ret; 1568s # GObject *source_object; 1568s # source_object = g_async_result_get_source_object (res); 1568s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1568s # g_object_unref (source_object); 1568s # if (ret != NULL) 1568s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1568s # else 1568s # return NULL; 1568s # } 1568s # 1568s # /** 1568s # * org_project_signaling_iface_proxy_new_sync: 1568s # * @connection: A #GDBusConnection. 1568s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1568s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1568s # * @object_path: An object path. 1568s # * @cancellable: (nullable): A #GCancellable or %NULL. 1568s # * @error: Return location for error or %NULL 1568s # * 1568s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1568s # * 1568s # * The calling thread is blocked until a reply is received. 1568s # * 1568s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1568s # * 1568s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1568s # */ 1568s # OrgProjectSignalingIface * 1568s # org_project_signaling_iface_proxy_new_sync ( 1568s # GDBusConnection *connection, 1568s # GDBusProxyFlags flags, 1568s # const gchar *name, 1568s # const gchar *object_path, 1568s # GCancellable *cancellable, 1568s # GError **error) 1568s # { 1568s # GInitable *ret; 1568s # 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); 1568s # if (ret != NULL) 1568s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1568s # else 1568s # return NULL; 1568s # } 1568s # 1568s # 1568s # /** 1568s # * org_project_signaling_iface_proxy_new_for_bus: 1568s # * @bus_type: A #GBusType. 1568s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1568s # * @name: A bus name (well-known or unique). 1568s # * @object_path: An object path. 1568s # * @cancellable: (nullable): A #GCancellable or %NULL. 1568s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1568s # * @user_data: User data to pass to @callback. 1568s # * 1568s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1568s # * 1568s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1568s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1568s # * 1568s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1568s # */ 1568s # void 1568s # org_project_signaling_iface_proxy_new_for_bus ( 1568s # GBusType bus_type, 1568s # GDBusProxyFlags flags, 1568s # const gchar *name, 1568s # const gchar *object_path, 1568s # GCancellable *cancellable, 1568s # GAsyncReadyCallback callback, 1568s # gpointer user_data) 1568s # { 1568s # 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); 1568s # } 1568s # 1568s # /** 1568s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1568s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1568s # * @error: Return location for error or %NULL 1568s # * 1568s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1568s # * 1568s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1568s # */ 1568s # OrgProjectSignalingIface * 1568s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1568s # GAsyncResult *res, 1568s # GError **error) 1568s # { 1568s # GObject *ret; 1568s # GObject *source_object; 1568s # source_object = g_async_result_get_source_object (res); 1568s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1568s # g_object_unref (source_object); 1568s # if (ret != NULL) 1568s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1568s # else 1568s # return NULL; 1568s # } 1568s # 1568s # /** 1568s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1568s # * @bus_type: A #GBusType. 1568s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1568s # * @name: A bus name (well-known or unique). 1568s # * @object_path: An object path. 1568s # * @cancellable: (nullable): A #GCancellable or %NULL. 1568s # * @error: Return location for error or %NULL 1568s # * 1568s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1568s # * 1568s # * The calling thread is blocked until a reply is received. 1568s # * 1568s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1568s # * 1568s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1568s # */ 1568s # OrgProjectSignalingIface * 1568s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1568s # GBusType bus_type, 1568s # GDBusProxyFlags flags, 1568s # const gchar *name, 1568s # const gchar *object_path, 1568s # GCancellable *cancellable, 1568s # GError **error) 1568s # { 1568s # GInitable *ret; 1568s # 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); 1568s # if (ret != NULL) 1568s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1568s # else 1568s # return NULL; 1568s # } 1568s # 1568s # 1568s # /* ------------------------------------------------------------------------ */ 1568s # 1568s # /** 1568s # * OrgProjectSignalingIfaceSkeleton: 1568s # * 1568s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1568s # */ 1568s # 1568s # /** 1568s # * OrgProjectSignalingIfaceSkeletonClass: 1568s # * @parent_class: The parent class. 1568s # * 1568s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1568s # */ 1568s # 1568s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1568s # { 1568s # GValue *properties; 1568s # GList *changed_properties; 1568s # GSource *changed_properties_idle_source; 1568s # GMainContext *context; 1568s # GMutex lock; 1568s # }; 1568s # 1568s # static void 1568s # _org_project_signaling_iface_skeleton_handle_method_call ( 1568s # GDBusConnection *connection G_GNUC_UNUSED, 1568s # const gchar *sender G_GNUC_UNUSED, 1568s # const gchar *object_path G_GNUC_UNUSED, 1568s # const gchar *interface_name, 1568s # const gchar *method_name, 1568s # GVariant *parameters, 1568s # GDBusMethodInvocation *invocation, 1568s # gpointer user_data) 1568s # { 1568s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1568s # _ExtendedGDBusMethodInfo *info; 1568s # GVariantIter iter; 1568s # GVariant *child; 1568s # GValue *paramv; 1568s # gsize num_params; 1568s # guint num_extra; 1568s # gsize n; 1568s # guint signal_id; 1568s # GValue return_value = G_VALUE_INIT; 1568s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1568s # g_assert (info != NULL); 1568s # num_params = g_variant_n_children (parameters); 1568s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1568s # n = 0; 1568s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1568s # g_value_set_object (¶mv[n++], skeleton); 1568s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1568s # g_value_set_object (¶mv[n++], invocation); 1568s # if (info->pass_fdlist) 1568s # { 1568s # #ifdef G_OS_UNIX 1568s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1568s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1568s # #else 1568s # g_assert_not_reached (); 1568s # #endif 1568s # } 1568s # g_variant_iter_init (&iter, parameters); 1568s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1568s # { 1568s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1568s # if (arg_info->use_gvariant) 1568s # { 1568s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1568s # g_value_set_variant (¶mv[n], child); 1568s # n++; 1568s # } 1568s # else 1568s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1568s # g_variant_unref (child); 1568s # } 1568s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1568s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1568s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1568s # if (!g_value_get_boolean (&return_value)) 1568s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1568s # g_value_unset (&return_value); 1568s # for (n = 0; n < num_params + num_extra; n++) 1568s # g_value_unset (¶mv[n]); 1568s # g_free (paramv); 1568s # } 1568s # 1568s # static GVariant * 1568s # _org_project_signaling_iface_skeleton_handle_get_property ( 1568s # GDBusConnection *connection G_GNUC_UNUSED, 1568s # const gchar *sender G_GNUC_UNUSED, 1568s # const gchar *object_path G_GNUC_UNUSED, 1568s # const gchar *interface_name G_GNUC_UNUSED, 1568s # const gchar *property_name, 1568s # GError **error, 1568s # gpointer user_data) 1568s # { 1568s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1568s # GValue value = G_VALUE_INIT; 1568s # GParamSpec *pspec; 1568s # _ExtendedGDBusPropertyInfo *info; 1568s # GVariant *ret; 1568s # ret = NULL; 1568s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1568s # g_assert (info != NULL); 1568s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1568s # if (pspec == NULL) 1568s # { 1568s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1568s # } 1568s # else 1568s # { 1568s # g_value_init (&value, pspec->value_type); 1568s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1568s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1568s # g_value_unset (&value); 1568s # } 1568s # return ret; 1568s # } 1568s # 1568s # static gboolean 1568s # _org_project_signaling_iface_skeleton_handle_set_property ( 1568s # GDBusConnection *connection G_GNUC_UNUSED, 1568s # const gchar *sender G_GNUC_UNUSED, 1568s # const gchar *object_path G_GNUC_UNUSED, 1568s # const gchar *interface_name G_GNUC_UNUSED, 1568s # const gchar *property_name, 1568s # GVariant *variant, 1568s # GError **error, 1568s # gpointer user_data) 1568s # { 1568s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1568s # GValue value = G_VALUE_INIT; 1568s # GParamSpec *pspec; 1568s # _ExtendedGDBusPropertyInfo *info; 1568s # gboolean ret; 1568s # ret = FALSE; 1568s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1568s # g_assert (info != NULL); 1568s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1568s # if (pspec == NULL) 1568s # { 1568s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1568s # } 1568s # else 1568s # { 1568s # if (info->use_gvariant) 1568s # g_value_set_variant (&value, variant); 1568s # else 1568s # g_dbus_gvariant_to_gvalue (variant, &value); 1568s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1568s # g_value_unset (&value); 1568s # ret = TRUE; 1568s # } 1568s # return ret; 1568s # } 1568s # 1568s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1568s # { 1568s # _org_project_signaling_iface_skeleton_handle_method_call, 1568s # _org_project_signaling_iface_skeleton_handle_get_property, 1568s # _org_project_signaling_iface_skeleton_handle_set_property, 1568s # {NULL} 1568s # }; 1568s # 1568s # static GDBusInterfaceInfo * 1568s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1568s # { 1568s # return org_project_signaling_iface_interface_info (); 1568s # } 1568s # 1568s # static GDBusInterfaceVTable * 1568s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1568s # { 1568s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1568s # } 1568s # 1568s # static GVariant * 1568s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1568s # { 1568s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1568s # 1568s # GVariantBuilder builder; 1568s # guint n; 1568s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1568s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1568s # goto out; 1568s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1568s # { 1568s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1568s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1568s # { 1568s # GVariant *value; 1568s # 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); 1568s # if (value != NULL) 1568s # { 1568s # g_variant_take_ref (value); 1568s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1568s # g_variant_unref (value); 1568s # } 1568s # } 1568s # } 1568s # out: 1568s # return g_variant_builder_end (&builder); 1568s # } 1568s # 1568s # static void 1568s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1568s # { 1568s # } 1568s # 1568s # static void 1568s # _org_project_signaling_iface_on_signal_simple_signal ( 1568s # OrgProjectSignalingIface *object) 1568s # { 1568s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1568s # 1568s # GList *connections, *l; 1568s # GVariant *signal_variant; 1568s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1568s # 1568s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1568s # for (l = connections; l != NULL; l = l->next) 1568s # { 1568s # GDBusConnection *connection = l->data; 1568s # g_dbus_connection_emit_signal (connection, 1568s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 1568s # signal_variant, NULL); 1568s # } 1568s # g_variant_unref (signal_variant); 1568s # g_list_free_full (connections, g_object_unref); 1568s # } 1568s # 1568s # static void 1568s # _org_project_signaling_iface_on_signal_single_arg_signal_asv ( 1568s # OrgProjectSignalingIface *object, 1568s # GVariant *arg_arg_asv) 1568s # { 1568s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1568s # 1568s # GList *connections, *l; 1568s # GVariant *signal_variant; 1568s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1568s # 1568s # signal_variant = g_variant_ref_sink (g_variant_new ("(@a{sv})", 1568s # arg_arg_asv)); 1568s # for (l = connections; l != NULL; l = l->next) 1568s # { 1568s # GDBusConnection *connection = l->data; 1568s # g_dbus_connection_emit_signal (connection, 1568s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalAsv", 1568s # signal_variant, NULL); 1568s # } 1568s # g_variant_unref (signal_variant); 1568s # g_list_free_full (connections, g_object_unref); 1568s # } 1568s # 1568s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1568s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1568s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1568s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1568s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1568s # 1568s # #else 1568s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1568s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1568s # 1568s # #endif 1568s # static void 1568s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1568s # { 1568s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1568s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1568s # if (skeleton->priv->changed_properties_idle_source != NULL) 1568s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1568s # g_main_context_unref (skeleton->priv->context); 1568s # g_mutex_clear (&skeleton->priv->lock); 1568s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1568s # } 1568s # 1568s # static void 1568s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1568s # { 1568s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1568s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1568s # #else 1568s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1568s # #endif 1568s # 1568s # g_mutex_init (&skeleton->priv->lock); 1568s # skeleton->priv->context = g_main_context_ref_thread_default (); 1568s # } 1568s # 1568s # static void 1568s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1568s # { 1568s # GObjectClass *gobject_class; 1568s # GDBusInterfaceSkeletonClass *skeleton_class; 1568s # 1568s # gobject_class = G_OBJECT_CLASS (klass); 1568s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1568s # 1568s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1568s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1568s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1568s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1568s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1568s # 1568s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1568s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1568s # #endif 1568s # } 1568s # 1568s # static void 1568s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1568s # { 1568s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 1568s # iface->single_arg_signal_asv = _org_project_signaling_iface_on_signal_single_arg_signal_asv; 1568s # } 1568s # 1568s # /** 1568s # * org_project_signaling_iface_skeleton_new: 1568s # * 1568s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1568s # * 1568s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1568s # */ 1568s # OrgProjectSignalingIface * 1568s # org_project_signaling_iface_skeleton_new (void) 1568s # { 1568s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1568s # } 1568s ok 24 __main__.TestCodegen.test_generate_signals_marshallers_multiple_args 1568s # tmpdir: /tmp/tmp2vn1_ab5 1568s # codegen: /usr/bin/gdbus-codegen 1568s # /tmp/tmp2vn1_ab5/tmpz2axnh9x.xml: 1568s # 1568s # 1568s # 1568s # 1568s # 1568s # 1568s # 1568s # 1568s # 1568s # 1568s # 1568s # 1568s # 1568s # 1568s # 1568s # 1568s # 1568s # 1568s # 1568s # 1568s # 1568s # 1568s # 1568s # 1568s # 1568s # 1568s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp2vn1_ab5/tmpz2axnh9x.xml', '--output', '-', '--body'] 1568s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-baqskmurxn,guid=fbaffe99d0ccb1f6e1beb84865fc01cd', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.YcZbqk/autopkgtest_tmp', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.YcZbqk/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.YcZbqk/autopkgtest_tmp', 'TERM': 'unknown', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.YcZbqk/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.sVTVMp0Db0', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.rqZsJO/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.YcZbqk/wrapper.sh --artifacts=/tmp/autopkgtest.YcZbqk/installed-tests-artifacts --chdir=/tmp/autopkgtest.YcZbqk/build.S0E/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.YcZbqk/installed-tests-stderr --stdout=/tmp/autopkgtest.YcZbqk/installed-tests-stdout --tmp=/tmp/autopkgtest.YcZbqk/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2' --make-executable=/tmp/autopkgtest.YcZbqk/build.S0E/src/debian/tests/installed-tests -- /tmp/autopkgtest.YcZbqk/build.S0E/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.YcZbqk/build.S0E/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.YcZbqk/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1568s # Output: /* 1568s # * This file is generated by gdbus-codegen, do not modify it. 1568s # * 1568s # * The license of this code is the same as for the D-Bus interface description 1568s # * it was derived from. Note that it links to GLib, so must comply with the 1568s # * LGPL linking clauses. 1568s # */ 1568s # 1568s # #ifdef HAVE_CONFIG_H 1568s # # include "config.h" 1568s # #endif 1568s # 1568s # #include 1568s # #ifdef G_OS_UNIX 1568s # # include 1568s # #endif 1568s # 1568s # #ifdef G_ENABLE_DEBUG 1568s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1568s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1568s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1568s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1568s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1568s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1568s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1568s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1568s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1568s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1568s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1568s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1568s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1568s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1568s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1568s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1568s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1568s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1568s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1568s # #else /* !G_ENABLE_DEBUG */ 1568s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1568s # * Do not access GValues directly in your code. Instead, use the 1568s # * g_value_get_*() functions 1568s # */ 1568s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1568s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1568s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1568s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1568s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1568s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1568s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1568s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1568s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1568s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1568s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1568s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1568s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1568s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1568s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1568s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1568s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1568s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1568s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1568s # #endif /* !G_ENABLE_DEBUG */ 1568s # 1568s # typedef struct 1568s # { 1568s # GDBusArgInfo parent_struct; 1568s # gboolean use_gvariant; 1568s # } _ExtendedGDBusArgInfo; 1568s # 1568s # typedef struct 1568s # { 1568s # GDBusMethodInfo parent_struct; 1568s # const gchar *signal_name; 1568s # gboolean pass_fdlist; 1568s # } _ExtendedGDBusMethodInfo; 1568s # 1568s # typedef struct 1568s # { 1568s # GDBusSignalInfo parent_struct; 1568s # const gchar *signal_name; 1568s # } _ExtendedGDBusSignalInfo; 1568s # 1568s # typedef struct 1568s # { 1568s # GDBusPropertyInfo parent_struct; 1568s # const gchar *hyphen_name; 1568s # guint use_gvariant : 1; 1568s # guint emits_changed_signal : 1; 1568s # } _ExtendedGDBusPropertyInfo; 1568s # 1568s # typedef struct 1568s # { 1568s # GDBusInterfaceInfo parent_struct; 1568s # const gchar *hyphen_name; 1568s # } _ExtendedGDBusInterfaceInfo; 1568s # 1568s # typedef struct 1568s # { 1568s # const _ExtendedGDBusPropertyInfo *info; 1568s # guint prop_id; 1568s # GValue orig_value; /* the value before the change */ 1568s # } ChangedProperty; 1568s # 1568s # static void 1568s # _changed_property_free (ChangedProperty *data) 1568s # { 1568s # g_value_unset (&data->orig_value); 1568s # g_free (data); 1568s # } 1568s # 1568s # static gboolean 1568s # _g_strv_equal0 (gchar **a, gchar **b) 1568s # { 1568s # gboolean ret = FALSE; 1568s # guint n; 1568s # if (a == NULL && b == NULL) 1568s # { 1568s # ret = TRUE; 1568s # goto out; 1568s # } 1568s # if (a == NULL || b == NULL) 1568s # goto out; 1568s # if (g_strv_length (a) != g_strv_length (b)) 1568s # goto out; 1568s # for (n = 0; a[n] != NULL; n++) 1568s # if (g_strcmp0 (a[n], b[n]) != 0) 1568s # goto out; 1568s # ret = TRUE; 1568s # out: 1568s # return ret; 1568s # } 1568s # 1568s # static gboolean 1568s # _g_variant_equal0 (GVariant *a, GVariant *b) 1568s # { 1568s # gboolean ret = FALSE; 1568s # if (a == NULL && b == NULL) 1568s # { 1568s # ret = TRUE; 1568s # goto out; 1568s # } 1568s # if (a == NULL || b == NULL) 1568s # goto out; 1568s # ret = g_variant_equal (a, b); 1568s # out: 1568s # return ret; 1568s # } 1568s # 1568s # G_GNUC_UNUSED static gboolean 1568s # _g_value_equal (const GValue *a, const GValue *b) 1568s # { 1568s # gboolean ret = FALSE; 1568s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1568s # switch (G_VALUE_TYPE (a)) 1568s # { 1568s # case G_TYPE_BOOLEAN: 1568s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1568s # break; 1568s # case G_TYPE_UCHAR: 1568s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1568s # break; 1568s # case G_TYPE_INT: 1568s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1568s # break; 1568s # case G_TYPE_UINT: 1568s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1568s # break; 1568s # case G_TYPE_INT64: 1568s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1568s # break; 1568s # case G_TYPE_UINT64: 1568s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1568s # break; 1568s # case G_TYPE_DOUBLE: 1568s # { 1568s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1568s # gdouble da = g_value_get_double (a); 1568s # gdouble db = g_value_get_double (b); 1568s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1568s # } 1568s # break; 1568s # case G_TYPE_STRING: 1568s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1568s # break; 1568s # case G_TYPE_VARIANT: 1568s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1568s # break; 1568s # default: 1568s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1568s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1568s # else 1568s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1568s # break; 1568s # } 1568s # return ret; 1568s # } 1568s # 1568s # static void 1568s # _g_dbus_codegen_marshal_VOID__BOOLEAN_UCHAR_INT_UINT_INT_UINT_INT64_UINT64_DOUBLE_STRING_STRING_STRING_VARIANT_STRING_BOXED_BOXED_BOXED_VARIANT ( 1568s # GClosure *closure, 1568s # GValue *return_value G_GNUC_UNUSED, 1568s # unsigned int n_param_values, 1568s # const GValue *param_values, 1568s # void *invocation_hint G_GNUC_UNUSED, 1568s # void *marshal_data) 1568s # { 1568s # typedef void (*_GDbusCodegenMarshalVoid_BooleanUcharIntUintIntUintInt64Uint64DoubleStringStringStringVariantStringBoxedBoxedBoxedVariantFunc) 1568s # (void *data1, 1568s # gboolean arg_an_b, 1568s # guchar arg_an_y, 1568s # gint16 arg_an_n, 1568s # guint16 arg_an_q, 1568s # gint arg_an_i, 1568s # guint arg_an_u, 1568s # gint64 arg_an_x, 1568s # guint64 arg_an_t, 1568s # gdouble arg_an_d, 1568s # const gchar *arg_an_s, 1568s # const gchar *arg_an_o, 1568s # const gchar *arg_an_g, 1568s # GVariant *arg_an_h, 1568s # const gchar *arg_an_ay, 1568s # const gchar *const *arg_an_as, 1568s # const gchar *const *arg_an_ao, 1568s # const gchar *const *arg_an_aay, 1568s # GVariant *arg_an_asv, 1568s # void *data2); 1568s # _GDbusCodegenMarshalVoid_BooleanUcharIntUintIntUintInt64Uint64DoubleStringStringStringVariantStringBoxedBoxedBoxedVariantFunc callback; 1568s # GCClosure *cc = (GCClosure*) closure; 1568s # void *data1, *data2; 1568s # 1568s # g_return_if_fail (n_param_values == 19); 1568s # 1568s # if (G_CCLOSURE_SWAP_DATA (closure)) 1568s # { 1568s # data1 = closure->data; 1568s # data2 = g_value_peek_pointer (param_values + 0); 1568s # } 1568s # else 1568s # { 1568s # data1 = g_value_peek_pointer (param_values + 0); 1568s # data2 = closure->data; 1568s # } 1568s # 1568s # callback = (_GDbusCodegenMarshalVoid_BooleanUcharIntUintIntUintInt64Uint64DoubleStringStringStringVariantStringBoxedBoxedBoxedVariantFunc) 1568s # (marshal_data ? marshal_data : cc->callback); 1568s # 1568s # callback (data1, 1568s # g_marshal_value_peek_boolean (param_values + 1), 1568s # g_marshal_value_peek_uchar (param_values + 2), 1568s # g_marshal_value_peek_int (param_values + 3), 1568s # g_marshal_value_peek_uint (param_values + 4), 1568s # g_marshal_value_peek_int (param_values + 5), 1568s # g_marshal_value_peek_uint (param_values + 6), 1568s # g_marshal_value_peek_int64 (param_values + 7), 1568s # g_marshal_value_peek_uint64 (param_values + 8), 1568s # g_marshal_value_peek_double (param_values + 9), 1568s # g_marshal_value_peek_string (param_values + 10), 1568s # g_marshal_value_peek_string (param_values + 11), 1568s # g_marshal_value_peek_string (param_values + 12), 1568s # g_marshal_value_peek_variant (param_values + 13), 1568s # g_marshal_value_peek_string (param_values + 14), 1568s # g_marshal_value_peek_boxed (param_values + 15), 1568s # g_marshal_value_peek_boxed (param_values + 16), 1568s # g_marshal_value_peek_boxed (param_values + 17), 1568s # g_marshal_value_peek_variant (param_values + 18), 1568s # data2); 1568s # } 1568s # 1568s # /* ------------------------------------------------------------------------ 1568s # * Code for interface org.project.SignalingIface 1568s # * ------------------------------------------------------------------------ 1568s # */ 1568s # 1568s # /** 1568s # * SECTION:OrgProjectSignalingIface 1568s # * @title: OrgProjectSignalingIface 1568s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1568s # * 1568s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1568s # */ 1568s # 1568s # enum 1568s # { 1568s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 1568s # _ORG_PROJECT_SIGNALING_IFACE_SIGNAL_WITH_MANY_ARGS, 1568s # }; 1568s # 1568s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 1568s # 1568s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1568s # 1568s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 1568s # { 1568s # { 1568s # -1, 1568s # (gchar *) "SimpleSignal", 1568s # NULL, 1568s # NULL 1568s # }, 1568s # "simple-signal" 1568s # }; 1568s # 1568s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_b = 1568s # { 1568s # { 1568s # -1, 1568s # (gchar *) "an_b", 1568s # (gchar *) "b", 1568s # NULL 1568s # }, 1568s # FALSE 1568s # }; 1568s # 1568s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_y = 1568s # { 1568s # { 1568s # -1, 1568s # (gchar *) "an_y", 1568s # (gchar *) "y", 1568s # NULL 1568s # }, 1568s # FALSE 1568s # }; 1568s # 1568s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_n = 1568s # { 1568s # { 1568s # -1, 1568s # (gchar *) "an_n", 1568s # (gchar *) "n", 1568s # NULL 1568s # }, 1568s # FALSE 1568s # }; 1568s # 1568s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_q = 1568s # { 1568s # { 1568s # -1, 1568s # (gchar *) "an_q", 1568s # (gchar *) "q", 1568s # NULL 1568s # }, 1568s # FALSE 1568s # }; 1568s # 1568s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_i = 1568s # { 1568s # { 1568s # -1, 1568s # (gchar *) "an_i", 1568s # (gchar *) "i", 1568s # NULL 1568s # }, 1568s # FALSE 1568s # }; 1568s # 1568s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_u = 1568s # { 1568s # { 1568s # -1, 1568s # (gchar *) "an_u", 1568s # (gchar *) "u", 1568s # NULL 1568s # }, 1568s # FALSE 1568s # }; 1568s # 1568s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_x = 1568s # { 1568s # { 1568s # -1, 1568s # (gchar *) "an_x", 1568s # (gchar *) "x", 1568s # NULL 1568s # }, 1568s # FALSE 1568s # }; 1568s # 1568s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_t = 1568s # { 1568s # { 1568s # -1, 1568s # (gchar *) "an_t", 1568s # (gchar *) "t", 1568s # NULL 1568s # }, 1568s # FALSE 1568s # }; 1568s # 1568s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_d = 1568s # { 1568s # { 1568s # -1, 1568s # (gchar *) "an_d", 1568s # (gchar *) "d", 1568s # NULL 1568s # }, 1568s # FALSE 1568s # }; 1568s # 1568s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_s = 1568s # { 1568s # { 1568s # -1, 1568s # (gchar *) "an_s", 1568s # (gchar *) "s", 1568s # NULL 1568s # }, 1568s # FALSE 1568s # }; 1568s # 1568s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_o = 1568s # { 1568s # { 1568s # -1, 1568s # (gchar *) "an_o", 1568s # (gchar *) "o", 1568s # NULL 1568s # }, 1568s # FALSE 1568s # }; 1568s # 1568s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_g = 1568s # { 1568s # { 1568s # -1, 1568s # (gchar *) "an_g", 1568s # (gchar *) "g", 1568s # NULL 1568s # }, 1568s # FALSE 1568s # }; 1568s # 1568s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_h = 1568s # { 1568s # { 1568s # -1, 1568s # (gchar *) "an_h", 1568s # (gchar *) "h", 1568s # NULL 1568s # }, 1568s # FALSE 1568s # }; 1568s # 1568s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_ay = 1568s # { 1568s # { 1568s # -1, 1568s # (gchar *) "an_ay", 1568s # (gchar *) "ay", 1568s # NULL 1568s # }, 1568s # FALSE 1568s # }; 1568s # 1568s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_as = 1568s # { 1568s # { 1568s # -1, 1568s # (gchar *) "an_as", 1568s # (gchar *) "as", 1568s # NULL 1568s # }, 1568s # FALSE 1568s # }; 1568s # 1568s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_ao = 1568s # { 1568s # { 1568s # -1, 1568s # (gchar *) "an_ao", 1568s # (gchar *) "ao", 1568s # NULL 1568s # }, 1568s # FALSE 1568s # }; 1568s # 1568s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_aay = 1568s # { 1568s # { 1568s # -1, 1568s # (gchar *) "an_aay", 1568s # (gchar *) "aay", 1568s # NULL 1568s # }, 1568s # FALSE 1568s # }; 1568s # 1568s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_asv = 1568s # { 1568s # { 1568s # -1, 1568s # (gchar *) "an_asv", 1568s # (gchar *) "a{sv}", 1568s # NULL 1568s # }, 1568s # FALSE 1568s # }; 1568s # 1568s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_pointers[] = 1568s # { 1568s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_b.parent_struct, 1568s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_y.parent_struct, 1568s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_n.parent_struct, 1568s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_q.parent_struct, 1568s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_i.parent_struct, 1568s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_u.parent_struct, 1568s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_x.parent_struct, 1568s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_t.parent_struct, 1568s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_d.parent_struct, 1568s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_s.parent_struct, 1568s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_o.parent_struct, 1568s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_g.parent_struct, 1568s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_h.parent_struct, 1568s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_ay.parent_struct, 1568s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_as.parent_struct, 1568s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_ao.parent_struct, 1568s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_aay.parent_struct, 1568s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_asv.parent_struct, 1568s # NULL 1568s # }; 1568s # 1568s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_signal_with_many_args = 1568s # { 1568s # { 1568s # -1, 1568s # (gchar *) "SignalWithManyArgs", 1568s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_pointers, 1568s # NULL 1568s # }, 1568s # "signal-with-many-args" 1568s # }; 1568s # 1568s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1568s # { 1568s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 1568s # &_org_project_signaling_iface_signal_info_signal_with_many_args.parent_struct, 1568s # NULL 1568s # }; 1568s # 1568s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1568s # { 1568s # { 1568s # -1, 1568s # (gchar *) "org.project.SignalingIface", 1568s # NULL, 1568s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1568s # NULL, 1568s # NULL 1568s # }, 1568s # "org-project-signaling-iface", 1568s # }; 1568s # 1568s # 1568s # /** 1568s # * org_project_signaling_iface_interface_info: 1568s # * 1568s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1568s # * 1568s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1568s # */ 1568s # GDBusInterfaceInfo * 1568s # org_project_signaling_iface_interface_info (void) 1568s # { 1568s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1568s # } 1568s # 1568s # /** 1568s # * org_project_signaling_iface_override_properties: 1568s # * @klass: The class structure for a #GObject derived class. 1568s # * @property_id_begin: The property id to assign to the first overridden property. 1568s # * 1568s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1568s # * The properties are overridden in the order they are defined. 1568s # * 1568s # * Returns: The last property id. 1568s # */ 1568s # guint 1568s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1568s # { 1568s # return property_id_begin - 1; 1568s # } 1568s # 1568s # 1568s # inline static void 1568s # org_project_signaling_iface_signal_marshal_simple_signal ( 1568s # GClosure *closure, 1568s # GValue *return_value, 1568s # unsigned int n_param_values, 1568s # const GValue *param_values, 1568s # void *invocation_hint, 1568s # void *marshal_data) 1568s # { 1568s # g_cclosure_marshal_VOID__VOID (closure, 1568s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1568s # } 1568s # 1568s # inline static void 1568s # org_project_signaling_iface_signal_marshal_signal_with_many_args ( 1568s # GClosure *closure, 1568s # GValue *return_value, 1568s # unsigned int n_param_values, 1568s # const GValue *param_values, 1568s # void *invocation_hint, 1568s # void *marshal_data) 1568s # { 1568s # _g_dbus_codegen_marshal_VOID__BOOLEAN_UCHAR_INT_UINT_INT_UINT_INT64_UINT64_DOUBLE_STRING_STRING_STRING_VARIANT_STRING_BOXED_BOXED_BOXED_VARIANT (closure, 1568s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1568s # } 1568s # 1568s # 1568s # /** 1568s # * OrgProjectSignalingIface: 1568s # * 1568s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1568s # */ 1568s # 1568s # /** 1568s # * OrgProjectSignalingIfaceIface: 1568s # * @parent_iface: The parent interface. 1568s # * @signal_with_many_args: Handler for the #OrgProjectSignalingIface::signal-with-many-args signal. 1568s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 1568s # * 1568s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1568s # */ 1568s # 1568s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1568s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1568s # 1568s # static void 1568s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1568s # { 1568s # /* GObject signals for received D-Bus signals: */ 1568s # /** 1568s # * OrgProjectSignalingIface::simple-signal: 1568s # * @object: A #OrgProjectSignalingIface. 1568s # * 1568s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1568s # * 1568s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1568s # */ 1568s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 1568s # g_signal_new ("simple-signal", 1568s # G_TYPE_FROM_INTERFACE (iface), 1568s # G_SIGNAL_RUN_LAST, 1568s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 1568s # NULL, 1568s # NULL, 1568s # org_project_signaling_iface_signal_marshal_simple_signal, 1568s # G_TYPE_NONE, 1568s # 0); 1568s # 1568s # /** 1568s # * OrgProjectSignalingIface::signal-with-many-args: 1568s # * @object: A #OrgProjectSignalingIface. 1568s # * @arg_an_b: Argument. 1568s # * @arg_an_y: Argument. 1568s # * @arg_an_n: Argument. 1568s # * @arg_an_q: Argument. 1568s # * @arg_an_i: Argument. 1568s # * @arg_an_u: Argument. 1568s # * @arg_an_x: Argument. 1568s # * @arg_an_t: Argument. 1568s # * @arg_an_d: Argument. 1568s # * @arg_an_s: Argument. 1568s # * @arg_an_o: Argument. 1568s # * @arg_an_g: Argument. 1568s # * @arg_an_h: Argument. 1568s # * @arg_an_ay: Argument. 1568s # * @arg_an_as: Argument. 1568s # * @arg_an_ao: Argument. 1568s # * @arg_an_aay: Argument. 1568s # * @arg_an_asv: Argument. 1568s # * 1568s # * On the client-side, this signal is emitted whenever the D-Bus signal "SignalWithManyArgs" is received. 1568s # * 1568s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1568s # */ 1568s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIGNAL_WITH_MANY_ARGS] = 1568s # g_signal_new ("signal-with-many-args", 1568s # G_TYPE_FROM_INTERFACE (iface), 1568s # G_SIGNAL_RUN_LAST, 1568s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, signal_with_many_args), 1568s # NULL, 1568s # NULL, 1568s # org_project_signaling_iface_signal_marshal_signal_with_many_args, 1568s # G_TYPE_NONE, 1568s # 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); 1568s # 1568s # } 1568s # 1568s # /** 1568s # * org_project_signaling_iface_emit_simple_signal: 1568s # * @object: A #OrgProjectSignalingIface. 1568s # * 1568s # * Emits the "SimpleSignal" D-Bus signal. 1568s # */ 1568s # void 1568s # org_project_signaling_iface_emit_simple_signal ( 1568s # OrgProjectSignalingIface *object) 1568s # { 1568s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 1568s # } 1568s # 1568s # /** 1568s # * org_project_signaling_iface_emit_signal_with_many_args: 1568s # * @object: A #OrgProjectSignalingIface. 1568s # * @arg_an_b: Argument to pass with the signal. 1568s # * @arg_an_y: Argument to pass with the signal. 1568s # * @arg_an_n: Argument to pass with the signal. 1568s # * @arg_an_q: Argument to pass with the signal. 1568s # * @arg_an_i: Argument to pass with the signal. 1568s # * @arg_an_u: Argument to pass with the signal. 1568s # * @arg_an_x: Argument to pass with the signal. 1568s # * @arg_an_t: Argument to pass with the signal. 1568s # * @arg_an_d: Argument to pass with the signal. 1568s # * @arg_an_s: Argument to pass with the signal. 1568s # * @arg_an_o: Argument to pass with the signal. 1568s # * @arg_an_g: Argument to pass with the signal. 1568s # * @arg_an_h: Argument to pass with the signal. 1568s # * @arg_an_ay: Argument to pass with the signal. 1568s # * @arg_an_as: Argument to pass with the signal. 1568s # * @arg_an_ao: Argument to pass with the signal. 1568s # * @arg_an_aay: Argument to pass with the signal. 1568s # * @arg_an_asv: Argument to pass with the signal. 1568s # * 1568s # * Emits the "SignalWithManyArgs" D-Bus signal. 1568s # */ 1568s # void 1568s # org_project_signaling_iface_emit_signal_with_many_args ( 1568s # OrgProjectSignalingIface *object, 1568s # gboolean arg_an_b, 1568s # guchar arg_an_y, 1568s # gint16 arg_an_n, 1568s # guint16 arg_an_q, 1568s # gint arg_an_i, 1568s # guint arg_an_u, 1568s # gint64 arg_an_x, 1568s # guint64 arg_an_t, 1568s # gdouble arg_an_d, 1568s # const gchar *arg_an_s, 1568s # const gchar *arg_an_o, 1568s # const gchar *arg_an_g, 1568s # GVariant *arg_an_h, 1568s # const gchar *arg_an_ay, 1568s # const gchar *const *arg_an_as, 1568s # const gchar *const *arg_an_ao, 1568s # const gchar *const *arg_an_aay, 1568s # GVariant *arg_an_asv) 1568s # { 1568s # 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); 1568s # } 1568s # 1568s # /* ------------------------------------------------------------------------ */ 1568s # 1568s # /** 1568s # * OrgProjectSignalingIfaceProxy: 1568s # * 1568s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1568s # */ 1568s # 1568s # /** 1568s # * OrgProjectSignalingIfaceProxyClass: 1568s # * @parent_class: The parent class. 1568s # * 1568s # * Class structure for #OrgProjectSignalingIfaceProxy. 1568s # */ 1568s # 1568s # struct _OrgProjectSignalingIfaceProxyPrivate 1568s # { 1568s # GData *qdata; 1568s # }; 1568s # 1568s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1568s # 1568s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1568s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1568s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1568s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1568s # 1568s # #else 1568s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1568s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1568s # 1568s # #endif 1568s # static void 1568s # org_project_signaling_iface_proxy_finalize (GObject *object) 1568s # { 1568s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1568s # g_datalist_clear (&proxy->priv->qdata); 1568s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1568s # } 1568s # 1568s # static void 1568s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1568s # guint prop_id G_GNUC_UNUSED, 1568s # GValue *value G_GNUC_UNUSED, 1568s # GParamSpec *pspec G_GNUC_UNUSED) 1568s # { 1568s # } 1568s # 1568s # static void 1568s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1568s # guint prop_id G_GNUC_UNUSED, 1568s # const GValue *value G_GNUC_UNUSED, 1568s # GParamSpec *pspec G_GNUC_UNUSED) 1568s # { 1568s # } 1568s # 1568s # static void 1568s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1568s # const gchar *sender_name G_GNUC_UNUSED, 1568s # const gchar *signal_name, 1568s # GVariant *parameters) 1568s # { 1568s # _ExtendedGDBusSignalInfo *info; 1568s # GVariantIter iter; 1568s # GVariant *child; 1568s # GValue *paramv; 1568s # gsize num_params; 1568s # gsize n; 1568s # guint signal_id; 1568s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1568s # if (info == NULL) 1568s # return; 1568s # num_params = g_variant_n_children (parameters); 1568s # paramv = g_new0 (GValue, num_params + 1); 1568s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1568s # g_value_set_object (¶mv[0], proxy); 1568s # g_variant_iter_init (&iter, parameters); 1568s # n = 1; 1568s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1568s # { 1568s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1568s # if (arg_info->use_gvariant) 1568s # { 1568s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1568s # g_value_set_variant (¶mv[n], child); 1568s # n++; 1568s # } 1568s # else 1568s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1568s # g_variant_unref (child); 1568s # } 1568s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1568s # g_signal_emitv (paramv, signal_id, 0, NULL); 1568s # for (n = 0; n < num_params + 1; n++) 1568s # g_value_unset (¶mv[n]); 1568s # g_free (paramv); 1568s # } 1568s # 1568s # static void 1568s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1568s # GVariant *changed_properties, 1568s # const gchar *const *invalidated_properties) 1568s # { 1568s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1568s # guint n; 1568s # const gchar *key; 1568s # GVariantIter *iter; 1568s # _ExtendedGDBusPropertyInfo *info; 1568s # g_variant_get (changed_properties, "a{sv}", &iter); 1568s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1568s # { 1568s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1568s # g_datalist_remove_data (&proxy->priv->qdata, key); 1568s # if (info != NULL) 1568s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1568s # } 1568s # g_variant_iter_free (iter); 1568s # for (n = 0; invalidated_properties[n] != NULL; n++) 1568s # { 1568s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1568s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1568s # if (info != NULL) 1568s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1568s # } 1568s # } 1568s # 1568s # static void 1568s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1568s # { 1568s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1568s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1568s # #else 1568s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1568s # #endif 1568s # 1568s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1568s # } 1568s # 1568s # static void 1568s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1568s # { 1568s # GObjectClass *gobject_class; 1568s # GDBusProxyClass *proxy_class; 1568s # 1568s # gobject_class = G_OBJECT_CLASS (klass); 1568s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1568s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1568s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1568s # 1568s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1568s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1568s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1568s # 1568s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1568s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1568s # #endif 1568s # } 1568s # 1568s # static void 1568s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1568s # { 1568s # } 1568s # 1568s # /** 1568s # * org_project_signaling_iface_proxy_new: 1568s # * @connection: A #GDBusConnection. 1568s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1568s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1568s # * @object_path: An object path. 1568s # * @cancellable: (nullable): A #GCancellable or %NULL. 1568s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1568s # * @user_data: User data to pass to @callback. 1568s # * 1568s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1568s # * 1568s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1568s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1568s # * 1568s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1568s # */ 1568s # void 1568s # org_project_signaling_iface_proxy_new ( 1568s # GDBusConnection *connection, 1568s # GDBusProxyFlags flags, 1568s # const gchar *name, 1568s # const gchar *object_path, 1568s # GCancellable *cancellable, 1568s # GAsyncReadyCallback callback, 1568s # gpointer user_data) 1568s # { 1568s # 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); 1568s # } 1568s # 1568s # /** 1568s # * org_project_signaling_iface_proxy_new_finish: 1568s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1568s # * @error: Return location for error or %NULL 1568s # * 1568s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1568s # * 1568s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1568s # */ 1568s # OrgProjectSignalingIface * 1568s # org_project_signaling_iface_proxy_new_finish ( 1568s # GAsyncResult *res, 1568s # GError **error) 1568s # { 1568s # GObject *ret; 1568s # GObject *source_object; 1568s # source_object = g_async_result_get_source_object (res); 1568s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1568s # g_object_unref (source_object); 1568s # if (ret != NULL) 1568s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1568s # else 1568s # return NULL; 1568s # } 1568s # 1568s # /** 1568s # * org_project_signaling_iface_proxy_new_sync: 1568s # * @connection: A #GDBusConnection. 1568s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1568s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1568s # * @object_path: An object path. 1568s # * @cancellable: (nullable): A #GCancellable or %NULL. 1568s # * @error: Return location for error or %NULL 1568s # * 1568s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1568s # * 1568s # * The calling thread is blocked until a reply is received. 1568s # * 1568s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1568s # * 1568s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1568s # */ 1568s # OrgProjectSignalingIface * 1568s # org_project_signaling_iface_proxy_new_sync ( 1568s # GDBusConnection *connection, 1568s # GDBusProxyFlags flags, 1568s # const gchar *name, 1568s # const gchar *object_path, 1568s # GCancellable *cancellable, 1568s # GError **error) 1568s # { 1568s # GInitable *ret; 1568s # 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); 1568s # if (ret != NULL) 1568s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1568s # else 1568s # return NULL; 1568s # } 1568s # 1568s # 1568s # /** 1568s # * org_project_signaling_iface_proxy_new_for_bus: 1568s # * @bus_type: A #GBusType. 1568s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1568s # * @name: A bus name (well-known or unique). 1568s # * @object_path: An object path. 1568s # * @cancellable: (nullable): A #GCancellable or %NULL. 1568s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1568s # * @user_data: User data to pass to @callback. 1568s # * 1568s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1568s # * 1568s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1568s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1568s # * 1568s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1568s # */ 1568s # void 1568s # org_project_signaling_iface_proxy_new_for_bus ( 1568s # GBusType bus_type, 1568s # GDBusProxyFlags flags, 1568s # const gchar *name, 1568s # const gchar *object_path, 1568s # GCancellable *cancellable, 1568s # GAsyncReadyCallback callback, 1568s # gpointer user_data) 1568s # { 1568s # 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); 1568s # } 1568s # 1568s # /** 1568s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1568s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1568s # * @error: Return location for error or %NULL 1568s # * 1568s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1568s # * 1568s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1568s # */ 1568s # OrgProjectSignalingIface * 1568s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1568s # GAsyncResult *res, 1568s # GError **error) 1568s # { 1568s # GObject *ret; 1568s # GObject *source_object; 1568s # source_object = g_async_result_get_source_object (res); 1568s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1568s # g_object_unref (source_object); 1568s # if (ret != NULL) 1568s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1568s # else 1568s # return NULL; 1568s # } 1568s # 1568s # /** 1568s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1568s # * @bus_type: A #GBusType. 1568s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1568s # * @name: A bus name (well-known or unique). 1568s # * @object_path: An object path. 1568s # * @cancellable: (nullable): A #GCancellable or %NULL. 1568s # * @error: Return location for error or %NULL 1568s # * 1568s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1568s # * 1568s # * The calling thread is blocked until a reply is received. 1568s # * 1568s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1568s # * 1568s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1568s # */ 1568s # OrgProjectSignalingIface * 1568s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1568s # GBusType bus_type, 1568s # GDBusProxyFlags flags, 1568s # const gchar *name, 1568s # const gchar *object_path, 1568s # GCancellable *cancellable, 1568s # GError **error) 1568s # { 1568s # GInitable *ret; 1568s # 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); 1568s # if (ret != NULL) 1568s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1568s # else 1568s # return NULL; 1568s # } 1568s # 1568s # 1568s # /* ------------------------------------------------------------------------ */ 1568s # 1568s # /** 1568s # * OrgProjectSignalingIfaceSkeleton: 1568s # * 1568s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1568s # */ 1568s # 1568s # /** 1568s # * OrgProjectSignalingIfaceSkeletonClass: 1568s # * @parent_class: The parent class. 1568s # * 1568s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1568s # */ 1568s # 1568s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1568s # { 1568s # GValue *properties; 1568s # GList *changed_properties; 1568s # GSource *changed_properties_idle_source; 1568s # GMainContext *context; 1568s # GMutex lock; 1568s # }; 1568s # 1568s # static void 1568s # _org_project_signaling_iface_skeleton_handle_method_call ( 1568s # GDBusConnection *connection G_GNUC_UNUSED, 1568s # const gchar *sender G_GNUC_UNUSED, 1568s # const gchar *object_path G_GNUC_UNUSED, 1568s # const gchar *interface_name, 1568s # const gchar *method_name, 1568s # GVariant *parameters, 1568s # GDBusMethodInvocation *invocation, 1568s # gpointer user_data) 1568s # { 1568s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1568s # _ExtendedGDBusMethodInfo *info; 1568s # GVariantIter iter; 1568s # GVariant *child; 1568s # GValue *paramv; 1568s # gsize num_params; 1568s # guint num_extra; 1568s # gsize n; 1568s # guint signal_id; 1568s # GValue return_value = G_VALUE_INIT; 1568s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1568s # g_assert (info != NULL); 1568s # num_params = g_variant_n_children (parameters); 1568s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1568s # n = 0; 1568s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1568s # g_value_set_object (¶mv[n++], skeleton); 1568s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1568s # g_value_set_object (¶mv[n++], invocation); 1568s # if (info->pass_fdlist) 1568s # { 1568s # #ifdef G_OS_UNIX 1568s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1568s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1568s # #else 1568s # g_assert_not_reached (); 1568s # #endif 1568s # } 1568s # g_variant_iter_init (&iter, parameters); 1568s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1568s # { 1568s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1568s # if (arg_info->use_gvariant) 1568s # { 1568s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1568s # g_value_set_variant (¶mv[n], child); 1568s # n++; 1568s # } 1568s # else 1568s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1568s # g_variant_unref (child); 1568s # } 1568s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1568s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1568s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1568s # if (!g_value_get_boolean (&return_value)) 1568s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1568s # g_value_unset (&return_value); 1568s # for (n = 0; n < num_params + num_extra; n++) 1568s # g_value_unset (¶mv[n]); 1568s # g_free (paramv); 1568s # } 1568s # 1568s # static GVariant * 1568s # _org_project_signaling_iface_skeleton_handle_get_property ( 1568s # GDBusConnection *connection G_GNUC_UNUSED, 1568s # const gchar *sender G_GNUC_UNUSED, 1568s # const gchar *object_path G_GNUC_UNUSED, 1568s # const gchar *interface_name G_GNUC_UNUSED, 1568s # const gchar *property_name, 1568s # GError **error, 1568s # gpointer user_data) 1568s # { 1568s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1568s # GValue value = G_VALUE_INIT; 1568s # GParamSpec *pspec; 1568s # _ExtendedGDBusPropertyInfo *info; 1568s # GVariant *ret; 1568s # ret = NULL; 1568s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1568s # g_assert (info != NULL); 1568s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1568s # if (pspec == NULL) 1568s # { 1568s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1568s # } 1568s # else 1568s # { 1568s # g_value_init (&value, pspec->value_type); 1568s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1568s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1568s # g_value_unset (&value); 1568s # } 1568s # return ret; 1568s # } 1568s # 1568s # static gboolean 1568s # _org_project_signaling_iface_skeleton_handle_set_property ( 1568s # GDBusConnection *connection G_GNUC_UNUSED, 1568s # const gchar *sender G_GNUC_UNUSED, 1568s # const gchar *object_path G_GNUC_UNUSED, 1568s # const gchar *interface_name G_GNUC_UNUSED, 1568s # const gchar *property_name, 1568s # GVariant *variant, 1568s # GError **error, 1568s # gpointer user_data) 1568s # { 1568s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1568s # GValue value = G_VALUE_INIT; 1568s # GParamSpec *pspec; 1568s # _ExtendedGDBusPropertyInfo *info; 1568s # gboolean ret; 1568s # ret = FALSE; 1568s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1568s # g_assert (info != NULL); 1568s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1568s # if (pspec == NULL) 1568s # { 1568s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1568s # } 1568s # else 1568s # { 1568s # if (info->use_gvariant) 1568s # g_value_set_variant (&value, variant); 1568s # else 1568s # g_dbus_gvariant_to_gvalue (variant, &value); 1568s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1568s # g_value_unset (&value); 1568s # ret = TRUE; 1568s # } 1568s # return ret; 1568s # } 1568s # 1568s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1568s # { 1568s # _org_project_signaling_iface_skeleton_handle_method_call, 1568s # _org_project_signaling_iface_skeleton_handle_get_property, 1568s # _org_project_signaling_iface_skeleton_handle_set_property, 1568s # {NULL} 1568s # }; 1568s # 1568s # static GDBusInterfaceInfo * 1568s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1568s # { 1568s # return org_project_signaling_iface_interface_info (); 1568s # } 1568s # 1568s # static GDBusInterfaceVTable * 1568s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1568s # { 1568s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1568s # } 1568s # 1568s # static GVariant * 1568s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1568s # { 1568s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1568s # 1568s # GVariantBuilder builder; 1568s # guint n; 1568s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1568s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1568s # goto out; 1568s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1568s # { 1568s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1568s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1568s # { 1568s # GVariant *value; 1568s # 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); 1568s # if (value != NULL) 1568s # { 1568s # g_variant_take_ref (value); 1568s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1568s # g_variant_unref (value); 1568s # } 1568s # } 1568s # } 1568s # out: 1568s # return g_variant_builder_end (&builder); 1568s # } 1568s # 1568s # static void 1568s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1568s # { 1568s # } 1568s # 1568s # static void 1568s # _org_project_signaling_iface_on_signal_simple_signal ( 1568s # OrgProjectSignalingIface *object) 1568s # { 1568s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1568s # 1568s # GList *connections, *l; 1568s # GVariant *signal_variant; 1568s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1568s # 1568s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1568s # for (l = connections; l != NULL; l = l->next) 1568s # { 1568s # GDBusConnection *connection = l->data; 1568s # g_dbus_connection_emit_signal (connection, 1568s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 1568s # signal_variant, NULL); 1568s # } 1568s # g_variant_unref (signal_variant); 1568s # g_list_free_full (connections, g_object_unref); 1568s # } 1568s # 1568s # static void 1568s # _org_project_signaling_iface_on_signal_signal_with_many_args ( 1568s # OrgProjectSignalingIface *object, 1568s # gboolean arg_an_b, 1568s # guchar arg_an_y, 1568s # gint16 arg_an_n, 1568s # guint16 arg_an_q, 1568s # gint arg_an_i, 1568s # guint arg_an_u, 1568s # gint64 arg_an_x, 1568s # guint64 arg_an_t, 1568s # gdouble arg_an_d, 1568s # const gchar *arg_an_s, 1568s # const gchar *arg_an_o, 1568s # const gchar *arg_an_g, 1568s # GVariant *arg_an_h, 1568s # const gchar *arg_an_ay, 1568s # const gchar *const *arg_an_as, 1568s # const gchar *const *arg_an_ao, 1568s # const gchar *const *arg_an_aay, 1568s # GVariant *arg_an_asv) 1568s # { 1568s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1568s # 1568s # GList *connections, *l; 1568s # GVariant *signal_variant; 1568s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1568s # 1568s # signal_variant = g_variant_ref_sink (g_variant_new ("(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 1568s # arg_an_b, 1568s # arg_an_y, 1568s # arg_an_n, 1568s # arg_an_q, 1568s # arg_an_i, 1568s # arg_an_u, 1568s # arg_an_x, 1568s # arg_an_t, 1568s # arg_an_d, 1568s # arg_an_s, 1568s # arg_an_o, 1568s # arg_an_g, 1568s # arg_an_h, 1568s # arg_an_ay, 1568s # arg_an_as, 1568s # arg_an_ao, 1568s # arg_an_aay, 1568s # arg_an_asv)); 1568s # for (l = connections; l != NULL; l = l->next) 1568s # { 1568s # GDBusConnection *connection = l->data; 1568s # g_dbus_connection_emit_signal (connection, 1568s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SignalWithManyArgs", 1568s # signal_variant, NULL); 1568s # } 1568s # g_variant_unref (signal_variant); 1568s # g_list_free_full (connections, g_object_unref); 1568s # } 1568s # 1568s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1568s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1568s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1568s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1568s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1568s # 1568s # #else 1568s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1568s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1568s # 1568s # #endif 1568s # static void 1568s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1568s # { 1568s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1568s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1568s # if (skeleton->priv->changed_properties_idle_source != NULL) 1568s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1568s # g_main_context_unref (skeleton->priv->context); 1568s # g_mutex_clear (&skeleton->priv->lock); 1568s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1568s # } 1568s # 1568s # static void 1568s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1568s # { 1568s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1568s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1568s # #else 1568s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1568s # #endif 1568s # 1568s # g_mutex_init (&skeleton->priv->lock); 1568s # skeleton->priv->context = g_main_context_ref_thread_default (); 1568s # } 1568s # 1568s # static void 1568s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1568s # { 1568s # GObjectClass *gobject_class; 1568s # GDBusInterfaceSkeletonClass *skeleton_class; 1568s # 1568s # gobject_class = G_OBJECT_CLASS (klass); 1568s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1568s # 1568s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1568s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1568s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1568s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1568s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1568s # 1568s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1568s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1568s # #endif 1568s # } 1568s # 1568s # static void 1568s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1568s # { 1568s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 1568s # iface->signal_with_many_args = _org_project_signaling_iface_on_signal_signal_with_many_args; 1568s # } 1568s # 1568s # /** 1568s # * org_project_signaling_iface_skeleton_new: 1568s # * 1568s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1568s # * 1568s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1568s # */ 1568s # OrgProjectSignalingIface * 1568s # org_project_signaling_iface_skeleton_new (void) 1568s # { 1568s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1568s # } 1568s ok 25 __main__.TestCodegen.test_generate_valid_docbook 1568s # tmpdir: /tmp/tmplre4lmbn 1568s # codegen: /usr/bin/gdbus-codegen 1568s # /tmp/tmplre4lmbn/tmpatbvhhdi.xml: 1568s # 1568s # 1568s # 1568s # 1568s # 1568s # 1568s # 1568s # 1568s # 1568s # 1568s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmplre4lmbn/tmpatbvhhdi.xml', '--generate-docbook', 'test'] 1568s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-baqskmurxn,guid=fbaffe99d0ccb1f6e1beb84865fc01cd', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.YcZbqk/autopkgtest_tmp', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.YcZbqk/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.YcZbqk/autopkgtest_tmp', 'TERM': 'unknown', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.YcZbqk/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.sVTVMp0Db0', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.rqZsJO/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.YcZbqk/wrapper.sh --artifacts=/tmp/autopkgtest.YcZbqk/installed-tests-artifacts --chdir=/tmp/autopkgtest.YcZbqk/build.S0E/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.YcZbqk/installed-tests-stderr --stdout=/tmp/autopkgtest.YcZbqk/installed-tests-stdout --tmp=/tmp/autopkgtest.YcZbqk/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2' --make-executable=/tmp/autopkgtest.YcZbqk/build.S0E/src/debian/tests/installed-tests -- /tmp/autopkgtest.YcZbqk/build.S0E/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.YcZbqk/build.S0E/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.YcZbqk/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1568s # Output: 1568s ok 26 __main__.TestCodegen.test_glib_max_allowed_less_than_min_required 1568s # tmpdir: /tmp/tmph80gpb5v 1568s # codegen: /usr/bin/gdbus-codegen 1568s # /tmp/tmph80gpb5v/tmp8o38kcyy.xml: 1568s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmph80gpb5v/tmp8o38kcyy.xml', '--output', '-', '--body', '--glib-max-allowed', '2.62', '--glib-min-required', '2.64'] 1568s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-baqskmurxn,guid=fbaffe99d0ccb1f6e1beb84865fc01cd', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.YcZbqk/autopkgtest_tmp', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.YcZbqk/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.YcZbqk/autopkgtest_tmp', 'TERM': 'unknown', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.YcZbqk/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.sVTVMp0Db0', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.rqZsJO/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.YcZbqk/wrapper.sh --artifacts=/tmp/autopkgtest.YcZbqk/installed-tests-artifacts --chdir=/tmp/autopkgtest.YcZbqk/build.S0E/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.YcZbqk/installed-tests-stderr --stdout=/tmp/autopkgtest.YcZbqk/installed-tests-stdout --tmp=/tmp/autopkgtest.YcZbqk/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2' --make-executable=/tmp/autopkgtest.YcZbqk/build.S0E/src/debian/tests/installed-tests -- /tmp/autopkgtest.YcZbqk/build.S0E/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.YcZbqk/build.S0E/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.YcZbqk/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1568s ok 27 __main__.TestCodegen.test_glib_max_allowed_major_only 1568s # tmpdir: /tmp/tmpbhx2_lae 1568s # codegen: /usr/bin/gdbus-codegen 1568s # /tmp/tmpbhx2_lae/tmpza2ub_ds.xml: 1568s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpbhx2_lae/tmpza2ub_ds.xml', '--output', '-', '--header', '--glib-max-allowed', '3'] 1568s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-baqskmurxn,guid=fbaffe99d0ccb1f6e1beb84865fc01cd', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.YcZbqk/autopkgtest_tmp', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.YcZbqk/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.YcZbqk/autopkgtest_tmp', 'TERM': 'unknown', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.YcZbqk/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.sVTVMp0Db0', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.rqZsJO/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.YcZbqk/wrapper.sh --artifacts=/tmp/autopkgtest.YcZbqk/installed-tests-artifacts --chdir=/tmp/autopkgtest.YcZbqk/build.S0E/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.YcZbqk/installed-tests-stderr --stdout=/tmp/autopkgtest.YcZbqk/installed-tests-stdout --tmp=/tmp/autopkgtest.YcZbqk/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2' --make-executable=/tmp/autopkgtest.YcZbqk/build.S0E/src/debian/tests/installed-tests -- /tmp/autopkgtest.YcZbqk/build.S0E/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.YcZbqk/build.S0E/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.YcZbqk/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1568s # Output: /* 1568s # * This file is generated by gdbus-codegen, do not modify it. 1568s # * 1568s # * The license of this code is the same as for the D-Bus interface description 1568s # * it was derived from. Note that it links to GLib, so must comply with the 1568s # * LGPL linking clauses. 1568s # */ 1568s # 1568s # #ifndef __STDOUT__ 1568s # #define __STDOUT__ 1568s # 1568s # #include 1568s # 1568s # G_BEGIN_DECLS 1568s # 1568s # 1568s # G_END_DECLS 1568s # 1568s # #endif /* __STDOUT__ */ 1568s ok 28 __main__.TestCodegen.test_glib_max_allowed_too_low 1568s # tmpdir: /tmp/tmpiux8f43c 1568s # codegen: /usr/bin/gdbus-codegen 1568s # /tmp/tmpiux8f43c/tmpmb9xilg1.xml: 1568s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpiux8f43c/tmpmb9xilg1.xml', '--output', '-', '--body', '--glib-max-allowed', '2.6'] 1568s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-baqskmurxn,guid=fbaffe99d0ccb1f6e1beb84865fc01cd', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.YcZbqk/autopkgtest_tmp', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.YcZbqk/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.YcZbqk/autopkgtest_tmp', 'TERM': 'unknown', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.YcZbqk/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.sVTVMp0Db0', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.rqZsJO/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.YcZbqk/wrapper.sh --artifacts=/tmp/autopkgtest.YcZbqk/installed-tests-artifacts --chdir=/tmp/autopkgtest.YcZbqk/build.S0E/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.YcZbqk/installed-tests-stderr --stdout=/tmp/autopkgtest.YcZbqk/installed-tests-stdout --tmp=/tmp/autopkgtest.YcZbqk/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2' --make-executable=/tmp/autopkgtest.YcZbqk/build.S0E/src/debian/tests/installed-tests -- /tmp/autopkgtest.YcZbqk/build.S0E/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.YcZbqk/build.S0E/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.YcZbqk/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1568s ok 29 __main__.TestCodegen.test_glib_max_allowed_unstable 1568s # tmpdir: /tmp/tmp9fogwujq 1568s # codegen: /usr/bin/gdbus-codegen 1568s # /tmp/tmp9fogwujq/tmph215gvzf.xml: 1568s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp9fogwujq/tmph215gvzf.xml', '--output', '-', '--header', '--glib-max-allowed', '2.63', '--glib-min-required', '2.64'] 1568s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-baqskmurxn,guid=fbaffe99d0ccb1f6e1beb84865fc01cd', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.YcZbqk/autopkgtest_tmp', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.YcZbqk/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.YcZbqk/autopkgtest_tmp', 'TERM': 'unknown', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.YcZbqk/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.sVTVMp0Db0', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.rqZsJO/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.YcZbqk/wrapper.sh --artifacts=/tmp/autopkgtest.YcZbqk/installed-tests-artifacts --chdir=/tmp/autopkgtest.YcZbqk/build.S0E/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.YcZbqk/installed-tests-stderr --stdout=/tmp/autopkgtest.YcZbqk/installed-tests-stdout --tmp=/tmp/autopkgtest.YcZbqk/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2' --make-executable=/tmp/autopkgtest.YcZbqk/build.S0E/src/debian/tests/installed-tests -- /tmp/autopkgtest.YcZbqk/build.S0E/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.YcZbqk/build.S0E/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.YcZbqk/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1568s # Output: /* 1568s # * This file is generated by gdbus-codegen, do not modify it. 1568s # * 1568s # * The license of this code is the same as for the D-Bus interface description 1568s # * it was derived from. Note that it links to GLib, so must comply with the 1568s # * LGPL linking clauses. 1568s # */ 1568s # 1568s # #ifndef __STDOUT__ 1568s # #define __STDOUT__ 1568s # 1568s # #include 1568s # 1568s # G_BEGIN_DECLS 1568s # 1568s # 1568s # G_END_DECLS 1568s # 1568s # #endif /* __STDOUT__ */ 1569s ok 30 __main__.TestCodegen.test_glib_max_allowed_with_micro 1569s # tmpdir: /tmp/tmpimd5vej9 1569s # codegen: /usr/bin/gdbus-codegen 1569s # /tmp/tmpimd5vej9/tmpsbt8swph.xml: 1569s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpimd5vej9/tmpsbt8swph.xml', '--output', '-', '--header', '--glib-max-allowed', '2.46.2'] 1569s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-baqskmurxn,guid=fbaffe99d0ccb1f6e1beb84865fc01cd', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.YcZbqk/autopkgtest_tmp', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.YcZbqk/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.YcZbqk/autopkgtest_tmp', 'TERM': 'unknown', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.YcZbqk/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.sVTVMp0Db0', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.rqZsJO/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.YcZbqk/wrapper.sh --artifacts=/tmp/autopkgtest.YcZbqk/installed-tests-artifacts --chdir=/tmp/autopkgtest.YcZbqk/build.S0E/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.YcZbqk/installed-tests-stderr --stdout=/tmp/autopkgtest.YcZbqk/installed-tests-stdout --tmp=/tmp/autopkgtest.YcZbqk/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2' --make-executable=/tmp/autopkgtest.YcZbqk/build.S0E/src/debian/tests/installed-tests -- /tmp/autopkgtest.YcZbqk/build.S0E/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.YcZbqk/build.S0E/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.YcZbqk/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1569s # Output: /* 1569s # * This file is generated by gdbus-codegen, do not modify it. 1569s # * 1569s # * The license of this code is the same as for the D-Bus interface description 1569s # * it was derived from. Note that it links to GLib, so must comply with the 1569s # * LGPL linking clauses. 1569s # */ 1569s # 1569s # #ifndef __STDOUT__ 1569s # #define __STDOUT__ 1569s # 1569s # #include 1569s # 1569s # G_BEGIN_DECLS 1569s # 1569s # 1569s # G_END_DECLS 1569s # 1569s # #endif /* __STDOUT__ */ 1569s ok 31 __main__.TestCodegen.test_glib_min_required_invalid 1569s # tmpdir: /tmp/tmpj550uezy 1569s # codegen: /usr/bin/gdbus-codegen 1569s # /tmp/tmpj550uezy/tmpwsymwo43.xml: 1569s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpj550uezy/tmpwsymwo43.xml', '--output', '-', '--body', '--glib-min-required', 'hello mum'] 1569s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-baqskmurxn,guid=fbaffe99d0ccb1f6e1beb84865fc01cd', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.YcZbqk/autopkgtest_tmp', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.YcZbqk/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.YcZbqk/autopkgtest_tmp', 'TERM': 'unknown', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.YcZbqk/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.sVTVMp0Db0', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.rqZsJO/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.YcZbqk/wrapper.sh --artifacts=/tmp/autopkgtest.YcZbqk/installed-tests-artifacts --chdir=/tmp/autopkgtest.YcZbqk/build.S0E/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.YcZbqk/installed-tests-stderr --stdout=/tmp/autopkgtest.YcZbqk/installed-tests-stdout --tmp=/tmp/autopkgtest.YcZbqk/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2' --make-executable=/tmp/autopkgtest.YcZbqk/build.S0E/src/debian/tests/installed-tests -- /tmp/autopkgtest.YcZbqk/build.S0E/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.YcZbqk/build.S0E/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.YcZbqk/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1569s ok 32 __main__.TestCodegen.test_glib_min_required_major_only 1569s # tmpdir: /tmp/tmpxh7ank0d 1569s # codegen: /usr/bin/gdbus-codegen 1569s # /tmp/tmpxh7ank0d/tmpro3_ch56.xml: 1569s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpxh7ank0d/tmpro3_ch56.xml', '--output', '-', '--header', '--glib-min-required', '3', '--glib-max-allowed', '3.2'] 1569s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-baqskmurxn,guid=fbaffe99d0ccb1f6e1beb84865fc01cd', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.YcZbqk/autopkgtest_tmp', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.YcZbqk/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.YcZbqk/autopkgtest_tmp', 'TERM': 'unknown', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.YcZbqk/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.sVTVMp0Db0', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.rqZsJO/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.YcZbqk/wrapper.sh --artifacts=/tmp/autopkgtest.YcZbqk/installed-tests-artifacts --chdir=/tmp/autopkgtest.YcZbqk/build.S0E/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.YcZbqk/installed-tests-stderr --stdout=/tmp/autopkgtest.YcZbqk/installed-tests-stdout --tmp=/tmp/autopkgtest.YcZbqk/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2' --make-executable=/tmp/autopkgtest.YcZbqk/build.S0E/src/debian/tests/installed-tests -- /tmp/autopkgtest.YcZbqk/build.S0E/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.YcZbqk/build.S0E/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.YcZbqk/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1569s # Output: /* 1569s # * This file is generated by gdbus-codegen, do not modify it. 1569s # * 1569s # * The license of this code is the same as for the D-Bus interface description 1569s # * it was derived from. Note that it links to GLib, so must comply with the 1569s # * LGPL linking clauses. 1569s # */ 1569s # 1569s # #ifndef __STDOUT__ 1569s # #define __STDOUT__ 1569s # 1569s # #include 1569s # 1569s # G_BEGIN_DECLS 1569s # 1569s # 1569s # G_END_DECLS 1569s # 1569s # #endif /* __STDOUT__ */ 1569s ok 33 __main__.TestCodegen.test_glib_min_required_too_low 1569s # tmpdir: /tmp/tmp1elxdfrz 1569s # codegen: /usr/bin/gdbus-codegen 1569s # /tmp/tmp1elxdfrz/tmp_08cpu_r.xml: 1569s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp1elxdfrz/tmp_08cpu_r.xml', '--output', '-', '--body', '--glib-min-required', '2.6'] 1569s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-baqskmurxn,guid=fbaffe99d0ccb1f6e1beb84865fc01cd', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.YcZbqk/autopkgtest_tmp', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.YcZbqk/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.YcZbqk/autopkgtest_tmp', 'TERM': 'unknown', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.YcZbqk/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.sVTVMp0Db0', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.rqZsJO/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.YcZbqk/wrapper.sh --artifacts=/tmp/autopkgtest.YcZbqk/installed-tests-artifacts --chdir=/tmp/autopkgtest.YcZbqk/build.S0E/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.YcZbqk/installed-tests-stderr --stdout=/tmp/autopkgtest.YcZbqk/installed-tests-stdout --tmp=/tmp/autopkgtest.YcZbqk/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2' --make-executable=/tmp/autopkgtest.YcZbqk/build.S0E/src/debian/tests/installed-tests -- /tmp/autopkgtest.YcZbqk/build.S0E/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.YcZbqk/build.S0E/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.YcZbqk/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1569s ok 34 __main__.TestCodegen.test_glib_min_required_with_micro 1569s # tmpdir: /tmp/tmp3qo5kg09 1569s # codegen: /usr/bin/gdbus-codegen 1569s # /tmp/tmp3qo5kg09/tmp5zt1l0fb.xml: 1569s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp3qo5kg09/tmp5zt1l0fb.xml', '--output', '-', '--header', '--glib-min-required', '2.46.2'] 1569s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-baqskmurxn,guid=fbaffe99d0ccb1f6e1beb84865fc01cd', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.YcZbqk/autopkgtest_tmp', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.YcZbqk/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.YcZbqk/autopkgtest_tmp', 'TERM': 'unknown', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.YcZbqk/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.sVTVMp0Db0', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.rqZsJO/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.YcZbqk/wrapper.sh --artifacts=/tmp/autopkgtest.YcZbqk/installed-tests-artifacts --chdir=/tmp/autopkgtest.YcZbqk/build.S0E/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.YcZbqk/installed-tests-stderr --stdout=/tmp/autopkgtest.YcZbqk/installed-tests-stdout --tmp=/tmp/autopkgtest.YcZbqk/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2' --make-executable=/tmp/autopkgtest.YcZbqk/build.S0E/src/debian/tests/installed-tests -- /tmp/autopkgtest.YcZbqk/build.S0E/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.YcZbqk/build.S0E/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.YcZbqk/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1569s # Output: /* 1569s # * This file is generated by gdbus-codegen, do not modify it. 1569s # * 1569s # * The license of this code is the same as for the D-Bus interface description 1569s # * it was derived from. Note that it links to GLib, so must comply with the 1569s # * LGPL linking clauses. 1569s # */ 1569s # 1569s # #ifndef __STDOUT__ 1569s # #define __STDOUT__ 1569s # 1569s # #include 1569s # 1569s # G_BEGIN_DECLS 1569s # 1569s # 1569s # G_END_DECLS 1569s # 1569s # #endif /* __STDOUT__ */ 1569s ok 35 __main__.TestCodegen.test_help 1569s # tmpdir: /tmp/tmp7asvkok1 1569s # codegen: /usr/bin/gdbus-codegen 1569s # Running: ['/usr/bin/gdbus-codegen', '--help'] 1569s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-baqskmurxn,guid=fbaffe99d0ccb1f6e1beb84865fc01cd', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.YcZbqk/autopkgtest_tmp', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.YcZbqk/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.YcZbqk/autopkgtest_tmp', 'TERM': 'unknown', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.YcZbqk/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.sVTVMp0Db0', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.rqZsJO/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.YcZbqk/wrapper.sh --artifacts=/tmp/autopkgtest.YcZbqk/installed-tests-artifacts --chdir=/tmp/autopkgtest.YcZbqk/build.S0E/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.YcZbqk/installed-tests-stderr --stdout=/tmp/autopkgtest.YcZbqk/installed-tests-stdout --tmp=/tmp/autopkgtest.YcZbqk/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2' --make-executable=/tmp/autopkgtest.YcZbqk/build.S0E/src/debian/tests/installed-tests -- /tmp/autopkgtest.YcZbqk/build.S0E/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.YcZbqk/build.S0E/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.YcZbqk/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1569s # Output: usage: gdbus-codegen [-h] [--interface-prefix PREFIX] 1569s # [--c-namespace NAMESPACE] [--c-generate-object-manager] 1569s # [--c-generate-autocleanup {none,objects,all}] 1569s # [--generate-docbook OUTFILES] [--generate-md OUTFILES] 1569s # [--generate-rst OUTFILES] [--pragma-once] 1569s # [--annotate WHAT KEY VALUE WHAT KEY VALUE WHAT KEY VALUE] 1569s # [--glib-min-required VERSION] 1569s # [--glib-max-allowed VERSION] 1569s # [--symbol-decorator SYMBOL_DECORATOR] 1569s # [--symbol-decorator-header SYMBOL_DECORATOR_HEADER] 1569s # [--symbol-decorator-define SYMBOL_DECORATOR_DEFINE] 1569s # [--generate-c-code OUTFILES | --header | --body | --interface-info-header | --interface-info-body] 1569s # [--output FILE | --output-directory OUTDIR] 1569s # FILE [FILE ...] 1569s # 1569s # D-Bus code and documentation generator 1569s # 1569s # positional arguments: 1569s # FILE D-Bus introspection XML file 1569s # 1569s # options: 1569s # -h, --help show this help message and exit 1569s # --interface-prefix PREFIX 1569s # String to strip from D-Bus interface names for code 1569s # and docs 1569s # --c-namespace NAMESPACE 1569s # The namespace to use for generated C code 1569s # --c-generate-object-manager 1569s # Generate a GDBusObjectManagerClient subclass when 1569s # generating C code 1569s # --c-generate-autocleanup {none,objects,all} 1569s # Generate autocleanup support 1569s # --generate-docbook OUTFILES 1569s # Generate Docbook in OUTFILES-org.Project.IFace.xml 1569s # --generate-md OUTFILES 1569s # Generate Markdown in OUTFILES-org.Project.IFace.md 1569s # --generate-rst OUTFILES 1569s # Generate reStructuredText in OUTFILES- 1569s # org.Project.IFace.rst 1569s # --pragma-once Use "pragma once" as the inclusion guard 1569s # --annotate WHAT KEY VALUE WHAT KEY VALUE WHAT KEY VALUE 1569s # Add annotation (may be used several times) 1569s # --glib-min-required VERSION 1569s # Minimum version of GLib to be supported by the 1569s # outputted code (default: 2.30) 1569s # --glib-max-allowed VERSION 1569s # Maximum version of GLib to be used by the outputted 1569s # code (default: current GLib version) 1569s # --symbol-decorator SYMBOL_DECORATOR 1569s # Macro used to decorate a symbol in the outputted 1569s # header, possibly to export symbols 1569s # --symbol-decorator-header SYMBOL_DECORATOR_HEADER 1569s # Additional header required for decorator specified by 1569s # --symbol-decorator 1569s # --symbol-decorator-define SYMBOL_DECORATOR_DEFINE 1569s # Additional define required for decorator specified by 1569s # --symbol-decorator 1569s # --generate-c-code OUTFILES 1569s # Generate C code in OUTFILES.[ch] 1569s # --header Generate C headers 1569s # --body Generate C code 1569s # --interface-info-header 1569s # Generate GDBusInterfaceInfo C header 1569s # --interface-info-body 1569s # Generate GDBusInterfaceInfo C code 1569s # --output FILE Write output into the specified file 1569s # --output-directory OUTDIR 1569s # Location to output generated files 1569s ok 36 __main__.TestCodegen.test_indentation_preservation_in_comments 1569s # tmpdir: /tmp/tmpisrzgbww 1569s # codegen: /usr/bin/gdbus-codegen 1569s # /tmp/tmpisrzgbww/tmp7dhp5xvt.xml: 1569s # 1569s # 1569s # 1569s # 1569s # 1569s # 1569s # 1569s # 1569s # 1569s # 1569s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpisrzgbww/tmp7dhp5xvt.xml', '--generate-rst', 'test'] 1569s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-baqskmurxn,guid=fbaffe99d0ccb1f6e1beb84865fc01cd', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.YcZbqk/autopkgtest_tmp', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.YcZbqk/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.YcZbqk/autopkgtest_tmp', 'TERM': 'unknown', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.YcZbqk/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.sVTVMp0Db0', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.rqZsJO/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.YcZbqk/wrapper.sh --artifacts=/tmp/autopkgtest.YcZbqk/installed-tests-artifacts --chdir=/tmp/autopkgtest.YcZbqk/build.S0E/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.YcZbqk/installed-tests-stderr --stdout=/tmp/autopkgtest.YcZbqk/installed-tests-stdout --tmp=/tmp/autopkgtest.YcZbqk/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2' --make-executable=/tmp/autopkgtest.YcZbqk/build.S0E/src/debian/tests/installed-tests -- /tmp/autopkgtest.YcZbqk/build.S0E/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.YcZbqk/build.S0E/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.YcZbqk/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1569s # Output: 1569s # /tmp/tmpisrzgbww/tmp5ajou4sm.xml: 1569s # 1569s # 1569s # 1569s # 1569s # 1569s # 1569s # 1569s # 1569s # 1569s # 1569s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpisrzgbww/tmp5ajou4sm.xml', '--generate-md', 'test'] 1569s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-baqskmurxn,guid=fbaffe99d0ccb1f6e1beb84865fc01cd', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.YcZbqk/autopkgtest_tmp', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.YcZbqk/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.YcZbqk/autopkgtest_tmp', 'TERM': 'unknown', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.YcZbqk/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.sVTVMp0Db0', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.rqZsJO/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.YcZbqk/wrapper.sh --artifacts=/tmp/autopkgtest.YcZbqk/installed-tests-artifacts --chdir=/tmp/autopkgtest.YcZbqk/build.S0E/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.YcZbqk/installed-tests-stderr --stdout=/tmp/autopkgtest.YcZbqk/installed-tests-stdout --tmp=/tmp/autopkgtest.YcZbqk/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2' --make-executable=/tmp/autopkgtest.YcZbqk/build.S0E/src/debian/tests/installed-tests -- /tmp/autopkgtest.YcZbqk/build.S0E/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.YcZbqk/build.S0E/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.YcZbqk/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1569s # Output: 1569s # /tmp/tmpisrzgbww/tmpw3kk0i0x.xml: 1569s # 1569s # 1569s # 1569s # 1569s # 1569s # 1569s # 1569s # 1569s # 1569s # 1569s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpisrzgbww/tmpw3kk0i0x.xml', '--generate-docbook', 'test'] 1569s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-baqskmurxn,guid=fbaffe99d0ccb1f6e1beb84865fc01cd', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.YcZbqk/autopkgtest_tmp', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.YcZbqk/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.YcZbqk/autopkgtest_tmp', 'TERM': 'unknown', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.YcZbqk/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.sVTVMp0Db0', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.rqZsJO/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.YcZbqk/wrapper.sh --artifacts=/tmp/autopkgtest.YcZbqk/installed-tests-artifacts --chdir=/tmp/autopkgtest.YcZbqk/build.S0E/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.YcZbqk/installed-tests-stderr --stdout=/tmp/autopkgtest.YcZbqk/installed-tests-stdout --tmp=/tmp/autopkgtest.YcZbqk/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2' --make-executable=/tmp/autopkgtest.YcZbqk/build.S0E/src/debian/tests/installed-tests -- /tmp/autopkgtest.YcZbqk/build.S0E/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.YcZbqk/build.S0E/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.YcZbqk/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1569s # Output: 1569s ok 37 __main__.TestCodegen.test_no_args 1569s # tmpdir: /tmp/tmpeknthrqs 1569s # codegen: /usr/bin/gdbus-codegen 1569s # Running: ['/usr/bin/gdbus-codegen'] 1569s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-baqskmurxn,guid=fbaffe99d0ccb1f6e1beb84865fc01cd', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.YcZbqk/autopkgtest_tmp', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.YcZbqk/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.YcZbqk/autopkgtest_tmp', 'TERM': 'unknown', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.YcZbqk/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.sVTVMp0Db0', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.rqZsJO/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.YcZbqk/wrapper.sh --artifacts=/tmp/autopkgtest.YcZbqk/installed-tests-artifacts --chdir=/tmp/autopkgtest.YcZbqk/build.S0E/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.YcZbqk/installed-tests-stderr --stdout=/tmp/autopkgtest.YcZbqk/installed-tests-stdout --tmp=/tmp/autopkgtest.YcZbqk/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2' --make-executable=/tmp/autopkgtest.YcZbqk/build.S0E/src/debian/tests/installed-tests -- /tmp/autopkgtest.YcZbqk/build.S0E/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.YcZbqk/build.S0E/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.YcZbqk/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1569s ok 38 __main__.TestCodegen.test_reproducible 1569s # tmpdir: /tmp/tmp6wm6xagk 1569s # codegen: /usr/bin/gdbus-codegen 1569s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp6wm6xagk/tmpob1_rmvj1.xml', '/tmp/tmp6wm6xagk/tmp01f8tf2w2.xml', '--output', '-', '--header'] 1569s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-baqskmurxn,guid=fbaffe99d0ccb1f6e1beb84865fc01cd', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.YcZbqk/autopkgtest_tmp', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.YcZbqk/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.YcZbqk/autopkgtest_tmp', 'TERM': 'unknown', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.YcZbqk/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.sVTVMp0Db0', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.rqZsJO/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.YcZbqk/wrapper.sh --artifacts=/tmp/autopkgtest.YcZbqk/installed-tests-artifacts --chdir=/tmp/autopkgtest.YcZbqk/build.S0E/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.YcZbqk/installed-tests-stderr --stdout=/tmp/autopkgtest.YcZbqk/installed-tests-stdout --tmp=/tmp/autopkgtest.YcZbqk/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2' --make-executable=/tmp/autopkgtest.YcZbqk/build.S0E/src/debian/tests/installed-tests -- /tmp/autopkgtest.YcZbqk/build.S0E/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.YcZbqk/build.S0E/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.YcZbqk/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1569s # Output: /* 1569s # * This file is generated by gdbus-codegen, do not modify it. 1569s # * 1569s # * The license of this code is the same as for the D-Bus interface description 1569s # * it was derived from. Note that it links to GLib, so must comply with the 1569s # * LGPL linking clauses. 1569s # */ 1569s # 1569s # #ifndef __STDOUT__ 1569s # #define __STDOUT__ 1569s # 1569s # #include 1569s # 1569s # G_BEGIN_DECLS 1569s # 1569s # 1569s # /* ------------------------------------------------------------------------ */ 1569s # /* Declarations for org.project.Bar.Frobnicator */ 1569s # 1569s # #define TYPE_ORG_PROJECT_BAR_FROBNICATOR (org_project_bar_frobnicator_get_type ()) 1569s # #define ORG_PROJECT_BAR_FROBNICATOR(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR, OrgProjectBarFrobnicator)) 1569s # #define IS_ORG_PROJECT_BAR_FROBNICATOR(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR)) 1569s # #define ORG_PROJECT_BAR_FROBNICATOR_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR, OrgProjectBarFrobnicatorIface)) 1569s # 1569s # struct _OrgProjectBarFrobnicator; 1569s # typedef struct _OrgProjectBarFrobnicator OrgProjectBarFrobnicator; 1569s # typedef struct _OrgProjectBarFrobnicatorIface OrgProjectBarFrobnicatorIface; 1569s # 1569s # struct _OrgProjectBarFrobnicatorIface 1569s # { 1569s # GTypeInterface parent_iface; 1569s # 1569s # gboolean (*handle_random_method) ( 1569s # OrgProjectBarFrobnicator *object, 1569s # GDBusMethodInvocation *invocation); 1569s # 1569s # }; 1569s # 1569s # GType org_project_bar_frobnicator_get_type (void) G_GNUC_CONST; 1569s # 1569s # GDBusInterfaceInfo *org_project_bar_frobnicator_interface_info (void); 1569s # guint org_project_bar_frobnicator_override_properties (GObjectClass *klass, guint property_id_begin); 1569s # 1569s # 1569s # /* D-Bus method call completion functions: */ 1569s # void org_project_bar_frobnicator_complete_random_method ( 1569s # OrgProjectBarFrobnicator *object, 1569s # GDBusMethodInvocation *invocation); 1569s # 1569s # 1569s # 1569s # /* D-Bus method calls: */ 1569s # void org_project_bar_frobnicator_call_random_method ( 1569s # OrgProjectBarFrobnicator *proxy, 1569s # GCancellable *cancellable, 1569s # GAsyncReadyCallback callback, 1569s # gpointer user_data); 1569s # 1569s # gboolean org_project_bar_frobnicator_call_random_method_finish ( 1569s # OrgProjectBarFrobnicator *proxy, 1569s # GAsyncResult *res, 1569s # GError **error); 1569s # 1569s # gboolean org_project_bar_frobnicator_call_random_method_sync ( 1569s # OrgProjectBarFrobnicator *proxy, 1569s # GCancellable *cancellable, 1569s # GError **error); 1569s # 1569s # 1569s # 1569s # /* ---- */ 1569s # 1569s # #define TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY (org_project_bar_frobnicator_proxy_get_type ()) 1569s # #define ORG_PROJECT_BAR_FROBNICATOR_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY, OrgProjectBarFrobnicatorProxy)) 1569s # #define ORG_PROJECT_BAR_FROBNICATOR_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY, OrgProjectBarFrobnicatorProxyClass)) 1569s # #define ORG_PROJECT_BAR_FROBNICATOR_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY, OrgProjectBarFrobnicatorProxyClass)) 1569s # #define IS_ORG_PROJECT_BAR_FROBNICATOR_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY)) 1569s # #define IS_ORG_PROJECT_BAR_FROBNICATOR_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY)) 1569s # 1569s # typedef struct _OrgProjectBarFrobnicatorProxy OrgProjectBarFrobnicatorProxy; 1569s # typedef struct _OrgProjectBarFrobnicatorProxyClass OrgProjectBarFrobnicatorProxyClass; 1569s # typedef struct _OrgProjectBarFrobnicatorProxyPrivate OrgProjectBarFrobnicatorProxyPrivate; 1569s # 1569s # struct _OrgProjectBarFrobnicatorProxy 1569s # { 1569s # /*< private >*/ 1569s # GDBusProxy parent_instance; 1569s # OrgProjectBarFrobnicatorProxyPrivate *priv; 1569s # }; 1569s # 1569s # struct _OrgProjectBarFrobnicatorProxyClass 1569s # { 1569s # GDBusProxyClass parent_class; 1569s # }; 1569s # 1569s # GType org_project_bar_frobnicator_proxy_get_type (void) G_GNUC_CONST; 1569s # 1569s # #if GLIB_CHECK_VERSION(2, 44, 0) 1569s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectBarFrobnicatorProxy, g_object_unref) 1569s # #endif 1569s # 1569s # void org_project_bar_frobnicator_proxy_new ( 1569s # GDBusConnection *connection, 1569s # GDBusProxyFlags flags, 1569s # const gchar *name, 1569s # const gchar *object_path, 1569s # GCancellable *cancellable, 1569s # GAsyncReadyCallback callback, 1569s # gpointer user_data); 1569s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_proxy_new_finish ( 1569s # GAsyncResult *res, 1569s # GError **error); 1569s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_proxy_new_sync ( 1569s # GDBusConnection *connection, 1569s # GDBusProxyFlags flags, 1569s # const gchar *name, 1569s # const gchar *object_path, 1569s # GCancellable *cancellable, 1569s # GError **error); 1569s # 1569s # void org_project_bar_frobnicator_proxy_new_for_bus ( 1569s # GBusType bus_type, 1569s # GDBusProxyFlags flags, 1569s # const gchar *name, 1569s # const gchar *object_path, 1569s # GCancellable *cancellable, 1569s # GAsyncReadyCallback callback, 1569s # gpointer user_data); 1569s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_proxy_new_for_bus_finish ( 1569s # GAsyncResult *res, 1569s # GError **error); 1569s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_proxy_new_for_bus_sync ( 1569s # GBusType bus_type, 1569s # GDBusProxyFlags flags, 1569s # const gchar *name, 1569s # const gchar *object_path, 1569s # GCancellable *cancellable, 1569s # GError **error); 1569s # 1569s # 1569s # /* ---- */ 1569s # 1569s # #define TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON (org_project_bar_frobnicator_skeleton_get_type ()) 1569s # #define ORG_PROJECT_BAR_FROBNICATOR_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, OrgProjectBarFrobnicatorSkeleton)) 1569s # #define ORG_PROJECT_BAR_FROBNICATOR_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, OrgProjectBarFrobnicatorSkeletonClass)) 1569s # #define ORG_PROJECT_BAR_FROBNICATOR_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, OrgProjectBarFrobnicatorSkeletonClass)) 1569s # #define IS_ORG_PROJECT_BAR_FROBNICATOR_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON)) 1569s # #define IS_ORG_PROJECT_BAR_FROBNICATOR_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON)) 1569s # 1569s # typedef struct _OrgProjectBarFrobnicatorSkeleton OrgProjectBarFrobnicatorSkeleton; 1569s # typedef struct _OrgProjectBarFrobnicatorSkeletonClass OrgProjectBarFrobnicatorSkeletonClass; 1569s # typedef struct _OrgProjectBarFrobnicatorSkeletonPrivate OrgProjectBarFrobnicatorSkeletonPrivate; 1569s # 1569s # struct _OrgProjectBarFrobnicatorSkeleton 1569s # { 1569s # /*< private >*/ 1569s # GDBusInterfaceSkeleton parent_instance; 1569s # OrgProjectBarFrobnicatorSkeletonPrivate *priv; 1569s # }; 1569s # 1569s # struct _OrgProjectBarFrobnicatorSkeletonClass 1569s # { 1569s # GDBusInterfaceSkeletonClass parent_class; 1569s # }; 1569s # 1569s # GType org_project_bar_frobnicator_skeleton_get_type (void) G_GNUC_CONST; 1569s # 1569s # #if GLIB_CHECK_VERSION(2, 44, 0) 1569s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectBarFrobnicatorSkeleton, g_object_unref) 1569s # #endif 1569s # 1569s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_skeleton_new (void); 1569s # 1569s # 1569s # /* ------------------------------------------------------------------------ */ 1569s # /* Declarations for com.acme.Coyote */ 1569s # 1569s # #define TYPE_COM_ACME_COYOTE (com_acme_coyote_get_type ()) 1569s # #define COM_ACME_COYOTE(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_COM_ACME_COYOTE, ComAcmeCoyote)) 1569s # #define IS_COM_ACME_COYOTE(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_COM_ACME_COYOTE)) 1569s # #define COM_ACME_COYOTE_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_COM_ACME_COYOTE, ComAcmeCoyoteIface)) 1569s # 1569s # struct _ComAcmeCoyote; 1569s # typedef struct _ComAcmeCoyote ComAcmeCoyote; 1569s # typedef struct _ComAcmeCoyoteIface ComAcmeCoyoteIface; 1569s # 1569s # struct _ComAcmeCoyoteIface 1569s # { 1569s # GTypeInterface parent_iface; 1569s # 1569s # 1569s # 1569s # gboolean (*handle_attack) ( 1569s # ComAcmeCoyote *object, 1569s # GDBusMethodInvocation *invocation); 1569s # 1569s # gboolean (*handle_run) ( 1569s # ComAcmeCoyote *object, 1569s # GDBusMethodInvocation *invocation); 1569s # 1569s # gboolean (*handle_sleep) ( 1569s # ComAcmeCoyote *object, 1569s # GDBusMethodInvocation *invocation); 1569s # 1569s # const gchar * (*get_mood) (ComAcmeCoyote *object); 1569s # 1569s # void (*surprised) ( 1569s # ComAcmeCoyote *object); 1569s # 1569s # }; 1569s # 1569s # GType com_acme_coyote_get_type (void) G_GNUC_CONST; 1569s # 1569s # GDBusInterfaceInfo *com_acme_coyote_interface_info (void); 1569s # guint com_acme_coyote_override_properties (GObjectClass *klass, guint property_id_begin); 1569s # 1569s # 1569s # /* D-Bus method call completion functions: */ 1569s # void com_acme_coyote_complete_run ( 1569s # ComAcmeCoyote *object, 1569s # GDBusMethodInvocation *invocation); 1569s # 1569s # void com_acme_coyote_complete_sleep ( 1569s # ComAcmeCoyote *object, 1569s # GDBusMethodInvocation *invocation); 1569s # 1569s # void com_acme_coyote_complete_attack ( 1569s # ComAcmeCoyote *object, 1569s # GDBusMethodInvocation *invocation); 1569s # 1569s # 1569s # 1569s # /* D-Bus signal emissions functions: */ 1569s # void com_acme_coyote_emit_surprised ( 1569s # ComAcmeCoyote *object); 1569s # 1569s # 1569s # 1569s # /* D-Bus method calls: */ 1569s # void com_acme_coyote_call_run ( 1569s # ComAcmeCoyote *proxy, 1569s # GCancellable *cancellable, 1569s # GAsyncReadyCallback callback, 1569s # gpointer user_data); 1569s # 1569s # gboolean com_acme_coyote_call_run_finish ( 1569s # ComAcmeCoyote *proxy, 1569s # GAsyncResult *res, 1569s # GError **error); 1569s # 1569s # gboolean com_acme_coyote_call_run_sync ( 1569s # ComAcmeCoyote *proxy, 1569s # GCancellable *cancellable, 1569s # GError **error); 1569s # 1569s # void com_acme_coyote_call_sleep ( 1569s # ComAcmeCoyote *proxy, 1569s # GCancellable *cancellable, 1569s # GAsyncReadyCallback callback, 1569s # gpointer user_data); 1569s # 1569s # gboolean com_acme_coyote_call_sleep_finish ( 1569s # ComAcmeCoyote *proxy, 1569s # GAsyncResult *res, 1569s # GError **error); 1569s # 1569s # gboolean com_acme_coyote_call_sleep_sync ( 1569s # ComAcmeCoyote *proxy, 1569s # GCancellable *cancellable, 1569s # GError **error); 1569s # 1569s # void com_acme_coyote_call_attack ( 1569s # ComAcmeCoyote *proxy, 1569s # GCancellable *cancellable, 1569s # GAsyncReadyCallback callback, 1569s # gpointer user_data); 1569s # 1569s # gboolean com_acme_coyote_call_attack_finish ( 1569s # ComAcmeCoyote *proxy, 1569s # GAsyncResult *res, 1569s # GError **error); 1569s # 1569s # gboolean com_acme_coyote_call_attack_sync ( 1569s # ComAcmeCoyote *proxy, 1569s # GCancellable *cancellable, 1569s # GError **error); 1569s # 1569s # 1569s # 1569s # /* D-Bus property accessors: */ 1569s # const gchar *com_acme_coyote_get_mood (ComAcmeCoyote *object); 1569s # gchar *com_acme_coyote_dup_mood (ComAcmeCoyote *object); 1569s # void com_acme_coyote_set_mood (ComAcmeCoyote *object, const gchar *value); 1569s # 1569s # 1569s # /* ---- */ 1569s # 1569s # #define TYPE_COM_ACME_COYOTE_PROXY (com_acme_coyote_proxy_get_type ()) 1569s # #define COM_ACME_COYOTE_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_COM_ACME_COYOTE_PROXY, ComAcmeCoyoteProxy)) 1569s # #define COM_ACME_COYOTE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_COM_ACME_COYOTE_PROXY, ComAcmeCoyoteProxyClass)) 1569s # #define COM_ACME_COYOTE_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_COM_ACME_COYOTE_PROXY, ComAcmeCoyoteProxyClass)) 1569s # #define IS_COM_ACME_COYOTE_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_COM_ACME_COYOTE_PROXY)) 1569s # #define IS_COM_ACME_COYOTE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_COM_ACME_COYOTE_PROXY)) 1569s # 1569s # typedef struct _ComAcmeCoyoteProxy ComAcmeCoyoteProxy; 1569s # typedef struct _ComAcmeCoyoteProxyClass ComAcmeCoyoteProxyClass; 1569s # typedef struct _ComAcmeCoyoteProxyPrivate ComAcmeCoyoteProxyPrivate; 1569s # 1569s # struct _ComAcmeCoyoteProxy 1569s # { 1569s # /*< private >*/ 1569s # GDBusProxy parent_instance; 1569s # ComAcmeCoyoteProxyPrivate *priv; 1569s # }; 1569s # 1569s # struct _ComAcmeCoyoteProxyClass 1569s # { 1569s # GDBusProxyClass parent_class; 1569s # }; 1569s # 1569s # GType com_acme_coyote_proxy_get_type (void) G_GNUC_CONST; 1569s # 1569s # #if GLIB_CHECK_VERSION(2, 44, 0) 1569s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (ComAcmeCoyoteProxy, g_object_unref) 1569s # #endif 1569s # 1569s # void com_acme_coyote_proxy_new ( 1569s # GDBusConnection *connection, 1569s # GDBusProxyFlags flags, 1569s # const gchar *name, 1569s # const gchar *object_path, 1569s # GCancellable *cancellable, 1569s # GAsyncReadyCallback callback, 1569s # gpointer user_data); 1569s # ComAcmeCoyote *com_acme_coyote_proxy_new_finish ( 1569s # GAsyncResult *res, 1569s # GError **error); 1569s # ComAcmeCoyote *com_acme_coyote_proxy_new_sync ( 1569s # GDBusConnection *connection, 1569s # GDBusProxyFlags flags, 1569s # const gchar *name, 1569s # const gchar *object_path, 1569s # GCancellable *cancellable, 1569s # GError **error); 1569s # 1569s # void com_acme_coyote_proxy_new_for_bus ( 1569s # GBusType bus_type, 1569s # GDBusProxyFlags flags, 1569s # const gchar *name, 1569s # const gchar *object_path, 1569s # GCancellable *cancellable, 1569s # GAsyncReadyCallback callback, 1569s # gpointer user_data); 1569s # ComAcmeCoyote *com_acme_coyote_proxy_new_for_bus_finish ( 1569s # GAsyncResult *res, 1569s # GError **error); 1569s # ComAcmeCoyote *com_acme_coyote_proxy_new_for_bus_sync ( 1569s # GBusType bus_type, 1569s # GDBusProxyFlags flags, 1569s # const gchar *name, 1569s # const gchar *object_path, 1569s # GCancellable *cancellable, 1569s # GError **error); 1569s # 1569s # 1569s # /* ---- */ 1569s # 1569s # #define TYPE_COM_ACME_COYOTE_SKELETON (com_acme_coyote_skeleton_get_type ()) 1569s # #define COM_ACME_COYOTE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_COM_ACME_COYOTE_SKELETON, ComAcmeCoyoteSkeleton)) 1569s # #define COM_ACME_COYOTE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_COM_ACME_COYOTE_SKELETON, ComAcmeCoyoteSkeletonClass)) 1569s # #define COM_ACME_COYOTE_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_COM_ACME_COYOTE_SKELETON, ComAcmeCoyoteSkeletonClass)) 1569s # #define IS_COM_ACME_COYOTE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_COM_ACME_COYOTE_SKELETON)) 1569s # #define IS_COM_ACME_COYOTE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_COM_ACME_COYOTE_SKELETON)) 1569s # 1569s # typedef struct _ComAcmeCoyoteSkeleton ComAcmeCoyoteSkeleton; 1569s # typedef struct _ComAcmeCoyoteSkeletonClass ComAcmeCoyoteSkeletonClass; 1569s # typedef struct _ComAcmeCoyoteSkeletonPrivate ComAcmeCoyoteSkeletonPrivate; 1569s # 1569s # struct _ComAcmeCoyoteSkeleton 1569s # { 1569s # /*< private >*/ 1569s # GDBusInterfaceSkeleton parent_instance; 1569s # ComAcmeCoyoteSkeletonPrivate *priv; 1569s # }; 1569s # 1569s # struct _ComAcmeCoyoteSkeletonClass 1569s # { 1569s # GDBusInterfaceSkeletonClass parent_class; 1569s # }; 1569s # 1569s # GType com_acme_coyote_skeleton_get_type (void) G_GNUC_CONST; 1569s # 1569s # #if GLIB_CHECK_VERSION(2, 44, 0) 1569s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (ComAcmeCoyoteSkeleton, g_object_unref) 1569s # #endif 1569s # 1569s # ComAcmeCoyote *com_acme_coyote_skeleton_new (void); 1569s # 1569s # 1569s # G_END_DECLS 1569s # 1569s # #endif /* __STDOUT__ */ 1569s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp6wm6xagk/tmp01f8tf2w2.xml', '/tmp/tmp6wm6xagk/tmpob1_rmvj1.xml', '--output', '-', '--header'] 1569s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-baqskmurxn,guid=fbaffe99d0ccb1f6e1beb84865fc01cd', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.YcZbqk/autopkgtest_tmp', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.YcZbqk/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.YcZbqk/autopkgtest_tmp', 'TERM': 'unknown', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.YcZbqk/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.sVTVMp0Db0', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.rqZsJO/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.YcZbqk/wrapper.sh --artifacts=/tmp/autopkgtest.YcZbqk/installed-tests-artifacts --chdir=/tmp/autopkgtest.YcZbqk/build.S0E/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.YcZbqk/installed-tests-stderr --stdout=/tmp/autopkgtest.YcZbqk/installed-tests-stdout --tmp=/tmp/autopkgtest.YcZbqk/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2' --make-executable=/tmp/autopkgtest.YcZbqk/build.S0E/src/debian/tests/installed-tests -- /tmp/autopkgtest.YcZbqk/build.S0E/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.YcZbqk/build.S0E/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.YcZbqk/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1569s # Output: /* 1569s # * This file is generated by gdbus-codegen, do not modify it. 1569s # * 1569s # * The license of this code is the same as for the D-Bus interface description 1569s # * it was derived from. Note that it links to GLib, so must comply with the 1569s # * LGPL linking clauses. 1569s # */ 1569s # 1569s # #ifndef __STDOUT__ 1569s # #define __STDOUT__ 1569s # 1569s # #include 1569s # 1569s # G_BEGIN_DECLS 1569s # 1569s # 1569s # /* ------------------------------------------------------------------------ */ 1569s # /* Declarations for org.project.Bar.Frobnicator */ 1569s # 1569s # #define TYPE_ORG_PROJECT_BAR_FROBNICATOR (org_project_bar_frobnicator_get_type ()) 1569s # #define ORG_PROJECT_BAR_FROBNICATOR(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR, OrgProjectBarFrobnicator)) 1569s # #define IS_ORG_PROJECT_BAR_FROBNICATOR(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR)) 1569s # #define ORG_PROJECT_BAR_FROBNICATOR_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR, OrgProjectBarFrobnicatorIface)) 1569s # 1569s # struct _OrgProjectBarFrobnicator; 1569s # typedef struct _OrgProjectBarFrobnicator OrgProjectBarFrobnicator; 1569s # typedef struct _OrgProjectBarFrobnicatorIface OrgProjectBarFrobnicatorIface; 1569s # 1569s # struct _OrgProjectBarFrobnicatorIface 1569s # { 1569s # GTypeInterface parent_iface; 1569s # 1569s # gboolean (*handle_random_method) ( 1569s # OrgProjectBarFrobnicator *object, 1569s # GDBusMethodInvocation *invocation); 1569s # 1569s # }; 1569s # 1569s # GType org_project_bar_frobnicator_get_type (void) G_GNUC_CONST; 1569s # 1569s # GDBusInterfaceInfo *org_project_bar_frobnicator_interface_info (void); 1569s # guint org_project_bar_frobnicator_override_properties (GObjectClass *klass, guint property_id_begin); 1569s # 1569s # 1569s # /* D-Bus method call completion functions: */ 1569s # void org_project_bar_frobnicator_complete_random_method ( 1569s # OrgProjectBarFrobnicator *object, 1569s # GDBusMethodInvocation *invocation); 1569s # 1569s # 1569s # 1569s # /* D-Bus method calls: */ 1569s # void org_project_bar_frobnicator_call_random_method ( 1569s # OrgProjectBarFrobnicator *proxy, 1569s # GCancellable *cancellable, 1569s # GAsyncReadyCallback callback, 1569s # gpointer user_data); 1569s # 1569s # gboolean org_project_bar_frobnicator_call_random_method_finish ( 1569s # OrgProjectBarFrobnicator *proxy, 1569s # GAsyncResult *res, 1569s # GError **error); 1569s # 1569s # gboolean org_project_bar_frobnicator_call_random_method_sync ( 1569s # OrgProjectBarFrobnicator *proxy, 1569s # GCancellable *cancellable, 1569s # GError **error); 1569s # 1569s # 1569s # 1569s # /* ---- */ 1569s # 1569s # #define TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY (org_project_bar_frobnicator_proxy_get_type ()) 1569s # #define ORG_PROJECT_BAR_FROBNICATOR_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY, OrgProjectBarFrobnicatorProxy)) 1569s # #define ORG_PROJECT_BAR_FROBNICATOR_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY, OrgProjectBarFrobnicatorProxyClass)) 1569s # #define ORG_PROJECT_BAR_FROBNICATOR_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY, OrgProjectBarFrobnicatorProxyClass)) 1569s # #define IS_ORG_PROJECT_BAR_FROBNICATOR_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY)) 1569s # #define IS_ORG_PROJECT_BAR_FROBNICATOR_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY)) 1569s # 1569s # typedef struct _OrgProjectBarFrobnicatorProxy OrgProjectBarFrobnicatorProxy; 1569s # typedef struct _OrgProjectBarFrobnicatorProxyClass OrgProjectBarFrobnicatorProxyClass; 1569s # typedef struct _OrgProjectBarFrobnicatorProxyPrivate OrgProjectBarFrobnicatorProxyPrivate; 1569s # 1569s # struct _OrgProjectBarFrobnicatorProxy 1569s # { 1569s # /*< private >*/ 1569s # GDBusProxy parent_instance; 1569s # OrgProjectBarFrobnicatorProxyPrivate *priv; 1569s # }; 1569s # 1569s # struct _OrgProjectBarFrobnicatorProxyClass 1569s # { 1569s # GDBusProxyClass parent_class; 1569s # }; 1569s # 1569s # GType org_project_bar_frobnicator_proxy_get_type (void) G_GNUC_CONST; 1569s # 1569s # #if GLIB_CHECK_VERSION(2, 44, 0) 1569s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectBarFrobnicatorProxy, g_object_unref) 1569s # #endif 1569s # 1569s # void org_project_bar_frobnicator_proxy_new ( 1569s # GDBusConnection *connection, 1569s # GDBusProxyFlags flags, 1569s # const gchar *name, 1569s # const gchar *object_path, 1569s # GCancellable *cancellable, 1569s # GAsyncReadyCallback callback, 1569s # gpointer user_data); 1569s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_proxy_new_finish ( 1569s # GAsyncResult *res, 1569s # GError **error); 1569s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_proxy_new_sync ( 1569s # GDBusConnection *connection, 1569s # GDBusProxyFlags flags, 1569s # const gchar *name, 1569s # const gchar *object_path, 1569s # GCancellable *cancellable, 1569s # GError **error); 1569s # 1569s # void org_project_bar_frobnicator_proxy_new_for_bus ( 1569s # GBusType bus_type, 1569s # GDBusProxyFlags flags, 1569s # const gchar *name, 1569s # const gchar *object_path, 1569s # GCancellable *cancellable, 1569s # GAsyncReadyCallback callback, 1569s # gpointer user_data); 1569s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_proxy_new_for_bus_finish ( 1569s # GAsyncResult *res, 1569s # GError **error); 1569s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_proxy_new_for_bus_sync ( 1569s # GBusType bus_type, 1569s # GDBusProxyFlags flags, 1569s # const gchar *name, 1569s # const gchar *object_path, 1569s # GCancellable *cancellable, 1569s # GError **error); 1569s # 1569s # 1569s # /* ---- */ 1569s # 1569s # #define TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON (org_project_bar_frobnicator_skeleton_get_type ()) 1569s # #define ORG_PROJECT_BAR_FROBNICATOR_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, OrgProjectBarFrobnicatorSkeleton)) 1569s # #define ORG_PROJECT_BAR_FROBNICATOR_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, OrgProjectBarFrobnicatorSkeletonClass)) 1569s # #define ORG_PROJECT_BAR_FROBNICATOR_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, OrgProjectBarFrobnicatorSkeletonClass)) 1569s # #define IS_ORG_PROJECT_BAR_FROBNICATOR_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON)) 1569s # #define IS_ORG_PROJECT_BAR_FROBNICATOR_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON)) 1569s # 1569s # typedef struct _OrgProjectBarFrobnicatorSkeleton OrgProjectBarFrobnicatorSkeleton; 1569s # typedef struct _OrgProjectBarFrobnicatorSkeletonClass OrgProjectBarFrobnicatorSkeletonClass; 1569s # typedef struct _OrgProjectBarFrobnicatorSkeletonPrivate OrgProjectBarFrobnicatorSkeletonPrivate; 1569s # 1569s # struct _OrgProjectBarFrobnicatorSkeleton 1569s # { 1569s # /*< private >*/ 1569s # GDBusInterfaceSkeleton parent_instance; 1569s # OrgProjectBarFrobnicatorSkeletonPrivate *priv; 1569s # }; 1569s # 1569s # struct _OrgProjectBarFrobnicatorSkeletonClass 1569s # { 1569s # GDBusInterfaceSkeletonClass parent_class; 1569s # }; 1569s # 1569s # GType org_project_bar_frobnicator_skeleton_get_type (void) G_GNUC_CONST; 1569s # 1569s # #if GLIB_CHECK_VERSION(2, 44, 0) 1569s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectBarFrobnicatorSkeleton, g_object_unref) 1569s # #endif 1569s # 1569s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_skeleton_new (void); 1569s # 1569s # 1569s # /* ------------------------------------------------------------------------ */ 1569s # /* Declarations for com.acme.Coyote */ 1569s # 1569s # #define TYPE_COM_ACME_COYOTE (com_acme_coyote_get_type ()) 1569s # #define COM_ACME_COYOTE(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_COM_ACME_COYOTE, ComAcmeCoyote)) 1569s # #define IS_COM_ACME_COYOTE(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_COM_ACME_COYOTE)) 1569s # #define COM_ACME_COYOTE_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_COM_ACME_COYOTE, ComAcmeCoyoteIface)) 1569s # 1569s # struct _ComAcmeCoyote; 1569s # typedef struct _ComAcmeCoyote ComAcmeCoyote; 1569s # typedef struct _ComAcmeCoyoteIface ComAcmeCoyoteIface; 1569s # 1569s # struct _ComAcmeCoyoteIface 1569s # { 1569s # GTypeInterface parent_iface; 1569s # 1569s # 1569s # 1569s # gboolean (*handle_attack) ( 1569s # ComAcmeCoyote *object, 1569s # GDBusMethodInvocation *invocation); 1569s # 1569s # gboolean (*handle_run) ( 1569s # ComAcmeCoyote *object, 1569s # GDBusMethodInvocation *invocation); 1569s # 1569s # gboolean (*handle_sleep) ( 1569s # ComAcmeCoyote *object, 1569s # GDBusMethodInvocation *invocation); 1569s # 1569s # const gchar * (*get_mood) (ComAcmeCoyote *object); 1569s # 1569s # void (*surprised) ( 1569s # ComAcmeCoyote *object); 1569s # 1569s # }; 1569s # 1569s # GType com_acme_coyote_get_type (void) G_GNUC_CONST; 1569s # 1569s # GDBusInterfaceInfo *com_acme_coyote_interface_info (void); 1569s # guint com_acme_coyote_override_properties (GObjectClass *klass, guint property_id_begin); 1569s # 1569s # 1569s # /* D-Bus method call completion functions: */ 1569s # void com_acme_coyote_complete_run ( 1569s # ComAcmeCoyote *object, 1569s # GDBusMethodInvocation *invocation); 1569s # 1569s # void com_acme_coyote_complete_sleep ( 1569s # ComAcmeCoyote *object, 1569s # GDBusMethodInvocation *invocation); 1569s # 1569s # void com_acme_coyote_complete_attack ( 1569s # ComAcmeCoyote *object, 1569s # GDBusMethodInvocation *invocation); 1569s # 1569s # 1569s # 1569s # /* D-Bus signal emissions functions: */ 1569s # void com_acme_coyote_emit_surprised ( 1569s # ComAcmeCoyote *object); 1569s # 1569s # 1569s # 1569s # /* D-Bus method calls: */ 1569s # void com_acme_coyote_call_run ( 1569s # ComAcmeCoyote *proxy, 1569s # GCancellable *cancellable, 1569s # GAsyncReadyCallback callback, 1569s # gpointer user_data); 1569s # 1569s # gboolean com_acme_coyote_call_run_finish ( 1569s # ComAcmeCoyote *proxy, 1569s # GAsyncResult *res, 1569s # GError **error); 1569s # 1569s # gboolean com_acme_coyote_call_run_sync ( 1569s # ComAcmeCoyote *proxy, 1569s # GCancellable *cancellable, 1569s # GError **error); 1569s # 1569s # void com_acme_coyote_call_sleep ( 1569s # ComAcmeCoyote *proxy, 1569s # GCancellable *cancellable, 1569s # GAsyncReadyCallback callback, 1569s # gpointer user_data); 1569s # 1569s # gboolean com_acme_coyote_call_sleep_finish ( 1569s # ComAcmeCoyote *proxy, 1569s # GAsyncResult *res, 1569s # GError **error); 1569s # 1569s # gboolean com_acme_coyote_call_sleep_sync ( 1569s # ComAcmeCoyote *proxy, 1569s # GCancellable *cancellable, 1569s # GError **error); 1569s # 1569s # void com_acme_coyote_call_attack ( 1569s # ComAcmeCoyote *proxy, 1569s # GCancellable *cancellable, 1569s # GAsyncReadyCallback callback, 1569s # gpointer user_data); 1569s # 1569s # gboolean com_acme_coyote_call_attack_finish ( 1569s # ComAcmeCoyote *proxy, 1569s # GAsyncResult *res, 1569s # GError **error); 1569s # 1569s # gboolean com_acme_coyote_call_attack_sync ( 1569s # ComAcmeCoyote *proxy, 1569s # GCancellable *cancellable, 1569s # GError **error); 1569s # 1569s # 1569s # 1569s # /* D-Bus property accessors: */ 1569s # const gchar *com_acme_coyote_get_mood (ComAcmeCoyote *object); 1569s # gchar *com_acme_coyote_dup_mood (ComAcmeCoyote *object); 1569s # void com_acme_coyote_set_mood (ComAcmeCoyote *object, const gchar *value); 1569s # 1569s # 1569s # /* ---- */ 1569s # 1569s # #define TYPE_COM_ACME_COYOTE_PROXY (com_acme_coyote_proxy_get_type ()) 1569s # #define COM_ACME_COYOTE_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_COM_ACME_COYOTE_PROXY, ComAcmeCoyoteProxy)) 1569s # #define COM_ACME_COYOTE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_COM_ACME_COYOTE_PROXY, ComAcmeCoyoteProxyClass)) 1569s # #define COM_ACME_COYOTE_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_COM_ACME_COYOTE_PROXY, ComAcmeCoyoteProxyClass)) 1569s # #define IS_COM_ACME_COYOTE_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_COM_ACME_COYOTE_PROXY)) 1569s # #define IS_COM_ACME_COYOTE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_COM_ACME_COYOTE_PROXY)) 1569s # 1569s # typedef struct _ComAcmeCoyoteProxy ComAcmeCoyoteProxy; 1569s # typedef struct _ComAcmeCoyoteProxyClass ComAcmeCoyoteProxyClass; 1569s # typedef struct _ComAcmeCoyoteProxyPrivate ComAcmeCoyoteProxyPrivate; 1569s # 1569s # struct _ComAcmeCoyoteProxy 1569s # { 1569s # /*< private >*/ 1569s # GDBusProxy parent_instance; 1569s # ComAcmeCoyoteProxyPrivate *priv; 1569s # }; 1569s # 1569s # struct _ComAcmeCoyoteProxyClass 1569s # { 1569s # GDBusProxyClass parent_class; 1569s # }; 1569s # 1569s # GType com_acme_coyote_proxy_get_type (void) G_GNUC_CONST; 1569s # 1569s # #if GLIB_CHECK_VERSION(2, 44, 0) 1569s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (ComAcmeCoyoteProxy, g_object_unref) 1569s # #endif 1569s # 1569s # void com_acme_coyote_proxy_new ( 1569s # GDBusConnection *connection, 1569s # GDBusProxyFlags flags, 1569s # const gchar *name, 1569s # const gchar *object_path, 1569s # GCancellable *cancellable, 1569s # GAsyncReadyCallback callback, 1569s # gpointer user_data); 1569s # ComAcmeCoyote *com_acme_coyote_proxy_new_finish ( 1569s # GAsyncResult *res, 1569s # GError **error); 1569s # ComAcmeCoyote *com_acme_coyote_proxy_new_sync ( 1569s # GDBusConnection *connection, 1569s # GDBusProxyFlags flags, 1569s # const gchar *name, 1569s # const gchar *object_path, 1569s # GCancellable *cancellable, 1569s # GError **error); 1569s # 1569s # void com_acme_coyote_proxy_new_for_bus ( 1569s # GBusType bus_type, 1569s # GDBusProxyFlags flags, 1569s # const gchar *name, 1569s # const gchar *object_path, 1569s # GCancellable *cancellable, 1569s # GAsyncReadyCallback callback, 1569s # gpointer user_data); 1569s # ComAcmeCoyote *com_acme_coyote_proxy_new_for_bus_finish ( 1569s # GAsyncResult *res, 1569s # GError **error); 1569s # ComAcmeCoyote *com_acme_coyote_proxy_new_for_bus_sync ( 1569s # GBusType bus_type, 1569s # GDBusProxyFlags flags, 1569s # const gchar *name, 1569s # const gchar *object_path, 1569s # GCancellable *cancellable, 1569s # GError **error); 1569s # 1569s # 1569s # /* ---- */ 1569s # 1569s # #define TYPE_COM_ACME_COYOTE_SKELETON (com_acme_coyote_skeleton_get_type ()) 1569s # #define COM_ACME_COYOTE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_COM_ACME_COYOTE_SKELETON, ComAcmeCoyoteSkeleton)) 1569s # #define COM_ACME_COYOTE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_COM_ACME_COYOTE_SKELETON, ComAcmeCoyoteSkeletonClass)) 1569s # #define COM_ACME_COYOTE_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_COM_ACME_COYOTE_SKELETON, ComAcmeCoyoteSkeletonClass)) 1569s # #define IS_COM_ACME_COYOTE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_COM_ACME_COYOTE_SKELETON)) 1569s # #define IS_COM_ACME_COYOTE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_COM_ACME_COYOTE_SKELETON)) 1569s # 1569s # typedef struct _ComAcmeCoyoteSkeleton ComAcmeCoyoteSkeleton; 1569s # typedef struct _ComAcmeCoyoteSkeletonClass ComAcmeCoyoteSkeletonClass; 1569s # typedef struct _ComAcmeCoyoteSkeletonPrivate ComAcmeCoyoteSkeletonPrivate; 1569s # 1569s # struct _ComAcmeCoyoteSkeleton 1569s # { 1569s # /*< private >*/ 1569s # GDBusInterfaceSkeleton parent_instance; 1569s # ComAcmeCoyoteSkeletonPrivate *priv; 1569s # }; 1569s # 1569s # struct _ComAcmeCoyoteSkeletonClass 1569s # { 1569s # GDBusInterfaceSkeletonClass parent_class; 1569s # }; 1569s # 1569s # GType com_acme_coyote_skeleton_get_type (void) G_GNUC_CONST; 1569s # 1569s # #if GLIB_CHECK_VERSION(2, 44, 0) 1569s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (ComAcmeCoyoteSkeleton, g_object_unref) 1569s # #endif 1569s # 1569s # ComAcmeCoyote *com_acme_coyote_skeleton_new (void); 1569s # 1569s # 1569s # G_END_DECLS 1569s # 1569s # #endif /* __STDOUT__ */ 1569s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp6wm6xagk/tmpob1_rmvj1.xml', '/tmp/tmp6wm6xagk/tmp01f8tf2w2.xml', '--output', '-', '--body'] 1569s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-baqskmurxn,guid=fbaffe99d0ccb1f6e1beb84865fc01cd', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.YcZbqk/autopkgtest_tmp', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.YcZbqk/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.YcZbqk/autopkgtest_tmp', 'TERM': 'unknown', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.YcZbqk/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.sVTVMp0Db0', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.rqZsJO/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.YcZbqk/wrapper.sh --artifacts=/tmp/autopkgtest.YcZbqk/installed-tests-artifacts --chdir=/tmp/autopkgtest.YcZbqk/build.S0E/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.YcZbqk/installed-tests-stderr --stdout=/tmp/autopkgtest.YcZbqk/installed-tests-stdout --tmp=/tmp/autopkgtest.YcZbqk/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2' --make-executable=/tmp/autopkgtest.YcZbqk/build.S0E/src/debian/tests/installed-tests -- /tmp/autopkgtest.YcZbqk/build.S0E/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.YcZbqk/build.S0E/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.YcZbqk/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1569s # Output: /* 1569s # * This file is generated by gdbus-codegen, do not modify it. 1569s # * 1569s # * The license of this code is the same as for the D-Bus interface description 1569s # * it was derived from. Note that it links to GLib, so must comply with the 1569s # * LGPL linking clauses. 1569s # */ 1569s # 1569s # #ifdef HAVE_CONFIG_H 1569s # # include "config.h" 1569s # #endif 1569s # 1569s # #include 1569s # #ifdef G_OS_UNIX 1569s # # include 1569s # #endif 1569s # 1569s # #ifdef G_ENABLE_DEBUG 1569s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1569s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1569s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1569s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1569s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1569s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1569s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1569s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1569s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1569s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1569s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1569s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1569s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1569s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1569s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1569s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1569s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1569s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1569s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1569s # #else /* !G_ENABLE_DEBUG */ 1569s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1569s # * Do not access GValues directly in your code. Instead, use the 1569s # * g_value_get_*() functions 1569s # */ 1569s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1569s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1569s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1569s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1569s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1569s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1569s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1569s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1569s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1569s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1569s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1569s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1569s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1569s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1569s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1569s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1569s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1569s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1569s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1569s # #endif /* !G_ENABLE_DEBUG */ 1569s # 1569s # typedef struct 1569s # { 1569s # GDBusArgInfo parent_struct; 1569s # gboolean use_gvariant; 1569s # } _ExtendedGDBusArgInfo; 1569s # 1569s # typedef struct 1569s # { 1569s # GDBusMethodInfo parent_struct; 1569s # const gchar *signal_name; 1569s # gboolean pass_fdlist; 1569s # } _ExtendedGDBusMethodInfo; 1569s # 1569s # typedef struct 1569s # { 1569s # GDBusSignalInfo parent_struct; 1569s # const gchar *signal_name; 1569s # } _ExtendedGDBusSignalInfo; 1569s # 1569s # typedef struct 1569s # { 1569s # GDBusPropertyInfo parent_struct; 1569s # const gchar *hyphen_name; 1569s # guint use_gvariant : 1; 1569s # guint emits_changed_signal : 1; 1569s # } _ExtendedGDBusPropertyInfo; 1569s # 1569s # typedef struct 1569s # { 1569s # GDBusInterfaceInfo parent_struct; 1569s # const gchar *hyphen_name; 1569s # } _ExtendedGDBusInterfaceInfo; 1569s # 1569s # typedef struct 1569s # { 1569s # const _ExtendedGDBusPropertyInfo *info; 1569s # guint prop_id; 1569s # GValue orig_value; /* the value before the change */ 1569s # } ChangedProperty; 1569s # 1569s # static void 1569s # _changed_property_free (ChangedProperty *data) 1569s # { 1569s # g_value_unset (&data->orig_value); 1569s # g_free (data); 1569s # } 1569s # 1569s # static gboolean 1569s # _g_strv_equal0 (gchar **a, gchar **b) 1569s # { 1569s # gboolean ret = FALSE; 1569s # guint n; 1569s # if (a == NULL && b == NULL) 1569s # { 1569s # ret = TRUE; 1569s # goto out; 1569s # } 1569s # if (a == NULL || b == NULL) 1569s # goto out; 1569s # if (g_strv_length (a) != g_strv_length (b)) 1569s # goto out; 1569s # for (n = 0; a[n] != NULL; n++) 1569s # if (g_strcmp0 (a[n], b[n]) != 0) 1569s # goto out; 1569s # ret = TRUE; 1569s # out: 1569s # return ret; 1569s # } 1569s # 1569s # static gboolean 1569s # _g_variant_equal0 (GVariant *a, GVariant *b) 1569s # { 1569s # gboolean ret = FALSE; 1569s # if (a == NULL && b == NULL) 1569s # { 1569s # ret = TRUE; 1569s # goto out; 1569s # } 1569s # if (a == NULL || b == NULL) 1569s # goto out; 1569s # ret = g_variant_equal (a, b); 1569s # out: 1569s # return ret; 1569s # } 1569s # 1569s # G_GNUC_UNUSED static gboolean 1569s # _g_value_equal (const GValue *a, const GValue *b) 1569s # { 1569s # gboolean ret = FALSE; 1569s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1569s # switch (G_VALUE_TYPE (a)) 1569s # { 1569s # case G_TYPE_BOOLEAN: 1569s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1569s # break; 1569s # case G_TYPE_UCHAR: 1569s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1569s # break; 1569s # case G_TYPE_INT: 1569s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1569s # break; 1569s # case G_TYPE_UINT: 1569s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1569s # break; 1569s # case G_TYPE_INT64: 1569s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1569s # break; 1569s # case G_TYPE_UINT64: 1569s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1569s # break; 1569s # case G_TYPE_DOUBLE: 1569s # { 1569s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1569s # gdouble da = g_value_get_double (a); 1569s # gdouble db = g_value_get_double (b); 1569s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1569s # } 1569s # break; 1569s # case G_TYPE_STRING: 1569s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1569s # break; 1569s # case G_TYPE_VARIANT: 1569s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1569s # break; 1569s # default: 1569s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1569s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1569s # else 1569s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1569s # break; 1569s # } 1569s # return ret; 1569s # } 1569s # 1569s # static void 1569s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 1569s # GClosure *closure, 1569s # GValue *return_value, 1569s # unsigned int n_param_values, 1569s # const GValue *param_values, 1569s # void *invocation_hint G_GNUC_UNUSED, 1569s # void *marshal_data) 1569s # { 1569s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 1569s # (void *data1, 1569s # GDBusMethodInvocation *arg_method_invocation, 1569s # void *data2); 1569s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 1569s # GCClosure *cc = (GCClosure*) closure; 1569s # void *data1, *data2; 1569s # gboolean v_return; 1569s # 1569s # g_return_if_fail (return_value != NULL); 1569s # g_return_if_fail (n_param_values == 2); 1569s # 1569s # if (G_CCLOSURE_SWAP_DATA (closure)) 1569s # { 1569s # data1 = closure->data; 1569s # data2 = g_value_peek_pointer (param_values + 0); 1569s # } 1569s # else 1569s # { 1569s # data1 = g_value_peek_pointer (param_values + 0); 1569s # data2 = closure->data; 1569s # } 1569s # 1569s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 1569s # (marshal_data ? marshal_data : cc->callback); 1569s # 1569s # v_return = 1569s # callback (data1, 1569s # g_marshal_value_peek_object (param_values + 1), 1569s # data2); 1569s # 1569s # g_value_set_boolean (return_value, v_return); 1569s # } 1569s # 1569s # /* ------------------------------------------------------------------------ 1569s # * Code for interface org.project.Bar.Frobnicator 1569s # * ------------------------------------------------------------------------ 1569s # */ 1569s # 1569s # /** 1569s # * SECTION:OrgProjectBarFrobnicator 1569s # * @title: OrgProjectBarFrobnicator 1569s # * @short_description: Generated C code for the org.project.Bar.Frobnicator D-Bus interface 1569s # * 1569s # * This section contains code for working with the org.project.Bar.Frobnicator D-Bus interface in C. 1569s # */ 1569s # 1569s # /* ---- Introspection data for org.project.Bar.Frobnicator ---- */ 1569s # 1569s # static const _ExtendedGDBusMethodInfo _org_project_bar_frobnicator_method_info_random_method = 1569s # { 1569s # { 1569s # -1, 1569s # (gchar *) "RandomMethod", 1569s # NULL, 1569s # NULL, 1569s # NULL 1569s # }, 1569s # "handle-random-method", 1569s # FALSE 1569s # }; 1569s # 1569s # static const GDBusMethodInfo * const _org_project_bar_frobnicator_method_info_pointers[] = 1569s # { 1569s # &_org_project_bar_frobnicator_method_info_random_method.parent_struct, 1569s # NULL 1569s # }; 1569s # 1569s # static const _ExtendedGDBusInterfaceInfo _org_project_bar_frobnicator_interface_info = 1569s # { 1569s # { 1569s # -1, 1569s # (gchar *) "org.project.Bar.Frobnicator", 1569s # (GDBusMethodInfo **) &_org_project_bar_frobnicator_method_info_pointers, 1569s # NULL, 1569s # NULL, 1569s # NULL 1569s # }, 1569s # "org-project-bar-frobnicator", 1569s # }; 1569s # 1569s # 1569s # /** 1569s # * org_project_bar_frobnicator_interface_info: 1569s # * 1569s # * Gets a machine-readable description of the org.project.Bar.Frobnicator D-Bus interface. 1569s # * 1569s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1569s # */ 1569s # GDBusInterfaceInfo * 1569s # org_project_bar_frobnicator_interface_info (void) 1569s # { 1569s # return (GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct; 1569s # } 1569s # 1569s # /** 1569s # * org_project_bar_frobnicator_override_properties: 1569s # * @klass: The class structure for a #GObject derived class. 1569s # * @property_id_begin: The property id to assign to the first overridden property. 1569s # * 1569s # * Overrides all #GObject properties in the #OrgProjectBarFrobnicator interface for a concrete class. 1569s # * The properties are overridden in the order they are defined. 1569s # * 1569s # * Returns: The last property id. 1569s # */ 1569s # guint 1569s # org_project_bar_frobnicator_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1569s # { 1569s # return property_id_begin - 1; 1569s # } 1569s # 1569s # 1569s # inline static void 1569s # org_project_bar_frobnicator_method_marshal_random_method ( 1569s # GClosure *closure, 1569s # GValue *return_value, 1569s # unsigned int n_param_values, 1569s # const GValue *param_values, 1569s # void *invocation_hint, 1569s # void *marshal_data) 1569s # { 1569s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1569s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1569s # } 1569s # 1569s # 1569s # /** 1569s # * OrgProjectBarFrobnicator: 1569s # * 1569s # * Abstract interface type for the D-Bus interface org.project.Bar.Frobnicator. 1569s # */ 1569s # 1569s # /** 1569s # * OrgProjectBarFrobnicatorIface: 1569s # * @parent_iface: The parent interface. 1569s # * @handle_random_method: Handler for the #OrgProjectBarFrobnicator::handle-random-method signal. 1569s # * 1569s # * Virtual table for the D-Bus interface org.project.Bar.Frobnicator. 1569s # */ 1569s # 1569s # typedef OrgProjectBarFrobnicatorIface OrgProjectBarFrobnicatorInterface; 1569s # G_DEFINE_INTERFACE (OrgProjectBarFrobnicator, org_project_bar_frobnicator, G_TYPE_OBJECT) 1569s # 1569s # static void 1569s # org_project_bar_frobnicator_default_init (OrgProjectBarFrobnicatorIface *iface) 1569s # { 1569s # /* GObject signals for incoming D-Bus method calls: */ 1569s # /** 1569s # * OrgProjectBarFrobnicator::handle-random-method: 1569s # * @object: A #OrgProjectBarFrobnicator. 1569s # * @invocation: A #GDBusMethodInvocation. 1569s # * 1569s # * Signal emitted when a remote caller is invoking the RandomMethod() D-Bus method. 1569s # * 1569s # * 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. 1569s # * 1569s # * 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. 1569s # */ 1569s # g_signal_new ("handle-random-method", 1569s # G_TYPE_FROM_INTERFACE (iface), 1569s # G_SIGNAL_RUN_LAST, 1569s # G_STRUCT_OFFSET (OrgProjectBarFrobnicatorIface, handle_random_method), 1569s # g_signal_accumulator_true_handled, 1569s # NULL, 1569s # org_project_bar_frobnicator_method_marshal_random_method, 1569s # G_TYPE_BOOLEAN, 1569s # 1, 1569s # G_TYPE_DBUS_METHOD_INVOCATION); 1569s # 1569s # } 1569s # 1569s # /** 1569s # * org_project_bar_frobnicator_call_random_method: 1569s # * @proxy: A #OrgProjectBarFrobnicatorProxy. 1569s # * @cancellable: (nullable): A #GCancellable or %NULL. 1569s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1569s # * @user_data: User data to pass to @callback. 1569s # * 1569s # * Asynchronously invokes the RandomMethod() D-Bus method on @proxy. 1569s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1569s # * You can then call org_project_bar_frobnicator_call_random_method_finish() to get the result of the operation. 1569s # * 1569s # * See org_project_bar_frobnicator_call_random_method_sync() for the synchronous, blocking version of this method. 1569s # */ 1569s # void 1569s # org_project_bar_frobnicator_call_random_method ( 1569s # OrgProjectBarFrobnicator *proxy, 1569s # GCancellable *cancellable, 1569s # GAsyncReadyCallback callback, 1569s # gpointer user_data) 1569s # { 1569s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1569s # "RandomMethod", 1569s # g_variant_new ("()"), 1569s # G_DBUS_CALL_FLAGS_NONE, 1569s # -1, 1569s # cancellable, 1569s # callback, 1569s # user_data); 1569s # } 1569s # 1569s # /** 1569s # * org_project_bar_frobnicator_call_random_method_finish: 1569s # * @proxy: A #OrgProjectBarFrobnicatorProxy. 1569s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_bar_frobnicator_call_random_method(). 1569s # * @error: Return location for error or %NULL. 1569s # * 1569s # * Finishes an operation started with org_project_bar_frobnicator_call_random_method(). 1569s # * 1569s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1569s # */ 1569s # gboolean 1569s # org_project_bar_frobnicator_call_random_method_finish ( 1569s # OrgProjectBarFrobnicator *proxy, 1569s # GAsyncResult *res, 1569s # GError **error) 1569s # { 1569s # GVariant *_ret; 1569s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1569s # if (_ret == NULL) 1569s # goto _out; 1569s # g_variant_get (_ret, 1569s # "()"); 1569s # g_variant_unref (_ret); 1569s # _out: 1569s # return _ret != NULL; 1569s # } 1569s # 1569s # /** 1569s # * org_project_bar_frobnicator_call_random_method_sync: 1569s # * @proxy: A #OrgProjectBarFrobnicatorProxy. 1569s # * @cancellable: (nullable): A #GCancellable or %NULL. 1569s # * @error: Return location for error or %NULL. 1569s # * 1569s # * Synchronously invokes the RandomMethod() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1569s # * 1569s # * See org_project_bar_frobnicator_call_random_method() for the asynchronous version of this method. 1569s # * 1569s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1569s # */ 1569s # gboolean 1569s # org_project_bar_frobnicator_call_random_method_sync ( 1569s # OrgProjectBarFrobnicator *proxy, 1569s # GCancellable *cancellable, 1569s # GError **error) 1569s # { 1569s # GVariant *_ret; 1569s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1569s # "RandomMethod", 1569s # g_variant_new ("()"), 1569s # G_DBUS_CALL_FLAGS_NONE, 1569s # -1, 1569s # cancellable, 1569s # error); 1569s # if (_ret == NULL) 1569s # goto _out; 1569s # g_variant_get (_ret, 1569s # "()"); 1569s # g_variant_unref (_ret); 1569s # _out: 1569s # return _ret != NULL; 1569s # } 1569s # 1569s # /** 1569s # * org_project_bar_frobnicator_complete_random_method: 1569s # * @object: A #OrgProjectBarFrobnicator. 1569s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1569s # * 1569s # * 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. 1569s # * 1569s # * This method will free @invocation, you cannot use it afterwards. 1569s # */ 1569s # void 1569s # org_project_bar_frobnicator_complete_random_method ( 1569s # OrgProjectBarFrobnicator *object G_GNUC_UNUSED, 1569s # GDBusMethodInvocation *invocation) 1569s # { 1569s # g_dbus_method_invocation_return_value (invocation, 1569s # g_variant_new ("()")); 1569s # } 1569s # 1569s # /* ------------------------------------------------------------------------ */ 1569s # 1569s # /** 1569s # * OrgProjectBarFrobnicatorProxy: 1569s # * 1569s # * The #OrgProjectBarFrobnicatorProxy structure contains only private data and should only be accessed using the provided API. 1569s # */ 1569s # 1569s # /** 1569s # * OrgProjectBarFrobnicatorProxyClass: 1569s # * @parent_class: The parent class. 1569s # * 1569s # * Class structure for #OrgProjectBarFrobnicatorProxy. 1569s # */ 1569s # 1569s # struct _OrgProjectBarFrobnicatorProxyPrivate 1569s # { 1569s # GData *qdata; 1569s # }; 1569s # 1569s # static void org_project_bar_frobnicator_proxy_iface_init (OrgProjectBarFrobnicatorIface *iface); 1569s # 1569s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1569s # G_DEFINE_TYPE_WITH_CODE (OrgProjectBarFrobnicatorProxy, org_project_bar_frobnicator_proxy, G_TYPE_DBUS_PROXY, 1569s # G_ADD_PRIVATE (OrgProjectBarFrobnicatorProxy) 1569s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_BAR_FROBNICATOR, org_project_bar_frobnicator_proxy_iface_init)) 1569s # 1569s # #else 1569s # G_DEFINE_TYPE_WITH_CODE (OrgProjectBarFrobnicatorProxy, org_project_bar_frobnicator_proxy, G_TYPE_DBUS_PROXY, 1569s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_BAR_FROBNICATOR, org_project_bar_frobnicator_proxy_iface_init)) 1569s # 1569s # #endif 1569s # static void 1569s # org_project_bar_frobnicator_proxy_finalize (GObject *object) 1569s # { 1569s # OrgProjectBarFrobnicatorProxy *proxy = ORG_PROJECT_BAR_FROBNICATOR_PROXY (object); 1569s # g_datalist_clear (&proxy->priv->qdata); 1569s # G_OBJECT_CLASS (org_project_bar_frobnicator_proxy_parent_class)->finalize (object); 1569s # } 1569s # 1569s # static void 1569s # org_project_bar_frobnicator_proxy_get_property (GObject *object G_GNUC_UNUSED, 1569s # guint prop_id G_GNUC_UNUSED, 1569s # GValue *value G_GNUC_UNUSED, 1569s # GParamSpec *pspec G_GNUC_UNUSED) 1569s # { 1569s # } 1569s # 1569s # static void 1569s # org_project_bar_frobnicator_proxy_set_property (GObject *object G_GNUC_UNUSED, 1569s # guint prop_id G_GNUC_UNUSED, 1569s # const GValue *value G_GNUC_UNUSED, 1569s # GParamSpec *pspec G_GNUC_UNUSED) 1569s # { 1569s # } 1569s # 1569s # static void 1569s # org_project_bar_frobnicator_proxy_g_signal (GDBusProxy *proxy, 1569s # const gchar *sender_name G_GNUC_UNUSED, 1569s # const gchar *signal_name, 1569s # GVariant *parameters) 1569s # { 1569s # _ExtendedGDBusSignalInfo *info; 1569s # GVariantIter iter; 1569s # GVariant *child; 1569s # GValue *paramv; 1569s # gsize num_params; 1569s # gsize n; 1569s # guint signal_id; 1569s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, signal_name); 1569s # if (info == NULL) 1569s # return; 1569s # num_params = g_variant_n_children (parameters); 1569s # paramv = g_new0 (GValue, num_params + 1); 1569s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_BAR_FROBNICATOR); 1569s # g_value_set_object (¶mv[0], proxy); 1569s # g_variant_iter_init (&iter, parameters); 1569s # n = 1; 1569s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1569s # { 1569s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1569s # if (arg_info->use_gvariant) 1569s # { 1569s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1569s # g_value_set_variant (¶mv[n], child); 1569s # n++; 1569s # } 1569s # else 1569s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1569s # g_variant_unref (child); 1569s # } 1569s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_BAR_FROBNICATOR); 1569s # g_signal_emitv (paramv, signal_id, 0, NULL); 1569s # for (n = 0; n < num_params + 1; n++) 1569s # g_value_unset (¶mv[n]); 1569s # g_free (paramv); 1569s # } 1569s # 1569s # static void 1569s # org_project_bar_frobnicator_proxy_g_properties_changed (GDBusProxy *_proxy, 1569s # GVariant *changed_properties, 1569s # const gchar *const *invalidated_properties) 1569s # { 1569s # OrgProjectBarFrobnicatorProxy *proxy = ORG_PROJECT_BAR_FROBNICATOR_PROXY (_proxy); 1569s # guint n; 1569s # const gchar *key; 1569s # GVariantIter *iter; 1569s # _ExtendedGDBusPropertyInfo *info; 1569s # g_variant_get (changed_properties, "a{sv}", &iter); 1569s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1569s # { 1569s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, key); 1569s # g_datalist_remove_data (&proxy->priv->qdata, key); 1569s # if (info != NULL) 1569s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1569s # } 1569s # g_variant_iter_free (iter); 1569s # for (n = 0; invalidated_properties[n] != NULL; n++) 1569s # { 1569s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, invalidated_properties[n]); 1569s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1569s # if (info != NULL) 1569s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1569s # } 1569s # } 1569s # 1569s # static void 1569s # org_project_bar_frobnicator_proxy_init (OrgProjectBarFrobnicatorProxy *proxy) 1569s # { 1569s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1569s # proxy->priv = org_project_bar_frobnicator_proxy_get_instance_private (proxy); 1569s # #else 1569s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY, OrgProjectBarFrobnicatorProxyPrivate); 1569s # #endif 1569s # 1569s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_bar_frobnicator_interface_info ()); 1569s # } 1569s # 1569s # static void 1569s # org_project_bar_frobnicator_proxy_class_init (OrgProjectBarFrobnicatorProxyClass *klass) 1569s # { 1569s # GObjectClass *gobject_class; 1569s # GDBusProxyClass *proxy_class; 1569s # 1569s # gobject_class = G_OBJECT_CLASS (klass); 1569s # gobject_class->finalize = org_project_bar_frobnicator_proxy_finalize; 1569s # gobject_class->get_property = org_project_bar_frobnicator_proxy_get_property; 1569s # gobject_class->set_property = org_project_bar_frobnicator_proxy_set_property; 1569s # 1569s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1569s # proxy_class->g_signal = org_project_bar_frobnicator_proxy_g_signal; 1569s # proxy_class->g_properties_changed = org_project_bar_frobnicator_proxy_g_properties_changed; 1569s # 1569s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1569s # g_type_class_add_private (klass, sizeof (OrgProjectBarFrobnicatorProxyPrivate)); 1569s # #endif 1569s # } 1569s # 1569s # static void 1569s # org_project_bar_frobnicator_proxy_iface_init (OrgProjectBarFrobnicatorIface *iface G_GNUC_UNUSED) 1569s # { 1569s # } 1569s # 1569s # /** 1569s # * org_project_bar_frobnicator_proxy_new: 1569s # * @connection: A #GDBusConnection. 1569s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1569s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1569s # * @object_path: An object path. 1569s # * @cancellable: (nullable): A #GCancellable or %NULL. 1569s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1569s # * @user_data: User data to pass to @callback. 1569s # * 1569s # * Asynchronously creates a proxy for the D-Bus interface org.project.Bar.Frobnicator. See g_dbus_proxy_new() for more details. 1569s # * 1569s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1569s # * You can then call org_project_bar_frobnicator_proxy_new_finish() to get the result of the operation. 1569s # * 1569s # * See org_project_bar_frobnicator_proxy_new_sync() for the synchronous, blocking version of this constructor. 1569s # */ 1569s # void 1569s # org_project_bar_frobnicator_proxy_new ( 1569s # GDBusConnection *connection, 1569s # GDBusProxyFlags flags, 1569s # const gchar *name, 1569s # const gchar *object_path, 1569s # GCancellable *cancellable, 1569s # GAsyncReadyCallback callback, 1569s # gpointer user_data) 1569s # { 1569s # 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); 1569s # } 1569s # 1569s # /** 1569s # * org_project_bar_frobnicator_proxy_new_finish: 1569s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_bar_frobnicator_proxy_new(). 1569s # * @error: Return location for error or %NULL 1569s # * 1569s # * Finishes an operation started with org_project_bar_frobnicator_proxy_new(). 1569s # * 1569s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorProxy): The constructed proxy object or %NULL if @error is set. 1569s # */ 1569s # OrgProjectBarFrobnicator * 1569s # org_project_bar_frobnicator_proxy_new_finish ( 1569s # GAsyncResult *res, 1569s # GError **error) 1569s # { 1569s # GObject *ret; 1569s # GObject *source_object; 1569s # source_object = g_async_result_get_source_object (res); 1569s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1569s # g_object_unref (source_object); 1569s # if (ret != NULL) 1569s # return ORG_PROJECT_BAR_FROBNICATOR (ret); 1569s # else 1569s # return NULL; 1569s # } 1569s # 1569s # /** 1569s # * org_project_bar_frobnicator_proxy_new_sync: 1569s # * @connection: A #GDBusConnection. 1569s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1569s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1569s # * @object_path: An object path. 1569s # * @cancellable: (nullable): A #GCancellable or %NULL. 1569s # * @error: Return location for error or %NULL 1569s # * 1569s # * Synchronously creates a proxy for the D-Bus interface org.project.Bar.Frobnicator. See g_dbus_proxy_new_sync() for more details. 1569s # * 1569s # * The calling thread is blocked until a reply is received. 1569s # * 1569s # * See org_project_bar_frobnicator_proxy_new() for the asynchronous version of this constructor. 1569s # * 1569s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorProxy): The constructed proxy object or %NULL if @error is set. 1569s # */ 1569s # OrgProjectBarFrobnicator * 1569s # org_project_bar_frobnicator_proxy_new_sync ( 1569s # GDBusConnection *connection, 1569s # GDBusProxyFlags flags, 1569s # const gchar *name, 1569s # const gchar *object_path, 1569s # GCancellable *cancellable, 1569s # GError **error) 1569s # { 1569s # GInitable *ret; 1569s # 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); 1569s # if (ret != NULL) 1569s # return ORG_PROJECT_BAR_FROBNICATOR (ret); 1569s # else 1569s # return NULL; 1569s # } 1569s # 1569s # 1569s # /** 1569s # * org_project_bar_frobnicator_proxy_new_for_bus: 1569s # * @bus_type: A #GBusType. 1569s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1569s # * @name: A bus name (well-known or unique). 1569s # * @object_path: An object path. 1569s # * @cancellable: (nullable): A #GCancellable or %NULL. 1569s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1569s # * @user_data: User data to pass to @callback. 1569s # * 1569s # * Like org_project_bar_frobnicator_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1569s # * 1569s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1569s # * You can then call org_project_bar_frobnicator_proxy_new_for_bus_finish() to get the result of the operation. 1569s # * 1569s # * See org_project_bar_frobnicator_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1569s # */ 1569s # void 1569s # org_project_bar_frobnicator_proxy_new_for_bus ( 1569s # GBusType bus_type, 1569s # GDBusProxyFlags flags, 1569s # const gchar *name, 1569s # const gchar *object_path, 1569s # GCancellable *cancellable, 1569s # GAsyncReadyCallback callback, 1569s # gpointer user_data) 1569s # { 1569s # 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); 1569s # } 1569s # 1569s # /** 1569s # * org_project_bar_frobnicator_proxy_new_for_bus_finish: 1569s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_bar_frobnicator_proxy_new_for_bus(). 1569s # * @error: Return location for error or %NULL 1569s # * 1569s # * Finishes an operation started with org_project_bar_frobnicator_proxy_new_for_bus(). 1569s # * 1569s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorProxy): The constructed proxy object or %NULL if @error is set. 1569s # */ 1569s # OrgProjectBarFrobnicator * 1569s # org_project_bar_frobnicator_proxy_new_for_bus_finish ( 1569s # GAsyncResult *res, 1569s # GError **error) 1569s # { 1569s # GObject *ret; 1569s # GObject *source_object; 1569s # source_object = g_async_result_get_source_object (res); 1569s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1569s # g_object_unref (source_object); 1569s # if (ret != NULL) 1569s # return ORG_PROJECT_BAR_FROBNICATOR (ret); 1569s # else 1569s # return NULL; 1569s # } 1569s # 1569s # /** 1569s # * org_project_bar_frobnicator_proxy_new_for_bus_sync: 1569s # * @bus_type: A #GBusType. 1569s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1569s # * @name: A bus name (well-known or unique). 1569s # * @object_path: An object path. 1569s # * @cancellable: (nullable): A #GCancellable or %NULL. 1569s # * @error: Return location for error or %NULL 1569s # * 1569s # * Like org_project_bar_frobnicator_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1569s # * 1569s # * The calling thread is blocked until a reply is received. 1569s # * 1569s # * See org_project_bar_frobnicator_proxy_new_for_bus() for the asynchronous version of this constructor. 1569s # * 1569s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorProxy): The constructed proxy object or %NULL if @error is set. 1569s # */ 1569s # OrgProjectBarFrobnicator * 1569s # org_project_bar_frobnicator_proxy_new_for_bus_sync ( 1569s # GBusType bus_type, 1569s # GDBusProxyFlags flags, 1569s # const gchar *name, 1569s # const gchar *object_path, 1569s # GCancellable *cancellable, 1569s # GError **error) 1569s # { 1569s # GInitable *ret; 1569s # 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); 1569s # if (ret != NULL) 1569s # return ORG_PROJECT_BAR_FROBNICATOR (ret); 1569s # else 1569s # return NULL; 1569s # } 1569s # 1569s # 1569s # /* ------------------------------------------------------------------------ */ 1569s # 1569s # /** 1569s # * OrgProjectBarFrobnicatorSkeleton: 1569s # * 1569s # * The #OrgProjectBarFrobnicatorSkeleton structure contains only private data and should only be accessed using the provided API. 1569s # */ 1569s # 1569s # /** 1569s # * OrgProjectBarFrobnicatorSkeletonClass: 1569s # * @parent_class: The parent class. 1569s # * 1569s # * Class structure for #OrgProjectBarFrobnicatorSkeleton. 1569s # */ 1569s # 1569s # struct _OrgProjectBarFrobnicatorSkeletonPrivate 1569s # { 1569s # GValue *properties; 1569s # GList *changed_properties; 1569s # GSource *changed_properties_idle_source; 1569s # GMainContext *context; 1569s # GMutex lock; 1569s # }; 1569s # 1569s # static void 1569s # _org_project_bar_frobnicator_skeleton_handle_method_call ( 1569s # GDBusConnection *connection G_GNUC_UNUSED, 1569s # const gchar *sender G_GNUC_UNUSED, 1569s # const gchar *object_path G_GNUC_UNUSED, 1569s # const gchar *interface_name, 1569s # const gchar *method_name, 1569s # GVariant *parameters, 1569s # GDBusMethodInvocation *invocation, 1569s # gpointer user_data) 1569s # { 1569s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (user_data); 1569s # _ExtendedGDBusMethodInfo *info; 1569s # GVariantIter iter; 1569s # GVariant *child; 1569s # GValue *paramv; 1569s # gsize num_params; 1569s # guint num_extra; 1569s # gsize n; 1569s # guint signal_id; 1569s # GValue return_value = G_VALUE_INIT; 1569s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1569s # g_assert (info != NULL); 1569s # num_params = g_variant_n_children (parameters); 1569s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1569s # n = 0; 1569s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_BAR_FROBNICATOR); 1569s # g_value_set_object (¶mv[n++], skeleton); 1569s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1569s # g_value_set_object (¶mv[n++], invocation); 1569s # if (info->pass_fdlist) 1569s # { 1569s # #ifdef G_OS_UNIX 1569s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1569s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1569s # #else 1569s # g_assert_not_reached (); 1569s # #endif 1569s # } 1569s # g_variant_iter_init (&iter, parameters); 1569s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1569s # { 1569s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1569s # if (arg_info->use_gvariant) 1569s # { 1569s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1569s # g_value_set_variant (¶mv[n], child); 1569s # n++; 1569s # } 1569s # else 1569s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1569s # g_variant_unref (child); 1569s # } 1569s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_BAR_FROBNICATOR); 1569s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1569s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1569s # if (!g_value_get_boolean (&return_value)) 1569s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1569s # g_value_unset (&return_value); 1569s # for (n = 0; n < num_params + num_extra; n++) 1569s # g_value_unset (¶mv[n]); 1569s # g_free (paramv); 1569s # } 1569s # 1569s # static GVariant * 1569s # _org_project_bar_frobnicator_skeleton_handle_get_property ( 1569s # GDBusConnection *connection G_GNUC_UNUSED, 1569s # const gchar *sender G_GNUC_UNUSED, 1569s # const gchar *object_path G_GNUC_UNUSED, 1569s # const gchar *interface_name G_GNUC_UNUSED, 1569s # const gchar *property_name, 1569s # GError **error, 1569s # gpointer user_data) 1569s # { 1569s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (user_data); 1569s # GValue value = G_VALUE_INIT; 1569s # GParamSpec *pspec; 1569s # _ExtendedGDBusPropertyInfo *info; 1569s # GVariant *ret; 1569s # ret = NULL; 1569s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, property_name); 1569s # g_assert (info != NULL); 1569s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1569s # if (pspec == NULL) 1569s # { 1569s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1569s # } 1569s # else 1569s # { 1569s # g_value_init (&value, pspec->value_type); 1569s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1569s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1569s # g_value_unset (&value); 1569s # } 1569s # return ret; 1569s # } 1569s # 1569s # static gboolean 1569s # _org_project_bar_frobnicator_skeleton_handle_set_property ( 1569s # GDBusConnection *connection G_GNUC_UNUSED, 1569s # const gchar *sender G_GNUC_UNUSED, 1569s # const gchar *object_path G_GNUC_UNUSED, 1569s # const gchar *interface_name G_GNUC_UNUSED, 1569s # const gchar *property_name, 1569s # GVariant *variant, 1569s # GError **error, 1569s # gpointer user_data) 1569s # { 1569s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (user_data); 1569s # GValue value = G_VALUE_INIT; 1569s # GParamSpec *pspec; 1569s # _ExtendedGDBusPropertyInfo *info; 1569s # gboolean ret; 1569s # ret = FALSE; 1569s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, property_name); 1569s # g_assert (info != NULL); 1569s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1569s # if (pspec == NULL) 1569s # { 1569s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1569s # } 1569s # else 1569s # { 1569s # if (info->use_gvariant) 1569s # g_value_set_variant (&value, variant); 1569s # else 1569s # g_dbus_gvariant_to_gvalue (variant, &value); 1569s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1569s # g_value_unset (&value); 1569s # ret = TRUE; 1569s # } 1569s # return ret; 1569s # } 1569s # 1569s # static const GDBusInterfaceVTable _org_project_bar_frobnicator_skeleton_vtable = 1569s # { 1569s # _org_project_bar_frobnicator_skeleton_handle_method_call, 1569s # _org_project_bar_frobnicator_skeleton_handle_get_property, 1569s # _org_project_bar_frobnicator_skeleton_handle_set_property, 1569s # {NULL} 1569s # }; 1569s # 1569s # static GDBusInterfaceInfo * 1569s # org_project_bar_frobnicator_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1569s # { 1569s # return org_project_bar_frobnicator_interface_info (); 1569s # } 1569s # 1569s # static GDBusInterfaceVTable * 1569s # org_project_bar_frobnicator_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1569s # { 1569s # return (GDBusInterfaceVTable *) &_org_project_bar_frobnicator_skeleton_vtable; 1569s # } 1569s # 1569s # static GVariant * 1569s # org_project_bar_frobnicator_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1569s # { 1569s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (_skeleton); 1569s # 1569s # GVariantBuilder builder; 1569s # guint n; 1569s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1569s # if (_org_project_bar_frobnicator_interface_info.parent_struct.properties == NULL) 1569s # goto out; 1569s # for (n = 0; _org_project_bar_frobnicator_interface_info.parent_struct.properties[n] != NULL; n++) 1569s # { 1569s # GDBusPropertyInfo *info = _org_project_bar_frobnicator_interface_info.parent_struct.properties[n]; 1569s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1569s # { 1569s # GVariant *value; 1569s # 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); 1569s # if (value != NULL) 1569s # { 1569s # g_variant_take_ref (value); 1569s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1569s # g_variant_unref (value); 1569s # } 1569s # } 1569s # } 1569s # out: 1569s # return g_variant_builder_end (&builder); 1569s # } 1569s # 1569s # static void 1569s # org_project_bar_frobnicator_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1569s # { 1569s # } 1569s # 1569s # static void org_project_bar_frobnicator_skeleton_iface_init (OrgProjectBarFrobnicatorIface *iface); 1569s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1569s # G_DEFINE_TYPE_WITH_CODE (OrgProjectBarFrobnicatorSkeleton, org_project_bar_frobnicator_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1569s # G_ADD_PRIVATE (OrgProjectBarFrobnicatorSkeleton) 1569s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_BAR_FROBNICATOR, org_project_bar_frobnicator_skeleton_iface_init)) 1569s # 1569s # #else 1569s # G_DEFINE_TYPE_WITH_CODE (OrgProjectBarFrobnicatorSkeleton, org_project_bar_frobnicator_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1569s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_BAR_FROBNICATOR, org_project_bar_frobnicator_skeleton_iface_init)) 1569s # 1569s # #endif 1569s # static void 1569s # org_project_bar_frobnicator_skeleton_finalize (GObject *object) 1569s # { 1569s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (object); 1569s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1569s # if (skeleton->priv->changed_properties_idle_source != NULL) 1569s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1569s # g_main_context_unref (skeleton->priv->context); 1569s # g_mutex_clear (&skeleton->priv->lock); 1569s # G_OBJECT_CLASS (org_project_bar_frobnicator_skeleton_parent_class)->finalize (object); 1569s # } 1569s # 1569s # static void 1569s # org_project_bar_frobnicator_skeleton_init (OrgProjectBarFrobnicatorSkeleton *skeleton) 1569s # { 1569s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1569s # skeleton->priv = org_project_bar_frobnicator_skeleton_get_instance_private (skeleton); 1569s # #else 1569s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, OrgProjectBarFrobnicatorSkeletonPrivate); 1569s # #endif 1569s # 1569s # g_mutex_init (&skeleton->priv->lock); 1569s # skeleton->priv->context = g_main_context_ref_thread_default (); 1569s # } 1569s # 1569s # static void 1569s # org_project_bar_frobnicator_skeleton_class_init (OrgProjectBarFrobnicatorSkeletonClass *klass) 1569s # { 1569s # GObjectClass *gobject_class; 1569s # GDBusInterfaceSkeletonClass *skeleton_class; 1569s # 1569s # gobject_class = G_OBJECT_CLASS (klass); 1569s # gobject_class->finalize = org_project_bar_frobnicator_skeleton_finalize; 1569s # 1569s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1569s # skeleton_class->get_info = org_project_bar_frobnicator_skeleton_dbus_interface_get_info; 1569s # skeleton_class->get_properties = org_project_bar_frobnicator_skeleton_dbus_interface_get_properties; 1569s # skeleton_class->flush = org_project_bar_frobnicator_skeleton_dbus_interface_flush; 1569s # skeleton_class->get_vtable = org_project_bar_frobnicator_skeleton_dbus_interface_get_vtable; 1569s # 1569s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1569s # g_type_class_add_private (klass, sizeof (OrgProjectBarFrobnicatorSkeletonPrivate)); 1569s # #endif 1569s # } 1569s # 1569s # static void 1569s # org_project_bar_frobnicator_skeleton_iface_init (OrgProjectBarFrobnicatorIface *iface G_GNUC_UNUSED) 1569s # { 1569s # } 1569s # 1569s # /** 1569s # * org_project_bar_frobnicator_skeleton_new: 1569s # * 1569s # * Creates a skeleton object for the D-Bus interface org.project.Bar.Frobnicator. 1569s # * 1569s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorSkeleton): The skeleton object. 1569s # */ 1569s # OrgProjectBarFrobnicator * 1569s # org_project_bar_frobnicator_skeleton_new (void) 1569s # { 1569s # return ORG_PROJECT_BAR_FROBNICATOR (g_object_new (TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, NULL)); 1569s # } 1569s # 1569s # /* ------------------------------------------------------------------------ 1569s # * Code for interface com.acme.Coyote 1569s # * ------------------------------------------------------------------------ 1569s # */ 1569s # 1569s # /** 1569s # * SECTION:ComAcmeCoyote 1569s # * @title: ComAcmeCoyote 1569s # * @short_description: Generated C code for the com.acme.Coyote D-Bus interface 1569s # * 1569s # * This section contains code for working with the com.acme.Coyote D-Bus interface in C. 1569s # */ 1569s # 1569s # enum 1569s # { 1569s # _COM_ACME_COYOTE_SURPRISED, 1569s # }; 1569s # 1569s # static unsigned _COM_ACME_COYOTE_SIGNALS[1] = { 0 }; 1569s # 1569s # /* ---- Introspection data for com.acme.Coyote ---- */ 1569s # 1569s # static const _ExtendedGDBusMethodInfo _com_acme_coyote_method_info_run = 1569s # { 1569s # { 1569s # -1, 1569s # (gchar *) "Run", 1569s # NULL, 1569s # NULL, 1569s # NULL 1569s # }, 1569s # "handle-run", 1569s # FALSE 1569s # }; 1569s # 1569s # static const _ExtendedGDBusMethodInfo _com_acme_coyote_method_info_sleep = 1569s # { 1569s # { 1569s # -1, 1569s # (gchar *) "Sleep", 1569s # NULL, 1569s # NULL, 1569s # NULL 1569s # }, 1569s # "handle-sleep", 1569s # FALSE 1569s # }; 1569s # 1569s # static const _ExtendedGDBusMethodInfo _com_acme_coyote_method_info_attack = 1569s # { 1569s # { 1569s # -1, 1569s # (gchar *) "Attack", 1569s # NULL, 1569s # NULL, 1569s # NULL 1569s # }, 1569s # "handle-attack", 1569s # FALSE 1569s # }; 1569s # 1569s # static const GDBusMethodInfo * const _com_acme_coyote_method_info_pointers[] = 1569s # { 1569s # &_com_acme_coyote_method_info_run.parent_struct, 1569s # &_com_acme_coyote_method_info_sleep.parent_struct, 1569s # &_com_acme_coyote_method_info_attack.parent_struct, 1569s # NULL 1569s # }; 1569s # 1569s # static const _ExtendedGDBusSignalInfo _com_acme_coyote_signal_info_surprised = 1569s # { 1569s # { 1569s # -1, 1569s # (gchar *) "Surprised", 1569s # NULL, 1569s # NULL 1569s # }, 1569s # "surprised" 1569s # }; 1569s # 1569s # static const GDBusSignalInfo * const _com_acme_coyote_signal_info_pointers[] = 1569s # { 1569s # &_com_acme_coyote_signal_info_surprised.parent_struct, 1569s # NULL 1569s # }; 1569s # 1569s # static const _ExtendedGDBusPropertyInfo _com_acme_coyote_property_info_mood = 1569s # { 1569s # { 1569s # -1, 1569s # (gchar *) "Mood", 1569s # (gchar *) "s", 1569s # G_DBUS_PROPERTY_INFO_FLAGS_READABLE, 1569s # NULL 1569s # }, 1569s # "mood", 1569s # FALSE, 1569s # TRUE 1569s # }; 1569s # 1569s # static const GDBusPropertyInfo * const _com_acme_coyote_property_info_pointers[] = 1569s # { 1569s # &_com_acme_coyote_property_info_mood.parent_struct, 1569s # NULL 1569s # }; 1569s # 1569s # static const _ExtendedGDBusInterfaceInfo _com_acme_coyote_interface_info = 1569s # { 1569s # { 1569s # -1, 1569s # (gchar *) "com.acme.Coyote", 1569s # (GDBusMethodInfo **) &_com_acme_coyote_method_info_pointers, 1569s # (GDBusSignalInfo **) &_com_acme_coyote_signal_info_pointers, 1569s # (GDBusPropertyInfo **) &_com_acme_coyote_property_info_pointers, 1569s # NULL 1569s # }, 1569s # "com-acme-coyote", 1569s # }; 1569s # 1569s # 1569s # /** 1569s # * com_acme_coyote_interface_info: 1569s # * 1569s # * Gets a machine-readable description of the com.acme.Coyote D-Bus interface. 1569s # * 1569s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1569s # */ 1569s # GDBusInterfaceInfo * 1569s # com_acme_coyote_interface_info (void) 1569s # { 1569s # return (GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct; 1569s # } 1569s # 1569s # /** 1569s # * com_acme_coyote_override_properties: 1569s # * @klass: The class structure for a #GObject derived class. 1569s # * @property_id_begin: The property id to assign to the first overridden property. 1569s # * 1569s # * Overrides all #GObject properties in the #ComAcmeCoyote interface for a concrete class. 1569s # * The properties are overridden in the order they are defined. 1569s # * 1569s # * Returns: The last property id. 1569s # */ 1569s # guint 1569s # com_acme_coyote_override_properties (GObjectClass *klass, guint property_id_begin) 1569s # { 1569s # g_object_class_override_property (klass, property_id_begin++, "mood"); 1569s # return property_id_begin - 1; 1569s # } 1569s # 1569s # 1569s # inline static void 1569s # com_acme_coyote_signal_marshal_surprised ( 1569s # GClosure *closure, 1569s # GValue *return_value, 1569s # unsigned int n_param_values, 1569s # const GValue *param_values, 1569s # void *invocation_hint, 1569s # void *marshal_data) 1569s # { 1569s # g_cclosure_marshal_VOID__VOID (closure, 1569s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1569s # } 1569s # 1569s # inline static void 1569s # com_acme_coyote_method_marshal_run ( 1569s # GClosure *closure, 1569s # GValue *return_value, 1569s # unsigned int n_param_values, 1569s # const GValue *param_values, 1569s # void *invocation_hint, 1569s # void *marshal_data) 1569s # { 1569s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1569s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1569s # } 1569s # 1569s # inline static void 1569s # com_acme_coyote_method_marshal_sleep ( 1569s # GClosure *closure, 1569s # GValue *return_value, 1569s # unsigned int n_param_values, 1569s # const GValue *param_values, 1569s # void *invocation_hint, 1569s # void *marshal_data) 1569s # { 1569s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1569s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1569s # } 1569s # 1569s # inline static void 1569s # com_acme_coyote_method_marshal_attack ( 1569s # GClosure *closure, 1569s # GValue *return_value, 1569s # unsigned int n_param_values, 1569s # const GValue *param_values, 1569s # void *invocation_hint, 1569s # void *marshal_data) 1569s # { 1569s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1569s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1569s # } 1569s # 1569s # 1569s # /** 1569s # * ComAcmeCoyote: 1569s # * 1569s # * Abstract interface type for the D-Bus interface com.acme.Coyote. 1569s # */ 1569s # 1569s # /** 1569s # * ComAcmeCoyoteIface: 1569s # * @parent_iface: The parent interface. 1569s # * @handle_attack: Handler for the #ComAcmeCoyote::handle-attack signal. 1569s # * @handle_run: Handler for the #ComAcmeCoyote::handle-run signal. 1569s # * @handle_sleep: Handler for the #ComAcmeCoyote::handle-sleep signal. 1569s # * @get_mood: Getter for the #ComAcmeCoyote:mood property. 1569s # * @surprised: Handler for the #ComAcmeCoyote::surprised signal. 1569s # * 1569s # * Virtual table for the D-Bus interface com.acme.Coyote. 1569s # */ 1569s # 1569s # typedef ComAcmeCoyoteIface ComAcmeCoyoteInterface; 1569s # G_DEFINE_INTERFACE (ComAcmeCoyote, com_acme_coyote, G_TYPE_OBJECT) 1569s # 1569s # static void 1569s # com_acme_coyote_default_init (ComAcmeCoyoteIface *iface) 1569s # { 1569s # /* GObject signals for incoming D-Bus method calls: */ 1569s # /** 1569s # * ComAcmeCoyote::handle-run: 1569s # * @object: A #ComAcmeCoyote. 1569s # * @invocation: A #GDBusMethodInvocation. 1569s # * 1569s # * Signal emitted when a remote caller is invoking the Run() D-Bus method. 1569s # * 1569s # * 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. 1569s # * 1569s # * 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. 1569s # */ 1569s # g_signal_new ("handle-run", 1569s # G_TYPE_FROM_INTERFACE (iface), 1569s # G_SIGNAL_RUN_LAST, 1569s # G_STRUCT_OFFSET (ComAcmeCoyoteIface, handle_run), 1569s # g_signal_accumulator_true_handled, 1569s # NULL, 1569s # com_acme_coyote_method_marshal_run, 1569s # G_TYPE_BOOLEAN, 1569s # 1, 1569s # G_TYPE_DBUS_METHOD_INVOCATION); 1569s # 1569s # /** 1569s # * ComAcmeCoyote::handle-sleep: 1569s # * @object: A #ComAcmeCoyote. 1569s # * @invocation: A #GDBusMethodInvocation. 1569s # * 1569s # * Signal emitted when a remote caller is invoking the Sleep() D-Bus method. 1569s # * 1569s # * 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. 1569s # * 1569s # * 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. 1569s # */ 1569s # g_signal_new ("handle-sleep", 1569s # G_TYPE_FROM_INTERFACE (iface), 1569s # G_SIGNAL_RUN_LAST, 1569s # G_STRUCT_OFFSET (ComAcmeCoyoteIface, handle_sleep), 1569s # g_signal_accumulator_true_handled, 1569s # NULL, 1569s # com_acme_coyote_method_marshal_sleep, 1569s # G_TYPE_BOOLEAN, 1569s # 1, 1569s # G_TYPE_DBUS_METHOD_INVOCATION); 1569s # 1569s # /** 1569s # * ComAcmeCoyote::handle-attack: 1569s # * @object: A #ComAcmeCoyote. 1569s # * @invocation: A #GDBusMethodInvocation. 1569s # * 1569s # * Signal emitted when a remote caller is invoking the Attack() D-Bus method. 1569s # * 1569s # * 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. 1569s # * 1569s # * 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. 1569s # */ 1569s # g_signal_new ("handle-attack", 1569s # G_TYPE_FROM_INTERFACE (iface), 1569s # G_SIGNAL_RUN_LAST, 1569s # G_STRUCT_OFFSET (ComAcmeCoyoteIface, handle_attack), 1569s # g_signal_accumulator_true_handled, 1569s # NULL, 1569s # com_acme_coyote_method_marshal_attack, 1569s # G_TYPE_BOOLEAN, 1569s # 1, 1569s # G_TYPE_DBUS_METHOD_INVOCATION); 1569s # 1569s # /* GObject signals for received D-Bus signals: */ 1569s # /** 1569s # * ComAcmeCoyote::surprised: 1569s # * @object: A #ComAcmeCoyote. 1569s # * 1569s # * On the client-side, this signal is emitted whenever the D-Bus signal "Surprised" is received. 1569s # * 1569s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1569s # */ 1569s # _COM_ACME_COYOTE_SIGNALS[_COM_ACME_COYOTE_SURPRISED] = 1569s # g_signal_new ("surprised", 1569s # G_TYPE_FROM_INTERFACE (iface), 1569s # G_SIGNAL_RUN_LAST, 1569s # G_STRUCT_OFFSET (ComAcmeCoyoteIface, surprised), 1569s # NULL, 1569s # NULL, 1569s # com_acme_coyote_signal_marshal_surprised, 1569s # G_TYPE_NONE, 1569s # 0); 1569s # 1569s # /* GObject properties for D-Bus properties: */ 1569s # /** 1569s # * ComAcmeCoyote:mood: 1569s # * 1569s # * Represents the D-Bus property "Mood". 1569s # * 1569s # * 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. 1569s # */ 1569s # g_object_interface_install_property (iface, 1569s # g_param_spec_string ("mood", "Mood", "Mood", NULL, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)); 1569s # } 1569s # 1569s # /** 1569s # * com_acme_coyote_get_mood: (skip) 1569s # * @object: A #ComAcmeCoyote. 1569s # * 1569s # * Gets the value of the "Mood" D-Bus property. 1569s # * 1569s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side. 1569s # * 1569s # * 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. 1569s # * 1569s # * 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. 1569s # */ 1569s # const gchar * 1569s # com_acme_coyote_get_mood (ComAcmeCoyote *object) 1569s # { 1569s # g_return_val_if_fail (IS_COM_ACME_COYOTE (object), NULL); 1569s # 1569s # return COM_ACME_COYOTE_GET_IFACE (object)->get_mood (object); 1569s # } 1569s # 1569s # /** 1569s # * com_acme_coyote_dup_mood: (skip) 1569s # * @object: A #ComAcmeCoyote. 1569s # * 1569s # * Gets a copy of the "Mood" D-Bus property. 1569s # * 1569s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side. 1569s # * 1569s # * Returns: (transfer full) (nullable): The property value or %NULL if the property is not set. The returned value should be freed with g_free(). 1569s # */ 1569s # gchar * 1569s # com_acme_coyote_dup_mood (ComAcmeCoyote *object) 1569s # { 1569s # gchar *value; 1569s # g_object_get (G_OBJECT (object), "mood", &value, NULL); 1569s # return value; 1569s # } 1569s # 1569s # /** 1569s # * com_acme_coyote_set_mood: (skip) 1569s # * @object: A #ComAcmeCoyote. 1569s # * @value: The value to set. 1569s # * 1569s # * Sets the "Mood" D-Bus property to @value. 1569s # * 1569s # * Since this D-Bus property is not writable, it is only meaningful to use this function on the service-side. 1569s # */ 1569s # void 1569s # com_acme_coyote_set_mood (ComAcmeCoyote *object, const gchar *value) 1569s # { 1569s # g_object_set (G_OBJECT (object), "mood", value, NULL); 1569s # } 1569s # 1569s # /** 1569s # * com_acme_coyote_emit_surprised: 1569s # * @object: A #ComAcmeCoyote. 1569s # * 1569s # * Emits the "Surprised" D-Bus signal. 1569s # */ 1569s # void 1569s # com_acme_coyote_emit_surprised ( 1569s # ComAcmeCoyote *object) 1569s # { 1569s # g_signal_emit (object, _COM_ACME_COYOTE_SIGNALS[_COM_ACME_COYOTE_SURPRISED], 0); 1569s # } 1569s # 1569s # /** 1569s # * com_acme_coyote_call_run: 1569s # * @proxy: A #ComAcmeCoyoteProxy. 1569s # * @cancellable: (nullable): A #GCancellable or %NULL. 1569s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1569s # * @user_data: User data to pass to @callback. 1569s # * 1569s # * Asynchronously invokes the Run() D-Bus method on @proxy. 1569s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1569s # * You can then call com_acme_coyote_call_run_finish() to get the result of the operation. 1569s # * 1569s # * See com_acme_coyote_call_run_sync() for the synchronous, blocking version of this method. 1569s # */ 1569s # void 1569s # com_acme_coyote_call_run ( 1569s # ComAcmeCoyote *proxy, 1569s # GCancellable *cancellable, 1569s # GAsyncReadyCallback callback, 1569s # gpointer user_data) 1569s # { 1569s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1569s # "Run", 1569s # g_variant_new ("()"), 1569s # G_DBUS_CALL_FLAGS_NONE, 1569s # -1, 1569s # cancellable, 1569s # callback, 1569s # user_data); 1569s # } 1569s # 1569s # /** 1569s # * com_acme_coyote_call_run_finish: 1569s # * @proxy: A #ComAcmeCoyoteProxy. 1569s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_call_run(). 1569s # * @error: Return location for error or %NULL. 1569s # * 1569s # * Finishes an operation started with com_acme_coyote_call_run(). 1569s # * 1569s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1569s # */ 1569s # gboolean 1569s # com_acme_coyote_call_run_finish ( 1569s # ComAcmeCoyote *proxy, 1569s # GAsyncResult *res, 1569s # GError **error) 1569s # { 1569s # GVariant *_ret; 1569s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1569s # if (_ret == NULL) 1569s # goto _out; 1569s # g_variant_get (_ret, 1569s # "()"); 1569s # g_variant_unref (_ret); 1569s # _out: 1569s # return _ret != NULL; 1569s # } 1569s # 1569s # /** 1569s # * com_acme_coyote_call_run_sync: 1569s # * @proxy: A #ComAcmeCoyoteProxy. 1569s # * @cancellable: (nullable): A #GCancellable or %NULL. 1569s # * @error: Return location for error or %NULL. 1569s # * 1569s # * Synchronously invokes the Run() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1569s # * 1569s # * See com_acme_coyote_call_run() for the asynchronous version of this method. 1569s # * 1569s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1569s # */ 1569s # gboolean 1569s # com_acme_coyote_call_run_sync ( 1569s # ComAcmeCoyote *proxy, 1569s # GCancellable *cancellable, 1569s # GError **error) 1569s # { 1569s # GVariant *_ret; 1569s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1569s # "Run", 1569s # g_variant_new ("()"), 1569s # G_DBUS_CALL_FLAGS_NONE, 1569s # -1, 1569s # cancellable, 1569s # error); 1569s # if (_ret == NULL) 1569s # goto _out; 1569s # g_variant_get (_ret, 1569s # "()"); 1569s # g_variant_unref (_ret); 1569s # _out: 1569s # return _ret != NULL; 1569s # } 1569s # 1569s # /** 1569s # * com_acme_coyote_call_sleep: 1569s # * @proxy: A #ComAcmeCoyoteProxy. 1569s # * @cancellable: (nullable): A #GCancellable or %NULL. 1569s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1569s # * @user_data: User data to pass to @callback. 1569s # * 1569s # * Asynchronously invokes the Sleep() D-Bus method on @proxy. 1569s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1569s # * You can then call com_acme_coyote_call_sleep_finish() to get the result of the operation. 1569s # * 1569s # * See com_acme_coyote_call_sleep_sync() for the synchronous, blocking version of this method. 1569s # */ 1569s # void 1569s # com_acme_coyote_call_sleep ( 1569s # ComAcmeCoyote *proxy, 1569s # GCancellable *cancellable, 1569s # GAsyncReadyCallback callback, 1569s # gpointer user_data) 1569s # { 1569s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1569s # "Sleep", 1569s # g_variant_new ("()"), 1569s # G_DBUS_CALL_FLAGS_NONE, 1569s # -1, 1569s # cancellable, 1569s # callback, 1569s # user_data); 1569s # } 1569s # 1569s # /** 1569s # * com_acme_coyote_call_sleep_finish: 1569s # * @proxy: A #ComAcmeCoyoteProxy. 1569s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_call_sleep(). 1569s # * @error: Return location for error or %NULL. 1569s # * 1569s # * Finishes an operation started with com_acme_coyote_call_sleep(). 1569s # * 1569s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1569s # */ 1569s # gboolean 1569s # com_acme_coyote_call_sleep_finish ( 1569s # ComAcmeCoyote *proxy, 1569s # GAsyncResult *res, 1569s # GError **error) 1569s # { 1569s # GVariant *_ret; 1569s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1569s # if (_ret == NULL) 1569s # goto _out; 1569s # g_variant_get (_ret, 1569s # "()"); 1569s # g_variant_unref (_ret); 1569s # _out: 1569s # return _ret != NULL; 1569s # } 1569s # 1569s # /** 1569s # * com_acme_coyote_call_sleep_sync: 1569s # * @proxy: A #ComAcmeCoyoteProxy. 1569s # * @cancellable: (nullable): A #GCancellable or %NULL. 1569s # * @error: Return location for error or %NULL. 1569s # * 1569s # * Synchronously invokes the Sleep() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1569s # * 1569s # * See com_acme_coyote_call_sleep() for the asynchronous version of this method. 1569s # * 1569s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1569s # */ 1569s # gboolean 1569s # com_acme_coyote_call_sleep_sync ( 1569s # ComAcmeCoyote *proxy, 1569s # GCancellable *cancellable, 1569s # GError **error) 1569s # { 1569s # GVariant *_ret; 1569s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1569s # "Sleep", 1569s # g_variant_new ("()"), 1569s # G_DBUS_CALL_FLAGS_NONE, 1569s # -1, 1569s # cancellable, 1569s # error); 1569s # if (_ret == NULL) 1569s # goto _out; 1569s # g_variant_get (_ret, 1569s # "()"); 1569s # g_variant_unref (_ret); 1569s # _out: 1569s # return _ret != NULL; 1569s # } 1569s # 1569s # /** 1569s # * com_acme_coyote_call_attack: 1569s # * @proxy: A #ComAcmeCoyoteProxy. 1569s # * @cancellable: (nullable): A #GCancellable or %NULL. 1569s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1569s # * @user_data: User data to pass to @callback. 1569s # * 1569s # * Asynchronously invokes the Attack() D-Bus method on @proxy. 1569s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1569s # * You can then call com_acme_coyote_call_attack_finish() to get the result of the operation. 1569s # * 1569s # * See com_acme_coyote_call_attack_sync() for the synchronous, blocking version of this method. 1569s # */ 1569s # void 1569s # com_acme_coyote_call_attack ( 1569s # ComAcmeCoyote *proxy, 1569s # GCancellable *cancellable, 1569s # GAsyncReadyCallback callback, 1569s # gpointer user_data) 1569s # { 1569s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1569s # "Attack", 1569s # g_variant_new ("()"), 1569s # G_DBUS_CALL_FLAGS_NONE, 1569s # -1, 1569s # cancellable, 1569s # callback, 1569s # user_data); 1569s # } 1569s # 1569s # /** 1569s # * com_acme_coyote_call_attack_finish: 1569s # * @proxy: A #ComAcmeCoyoteProxy. 1569s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_call_attack(). 1569s # * @error: Return location for error or %NULL. 1569s # * 1569s # * Finishes an operation started with com_acme_coyote_call_attack(). 1569s # * 1569s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1569s # */ 1569s # gboolean 1569s # com_acme_coyote_call_attack_finish ( 1569s # ComAcmeCoyote *proxy, 1569s # GAsyncResult *res, 1569s # GError **error) 1569s # { 1569s # GVariant *_ret; 1569s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1569s # if (_ret == NULL) 1569s # goto _out; 1569s # g_variant_get (_ret, 1569s # "()"); 1569s # g_variant_unref (_ret); 1569s # _out: 1569s # return _ret != NULL; 1569s # } 1569s # 1569s # /** 1569s # * com_acme_coyote_call_attack_sync: 1569s # * @proxy: A #ComAcmeCoyoteProxy. 1569s # * @cancellable: (nullable): A #GCancellable or %NULL. 1569s # * @error: Return location for error or %NULL. 1569s # * 1569s # * Synchronously invokes the Attack() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1569s # * 1569s # * See com_acme_coyote_call_attack() for the asynchronous version of this method. 1569s # * 1569s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1569s # */ 1569s # gboolean 1569s # com_acme_coyote_call_attack_sync ( 1569s # ComAcmeCoyote *proxy, 1569s # GCancellable *cancellable, 1569s # GError **error) 1569s # { 1569s # GVariant *_ret; 1569s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1569s # "Attack", 1569s # g_variant_new ("()"), 1569s # G_DBUS_CALL_FLAGS_NONE, 1569s # -1, 1569s # cancellable, 1569s # error); 1569s # if (_ret == NULL) 1569s # goto _out; 1569s # g_variant_get (_ret, 1569s # "()"); 1569s # g_variant_unref (_ret); 1569s # _out: 1569s # return _ret != NULL; 1569s # } 1569s # 1569s # /** 1569s # * com_acme_coyote_complete_run: 1569s # * @object: A #ComAcmeCoyote. 1569s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1569s # * 1569s # * 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. 1569s # * 1569s # * This method will free @invocation, you cannot use it afterwards. 1569s # */ 1569s # void 1569s # com_acme_coyote_complete_run ( 1569s # ComAcmeCoyote *object G_GNUC_UNUSED, 1569s # GDBusMethodInvocation *invocation) 1569s # { 1569s # g_dbus_method_invocation_return_value (invocation, 1569s # g_variant_new ("()")); 1569s # } 1569s # 1569s # /** 1569s # * com_acme_coyote_complete_sleep: 1569s # * @object: A #ComAcmeCoyote. 1569s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1569s # * 1569s # * 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. 1569s # * 1569s # * This method will free @invocation, you cannot use it afterwards. 1569s # */ 1569s # void 1569s # com_acme_coyote_complete_sleep ( 1569s # ComAcmeCoyote *object G_GNUC_UNUSED, 1569s # GDBusMethodInvocation *invocation) 1569s # { 1569s # g_dbus_method_invocation_return_value (invocation, 1569s # g_variant_new ("()")); 1569s # } 1569s # 1569s # /** 1569s # * com_acme_coyote_complete_attack: 1569s # * @object: A #ComAcmeCoyote. 1569s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1569s # * 1569s # * 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. 1569s # * 1569s # * This method will free @invocation, you cannot use it afterwards. 1569s # */ 1569s # void 1569s # com_acme_coyote_complete_attack ( 1569s # ComAcmeCoyote *object G_GNUC_UNUSED, 1569s # GDBusMethodInvocation *invocation) 1569s # { 1569s # g_dbus_method_invocation_return_value (invocation, 1569s # g_variant_new ("()")); 1569s # } 1569s # 1569s # /* ------------------------------------------------------------------------ */ 1569s # 1569s # /** 1569s # * ComAcmeCoyoteProxy: 1569s # * 1569s # * The #ComAcmeCoyoteProxy structure contains only private data and should only be accessed using the provided API. 1569s # */ 1569s # 1569s # /** 1569s # * ComAcmeCoyoteProxyClass: 1569s # * @parent_class: The parent class. 1569s # * 1569s # * Class structure for #ComAcmeCoyoteProxy. 1569s # */ 1569s # 1569s # struct _ComAcmeCoyoteProxyPrivate 1569s # { 1569s # GData *qdata; 1569s # }; 1569s # 1569s # static void com_acme_coyote_proxy_iface_init (ComAcmeCoyoteIface *iface); 1569s # 1569s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1569s # G_DEFINE_TYPE_WITH_CODE (ComAcmeCoyoteProxy, com_acme_coyote_proxy, G_TYPE_DBUS_PROXY, 1569s # G_ADD_PRIVATE (ComAcmeCoyoteProxy) 1569s # G_IMPLEMENT_INTERFACE (TYPE_COM_ACME_COYOTE, com_acme_coyote_proxy_iface_init)) 1569s # 1569s # #else 1569s # G_DEFINE_TYPE_WITH_CODE (ComAcmeCoyoteProxy, com_acme_coyote_proxy, G_TYPE_DBUS_PROXY, 1569s # G_IMPLEMENT_INTERFACE (TYPE_COM_ACME_COYOTE, com_acme_coyote_proxy_iface_init)) 1569s # 1569s # #endif 1569s # static void 1569s # com_acme_coyote_proxy_finalize (GObject *object) 1569s # { 1569s # ComAcmeCoyoteProxy *proxy = COM_ACME_COYOTE_PROXY (object); 1569s # g_datalist_clear (&proxy->priv->qdata); 1569s # G_OBJECT_CLASS (com_acme_coyote_proxy_parent_class)->finalize (object); 1569s # } 1569s # 1569s # static void 1569s # com_acme_coyote_proxy_get_property (GObject *object, 1569s # guint prop_id, 1569s # GValue *value, 1569s # GParamSpec *pspec G_GNUC_UNUSED) 1569s # { 1569s # const _ExtendedGDBusPropertyInfo *info; 1569s # GVariant *variant; 1569s # g_assert (prop_id != 0 && prop_id - 1 < 1); 1569s # info = (const _ExtendedGDBusPropertyInfo *) _com_acme_coyote_property_info_pointers[prop_id - 1]; 1569s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (object), info->parent_struct.name); 1569s # if (info->use_gvariant) 1569s # { 1569s # g_value_set_variant (value, variant); 1569s # } 1569s # else 1569s # { 1569s # if (variant != NULL) 1569s # g_dbus_gvariant_to_gvalue (variant, value); 1569s # } 1569s # if (variant != NULL) 1569s # g_variant_unref (variant); 1569s # } 1569s # 1569s # static void 1569s # com_acme_coyote_proxy_set_property_cb (GDBusProxy *proxy, 1569s # GAsyncResult *res, 1569s # gpointer user_data) 1569s # { 1569s # const _ExtendedGDBusPropertyInfo *info = user_data; 1569s # GError *error; 1569s # GVariant *_ret; 1569s # error = NULL; 1569s # _ret = g_dbus_proxy_call_finish (proxy, res, &error); 1569s # if (!_ret) 1569s # { 1569s # g_warning ("Error setting property '%s' on interface com.acme.Coyote: %s (%s, %d)", 1569s # info->parent_struct.name, 1569s # error->message, g_quark_to_string (error->domain), error->code); 1569s # g_error_free (error); 1569s # } 1569s # else 1569s # { 1569s # g_variant_unref (_ret); 1569s # } 1569s # } 1569s # 1569s # static void 1569s # com_acme_coyote_proxy_set_property (GObject *object, 1569s # guint prop_id, 1569s # const GValue *value, 1569s # GParamSpec *pspec G_GNUC_UNUSED) 1569s # { 1569s # const _ExtendedGDBusPropertyInfo *info; 1569s # GVariant *variant; 1569s # g_assert (prop_id != 0 && prop_id - 1 < 1); 1569s # info = (const _ExtendedGDBusPropertyInfo *) _com_acme_coyote_property_info_pointers[prop_id - 1]; 1569s # variant = g_dbus_gvalue_to_gvariant (value, G_VARIANT_TYPE (info->parent_struct.signature)); 1569s # g_dbus_proxy_call (G_DBUS_PROXY (object), 1569s # "org.freedesktop.DBus.Properties.Set", 1569s # g_variant_new ("(ssv)", "com.acme.Coyote", info->parent_struct.name, variant), 1569s # G_DBUS_CALL_FLAGS_NONE, 1569s # -1, 1569s # NULL, (GAsyncReadyCallback) com_acme_coyote_proxy_set_property_cb, (GDBusPropertyInfo *) &info->parent_struct); 1569s # g_variant_unref (variant); 1569s # } 1569s # 1569s # static void 1569s # com_acme_coyote_proxy_g_signal (GDBusProxy *proxy, 1569s # const gchar *sender_name G_GNUC_UNUSED, 1569s # const gchar *signal_name, 1569s # GVariant *parameters) 1569s # { 1569s # _ExtendedGDBusSignalInfo *info; 1569s # GVariantIter iter; 1569s # GVariant *child; 1569s # GValue *paramv; 1569s # gsize num_params; 1569s # gsize n; 1569s # guint signal_id; 1569s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, signal_name); 1569s # if (info == NULL) 1569s # return; 1569s # num_params = g_variant_n_children (parameters); 1569s # paramv = g_new0 (GValue, num_params + 1); 1569s # g_value_init (¶mv[0], TYPE_COM_ACME_COYOTE); 1569s # g_value_set_object (¶mv[0], proxy); 1569s # g_variant_iter_init (&iter, parameters); 1569s # n = 1; 1569s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1569s # { 1569s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1569s # if (arg_info->use_gvariant) 1569s # { 1569s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1569s # g_value_set_variant (¶mv[n], child); 1569s # n++; 1569s # } 1569s # else 1569s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1569s # g_variant_unref (child); 1569s # } 1569s # signal_id = g_signal_lookup (info->signal_name, TYPE_COM_ACME_COYOTE); 1569s # g_signal_emitv (paramv, signal_id, 0, NULL); 1569s # for (n = 0; n < num_params + 1; n++) 1569s # g_value_unset (¶mv[n]); 1569s # g_free (paramv); 1569s # } 1569s # 1569s # static void 1569s # com_acme_coyote_proxy_g_properties_changed (GDBusProxy *_proxy, 1569s # GVariant *changed_properties, 1569s # const gchar *const *invalidated_properties) 1569s # { 1569s # ComAcmeCoyoteProxy *proxy = COM_ACME_COYOTE_PROXY (_proxy); 1569s # guint n; 1569s # const gchar *key; 1569s # GVariantIter *iter; 1569s # _ExtendedGDBusPropertyInfo *info; 1569s # g_variant_get (changed_properties, "a{sv}", &iter); 1569s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1569s # { 1569s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, key); 1569s # g_datalist_remove_data (&proxy->priv->qdata, key); 1569s # if (info != NULL) 1569s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1569s # } 1569s # g_variant_iter_free (iter); 1569s # for (n = 0; invalidated_properties[n] != NULL; n++) 1569s # { 1569s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, invalidated_properties[n]); 1569s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1569s # if (info != NULL) 1569s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1569s # } 1569s # } 1569s # 1569s # static const gchar * 1569s # com_acme_coyote_proxy_get_mood (ComAcmeCoyote *object) 1569s # { 1569s # ComAcmeCoyoteProxy *proxy = COM_ACME_COYOTE_PROXY (object); 1569s # GVariant *variant; 1569s # const gchar *value = NULL; 1569s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (proxy), "Mood"); 1569s # if (variant != NULL) 1569s # { 1569s # value = g_variant_get_string (variant, NULL); 1569s # g_variant_unref (variant); 1569s # } 1569s # return value; 1569s # } 1569s # 1569s # static void 1569s # com_acme_coyote_proxy_init (ComAcmeCoyoteProxy *proxy) 1569s # { 1569s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1569s # proxy->priv = com_acme_coyote_proxy_get_instance_private (proxy); 1569s # #else 1569s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_COM_ACME_COYOTE_PROXY, ComAcmeCoyoteProxyPrivate); 1569s # #endif 1569s # 1569s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), com_acme_coyote_interface_info ()); 1569s # } 1569s # 1569s # static void 1569s # com_acme_coyote_proxy_class_init (ComAcmeCoyoteProxyClass *klass) 1569s # { 1569s # GObjectClass *gobject_class; 1569s # GDBusProxyClass *proxy_class; 1569s # 1569s # gobject_class = G_OBJECT_CLASS (klass); 1569s # gobject_class->finalize = com_acme_coyote_proxy_finalize; 1569s # gobject_class->get_property = com_acme_coyote_proxy_get_property; 1569s # gobject_class->set_property = com_acme_coyote_proxy_set_property; 1569s # 1569s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1569s # proxy_class->g_signal = com_acme_coyote_proxy_g_signal; 1569s # proxy_class->g_properties_changed = com_acme_coyote_proxy_g_properties_changed; 1569s # 1569s # com_acme_coyote_override_properties (gobject_class, 1); 1569s # 1569s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1569s # g_type_class_add_private (klass, sizeof (ComAcmeCoyoteProxyPrivate)); 1569s # #endif 1569s # } 1569s # 1569s # static void 1569s # com_acme_coyote_proxy_iface_init (ComAcmeCoyoteIface *iface) 1569s # { 1569s # iface->get_mood = com_acme_coyote_proxy_get_mood; 1569s # } 1569s # 1569s # /** 1569s # * com_acme_coyote_proxy_new: 1569s # * @connection: A #GDBusConnection. 1569s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1569s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1569s # * @object_path: An object path. 1569s # * @cancellable: (nullable): A #GCancellable or %NULL. 1569s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1569s # * @user_data: User data to pass to @callback. 1569s # * 1569s # * Asynchronously creates a proxy for the D-Bus interface com.acme.Coyote. See g_dbus_proxy_new() for more details. 1569s # * 1569s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1569s # * You can then call com_acme_coyote_proxy_new_finish() to get the result of the operation. 1569s # * 1569s # * See com_acme_coyote_proxy_new_sync() for the synchronous, blocking version of this constructor. 1569s # */ 1569s # void 1569s # com_acme_coyote_proxy_new ( 1569s # GDBusConnection *connection, 1569s # GDBusProxyFlags flags, 1569s # const gchar *name, 1569s # const gchar *object_path, 1569s # GCancellable *cancellable, 1569s # GAsyncReadyCallback callback, 1569s # gpointer user_data) 1569s # { 1569s # 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); 1569s # } 1569s # 1569s # /** 1569s # * com_acme_coyote_proxy_new_finish: 1569s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_proxy_new(). 1569s # * @error: Return location for error or %NULL 1569s # * 1569s # * Finishes an operation started with com_acme_coyote_proxy_new(). 1569s # * 1569s # * Returns: (transfer full) (type ComAcmeCoyoteProxy): The constructed proxy object or %NULL if @error is set. 1569s # */ 1569s # ComAcmeCoyote * 1569s # com_acme_coyote_proxy_new_finish ( 1569s # GAsyncResult *res, 1569s # GError **error) 1569s # { 1569s # GObject *ret; 1569s # GObject *source_object; 1569s # source_object = g_async_result_get_source_object (res); 1569s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1569s # g_object_unref (source_object); 1569s # if (ret != NULL) 1569s # return COM_ACME_COYOTE (ret); 1569s # else 1569s # return NULL; 1569s # } 1569s # 1569s # /** 1569s # * com_acme_coyote_proxy_new_sync: 1569s # * @connection: A #GDBusConnection. 1569s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1569s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1569s # * @object_path: An object path. 1569s # * @cancellable: (nullable): A #GCancellable or %NULL. 1569s # * @error: Return location for error or %NULL 1569s # * 1569s # * Synchronously creates a proxy for the D-Bus interface com.acme.Coyote. See g_dbus_proxy_new_sync() for more details. 1569s # * 1569s # * The calling thread is blocked until a reply is received. 1569s # * 1569s # * See com_acme_coyote_proxy_new() for the asynchronous version of this constructor. 1569s # * 1569s # * Returns: (transfer full) (type ComAcmeCoyoteProxy): The constructed proxy object or %NULL if @error is set. 1569s # */ 1569s # ComAcmeCoyote * 1569s # com_acme_coyote_proxy_new_sync ( 1569s # GDBusConnection *connection, 1569s # GDBusProxyFlags flags, 1569s # const gchar *name, 1569s # const gchar *object_path, 1569s # GCancellable *cancellable, 1569s # GError **error) 1569s # { 1569s # GInitable *ret; 1569s # 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); 1569s # if (ret != NULL) 1569s # return COM_ACME_COYOTE (ret); 1569s # else 1569s # return NULL; 1569s # } 1569s # 1569s # 1569s # /** 1569s # * com_acme_coyote_proxy_new_for_bus: 1569s # * @bus_type: A #GBusType. 1569s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1569s # * @name: A bus name (well-known or unique). 1569s # * @object_path: An object path. 1569s # * @cancellable: (nullable): A #GCancellable or %NULL. 1569s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1569s # * @user_data: User data to pass to @callback. 1569s # * 1569s # * Like com_acme_coyote_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1569s # * 1569s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1569s # * You can then call com_acme_coyote_proxy_new_for_bus_finish() to get the result of the operation. 1569s # * 1569s # * See com_acme_coyote_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1569s # */ 1569s # void 1569s # com_acme_coyote_proxy_new_for_bus ( 1569s # GBusType bus_type, 1569s # GDBusProxyFlags flags, 1569s # const gchar *name, 1569s # const gchar *object_path, 1569s # GCancellable *cancellable, 1569s # GAsyncReadyCallback callback, 1569s # gpointer user_data) 1569s # { 1569s # 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); 1569s # } 1569s # 1569s # /** 1569s # * com_acme_coyote_proxy_new_for_bus_finish: 1569s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_proxy_new_for_bus(). 1569s # * @error: Return location for error or %NULL 1569s # * 1569s # * Finishes an operation started with com_acme_coyote_proxy_new_for_bus(). 1569s # * 1569s # * Returns: (transfer full) (type ComAcmeCoyoteProxy): The constructed proxy object or %NULL if @error is set. 1569s # */ 1569s # ComAcmeCoyote * 1569s # com_acme_coyote_proxy_new_for_bus_finish ( 1569s # GAsyncResult *res, 1569s # GError **error) 1569s # { 1569s # GObject *ret; 1569s # GObject *source_object; 1569s # source_object = g_async_result_get_source_object (res); 1569s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1569s # g_object_unref (source_object); 1569s # if (ret != NULL) 1569s # return COM_ACME_COYOTE (ret); 1569s # else 1569s # return NULL; 1569s # } 1569s # 1569s # /** 1569s # * com_acme_coyote_proxy_new_for_bus_sync: 1569s # * @bus_type: A #GBusType. 1569s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1569s # * @name: A bus name (well-known or unique). 1569s # * @object_path: An object path. 1569s # * @cancellable: (nullable): A #GCancellable or %NULL. 1569s # * @error: Return location for error or %NULL 1569s # * 1569s # * Like com_acme_coyote_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1569s # * 1569s # * The calling thread is blocked until a reply is received. 1569s # * 1569s # * See com_acme_coyote_proxy_new_for_bus() for the asynchronous version of this constructor. 1569s # * 1569s # * Returns: (transfer full) (type ComAcmeCoyoteProxy): The constructed proxy object or %NULL if @error is set. 1569s # */ 1569s # ComAcmeCoyote * 1569s # com_acme_coyote_proxy_new_for_bus_sync ( 1569s # GBusType bus_type, 1569s # GDBusProxyFlags flags, 1569s # const gchar *name, 1569s # const gchar *object_path, 1569s # GCancellable *cancellable, 1569s # GError **error) 1569s # { 1569s # GInitable *ret; 1569s # 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); 1569s # if (ret != NULL) 1569s # return COM_ACME_COYOTE (ret); 1569s # else 1569s # return NULL; 1569s # } 1569s # 1569s # 1569s # /* ------------------------------------------------------------------------ */ 1569s # 1569s # /** 1569s # * ComAcmeCoyoteSkeleton: 1569s # * 1569s # * The #ComAcmeCoyoteSkeleton structure contains only private data and should only be accessed using the provided API. 1569s # */ 1569s # 1569s # /** 1569s # * ComAcmeCoyoteSkeletonClass: 1569s # * @parent_class: The parent class. 1569s # * 1569s # * Class structure for #ComAcmeCoyoteSkeleton. 1569s # */ 1569s # 1569s # struct _ComAcmeCoyoteSkeletonPrivate 1569s # { 1569s # GValue *properties; 1569s # GList *changed_properties; 1569s # GSource *changed_properties_idle_source; 1569s # GMainContext *context; 1569s # GMutex lock; 1569s # }; 1569s # 1569s # static void 1569s # _com_acme_coyote_skeleton_handle_method_call ( 1569s # GDBusConnection *connection G_GNUC_UNUSED, 1569s # const gchar *sender G_GNUC_UNUSED, 1569s # const gchar *object_path G_GNUC_UNUSED, 1569s # const gchar *interface_name, 1569s # const gchar *method_name, 1569s # GVariant *parameters, 1569s # GDBusMethodInvocation *invocation, 1569s # gpointer user_data) 1569s # { 1569s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (user_data); 1569s # _ExtendedGDBusMethodInfo *info; 1569s # GVariantIter iter; 1569s # GVariant *child; 1569s # GValue *paramv; 1569s # gsize num_params; 1569s # guint num_extra; 1569s # gsize n; 1569s # guint signal_id; 1569s # GValue return_value = G_VALUE_INIT; 1569s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1569s # g_assert (info != NULL); 1569s # num_params = g_variant_n_children (parameters); 1569s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1569s # n = 0; 1569s # g_value_init (¶mv[n], TYPE_COM_ACME_COYOTE); 1569s # g_value_set_object (¶mv[n++], skeleton); 1569s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1569s # g_value_set_object (¶mv[n++], invocation); 1569s # if (info->pass_fdlist) 1569s # { 1569s # #ifdef G_OS_UNIX 1569s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1569s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1569s # #else 1569s # g_assert_not_reached (); 1569s # #endif 1569s # } 1569s # g_variant_iter_init (&iter, parameters); 1569s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1569s # { 1569s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1569s # if (arg_info->use_gvariant) 1569s # { 1569s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1569s # g_value_set_variant (¶mv[n], child); 1569s # n++; 1569s # } 1569s # else 1569s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1569s # g_variant_unref (child); 1569s # } 1569s # signal_id = g_signal_lookup (info->signal_name, TYPE_COM_ACME_COYOTE); 1569s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1569s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1569s # if (!g_value_get_boolean (&return_value)) 1569s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1569s # g_value_unset (&return_value); 1569s # for (n = 0; n < num_params + num_extra; n++) 1569s # g_value_unset (¶mv[n]); 1569s # g_free (paramv); 1569s # } 1569s # 1569s # static GVariant * 1569s # _com_acme_coyote_skeleton_handle_get_property ( 1569s # GDBusConnection *connection G_GNUC_UNUSED, 1569s # const gchar *sender G_GNUC_UNUSED, 1569s # const gchar *object_path G_GNUC_UNUSED, 1569s # const gchar *interface_name G_GNUC_UNUSED, 1569s # const gchar *property_name, 1569s # GError **error, 1569s # gpointer user_data) 1569s # { 1569s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (user_data); 1569s # GValue value = G_VALUE_INIT; 1569s # GParamSpec *pspec; 1569s # _ExtendedGDBusPropertyInfo *info; 1569s # GVariant *ret; 1569s # ret = NULL; 1569s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, property_name); 1569s # g_assert (info != NULL); 1569s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1569s # if (pspec == NULL) 1569s # { 1569s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1569s # } 1569s # else 1569s # { 1569s # g_value_init (&value, pspec->value_type); 1569s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1569s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1569s # g_value_unset (&value); 1569s # } 1569s # return ret; 1569s # } 1569s # 1569s # static gboolean 1569s # _com_acme_coyote_skeleton_handle_set_property ( 1569s # GDBusConnection *connection G_GNUC_UNUSED, 1569s # const gchar *sender G_GNUC_UNUSED, 1569s # const gchar *object_path G_GNUC_UNUSED, 1569s # const gchar *interface_name G_GNUC_UNUSED, 1569s # const gchar *property_name, 1569s # GVariant *variant, 1569s # GError **error, 1569s # gpointer user_data) 1569s # { 1569s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (user_data); 1569s # GValue value = G_VALUE_INIT; 1569s # GParamSpec *pspec; 1569s # _ExtendedGDBusPropertyInfo *info; 1569s # gboolean ret; 1569s # ret = FALSE; 1569s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, property_name); 1569s # g_assert (info != NULL); 1569s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1569s # if (pspec == NULL) 1569s # { 1569s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1569s # } 1569s # else 1569s # { 1569s # if (info->use_gvariant) 1569s # g_value_set_variant (&value, variant); 1569s # else 1569s # g_dbus_gvariant_to_gvalue (variant, &value); 1569s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1569s # g_value_unset (&value); 1569s # ret = TRUE; 1569s # } 1569s # return ret; 1569s # } 1569s # 1569s # static const GDBusInterfaceVTable _com_acme_coyote_skeleton_vtable = 1569s # { 1569s # _com_acme_coyote_skeleton_handle_method_call, 1569s # _com_acme_coyote_skeleton_handle_get_property, 1569s # _com_acme_coyote_skeleton_handle_set_property, 1569s # {NULL} 1569s # }; 1569s # 1569s # static GDBusInterfaceInfo * 1569s # com_acme_coyote_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1569s # { 1569s # return com_acme_coyote_interface_info (); 1569s # } 1569s # 1569s # static GDBusInterfaceVTable * 1569s # com_acme_coyote_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1569s # { 1569s # return (GDBusInterfaceVTable *) &_com_acme_coyote_skeleton_vtable; 1569s # } 1569s # 1569s # static GVariant * 1569s # com_acme_coyote_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1569s # { 1569s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (_skeleton); 1569s # 1569s # GVariantBuilder builder; 1569s # guint n; 1569s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1569s # if (_com_acme_coyote_interface_info.parent_struct.properties == NULL) 1569s # goto out; 1569s # for (n = 0; _com_acme_coyote_interface_info.parent_struct.properties[n] != NULL; n++) 1569s # { 1569s # GDBusPropertyInfo *info = _com_acme_coyote_interface_info.parent_struct.properties[n]; 1569s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1569s # { 1569s # GVariant *value; 1569s # 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); 1569s # if (value != NULL) 1569s # { 1569s # g_variant_take_ref (value); 1569s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1569s # g_variant_unref (value); 1569s # } 1569s # } 1569s # } 1569s # out: 1569s # return g_variant_builder_end (&builder); 1569s # } 1569s # 1569s # static gboolean _com_acme_coyote_emit_changed (gpointer user_data); 1569s # 1569s # static void 1569s # com_acme_coyote_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton) 1569s # { 1569s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (_skeleton); 1569s # gboolean emit_changed = FALSE; 1569s # 1569s # g_mutex_lock (&skeleton->priv->lock); 1569s # if (skeleton->priv->changed_properties_idle_source != NULL) 1569s # { 1569s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1569s # skeleton->priv->changed_properties_idle_source = NULL; 1569s # emit_changed = TRUE; 1569s # } 1569s # g_mutex_unlock (&skeleton->priv->lock); 1569s # 1569s # if (emit_changed) 1569s # _com_acme_coyote_emit_changed (skeleton); 1569s # } 1569s # 1569s # static void 1569s # _com_acme_coyote_on_signal_surprised ( 1569s # ComAcmeCoyote *object) 1569s # { 1569s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 1569s # 1569s # GList *connections, *l; 1569s # GVariant *signal_variant; 1569s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1569s # 1569s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1569s # for (l = connections; l != NULL; l = l->next) 1569s # { 1569s # GDBusConnection *connection = l->data; 1569s # g_dbus_connection_emit_signal (connection, 1569s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "com.acme.Coyote", "Surprised", 1569s # signal_variant, NULL); 1569s # } 1569s # g_variant_unref (signal_variant); 1569s # g_list_free_full (connections, g_object_unref); 1569s # } 1569s # 1569s # static void com_acme_coyote_skeleton_iface_init (ComAcmeCoyoteIface *iface); 1569s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1569s # G_DEFINE_TYPE_WITH_CODE (ComAcmeCoyoteSkeleton, com_acme_coyote_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1569s # G_ADD_PRIVATE (ComAcmeCoyoteSkeleton) 1569s # G_IMPLEMENT_INTERFACE (TYPE_COM_ACME_COYOTE, com_acme_coyote_skeleton_iface_init)) 1569s # 1569s # #else 1569s # G_DEFINE_TYPE_WITH_CODE (ComAcmeCoyoteSkeleton, com_acme_coyote_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1569s # G_IMPLEMENT_INTERFACE (TYPE_COM_ACME_COYOTE, com_acme_coyote_skeleton_iface_init)) 1569s # 1569s # #endif 1569s # static void 1569s # com_acme_coyote_skeleton_finalize (GObject *object) 1569s # { 1569s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 1569s # guint n; 1569s # for (n = 0; n < 1; n++) 1569s # g_value_unset (&skeleton->priv->properties[n]); 1569s # g_free (skeleton->priv->properties); 1569s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1569s # if (skeleton->priv->changed_properties_idle_source != NULL) 1569s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1569s # g_main_context_unref (skeleton->priv->context); 1569s # g_mutex_clear (&skeleton->priv->lock); 1569s # G_OBJECT_CLASS (com_acme_coyote_skeleton_parent_class)->finalize (object); 1569s # } 1569s # 1569s # static void 1569s # com_acme_coyote_skeleton_get_property (GObject *object, 1569s # guint prop_id, 1569s # GValue *value, 1569s # GParamSpec *pspec G_GNUC_UNUSED) 1569s # { 1569s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 1569s # g_assert (prop_id != 0 && prop_id - 1 < 1); 1569s # g_mutex_lock (&skeleton->priv->lock); 1569s # g_value_copy (&skeleton->priv->properties[prop_id - 1], value); 1569s # g_mutex_unlock (&skeleton->priv->lock); 1569s # } 1569s # 1569s # static gboolean 1569s # _com_acme_coyote_emit_changed (gpointer user_data) 1569s # { 1569s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (user_data); 1569s # GList *l; 1569s # GVariantBuilder builder; 1569s # GVariantBuilder invalidated_builder; 1569s # guint num_changes; 1569s # 1569s # g_mutex_lock (&skeleton->priv->lock); 1569s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1569s # g_variant_builder_init (&invalidated_builder, G_VARIANT_TYPE ("as")); 1569s # for (l = skeleton->priv->changed_properties, num_changes = 0; l != NULL; l = l->next) 1569s # { 1569s # ChangedProperty *cp = l->data; 1569s # GVariant *variant; 1569s # const GValue *cur_value; 1569s # 1569s # cur_value = &skeleton->priv->properties[cp->prop_id - 1]; 1569s # if (!_g_value_equal (cur_value, &cp->orig_value)) 1569s # { 1569s # variant = g_dbus_gvalue_to_gvariant (cur_value, G_VARIANT_TYPE (cp->info->parent_struct.signature)); 1569s # g_variant_builder_add (&builder, "{sv}", cp->info->parent_struct.name, variant); 1569s # g_variant_unref (variant); 1569s # num_changes++; 1569s # } 1569s # } 1569s # if (num_changes > 0) 1569s # { 1569s # GList *connections, *ll; 1569s # GVariant *signal_variant; 1569s # signal_variant = g_variant_ref_sink (g_variant_new ("(sa{sv}as)", "com.acme.Coyote", 1569s # &builder, &invalidated_builder)); 1569s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1569s # for (ll = connections; ll != NULL; ll = ll->next) 1569s # { 1569s # GDBusConnection *connection = ll->data; 1569s # 1569s # g_dbus_connection_emit_signal (connection, 1569s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), 1569s # "org.freedesktop.DBus.Properties", 1569s # "PropertiesChanged", 1569s # signal_variant, 1569s # NULL); 1569s # } 1569s # g_variant_unref (signal_variant); 1569s # g_list_free_full (connections, g_object_unref); 1569s # } 1569s # else 1569s # { 1569s # g_variant_builder_clear (&builder); 1569s # g_variant_builder_clear (&invalidated_builder); 1569s # } 1569s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1569s # skeleton->priv->changed_properties = NULL; 1569s # skeleton->priv->changed_properties_idle_source = NULL; 1569s # g_mutex_unlock (&skeleton->priv->lock); 1569s # return FALSE; 1569s # } 1569s # 1569s # static void 1569s # _com_acme_coyote_schedule_emit_changed (ComAcmeCoyoteSkeleton *skeleton, const _ExtendedGDBusPropertyInfo *info, guint prop_id, const GValue *orig_value) 1569s # { 1569s # ChangedProperty *cp; 1569s # GList *l; 1569s # cp = NULL; 1569s # for (l = skeleton->priv->changed_properties; l != NULL; l = l->next) 1569s # { 1569s # ChangedProperty *i_cp = l->data; 1569s # if (i_cp->info == info) 1569s # { 1569s # cp = i_cp; 1569s # break; 1569s # } 1569s # } 1569s # if (cp == NULL) 1569s # { 1569s # cp = g_new0 (ChangedProperty, 1); 1569s # cp->prop_id = prop_id; 1569s # cp->info = info; 1569s # skeleton->priv->changed_properties = g_list_prepend (skeleton->priv->changed_properties, cp); 1569s # g_value_init (&cp->orig_value, G_VALUE_TYPE (orig_value)); 1569s # g_value_copy (orig_value, &cp->orig_value); 1569s # } 1569s # } 1569s # 1569s # static void 1569s # com_acme_coyote_skeleton_notify (GObject *object, 1569s # GParamSpec *pspec G_GNUC_UNUSED) 1569s # { 1569s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 1569s # g_mutex_lock (&skeleton->priv->lock); 1569s # if (skeleton->priv->changed_properties != NULL && 1569s # skeleton->priv->changed_properties_idle_source == NULL) 1569s # { 1569s # skeleton->priv->changed_properties_idle_source = g_idle_source_new (); 1569s # g_source_set_priority (skeleton->priv->changed_properties_idle_source, G_PRIORITY_DEFAULT); 1569s # g_source_set_callback (skeleton->priv->changed_properties_idle_source, _com_acme_coyote_emit_changed, g_object_ref (skeleton), (GDestroyNotify) g_object_unref); 1569s # g_source_set_name (skeleton->priv->changed_properties_idle_source, "[generated] _com_acme_coyote_emit_changed"); 1569s # g_source_attach (skeleton->priv->changed_properties_idle_source, skeleton->priv->context); 1569s # g_source_unref (skeleton->priv->changed_properties_idle_source); 1569s # } 1569s # g_mutex_unlock (&skeleton->priv->lock); 1569s # } 1569s # 1569s # static void 1569s # com_acme_coyote_skeleton_set_property (GObject *object, 1569s # guint prop_id, 1569s # const GValue *value, 1569s # GParamSpec *pspec) 1569s # { 1569s # const _ExtendedGDBusPropertyInfo *info; 1569s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 1569s # g_assert (prop_id != 0 && prop_id - 1 < 1); 1569s # info = (const _ExtendedGDBusPropertyInfo *) _com_acme_coyote_property_info_pointers[prop_id - 1]; 1569s # g_mutex_lock (&skeleton->priv->lock); 1569s # g_object_freeze_notify (object); 1569s # if (!_g_value_equal (value, &skeleton->priv->properties[prop_id - 1])) 1569s # { 1569s # if (g_dbus_interface_skeleton_get_connection (G_DBUS_INTERFACE_SKELETON (skeleton)) != NULL && 1569s # info->emits_changed_signal) 1569s # _com_acme_coyote_schedule_emit_changed (skeleton, info, prop_id, &skeleton->priv->properties[prop_id - 1]); 1569s # g_value_copy (value, &skeleton->priv->properties[prop_id - 1]); 1569s # g_object_notify_by_pspec (object, pspec); 1569s # } 1569s # g_mutex_unlock (&skeleton->priv->lock); 1569s # g_object_thaw_notify (object); 1569s # } 1569s # 1569s # static void 1569s # com_acme_coyote_skeleton_init (ComAcmeCoyoteSkeleton *skeleton) 1569s # { 1569s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1569s # skeleton->priv = com_acme_coyote_skeleton_get_instance_private (skeleton); 1569s # #else 1569s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_COM_ACME_COYOTE_SKELETON, ComAcmeCoyoteSkeletonPrivate); 1569s # #endif 1569s # 1569s # g_mutex_init (&skeleton->priv->lock); 1569s # skeleton->priv->context = g_main_context_ref_thread_default (); 1569s # skeleton->priv->properties = g_new0 (GValue, 1); 1569s # g_value_init (&skeleton->priv->properties[0], G_TYPE_STRING); 1569s # } 1569s # 1569s # static const gchar * 1569s # com_acme_coyote_skeleton_get_mood (ComAcmeCoyote *object) 1569s # { 1569s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 1569s # const gchar *value; 1569s # g_mutex_lock (&skeleton->priv->lock); 1569s # value = g_marshal_value_peek_string (&(skeleton->priv->properties[0])); 1569s # g_mutex_unlock (&skeleton->priv->lock); 1569s # return value; 1569s # } 1569s # 1569s # static void 1569s # com_acme_coyote_skeleton_class_init (ComAcmeCoyoteSkeletonClass *klass) 1569s # { 1569s # GObjectClass *gobject_class; 1569s # GDBusInterfaceSkeletonClass *skeleton_class; 1569s # 1569s # gobject_class = G_OBJECT_CLASS (klass); 1569s # gobject_class->finalize = com_acme_coyote_skeleton_finalize; 1569s # gobject_class->get_property = com_acme_coyote_skeleton_get_property; 1569s # gobject_class->set_property = com_acme_coyote_skeleton_set_property; 1569s # gobject_class->notify = com_acme_coyote_skeleton_notify; 1569s # 1569s # 1569s # com_acme_coyote_override_properties (gobject_class, 1); 1569s # 1569s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1569s # skeleton_class->get_info = com_acme_coyote_skeleton_dbus_interface_get_info; 1569s # skeleton_class->get_properties = com_acme_coyote_skeleton_dbus_interface_get_properties; 1569s # skeleton_class->flush = com_acme_coyote_skeleton_dbus_interface_flush; 1569s # skeleton_class->get_vtable = com_acme_coyote_skeleton_dbus_interface_get_vtable; 1569s # 1569s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1569s # g_type_class_add_private (klass, sizeof (ComAcmeCoyoteSkeletonPrivate)); 1569s # #endif 1569s # } 1569s # 1569s # static void 1569s # com_acme_coyote_skeleton_iface_init (ComAcmeCoyoteIface *iface) 1569s # { 1569s # iface->surprised = _com_acme_coyote_on_signal_surprised; 1569s # iface->get_mood = com_acme_coyote_skeleton_get_mood; 1569s # } 1569s # 1569s # /** 1569s # * com_acme_coyote_skeleton_new: 1569s # * 1569s # * Creates a skeleton object for the D-Bus interface com.acme.Coyote. 1569s # * 1569s # * Returns: (transfer full) (type ComAcmeCoyoteSkeleton): The skeleton object. 1569s # */ 1569s # ComAcmeCoyote * 1569s # com_acme_coyote_skeleton_new (void) 1569s # { 1569s # return COM_ACME_COYOTE (g_object_new (TYPE_COM_ACME_COYOTE_SKELETON, NULL)); 1569s # } 1569s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp6wm6xagk/tmp01f8tf2w2.xml', '/tmp/tmp6wm6xagk/tmpob1_rmvj1.xml', '--output', '-', '--body'] 1569s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-baqskmurxn,guid=fbaffe99d0ccb1f6e1beb84865fc01cd', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.YcZbqk/autopkgtest_tmp', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.YcZbqk/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.YcZbqk/autopkgtest_tmp', 'TERM': 'unknown', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.YcZbqk/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.sVTVMp0Db0', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.rqZsJO/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.YcZbqk/wrapper.sh --artifacts=/tmp/autopkgtest.YcZbqk/installed-tests-artifacts --chdir=/tmp/autopkgtest.YcZbqk/build.S0E/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.YcZbqk/installed-tests-stderr --stdout=/tmp/autopkgtest.YcZbqk/installed-tests-stdout --tmp=/tmp/autopkgtest.YcZbqk/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2' --make-executable=/tmp/autopkgtest.YcZbqk/build.S0E/src/debian/tests/installed-tests -- /tmp/autopkgtest.YcZbqk/build.S0E/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.YcZbqk/build.S0E/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.YcZbqk/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1569s # Output: /* 1569s # * This file is generated by gdbus-codegen, do not modify it. 1569s # * 1569s # * The license of this code is the same as for the D-Bus interface description 1569s # * it was derived from. Note that it links to GLib, so must comply with the 1569s # * LGPL linking clauses. 1569s # */ 1569s # 1569s # #ifdef HAVE_CONFIG_H 1569s # # include "config.h" 1569s # #endif 1569s # 1569s # #include 1569s # #ifdef G_OS_UNIX 1569s # # include 1569s # #endif 1569s # 1569s # #ifdef G_ENABLE_DEBUG 1569s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1569s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1569s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1569s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1569s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1569s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1569s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1569s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1569s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1569s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1569s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1569s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1569s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1569s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1569s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1569s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1569s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1569s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1569s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1569s # #else /* !G_ENABLE_DEBUG */ 1569s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1569s # * Do not access GValues directly in your code. Instead, use the 1569s # * g_value_get_*() functions 1569s # */ 1569s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1569s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1569s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1569s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1569s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1569s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1569s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1569s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1569s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1569s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1569s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1569s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1569s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1569s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1569s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1569s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1569s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1569s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1569s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1569s # #endif /* !G_ENABLE_DEBUG */ 1569s # 1569s # typedef struct 1569s # { 1569s # GDBusArgInfo parent_struct; 1569s # gboolean use_gvariant; 1569s # } _ExtendedGDBusArgInfo; 1569s # 1569s # typedef struct 1569s # { 1569s # GDBusMethodInfo parent_struct; 1569s # const gchar *signal_name; 1569s # gboolean pass_fdlist; 1569s # } _ExtendedGDBusMethodInfo; 1569s # 1569s # typedef struct 1569s # { 1569s # GDBusSignalInfo parent_struct; 1569s # const gchar *signal_name; 1569s # } _ExtendedGDBusSignalInfo; 1569s # 1569s # typedef struct 1569s # { 1569s # GDBusPropertyInfo parent_struct; 1569s # const gchar *hyphen_name; 1569s # guint use_gvariant : 1; 1569s # guint emits_changed_signal : 1; 1569s # } _ExtendedGDBusPropertyInfo; 1569s # 1569s # typedef struct 1569s # { 1569s # GDBusInterfaceInfo parent_struct; 1569s # const gchar *hyphen_name; 1569s # } _ExtendedGDBusInterfaceInfo; 1569s # 1569s # typedef struct 1569s # { 1569s # const _ExtendedGDBusPropertyInfo *info; 1569s # guint prop_id; 1569s # GValue orig_value; /* the value before the change */ 1569s # } ChangedProperty; 1569s # 1569s # static void 1569s # _changed_property_free (ChangedProperty *data) 1569s # { 1569s # g_value_unset (&data->orig_value); 1569s # g_free (data); 1569s # } 1569s # 1569s # static gboolean 1569s # _g_strv_equal0 (gchar **a, gchar **b) 1569s # { 1569s # gboolean ret = FALSE; 1569s # guint n; 1569s # if (a == NULL && b == NULL) 1569s # { 1569s # ret = TRUE; 1569s # goto out; 1569s # } 1569s # if (a == NULL || b == NULL) 1569s # goto out; 1569s # if (g_strv_length (a) != g_strv_length (b)) 1569s # goto out; 1569s # for (n = 0; a[n] != NULL; n++) 1569s # if (g_strcmp0 (a[n], b[n]) != 0) 1569s # goto out; 1569s # ret = TRUE; 1569s # out: 1569s # return ret; 1569s # } 1569s # 1569s # static gboolean 1569s # _g_variant_equal0 (GVariant *a, GVariant *b) 1569s # { 1569s # gboolean ret = FALSE; 1569s # if (a == NULL && b == NULL) 1569s # { 1569s # ret = TRUE; 1569s # goto out; 1569s # } 1569s # if (a == NULL || b == NULL) 1569s # goto out; 1569s # ret = g_variant_equal (a, b); 1569s # out: 1569s # return ret; 1569s # } 1569s # 1569s # G_GNUC_UNUSED static gboolean 1569s # _g_value_equal (const GValue *a, const GValue *b) 1569s # { 1569s # gboolean ret = FALSE; 1569s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1569s # switch (G_VALUE_TYPE (a)) 1569s # { 1569s # case G_TYPE_BOOLEAN: 1569s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1569s # break; 1569s # case G_TYPE_UCHAR: 1569s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1569s # break; 1569s # case G_TYPE_INT: 1569s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1569s # break; 1569s # case G_TYPE_UINT: 1569s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1569s # break; 1569s # case G_TYPE_INT64: 1569s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1569s # break; 1569s # case G_TYPE_UINT64: 1569s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1569s # break; 1569s # case G_TYPE_DOUBLE: 1569s # { 1569s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1569s # gdouble da = g_value_get_double (a); 1569s # gdouble db = g_value_get_double (b); 1569s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1569s # } 1569s # break; 1569s # case G_TYPE_STRING: 1569s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1569s # break; 1569s # case G_TYPE_VARIANT: 1569s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1569s # break; 1569s # default: 1569s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1569s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1569s # else 1569s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1569s # break; 1569s # } 1569s # return ret; 1569s # } 1569s # 1569s # static void 1569s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 1569s # GClosure *closure, 1569s # GValue *return_value, 1569s # unsigned int n_param_values, 1569s # const GValue *param_values, 1569s # void *invocation_hint G_GNUC_UNUSED, 1569s # void *marshal_data) 1569s # { 1569s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 1569s # (void *data1, 1569s # GDBusMethodInvocation *arg_method_invocation, 1569s # void *data2); 1569s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 1569s # GCClosure *cc = (GCClosure*) closure; 1569s # void *data1, *data2; 1569s # gboolean v_return; 1569s # 1569s # g_return_if_fail (return_value != NULL); 1569s # g_return_if_fail (n_param_values == 2); 1569s # 1569s # if (G_CCLOSURE_SWAP_DATA (closure)) 1569s # { 1569s # data1 = closure->data; 1569s # data2 = g_value_peek_pointer (param_values + 0); 1569s # } 1569s # else 1569s # { 1569s # data1 = g_value_peek_pointer (param_values + 0); 1569s # data2 = closure->data; 1569s # } 1569s # 1569s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 1569s # (marshal_data ? marshal_data : cc->callback); 1569s # 1569s # v_return = 1569s # callback (data1, 1569s # g_marshal_value_peek_object (param_values + 1), 1569s # data2); 1569s # 1569s # g_value_set_boolean (return_value, v_return); 1569s # } 1569s # 1569s # /* ------------------------------------------------------------------------ 1569s # * Code for interface org.project.Bar.Frobnicator 1569s # * ------------------------------------------------------------------------ 1569s # */ 1569s # 1569s # /** 1569s # * SECTION:OrgProjectBarFrobnicator 1569s # * @title: OrgProjectBarFrobnicator 1569s # * @short_description: Generated C code for the org.project.Bar.Frobnicator D-Bus interface 1569s # * 1569s # * This section contains code for working with the org.project.Bar.Frobnicator D-Bus interface in C. 1569s # */ 1569s # 1569s # /* ---- Introspection data for org.project.Bar.Frobnicator ---- */ 1569s # 1569s # static const _ExtendedGDBusMethodInfo _org_project_bar_frobnicator_method_info_random_method = 1569s # { 1569s # { 1569s # -1, 1569s # (gchar *) "RandomMethod", 1569s # NULL, 1569s # NULL, 1569s # NULL 1569s # }, 1569s # "handle-random-method", 1569s # FALSE 1569s # }; 1569s # 1569s # static const GDBusMethodInfo * const _org_project_bar_frobnicator_method_info_pointers[] = 1569s # { 1569s # &_org_project_bar_frobnicator_method_info_random_method.parent_struct, 1569s # NULL 1569s # }; 1569s # 1569s # static const _ExtendedGDBusInterfaceInfo _org_project_bar_frobnicator_interface_info = 1569s # { 1569s # { 1569s # -1, 1569s # (gchar *) "org.project.Bar.Frobnicator", 1569s # (GDBusMethodInfo **) &_org_project_bar_frobnicator_method_info_pointers, 1569s # NULL, 1569s # NULL, 1569s # NULL 1569s # }, 1569s # "org-project-bar-frobnicator", 1569s # }; 1569s # 1569s # 1569s # /** 1569s # * org_project_bar_frobnicator_interface_info: 1569s # * 1569s # * Gets a machine-readable description of the org.project.Bar.Frobnicator D-Bus interface. 1569s # * 1569s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1569s # */ 1569s # GDBusInterfaceInfo * 1569s # org_project_bar_frobnicator_interface_info (void) 1569s # { 1569s # return (GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct; 1569s # } 1569s # 1569s # /** 1569s # * org_project_bar_frobnicator_override_properties: 1569s # * @klass: The class structure for a #GObject derived class. 1569s # * @property_id_begin: The property id to assign to the first overridden property. 1569s # * 1569s # * Overrides all #GObject properties in the #OrgProjectBarFrobnicator interface for a concrete class. 1569s # * The properties are overridden in the order they are defined. 1569s # * 1569s # * Returns: The last property id. 1569s # */ 1569s # guint 1569s # org_project_bar_frobnicator_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1569s # { 1569s # return property_id_begin - 1; 1569s # } 1569s # 1569s # 1569s # inline static void 1569s # org_project_bar_frobnicator_method_marshal_random_method ( 1569s # GClosure *closure, 1569s # GValue *return_value, 1569s # unsigned int n_param_values, 1569s # const GValue *param_values, 1569s # void *invocation_hint, 1569s # void *marshal_data) 1569s # { 1569s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1569s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1569s # } 1569s # 1569s # 1569s # /** 1569s # * OrgProjectBarFrobnicator: 1569s # * 1569s # * Abstract interface type for the D-Bus interface org.project.Bar.Frobnicator. 1569s # */ 1569s # 1569s # /** 1569s # * OrgProjectBarFrobnicatorIface: 1569s # * @parent_iface: The parent interface. 1569s # * @handle_random_method: Handler for the #OrgProjectBarFrobnicator::handle-random-method signal. 1569s # * 1569s # * Virtual table for the D-Bus interface org.project.Bar.Frobnicator. 1569s # */ 1569s # 1569s # typedef OrgProjectBarFrobnicatorIface OrgProjectBarFrobnicatorInterface; 1569s # G_DEFINE_INTERFACE (OrgProjectBarFrobnicator, org_project_bar_frobnicator, G_TYPE_OBJECT) 1569s # 1569s # static void 1569s # org_project_bar_frobnicator_default_init (OrgProjectBarFrobnicatorIface *iface) 1569s # { 1569s # /* GObject signals for incoming D-Bus method calls: */ 1569s # /** 1569s # * OrgProjectBarFrobnicator::handle-random-method: 1569s # * @object: A #OrgProjectBarFrobnicator. 1569s # * @invocation: A #GDBusMethodInvocation. 1569s # * 1569s # * Signal emitted when a remote caller is invoking the RandomMethod() D-Bus method. 1569s # * 1569s # * 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. 1569s # * 1569s # * 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. 1569s # */ 1569s # g_signal_new ("handle-random-method", 1569s # G_TYPE_FROM_INTERFACE (iface), 1569s # G_SIGNAL_RUN_LAST, 1569s # G_STRUCT_OFFSET (OrgProjectBarFrobnicatorIface, handle_random_method), 1569s # g_signal_accumulator_true_handled, 1569s # NULL, 1569s # org_project_bar_frobnicator_method_marshal_random_method, 1569s # G_TYPE_BOOLEAN, 1569s # 1, 1569s # G_TYPE_DBUS_METHOD_INVOCATION); 1569s # 1569s # } 1569s # 1569s # /** 1569s # * org_project_bar_frobnicator_call_random_method: 1569s # * @proxy: A #OrgProjectBarFrobnicatorProxy. 1569s # * @cancellable: (nullable): A #GCancellable or %NULL. 1569s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1569s # * @user_data: User data to pass to @callback. 1569s # * 1569s # * Asynchronously invokes the RandomMethod() D-Bus method on @proxy. 1569s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1569s # * You can then call org_project_bar_frobnicator_call_random_method_finish() to get the result of the operation. 1569s # * 1569s # * See org_project_bar_frobnicator_call_random_method_sync() for the synchronous, blocking version of this method. 1569s # */ 1569s # void 1569s # org_project_bar_frobnicator_call_random_method ( 1569s # OrgProjectBarFrobnicator *proxy, 1569s # GCancellable *cancellable, 1569s # GAsyncReadyCallback callback, 1569s # gpointer user_data) 1569s # { 1569s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1569s # "RandomMethod", 1569s # g_variant_new ("()"), 1569s # G_DBUS_CALL_FLAGS_NONE, 1569s # -1, 1569s # cancellable, 1569s # callback, 1569s # user_data); 1569s # } 1569s # 1569s # /** 1569s # * org_project_bar_frobnicator_call_random_method_finish: 1569s # * @proxy: A #OrgProjectBarFrobnicatorProxy. 1569s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_bar_frobnicator_call_random_method(). 1569s # * @error: Return location for error or %NULL. 1569s # * 1569s # * Finishes an operation started with org_project_bar_frobnicator_call_random_method(). 1569s # * 1569s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1569s # */ 1569s # gboolean 1569s # org_project_bar_frobnicator_call_random_method_finish ( 1569s # OrgProjectBarFrobnicator *proxy, 1569s # GAsyncResult *res, 1569s # GError **error) 1569s # { 1569s # GVariant *_ret; 1569s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1569s # if (_ret == NULL) 1569s # goto _out; 1569s # g_variant_get (_ret, 1569s # "()"); 1569s # g_variant_unref (_ret); 1569s # _out: 1569s # return _ret != NULL; 1569s # } 1569s # 1569s # /** 1569s # * org_project_bar_frobnicator_call_random_method_sync: 1569s # * @proxy: A #OrgProjectBarFrobnicatorProxy. 1569s # * @cancellable: (nullable): A #GCancellable or %NULL. 1569s # * @error: Return location for error or %NULL. 1569s # * 1569s # * Synchronously invokes the RandomMethod() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1569s # * 1569s # * See org_project_bar_frobnicator_call_random_method() for the asynchronous version of this method. 1569s # * 1569s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1569s # */ 1569s # gboolean 1569s # org_project_bar_frobnicator_call_random_method_sync ( 1569s # OrgProjectBarFrobnicator *proxy, 1569s # GCancellable *cancellable, 1569s # GError **error) 1569s # { 1569s # GVariant *_ret; 1569s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1569s # "RandomMethod", 1569s # g_variant_new ("()"), 1569s # G_DBUS_CALL_FLAGS_NONE, 1569s # -1, 1569s # cancellable, 1569s # error); 1569s # if (_ret == NULL) 1569s # goto _out; 1569s # g_variant_get (_ret, 1569s # "()"); 1569s # g_variant_unref (_ret); 1569s # _out: 1569s # return _ret != NULL; 1569s # } 1569s # 1569s # /** 1569s # * org_project_bar_frobnicator_complete_random_method: 1569s # * @object: A #OrgProjectBarFrobnicator. 1569s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1569s # * 1569s # * 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. 1569s # * 1569s # * This method will free @invocation, you cannot use it afterwards. 1569s # */ 1569s # void 1569s # org_project_bar_frobnicator_complete_random_method ( 1569s # OrgProjectBarFrobnicator *object G_GNUC_UNUSED, 1569s # GDBusMethodInvocation *invocation) 1569s # { 1569s # g_dbus_method_invocation_return_value (invocation, 1569s # g_variant_new ("()")); 1569s # } 1569s # 1569s # /* ------------------------------------------------------------------------ */ 1569s # 1569s # /** 1569s # * OrgProjectBarFrobnicatorProxy: 1569s # * 1569s # * The #OrgProjectBarFrobnicatorProxy structure contains only private data and should only be accessed using the provided API. 1569s # */ 1569s # 1569s # /** 1569s # * OrgProjectBarFrobnicatorProxyClass: 1569s # * @parent_class: The parent class. 1569s # * 1569s # * Class structure for #OrgProjectBarFrobnicatorProxy. 1569s # */ 1569s # 1569s # struct _OrgProjectBarFrobnicatorProxyPrivate 1569s # { 1569s # GData *qdata; 1569s # }; 1569s # 1569s # static void org_project_bar_frobnicator_proxy_iface_init (OrgProjectBarFrobnicatorIface *iface); 1569s # 1569s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1569s # G_DEFINE_TYPE_WITH_CODE (OrgProjectBarFrobnicatorProxy, org_project_bar_frobnicator_proxy, G_TYPE_DBUS_PROXY, 1569s # G_ADD_PRIVATE (OrgProjectBarFrobnicatorProxy) 1569s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_BAR_FROBNICATOR, org_project_bar_frobnicator_proxy_iface_init)) 1569s # 1569s # #else 1569s # G_DEFINE_TYPE_WITH_CODE (OrgProjectBarFrobnicatorProxy, org_project_bar_frobnicator_proxy, G_TYPE_DBUS_PROXY, 1569s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_BAR_FROBNICATOR, org_project_bar_frobnicator_proxy_iface_init)) 1569s # 1569s # #endif 1569s # static void 1569s # org_project_bar_frobnicator_proxy_finalize (GObject *object) 1569s # { 1569s # OrgProjectBarFrobnicatorProxy *proxy = ORG_PROJECT_BAR_FROBNICATOR_PROXY (object); 1569s # g_datalist_clear (&proxy->priv->qdata); 1569s # G_OBJECT_CLASS (org_project_bar_frobnicator_proxy_parent_class)->finalize (object); 1569s # } 1569s # 1569s # static void 1569s # org_project_bar_frobnicator_proxy_get_property (GObject *object G_GNUC_UNUSED, 1569s # guint prop_id G_GNUC_UNUSED, 1569s # GValue *value G_GNUC_UNUSED, 1569s # GParamSpec *pspec G_GNUC_UNUSED) 1569s # { 1569s # } 1569s # 1569s # static void 1569s # org_project_bar_frobnicator_proxy_set_property (GObject *object G_GNUC_UNUSED, 1569s # guint prop_id G_GNUC_UNUSED, 1569s # const GValue *value G_GNUC_UNUSED, 1569s # GParamSpec *pspec G_GNUC_UNUSED) 1569s # { 1569s # } 1569s # 1569s # static void 1569s # org_project_bar_frobnicator_proxy_g_signal (GDBusProxy *proxy, 1569s # const gchar *sender_name G_GNUC_UNUSED, 1569s # const gchar *signal_name, 1569s # GVariant *parameters) 1569s # { 1569s # _ExtendedGDBusSignalInfo *info; 1569s # GVariantIter iter; 1569s # GVariant *child; 1569s # GValue *paramv; 1569s # gsize num_params; 1569s # gsize n; 1569s # guint signal_id; 1569s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, signal_name); 1569s # if (info == NULL) 1569s # return; 1569s # num_params = g_variant_n_children (parameters); 1569s # paramv = g_new0 (GValue, num_params + 1); 1569s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_BAR_FROBNICATOR); 1569s # g_value_set_object (¶mv[0], proxy); 1569s # g_variant_iter_init (&iter, parameters); 1569s # n = 1; 1569s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1569s # { 1569s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1569s # if (arg_info->use_gvariant) 1569s # { 1569s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1569s # g_value_set_variant (¶mv[n], child); 1569s # n++; 1569s # } 1569s # else 1569s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1569s # g_variant_unref (child); 1569s # } 1569s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_BAR_FROBNICATOR); 1569s # g_signal_emitv (paramv, signal_id, 0, NULL); 1569s # for (n = 0; n < num_params + 1; n++) 1569s # g_value_unset (¶mv[n]); 1569s # g_free (paramv); 1569s # } 1569s # 1569s # static void 1569s # org_project_bar_frobnicator_proxy_g_properties_changed (GDBusProxy *_proxy, 1569s # GVariant *changed_properties, 1569s # const gchar *const *invalidated_properties) 1569s # { 1569s # OrgProjectBarFrobnicatorProxy *proxy = ORG_PROJECT_BAR_FROBNICATOR_PROXY (_proxy); 1569s # guint n; 1569s # const gchar *key; 1569s # GVariantIter *iter; 1569s # _ExtendedGDBusPropertyInfo *info; 1569s # g_variant_get (changed_properties, "a{sv}", &iter); 1569s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1569s # { 1569s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, key); 1569s # g_datalist_remove_data (&proxy->priv->qdata, key); 1569s # if (info != NULL) 1569s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1569s # } 1569s # g_variant_iter_free (iter); 1569s # for (n = 0; invalidated_properties[n] != NULL; n++) 1569s # { 1569s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, invalidated_properties[n]); 1569s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1569s # if (info != NULL) 1569s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1569s # } 1569s # } 1569s # 1569s # static void 1569s # org_project_bar_frobnicator_proxy_init (OrgProjectBarFrobnicatorProxy *proxy) 1569s # { 1569s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1569s # proxy->priv = org_project_bar_frobnicator_proxy_get_instance_private (proxy); 1569s # #else 1569s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY, OrgProjectBarFrobnicatorProxyPrivate); 1569s # #endif 1569s # 1569s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_bar_frobnicator_interface_info ()); 1569s # } 1569s # 1569s # static void 1569s # org_project_bar_frobnicator_proxy_class_init (OrgProjectBarFrobnicatorProxyClass *klass) 1569s # { 1569s # GObjectClass *gobject_class; 1569s # GDBusProxyClass *proxy_class; 1569s # 1569s # gobject_class = G_OBJECT_CLASS (klass); 1569s # gobject_class->finalize = org_project_bar_frobnicator_proxy_finalize; 1569s # gobject_class->get_property = org_project_bar_frobnicator_proxy_get_property; 1569s # gobject_class->set_property = org_project_bar_frobnicator_proxy_set_property; 1569s # 1569s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1569s # proxy_class->g_signal = org_project_bar_frobnicator_proxy_g_signal; 1569s # proxy_class->g_properties_changed = org_project_bar_frobnicator_proxy_g_properties_changed; 1569s # 1569s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1569s # g_type_class_add_private (klass, sizeof (OrgProjectBarFrobnicatorProxyPrivate)); 1569s # #endif 1569s # } 1569s # 1569s # static void 1569s # org_project_bar_frobnicator_proxy_iface_init (OrgProjectBarFrobnicatorIface *iface G_GNUC_UNUSED) 1569s # { 1569s # } 1569s # 1569s # /** 1569s # * org_project_bar_frobnicator_proxy_new: 1569s # * @connection: A #GDBusConnection. 1569s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1569s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1569s # * @object_path: An object path. 1569s # * @cancellable: (nullable): A #GCancellable or %NULL. 1569s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1569s # * @user_data: User data to pass to @callback. 1569s # * 1569s # * Asynchronously creates a proxy for the D-Bus interface org.project.Bar.Frobnicator. See g_dbus_proxy_new() for more details. 1569s # * 1569s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1569s # * You can then call org_project_bar_frobnicator_proxy_new_finish() to get the result of the operation. 1569s # * 1569s # * See org_project_bar_frobnicator_proxy_new_sync() for the synchronous, blocking version of this constructor. 1569s # */ 1569s # void 1569s # org_project_bar_frobnicator_proxy_new ( 1569s # GDBusConnection *connection, 1569s # GDBusProxyFlags flags, 1569s # const gchar *name, 1569s # const gchar *object_path, 1569s # GCancellable *cancellable, 1569s # GAsyncReadyCallback callback, 1569s # gpointer user_data) 1569s # { 1569s # 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); 1569s # } 1569s # 1569s # /** 1569s # * org_project_bar_frobnicator_proxy_new_finish: 1569s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_bar_frobnicator_proxy_new(). 1569s # * @error: Return location for error or %NULL 1569s # * 1569s # * Finishes an operation started with org_project_bar_frobnicator_proxy_new(). 1569s # * 1569s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorProxy): The constructed proxy object or %NULL if @error is set. 1569s # */ 1569s # OrgProjectBarFrobnicator * 1569s # org_project_bar_frobnicator_proxy_new_finish ( 1569s # GAsyncResult *res, 1569s # GError **error) 1569s # { 1569s # GObject *ret; 1569s # GObject *source_object; 1569s # source_object = g_async_result_get_source_object (res); 1569s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1569s # g_object_unref (source_object); 1569s # if (ret != NULL) 1569s # return ORG_PROJECT_BAR_FROBNICATOR (ret); 1569s # else 1569s # return NULL; 1569s # } 1569s # 1569s # /** 1569s # * org_project_bar_frobnicator_proxy_new_sync: 1569s # * @connection: A #GDBusConnection. 1569s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1569s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1569s # * @object_path: An object path. 1569s # * @cancellable: (nullable): A #GCancellable or %NULL. 1569s # * @error: Return location for error or %NULL 1569s # * 1569s # * Synchronously creates a proxy for the D-Bus interface org.project.Bar.Frobnicator. See g_dbus_proxy_new_sync() for more details. 1569s # * 1569s # * The calling thread is blocked until a reply is received. 1569s # * 1569s # * See org_project_bar_frobnicator_proxy_new() for the asynchronous version of this constructor. 1569s # * 1569s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorProxy): The constructed proxy object or %NULL if @error is set. 1569s # */ 1569s # OrgProjectBarFrobnicator * 1569s # org_project_bar_frobnicator_proxy_new_sync ( 1569s # GDBusConnection *connection, 1569s # GDBusProxyFlags flags, 1569s # const gchar *name, 1569s # const gchar *object_path, 1569s # GCancellable *cancellable, 1569s # GError **error) 1569s # { 1569s # GInitable *ret; 1569s # 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); 1569s # if (ret != NULL) 1569s # return ORG_PROJECT_BAR_FROBNICATOR (ret); 1569s # else 1569s # return NULL; 1569s # } 1569s # 1569s # 1569s # /** 1569s # * org_project_bar_frobnicator_proxy_new_for_bus: 1569s # * @bus_type: A #GBusType. 1569s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1569s # * @name: A bus name (well-known or unique). 1569s # * @object_path: An object path. 1569s # * @cancellable: (nullable): A #GCancellable or %NULL. 1569s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1569s # * @user_data: User data to pass to @callback. 1569s # * 1569s # * Like org_project_bar_frobnicator_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1569s # * 1569s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1569s # * You can then call org_project_bar_frobnicator_proxy_new_for_bus_finish() to get the result of the operation. 1569s # * 1569s # * See org_project_bar_frobnicator_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1569s # */ 1569s # void 1569s # org_project_bar_frobnicator_proxy_new_for_bus ( 1569s # GBusType bus_type, 1569s # GDBusProxyFlags flags, 1569s # const gchar *name, 1569s # const gchar *object_path, 1569s # GCancellable *cancellable, 1569s # GAsyncReadyCallback callback, 1569s # gpointer user_data) 1569s # { 1569s # 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); 1569s # } 1569s # 1569s # /** 1569s # * org_project_bar_frobnicator_proxy_new_for_bus_finish: 1569s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_bar_frobnicator_proxy_new_for_bus(). 1569s # * @error: Return location for error or %NULL 1569s # * 1569s # * Finishes an operation started with org_project_bar_frobnicator_proxy_new_for_bus(). 1569s # * 1569s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorProxy): The constructed proxy object or %NULL if @error is set. 1569s # */ 1569s # OrgProjectBarFrobnicator * 1569s # org_project_bar_frobnicator_proxy_new_for_bus_finish ( 1569s # GAsyncResult *res, 1569s # GError **error) 1569s # { 1569s # GObject *ret; 1569s # GObject *source_object; 1569s # source_object = g_async_result_get_source_object (res); 1569s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1569s # g_object_unref (source_object); 1569s # if (ret != NULL) 1569s # return ORG_PROJECT_BAR_FROBNICATOR (ret); 1569s # else 1569s # return NULL; 1569s # } 1569s # 1569s # /** 1569s # * org_project_bar_frobnicator_proxy_new_for_bus_sync: 1569s # * @bus_type: A #GBusType. 1569s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1569s # * @name: A bus name (well-known or unique). 1569s # * @object_path: An object path. 1569s # * @cancellable: (nullable): A #GCancellable or %NULL. 1569s # * @error: Return location for error or %NULL 1569s # * 1569s # * Like org_project_bar_frobnicator_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1569s # * 1569s # * The calling thread is blocked until a reply is received. 1569s # * 1569s # * See org_project_bar_frobnicator_proxy_new_for_bus() for the asynchronous version of this constructor. 1569s # * 1569s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorProxy): The constructed proxy object or %NULL if @error is set. 1569s # */ 1569s # OrgProjectBarFrobnicator * 1569s # org_project_bar_frobnicator_proxy_new_for_bus_sync ( 1569s # GBusType bus_type, 1569s # GDBusProxyFlags flags, 1569s # const gchar *name, 1569s # const gchar *object_path, 1569s # GCancellable *cancellable, 1569s # GError **error) 1569s # { 1569s # GInitable *ret; 1569s # 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); 1569s # if (ret != NULL) 1569s # return ORG_PROJECT_BAR_FROBNICATOR (ret); 1569s # else 1569s # return NULL; 1569s # } 1569s # 1569s # 1569s # /* ------------------------------------------------------------------------ */ 1569s # 1569s # /** 1569s # * OrgProjectBarFrobnicatorSkeleton: 1569s # * 1569s # * The #OrgProjectBarFrobnicatorSkeleton structure contains only private data and should only be accessed using the provided API. 1569s # */ 1569s # 1569s # /** 1569s # * OrgProjectBarFrobnicatorSkeletonClass: 1569s # * @parent_class: The parent class. 1569s # * 1569s # * Class structure for #OrgProjectBarFrobnicatorSkeleton. 1569s # */ 1569s # 1569s # struct _OrgProjectBarFrobnicatorSkeletonPrivate 1569s # { 1569s # GValue *properties; 1569s # GList *changed_properties; 1569s # GSource *changed_properties_idle_source; 1569s # GMainContext *context; 1569s # GMutex lock; 1569s # }; 1569s # 1569s # static void 1569s # _org_project_bar_frobnicator_skeleton_handle_method_call ( 1569s # GDBusConnection *connection G_GNUC_UNUSED, 1569s # const gchar *sender G_GNUC_UNUSED, 1569s # const gchar *object_path G_GNUC_UNUSED, 1569s # const gchar *interface_name, 1569s # const gchar *method_name, 1569s # GVariant *parameters, 1569s # GDBusMethodInvocation *invocation, 1569s # gpointer user_data) 1569s # { 1569s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (user_data); 1569s # _ExtendedGDBusMethodInfo *info; 1569s # GVariantIter iter; 1569s # GVariant *child; 1569s # GValue *paramv; 1569s # gsize num_params; 1569s # guint num_extra; 1569s # gsize n; 1569s # guint signal_id; 1569s # GValue return_value = G_VALUE_INIT; 1569s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1569s # g_assert (info != NULL); 1569s # num_params = g_variant_n_children (parameters); 1569s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1569s # n = 0; 1569s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_BAR_FROBNICATOR); 1569s # g_value_set_object (¶mv[n++], skeleton); 1569s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1569s # g_value_set_object (¶mv[n++], invocation); 1569s # if (info->pass_fdlist) 1569s # { 1569s # #ifdef G_OS_UNIX 1569s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1569s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1569s # #else 1569s # g_assert_not_reached (); 1569s # #endif 1569s # } 1569s # g_variant_iter_init (&iter, parameters); 1569s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1569s # { 1569s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1569s # if (arg_info->use_gvariant) 1569s # { 1569s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1569s # g_value_set_variant (¶mv[n], child); 1569s # n++; 1569s # } 1569s # else 1569s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1569s # g_variant_unref (child); 1569s # } 1569s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_BAR_FROBNICATOR); 1569s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1569s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1569s # if (!g_value_get_boolean (&return_value)) 1569s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1569s # g_value_unset (&return_value); 1569s # for (n = 0; n < num_params + num_extra; n++) 1569s # g_value_unset (¶mv[n]); 1569s # g_free (paramv); 1569s # } 1569s # 1569s # static GVariant * 1569s # _org_project_bar_frobnicator_skeleton_handle_get_property ( 1569s # GDBusConnection *connection G_GNUC_UNUSED, 1569s # const gchar *sender G_GNUC_UNUSED, 1569s # const gchar *object_path G_GNUC_UNUSED, 1569s # const gchar *interface_name G_GNUC_UNUSED, 1569s # const gchar *property_name, 1569s # GError **error, 1569s # gpointer user_data) 1569s # { 1569s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (user_data); 1569s # GValue value = G_VALUE_INIT; 1569s # GParamSpec *pspec; 1569s # _ExtendedGDBusPropertyInfo *info; 1569s # GVariant *ret; 1569s # ret = NULL; 1569s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, property_name); 1569s # g_assert (info != NULL); 1569s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1569s # if (pspec == NULL) 1569s # { 1569s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1569s # } 1569s # else 1569s # { 1569s # g_value_init (&value, pspec->value_type); 1569s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1569s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1569s # g_value_unset (&value); 1569s # } 1569s # return ret; 1569s # } 1569s # 1569s # static gboolean 1569s # _org_project_bar_frobnicator_skeleton_handle_set_property ( 1569s # GDBusConnection *connection G_GNUC_UNUSED, 1569s # const gchar *sender G_GNUC_UNUSED, 1569s # const gchar *object_path G_GNUC_UNUSED, 1569s # const gchar *interface_name G_GNUC_UNUSED, 1569s # const gchar *property_name, 1569s # GVariant *variant, 1569s # GError **error, 1569s # gpointer user_data) 1569s # { 1569s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (user_data); 1569s # GValue value = G_VALUE_INIT; 1569s # GParamSpec *pspec; 1569s # _ExtendedGDBusPropertyInfo *info; 1569s # gboolean ret; 1569s # ret = FALSE; 1569s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, property_name); 1569s # g_assert (info != NULL); 1569s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1569s # if (pspec == NULL) 1569s # { 1569s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1569s # } 1569s # else 1569s # { 1569s # if (info->use_gvariant) 1569s # g_value_set_variant (&value, variant); 1569s # else 1569s # g_dbus_gvariant_to_gvalue (variant, &value); 1569s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1569s # g_value_unset (&value); 1569s # ret = TRUE; 1569s # } 1569s # return ret; 1569s # } 1569s # 1569s # static const GDBusInterfaceVTable _org_project_bar_frobnicator_skeleton_vtable = 1569s # { 1569s # _org_project_bar_frobnicator_skeleton_handle_method_call, 1569s # _org_project_bar_frobnicator_skeleton_handle_get_property, 1569s # _org_project_bar_frobnicator_skeleton_handle_set_property, 1569s # {NULL} 1569s # }; 1569s # 1569s # static GDBusInterfaceInfo * 1569s # org_project_bar_frobnicator_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1569s # { 1569s # return org_project_bar_frobnicator_interface_info (); 1569s # } 1569s # 1569s # static GDBusInterfaceVTable * 1569s # org_project_bar_frobnicator_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1569s # { 1569s # return (GDBusInterfaceVTable *) &_org_project_bar_frobnicator_skeleton_vtable; 1569s # } 1569s # 1569s # static GVariant * 1569s # org_project_bar_frobnicator_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1569s # { 1569s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (_skeleton); 1569s # 1569s # GVariantBuilder builder; 1569s # guint n; 1569s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1569s # if (_org_project_bar_frobnicator_interface_info.parent_struct.properties == NULL) 1569s # goto out; 1569s # for (n = 0; _org_project_bar_frobnicator_interface_info.parent_struct.properties[n] != NULL; n++) 1569s # { 1569s # GDBusPropertyInfo *info = _org_project_bar_frobnicator_interface_info.parent_struct.properties[n]; 1569s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1569s # { 1569s # GVariant *value; 1569s # 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); 1569s # if (value != NULL) 1569s # { 1569s # g_variant_take_ref (value); 1569s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1569s # g_variant_unref (value); 1569s # } 1569s # } 1569s # } 1569s # out: 1569s # return g_variant_builder_end (&builder); 1569s # } 1569s # 1569s # static void 1569s # org_project_bar_frobnicator_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1569s # { 1569s # } 1569s # 1569s # static void org_project_bar_frobnicator_skeleton_iface_init (OrgProjectBarFrobnicatorIface *iface); 1569s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1569s # G_DEFINE_TYPE_WITH_CODE (OrgProjectBarFrobnicatorSkeleton, org_project_bar_frobnicator_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1569s # G_ADD_PRIVATE (OrgProjectBarFrobnicatorSkeleton) 1569s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_BAR_FROBNICATOR, org_project_bar_frobnicator_skeleton_iface_init)) 1569s # 1569s # #else 1569s # G_DEFINE_TYPE_WITH_CODE (OrgProjectBarFrobnicatorSkeleton, org_project_bar_frobnicator_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1569s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_BAR_FROBNICATOR, org_project_bar_frobnicator_skeleton_iface_init)) 1569s # 1569s # #endif 1569s # static void 1569s # org_project_bar_frobnicator_skeleton_finalize (GObject *object) 1569s # { 1569s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (object); 1569s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1569s # if (skeleton->priv->changed_properties_idle_source != NULL) 1569s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1569s # g_main_context_unref (skeleton->priv->context); 1569s # g_mutex_clear (&skeleton->priv->lock); 1569s # G_OBJECT_CLASS (org_project_bar_frobnicator_skeleton_parent_class)->finalize (object); 1569s # } 1569s # 1569s # static void 1569s # org_project_bar_frobnicator_skeleton_init (OrgProjectBarFrobnicatorSkeleton *skeleton) 1569s # { 1569s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1569s # skeleton->priv = org_project_bar_frobnicator_skeleton_get_instance_private (skeleton); 1569s # #else 1569s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, OrgProjectBarFrobnicatorSkeletonPrivate); 1569s # #endif 1569s # 1569s # g_mutex_init (&skeleton->priv->lock); 1569s # skeleton->priv->context = g_main_context_ref_thread_default (); 1569s # } 1569s # 1569s # static void 1569s # org_project_bar_frobnicator_skeleton_class_init (OrgProjectBarFrobnicatorSkeletonClass *klass) 1569s # { 1569s # GObjectClass *gobject_class; 1569s # GDBusInterfaceSkeletonClass *skeleton_class; 1569s # 1569s # gobject_class = G_OBJECT_CLASS (klass); 1569s # gobject_class->finalize = org_project_bar_frobnicator_skeleton_finalize; 1569s # 1569s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1569s # skeleton_class->get_info = org_project_bar_frobnicator_skeleton_dbus_interface_get_info; 1569s # skeleton_class->get_properties = org_project_bar_frobnicator_skeleton_dbus_interface_get_properties; 1569s # skeleton_class->flush = org_project_bar_frobnicator_skeleton_dbus_interface_flush; 1569s # skeleton_class->get_vtable = org_project_bar_frobnicator_skeleton_dbus_interface_get_vtable; 1569s # 1569s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1569s # g_type_class_add_private (klass, sizeof (OrgProjectBarFrobnicatorSkeletonPrivate)); 1569s # #endif 1569s # } 1569s # 1569s # static void 1569s # org_project_bar_frobnicator_skeleton_iface_init (OrgProjectBarFrobnicatorIface *iface G_GNUC_UNUSED) 1569s # { 1569s # } 1569s # 1569s # /** 1569s # * org_project_bar_frobnicator_skeleton_new: 1569s # * 1569s # * Creates a skeleton object for the D-Bus interface org.project.Bar.Frobnicator. 1569s # * 1569s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorSkeleton): The skeleton object. 1569s # */ 1569s # OrgProjectBarFrobnicator * 1569s # org_project_bar_frobnicator_skeleton_new (void) 1569s # { 1569s # return ORG_PROJECT_BAR_FROBNICATOR (g_object_new (TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, NULL)); 1569s # } 1569s # 1569s # /* ------------------------------------------------------------------------ 1569s # * Code for interface com.acme.Coyote 1569s # * ------------------------------------------------------------------------ 1569s # */ 1569s # 1569s # /** 1569s # * SECTION:ComAcmeCoyote 1569s # * @title: ComAcmeCoyote 1569s # * @short_description: Generated C code for the com.acme.Coyote D-Bus interface 1569s # * 1569s # * This section contains code for working with the com.acme.Coyote D-Bus interface in C. 1569s # */ 1569s # 1569s # enum 1569s # { 1569s # _COM_ACME_COYOTE_SURPRISED, 1569s # }; 1569s # 1569s # static unsigned _COM_ACME_COYOTE_SIGNALS[1] = { 0 }; 1569s # 1569s # /* ---- Introspection data for com.acme.Coyote ---- */ 1569s # 1569s # static const _ExtendedGDBusMethodInfo _com_acme_coyote_method_info_run = 1569s # { 1569s # { 1569s # -1, 1569s # (gchar *) "Run", 1569s # NULL, 1569s # NULL, 1569s # NULL 1569s # }, 1569s # "handle-run", 1569s # FALSE 1569s # }; 1569s # 1569s # static const _ExtendedGDBusMethodInfo _com_acme_coyote_method_info_sleep = 1569s # { 1569s # { 1569s # -1, 1569s # (gchar *) "Sleep", 1569s # NULL, 1569s # NULL, 1569s # NULL 1569s # }, 1569s # "handle-sleep", 1569s # FALSE 1569s # }; 1569s # 1569s # static const _ExtendedGDBusMethodInfo _com_acme_coyote_method_info_attack = 1569s # { 1569s # { 1569s # -1, 1569s # (gchar *) "Attack", 1569s # NULL, 1569s # NULL, 1569s # NULL 1569s # }, 1569s # "handle-attack", 1569s # FALSE 1569s # }; 1569s # 1569s # static const GDBusMethodInfo * const _com_acme_coyote_method_info_pointers[] = 1569s # { 1569s # &_com_acme_coyote_method_info_run.parent_struct, 1569s # &_com_acme_coyote_method_info_sleep.parent_struct, 1569s # &_com_acme_coyote_method_info_attack.parent_struct, 1569s # NULL 1569s # }; 1569s # 1569s # static const _ExtendedGDBusSignalInfo _com_acme_coyote_signal_info_surprised = 1569s # { 1569s # { 1569s # -1, 1569s # (gchar *) "Surprised", 1569s # NULL, 1569s # NULL 1569s # }, 1569s # "surprised" 1569s # }; 1569s # 1569s # static const GDBusSignalInfo * const _com_acme_coyote_signal_info_pointers[] = 1569s # { 1569s # &_com_acme_coyote_signal_info_surprised.parent_struct, 1569s # NULL 1569s # }; 1569s # 1569s # static const _ExtendedGDBusPropertyInfo _com_acme_coyote_property_info_mood = 1569s # { 1569s # { 1569s # -1, 1569s # (gchar *) "Mood", 1569s # (gchar *) "s", 1569s # G_DBUS_PROPERTY_INFO_FLAGS_READABLE, 1569s # NULL 1569s # }, 1569s # "mood", 1569s # FALSE, 1569s # TRUE 1569s # }; 1569s # 1569s # static const GDBusPropertyInfo * const _com_acme_coyote_property_info_pointers[] = 1569s # { 1569s # &_com_acme_coyote_property_info_mood.parent_struct, 1569s # NULL 1569s # }; 1569s # 1569s # static const _ExtendedGDBusInterfaceInfo _com_acme_coyote_interface_info = 1569s # { 1569s # { 1569s # -1, 1569s # (gchar *) "com.acme.Coyote", 1569s # (GDBusMethodInfo **) &_com_acme_coyote_method_info_pointers, 1569s # (GDBusSignalInfo **) &_com_acme_coyote_signal_info_pointers, 1569s # (GDBusPropertyInfo **) &_com_acme_coyote_property_info_pointers, 1569s # NULL 1569s # }, 1569s # "com-acme-coyote", 1569s # }; 1569s # 1569s # 1569s # /** 1569s # * com_acme_coyote_interface_info: 1569s # * 1569s # * Gets a machine-readable description of the com.acme.Coyote D-Bus interface. 1569s # * 1569s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1569s # */ 1569s # GDBusInterfaceInfo * 1569s # com_acme_coyote_interface_info (void) 1569s # { 1569s # return (GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct; 1569s # } 1569s # 1569s # /** 1569s # * com_acme_coyote_override_properties: 1569s # * @klass: The class structure for a #GObject derived class. 1569s # * @property_id_begin: The property id to assign to the first overridden property. 1569s # * 1569s # * Overrides all #GObject properties in the #ComAcmeCoyote interface for a concrete class. 1569s # * The properties are overridden in the order they are defined. 1569s # * 1569s # * Returns: The last property id. 1569s # */ 1569s # guint 1569s # com_acme_coyote_override_properties (GObjectClass *klass, guint property_id_begin) 1569s # { 1569s # g_object_class_override_property (klass, property_id_begin++, "mood"); 1569s # return property_id_begin - 1; 1569s # } 1569s # 1569s # 1569s # inline static void 1569s # com_acme_coyote_signal_marshal_surprised ( 1569s # GClosure *closure, 1569s # GValue *return_value, 1569s # unsigned int n_param_values, 1569s # const GValue *param_values, 1569s # void *invocation_hint, 1569s # void *marshal_data) 1569s # { 1569s # g_cclosure_marshal_VOID__VOID (closure, 1569s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1569s # } 1569s # 1569s # inline static void 1569s # com_acme_coyote_method_marshal_run ( 1569s # GClosure *closure, 1569s # GValue *return_value, 1569s # unsigned int n_param_values, 1569s # const GValue *param_values, 1569s # void *invocation_hint, 1569s # void *marshal_data) 1569s # { 1569s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1569s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1569s # } 1569s # 1569s # inline static void 1569s # com_acme_coyote_method_marshal_sleep ( 1569s # GClosure *closure, 1569s # GValue *return_value, 1569s # unsigned int n_param_values, 1569s # const GValue *param_values, 1569s # void *invocation_hint, 1569s # void *marshal_data) 1569s # { 1569s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1569s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1569s # } 1569s # 1569s # inline static void 1569s # com_acme_coyote_method_marshal_attack ( 1569s # GClosure *closure, 1569s # GValue *return_value, 1569s # unsigned int n_param_values, 1569s # const GValue *param_values, 1569s # void *invocation_hint, 1569s # void *marshal_data) 1569s # { 1569s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1569s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1569s # } 1569s # 1569s # 1569s # /** 1569s # * ComAcmeCoyote: 1569s # * 1569s # * Abstract interface type for the D-Bus interface com.acme.Coyote. 1569s # */ 1569s # 1569s # /** 1569s # * ComAcmeCoyoteIface: 1569s # * @parent_iface: The parent interface. 1569s # * @handle_attack: Handler for the #ComAcmeCoyote::handle-attack signal. 1569s # * @handle_run: Handler for the #ComAcmeCoyote::handle-run signal. 1569s # * @handle_sleep: Handler for the #ComAcmeCoyote::handle-sleep signal. 1569s # * @get_mood: Getter for the #ComAcmeCoyote:mood property. 1569s # * @surprised: Handler for the #ComAcmeCoyote::surprised signal. 1569s # * 1569s # * Virtual table for the D-Bus interface com.acme.Coyote. 1569s # */ 1569s # 1569s # typedef ComAcmeCoyoteIface ComAcmeCoyoteInterface; 1569s # G_DEFINE_INTERFACE (ComAcmeCoyote, com_acme_coyote, G_TYPE_OBJECT) 1569s # 1569s # static void 1569s # com_acme_coyote_default_init (ComAcmeCoyoteIface *iface) 1569s # { 1569s # /* GObject signals for incoming D-Bus method calls: */ 1569s # /** 1569s # * ComAcmeCoyote::handle-run: 1569s # * @object: A #ComAcmeCoyote. 1569s # * @invocation: A #GDBusMethodInvocation. 1569s # * 1569s # * Signal emitted when a remote caller is invoking the Run() D-Bus method. 1569s # * 1569s # * 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. 1569s # * 1569s # * 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. 1569s # */ 1569s # g_signal_new ("handle-run", 1569s # G_TYPE_FROM_INTERFACE (iface), 1569s # G_SIGNAL_RUN_LAST, 1569s # G_STRUCT_OFFSET (ComAcmeCoyoteIface, handle_run), 1569s # g_signal_accumulator_true_handled, 1569s # NULL, 1569s # com_acme_coyote_method_marshal_run, 1569s # G_TYPE_BOOLEAN, 1569s # 1, 1569s # G_TYPE_DBUS_METHOD_INVOCATION); 1569s # 1569s # /** 1569s # * ComAcmeCoyote::handle-sleep: 1569s # * @object: A #ComAcmeCoyote. 1569s # * @invocation: A #GDBusMethodInvocation. 1569s # * 1569s # * Signal emitted when a remote caller is invoking the Sleep() D-Bus method. 1569s # * 1569s # * 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. 1569s # * 1569s # * 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. 1569s # */ 1569s # g_signal_new ("handle-sleep", 1569s # G_TYPE_FROM_INTERFACE (iface), 1569s # G_SIGNAL_RUN_LAST, 1569s # G_STRUCT_OFFSET (ComAcmeCoyoteIface, handle_sleep), 1569s # g_signal_accumulator_true_handled, 1569s # NULL, 1569s # com_acme_coyote_method_marshal_sleep, 1569s # G_TYPE_BOOLEAN, 1569s # 1, 1569s # G_TYPE_DBUS_METHOD_INVOCATION); 1569s # 1569s # /** 1569s # * ComAcmeCoyote::handle-attack: 1569s # * @object: A #ComAcmeCoyote. 1569s # * @invocation: A #GDBusMethodInvocation. 1569s # * 1569s # * Signal emitted when a remote caller is invoking the Attack() D-Bus method. 1569s # * 1569s # * 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. 1569s # * 1569s # * 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. 1569s # */ 1569s # g_signal_new ("handle-attack", 1569s # G_TYPE_FROM_INTERFACE (iface), 1569s # G_SIGNAL_RUN_LAST, 1569s # G_STRUCT_OFFSET (ComAcmeCoyoteIface, handle_attack), 1569s # g_signal_accumulator_true_handled, 1569s # NULL, 1569s # com_acme_coyote_method_marshal_attack, 1569s # G_TYPE_BOOLEAN, 1569s # 1, 1569s # G_TYPE_DBUS_METHOD_INVOCATION); 1569s # 1569s # /* GObject signals for received D-Bus signals: */ 1569s # /** 1569s # * ComAcmeCoyote::surprised: 1569s # * @object: A #ComAcmeCoyote. 1569s # * 1569s # * On the client-side, this signal is emitted whenever the D-Bus signal "Surprised" is received. 1569s # * 1569s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1569s # */ 1569s # _COM_ACME_COYOTE_SIGNALS[_COM_ACME_COYOTE_SURPRISED] = 1569s # g_signal_new ("surprised", 1569s # G_TYPE_FROM_INTERFACE (iface), 1569s # G_SIGNAL_RUN_LAST, 1569s # G_STRUCT_OFFSET (ComAcmeCoyoteIface, surprised), 1569s # NULL, 1569s # NULL, 1569s # com_acme_coyote_signal_marshal_surprised, 1569s # G_TYPE_NONE, 1569s # 0); 1569s # 1569s # /* GObject properties for D-Bus properties: */ 1569s # /** 1569s # * ComAcmeCoyote:mood: 1569s # * 1569s # * Represents the D-Bus property "Mood". 1569s # * 1569s # * 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. 1569s # */ 1569s # g_object_interface_install_property (iface, 1569s # g_param_spec_string ("mood", "Mood", "Mood", NULL, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)); 1569s # } 1569s # 1569s # /** 1569s # * com_acme_coyote_get_mood: (skip) 1569s # * @object: A #ComAcmeCoyote. 1569s # * 1569s # * Gets the value of the "Mood" D-Bus property. 1569s # * 1569s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side. 1569s # * 1569s # * 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. 1569s # * 1569s # * 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. 1569s # */ 1569s # const gchar * 1569s # com_acme_coyote_get_mood (ComAcmeCoyote *object) 1569s # { 1569s # g_return_val_if_fail (IS_COM_ACME_COYOTE (object), NULL); 1569s # 1569s # return COM_ACME_COYOTE_GET_IFACE (object)->get_mood (object); 1569s # } 1569s # 1569s # /** 1569s # * com_acme_coyote_dup_mood: (skip) 1569s # * @object: A #ComAcmeCoyote. 1569s # * 1569s # * Gets a copy of the "Mood" D-Bus property. 1569s # * 1569s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side. 1569s # * 1569s # * Returns: (transfer full) (nullable): The property value or %NULL if the property is not set. The returned value should be freed with g_free(). 1569s # */ 1569s # gchar * 1569s # com_acme_coyote_dup_mood (ComAcmeCoyote *object) 1569s # { 1569s # gchar *value; 1569s # g_object_get (G_OBJECT (object), "mood", &value, NULL); 1569s # return value; 1569s # } 1569s # 1569s # /** 1569s # * com_acme_coyote_set_mood: (skip) 1569s # * @object: A #ComAcmeCoyote. 1569s # * @value: The value to set. 1569s # * 1569s # * Sets the "Mood" D-Bus property to @value. 1569s # * 1569s # * Since this D-Bus property is not writable, it is only meaningful to use this function on the service-side. 1569s # */ 1569s # void 1569s # com_acme_coyote_set_mood (ComAcmeCoyote *object, const gchar *value) 1569s # { 1569s # g_object_set (G_OBJECT (object), "mood", value, NULL); 1569s # } 1569s # 1569s # /** 1569s # * com_acme_coyote_emit_surprised: 1569s # * @object: A #ComAcmeCoyote. 1569s # * 1569s # * Emits the "Surprised" D-Bus signal. 1569s # */ 1569s # void 1569s # com_acme_coyote_emit_surprised ( 1569s # ComAcmeCoyote *object) 1569s # { 1569s # g_signal_emit (object, _COM_ACME_COYOTE_SIGNALS[_COM_ACME_COYOTE_SURPRISED], 0); 1569s # } 1569s # 1569s # /** 1569s # * com_acme_coyote_call_run: 1569s # * @proxy: A #ComAcmeCoyoteProxy. 1569s # * @cancellable: (nullable): A #GCancellable or %NULL. 1569s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1569s # * @user_data: User data to pass to @callback. 1569s # * 1569s # * Asynchronously invokes the Run() D-Bus method on @proxy. 1569s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1569s # * You can then call com_acme_coyote_call_run_finish() to get the result of the operation. 1569s # * 1569s # * See com_acme_coyote_call_run_sync() for the synchronous, blocking version of this method. 1569s # */ 1569s # void 1569s # com_acme_coyote_call_run ( 1569s # ComAcmeCoyote *proxy, 1569s # GCancellable *cancellable, 1569s # GAsyncReadyCallback callback, 1569s # gpointer user_data) 1569s # { 1569s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1569s # "Run", 1569s # g_variant_new ("()"), 1569s # G_DBUS_CALL_FLAGS_NONE, 1569s # -1, 1569s # cancellable, 1569s # callback, 1569s # user_data); 1569s # } 1569s # 1569s # /** 1569s # * com_acme_coyote_call_run_finish: 1569s # * @proxy: A #ComAcmeCoyoteProxy. 1569s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_call_run(). 1569s # * @error: Return location for error or %NULL. 1569s # * 1569s # * Finishes an operation started with com_acme_coyote_call_run(). 1569s # * 1569s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1569s # */ 1569s # gboolean 1569s # com_acme_coyote_call_run_finish ( 1569s # ComAcmeCoyote *proxy, 1569s # GAsyncResult *res, 1569s # GError **error) 1569s # { 1569s # GVariant *_ret; 1569s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1569s # if (_ret == NULL) 1569s # goto _out; 1569s # g_variant_get (_ret, 1569s # "()"); 1569s # g_variant_unref (_ret); 1569s # _out: 1569s # return _ret != NULL; 1569s # } 1569s # 1569s # /** 1569s # * com_acme_coyote_call_run_sync: 1569s # * @proxy: A #ComAcmeCoyoteProxy. 1569s # * @cancellable: (nullable): A #GCancellable or %NULL. 1569s # * @error: Return location for error or %NULL. 1569s # * 1569s # * Synchronously invokes the Run() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1569s # * 1569s # * See com_acme_coyote_call_run() for the asynchronous version of this method. 1569s # * 1569s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1569s # */ 1569s # gboolean 1569s # com_acme_coyote_call_run_sync ( 1569s # ComAcmeCoyote *proxy, 1569s # GCancellable *cancellable, 1569s # GError **error) 1569s # { 1569s # GVariant *_ret; 1569s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1569s # "Run", 1569s # g_variant_new ("()"), 1569s # G_DBUS_CALL_FLAGS_NONE, 1569s # -1, 1569s # cancellable, 1569s # error); 1569s # if (_ret == NULL) 1569s # goto _out; 1569s # g_variant_get (_ret, 1569s # "()"); 1569s # g_variant_unref (_ret); 1569s # _out: 1569s # return _ret != NULL; 1569s # } 1569s # 1569s # /** 1569s # * com_acme_coyote_call_sleep: 1569s # * @proxy: A #ComAcmeCoyoteProxy. 1569s # * @cancellable: (nullable): A #GCancellable or %NULL. 1569s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1569s # * @user_data: User data to pass to @callback. 1569s # * 1569s # * Asynchronously invokes the Sleep() D-Bus method on @proxy. 1569s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1569s # * You can then call com_acme_coyote_call_sleep_finish() to get the result of the operation. 1569s # * 1569s # * See com_acme_coyote_call_sleep_sync() for the synchronous, blocking version of this method. 1569s # */ 1569s # void 1569s # com_acme_coyote_call_sleep ( 1569s # ComAcmeCoyote *proxy, 1569s # GCancellable *cancellable, 1569s # GAsyncReadyCallback callback, 1569s # gpointer user_data) 1569s # { 1569s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1569s # "Sleep", 1569s # g_variant_new ("()"), 1569s # G_DBUS_CALL_FLAGS_NONE, 1569s # -1, 1569s # cancellable, 1569s # callback, 1569s # user_data); 1569s # } 1569s # 1569s # /** 1569s # * com_acme_coyote_call_sleep_finish: 1569s # * @proxy: A #ComAcmeCoyoteProxy. 1569s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_call_sleep(). 1569s # * @error: Return location for error or %NULL. 1569s # * 1569s # * Finishes an operation started with com_acme_coyote_call_sleep(). 1569s # * 1569s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1569s # */ 1569s # gboolean 1569s # com_acme_coyote_call_sleep_finish ( 1569s # ComAcmeCoyote *proxy, 1569s # GAsyncResult *res, 1569s # GError **error) 1569s # { 1569s # GVariant *_ret; 1569s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1569s # if (_ret == NULL) 1569s # goto _out; 1569s # g_variant_get (_ret, 1569s # "()"); 1569s # g_variant_unref (_ret); 1569s # _out: 1569s # return _ret != NULL; 1569s # } 1569s # 1569s # /** 1569s # * com_acme_coyote_call_sleep_sync: 1569s # * @proxy: A #ComAcmeCoyoteProxy. 1569s # * @cancellable: (nullable): A #GCancellable or %NULL. 1569s # * @error: Return location for error or %NULL. 1569s # * 1569s # * Synchronously invokes the Sleep() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1569s # * 1569s # * See com_acme_coyote_call_sleep() for the asynchronous version of this method. 1569s # * 1569s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1569s # */ 1569s # gboolean 1569s # com_acme_coyote_call_sleep_sync ( 1569s # ComAcmeCoyote *proxy, 1569s # GCancellable *cancellable, 1569s # GError **error) 1569s # { 1569s # GVariant *_ret; 1569s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1569s # "Sleep", 1569s # g_variant_new ("()"), 1569s # G_DBUS_CALL_FLAGS_NONE, 1569s # -1, 1569s # cancellable, 1569s # error); 1569s # if (_ret == NULL) 1569s # goto _out; 1569s # g_variant_get (_ret, 1569s # "()"); 1569s # g_variant_unref (_ret); 1569s # _out: 1569s # return _ret != NULL; 1569s # } 1569s # 1569s # /** 1569s # * com_acme_coyote_call_attack: 1569s # * @proxy: A #ComAcmeCoyoteProxy. 1569s # * @cancellable: (nullable): A #GCancellable or %NULL. 1569s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1569s # * @user_data: User data to pass to @callback. 1569s # * 1569s # * Asynchronously invokes the Attack() D-Bus method on @proxy. 1569s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1569s # * You can then call com_acme_coyote_call_attack_finish() to get the result of the operation. 1569s # * 1569s # * See com_acme_coyote_call_attack_sync() for the synchronous, blocking version of this method. 1569s # */ 1569s # void 1569s # com_acme_coyote_call_attack ( 1569s # ComAcmeCoyote *proxy, 1569s # GCancellable *cancellable, 1569s # GAsyncReadyCallback callback, 1569s # gpointer user_data) 1569s # { 1569s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1569s # "Attack", 1569s # g_variant_new ("()"), 1569s # G_DBUS_CALL_FLAGS_NONE, 1569s # -1, 1569s # cancellable, 1569s # callback, 1569s # user_data); 1569s # } 1569s # 1569s # /** 1569s # * com_acme_coyote_call_attack_finish: 1569s # * @proxy: A #ComAcmeCoyoteProxy. 1569s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_call_attack(). 1569s # * @error: Return location for error or %NULL. 1569s # * 1569s # * Finishes an operation started with com_acme_coyote_call_attack(). 1569s # * 1569s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1569s # */ 1569s # gboolean 1569s # com_acme_coyote_call_attack_finish ( 1569s # ComAcmeCoyote *proxy, 1569s # GAsyncResult *res, 1569s # GError **error) 1569s # { 1569s # GVariant *_ret; 1569s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1569s # if (_ret == NULL) 1569s # goto _out; 1569s # g_variant_get (_ret, 1569s # "()"); 1569s # g_variant_unref (_ret); 1569s # _out: 1569s # return _ret != NULL; 1569s # } 1569s # 1569s # /** 1569s # * com_acme_coyote_call_attack_sync: 1569s # * @proxy: A #ComAcmeCoyoteProxy. 1569s # * @cancellable: (nullable): A #GCancellable or %NULL. 1569s # * @error: Return location for error or %NULL. 1569s # * 1569s # * Synchronously invokes the Attack() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1569s # * 1569s # * See com_acme_coyote_call_attack() for the asynchronous version of this method. 1569s # * 1569s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1569s # */ 1569s # gboolean 1569s # com_acme_coyote_call_attack_sync ( 1569s # ComAcmeCoyote *proxy, 1569s # GCancellable *cancellable, 1569s # GError **error) 1569s # { 1569s # GVariant *_ret; 1569s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1569s # "Attack", 1569s # g_variant_new ("()"), 1569s # G_DBUS_CALL_FLAGS_NONE, 1569s # -1, 1569s # cancellable, 1569s # error); 1569s # if (_ret == NULL) 1569s # goto _out; 1569s # g_variant_get (_ret, 1569s # "()"); 1569s # g_variant_unref (_ret); 1569s # _out: 1569s # return _ret != NULL; 1569s # } 1569s # 1569s # /** 1569s # * com_acme_coyote_complete_run: 1569s # * @object: A #ComAcmeCoyote. 1569s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1569s # * 1569s # * 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. 1569s # * 1569s # * This method will free @invocation, you cannot use it afterwards. 1569s # */ 1569s # void 1569s # com_acme_coyote_complete_run ( 1569s # ComAcmeCoyote *object G_GNUC_UNUSED, 1569s # GDBusMethodInvocation *invocation) 1569s # { 1569s # g_dbus_method_invocation_return_value (invocation, 1569s # g_variant_new ("()")); 1569s # } 1569s # 1569s # /** 1569s # * com_acme_coyote_complete_sleep: 1569s # * @object: A #ComAcmeCoyote. 1569s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1569s # * 1569s # * 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. 1569s # * 1569s # * This method will free @invocation, you cannot use it afterwards. 1569s # */ 1569s # void 1569s # com_acme_coyote_complete_sleep ( 1569s # ComAcmeCoyote *object G_GNUC_UNUSED, 1569s # GDBusMethodInvocation *invocation) 1569s # { 1569s # g_dbus_method_invocation_return_value (invocation, 1569s # g_variant_new ("()")); 1569s # } 1569s # 1569s # /** 1569s # * com_acme_coyote_complete_attack: 1569s # * @object: A #ComAcmeCoyote. 1569s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1569s # * 1569s # * 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. 1569s # * 1569s # * This method will free @invocation, you cannot use it afterwards. 1569s # */ 1569s # void 1569s # com_acme_coyote_complete_attack ( 1569s # ComAcmeCoyote *object G_GNUC_UNUSED, 1569s # GDBusMethodInvocation *invocation) 1569s # { 1569s # g_dbus_method_invocation_return_value (invocation, 1569s # g_variant_new ("()")); 1569s # } 1569s # 1569s # /* ------------------------------------------------------------------------ */ 1569s # 1569s # /** 1569s # * ComAcmeCoyoteProxy: 1569s # * 1569s # * The #ComAcmeCoyoteProxy structure contains only private data and should only be accessed using the provided API. 1569s # */ 1569s # 1569s # /** 1569s # * ComAcmeCoyoteProxyClass: 1569s # * @parent_class: The parent class. 1569s # * 1569s # * Class structure for #ComAcmeCoyoteProxy. 1569s # */ 1569s # 1569s # struct _ComAcmeCoyoteProxyPrivate 1569s # { 1569s # GData *qdata; 1569s # }; 1569s # 1569s # static void com_acme_coyote_proxy_iface_init (ComAcmeCoyoteIface *iface); 1569s # 1569s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1569s # G_DEFINE_TYPE_WITH_CODE (ComAcmeCoyoteProxy, com_acme_coyote_proxy, G_TYPE_DBUS_PROXY, 1569s # G_ADD_PRIVATE (ComAcmeCoyoteProxy) 1569s # G_IMPLEMENT_INTERFACE (TYPE_COM_ACME_COYOTE, com_acme_coyote_proxy_iface_init)) 1569s # 1569s # #else 1569s # G_DEFINE_TYPE_WITH_CODE (ComAcmeCoyoteProxy, com_acme_coyote_proxy, G_TYPE_DBUS_PROXY, 1569s # G_IMPLEMENT_INTERFACE (TYPE_COM_ACME_COYOTE, com_acme_coyote_proxy_iface_init)) 1569s # 1569s # #endif 1569s # static void 1569s # com_acme_coyote_proxy_finalize (GObject *object) 1569s # { 1569s # ComAcmeCoyoteProxy *proxy = COM_ACME_COYOTE_PROXY (object); 1569s # g_datalist_clear (&proxy->priv->qdata); 1569s # G_OBJECT_CLASS (com_acme_coyote_proxy_parent_class)->finalize (object); 1569s # } 1569s # 1569s # static void 1569s # com_acme_coyote_proxy_get_property (GObject *object, 1569s # guint prop_id, 1569s # GValue *value, 1569s # GParamSpec *pspec G_GNUC_UNUSED) 1569s # { 1569s # const _ExtendedGDBusPropertyInfo *info; 1569s # GVariant *variant; 1569s # g_assert (prop_id != 0 && prop_id - 1 < 1); 1569s # info = (const _ExtendedGDBusPropertyInfo *) _com_acme_coyote_property_info_pointers[prop_id - 1]; 1569s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (object), info->parent_struct.name); 1569s # if (info->use_gvariant) 1569s # { 1569s # g_value_set_variant (value, variant); 1569s # } 1569s # else 1569s # { 1569s # if (variant != NULL) 1569s # g_dbus_gvariant_to_gvalue (variant, value); 1569s # } 1569s # if (variant != NULL) 1569s # g_variant_unref (variant); 1569s # } 1569s # 1569s # static void 1569s # com_acme_coyote_proxy_set_property_cb (GDBusProxy *proxy, 1569s # GAsyncResult *res, 1569s # gpointer user_data) 1569s # { 1569s # const _ExtendedGDBusPropertyInfo *info = user_data; 1569s # GError *error; 1569s # GVariant *_ret; 1569s # error = NULL; 1569s # _ret = g_dbus_proxy_call_finish (proxy, res, &error); 1569s # if (!_ret) 1569s # { 1569s # g_warning ("Error setting property '%s' on interface com.acme.Coyote: %s (%s, %d)", 1569s # info->parent_struct.name, 1569s # error->message, g_quark_to_string (error->domain), error->code); 1569s # g_error_free (error); 1569s # } 1569s # else 1569s # { 1569s # g_variant_unref (_ret); 1569s # } 1569s # } 1569s # 1569s # static void 1569s # com_acme_coyote_proxy_set_property (GObject *object, 1569s # guint prop_id, 1569s # const GValue *value, 1569s # GParamSpec *pspec G_GNUC_UNUSED) 1569s # { 1569s # const _ExtendedGDBusPropertyInfo *info; 1569s # GVariant *variant; 1569s # g_assert (prop_id != 0 && prop_id - 1 < 1); 1569s # info = (const _ExtendedGDBusPropertyInfo *) _com_acme_coyote_property_info_pointers[prop_id - 1]; 1569s # variant = g_dbus_gvalue_to_gvariant (value, G_VARIANT_TYPE (info->parent_struct.signature)); 1569s # g_dbus_proxy_call (G_DBUS_PROXY (object), 1569s # "org.freedesktop.DBus.Properties.Set", 1569s # g_variant_new ("(ssv)", "com.acme.Coyote", info->parent_struct.name, variant), 1569s # G_DBUS_CALL_FLAGS_NONE, 1569s # -1, 1569s # NULL, (GAsyncReadyCallback) com_acme_coyote_proxy_set_property_cb, (GDBusPropertyInfo *) &info->parent_struct); 1569s # g_variant_unref (variant); 1569s # } 1569s # 1569s # static void 1569s # com_acme_coyote_proxy_g_signal (GDBusProxy *proxy, 1569s # const gchar *sender_name G_GNUC_UNUSED, 1569s # const gchar *signal_name, 1569s # GVariant *parameters) 1569s # { 1569s # _ExtendedGDBusSignalInfo *info; 1569s # GVariantIter iter; 1569s # GVariant *child; 1569s # GValue *paramv; 1569s # gsize num_params; 1569s # gsize n; 1569s # guint signal_id; 1569s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, signal_name); 1569s # if (info == NULL) 1569s # return; 1569s # num_params = g_variant_n_children (parameters); 1569s # paramv = g_new0 (GValue, num_params + 1); 1569s # g_value_init (¶mv[0], TYPE_COM_ACME_COYOTE); 1569s # g_value_set_object (¶mv[0], proxy); 1569s # g_variant_iter_init (&iter, parameters); 1569s # n = 1; 1569s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1569s # { 1569s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1569s # if (arg_info->use_gvariant) 1569s # { 1569s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1569s # g_value_set_variant (¶mv[n], child); 1569s # n++; 1569s # } 1569s # else 1569s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1569s # g_variant_unref (child); 1569s # } 1569s # signal_id = g_signal_lookup (info->signal_name, TYPE_COM_ACME_COYOTE); 1569s # g_signal_emitv (paramv, signal_id, 0, NULL); 1569s # for (n = 0; n < num_params + 1; n++) 1569s # g_value_unset (¶mv[n]); 1569s # g_free (paramv); 1569s # } 1569s # 1569s # static void 1569s # com_acme_coyote_proxy_g_properties_changed (GDBusProxy *_proxy, 1569s # GVariant *changed_properties, 1569s # const gchar *const *invalidated_properties) 1569s # { 1569s # ComAcmeCoyoteProxy *proxy = COM_ACME_COYOTE_PROXY (_proxy); 1569s # guint n; 1569s # const gchar *key; 1569s # GVariantIter *iter; 1569s # _ExtendedGDBusPropertyInfo *info; 1569s # g_variant_get (changed_properties, "a{sv}", &iter); 1569s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1569s # { 1569s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, key); 1569s # g_datalist_remove_data (&proxy->priv->qdata, key); 1569s # if (info != NULL) 1569s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1569s # } 1569s # g_variant_iter_free (iter); 1569s # for (n = 0; invalidated_properties[n] != NULL; n++) 1569s # { 1569s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, invalidated_properties[n]); 1569s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1569s # if (info != NULL) 1569s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1569s # } 1569s # } 1569s # 1569s # static const gchar * 1569s # com_acme_coyote_proxy_get_mood (ComAcmeCoyote *object) 1569s # { 1569s # ComAcmeCoyoteProxy *proxy = COM_ACME_COYOTE_PROXY (object); 1569s # GVariant *variant; 1569s # const gchar *value = NULL; 1569s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (proxy), "Mood"); 1569s # if (variant != NULL) 1569s # { 1569s # value = g_variant_get_string (variant, NULL); 1569s # g_variant_unref (variant); 1569s # } 1569s # return value; 1569s # } 1569s # 1569s # static void 1569s # com_acme_coyote_proxy_init (ComAcmeCoyoteProxy *proxy) 1569s # { 1569s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1569s # proxy->priv = com_acme_coyote_proxy_get_instance_private (proxy); 1569s # #else 1569s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_COM_ACME_COYOTE_PROXY, ComAcmeCoyoteProxyPrivate); 1569s # #endif 1569s # 1569s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), com_acme_coyote_interface_info ()); 1569s # } 1569s # 1569s # static void 1569s # com_acme_coyote_proxy_class_init (ComAcmeCoyoteProxyClass *klass) 1569s # { 1569s # GObjectClass *gobject_class; 1569s # GDBusProxyClass *proxy_class; 1569s # 1569s # gobject_class = G_OBJECT_CLASS (klass); 1569s # gobject_class->finalize = com_acme_coyote_proxy_finalize; 1569s # gobject_class->get_property = com_acme_coyote_proxy_get_property; 1569s # gobject_class->set_property = com_acme_coyote_proxy_set_property; 1569s # 1569s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1569s # proxy_class->g_signal = com_acme_coyote_proxy_g_signal; 1569s # proxy_class->g_properties_changed = com_acme_coyote_proxy_g_properties_changed; 1569s # 1569s # com_acme_coyote_override_properties (gobject_class, 1); 1569s # 1569s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1569s # g_type_class_add_private (klass, sizeof (ComAcmeCoyoteProxyPrivate)); 1569s # #endif 1569s # } 1569s # 1569s # static void 1569s # com_acme_coyote_proxy_iface_init (ComAcmeCoyoteIface *iface) 1569s # { 1569s # iface->get_mood = com_acme_coyote_proxy_get_mood; 1569s # } 1569s # 1569s # /** 1569s # * com_acme_coyote_proxy_new: 1569s # * @connection: A #GDBusConnection. 1569s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1569s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1569s # * @object_path: An object path. 1569s # * @cancellable: (nullable): A #GCancellable or %NULL. 1569s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1569s # * @user_data: User data to pass to @callback. 1569s # * 1569s # * Asynchronously creates a proxy for the D-Bus interface com.acme.Coyote. See g_dbus_proxy_new() for more details. 1569s # * 1569s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1569s # * You can then call com_acme_coyote_proxy_new_finish() to get the result of the operation. 1569s # * 1569s # * See com_acme_coyote_proxy_new_sync() for the synchronous, blocking version of this constructor. 1569s # */ 1569s # void 1569s # com_acme_coyote_proxy_new ( 1569s # GDBusConnection *connection, 1569s # GDBusProxyFlags flags, 1569s # const gchar *name, 1569s # const gchar *object_path, 1569s # GCancellable *cancellable, 1569s # GAsyncReadyCallback callback, 1569s # gpointer user_data) 1569s # { 1569s # 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); 1569s # } 1569s # 1569s # /** 1569s # * com_acme_coyote_proxy_new_finish: 1569s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_proxy_new(). 1569s # * @error: Return location for error or %NULL 1569s # * 1569s # * Finishes an operation started with com_acme_coyote_proxy_new(). 1569s # * 1569s # * Returns: (transfer full) (type ComAcmeCoyoteProxy): The constructed proxy object or %NULL if @error is set. 1569s # */ 1569s # ComAcmeCoyote * 1569s # com_acme_coyote_proxy_new_finish ( 1569s # GAsyncResult *res, 1569s # GError **error) 1569s # { 1569s # GObject *ret; 1569s # GObject *source_object; 1569s # source_object = g_async_result_get_source_object (res); 1569s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1569s # g_object_unref (source_object); 1569s # if (ret != NULL) 1569s # return COM_ACME_COYOTE (ret); 1569s # else 1569s # return NULL; 1569s # } 1569s # 1569s # /** 1569s # * com_acme_coyote_proxy_new_sync: 1569s # * @connection: A #GDBusConnection. 1569s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1569s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1569s # * @object_path: An object path. 1569s # * @cancellable: (nullable): A #GCancellable or %NULL. 1569s # * @error: Return location for error or %NULL 1569s # * 1569s # * Synchronously creates a proxy for the D-Bus interface com.acme.Coyote. See g_dbus_proxy_new_sync() for more details. 1569s # * 1569s # * The calling thread is blocked until a reply is received. 1569s # * 1569s # * See com_acme_coyote_proxy_new() for the asynchronous version of this constructor. 1569s # * 1569s # * Returns: (transfer full) (type ComAcmeCoyoteProxy): The constructed proxy object or %NULL if @error is set. 1569s # */ 1569s # ComAcmeCoyote * 1569s # com_acme_coyote_proxy_new_sync ( 1569s # GDBusConnection *connection, 1569s # GDBusProxyFlags flags, 1569s # const gchar *name, 1569s # const gchar *object_path, 1569s # GCancellable *cancellable, 1569s # GError **error) 1569s # { 1569s # GInitable *ret; 1569s # 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); 1569s # if (ret != NULL) 1569s # return COM_ACME_COYOTE (ret); 1569s # else 1569s # return NULL; 1569s # } 1569s # 1569s # 1569s # /** 1569s # * com_acme_coyote_proxy_new_for_bus: 1569s # * @bus_type: A #GBusType. 1569s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1569s # * @name: A bus name (well-known or unique). 1569s # * @object_path: An object path. 1569s # * @cancellable: (nullable): A #GCancellable or %NULL. 1569s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1569s # * @user_data: User data to pass to @callback. 1569s # * 1569s # * Like com_acme_coyote_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1569s # * 1569s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1569s # * You can then call com_acme_coyote_proxy_new_for_bus_finish() to get the result of the operation. 1569s # * 1569s # * See com_acme_coyote_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1569s # */ 1569s # void 1569s # com_acme_coyote_proxy_new_for_bus ( 1569s # GBusType bus_type, 1569s # GDBusProxyFlags flags, 1569s # const gchar *name, 1569s # const gchar *object_path, 1569s # GCancellable *cancellable, 1569s # GAsyncReadyCallback callback, 1569s # gpointer user_data) 1569s # { 1569s # 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); 1569s # } 1569s # 1569s # /** 1569s # * com_acme_coyote_proxy_new_for_bus_finish: 1569s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_proxy_new_for_bus(). 1569s # * @error: Return location for error or %NULL 1569s # * 1569s # * Finishes an operation started with com_acme_coyote_proxy_new_for_bus(). 1569s # * 1569s # * Returns: (transfer full) (type ComAcmeCoyoteProxy): The constructed proxy object or %NULL if @error is set. 1569s # */ 1569s # ComAcmeCoyote * 1569s # com_acme_coyote_proxy_new_for_bus_finish ( 1569s # GAsyncResult *res, 1569s # GError **error) 1569s # { 1569s # GObject *ret; 1569s # GObject *source_object; 1569s # source_object = g_async_result_get_source_object (res); 1569s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1569s # g_object_unref (source_object); 1569s # if (ret != NULL) 1569s # return COM_ACME_COYOTE (ret); 1569s # else 1569s # return NULL; 1569s # } 1569s # 1569s # /** 1569s # * com_acme_coyote_proxy_new_for_bus_sync: 1569s # * @bus_type: A #GBusType. 1569s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1569s # * @name: A bus name (well-known or unique). 1569s # * @object_path: An object path. 1569s # * @cancellable: (nullable): A #GCancellable or %NULL. 1569s # * @error: Return location for error or %NULL 1569s # * 1569s # * Like com_acme_coyote_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1569s # * 1569s # * The calling thread is blocked until a reply is received. 1569s # * 1569s # * See com_acme_coyote_proxy_new_for_bus() for the asynchronous version of this constructor. 1569s # * 1569s # * Returns: (transfer full) (type ComAcmeCoyoteProxy): The constructed proxy object or %NULL if @error is set. 1569s # */ 1569s # ComAcmeCoyote * 1569s # com_acme_coyote_proxy_new_for_bus_sync ( 1569s # GBusType bus_type, 1569s # GDBusProxyFlags flags, 1569s # const gchar *name, 1569s # const gchar *object_path, 1569s # GCancellable *cancellable, 1569s # GError **error) 1569s # { 1569s # GInitable *ret; 1569s # 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); 1569s # if (ret != NULL) 1569s # return COM_ACME_COYOTE (ret); 1569s # else 1569s # return NULL; 1569s # } 1569s # 1569s # 1569s # /* ------------------------------------------------------------------------ */ 1569s # 1569s # /** 1569s # * ComAcmeCoyoteSkeleton: 1569s # * 1569s # * The #ComAcmeCoyoteSkeleton structure contains only private data and should only be accessed using the provided API. 1569s # */ 1569s # 1569s # /** 1569s # * ComAcmeCoyoteSkeletonClass: 1569s # * @parent_class: The parent class. 1569s # * 1569s # * Class structure for #ComAcmeCoyoteSkeleton. 1569s # */ 1569s # 1569s # struct _ComAcmeCoyoteSkeletonPrivate 1569s # { 1569s # GValue *properties; 1569s # GList *changed_properties; 1569s # GSource *changed_properties_idle_source; 1569s # GMainContext *context; 1569s # GMutex lock; 1569s # }; 1569s # 1569s # static void 1569s # _com_acme_coyote_skeleton_handle_method_call ( 1569s # GDBusConnection *connection G_GNUC_UNUSED, 1569s # const gchar *sender G_GNUC_UNUSED, 1569s # const gchar *object_path G_GNUC_UNUSED, 1569s # const gchar *interface_name, 1569s # const gchar *method_name, 1569s # GVariant *parameters, 1569s # GDBusMethodInvocation *invocation, 1569s # gpointer user_data) 1569s # { 1569s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (user_data); 1569s # _ExtendedGDBusMethodInfo *info; 1569s # GVariantIter iter; 1569s # GVariant *child; 1569s # GValue *paramv; 1569s # gsize num_params; 1569s # guint num_extra; 1569s # gsize n; 1569s # guint signal_id; 1569s # GValue return_value = G_VALUE_INIT; 1569s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1569s # g_assert (info != NULL); 1569s # num_params = g_variant_n_children (parameters); 1569s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1569s # n = 0; 1569s # g_value_init (¶mv[n], TYPE_COM_ACME_COYOTE); 1569s # g_value_set_object (¶mv[n++], skeleton); 1569s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1569s # g_value_set_object (¶mv[n++], invocation); 1569s # if (info->pass_fdlist) 1569s # { 1569s # #ifdef G_OS_UNIX 1569s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1569s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1569s # #else 1569s # g_assert_not_reached (); 1569s # #endif 1569s # } 1569s # g_variant_iter_init (&iter, parameters); 1569s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1569s # { 1569s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1569s # if (arg_info->use_gvariant) 1569s # { 1569s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1569s # g_value_set_variant (¶mv[n], child); 1569s # n++; 1569s # } 1569s # else 1569s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1569s # g_variant_unref (child); 1569s # } 1569s # signal_id = g_signal_lookup (info->signal_name, TYPE_COM_ACME_COYOTE); 1569s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1569s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1569s # if (!g_value_get_boolean (&return_value)) 1569s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1569s # g_value_unset (&return_value); 1569s # for (n = 0; n < num_params + num_extra; n++) 1569s # g_value_unset (¶mv[n]); 1569s # g_free (paramv); 1569s # } 1569s # 1569s # static GVariant * 1569s # _com_acme_coyote_skeleton_handle_get_property ( 1569s # GDBusConnection *connection G_GNUC_UNUSED, 1569s # const gchar *sender G_GNUC_UNUSED, 1569s # const gchar *object_path G_GNUC_UNUSED, 1569s # const gchar *interface_name G_GNUC_UNUSED, 1569s # const gchar *property_name, 1569s # GError **error, 1569s # gpointer user_data) 1569s # { 1569s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (user_data); 1569s # GValue value = G_VALUE_INIT; 1569s # GParamSpec *pspec; 1569s # _ExtendedGDBusPropertyInfo *info; 1569s # GVariant *ret; 1569s # ret = NULL; 1569s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, property_name); 1569s # g_assert (info != NULL); 1569s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1569s # if (pspec == NULL) 1569s # { 1569s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1569s # } 1569s # else 1569s # { 1569s # g_value_init (&value, pspec->value_type); 1569s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1569s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1569s # g_value_unset (&value); 1569s # } 1569s # return ret; 1569s # } 1569s # 1569s # static gboolean 1569s # _com_acme_coyote_skeleton_handle_set_property ( 1569s # GDBusConnection *connection G_GNUC_UNUSED, 1569s # const gchar *sender G_GNUC_UNUSED, 1569s # const gchar *object_path G_GNUC_UNUSED, 1569s # const gchar *interface_name G_GNUC_UNUSED, 1569s # const gchar *property_name, 1569s # GVariant *variant, 1569s # GError **error, 1569s # gpointer user_data) 1569s # { 1569s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (user_data); 1569s # GValue value = G_VALUE_INIT; 1569s # GParamSpec *pspec; 1569s # _ExtendedGDBusPropertyInfo *info; 1569s # gboolean ret; 1569s # ret = FALSE; 1569s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, property_name); 1569s # g_assert (info != NULL); 1569s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1569s # if (pspec == NULL) 1569s # { 1569s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1569s # } 1569s # else 1569s # { 1569s # if (info->use_gvariant) 1569s # g_value_set_variant (&value, variant); 1569s # else 1569s # g_dbus_gvariant_to_gvalue (variant, &value); 1569s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1569s # g_value_unset (&value); 1569s # ret = TRUE; 1569s # } 1569s # return ret; 1569s # } 1569s # 1569s # static const GDBusInterfaceVTable _com_acme_coyote_skeleton_vtable = 1569s # { 1569s # _com_acme_coyote_skeleton_handle_method_call, 1569s # _com_acme_coyote_skeleton_handle_get_property, 1569s # _com_acme_coyote_skeleton_handle_set_property, 1569s # {NULL} 1569s # }; 1569s # 1569s # static GDBusInterfaceInfo * 1569s # com_acme_coyote_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1569s # { 1569s # return com_acme_coyote_interface_info (); 1569s # } 1569s # 1569s # static GDBusInterfaceVTable * 1569s # com_acme_coyote_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1569s # { 1569s # return (GDBusInterfaceVTable *) &_com_acme_coyote_skeleton_vtable; 1569s # } 1569s # 1569s # static GVariant * 1569s # com_acme_coyote_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1569s # { 1569s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (_skeleton); 1569s # 1569s # GVariantBuilder builder; 1569s # guint n; 1569s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1569s # if (_com_acme_coyote_interface_info.parent_struct.properties == NULL) 1569s # goto out; 1569s # for (n = 0; _com_acme_coyote_interface_info.parent_struct.properties[n] != NULL; n++) 1569s # { 1569s # GDBusPropertyInfo *info = _com_acme_coyote_interface_info.parent_struct.properties[n]; 1569s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1569s # { 1569s # GVariant *value; 1569s # 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); 1569s # if (value != NULL) 1569s # { 1569s # g_variant_take_ref (value); 1569s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1569s # g_variant_unref (value); 1569s # } 1569s # } 1569s # } 1569s # out: 1569s # return g_variant_builder_end (&builder); 1569s # } 1569s # 1569s # static gboolean _com_acme_coyote_emit_changed (gpointer user_data); 1569s # 1569s # static void 1569s # com_acme_coyote_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton) 1569s # { 1569s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (_skeleton); 1569s # gboolean emit_changed = FALSE; 1569s # 1569s # g_mutex_lock (&skeleton->priv->lock); 1569s # if (skeleton->priv->changed_properties_idle_source != NULL) 1569s # { 1569s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1569s # skeleton->priv->changed_properties_idle_source = NULL; 1569s # emit_changed = TRUE; 1569s # } 1569s # g_mutex_unlock (&skeleton->priv->lock); 1569s # 1569s # if (emit_changed) 1569s # _com_acme_coyote_emit_changed (skeleton); 1569s # } 1569s # 1569s # static void 1569s # _com_acme_coyote_on_signal_surprised ( 1569s # ComAcmeCoyote *object) 1569s # { 1569s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 1569s # 1569s # GList *connections, *l; 1569s # GVariant *signal_variant; 1569s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1569s # 1569s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1569s # for (l = connections; l != NULL; l = l->next) 1569s # { 1569s # GDBusConnection *connection = l->data; 1569s # g_dbus_connection_emit_signal (connection, 1569s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "com.acme.Coyote", "Surprised", 1569s # signal_variant, NULL); 1569s # } 1569s # g_variant_unref (signal_variant); 1569s # g_list_free_full (connections, g_object_unref); 1569s # } 1569s # 1569s # static void com_acme_coyote_skeleton_iface_init (ComAcmeCoyoteIface *iface); 1569s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1569s # G_DEFINE_TYPE_WITH_CODE (ComAcmeCoyoteSkeleton, com_acme_coyote_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1569s # G_ADD_PRIVATE (ComAcmeCoyoteSkeleton) 1569s # G_IMPLEMENT_INTERFACE (TYPE_COM_ACME_COYOTE, com_acme_coyote_skeleton_iface_init)) 1569s # 1569s # #else 1569s # G_DEFINE_TYPE_WITH_CODE (ComAcmeCoyoteSkeleton, com_acme_coyote_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1569s # G_IMPLEMENT_INTERFACE (TYPE_COM_ACME_COYOTE, com_acme_coyote_skeleton_iface_init)) 1569s # 1569s # #endif 1569s # static void 1569s # com_acme_coyote_skeleton_finalize (GObject *object) 1569s # { 1569s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 1569s # guint n; 1569s # for (n = 0; n < 1; n++) 1569s # g_value_unset (&skeleton->priv->properties[n]); 1569s # g_free (skeleton->priv->properties); 1569s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1569s # if (skeleton->priv->changed_properties_idle_source != NULL) 1569s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1569s # g_main_context_unref (skeleton->priv->context); 1569s # g_mutex_clear (&skeleton->priv->lock); 1569s # G_OBJECT_CLASS (com_acme_coyote_skeleton_parent_class)->finalize (object); 1569s # } 1569s # 1569s # static void 1569s # com_acme_coyote_skeleton_get_property (GObject *object, 1569s # guint prop_id, 1569s # GValue *value, 1569s # GParamSpec *pspec G_GNUC_UNUSED) 1569s # { 1569s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 1569s # g_assert (prop_id != 0 && prop_id - 1 < 1); 1569s # g_mutex_lock (&skeleton->priv->lock); 1569s # g_value_copy (&skeleton->priv->properties[prop_id - 1], value); 1569s # g_mutex_unlock (&skeleton->priv->lock); 1569s # } 1569s # 1569s # static gboolean 1569s # _com_acme_coyote_emit_changed (gpointer user_data) 1569s # { 1569s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (user_data); 1569s # GList *l; 1569s # GVariantBuilder builder; 1569s # GVariantBuilder invalidated_builder; 1569s # guint num_changes; 1569s # 1569s # g_mutex_lock (&skeleton->priv->lock); 1569s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1569s # g_variant_builder_init (&invalidated_builder, G_VARIANT_TYPE ("as")); 1569s # for (l = skeleton->priv->changed_properties, num_changes = 0; l != NULL; l = l->next) 1569s # { 1569s # ChangedProperty *cp = l->data; 1569s # GVariant *variant; 1569s # const GValue *cur_value; 1569s # 1569s # cur_value = &skeleton->priv->properties[cp->prop_id - 1]; 1569s # if (!_g_value_equal (cur_value, &cp->orig_value)) 1569s # { 1569s # variant = g_dbus_gvalue_to_gvariant (cur_value, G_VARIANT_TYPE (cp->info->parent_struct.signature)); 1569s # g_variant_builder_add (&builder, "{sv}", cp->info->parent_struct.name, variant); 1569s # g_variant_unref (variant); 1569s # num_changes++; 1569s # } 1569s # } 1569s # if (num_changes > 0) 1569s # { 1569s # GList *connections, *ll; 1569s # GVariant *signal_variant; 1569s # signal_variant = g_variant_ref_sink (g_variant_new ("(sa{sv}as)", "com.acme.Coyote", 1569s # &builder, &invalidated_builder)); 1569s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1569s # for (ll = connections; ll != NULL; ll = ll->next) 1569s # { 1569s # GDBusConnection *connection = ll->data; 1569s # 1569s # g_dbus_connection_emit_signal (connection, 1569s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), 1569s # "org.freedesktop.DBus.Properties", 1569s # "PropertiesChanged", 1569s # signal_variant, 1569s # NULL); 1569s # } 1569s # g_variant_unref (signal_variant); 1569s # g_list_free_full (connections, g_object_unref); 1569s # } 1569s # else 1569s # { 1569s # g_variant_builder_clear (&builder); 1569s # g_variant_builder_clear (&invalidated_builder); 1569s # } 1569s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1569s # skeleton->priv->changed_properties = NULL; 1569s # skeleton->priv->changed_properties_idle_source = NULL; 1569s # g_mutex_unlock (&skeleton->priv->lock); 1569s # return FALSE; 1569s # } 1569s # 1569s # static void 1569s # _com_acme_coyote_schedule_emit_changed (ComAcmeCoyoteSkeleton *skeleton, const _ExtendedGDBusPropertyInfo *info, guint prop_id, const GValue *orig_value) 1569s # { 1569s # ChangedProperty *cp; 1569s # GList *l; 1569s # cp = NULL; 1569s # for (l = skeleton->priv->changed_properties; l != NULL; l = l->next) 1569s # { 1569s # ChangedProperty *i_cp = l->data; 1569s # if (i_cp->info == info) 1569s # { 1569s # cp = i_cp; 1569s # break; 1569s # } 1569s # } 1569s # if (cp == NULL) 1569s # { 1569s # cp = g_new0 (ChangedProperty, 1); 1569s # cp->prop_id = prop_id; 1569s # cp->info = info; 1569s # skeleton->priv->changed_properties = g_list_prepend (skeleton->priv->changed_properties, cp); 1569s # g_value_init (&cp->orig_value, G_VALUE_TYPE (orig_value)); 1569s # g_value_copy (orig_value, &cp->orig_value); 1569s # } 1569s # } 1569s # 1569s # static void 1569s # com_acme_coyote_skeleton_notify (GObject *object, 1569s # GParamSpec *pspec G_GNUC_UNUSED) 1569s # { 1569s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 1569s # g_mutex_lock (&skeleton->priv->lock); 1569s # if (skeleton->priv->changed_properties != NULL && 1569s # skeleton->priv->changed_properties_idle_source == NULL) 1569s # { 1569s # skeleton->priv->changed_properties_idle_source = g_idle_source_new (); 1569s # g_source_set_priority (skeleton->priv->changed_properties_idle_source, G_PRIORITY_DEFAULT); 1569s # g_source_set_callback (skeleton->priv->changed_properties_idle_source, _com_acme_coyote_emit_changed, g_object_ref (skeleton), (GDestroyNotify) g_object_unref); 1569s # g_source_set_name (skeleton->priv->changed_properties_idle_source, "[generated] _com_acme_coyote_emit_changed"); 1569s # g_source_attach (skeleton->priv->changed_properties_idle_source, skeleton->priv->context); 1569s # g_source_unref (skeleton->priv->changed_properties_idle_source); 1569s # } 1569s # g_mutex_unlock (&skeleton->priv->lock); 1569s # } 1569s # 1569s # static void 1569s # com_acme_coyote_skeleton_set_property (GObject *object, 1569s # guint prop_id, 1569s # const GValue *value, 1569s # GParamSpec *pspec) 1569s # { 1569s # const _ExtendedGDBusPropertyInfo *info; 1569s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 1569s # g_assert (prop_id != 0 && prop_id - 1 < 1); 1569s # info = (const _ExtendedGDBusPropertyInfo *) _com_acme_coyote_property_info_pointers[prop_id - 1]; 1569s # g_mutex_lock (&skeleton->priv->lock); 1569s # g_object_freeze_notify (object); 1569s # if (!_g_value_equal (value, &skeleton->priv->properties[prop_id - 1])) 1569s # { 1569s # if (g_dbus_interface_skeleton_get_connection (G_DBUS_INTERFACE_SKELETON (skeleton)) != NULL && 1569s # info->emits_changed_signal) 1569s # _com_acme_coyote_schedule_emit_changed (skeleton, info, prop_id, &skeleton->priv->properties[prop_id - 1]); 1569s # g_value_copy (value, &skeleton->priv->properties[prop_id - 1]); 1569s # g_object_notify_by_pspec (object, pspec); 1569s # } 1569s # g_mutex_unlock (&skeleton->priv->lock); 1569s # g_object_thaw_notify (object); 1569s # } 1569s # 1569s # static void 1569s # com_acme_coyote_skeleton_init (ComAcmeCoyoteSkeleton *skeleton) 1569s # { 1569s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1569s # skeleton->priv = com_acme_coyote_skeleton_get_instance_private (skeleton); 1569s # #else 1569s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_COM_ACME_COYOTE_SKELETON, ComAcmeCoyoteSkeletonPrivate); 1569s # #endif 1569s # 1569s # g_mutex_init (&skeleton->priv->lock); 1569s # skeleton->priv->context = g_main_context_ref_thread_default (); 1569s # skeleton->priv->properties = g_new0 (GValue, 1); 1569s # g_value_init (&skeleton->priv->properties[0], G_TYPE_STRING); 1569s # } 1569s # 1569s # static const gchar * 1569s # com_acme_coyote_skeleton_get_mood (ComAcmeCoyote *object) 1569s # { 1569s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 1569s # const gchar *value; 1569s # g_mutex_lock (&skeleton->priv->lock); 1569s # value = g_marshal_value_peek_string (&(skeleton->priv->properties[0])); 1569s # g_mutex_unlock (&skeleton->priv->lock); 1569s # return value; 1569s # } 1569s # 1569s # static void 1569s # com_acme_coyote_skeleton_class_init (ComAcmeCoyoteSkeletonClass *klass) 1569s # { 1569s # GObjectClass *gobject_class; 1569s # GDBusInterfaceSkeletonClass *skeleton_class; 1569s # 1569s # gobject_class = G_OBJECT_CLASS (klass); 1569s # gobject_class->finalize = com_acme_coyote_skeleton_finalize; 1569s # gobject_class->get_property = com_acme_coyote_skeleton_get_property; 1569s # gobject_class->set_property = com_acme_coyote_skeleton_set_property; 1569s # gobject_class->notify = com_acme_coyote_skeleton_notify; 1569s # 1569s # 1569s # com_acme_coyote_override_properties (gobject_class, 1); 1569s # 1569s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1569s # skeleton_class->get_info = com_acme_coyote_skeleton_dbus_interface_get_info; 1569s # skeleton_class->get_properties = com_acme_coyote_skeleton_dbus_interface_get_properties; 1569s # skeleton_class->flush = com_acme_coyote_skeleton_dbus_interface_flush; 1569s # skeleton_class->get_vtable = com_acme_coyote_skeleton_dbus_interface_get_vtable; 1569s # 1569s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1569s # g_type_class_add_private (klass, sizeof (ComAcmeCoyoteSkeletonPrivate)); 1569s # #endif 1569s # } 1569s # 1569s # static void 1569s # com_acme_coyote_skeleton_iface_init (ComAcmeCoyoteIface *iface) 1569s # { 1569s # iface->surprised = _com_acme_coyote_on_signal_surprised; 1569s # iface->get_mood = com_acme_coyote_skeleton_get_mood; 1569s # } 1569s # 1569s # /** 1569s # * com_acme_coyote_skeleton_new: 1569s # * 1569s # * Creates a skeleton object for the D-Bus interface com.acme.Coyote. 1569s # * 1569s # * Returns: (transfer full) (type ComAcmeCoyoteSkeleton): The skeleton object. 1569s # */ 1569s # ComAcmeCoyote * 1569s # com_acme_coyote_skeleton_new (void) 1569s # { 1569s # return COM_ACME_COYOTE (g_object_new (TYPE_COM_ACME_COYOTE_SKELETON, NULL)); 1569s # } 1569s ok 39 __main__.TestCodegen.test_unix_fd_types_and_annotations 1569s # tmpdir: /tmp/tmp4f7xm2hu 1569s # codegen: /usr/bin/gdbus-codegen 1569s # /tmp/tmp4f7xm2hu/tmpygtuuey0.xml: 1569s # 1569s # 1569s # 1569s # 1569s # 1569s # 1569s # 1569s # 1569s # 1569s # 1569s # 1569s # 1569s # 1569s # 1569s # 1569s # 1569s # 1569s # 1569s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp4f7xm2hu/tmpygtuuey0.xml', '--output', '-', '--header'] 1569s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-baqskmurxn,guid=fbaffe99d0ccb1f6e1beb84865fc01cd', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.YcZbqk/autopkgtest_tmp', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.YcZbqk/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.YcZbqk/autopkgtest_tmp', 'TERM': 'unknown', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.YcZbqk/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.sVTVMp0Db0', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.rqZsJO/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.YcZbqk/wrapper.sh --artifacts=/tmp/autopkgtest.YcZbqk/installed-tests-artifacts --chdir=/tmp/autopkgtest.YcZbqk/build.S0E/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.YcZbqk/installed-tests-stderr --stdout=/tmp/autopkgtest.YcZbqk/installed-tests-stdout --tmp=/tmp/autopkgtest.YcZbqk/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2' --make-executable=/tmp/autopkgtest.YcZbqk/build.S0E/src/debian/tests/installed-tests -- /tmp/autopkgtest.YcZbqk/build.S0E/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.YcZbqk/build.S0E/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.YcZbqk/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1569s # Output: /* 1569s # * This file is generated by gdbus-codegen, do not modify it. 1569s # * 1569s # * The license of this code is the same as for the D-Bus interface description 1569s # * it was derived from. Note that it links to GLib, so must comply with the 1569s # * LGPL linking clauses. 1569s # */ 1569s # 1569s # #ifndef __STDOUT__ 1569s # #define __STDOUT__ 1569s # 1569s # #include 1569s # 1569s # G_BEGIN_DECLS 1569s # 1569s # 1569s # /* ------------------------------------------------------------------------ */ 1569s # /* Declarations for FDPassing */ 1569s # 1569s # #define TYPE_FDPASSING (fdpassing_get_type ()) 1569s # #define FDPASSING(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_FDPASSING, FDPassing)) 1569s # #define IS_FDPASSING(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_FDPASSING)) 1569s # #define FDPASSING_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_FDPASSING, FDPassingIface)) 1569s # 1569s # struct _FDPassing; 1569s # typedef struct _FDPassing FDPassing; 1569s # typedef struct _FDPassingIface FDPassingIface; 1569s # 1569s # struct _FDPassingIface 1569s # { 1569s # GTypeInterface parent_iface; 1569s # 1569s # gboolean (*handle_hello_fd) ( 1569s # FDPassing *object, 1569s # GDBusMethodInvocation *invocation, 1569s # GUnixFDList *fd_list, 1569s # const gchar *arg_greeting); 1569s # 1569s # gboolean (*handle_no_annotation) ( 1569s # FDPassing *object, 1569s # GDBusMethodInvocation *invocation, 1569s # GVariant *arg_greeting, 1569s # const gchar *arg_greeting_locale); 1569s # 1569s # gboolean (*handle_no_annotation_nested) ( 1569s # FDPassing *object, 1569s # GDBusMethodInvocation *invocation, 1569s # GVariant *arg_files); 1569s # 1569s # }; 1569s # 1569s # GType fdpassing_get_type (void) G_GNUC_CONST; 1569s # 1569s # GDBusInterfaceInfo *fdpassing_interface_info (void); 1569s # guint fdpassing_override_properties (GObjectClass *klass, guint property_id_begin); 1569s # 1569s # 1569s # /* D-Bus method call completion functions: */ 1569s # void fdpassing_complete_hello_fd ( 1569s # FDPassing *object, 1569s # GDBusMethodInvocation *invocation, 1569s # GUnixFDList *fd_list, 1569s # const gchar *response); 1569s # 1569s # void fdpassing_complete_no_annotation ( 1569s # FDPassing *object, 1569s # GDBusMethodInvocation *invocation, 1569s # GVariant *response, 1569s # const gchar *response_locale); 1569s # 1569s # void fdpassing_complete_no_annotation_nested ( 1569s # FDPassing *object, 1569s # GDBusMethodInvocation *invocation); 1569s # 1569s # 1569s # 1569s # /* D-Bus method calls: */ 1569s # void fdpassing_call_hello_fd ( 1569s # FDPassing *proxy, 1569s # const gchar *arg_greeting, 1569s # GUnixFDList *fd_list, 1569s # GCancellable *cancellable, 1569s # GAsyncReadyCallback callback, 1569s # gpointer user_data); 1569s # 1569s # gboolean fdpassing_call_hello_fd_finish ( 1569s # FDPassing *proxy, 1569s # gchar **out_response, 1569s # GUnixFDList **out_fd_list, 1569s # GAsyncResult *res, 1569s # GError **error); 1569s # 1569s # gboolean fdpassing_call_hello_fd_sync ( 1569s # FDPassing *proxy, 1569s # const gchar *arg_greeting, 1569s # GUnixFDList *fd_list, 1569s # gchar **out_response, 1569s # GUnixFDList **out_fd_list, 1569s # GCancellable *cancellable, 1569s # GError **error); 1569s # 1569s # void fdpassing_call_no_annotation ( 1569s # FDPassing *proxy, 1569s # GVariant *arg_greeting, 1569s # const gchar *arg_greeting_locale, 1569s # GCancellable *cancellable, 1569s # GAsyncReadyCallback callback, 1569s # gpointer user_data); 1569s # 1569s # gboolean fdpassing_call_no_annotation_finish ( 1569s # FDPassing *proxy, 1569s # GVariant **out_response, 1569s # gchar **out_response_locale, 1569s # GAsyncResult *res, 1569s # GError **error); 1569s # 1569s # gboolean fdpassing_call_no_annotation_sync ( 1569s # FDPassing *proxy, 1569s # GVariant *arg_greeting, 1569s # const gchar *arg_greeting_locale, 1569s # GVariant **out_response, 1569s # gchar **out_response_locale, 1569s # GCancellable *cancellable, 1569s # GError **error); 1569s # 1569s # void fdpassing_call_no_annotation_nested ( 1569s # FDPassing *proxy, 1569s # GVariant *arg_files, 1569s # GCancellable *cancellable, 1569s # GAsyncReadyCallback callback, 1569s # gpointer user_data); 1569s # 1569s # gboolean fdpassing_call_no_annotation_nested_finish ( 1569s # FDPassing *proxy, 1569s # GAsyncResult *res, 1569s # GError **error); 1569s # 1569s # gboolean fdpassing_call_no_annotation_nested_sync ( 1569s # FDPassing *proxy, 1569s # GVariant *arg_files, 1569s # GCancellable *cancellable, 1569s # GError **error); 1569s # 1569s # 1569s # 1569s # /* ---- */ 1569s # 1569s # #define TYPE_FDPASSING_PROXY (fdpassing_proxy_get_type ()) 1569s # #define FDPASSING_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_FDPASSING_PROXY, FDPassingProxy)) 1569s # #define FDPASSING_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_FDPASSING_PROXY, FDPassingProxyClass)) 1569s # #define FDPASSING_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_FDPASSING_PROXY, FDPassingProxyClass)) 1569s # #define IS_FDPASSING_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_FDPASSING_PROXY)) 1569s # #define IS_FDPASSING_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_FDPASSING_PROXY)) 1569s # 1569s # typedef struct _FDPassingProxy FDPassingProxy; 1569s # typedef struct _FDPassingProxyClass FDPassingProxyClass; 1569s # typedef struct _FDPassingProxyPrivate FDPassingProxyPrivate; 1569s # 1569s # struct _FDPassingProxy 1569s # { 1569s # /*< private >*/ 1569s # GDBusProxy parent_instance; 1569s # FDPassingProxyPrivate *priv; 1569s # }; 1569s # 1569s # struct _FDPassingProxyClass 1569s # { 1569s # GDBusProxyClass parent_class; 1569s # }; 1569s # 1569s # GType fdpassing_proxy_get_type (void) G_GNUC_CONST; 1569s # 1569s # #if GLIB_CHECK_VERSION(2, 44, 0) 1569s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (FDPassingProxy, g_object_unref) 1569s # #endif 1569s # 1569s # void fdpassing_proxy_new ( 1569s # GDBusConnection *connection, 1569s # GDBusProxyFlags flags, 1569s # const gchar *name, 1569s # const gchar *object_path, 1569s # GCancellable *cancellable, 1569s # GAsyncReadyCallback callback, 1569s # gpointer user_data); 1569s # FDPassing *fdpassing_proxy_new_finish ( 1569s # GAsyncResult *res, 1569s # GError **error); 1569s # FDPassing *fdpassing_proxy_new_sync ( 1569s # GDBusConnection *connection, 1569s # GDBusProxyFlags flags, 1569s # const gchar *name, 1569s # const gchar *object_path, 1569s # GCancellable *cancellable, 1569s # GError **error); 1569s # 1569s # void fdpassing_proxy_new_for_bus ( 1569s # GBusType bus_type, 1569s # GDBusProxyFlags flags, 1569s # const gchar *name, 1569s # const gchar *object_path, 1569s # GCancellable *cancellable, 1569s # GAsyncReadyCallback callback, 1569s # gpointer user_data); 1569s # FDPassing *fdpassing_proxy_new_for_bus_finish ( 1569s # GAsyncResult *res, 1569s # GError **error); 1569s # FDPassing *fdpassing_proxy_new_for_bus_sync ( 1569s # GBusType bus_type, 1569s # GDBusProxyFlags flags, 1569s # const gchar *name, 1569s # const gchar *object_path, 1569s # GCancellable *cancellable, 1569s # GError **error); 1569s # 1569s # 1569s # /* ---- */ 1569s # 1569s # #define TYPE_FDPASSING_SKELETON (fdpassing_skeleton_get_type ()) 1569s # #define FDPASSING_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_FDPASSING_SKELETON, FDPassingSkeleton)) 1569s # #define FDPASSING_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_FDPASSING_SKELETON, FDPassingSkeletonClass)) 1569s # #define FDPASSING_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_FDPASSING_SKELETON, FDPassingSkeletonClass)) 1569s # #define IS_FDPASSING_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_FDPASSING_SKELETON)) 1569s # #define IS_FDPASSING_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_FDPASSING_SKELETON)) 1569s # 1569s # typedef struct _FDPassingSkeleton FDPassingSkeleton; 1569s # typedef struct _FDPassingSkeletonClass FDPassingSkeletonClass; 1569s # typedef struct _FDPassingSkeletonPrivate FDPassingSkeletonPrivate; 1569s # 1569s # struct _FDPassingSkeleton 1569s # { 1569s # /*< private >*/ 1569s # GDBusInterfaceSkeleton parent_instance; 1569s # FDPassingSkeletonPrivate *priv; 1569s # }; 1569s # 1569s # struct _FDPassingSkeletonClass 1569s # { 1569s # GDBusInterfaceSkeletonClass parent_class; 1569s # }; 1569s # 1569s # GType fdpassing_skeleton_get_type (void) G_GNUC_CONST; 1569s # 1569s # #if GLIB_CHECK_VERSION(2, 44, 0) 1569s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (FDPassingSkeleton, g_object_unref) 1569s # #endif 1569s # 1569s # FDPassing *fdpassing_skeleton_new (void); 1569s # 1569s # 1569s # G_END_DECLS 1569s # 1569s # #endif /* __STDOUT__ */ 1569s # /tmp/tmp4f7xm2hu/tmpr94lai9k.xml: 1569s # 1569s # 1569s # 1569s # 1569s # 1569s # 1569s # 1569s # 1569s # 1569s # 1569s # 1569s # 1569s # 1569s # 1569s # 1569s # 1569s # 1569s # 1569s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp4f7xm2hu/tmpr94lai9k.xml', '--output', '-', '--header', '--glib-min-required', '2.32'] 1569s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-baqskmurxn,guid=fbaffe99d0ccb1f6e1beb84865fc01cd', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.YcZbqk/autopkgtest_tmp', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.YcZbqk/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.YcZbqk/autopkgtest_tmp', 'TERM': 'unknown', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.YcZbqk/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.sVTVMp0Db0', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.rqZsJO/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.YcZbqk/wrapper.sh --artifacts=/tmp/autopkgtest.YcZbqk/installed-tests-artifacts --chdir=/tmp/autopkgtest.YcZbqk/build.S0E/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.YcZbqk/installed-tests-stderr --stdout=/tmp/autopkgtest.YcZbqk/installed-tests-stdout --tmp=/tmp/autopkgtest.YcZbqk/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2' --make-executable=/tmp/autopkgtest.YcZbqk/build.S0E/src/debian/tests/installed-tests -- /tmp/autopkgtest.YcZbqk/build.S0E/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.YcZbqk/build.S0E/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.YcZbqk/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1569s # Output: /* 1569s # * This file is generated by gdbus-codegen, do not modify it. 1569s # * 1569s # * The license of this code is the same as for the D-Bus interface description 1569s # * it was derived from. Note that it links to GLib, so must comply with the 1569s # * LGPL linking clauses. 1569s # */ 1569s # 1569s # #ifndef __STDOUT__ 1569s # #define __STDOUT__ 1569s # 1569s # #include 1569s # 1569s # G_BEGIN_DECLS 1569s # 1569s # 1569s # /* ------------------------------------------------------------------------ */ 1569s # /* Declarations for FDPassing */ 1569s # 1569s # #define TYPE_FDPASSING (fdpassing_get_type ()) 1569s # #define FDPASSING(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_FDPASSING, FDPassing)) 1569s # #define IS_FDPASSING(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_FDPASSING)) 1569s # #define FDPASSING_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_FDPASSING, FDPassingIface)) 1569s # 1569s # struct _FDPassing; 1569s # typedef struct _FDPassing FDPassing; 1569s # typedef struct _FDPassingIface FDPassingIface; 1569s # 1569s # struct _FDPassingIface 1569s # { 1569s # GTypeInterface parent_iface; 1569s # 1569s # gboolean (*handle_hello_fd) ( 1569s # FDPassing *object, 1569s # GDBusMethodInvocation *invocation, 1569s # GUnixFDList *fd_list, 1569s # const gchar *arg_greeting); 1569s # 1569s # gboolean (*handle_no_annotation) ( 1569s # FDPassing *object, 1569s # GDBusMethodInvocation *invocation, 1569s # GVariant *arg_greeting, 1569s # const gchar *arg_greeting_locale); 1569s # 1569s # gboolean (*handle_no_annotation_nested) ( 1569s # FDPassing *object, 1569s # GDBusMethodInvocation *invocation, 1569s # GVariant *arg_files); 1569s # 1569s # }; 1569s # 1569s # GType fdpassing_get_type (void) G_GNUC_CONST; 1569s # 1569s # GDBusInterfaceInfo *fdpassing_interface_info (void); 1569s # guint fdpassing_override_properties (GObjectClass *klass, guint property_id_begin); 1569s # 1569s # 1569s # /* D-Bus method call completion functions: */ 1569s # void fdpassing_complete_hello_fd ( 1569s # FDPassing *object, 1569s # GDBusMethodInvocation *invocation, 1569s # GUnixFDList *fd_list, 1569s # const gchar *response); 1569s # 1569s # void fdpassing_complete_no_annotation ( 1569s # FDPassing *object, 1569s # GDBusMethodInvocation *invocation, 1569s # GVariant *response, 1569s # const gchar *response_locale); 1569s # 1569s # void fdpassing_complete_no_annotation_nested ( 1569s # FDPassing *object, 1569s # GDBusMethodInvocation *invocation); 1569s # 1569s # 1569s # 1569s # /* D-Bus method calls: */ 1569s # void fdpassing_call_hello_fd ( 1569s # FDPassing *proxy, 1569s # const gchar *arg_greeting, 1569s # GUnixFDList *fd_list, 1569s # GCancellable *cancellable, 1569s # GAsyncReadyCallback callback, 1569s # gpointer user_data); 1569s # 1569s # gboolean fdpassing_call_hello_fd_finish ( 1569s # FDPassing *proxy, 1569s # gchar **out_response, 1569s # GUnixFDList **out_fd_list, 1569s # GAsyncResult *res, 1569s # GError **error); 1569s # 1569s # gboolean fdpassing_call_hello_fd_sync ( 1569s # FDPassing *proxy, 1569s # const gchar *arg_greeting, 1569s # GUnixFDList *fd_list, 1569s # gchar **out_response, 1569s # GUnixFDList **out_fd_list, 1569s # GCancellable *cancellable, 1569s # GError **error); 1569s # 1569s # void fdpassing_call_no_annotation ( 1569s # FDPassing *proxy, 1569s # GVariant *arg_greeting, 1569s # const gchar *arg_greeting_locale, 1569s # GCancellable *cancellable, 1569s # GAsyncReadyCallback callback, 1569s # gpointer user_data); 1569s # 1569s # gboolean fdpassing_call_no_annotation_finish ( 1569s # FDPassing *proxy, 1569s # GVariant **out_response, 1569s # gchar **out_response_locale, 1569s # GAsyncResult *res, 1569s # GError **error); 1569s # 1569s # gboolean fdpassing_call_no_annotation_sync ( 1569s # FDPassing *proxy, 1569s # GVariant *arg_greeting, 1569s # const gchar *arg_greeting_locale, 1569s # GVariant **out_response, 1569s # gchar **out_response_locale, 1569s # GCancellable *cancellable, 1569s # GError **error); 1569s # 1569s # void fdpassing_call_no_annotation_nested ( 1569s # FDPassing *proxy, 1569s # GVariant *arg_files, 1569s # GCancellable *cancellable, 1569s # GAsyncReadyCallback callback, 1569s # gpointer user_data); 1569s # 1569s # gboolean fdpassing_call_no_annotation_nested_finish ( 1569s # FDPassing *proxy, 1569s # GAsyncResult *res, 1569s # GError **error); 1569s # 1569s # gboolean fdpassing_call_no_annotation_nested_sync ( 1569s # FDPassing *proxy, 1569s # GVariant *arg_files, 1569s # GCancellable *cancellable, 1569s # GError **error); 1569s # 1569s # 1569s # 1569s # /* ---- */ 1569s # 1569s # #define TYPE_FDPASSING_PROXY (fdpassing_proxy_get_type ()) 1569s # #define FDPASSING_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_FDPASSING_PROXY, FDPassingProxy)) 1569s # #define FDPASSING_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_FDPASSING_PROXY, FDPassingProxyClass)) 1569s # #define FDPASSING_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_FDPASSING_PROXY, FDPassingProxyClass)) 1569s # #define IS_FDPASSING_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_FDPASSING_PROXY)) 1569s # #define IS_FDPASSING_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_FDPASSING_PROXY)) 1569s # 1569s # typedef struct _FDPassingProxy FDPassingProxy; 1569s # typedef struct _FDPassingProxyClass FDPassingProxyClass; 1569s # typedef struct _FDPassingProxyPrivate FDPassingProxyPrivate; 1569s # 1569s # struct _FDPassingProxy 1569s # { 1569s # /*< private >*/ 1569s # GDBusProxy parent_instance; 1569s # FDPassingProxyPrivate *priv; 1569s # }; 1569s # 1569s # struct _FDPassingProxyClass 1569s # { 1569s # GDBusProxyClass parent_class; 1569s # }; 1569s # 1569s # GType fdpassing_proxy_get_type (void) G_GNUC_CONST; 1569s # 1569s # #if GLIB_CHECK_VERSION(2, 44, 0) 1569s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (FDPassingProxy, g_object_unref) 1569s # #endif 1569s # 1569s # void fdpassing_proxy_new ( 1569s # GDBusConnection *connection, 1569s # GDBusProxyFlags flags, 1569s # const gchar *name, 1569s # const gchar *object_path, 1569s # GCancellable *cancellable, 1569s # GAsyncReadyCallback callback, 1569s # gpointer user_data); 1569s # FDPassing *fdpassing_proxy_new_finish ( 1569s # GAsyncResult *res, 1569s # GError **error); 1569s # FDPassing *fdpassing_proxy_new_sync ( 1569s # GDBusConnection *connection, 1569s # GDBusProxyFlags flags, 1569s # const gchar *name, 1569s # const gchar *object_path, 1569s # GCancellable *cancellable, 1569s # GError **error); 1569s # 1569s # void fdpassing_proxy_new_for_bus ( 1569s # GBusType bus_type, 1569s # GDBusProxyFlags flags, 1569s # const gchar *name, 1569s # const gchar *object_path, 1569s # GCancellable *cancellable, 1569s # GAsyncReadyCallback callback, 1569s # gpointer user_data); 1569s # FDPassing *fdpassing_proxy_new_for_bus_finish ( 1569s # GAsyncResult *res, 1569s # GError **error); 1569s # FDPassing *fdpassing_proxy_new_for_bus_sync ( 1569s # GBusType bus_type, 1569s # GDBusProxyFlags flags, 1569s # const gchar *name, 1569s # const gchar *object_path, 1569s # GCancellable *cancellable, 1569s # GError **error); 1569s # 1569s # 1569s # /* ---- */ 1569s # 1569s # #define TYPE_FDPASSING_SKELETON (fdpassing_skeleton_get_type ()) 1569s # #define FDPASSING_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_FDPASSING_SKELETON, FDPassingSkeleton)) 1569s # #define FDPASSING_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_FDPASSING_SKELETON, FDPassingSkeletonClass)) 1569s # #define FDPASSING_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_FDPASSING_SKELETON, FDPassingSkeletonClass)) 1569s # #define IS_FDPASSING_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_FDPASSING_SKELETON)) 1569s # #define IS_FDPASSING_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_FDPASSING_SKELETON)) 1569s # 1569s # typedef struct _FDPassingSkeleton FDPassingSkeleton; 1569s # typedef struct _FDPassingSkeletonClass FDPassingSkeletonClass; 1569s # typedef struct _FDPassingSkeletonPrivate FDPassingSkeletonPrivate; 1569s # 1569s # struct _FDPassingSkeleton 1569s # { 1569s # /*< private >*/ 1569s # GDBusInterfaceSkeleton parent_instance; 1569s # FDPassingSkeletonPrivate *priv; 1569s # }; 1569s # 1569s # struct _FDPassingSkeletonClass 1569s # { 1569s # GDBusInterfaceSkeletonClass parent_class; 1569s # }; 1569s # 1569s # GType fdpassing_skeleton_get_type (void) G_GNUC_CONST; 1569s # 1569s # #if GLIB_CHECK_VERSION(2, 44, 0) 1569s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (FDPassingSkeleton, g_object_unref) 1569s # #endif 1569s # 1569s # FDPassing *fdpassing_skeleton_new (void); 1569s # 1569s # 1569s # G_END_DECLS 1569s # 1569s # #endif /* __STDOUT__ */ 1569s # /tmp/tmp4f7xm2hu/tmpoxxmyj6f.xml: 1569s # 1569s # 1569s # 1569s # 1569s # 1569s # 1569s # 1569s # 1569s # 1569s # 1569s # 1569s # 1569s # 1569s # 1569s # 1569s # 1569s # 1569s # 1569s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp4f7xm2hu/tmpoxxmyj6f.xml', '--output', '-', '--header', '--glib-min-required', '2.64'] 1569s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-baqskmurxn,guid=fbaffe99d0ccb1f6e1beb84865fc01cd', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.YcZbqk/autopkgtest_tmp', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.YcZbqk/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.YcZbqk/autopkgtest_tmp', 'TERM': 'unknown', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.YcZbqk/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.sVTVMp0Db0', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.rqZsJO/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.YcZbqk/wrapper.sh --artifacts=/tmp/autopkgtest.YcZbqk/installed-tests-artifacts --chdir=/tmp/autopkgtest.YcZbqk/build.S0E/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.YcZbqk/installed-tests-stderr --stdout=/tmp/autopkgtest.YcZbqk/installed-tests-stdout --tmp=/tmp/autopkgtest.YcZbqk/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2' --make-executable=/tmp/autopkgtest.YcZbqk/build.S0E/src/debian/tests/installed-tests -- /tmp/autopkgtest.YcZbqk/build.S0E/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.YcZbqk/build.S0E/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.YcZbqk/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1569s # Output: /* 1569s # * This file is generated by gdbus-codegen, do not modify it. 1569s # * 1569s # * The license of this code is the same as for the D-Bus interface description 1569s # * it was derived from. Note that it links to GLib, so must comply with the 1569s # * LGPL linking clauses. 1569s # */ 1569s # 1569s # #ifndef __STDOUT__ 1569s # #define __STDOUT__ 1569s # 1569s # #include 1569s # 1569s # G_BEGIN_DECLS 1569s # 1569s # 1569s # /* ------------------------------------------------------------------------ */ 1569s # /* Declarations for FDPassing */ 1569s # 1569s # #define TYPE_FDPASSING (fdpassing_get_type ()) 1569s # #define FDPASSING(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_FDPASSING, FDPassing)) 1569s # #define IS_FDPASSING(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_FDPASSING)) 1569s # #define FDPASSING_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_FDPASSING, FDPassingIface)) 1569s # 1569s # struct _FDPassing; 1569s # typedef struct _FDPassing FDPassing; 1569s # typedef struct _FDPassingIface FDPassingIface; 1569s # 1569s # struct _FDPassingIface 1569s # { 1569s # GTypeInterface parent_iface; 1569s # 1569s # gboolean (*handle_hello_fd) ( 1569s # FDPassing *object, 1569s # GDBusMethodInvocation *invocation, 1569s # GUnixFDList *fd_list, 1569s # const gchar *arg_greeting); 1569s # 1569s # gboolean (*handle_no_annotation) ( 1569s # FDPassing *object, 1569s # GDBusMethodInvocation *invocation, 1569s # GUnixFDList *fd_list, 1569s # GVariant *arg_greeting, 1569s # const gchar *arg_greeting_locale); 1569s # 1569s # gboolean (*handle_no_annotation_nested) ( 1569s # FDPassing *object, 1569s # GDBusMethodInvocation *invocation, 1569s # GUnixFDList *fd_list, 1569s # GVariant *arg_files); 1569s # 1569s # }; 1569s # 1569s # GType fdpassing_get_type (void) G_GNUC_CONST; 1569s # 1569s # GDBusInterfaceInfo *fdpassing_interface_info (void); 1569s # guint fdpassing_override_properties (GObjectClass *klass, guint property_id_begin); 1569s # 1569s # 1569s # /* D-Bus method call completion functions: */ 1569s # void fdpassing_complete_hello_fd ( 1569s # FDPassing *object, 1569s # GDBusMethodInvocation *invocation, 1569s # GUnixFDList *fd_list, 1569s # const gchar *response); 1569s # 1569s # void fdpassing_complete_no_annotation ( 1569s # FDPassing *object, 1569s # GDBusMethodInvocation *invocation, 1569s # GUnixFDList *fd_list, 1569s # GVariant *response, 1569s # const gchar *response_locale); 1569s # 1569s # void fdpassing_complete_no_annotation_nested ( 1569s # FDPassing *object, 1569s # GDBusMethodInvocation *invocation, 1569s # GUnixFDList *fd_list); 1569s # 1569s # 1569s # 1569s # /* D-Bus method calls: */ 1569s # void fdpassing_call_hello_fd ( 1569s # FDPassing *proxy, 1569s # const gchar *arg_greeting, 1569s # GDBusCallFlags call_flags, 1569s # gint timeout_msec, 1569s # GUnixFDList *fd_list, 1569s # GCancellable *cancellable, 1569s # GAsyncReadyCallback callback, 1569s # gpointer user_data); 1569s # 1569s # gboolean fdpassing_call_hello_fd_finish ( 1569s # FDPassing *proxy, 1569s # gchar **out_response, 1569s # GUnixFDList **out_fd_list, 1569s # GAsyncResult *res, 1569s # GError **error); 1569s # 1569s # gboolean fdpassing_call_hello_fd_sync ( 1569s # FDPassing *proxy, 1569s # const gchar *arg_greeting, 1569s # GDBusCallFlags call_flags, 1569s # gint timeout_msec, 1569s # GUnixFDList *fd_list, 1569s # gchar **out_response, 1569s # GUnixFDList **out_fd_list, 1569s # GCancellable *cancellable, 1569s # GError **error); 1569s # 1569s # void fdpassing_call_no_annotation ( 1569s # FDPassing *proxy, 1569s # GVariant *arg_greeting, 1569s # const gchar *arg_greeting_locale, 1569s # GDBusCallFlags call_flags, 1569s # gint timeout_msec, 1569s # GUnixFDList *fd_list, 1569s # GCancellable *cancellable, 1569s # GAsyncReadyCallback callback, 1569s # gpointer user_data); 1569s # 1569s # gboolean fdpassing_call_no_annotation_finish ( 1569s # FDPassing *proxy, 1569s # GVariant **out_response, 1569s # gchar **out_response_locale, 1569s # GUnixFDList **out_fd_list, 1569s # GAsyncResult *res, 1569s # GError **error); 1569s # 1569s # gboolean fdpassing_call_no_annotation_sync ( 1569s # FDPassing *proxy, 1569s # GVariant *arg_greeting, 1569s # const gchar *arg_greeting_locale, 1569s # GDBusCallFlags call_flags, 1569s # gint timeout_msec, 1569s # GUnixFDList *fd_list, 1569s # GVariant **out_response, 1569s # gchar **out_response_locale, 1569s # GUnixFDList **out_fd_list, 1569s # GCancellable *cancellable, 1569s # GError **error); 1569s # 1569s # void fdpassing_call_no_annotation_nested ( 1569s # FDPassing *proxy, 1569s # GVariant *arg_files, 1569s # GDBusCallFlags call_flags, 1569s # gint timeout_msec, 1569s # GUnixFDList *fd_list, 1569s # GCancellable *cancellable, 1569s # GAsyncReadyCallback callback, 1569s # gpointer user_data); 1569s # 1569s # gboolean fdpassing_call_no_annotation_nested_finish ( 1569s # FDPassing *proxy, 1569s # GUnixFDList **out_fd_list, 1569s # GAsyncResult *res, 1569s # GError **error); 1569s # 1569s # gboolean fdpassing_call_no_annotation_nested_sync ( 1569s # FDPassing *proxy, 1569s # GVariant *arg_files, 1569s # GDBusCallFlags call_flags, 1569s # gint timeout_msec, 1569s # GUnixFDList *fd_list, 1569s # GUnixFDList **out_fd_list, 1569s # GCancellable *cancellable, 1569s # GError **error); 1569s # 1569s # 1569s # 1569s # /* ---- */ 1569s # 1569s # #define TYPE_FDPASSING_PROXY (fdpassing_proxy_get_type ()) 1569s # #define FDPASSING_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_FDPASSING_PROXY, FDPassingProxy)) 1569s # #define FDPASSING_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_FDPASSING_PROXY, FDPassingProxyClass)) 1569s # #define FDPASSING_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_FDPASSING_PROXY, FDPassingProxyClass)) 1569s # #define IS_FDPASSING_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_FDPASSING_PROXY)) 1569s # #define IS_FDPASSING_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_FDPASSING_PROXY)) 1569s # 1569s # typedef struct _FDPassingProxy FDPassingProxy; 1569s # typedef struct _FDPassingProxyClass FDPassingProxyClass; 1569s # typedef struct _FDPassingProxyPrivate FDPassingProxyPrivate; 1569s # 1569s # struct _FDPassingProxy 1569s # { 1569s # /*< private >*/ 1569s # GDBusProxy parent_instance; 1569s # FDPassingProxyPrivate *priv; 1569s # }; 1569s # 1569s # struct _FDPassingProxyClass 1569s # { 1569s # GDBusProxyClass parent_class; 1569s # }; 1569s # 1569s # GType fdpassing_proxy_get_type (void) G_GNUC_CONST; 1569s # 1569s # #if GLIB_CHECK_VERSION(2, 44, 0) 1569s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (FDPassingProxy, g_object_unref) 1569s # #endif 1569s # 1569s # void fdpassing_proxy_new ( 1569s # GDBusConnection *connection, 1569s # GDBusProxyFlags flags, 1569s # const gchar *name, 1569s # const gchar *object_path, 1569s # GCancellable *cancellable, 1569s # GAsyncReadyCallback callback, 1569s # gpointer user_data); 1569s # FDPassing *fdpassing_proxy_new_finish ( 1569s # GAsyncResult *res, 1569s # GError **error); 1569s # FDPassing *fdpassing_proxy_new_sync ( 1569s # GDBusConnection *connection, 1569s # GDBusProxyFlags flags, 1569s # const gchar *name, 1569s # const gchar *object_path, 1569s # GCancellable *cancellable, 1569s # GError **error); 1569s # 1569s # void fdpassing_proxy_new_for_bus ( 1569s # GBusType bus_type, 1569s # GDBusProxyFlags flags, 1569s # const gchar *name, 1569s # const gchar *object_path, 1569s # GCancellable *cancellable, 1569s # GAsyncReadyCallback callback, 1569s # gpointer user_data); 1569s # FDPassing *fdpassing_proxy_new_for_bus_finish ( 1569s # GAsyncResult *res, 1569s # GError **error); 1569s # FDPassing *fdpassing_proxy_new_for_bus_sync ( 1569s # GBusType bus_type, 1569s # GDBusProxyFlags flags, 1569s # const gchar *name, 1569s # const gchar *object_path, 1569s # GCancellable *cancellable, 1569s # GError **error); 1569s # 1569s # 1569s # /* ---- */ 1569s # 1569s # #define TYPE_FDPASSING_SKELETON (fdpassing_skeleton_get_type ()) 1569s # #define FDPASSING_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_FDPASSING_SKELETON, FDPassingSkeleton)) 1569s # #define FDPASSING_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_FDPASSING_SKELETON, FDPassingSkeletonClass)) 1569s # #define FDPASSING_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_FDPASSING_SKELETON, FDPassingSkeletonClass)) 1569s # #define IS_FDPASSING_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_FDPASSING_SKELETON)) 1569s # #define IS_FDPASSING_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_FDPASSING_SKELETON)) 1569s # 1569s # typedef struct _FDPassingSkeleton FDPassingSkeleton; 1569s # typedef struct _FDPassingSkeletonClass FDPassingSkeletonClass; 1569s # typedef struct _FDPassingSkeletonPrivate FDPassingSkeletonPrivate; 1569s # 1569s # struct _FDPassingSkeleton 1569s # { 1569s # /*< private >*/ 1569s # GDBusInterfaceSkeleton parent_instance; 1569s # FDPassingSkeletonPrivate *priv; 1569s # }; 1569s # 1569s # struct _FDPassingSkeletonClass 1569s # { 1569s # GDBusInterfaceSkeletonClass parent_class; 1569s # }; 1569s # 1569s # GType fdpassing_skeleton_get_type (void) G_GNUC_CONST; 1569s # 1569s # #if GLIB_CHECK_VERSION(2, 44, 0) 1569s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (FDPassingSkeleton, g_object_unref) 1569s # #endif 1569s # 1569s # FDPassing *fdpassing_skeleton_new (void); 1569s # 1569s # 1569s # G_END_DECLS 1569s # 1569s # #endif /* __STDOUT__ */ 1569s 1..39 1569s ok - glib/codegen.py.test 1569s # Running test: glib/gapplication.test 1569s TAP version 13 1569s # random seed: R02Sef3d01cd6ba3831b7b9ac82d2248ffd0 1569s 1..24 1569s # Start of gapplication tests 1569s ok 1 /gapplication/no-dbus 1569s ok 2 /gapplication/no-appid 1569s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1569s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1569s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1569s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1569s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1569s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1569s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1569s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1569s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1569s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1569s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1569s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1569s ok 3 /gapplication/properties 1569s ok 4 /gapplication/app-id 1569s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1569s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1569s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1569s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1569s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1569s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1569s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1569s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1569s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1569s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1569s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1569s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1569s ok 5 /gapplication/quit 1569s ok 6 /gapplication/registered 1569s ok 7 /gapplication/local-actions 1569s ok 8 /gapplication/local-command-line 1569s ok 9 /gapplication/resource-path 1569s ok 10 /gapplication/test-help 1569s ok 11 /gapplication/command-line-done 1569s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1569s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1569s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1569s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1569s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1569s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1569s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1569s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1569s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1569s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1569s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1569s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1569s ok 12 /gapplication/test-busy 1569s ok 13 /gapplication/test-handle-local-options1 1569s ok 14 /gapplication/test-handle-local-options2 1569s ok 15 /gapplication/test-handle-local-options3 1569s ok 16 /gapplication/api 1569s ok 17 /gapplication/version 1569s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1569s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1569s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1569s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1569s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1569s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1569s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1569s # launching subprocess 1569s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1569s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1569s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1569s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1569s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1569s ok 18 /gapplication/replace 1569s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1569s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1569s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1569s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1569s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1569s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1569s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1569s # launching subprocess 1570s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1570s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1570s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1570s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1570s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1570s ok 19 /gapplication/no-replace 1570s # slow test /gapplication/no-replace executed in 0.51 secs 1570s # Start of dbus tests 1570s # /gapplication/dbus/activate summary: Test that calling the Activate D-Bus method works 1570s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1570s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1570s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1570s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1570s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1570s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1570s # Message 0 1570s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1570s # Message 1 1570s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1570s # Message 2 1570s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1570s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1570s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1570s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1570s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1570s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1570s ok 20 /gapplication/dbus/activate 1570s # /gapplication/dbus/open summary: Test that calling the Open D-Bus method works 1570s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1570s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1570s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1570s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1570s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1570s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1570s # Message 0 1570s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1570s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 1570s # Message 1 1570s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1570s # Message 2 1570s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1570s # Message 3 1570s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1570s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1570s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1570s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1570s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1570s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1570s ok 21 /gapplication/dbus/open 1570s # /gapplication/dbus/command-line summary: Test that calling the CommandLine D-Bus method works 1570s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1570s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1570s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1570s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1570s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1570s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1570s # Message 0 1570s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1570s # Message 1 1570s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1570s # Message 2 1570s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1570s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1570s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1570s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1570s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1570s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1570s ok 22 /gapplication/dbus/command-line 1570s # /gapplication/dbus/command-line-done summary: Test that GDBusCommandLine.done() works 1570s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1570s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1570s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1570s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1570s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1570s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1570s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1570s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1570s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1570s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1570s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1570s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1570s ok 23 /gapplication/dbus/command-line-done 1570s # /gapplication/dbus/activate-action summary: Test that calling the ActivateAction D-Bus method works 1570s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1570s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1570s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1570s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1570s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1570s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1570s # Message 0 1570s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1570s # Message 1 1570s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1570s # Message 2 1570s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1570s # Message 3 1570s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1570s # Message 4 1570s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1570s # Message 5 1570s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1570s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1570s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1570s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1570s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1570s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1570s ok 24 /gapplication/dbus/activate-action 1570s # End of dbus tests 1570s # End of gapplication tests 1570s ok - glib/gapplication.test 1570s # Running test: glib/logging.test 1570s TAP version 13 1570s # random seed: R02Sc403bb4e2404d4d8c2a4f1050db8bc2c 1570s 1..17 1570s # Start of logging tests 1570s ok 1 /logging/default-handler 1570s ok 2 /logging/warnings 1570s ok 3 /logging/fatal-log-mask 1570s # bu-DEBUG: message 1570s # ba-DEBUG: message 1570s # ba-INFO: message 1570s ok 4 /logging/set-handler 1570s ok 5 /logging/print-handler 1570s ok 6 /logging/printerr-handler 1570s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=653052 1570s # The Log Message Handler 1570s # 1570s # The Good Fail Message Handler 1570s # 1570s ok 7 /logging/653052 1570s ok 8 /logging/gibberish 1570s # Start of default-handler tests 1570s # Start of subprocess tests 1570s # End of subprocess tests 1570s # End of default-handler tests 1570s # End of logging tests 1570s # Start of structured-logging tests 1570s ok 9 /structured-logging/no-state 1570s ok 10 /structured-logging/some-state 1570s ok 11 /structured-logging/robustness 1570s ok 12 /structured-logging/roundtrip1 1570s ok 13 /structured-logging/roundtrip2 1570s ok 14 /structured-logging/roundtrip3 1570s ok 15 /structured-logging/variant1 1570s ok 16 /structured-logging/variant2 1570s ok 17 /structured-logging/set-writer-func-twice 1570s # End of structured-logging tests 1570s ok - glib/logging.test 1570s # Running test: glib/application-command-line.test 1570s TAP version 13 1570s # random seed: R02S7ebebde4dc9547e00fc609ccc5804777 1570s 1..1 1570s # Start of application-command-line tests 1570s ok 1 /application-command-line/basic-properties 1570s # End of application-command-line tests 1570s ok - glib/application-command-line.test 1570s # Running test: glib/unicode.test 1570s TAP version 13 1570s # random seed: R02S600216e6d2195adfbfe364119d7f8da5 1570s 1..39 1570s # Start of unicode tests 1570s ok 1 /unicode/alnum 1570s ok 2 /unicode/alpha 1570s ok 3 /unicode/break-type 1570s ok 4 /unicode/canonical-decomposition 1570s ok 5 /unicode/casefold 1570s # Cannot set locale to lt_LT, skipping 1570s # Cannot set locale to lt_LT, skipping 1570s # Cannot set locale to lt_LT, skipping 1570s # Cannot set locale to lt_LT, skipping 1570s # Cannot set locale to lt_LT, skipping 1570s # Cannot set locale to lt_LT, skipping 1570s # Cannot set locale to lt_LT, skipping 1570s # Cannot set locale to lt_LT, skipping 1570s # Cannot set locale to lt_LT, skipping 1570s # Cannot set locale to lt_LT, skipping 1570s # Cannot set locale to lt_LT, skipping 1570s ok 6 /unicode/casemap_and_casefold 1570s ok 7 /unicode/cases 1570s ok 8 /unicode/character-type 1570s ok 9 /unicode/cntrl 1570s ok 10 /unicode/combining-class 1570s ok 11 /unicode/compose 1570s ok 12 /unicode/decompose 1570s ok 13 /unicode/decompose-tail 1570s ok 14 /unicode/defined 1570s ok 15 /unicode/digit 1570s ok 16 /unicode/digit-value 1570s ok 17 /unicode/fully-decompose-canonical 1570s ok 18 /unicode/fully-decompose-len 1570s ok 19 /unicode/normalization 1570s ok 20 /unicode/graph 1570s # Testing script Zyyy (code 1517910393) 1570s # Testing script Zinh (code 1516858984) 1570s # Testing script Zmth (code 1517122664) 1570s # Testing script Arab (code 1098015074) 1570s # Testing script Armn (code 1098018158) 1570s # Testing script Beng (code 1113943655) 1570s # Testing script Bopo (code 1114599535) 1570s # Testing script Cher (code 1130915186) 1570s # Testing script Copt (code 1131376756) 1570s # Testing script Cyrl (code 1132032620) 1570s # Testing script Dsrt (code 1148416628) 1570s # Testing script Deva (code 1147500129) 1570s # Testing script Ethi (code 1165256809) 1570s # Testing script Geor (code 1197830002) 1570s # Testing script Goth (code 1198486632) 1570s # Testing script Grek (code 1198679403) 1570s # Testing script Gujr (code 1198877298) 1570s # Testing script Guru (code 1198879349) 1570s # Testing script Hani (code 1214344809) 1570s # Testing script Hang (code 1214344807) 1570s # Testing script Hebr (code 1214603890) 1570s # Testing script Hira (code 1214870113) 1570s # Testing script Knda (code 1265525857) 1570s # Testing script Kana (code 1264676449) 1570s # Testing script Khmr (code 1265134962) 1570s # Testing script Laoo (code 1281453935) 1570s # Testing script Latn (code 1281455214) 1570s # Testing script Mlym (code 1298954605) 1570s # Testing script Mong (code 1299148391) 1570s # Testing script Mymr (code 1299803506) 1570s # Testing script Ogam (code 1332175213) 1570s # Testing script Ital (code 1232363884) 1570s # Testing script Orya (code 1332902241) 1570s # Testing script Runr (code 1383427698) 1570s # Testing script Sinh (code 1399418472) 1570s # Testing script Syrc (code 1400468067) 1570s # Testing script Taml (code 1415671148) 1570s # Testing script Telu (code 1415933045) 1570s # Testing script Thaa (code 1416126817) 1570s # Testing script Thai (code 1416126825) 1570s # Testing script Tibt (code 1416192628) 1570s # Testing script Cans (code 1130458739) 1570s # Testing script Yiii (code 1500080489) 1570s # Testing script Tglg (code 1416064103) 1570s # Testing script Hano (code 1214344815) 1570s # Testing script Buhd (code 1114990692) 1570s # Testing script Tagb (code 1415669602) 1570s # Testing script Brai (code 1114792297) 1570s # Testing script Cprt (code 1131442804) 1570s # Testing script Limb (code 1281977698) 1570s # Testing script Osma (code 1332964705) 1570s # Testing script Shaw (code 1399349623) 1570s # Testing script Linb (code 1281977954) 1570s # Testing script Tale (code 1415670885) 1570s # Testing script Ugar (code 1432838514) 1570s # Testing script Talu (code 1415670901) 1570s # Testing script Bugi (code 1114990441) 1570s # Testing script Glag (code 1198285159) 1570s # Testing script Tfng (code 1415999079) 1570s # Testing script Sylo (code 1400466543) 1570s # Testing script Xpeo (code 1483761007) 1570s # Testing script Khar (code 1265131890) 1570s # Testing script Zzzz (code 1517976186) 1570s # Testing script Bali (code 1113681001) 1570s # Testing script Xsux (code 1483961720) 1570s # Testing script Phnx (code 1349021304) 1570s # Testing script Phag (code 1349017959) 1570s # Testing script Nkoo (code 1315663727) 1570s # Testing script Kali (code 1264675945) 1570s # Testing script Lepc (code 1281716323) 1570s # Testing script Rjng (code 1382706791) 1570s # Testing script Sund (code 1400204900) 1570s # Testing script Saur (code 1398895986) 1570s # Testing script Cham (code 1130914157) 1570s # Testing script Olck (code 1332503403) 1570s # Testing script Vaii (code 1449224553) 1570s # Testing script Cari (code 1130459753) 1570s # Testing script Lyci (code 1283023721) 1570s # Testing script Lydi (code 1283023977) 1570s # Testing script Avst (code 1098281844) 1570s # Testing script Bamu (code 1113681269) 1570s # Testing script Egyp (code 1164409200) 1570s # Testing script Armi (code 1098018153) 1570s # Testing script Phli (code 1349020777) 1570s # Testing script Prti (code 1349678185) 1570s # Testing script Java (code 1247901281) 1570s # Testing script Kthi (code 1265920105) 1570s # Testing script Lisu (code 1281979253) 1570s # Testing script Mtei (code 1299473769) 1570s # Testing script Sarb (code 1398895202) 1570s # Testing script Orkh (code 1332898664) 1570s # Testing script Samr (code 1398893938) 1570s # Testing script Lana (code 1281453665) 1570s # Testing script Tavt (code 1415673460) 1570s # Testing script Batk (code 1113683051) 1570s # Testing script Brah (code 1114792296) 1570s # Testing script Mand (code 1298230884) 1570s # Testing script Cakm (code 1130457965) 1570s # Testing script Merc (code 1298494051) 1570s # Testing script Mero (code 1298494063) 1570s # Testing script Plrd (code 1349284452) 1570s # Testing script Shrd (code 1399353956) 1570s # Testing script Sora (code 1399812705) 1570s # Testing script Takr (code 1415670642) 1570s # Testing script Bass (code 1113682803) 1570s # Testing script Aghb (code 1097295970) 1570s # Testing script Dupl (code 1148547180) 1570s # Testing script Elba (code 1164730977) 1570s # Testing script Gran (code 1198678382) 1570s # Testing script Khoj (code 1265135466) 1570s # Testing script Sind (code 1399418468) 1570s # Testing script Lina (code 1281977953) 1570s # Testing script Mahj (code 1298229354) 1570s # Testing script Mani (code 1298230889) 1570s # Testing script Mend (code 1298493028) 1570s # Testing script Modi (code 1299145833) 1570s # Testing script Mroo (code 1299345263) 1570s # Testing script Nbat (code 1315070324) 1570s # Testing script Narb (code 1315009122) 1570s # Testing script Perm (code 1348825709) 1570s # Testing script Hmng (code 1215131239) 1570s # Testing script Palm (code 1348562029) 1570s # Testing script Pauc (code 1348564323) 1570s # Testing script Phlp (code 1349020784) 1570s # Testing script Sidd (code 1399415908) 1570s # Testing script Tirh (code 1416196712) 1570s # Testing script Wara (code 1466004065) 1570s # Testing script Ahom (code 1097363309) 1570s # Testing script Hluw (code 1215067511) 1570s # Testing script Hatr (code 1214346354) 1570s # Testing script Mult (code 1299541108) 1570s # Testing script Hung (code 1215655527) 1570s # Testing script Sgnw (code 1399287415) 1570s # Testing script Adlm (code 1097100397) 1570s # Testing script Bhks (code 1114139507) 1570s # Testing script Marc (code 1298231907) 1570s # Testing script Newa (code 1315272545) 1570s # Testing script Osge (code 1332963173) 1570s # Testing script Tang (code 1415671399) 1570s # Testing script Gonm (code 1198485101) 1570s # Testing script Nshu (code 1316186229) 1570s # Testing script Soyo (code 1399814511) 1570s # Testing script Zanb (code 1516334690) 1570s # Testing script Dogr (code 1148151666) 1570s # Testing script Gong (code 1198485095) 1570s # Testing script Rohg (code 1383032935) 1570s # Testing script Maka (code 1298230113) 1570s # Testing script Medf (code 1298490470) 1570s # Testing script Sogo (code 1399809903) 1570s # Testing script Sogd (code 1399809892) 1570s # Testing script Elym (code 1164736877) 1570s # Testing script Nand (code 1315008100) 1570s # Testing script Hmnp (code 1215131248) 1570s # Testing script Wcho (code 1466132591) 1570s # Testing script Chrs (code 1130918515) 1570s # Testing script Diak (code 1147756907) 1570s # Testing script Kits (code 1265202291) 1570s # Testing script Yezi (code 1499822697) 1570s # Testing script Cpmn (code 1131441518) 1570s # Testing script Ougr (code 1333094258) 1570s # Testing script Tnsa (code 1416524641) 1570s # Testing script Toto (code 1416590447) 1570s # Testing script Vith (code 1449751656) 1570s # Testing script Kawi (code 1264678761) 1570s # Testing script Nagm (code 1315006317) 1570s ok 21 /unicode/iso15924 1570s ok 22 /unicode/lower 1570s ok 23 /unicode/mark 1570s ok 24 /unicode/mirror 1570s ok 25 /unicode/print 1570s ok 26 /unicode/punctuation 1570s ok 27 /unicode/script 1570s ok 28 /unicode/space 1570s ok 29 /unicode/strdown 1570s ok 30 /unicode/strup 1570s ok 31 /unicode/turkish-strupdown 1570s ok 32 /unicode/title 1570s ok 33 /unicode/upper 1570s ok 34 /unicode/validate 1570s ok 35 /unicode/wide 1570s ok 36 /unicode/xdigit 1570s ok 37 /unicode/xdigit-value 1570s ok 38 /unicode/zero-width 1570s ok 39 /unicode/normalize 1570s # End of unicode tests 1570s ok - glib/unicode.test 1570s # Running test: glib/atomic-c-17.test 1570s TAP version 13 1570s # random seed: R02Sdd860630e7005717df43a625010b620f 1570s 1..2 1570s # Start of atomic tests 1570s ok 1 /atomic/types 1570s ok 2 /atomic/threaded 1570s # End of atomic tests 1570s ok - glib/atomic-c-17.test 1570s # Running test: glib/basic-signals.test 1570s TAP version 13 1570s # random seed: R02S9bbc5757dbe1f958b489b77b181deefe 1570s 1..1 1570s # Start of gobject tests 1570s ok 1 /gobject/basic-signals 1570s # End of gobject tests 1570s ok - glib/basic-signals.test 1570s # Running test: glib/slice.test 1570s TAP version 13 1570s # random seed: R02Sbeade96d560423e70e354bd6b88dc240 1570s 1..3 1570s # Start of slice tests 1570s ok 1 /slice/copy 1570s ok 2 /slice/chain 1570s ok 3 /slice/allocate 1570s # End of slice tests 1570s ok - glib/slice.test 1570s # Running test: glib/utf8-misc.test 1570s TAP version 13 1570s # random seed: R02S769a114eede7b9172ff5a9e049160c4d 1570s 1..7 1570s # Start of utf8 tests 1570s ok 1 /utf8/strlen 1570s ok 2 /utf8/strncpy 1570s ok 3 /utf8/strrchr 1570s ok 4 /utf8/reverse 1570s ok 5 /utf8/substring 1570s ok 6 /utf8/make-valid 1570s ok 7 /utf8/truncate-middle 1570s # End of utf8 tests 1570s ok - glib/utf8-misc.test 1570s # Running test: glib/sequence.test 1570s TAP version 13 1570s # random seed: R02Sbfeee77c368b12e15dd02a44f2dccee0 1570s 1..16 1570s # Start of sequence tests 1570s ok 1 /sequence/out-of-range-jump 1570s ok 2 /sequence/iter-move 1570s ok 3 /sequence/insert-sorted-non-pointer 1571s ok 4 /sequence/stable-sort 1571s ok 5 /sequence/is_empty 1571s # Start of random tests 1571s ok 6 /sequence/random/seed:825541564 1571s # slow test /sequence/random/seed:825541564 executed in 0.88 secs 1572s # Executing: glib/sequence.test 1572s ok 7 /sequence/random/seed:801678400 1572s # slow test /sequence/random/seed:801678400 executed in 0.84 secs 1573s ok 8 /sequence/random/seed:1477639090 1573s # slow test /sequence/random/seed:1477639090 executed in 0.73 secs 1574s ok 9 /sequence/random/seed:3369132895 1574s # slow test /sequence/random/seed:3369132895 executed in 0.77 secs 1575s ok 10 /sequence/random/seed:1192944867 1575s # slow test /sequence/random/seed:1192944867 executed in 0.78 secs 1575s ok 11 /sequence/random/seed:770458294 1575s # slow test /sequence/random/seed:770458294 executed in 0.81 secs 1576s ok 12 /sequence/random/seed:1099575817 1576s # slow test /sequence/random/seed:1099575817 executed in 0.79 secs 1577s # Executing: glib/sequence.test 1577s ok 13 /sequence/random/seed:590523467 1577s # slow test /sequence/random/seed:590523467 executed in 0.95 secs 1578s ok 14 /sequence/random/seed:3583571454 1578s # slow test /sequence/random/seed:3583571454 executed in 0.81 secs 1579s ok 15 /sequence/random/seed:579241222 1579s # slow test /sequence/random/seed:579241222 executed in 0.96 secs 1580s ok 16 /sequence/random/seed:1573304458 1580s # slow test /sequence/random/seed:1573304458 executed in 0.90 secs 1580s # End of random tests 1580s # End of sequence tests 1580s ok - glib/sequence.test 1580s # Running test: glib/type.test 1580s TAP version 13 1580s # random seed: R02Sbc0af09041c15d51cec733cc1106fe98 1580s 1..6 1580s # Start of type tests 1580s ok 1 /type/registration-serial 1580s ok 2 /type/interface-prerequisite 1580s ok 3 /type/interface-check 1580s ok 4 /type/next-base 1580s ok 5 /type/is-a 1580s # Invalid types can?t be queried. 1580s # Unclassed types can?t be queried. 1580s ok 6 /type/query 1580s # End of type tests 1580s ok - glib/type.test 1580s # Running test: glib/unix.test 1580s TAP version 13 1580s # random seed: R02S4bc2bb081098ce113a28a87a05518fdd 1580s 1..17 1580s # Start of glib-unix tests 1580s # /glib-unix/closefrom summary: Test g_closefrom(), g_fdwalk_set_cloexec() 1580s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3247 1580s ok 1 /glib-unix/closefrom 1580s ok 2 /glib-unix/pipe 1580s # /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 1580s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2795 1580s ok 3 /glib-unix/pipe-stdio-overwrite 1580s # /glib-unix/pipe-struct summary: Test GUnixPipe structure 1580s ok 4 /glib-unix/pipe-struct 1580s # /glib-unix/pipe-struct-auto summary: Test g_auto(GUnixPipe) 1580s ok 5 /glib-unix/pipe-struct-auto 1580s ok 6 /glib-unix/error 1580s ok 7 /glib-unix/nonblocking 1580s ok 8 /glib-unix/sighup 1580s # slow test /glib-unix/sighup executed in 0.50 secs 1581s ok 9 /glib-unix/sigterm 1581s # slow test /glib-unix/sigterm executed in 0.50 secs 1581s ok 10 /glib-unix/sighup_again 1581s # slow test /glib-unix/sighup_again executed in 0.50 secs 1581s ok 11 /glib-unix/sighup_add_remove 1581s ok 12 /glib-unix/sighup_nested 1582s # Executing: glib/unix.test 1583s ok 13 /glib-unix/callback_after_signal 1583s # slow test /glib-unix/callback_after_signal executed in 2.00 secs 1583s ok 14 /glib-unix/child-wait 1583s # Start of closefrom tests 1583s # Start of subprocess tests 1583s # End of subprocess tests 1583s # End of closefrom tests 1583s # Start of pipe tests 1583s # /glib-unix/pipe/fd-cloexec summary: Test that FD_CLOEXEC is still accepted as an argument to g_unix_open_pipe() 1583s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/merge_requests/3459 1583s # GLib-DEBUG: g_unix_open_pipe() called with FD_CLOEXEC; please migrate to using O_CLOEXEC instead 1583s ok 15 /glib-unix/pipe/fd-cloexec 1583s # End of pipe tests 1583s # Start of get-passwd-entry tests 1583s # /glib-unix/get-passwd-entry/root summary: Tests that g_unix_get_passwd_entry() works for a known-existing username. 1583s ok 16 /glib-unix/get-passwd-entry/root 1583s # /glib-unix/get-passwd-entry/nonexistent summary: Tests that g_unix_get_passwd_entry() returns an error for a nonexistent username. 1583s ok 17 /glib-unix/get-passwd-entry/nonexistent 1583s # End of get-passwd-entry tests 1583s # End of glib-unix tests 1583s ok - glib/unix.test 1583s # Running test: glib/g-file-info.test 1583s TAP version 13 1583s # random seed: R02S2764547cfccdd13c1b9afe2ad67a5227 1583s 1..6 1583s # Start of g-file-info tests 1583s ok 1 /g-file-info/test_g_file_info 1583s # /g-file-info/xattrs summary: Test setting and getting escaped xattrs 1583s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 1583s ok 2 /g-file-info/xattrs 1583s # /g-file-info/set-modified-date-time-precision summary: Test that g_file_info_set_modified_date_time() preserves microseconds 1583s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3116 1583s ok 3 /g-file-info/set-modified-date-time-precision 1583s # Start of test_g_file_info tests 1583s # /g-file-info/test_g_file_info/modification-time summary: Test that getting the modification time of a file works. 1583s ok 4 /g-file-info/test_g_file_info/modification-time 1583s # /g-file-info/test_g_file_info/access-time summary: Test that getting the access time of a file works. 1583s ok 5 /g-file-info/test_g_file_info/access-time 1583s # /g-file-info/test_g_file_info/creation-time summary: Test that getting the creation time of a file works. 1583s ok 6 /g-file-info/test_g_file_info/creation-time 1583s # End of test_g_file_info tests 1583s # End of g-file-info tests 1583s ok - glib/g-file-info.test 1583s # Running test: glib/fileutils.test 1583s TAP version 13 1583s # random seed: R02S01f80a82aed145f61b365c2a845dbb75 1583s 1..27 1583s # Start of fileutils tests 1583s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_4NDJK2/fileutils/paths/.dirs/home 1583s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_4NDJK2/fileutils/paths/.dirs/cache 1583s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_4NDJK2/fileutils/paths/.dirs/system-config1:/tmp/test_fileutils_4NDJK2/fileutils/paths/.dirs/system-config2 1583s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_4NDJK2/fileutils/paths/.dirs/config 1583s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_4NDJK2/fileutils/paths/.dirs/system-data1:/tmp/test_fileutils_4NDJK2/fileutils/paths/.dirs/system-data2 1583s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_4NDJK2/fileutils/paths/.dirs/data 1583s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_4NDJK2/fileutils/paths/.dirs/state 1583s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_4NDJK2/fileutils/paths/.dirs/runtime 1583s ok 1 /fileutils/paths 1583s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_4NDJK2/fileutils/build-path/.dirs/home 1583s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_4NDJK2/fileutils/build-path/.dirs/cache 1583s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_4NDJK2/fileutils/build-path/.dirs/system-config1:/tmp/test_fileutils_4NDJK2/fileutils/build-path/.dirs/system-config2 1583s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_4NDJK2/fileutils/build-path/.dirs/config 1583s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_4NDJK2/fileutils/build-path/.dirs/system-data1:/tmp/test_fileutils_4NDJK2/fileutils/build-path/.dirs/system-data2 1583s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_4NDJK2/fileutils/build-path/.dirs/data 1583s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_4NDJK2/fileutils/build-path/.dirs/state 1583s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_4NDJK2/fileutils/build-path/.dirs/runtime 1583s ok 2 /fileutils/build-path 1583s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_4NDJK2/fileutils/build-pathv/.dirs/home 1583s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_4NDJK2/fileutils/build-pathv/.dirs/cache 1583s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_4NDJK2/fileutils/build-pathv/.dirs/system-config1:/tmp/test_fileutils_4NDJK2/fileutils/build-pathv/.dirs/system-config2 1583s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_4NDJK2/fileutils/build-pathv/.dirs/config 1583s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_4NDJK2/fileutils/build-pathv/.dirs/system-data1:/tmp/test_fileutils_4NDJK2/fileutils/build-pathv/.dirs/system-data2 1583s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_4NDJK2/fileutils/build-pathv/.dirs/data 1583s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_4NDJK2/fileutils/build-pathv/.dirs/state 1583s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_4NDJK2/fileutils/build-pathv/.dirs/runtime 1583s ok 3 /fileutils/build-pathv 1583s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_4NDJK2/fileutils/build-filename/.dirs/home 1583s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_4NDJK2/fileutils/build-filename/.dirs/cache 1583s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_4NDJK2/fileutils/build-filename/.dirs/system-config1:/tmp/test_fileutils_4NDJK2/fileutils/build-filename/.dirs/system-config2 1583s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_4NDJK2/fileutils/build-filename/.dirs/config 1583s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_4NDJK2/fileutils/build-filename/.dirs/system-data1:/tmp/test_fileutils_4NDJK2/fileutils/build-filename/.dirs/system-data2 1583s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_4NDJK2/fileutils/build-filename/.dirs/data 1583s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_4NDJK2/fileutils/build-filename/.dirs/state 1583s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_4NDJK2/fileutils/build-filename/.dirs/runtime 1583s ok 4 /fileutils/build-filename 1583s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_4NDJK2/fileutils/build-filenamev/.dirs/home 1583s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_4NDJK2/fileutils/build-filenamev/.dirs/cache 1583s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_4NDJK2/fileutils/build-filenamev/.dirs/system-config1:/tmp/test_fileutils_4NDJK2/fileutils/build-filenamev/.dirs/system-config2 1583s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_4NDJK2/fileutils/build-filenamev/.dirs/config 1583s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_4NDJK2/fileutils/build-filenamev/.dirs/system-data1:/tmp/test_fileutils_4NDJK2/fileutils/build-filenamev/.dirs/system-data2 1583s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_4NDJK2/fileutils/build-filenamev/.dirs/data 1583s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_4NDJK2/fileutils/build-filenamev/.dirs/state 1583s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_4NDJK2/fileutils/build-filenamev/.dirs/runtime 1583s ok 5 /fileutils/build-filenamev 1583s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_4NDJK2/fileutils/mkdir-with-parents/.dirs/home 1583s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_4NDJK2/fileutils/mkdir-with-parents/.dirs/cache 1583s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_4NDJK2/fileutils/mkdir-with-parents/.dirs/system-config1:/tmp/test_fileutils_4NDJK2/fileutils/mkdir-with-parents/.dirs/system-config2 1583s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_4NDJK2/fileutils/mkdir-with-parents/.dirs/config 1583s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_4NDJK2/fileutils/mkdir-with-parents/.dirs/system-data1:/tmp/test_fileutils_4NDJK2/fileutils/mkdir-with-parents/.dirs/system-data2 1583s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_4NDJK2/fileutils/mkdir-with-parents/.dirs/data 1583s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_4NDJK2/fileutils/mkdir-with-parents/.dirs/state 1583s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_4NDJK2/fileutils/mkdir-with-parents/.dirs/runtime 1583s # We do not have CAP_DAC_OVERRIDE or equivalent 1583s ok 6 /fileutils/mkdir-with-parents 1583s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_4NDJK2/fileutils/mkdir-with-parents-permission/.dirs/home 1583s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_4NDJK2/fileutils/mkdir-with-parents-permission/.dirs/cache 1583s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_4NDJK2/fileutils/mkdir-with-parents-permission/.dirs/system-config1:/tmp/test_fileutils_4NDJK2/fileutils/mkdir-with-parents-permission/.dirs/system-config2 1583s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_4NDJK2/fileutils/mkdir-with-parents-permission/.dirs/config 1583s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_4NDJK2/fileutils/mkdir-with-parents-permission/.dirs/system-data1:/tmp/test_fileutils_4NDJK2/fileutils/mkdir-with-parents-permission/.dirs/system-data2 1583s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_4NDJK2/fileutils/mkdir-with-parents-permission/.dirs/data 1583s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_4NDJK2/fileutils/mkdir-with-parents-permission/.dirs/state 1583s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_4NDJK2/fileutils/mkdir-with-parents-permission/.dirs/runtime 1583s # We do not have CAP_DAC_OVERRIDE or equivalent 1583s ok 7 /fileutils/mkdir-with-parents-permission 1583s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_4NDJK2/fileutils/format-size-for-display/.dirs/home 1583s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_4NDJK2/fileutils/format-size-for-display/.dirs/cache 1583s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_4NDJK2/fileutils/format-size-for-display/.dirs/system-config1:/tmp/test_fileutils_4NDJK2/fileutils/format-size-for-display/.dirs/system-config2 1583s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_4NDJK2/fileutils/format-size-for-display/.dirs/config 1583s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_4NDJK2/fileutils/format-size-for-display/.dirs/system-data1:/tmp/test_fileutils_4NDJK2/fileutils/format-size-for-display/.dirs/system-data2 1583s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_4NDJK2/fileutils/format-size-for-display/.dirs/data 1583s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_4NDJK2/fileutils/format-size-for-display/.dirs/state 1583s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_4NDJK2/fileutils/format-size-for-display/.dirs/runtime 1583s ok 8 /fileutils/format-size-for-display 1583s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_4NDJK2/fileutils/errors/.dirs/home 1583s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_4NDJK2/fileutils/errors/.dirs/cache 1583s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_4NDJK2/fileutils/errors/.dirs/system-config1:/tmp/test_fileutils_4NDJK2/fileutils/errors/.dirs/system-config2 1583s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_4NDJK2/fileutils/errors/.dirs/config 1583s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_4NDJK2/fileutils/errors/.dirs/system-data1:/tmp/test_fileutils_4NDJK2/fileutils/errors/.dirs/system-data2 1583s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_4NDJK2/fileutils/errors/.dirs/data 1583s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_4NDJK2/fileutils/errors/.dirs/state 1583s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_4NDJK2/fileutils/errors/.dirs/runtime 1583s ok 9 /fileutils/errors 1583s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_4NDJK2/fileutils/basename/.dirs/home 1583s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_4NDJK2/fileutils/basename/.dirs/cache 1583s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_4NDJK2/fileutils/basename/.dirs/system-config1:/tmp/test_fileutils_4NDJK2/fileutils/basename/.dirs/system-config2 1583s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_4NDJK2/fileutils/basename/.dirs/config 1583s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_4NDJK2/fileutils/basename/.dirs/system-data1:/tmp/test_fileutils_4NDJK2/fileutils/basename/.dirs/system-data2 1583s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_4NDJK2/fileutils/basename/.dirs/data 1583s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_4NDJK2/fileutils/basename/.dirs/state 1583s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_4NDJK2/fileutils/basename/.dirs/runtime 1583s ok 10 /fileutils/basename 1583s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_4NDJK2/fileutils/get-basename/.dirs/home 1583s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_4NDJK2/fileutils/get-basename/.dirs/cache 1583s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_4NDJK2/fileutils/get-basename/.dirs/system-config1:/tmp/test_fileutils_4NDJK2/fileutils/get-basename/.dirs/system-config2 1583s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_4NDJK2/fileutils/get-basename/.dirs/config 1583s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_4NDJK2/fileutils/get-basename/.dirs/system-data1:/tmp/test_fileutils_4NDJK2/fileutils/get-basename/.dirs/system-data2 1583s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_4NDJK2/fileutils/get-basename/.dirs/data 1583s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_4NDJK2/fileutils/get-basename/.dirs/state 1583s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_4NDJK2/fileutils/get-basename/.dirs/runtime 1583s ok 11 /fileutils/get-basename 1583s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_4NDJK2/fileutils/dirname/.dirs/home 1583s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_4NDJK2/fileutils/dirname/.dirs/cache 1583s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_4NDJK2/fileutils/dirname/.dirs/system-config1:/tmp/test_fileutils_4NDJK2/fileutils/dirname/.dirs/system-config2 1583s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_4NDJK2/fileutils/dirname/.dirs/config 1583s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_4NDJK2/fileutils/dirname/.dirs/system-data1:/tmp/test_fileutils_4NDJK2/fileutils/dirname/.dirs/system-data2 1583s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_4NDJK2/fileutils/dirname/.dirs/data 1583s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_4NDJK2/fileutils/dirname/.dirs/state 1583s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_4NDJK2/fileutils/dirname/.dirs/runtime 1583s ok 12 /fileutils/dirname 1583s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_4NDJK2/fileutils/dir-make-tmp/.dirs/home 1583s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_4NDJK2/fileutils/dir-make-tmp/.dirs/cache 1583s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_4NDJK2/fileutils/dir-make-tmp/.dirs/system-config1:/tmp/test_fileutils_4NDJK2/fileutils/dir-make-tmp/.dirs/system-config2 1583s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_4NDJK2/fileutils/dir-make-tmp/.dirs/config 1583s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_4NDJK2/fileutils/dir-make-tmp/.dirs/system-data1:/tmp/test_fileutils_4NDJK2/fileutils/dir-make-tmp/.dirs/system-data2 1583s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_4NDJK2/fileutils/dir-make-tmp/.dirs/data 1583s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_4NDJK2/fileutils/dir-make-tmp/.dirs/state 1583s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_4NDJK2/fileutils/dir-make-tmp/.dirs/runtime 1583s ok 13 /fileutils/dir-make-tmp 1583s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_4NDJK2/fileutils/file-open-tmp/.dirs/home 1583s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_4NDJK2/fileutils/file-open-tmp/.dirs/cache 1583s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_4NDJK2/fileutils/file-open-tmp/.dirs/system-config1:/tmp/test_fileutils_4NDJK2/fileutils/file-open-tmp/.dirs/system-config2 1583s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_4NDJK2/fileutils/file-open-tmp/.dirs/config 1583s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_4NDJK2/fileutils/file-open-tmp/.dirs/system-data1:/tmp/test_fileutils_4NDJK2/fileutils/file-open-tmp/.dirs/system-data2 1583s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_4NDJK2/fileutils/file-open-tmp/.dirs/data 1583s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_4NDJK2/fileutils/file-open-tmp/.dirs/state 1583s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_4NDJK2/fileutils/file-open-tmp/.dirs/runtime 1583s ok 14 /fileutils/file-open-tmp 1583s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_4NDJK2/fileutils/file-test/.dirs/home 1583s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_4NDJK2/fileutils/file-test/.dirs/cache 1583s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_4NDJK2/fileutils/file-test/.dirs/system-config1:/tmp/test_fileutils_4NDJK2/fileutils/file-test/.dirs/system-config2 1583s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_4NDJK2/fileutils/file-test/.dirs/config 1583s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_4NDJK2/fileutils/file-test/.dirs/system-data1:/tmp/test_fileutils_4NDJK2/fileutils/file-test/.dirs/system-data2 1583s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_4NDJK2/fileutils/file-test/.dirs/data 1583s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_4NDJK2/fileutils/file-test/.dirs/state 1583s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_4NDJK2/fileutils/file-test/.dirs/runtime 1583s ok 15 /fileutils/file-test 1583s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_4NDJK2/fileutils/mkstemp/.dirs/home 1583s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_4NDJK2/fileutils/mkstemp/.dirs/cache 1583s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_4NDJK2/fileutils/mkstemp/.dirs/system-config1:/tmp/test_fileutils_4NDJK2/fileutils/mkstemp/.dirs/system-config2 1583s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_4NDJK2/fileutils/mkstemp/.dirs/config 1583s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_4NDJK2/fileutils/mkstemp/.dirs/system-data1:/tmp/test_fileutils_4NDJK2/fileutils/mkstemp/.dirs/system-data2 1583s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_4NDJK2/fileutils/mkstemp/.dirs/data 1583s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_4NDJK2/fileutils/mkstemp/.dirs/state 1583s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_4NDJK2/fileutils/mkstemp/.dirs/runtime 1583s ok 16 /fileutils/mkstemp 1583s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_4NDJK2/fileutils/mkdtemp/.dirs/home 1583s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_4NDJK2/fileutils/mkdtemp/.dirs/cache 1583s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_4NDJK2/fileutils/mkdtemp/.dirs/system-config1:/tmp/test_fileutils_4NDJK2/fileutils/mkdtemp/.dirs/system-config2 1583s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_4NDJK2/fileutils/mkdtemp/.dirs/config 1583s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_4NDJK2/fileutils/mkdtemp/.dirs/system-data1:/tmp/test_fileutils_4NDJK2/fileutils/mkdtemp/.dirs/system-data2 1583s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_4NDJK2/fileutils/mkdtemp/.dirs/data 1583s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_4NDJK2/fileutils/mkdtemp/.dirs/state 1583s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_4NDJK2/fileutils/mkdtemp/.dirs/runtime 1583s ok 17 /fileutils/mkdtemp 1583s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_4NDJK2/fileutils/get-contents/.dirs/home 1583s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_4NDJK2/fileutils/get-contents/.dirs/cache 1583s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_4NDJK2/fileutils/get-contents/.dirs/system-config1:/tmp/test_fileutils_4NDJK2/fileutils/get-contents/.dirs/system-config2 1583s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_4NDJK2/fileutils/get-contents/.dirs/config 1583s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_4NDJK2/fileutils/get-contents/.dirs/system-data1:/tmp/test_fileutils_4NDJK2/fileutils/get-contents/.dirs/system-data2 1583s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_4NDJK2/fileutils/get-contents/.dirs/data 1583s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_4NDJK2/fileutils/get-contents/.dirs/state 1583s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_4NDJK2/fileutils/get-contents/.dirs/runtime 1583s ok 18 /fileutils/get-contents 1583s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_4NDJK2/fileutils/get-contents-large-file/.dirs/home 1583s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_4NDJK2/fileutils/get-contents-large-file/.dirs/cache 1583s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_4NDJK2/fileutils/get-contents-large-file/.dirs/system-config1:/tmp/test_fileutils_4NDJK2/fileutils/get-contents-large-file/.dirs/system-config2 1583s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_4NDJK2/fileutils/get-contents-large-file/.dirs/config 1583s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_4NDJK2/fileutils/get-contents-large-file/.dirs/system-data1:/tmp/test_fileutils_4NDJK2/fileutils/get-contents-large-file/.dirs/system-data2 1583s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_4NDJK2/fileutils/get-contents-large-file/.dirs/data 1583s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_4NDJK2/fileutils/get-contents-large-file/.dirs/state 1583s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_4NDJK2/fileutils/get-contents-large-file/.dirs/runtime 1583s ok 19 /fileutils/get-contents-large-file # SKIP Skipping slow largefile test 1583s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_4NDJK2/fileutils/set-contents/.dirs/home 1583s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_4NDJK2/fileutils/set-contents/.dirs/cache 1583s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_4NDJK2/fileutils/set-contents/.dirs/system-config1:/tmp/test_fileutils_4NDJK2/fileutils/set-contents/.dirs/system-config2 1583s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_4NDJK2/fileutils/set-contents/.dirs/config 1583s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_4NDJK2/fileutils/set-contents/.dirs/system-data1:/tmp/test_fileutils_4NDJK2/fileutils/set-contents/.dirs/system-data2 1583s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_4NDJK2/fileutils/set-contents/.dirs/data 1583s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_4NDJK2/fileutils/set-contents/.dirs/state 1583s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_4NDJK2/fileutils/set-contents/.dirs/runtime 1583s ok 20 /fileutils/set-contents 1583s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_4NDJK2/fileutils/set-contents-full/.dirs/home 1583s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_4NDJK2/fileutils/set-contents-full/.dirs/cache 1583s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_4NDJK2/fileutils/set-contents-full/.dirs/system-config1:/tmp/test_fileutils_4NDJK2/fileutils/set-contents-full/.dirs/system-config2 1583s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_4NDJK2/fileutils/set-contents-full/.dirs/config 1583s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_4NDJK2/fileutils/set-contents-full/.dirs/system-data1:/tmp/test_fileutils_4NDJK2/fileutils/set-contents-full/.dirs/system-data2 1583s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_4NDJK2/fileutils/set-contents-full/.dirs/data 1583s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_4NDJK2/fileutils/set-contents-full/.dirs/state 1583s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_4NDJK2/fileutils/set-contents-full/.dirs/runtime 1583s # /fileutils/set-contents-full summary: Test g_file_set_contents_full() with various flags 1583s # Flags 0 and test 0 1583s # Flags 0 and test 1 1583s # Flags 0 and test 2 1583s # Flags 0 and test 3 1583s # Flags 0 and test 4 1583s # Flags 0 and test 5 1583s # Flags 1 and test 0 1583s # Flags 1 and test 1 1583s # Flags 1 and test 2 1583s # Flags 1 and test 3 1583s # Flags 1 and test 4 1583s # Flags 1 and test 5 1583s # Flags 2 and test 0 1583s # Flags 2 and test 1 1583s # Flags 2 and test 2 1583s # Flags 2 and test 3 1583s # Flags 2 and test 4 1583s # Flags 2 and test 5 1583s # Flags 3 and test 0 1583s # Flags 3 and test 1 1583s # Flags 3 and test 2 1583s # Flags 3 and test 3 1583s # Flags 3 and test 4 1583s # Flags 3 and test 5 1583s # Flags 4 and test 0 1583s # Flags 4 and test 1 1583s # Flags 4 and test 2 1583s # Flags 4 and test 3 1583s # Flags 4 and test 4 1583s # Flags 4 and test 5 1583s # Flags 5 and test 0 1583s # Flags 5 and test 1 1583s # Flags 5 and test 2 1583s # Flags 5 and test 3 1583s # Flags 5 and test 4 1583s # Flags 5 and test 5 1583s # Flags 6 and test 0 1583s # Flags 6 and test 1 1583s # Flags 6 and test 2 1583s # Flags 6 and test 3 1583s # Flags 6 and test 4 1583s # Flags 6 and test 5 1583s ok 21 /fileutils/set-contents-full 1583s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_4NDJK2/fileutils/read-link/.dirs/home 1583s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_4NDJK2/fileutils/read-link/.dirs/cache 1583s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_4NDJK2/fileutils/read-link/.dirs/system-config1:/tmp/test_fileutils_4NDJK2/fileutils/read-link/.dirs/system-config2 1583s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_4NDJK2/fileutils/read-link/.dirs/config 1583s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_4NDJK2/fileutils/read-link/.dirs/system-data1:/tmp/test_fileutils_4NDJK2/fileutils/read-link/.dirs/system-data2 1583s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_4NDJK2/fileutils/read-link/.dirs/data 1583s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_4NDJK2/fileutils/read-link/.dirs/state 1583s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_4NDJK2/fileutils/read-link/.dirs/runtime 1583s ok 22 /fileutils/read-link 1583s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_4NDJK2/fileutils/stdio-wrappers/.dirs/home 1583s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_4NDJK2/fileutils/stdio-wrappers/.dirs/cache 1583s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_4NDJK2/fileutils/stdio-wrappers/.dirs/system-config1:/tmp/test_fileutils_4NDJK2/fileutils/stdio-wrappers/.dirs/system-config2 1583s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_4NDJK2/fileutils/stdio-wrappers/.dirs/config 1583s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_4NDJK2/fileutils/stdio-wrappers/.dirs/system-data1:/tmp/test_fileutils_4NDJK2/fileutils/stdio-wrappers/.dirs/system-data2 1583s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_4NDJK2/fileutils/stdio-wrappers/.dirs/data 1583s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_4NDJK2/fileutils/stdio-wrappers/.dirs/state 1583s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_4NDJK2/fileutils/stdio-wrappers/.dirs/runtime 1583s # We do not have CAP_DAC_OVERRIDE or equivalent 1583s ok 23 /fileutils/stdio-wrappers 1583s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_4NDJK2/fileutils/fopen-modes/.dirs/home 1583s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_4NDJK2/fileutils/fopen-modes/.dirs/cache 1583s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_4NDJK2/fileutils/fopen-modes/.dirs/system-config1:/tmp/test_fileutils_4NDJK2/fileutils/fopen-modes/.dirs/system-config2 1583s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_4NDJK2/fileutils/fopen-modes/.dirs/config 1583s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_4NDJK2/fileutils/fopen-modes/.dirs/system-data1:/tmp/test_fileutils_4NDJK2/fileutils/fopen-modes/.dirs/system-data2 1583s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_4NDJK2/fileutils/fopen-modes/.dirs/data 1583s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_4NDJK2/fileutils/fopen-modes/.dirs/state 1583s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_4NDJK2/fileutils/fopen-modes/.dirs/runtime 1583s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/119 1583s # Testing fopen() mode 'w' 1583s # Testing fopen() mode 'r' 1583s # Testing fopen() mode 'a' 1583s # Testing fopen() mode 'w+' 1583s # Testing fopen() mode 'r+' 1583s # Testing fopen() mode 'a+' 1583s # Testing fopen() mode 'wb' 1583s # Testing fopen() mode 'rb' 1583s # Testing fopen() mode 'ab' 1583s # Testing fopen() mode 'w+b' 1583s # Testing fopen() mode 'r+b' 1583s # Testing fopen() mode 'a+b' 1583s # Testing fopen() mode 'wb+' 1583s # Testing fopen() mode 'rb+' 1583s # Testing fopen() mode 'ab+' 1583s ok 24 /fileutils/fopen-modes 1583s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_4NDJK2/fileutils/clear-fd/.dirs/home 1583s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_4NDJK2/fileutils/clear-fd/.dirs/cache 1583s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_4NDJK2/fileutils/clear-fd/.dirs/system-config1:/tmp/test_fileutils_4NDJK2/fileutils/clear-fd/.dirs/system-config2 1583s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_4NDJK2/fileutils/clear-fd/.dirs/config 1583s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_4NDJK2/fileutils/clear-fd/.dirs/system-data1:/tmp/test_fileutils_4NDJK2/fileutils/clear-fd/.dirs/system-data2 1583s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_4NDJK2/fileutils/clear-fd/.dirs/data 1583s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_4NDJK2/fileutils/clear-fd/.dirs/state 1583s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_4NDJK2/fileutils/clear-fd/.dirs/runtime 1583s # /fileutils/clear-fd summary: Test g_clear_fd() and g_autofd 1583s # Will be closed by autocleanup: 3, -42 1583s # Testing error handling 1583s ok 25 /fileutils/clear-fd 1583s # Start of set-contents-full tests 1583s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_4NDJK2/fileutils/set-contents-full/read-only-file/.dirs/home 1583s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_4NDJK2/fileutils/set-contents-full/read-only-file/.dirs/cache 1583s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_4NDJK2/fileutils/set-contents-full/read-only-file/.dirs/system-config1:/tmp/test_fileutils_4NDJK2/fileutils/set-contents-full/read-only-file/.dirs/system-config2 1583s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_4NDJK2/fileutils/set-contents-full/read-only-file/.dirs/config 1583s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_4NDJK2/fileutils/set-contents-full/read-only-file/.dirs/system-data1:/tmp/test_fileutils_4NDJK2/fileutils/set-contents-full/read-only-file/.dirs/system-data2 1583s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_4NDJK2/fileutils/set-contents-full/read-only-file/.dirs/data 1583s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_4NDJK2/fileutils/set-contents-full/read-only-file/.dirs/state 1583s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_4NDJK2/fileutils/set-contents-full/read-only-file/.dirs/runtime 1583s # We do not have CAP_DAC_OVERRIDE or equivalent 1583s # /fileutils/set-contents-full/read-only-file summary: Test g_file_set_contents_full() on a read-only file 1583s ok 26 /fileutils/set-contents-full/read-only-file 1583s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_4NDJK2/fileutils/set-contents-full/read-only-directory/.dirs/home 1583s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_4NDJK2/fileutils/set-contents-full/read-only-directory/.dirs/cache 1583s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_4NDJK2/fileutils/set-contents-full/read-only-directory/.dirs/system-config1:/tmp/test_fileutils_4NDJK2/fileutils/set-contents-full/read-only-directory/.dirs/system-config2 1583s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_4NDJK2/fileutils/set-contents-full/read-only-directory/.dirs/config 1583s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_4NDJK2/fileutils/set-contents-full/read-only-directory/.dirs/system-data1:/tmp/test_fileutils_4NDJK2/fileutils/set-contents-full/read-only-directory/.dirs/system-data2 1583s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_4NDJK2/fileutils/set-contents-full/read-only-directory/.dirs/data 1583s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_4NDJK2/fileutils/set-contents-full/read-only-directory/.dirs/state 1583s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_4NDJK2/fileutils/set-contents-full/read-only-directory/.dirs/runtime 1583s # /fileutils/set-contents-full/read-only-directory summary: Test g_file_set_contents_full() on a file in a read-only directory 1583s # Flags 0 1583s # We do not have CAP_DAC_OVERRIDE or equivalent 1583s # Flags 1 1583s # We do not have CAP_DAC_OVERRIDE or equivalent 1583s # Flags 2 1583s # We do not have CAP_DAC_OVERRIDE or equivalent 1583s # Flags 3 1583s # We do not have CAP_DAC_OVERRIDE or equivalent 1583s # Flags 4 1583s # We do not have CAP_DAC_OVERRIDE or equivalent 1583s # Flags 5 1583s # We do not have CAP_DAC_OVERRIDE or equivalent 1583s # Flags 6 1583s # We do not have CAP_DAC_OVERRIDE or equivalent 1583s ok 27 /fileutils/set-contents-full/read-only-directory 1583s # End of set-contents-full tests 1583s # Start of clear-fd tests 1583s # Start of subprocess tests 1583s # End of subprocess tests 1583s # End of clear-fd tests 1583s # End of fileutils tests 1583s ok - glib/fileutils.test 1583s # Running test: glib/signals-refcount4.test 1583s TAP version 13 1583s # random seed: R02S9001c1859356aa41a077febce2d9d9e7 1583s 1..1 1583s # Start of gobject tests 1583s # Start of refcount tests 1583s # init 0x2aa3beeb2f0 1583s # 1583s # init 0x2aa3beeb490 1583s # 1587s # Executing: glib/signals-refcount4.test 1588s # dispose 0x2aa3beeb2f0! 1588s # 1588s # dispose 0x2aa3beeb490! 1588s # 1588s ok 1 /gobject/refcount/signals 1588s # slow test /gobject/refcount/signals executed in 5.01 secs 1588s # End of refcount tests 1588s # End of gobject tests 1588s ok - glib/signals-refcount4.test 1588s # Running test: glib/mem-overflow.test 1588s TAP version 13 1588s # random seed: R02S29be8e3a07a1344898acf8b7aa09b858 1588s 1..2 1588s # Start of mem tests 1588s ok 1 /mem/overflow 1588s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=615379 1588s ok 2 /mem/empty-alloc 1589s # Start of overflow tests 1589s # Start of subprocess tests 1589s # End of subprocess tests 1589s # End of overflow tests 1589s # Start of empty-alloc tests 1589s # End of empty-alloc tests 1589s # End of mem tests 1589s ok - glib/mem-overflow.test 1589s # Running test: glib/scannerapi.test 1589s TAP version 13 1589s # random seed: R02Sb26bed0ed7bac50a8d3937578db544c2 1589s 1..4 1589s # Start of scanner tests 1589s ok 1 /scanner/warn 1589s ok 2 /scanner/error 1589s ok 3 /scanner/symbols 1589s ok 4 /scanner/tokens 1589s # End of scanner tests 1589s ok - glib/scannerapi.test 1589s # Running test: glib/thread-pool.test 1589s TAP version 13 1589s # random seed: R02Sb0fefa8fdcaca822040db369c9adc4a8 1589s 1..5 1589s # Start of thread_pool tests 1589s # /thread_pool/shared summary: Tests that a shared, non-exclusive thread pool generally works. 1589s ok 1 /thread_pool/shared 1589s # /thread_pool/exclusive summary: Tests that an exclusive thread pool generally works. 1589s ok 2 /thread_pool/exclusive 1589s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/2012 1589s # /thread_pool/create_shared_after_exclusive summary: Tests that creating a shared pool after an exclusive one works. 1589s ok 3 /thread_pool/create_shared_after_exclusive 1589s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/121 1589s ok 4 /thread_pool/create_full 1589s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/2012 1589s # /thread_pool/create_exclusive_after_shared summary: Tests that creating an exclusive pool after a shared one works. 1589s ok 5 /thread_pool/create_exclusive_after_shared 1589s # End of thread_pool tests 1589s ok - glib/thread-pool.test 1589s # Running test: glib/mainloop.test 1589s TAP version 13 1589s # random seed: R02Sfef0445bbd180ea59516cb66fe2d586b 1589s 1..45 1589s # Start of maincontext tests 1589s ok 1 /maincontext/basic 1589s # Add same-priority sources: 21 1589s # Find each source: 4 1589s # Remove in random order: 18 1589s ok 2 /maincontext/nsources_same_priority 1589s # Add different-priority sources: 19 1589s # Find each source: 4 1589s # Remove in random order: 29 1589s ok 3 /maincontext/nsources_different_priority 1589s # Add sources from threads: 49 1589s # Remove sources from threads: 93 1589s ok 4 /maincontext/nsources_threadpool 1589s ok 5 /maincontext/source_finalization 1589s # /maincontext/idle-once summary: Test g_idle_add_once() works 1589s ok 6 /maincontext/idle-once 1589s # /maincontext/timeout-once summary: Test g_timeout_add_once() works 1589s ok 7 /maincontext/timeout-once 1589s # Start of source_finalization_from_source tests 1589s # /maincontext/source_finalization_from_source/0 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1589s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1589s ok 8 /maincontext/source_finalization_from_source/0 1589s # /maincontext/source_finalization_from_source/1 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1589s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1589s ok 9 /maincontext/source_finalization_from_source/1 1589s # /maincontext/source_finalization_from_source/2 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1589s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1589s ok 10 /maincontext/source_finalization_from_source/2 1589s # /maincontext/source_finalization_from_source/3 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1589s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1589s ok 11 /maincontext/source_finalization_from_source/3 1589s # /maincontext/source_finalization_from_source/4 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1589s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1589s ok 12 /maincontext/source_finalization_from_source/4 1589s # /maincontext/source_finalization_from_source/5 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1589s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1589s ok 13 /maincontext/source_finalization_from_source/5 1589s # /maincontext/source_finalization_from_source/6 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1589s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1589s ok 14 /maincontext/source_finalization_from_source/6 1589s # /maincontext/source_finalization_from_source/7 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1589s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1589s ok 15 /maincontext/source_finalization_from_source/7 1589s # /maincontext/source_finalization_from_source/8 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1589s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1589s ok 16 /maincontext/source_finalization_from_source/8 1589s # /maincontext/source_finalization_from_source/9 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1589s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1589s ok 17 /maincontext/source_finalization_from_source/9 1589s # End of source_finalization_from_source tests 1589s # Start of source_finalization_from_dispatch tests 1589s # /maincontext/source_finalization_from_dispatch/0 summary: Tests if freeing a GSource as part of another GSource during main context iteration works. 1589s ok 18 /maincontext/source_finalization_from_dispatch/0 1589s # /maincontext/source_finalization_from_dispatch/1 summary: Tests if freeing a GSource as part of another GSource during main context iteration works. 1589s ok 19 /maincontext/source_finalization_from_dispatch/1 1589s # /maincontext/source_finalization_from_dispatch/2 summary: Tests if freeing a GSource as part of another GSource during main context iteration works. 1589s ok 20 /maincontext/source_finalization_from_dispatch/2 1589s # End of source_finalization_from_dispatch tests 1589s # End of maincontext tests 1589s # Start of mainloop tests 1589s ok 21 /mainloop/basic 1589s ok 22 /mainloop/timeouts # SKIP Not running timing heavy test 1589s ok 23 /mainloop/priorities 1589s ok 24 /mainloop/invoke 1589s # slow test /mainloop/invoke executed in 0.50 secs 1591s ok 25 /mainloop/child_sources 1591s # slow test /mainloop/child_sources executed in 1.21 secs 1592s # Executing: glib/mainloop.test 1593s ok 26 /mainloop/recursive_child_sources 1593s # slow test /mainloop/recursive_child_sources executed in 2.21 secs 1593s ok 27 /mainloop/recursive_loop_child_sources 1593s ok 28 /mainloop/swapping_child_sources 1593s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=701283 1593s ok 29 /mainloop/blocked_child_sources 1594s ok 30 /mainloop/source_time 1594s # slow test /mainloop/source_time executed in 1.00 secs 1594s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=687098 1594s ok 31 /mainloop/overflow 1594s ok 32 /mainloop/ready-time 1594s # slow test /mainloop/ready-time executed in 0.51 secs 1594s ok 33 /mainloop/wakeup 1594s ok 34 /mainloop/remove-invalid 1594s ok 35 /mainloop/unref-while-pending 1595s ok 36 /mainloop/unix-fd 1595s # slow test /mainloop/unix-fd executed in 0.60 secs 1595s ok 37 /mainloop/unix-fd-source 1595s ok 38 /mainloop/source-unix-fd-api 1595s ok 39 /mainloop/wait 1595s ok 40 /mainloop/unix-file-poll 1595s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/1592 1595s ok 41 /mainloop/unix-fd-priority 1595s ok 42 /mainloop/nfds 1595s ok 43 /mainloop/steal-fd 1595s # Start of ownerless-polling tests 1595s ok 44 /mainloop/ownerless-polling/attach-first 1595s ok 45 /mainloop/ownerless-polling/pop-first 1595s # End of ownerless-polling tests 1595s # End of mainloop tests 1595s ok - glib/mainloop.test 1595s # Running test: glib/union-info.test 1595s TAP version 13 1595s # random seed: R02Sc286d43d544565451002ad0cc636af23 1595s 1..2 1595s # Start of union-info tests 1595s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_union-info_JTXRK2/union-info/basic/.dirs/home 1595s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_union-info_JTXRK2/union-info/basic/.dirs/cache 1595s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_union-info_JTXRK2/union-info/basic/.dirs/system-config1:/tmp/test_union-info_JTXRK2/union-info/basic/.dirs/system-config2 1595s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_union-info_JTXRK2/union-info/basic/.dirs/config 1595s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_union-info_JTXRK2/union-info/basic/.dirs/system-data1:/tmp/test_union-info_JTXRK2/union-info/basic/.dirs/system-data2 1595s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_union-info_JTXRK2/union-info/basic/.dirs/data 1595s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_union-info_JTXRK2/union-info/basic/.dirs/state 1595s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_union-info_JTXRK2/union-info/basic/.dirs/runtime 1595s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1595s # /union-info/basic summary: Test basic properties of GIUnionInfo 1595s ok 1 /union-info/basic 1595s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_union-info_JTXRK2/union-info/methods/.dirs/home 1595s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_union-info_JTXRK2/union-info/methods/.dirs/cache 1595s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_union-info_JTXRK2/union-info/methods/.dirs/system-config1:/tmp/test_union-info_JTXRK2/union-info/methods/.dirs/system-config2 1595s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_union-info_JTXRK2/union-info/methods/.dirs/config 1595s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_union-info_JTXRK2/union-info/methods/.dirs/system-data1:/tmp/test_union-info_JTXRK2/union-info/methods/.dirs/system-data2 1595s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_union-info_JTXRK2/union-info/methods/.dirs/data 1595s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_union-info_JTXRK2/union-info/methods/.dirs/state 1595s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_union-info_JTXRK2/union-info/methods/.dirs/runtime 1595s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1595s # /union-info/methods summary: Test retrieving methods from GIUnionInfo 1595s ok 2 /union-info/methods 1595s # End of union-info tests 1595s ok - glib/union-info.test 1595s # Running test: glib/gdbus-proxy-unique-name.test 1595s TAP version 13 1595s # random seed: R02Se41ae9a339aced61b38737b18b6e250b 1595s 1..1 1595s # Start of gdbus tests 1595s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-proxy-unique-name_Z80RK2/gdbus/proxy-unique-name/.dirs/home 1595s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-proxy-unique-name_Z80RK2/gdbus/proxy-unique-name/.dirs/cache 1595s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-proxy-unique-name_Z80RK2/gdbus/proxy-unique-name/.dirs/system-config1:/tmp/test_gdbus-proxy-unique-name_Z80RK2/gdbus/proxy-unique-name/.dirs/system-config2 1595s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-proxy-unique-name_Z80RK2/gdbus/proxy-unique-name/.dirs/config 1595s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-proxy-unique-name_Z80RK2/gdbus/proxy-unique-name/.dirs/system-data1:/tmp/test_gdbus-proxy-unique-name_Z80RK2/gdbus/proxy-unique-name/.dirs/system-data2 1595s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-proxy-unique-name_Z80RK2/gdbus/proxy-unique-name/.dirs/data 1595s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-proxy-unique-name_Z80RK2/gdbus/proxy-unique-name/.dirs/state 1595s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-proxy-unique-name_Z80RK2/gdbus/proxy-unique-name/.dirs/runtime 1595s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1595s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1595s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1595s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1595s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1595s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1595s ok 1 /gdbus/proxy-unique-name 1595s # End of gdbus tests 1595s ok - glib/gdbus-proxy-unique-name.test 1595s # Running test: glib/win32-appinfo.test 1595s TAP version 13 1595s # random seed: R02S17f1cff25bb50c0edf57a55abdc3be9d 1595s 1..5 1595s # Start of appinfo tests 1595s ok 1 /appinfo/utf16-strfuncs 1595s ok 2 /appinfo/win32-extract-executable 1595s ok 3 /appinfo/win32-rundll32-fixup 1595s ok 4 /appinfo/win32-parse-filename 1595s ok 5 /appinfo/win32-utf16-conversion-fail 1595s # Start of subprocess tests 1595s # End of subprocess tests 1595s # End of appinfo tests 1595s ok - glib/win32-appinfo.test 1595s # Running test: glib/io-channel-basic.test 1595s TAP version 13 1595s # random seed: R02Sb9ce1ea70682953ae2446c8db770d909 1595s 1..1 1595s # Start of gio tests 1595s # Subtest: /usr/libexec/installed-tests/glib/io-channel-basic 1595s # # random seed: R02Sb24495e9bb65b92c3319588b5564276a 1596s # # GLib-DEBUG: io-channel-basic: child writing 8+4697 bytes to 6 1596s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1596s # GLib-DEBUG: io-channel-basic: ...from 5: 4697 bytes 1596s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1596s # # GLib-DEBUG: io-channel-basic: child writing 8+2839 bytes to 6 1596s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1596s # GLib-DEBUG: io-channel-basic: ...from 5: 2839 bytes 1596s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1596s # # GLib-DEBUG: io-channel-basic: child writing 8+98 bytes to 6 1596s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1596s # GLib-DEBUG: io-channel-basic: ...from 5: 98 bytes 1596s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1596s # # GLib-DEBUG: io-channel-basic: child writing 8+2870 bytes to 6 1596s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1596s # GLib-DEBUG: io-channel-basic: ...from 5: 2870 bytes 1596s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1597s # # GLib-DEBUG: io-channel-basic: child writing 8+4637 bytes to 6 1597s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1597s # GLib-DEBUG: io-channel-basic: ...from 5: 4637 bytes 1597s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1597s # # GLib-DEBUG: io-channel-basic: child writing 8+4907 bytes to 6 1597s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1597s # GLib-DEBUG: io-channel-basic: ...from 5: 4907 bytes 1597s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1597s # Executing: glib/io-channel-basic.test 1597s # # GLib-DEBUG: io-channel-basic: child writing 8+3710 bytes to 6 1597s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1597s # GLib-DEBUG: io-channel-basic: ...from 5: 3710 bytes 1597s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1597s # # GLib-DEBUG: io-channel-basic: child writing 8+4205 bytes to 6 1597s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1597s # GLib-DEBUG: io-channel-basic: ...from 5: 4205 bytes 1597s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1598s # # GLib-DEBUG: io-channel-basic: child writing 8+2900 bytes to 6 1598s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1598s # GLib-DEBUG: io-channel-basic: ...from 5: 2900 bytes 1598s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1598s # # GLib-DEBUG: io-channel-basic: child writing 8+906 bytes to 6 1598s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1598s # GLib-DEBUG: io-channel-basic: ...from 5: 906 bytes 1598s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1598s # # GLib-DEBUG: io-channel-basic: child writing 8+3236 bytes to 6 1598s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1598s # GLib-DEBUG: io-channel-basic: ...from 5: 3236 bytes 1598s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1598s # # GLib-DEBUG: io-channel-basic: child writing 8+1962 bytes to 6 1598s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1598s # GLib-DEBUG: io-channel-basic: ...from 5: 1962 bytes 1598s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1599s # # GLib-DEBUG: io-channel-basic: child writing 8+3237 bytes to 6 1599s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1599s # GLib-DEBUG: io-channel-basic: ...from 5: 3237 bytes 1599s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1599s # # GLib-DEBUG: io-channel-basic: child writing 8+1926 bytes to 6 1599s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1599s # GLib-DEBUG: io-channel-basic: ...from 5: 1926 bytes 1599s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1599s # # GLib-DEBUG: io-channel-basic: child writing 8+1941 bytes to 6 1599s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1599s # GLib-DEBUG: io-channel-basic: ...from 5: 1941 bytes 1599s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1599s # # GLib-DEBUG: io-channel-basic: child writing 8+2117 bytes to 6 1599s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1599s # GLib-DEBUG: io-channel-basic: ...from 5: 2117 bytes 1599s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1600s # # GLib-DEBUG: io-channel-basic: child writing 8+4365 bytes to 6 1600s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1600s # GLib-DEBUG: io-channel-basic: ...from 5: 4365 bytes 1600s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1600s # # GLib-DEBUG: io-channel-basic: child writing 8+2182 bytes to 6 1600s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1600s # GLib-DEBUG: io-channel-basic: ...from 5: 2182 bytes 1600s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1600s # # GLib-DEBUG: io-channel-basic: child writing 8+1227 bytes to 6 1600s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1600s # GLib-DEBUG: io-channel-basic: ...from 5: 1227 bytes 1600s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1601s # # GLib-DEBUG: io-channel-basic: child writing 8+1875 bytes to 6 1601s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1601s # GLib-DEBUG: io-channel-basic: ...from 5: 1875 bytes 1601s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1601s # # GLib-DEBUG: io-channel-basic: child writing 8+4741 bytes to 6 1601s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1601s # GLib-DEBUG: io-channel-basic: ...from 5: 4741 bytes 1601s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1601s # # GLib-DEBUG: io-channel-basic: child writing 8+2610 bytes to 6 1601s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1601s # GLib-DEBUG: io-channel-basic: ...from 5: 2610 bytes 1601s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1601s # # GLib-DEBUG: io-channel-basic: child writing 8+1205 bytes to 6 1601s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1601s # GLib-DEBUG: io-channel-basic: ...from 5: 1205 bytes 1601s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1602s # # GLib-DEBUG: io-channel-basic: child writing 8+1693 bytes to 6 1602s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1602s # # GLib-DEBUG: io-channel-basic: child exiting, closing 6 1602s # GLib-DEBUG: io-channel-basic: ...from 5: 1693 bytes 1602s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1602s # GLib-DEBUG: io-channel-basic: ...from 5: HUP 1602s # Subtest: /usr/libexec/installed-tests/glib/io-channel-basic 1602s # Subtest: /usr/libexec/installed-tests/glib/io-channel-basic 1602s # # random seed: R02Se9df5236301ca77af5b9ce1e26b31e47 1602s # Subtest: /usr/libexec/installed-tests/glib/io-channel-basic 1602s # # random seed: R02Sbc58edb3323415073009e09fce9a3768 1602s # # random seed: R02S7a3c6eb69e76dd88291a04e289fd1d25 1602s # Subtest: /usr/libexec/installed-tests/glib/io-channel-basic 1602s # # random seed: R02S72c702c9623bcd233cca0e77cd4cc3bb 1602s # Subtest: /usr/libexec/installed-tests/glib/io-channel-basic 1602s # # random seed: R02S5654bf1e6a34306a41151fb98f60f13d 1602s # # GLib-DEBUG: io-channel-basic: child writing 8+3468 bytes to 11 1602s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1602s # GLib-DEBUG: io-channel-basic: ...from 10: 3468 bytes 1602s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1602s # # GLib-DEBUG: io-channel-basic: child writing 8+691 bytes to 17 1602s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1602s # GLib-DEBUG: io-channel-basic: ...from 16: 691 bytes 1602s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1602s # # GLib-DEBUG: io-channel-basic: child writing 8+1967 bytes to 13 1602s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1602s # GLib-DEBUG: io-channel-basic: ...from 12: 1967 bytes 1602s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1602s # # GLib-DEBUG: io-channel-basic: child writing 8+1830 bytes to 15 1602s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1602s # GLib-DEBUG: io-channel-basic: ...from 14: 1830 bytes 1602s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1602s # # GLib-DEBUG: io-channel-basic: child writing 8+4953 bytes to 9 1602s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1602s # GLib-DEBUG: io-channel-basic: ...from 8: 4953 bytes 1602s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1602s # Executing: glib/io-channel-basic.test 1602s # # GLib-DEBUG: io-channel-basic: child writing 8+1271 bytes to 11 1602s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1602s # GLib-DEBUG: io-channel-basic: ...from 10: 1271 bytes 1602s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1602s # # GLib-DEBUG: io-channel-basic: child writing 8+4339 bytes to 9 1602s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1602s # GLib-DEBUG: io-channel-basic: ...from 8: 4339 bytes 1602s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1602s # # GLib-DEBUG: io-channel-basic: child writing 8+3627 bytes to 17 1602s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1602s # GLib-DEBUG: io-channel-basic: ...from 16: 3627 bytes 1602s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1602s # # GLib-DEBUG: io-channel-basic: child writing 8+190 bytes to 13 1602s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1602s # GLib-DEBUG: io-channel-basic: ...from 12: 190 bytes 1602s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1602s # # GLib-DEBUG: io-channel-basic: child writing 8+2051 bytes to 15 1602s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1602s # GLib-DEBUG: io-channel-basic: ...from 14: 2051 bytes 1602s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1602s # # GLib-DEBUG: io-channel-basic: child writing 8+990 bytes to 11 1602s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1602s # GLib-DEBUG: io-channel-basic: ...from 10: 990 bytes 1602s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1602s # # GLib-DEBUG: io-channel-basic: child writing 8+1055 bytes to 17 1602s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1602s # GLib-DEBUG: io-channel-basic: ...from 16: 1055 bytes 1602s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1602s # # GLib-DEBUG: io-channel-basic: child writing 8+4804 bytes to 9 1602s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1602s # GLib-DEBUG: io-channel-basic: ...from 8: 4804 bytes 1602s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1602s # # GLib-DEBUG: io-channel-basic: child writing 8+2956 bytes to 15 1602s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1602s # GLib-DEBUG: io-channel-basic: ...from 14: 2956 bytes 1602s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1602s # # GLib-DEBUG: io-channel-basic: child writing 8+2112 bytes to 13 1602s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1602s # GLib-DEBUG: io-channel-basic: ...from 12: 2112 bytes 1602s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1603s # # GLib-DEBUG: io-channel-basic: child writing 8+4238 bytes to 11 1603s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1603s # GLib-DEBUG: io-channel-basic: ...from 10: 4238 bytes 1603s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1603s # # GLib-DEBUG: io-channel-basic: child writing 8+1948 bytes to 17 1603s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1603s # GLib-DEBUG: io-channel-basic: ...from 16: 1948 bytes 1603s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1603s # # GLib-DEBUG: io-channel-basic: child writing 8+688 bytes to 9 1603s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1603s # GLib-DEBUG: io-channel-basic: ...from 8: 688 bytes 1603s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1603s # # GLib-DEBUG: io-channel-basic: child writing 8+1454 bytes to 13 1603s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1603s # GLib-DEBUG: io-channel-basic: ...from 12: 1454 bytes 1603s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1603s # # GLib-DEBUG: io-channel-basic: child writing 8+4484 bytes to 15 1603s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1603s # GLib-DEBUG: io-channel-basic: ...from 14: 4484 bytes 1603s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1603s # # GLib-DEBUG: io-channel-basic: child writing 8+154 bytes to 11 1603s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1603s # GLib-DEBUG: io-channel-basic: ...from 10: 154 bytes 1603s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1603s # # GLib-DEBUG: io-channel-basic: child writing 8+193 bytes to 17 1603s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1603s # GLib-DEBUG: io-channel-basic: ...from 16: 193 bytes 1603s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1603s # # GLib-DEBUG: io-channel-basic: child writing 8+3271 bytes to 9 1603s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1603s # GLib-DEBUG: io-channel-basic: ...from 8: 3271 bytes 1603s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1603s # # GLib-DEBUG: io-channel-basic: child writing 8+1315 bytes to 13 1603s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1603s # GLib-DEBUG: io-channel-basic: ...from 12: 1315 bytes 1603s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1603s # # GLib-DEBUG: io-channel-basic: child writing 8+2595 bytes to 15 1603s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1603s # GLib-DEBUG: io-channel-basic: ...from 14: 2595 bytes 1603s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1603s # # GLib-DEBUG: io-channel-basic: child writing 8+1795 bytes to 11 1603s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1603s # GLib-DEBUG: io-channel-basic: ...from 10: 1795 bytes 1603s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1603s # # GLib-DEBUG: io-channel-basic: child writing 8+4095 bytes to 17 1603s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1603s # GLib-DEBUG: io-channel-basic: ...from 16: 4095 bytes 1603s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1603s # # GLib-DEBUG: io-channel-basic: child writing 8+4010 bytes to 13 1603s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1603s # GLib-DEBUG: io-channel-basic: ...from 12: 4010 bytes 1603s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1603s # # GLib-DEBUG: io-channel-basic: child writing 8+4555 bytes to 9 1603s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1603s # GLib-DEBUG: io-channel-basic: ...from 8: 4555 bytes 1603s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1603s # # GLib-DEBUG: io-channel-basic: child writing 8+1284 bytes to 15 1603s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1603s # GLib-DEBUG: io-channel-basic: ...from 14: 1284 bytes 1603s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1603s # # GLib-DEBUG: io-channel-basic: child writing 8+1655 bytes to 11 1603s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1603s # GLib-DEBUG: io-channel-basic: ...from 10: 1655 bytes 1603s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1603s # # GLib-DEBUG: io-channel-basic: child writing 8+275 bytes to 17 1603s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1603s # GLib-DEBUG: io-channel-basic: ...from 16: 275 bytes 1603s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1603s # # GLib-DEBUG: io-channel-basic: child writing 8+2713 bytes to 13 1603s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1603s # GLib-DEBUG: io-channel-basic: ...from 12: 2713 bytes 1603s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1603s # # GLib-DEBUG: io-channel-basic: child writing 8+4990 bytes to 9 1603s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1603s # GLib-DEBUG: io-channel-basic: ...from 8: 4990 bytes 1603s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1603s # # GLib-DEBUG: io-channel-basic: child writing 8+1704 bytes to 15 1603s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1603s # GLib-DEBUG: io-channel-basic: ...from 14: 1704 bytes 1603s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1604s # # GLib-DEBUG: io-channel-basic: child writing 8+2189 bytes to 11 1604s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1604s # GLib-DEBUG: io-channel-basic: ...from 10: 2189 bytes 1604s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1604s # # GLib-DEBUG: io-channel-basic: child writing 8+4783 bytes to 17 1604s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1604s # GLib-DEBUG: io-channel-basic: ...from 16: 4783 bytes 1604s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1604s # # GLib-DEBUG: io-channel-basic: child writing 8+2930 bytes to 13 1604s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1604s # GLib-DEBUG: io-channel-basic: ...from 12: 2930 bytes 1604s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1604s # # GLib-DEBUG: io-channel-basic: child writing 8+3337 bytes to 9 1604s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1604s # GLib-DEBUG: io-channel-basic: ...from 8: 3337 bytes 1604s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1604s # # GLib-DEBUG: io-channel-basic: child writing 8+812 bytes to 15 1604s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1604s # GLib-DEBUG: io-channel-basic: ...from 14: 812 bytes 1604s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1604s # # GLib-DEBUG: io-channel-basic: child writing 8+1395 bytes to 11 1604s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1604s # GLib-DEBUG: io-channel-basic: ...from 10: 1395 bytes 1604s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1604s # # GLib-DEBUG: io-channel-basic: child writing 8+4461 bytes to 17 1604s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1604s # GLib-DEBUG: io-channel-basic: ...from 16: 4461 bytes 1604s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1604s # # GLib-DEBUG: io-channel-basic: child writing 8+1662 bytes to 13 1604s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1604s # GLib-DEBUG: io-channel-basic: ...from 12: 1662 bytes 1604s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1604s # # GLib-DEBUG: io-channel-basic: child writing 8+4506 bytes to 9 1604s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1604s # GLib-DEBUG: io-channel-basic: ...from 8: 4506 bytes 1604s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1604s # # GLib-DEBUG: io-channel-basic: child writing 8+879 bytes to 15 1604s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1604s # GLib-DEBUG: io-channel-basic: ...from 14: 879 bytes 1604s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1604s # # GLib-DEBUG: io-channel-basic: child writing 8+3962 bytes to 11 1604s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1604s # GLib-DEBUG: io-channel-basic: ...from 10: 3962 bytes 1604s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1604s # # GLib-DEBUG: io-channel-basic: child writing 8+1230 bytes to 17 1604s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1604s # GLib-DEBUG: io-channel-basic: ...from 16: 1230 bytes 1604s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1604s # # GLib-DEBUG: io-channel-basic: child writing 8+2271 bytes to 9 1604s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1604s # GLib-DEBUG: io-channel-basic: ...from 8: 2271 bytes 1604s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1604s # # GLib-DEBUG: io-channel-basic: child writing 8+3656 bytes to 13 1604s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1604s # GLib-DEBUG: io-channel-basic: ...from 12: 3656 bytes 1604s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1604s # # GLib-DEBUG: io-channel-basic: child writing 8+2907 bytes to 15 1604s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1604s # GLib-DEBUG: io-channel-basic: ...from 14: 2907 bytes 1604s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1604s # # GLib-DEBUG: io-channel-basic: child writing 8+1064 bytes to 11 1604s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1604s # GLib-DEBUG: io-channel-basic: ...from 10: 1064 bytes 1604s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1604s # # GLib-DEBUG: io-channel-basic: child writing 8+2953 bytes to 17 1604s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1604s # GLib-DEBUG: io-channel-basic: ...from 16: 2953 bytes 1604s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1604s # # GLib-DEBUG: io-channel-basic: child writing 8+4458 bytes to 9 1604s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1604s # GLib-DEBUG: io-channel-basic: ...from 8: 4458 bytes 1604s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1605s # # GLib-DEBUG: io-channel-basic: child writing 8+1913 bytes to 13 1605s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1605s # GLib-DEBUG: io-channel-basic: ...from 12: 1913 bytes 1605s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1605s # # GLib-DEBUG: io-channel-basic: child writing 8+505 bytes to 15 1605s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1605s # GLib-DEBUG: io-channel-basic: ...from 14: 505 bytes 1605s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1605s # # GLib-DEBUG: io-channel-basic: child writing 8+4509 bytes to 11 1605s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1605s # GLib-DEBUG: io-channel-basic: ...from 10: 4509 bytes 1605s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1605s # # GLib-DEBUG: io-channel-basic: child writing 8+4458 bytes to 17 1605s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1605s # GLib-DEBUG: io-channel-basic: ...from 16: 4458 bytes 1605s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1605s # # GLib-DEBUG: io-channel-basic: child writing 8+4376 bytes to 13 1605s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1605s # GLib-DEBUG: io-channel-basic: ...from 12: 4376 bytes 1605s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1605s # # GLib-DEBUG: io-channel-basic: child writing 8+2820 bytes to 9 1605s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1605s # GLib-DEBUG: io-channel-basic: ...from 8: 2820 bytes 1605s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1605s # # GLib-DEBUG: io-channel-basic: child writing 8+979 bytes to 15 1605s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1605s # GLib-DEBUG: io-channel-basic: ...from 14: 979 bytes 1605s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1605s # # GLib-DEBUG: io-channel-basic: child writing 8+2742 bytes to 11 1605s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1605s # GLib-DEBUG: io-channel-basic: ...from 10: 2742 bytes 1605s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1605s # # GLib-DEBUG: io-channel-basic: child writing 8+1340 bytes to 17 1605s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1605s # GLib-DEBUG: io-channel-basic: ...from 16: 1340 bytes 1605s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1605s # # GLib-DEBUG: io-channel-basic: child writing 8+1495 bytes to 9 1605s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1605s # GLib-DEBUG: io-channel-basic: ...from 8: 1495 bytes 1605s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1605s # # GLib-DEBUG: io-channel-basic: child writing 8+1148 bytes to 13 1605s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1605s # GLib-DEBUG: io-channel-basic: ...from 12: 1148 bytes 1605s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1605s # # GLib-DEBUG: io-channel-basic: child writing 8+1695 bytes to 15 1605s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1605s # GLib-DEBUG: io-channel-basic: ...from 14: 1695 bytes 1605s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1605s # # GLib-DEBUG: io-channel-basic: child writing 8+4713 bytes to 11 1605s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1605s # GLib-DEBUG: io-channel-basic: ...from 10: 4713 bytes 1605s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1605s # # GLib-DEBUG: io-channel-basic: child writing 8+3514 bytes to 17 1605s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1605s # GLib-DEBUG: io-channel-basic: ...from 16: 3514 bytes 1605s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1605s # # GLib-DEBUG: io-channel-basic: child writing 8+2329 bytes to 9 1605s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1605s # GLib-DEBUG: io-channel-basic: ...from 8: 2329 bytes 1605s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1605s # # GLib-DEBUG: io-channel-basic: child writing 8+3429 bytes to 13 1605s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1605s # GLib-DEBUG: io-channel-basic: ...from 12: 3429 bytes 1605s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1605s # # GLib-DEBUG: io-channel-basic: child writing 8+4282 bytes to 15 1605s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1605s # GLib-DEBUG: io-channel-basic: ...from 14: 4282 bytes 1605s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1605s # # GLib-DEBUG: io-channel-basic: child writing 8+3406 bytes to 11 1605s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1605s # GLib-DEBUG: io-channel-basic: ...from 10: 3406 bytes 1605s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1605s # # GLib-DEBUG: io-channel-basic: child writing 8+4098 bytes to 17 1605s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1605s # GLib-DEBUG: io-channel-basic: ...from 16: 4098 bytes 1605s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1606s # # GLib-DEBUG: io-channel-basic: child writing 8+811 bytes to 9 1606s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1606s # GLib-DEBUG: io-channel-basic: ...from 8: 811 bytes 1606s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1606s # # GLib-DEBUG: io-channel-basic: child writing 8+2866 bytes to 13 1606s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1606s # GLib-DEBUG: io-channel-basic: ...from 12: 2866 bytes 1606s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1606s # # GLib-DEBUG: io-channel-basic: child writing 8+3530 bytes to 15 1606s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1606s # GLib-DEBUG: io-channel-basic: ...from 14: 3530 bytes 1606s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1606s # # GLib-DEBUG: io-channel-basic: child writing 8+2083 bytes to 11 1606s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1606s # GLib-DEBUG: io-channel-basic: ...from 10: 2083 bytes 1606s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1606s # # GLib-DEBUG: io-channel-basic: child writing 8+1861 bytes to 17 1606s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1606s # GLib-DEBUG: io-channel-basic: ...from 16: 1861 bytes 1606s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1606s # # GLib-DEBUG: io-channel-basic: child writing 8+420 bytes to 13 1606s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1606s # GLib-DEBUG: io-channel-basic: ...from 12: 420 bytes 1606s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1606s # # GLib-DEBUG: io-channel-basic: child writing 8+3842 bytes to 9 1606s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1606s # GLib-DEBUG: io-channel-basic: ...from 8: 3842 bytes 1606s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1606s # # GLib-DEBUG: io-channel-basic: child writing 8+3559 bytes to 15 1606s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1606s # GLib-DEBUG: io-channel-basic: ...from 14: 3559 bytes 1606s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1606s # # GLib-DEBUG: io-channel-basic: child writing 8+54 bytes to 11 1606s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1606s # GLib-DEBUG: io-channel-basic: ...from 10: 54 bytes 1606s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1606s # # GLib-DEBUG: io-channel-basic: child writing 8+1441 bytes to 17 1606s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1606s # GLib-DEBUG: io-channel-basic: ...from 16: 1441 bytes 1606s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1606s # # GLib-DEBUG: io-channel-basic: child writing 8+2700 bytes to 9 1606s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1606s # GLib-DEBUG: io-channel-basic: ...from 8: 2700 bytes 1606s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1606s # # GLib-DEBUG: io-channel-basic: child writing 8+2395 bytes to 13 1606s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1606s # GLib-DEBUG: io-channel-basic: ...from 12: 2395 bytes 1606s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1606s # # GLib-DEBUG: io-channel-basic: child writing 8+1389 bytes to 15 1606s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1606s # GLib-DEBUG: io-channel-basic: ...from 14: 1389 bytes 1606s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1606s # # GLib-DEBUG: io-channel-basic: child writing 8+437 bytes to 11 1606s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1606s # GLib-DEBUG: io-channel-basic: ...from 10: 437 bytes 1606s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1606s # # GLib-DEBUG: io-channel-basic: child writing 8+2090 bytes to 17 1606s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1606s # GLib-DEBUG: io-channel-basic: ...from 16: 2090 bytes 1606s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1606s # # GLib-DEBUG: io-channel-basic: child writing 8+1634 bytes to 13 1606s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1606s # GLib-DEBUG: io-channel-basic: ...from 12: 1634 bytes 1606s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1606s # # GLib-DEBUG: io-channel-basic: child writing 8+749 bytes to 9 1606s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1606s # GLib-DEBUG: io-channel-basic: ...from 8: 749 bytes 1606s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1606s # # GLib-DEBUG: io-channel-basic: child writing 8+3494 bytes to 15 1606s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1606s # GLib-DEBUG: io-channel-basic: ...from 14: 3494 bytes 1606s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1606s # # GLib-DEBUG: io-channel-basic: child writing 8+1607 bytes to 11 1606s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1606s # GLib-DEBUG: io-channel-basic: ...from 10: 1607 bytes 1606s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1607s # # GLib-DEBUG: io-channel-basic: child writing 8+381 bytes to 17 1607s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1607s # GLib-DEBUG: io-channel-basic: ...from 16: 381 bytes 1607s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1607s # # GLib-DEBUG: io-channel-basic: child writing 8+4213 bytes to 13 1607s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1607s # GLib-DEBUG: io-channel-basic: ...from 12: 4213 bytes 1607s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1607s # # GLib-DEBUG: io-channel-basic: child writing 8+547 bytes to 9 1607s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1607s # GLib-DEBUG: io-channel-basic: ...from 8: 547 bytes 1607s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1607s # # GLib-DEBUG: io-channel-basic: child writing 8+2552 bytes to 15 1607s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1607s # GLib-DEBUG: io-channel-basic: ...from 14: 2552 bytes 1607s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1607s # # GLib-DEBUG: io-channel-basic: child writing 8+3479 bytes to 11 1607s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1607s # GLib-DEBUG: io-channel-basic: ...from 10: 3479 bytes 1607s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1607s # # GLib-DEBUG: io-channel-basic: child writing 8+3317 bytes to 17 1607s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1607s # GLib-DEBUG: io-channel-basic: ...from 16: 3317 bytes 1607s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1607s # # GLib-DEBUG: io-channel-basic: child writing 8+4983 bytes to 9 1607s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1607s # GLib-DEBUG: io-channel-basic: ...from 8: 4983 bytes 1607s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1607s # # GLib-DEBUG: io-channel-basic: child writing 8+805 bytes to 13 1607s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1607s # GLib-DEBUG: io-channel-basic: ...from 12: 805 bytes 1607s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1607s # Executing: glib/io-channel-basic.test 1607s # # GLib-DEBUG: io-channel-basic: child writing 8+600 bytes to 15 1607s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1607s # GLib-DEBUG: io-channel-basic: ...from 14: 600 bytes 1607s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1607s # # GLib-DEBUG: io-channel-basic: child writing 8+1405 bytes to 11 1607s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1607s # GLib-DEBUG: io-channel-basic: ...from 10: 1405 bytes 1607s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1607s # # GLib-DEBUG: io-channel-basic: child writing 8+971 bytes to 17 1607s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1607s # GLib-DEBUG: io-channel-basic: ...from 16: 971 bytes 1607s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1607s # # GLib-DEBUG: io-channel-basic: child writing 8+3402 bytes to 9 1607s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1607s # GLib-DEBUG: io-channel-basic: ...from 8: 3402 bytes 1607s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1607s # # GLib-DEBUG: io-channel-basic: child writing 8+4844 bytes to 13 1607s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1607s # GLib-DEBUG: io-channel-basic: ...from 12: 4844 bytes 1607s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1607s # # GLib-DEBUG: io-channel-basic: child writing 8+3389 bytes to 15 1607s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1607s # # GLib-DEBUG: io-channel-basic: child exiting, closing 15 1607s # GLib-DEBUG: io-channel-basic: ...from 14: 3389 bytes 1607s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1607s # GLib-DEBUG: io-channel-basic: ...from 14: HUP 1607s # # GLib-DEBUG: io-channel-basic: child writing 8+2765 bytes to 11 1607s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1607s # GLib-DEBUG: io-channel-basic: ...from 10: 2765 bytes 1607s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1607s # # GLib-DEBUG: io-channel-basic: child writing 8+2471 bytes to 17 1607s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1607s # GLib-DEBUG: io-channel-basic: ...from 16: 2471 bytes 1607s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1607s # # GLib-DEBUG: io-channel-basic: child writing 8+3720 bytes to 9 1607s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1607s # GLib-DEBUG: io-channel-basic: ...from 8: 3720 bytes 1607s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1607s # # GLib-DEBUG: io-channel-basic: child writing 8+888 bytes to 13 1607s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1607s # GLib-DEBUG: io-channel-basic: ...from 12: 888 bytes 1607s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1608s # # GLib-DEBUG: io-channel-basic: child writing 8+2330 bytes to 11 1608s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1608s # GLib-DEBUG: io-channel-basic: ...from 10: 2330 bytes 1608s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1608s # # GLib-DEBUG: io-channel-basic: child writing 8+4636 bytes to 17 1608s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1608s # GLib-DEBUG: io-channel-basic: ...from 16: 4636 bytes 1608s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1608s # # GLib-DEBUG: io-channel-basic: child writing 8+3263 bytes to 9 1608s # # GLib-DEBUG: io-channel-basic: child exiting, closing 9 1608s # GLib-DEBUG: io-channel-basic: ...from 8: HUP IN 1608s # GLib-DEBUG: io-channel-basic: ...from 8: 3263 bytes 1608s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1608s # # GLib-DEBUG: io-channel-basic: child writing 8+1228 bytes to 13 1608s # # GLib-DEBUG: io-channel-basic: child exiting, closing 13 1608s # GLib-DEBUG: io-channel-basic: ...from 12: HUP IN 1608s # GLib-DEBUG: io-channel-basic: ...from 12: 1228 bytes 1608s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1608s # # GLib-DEBUG: io-channel-basic: child writing 8+2858 bytes to 11 1608s # # GLib-DEBUG: io-channel-basic: child exiting, closing 11 1608s # GLib-DEBUG: io-channel-basic: ...from 10: HUP IN 1608s # GLib-DEBUG: io-channel-basic: ...from 10: 2858 bytes 1608s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1608s # # GLib-DEBUG: io-channel-basic: child writing 8+4216 bytes to 17 1608s # # GLib-DEBUG: io-channel-basic: child exiting, closing 17 1608s # GLib-DEBUG: io-channel-basic: ...from 16: HUP IN 1608s # GLib-DEBUG: io-channel-basic: ...from 16: 4216 bytes 1608s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1608s ok 1 /gio/io-basics 1608s # slow test /gio/io-basics executed in 12.57 secs 1608s # End of gio tests 1608s ok - glib/io-channel-basic.test 1608s # Running test: glib/io-stream.test 1608s TAP version 13 1608s # random seed: R02S259f863b45761e2a147c081fcf72a9d8 1608s 1..3 1608s # Start of io-stream tests 1608s ok 1 /io-stream/copy-chunks 1608s # Start of close tests 1608s # Start of async tests 1608s ok 2 /io-stream/close/async/memory 1608s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 1608s ok 3 /io-stream/close/async/file 1608s # End of async tests 1608s # End of close tests 1608s # End of io-stream tests 1608s ok - glib/io-stream.test 1608s # Running test: glib/cond.test 1608s TAP version 13 1608s # random seed: R02S7656817d85b56bac17c25b20103a61bf 1608s 1..4 1608s # Start of thread tests 1608s ok 1 /thread/cond1 1608s ok 2 /thread/cond2 1608s # Start of cond tests 1609s ok 3 /thread/cond/wait-until 1609s # slow test /thread/cond/wait-until executed in 1.02 secs 1609s # Start of wait-until tests 1609s # /thread/cond/wait-until/contended-and-interrupted summary: Check proper handling of errno in g_cond_wait_until with a contended mutex 1609s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/957 1610s ok 4 /thread/cond/wait-until/contended-and-interrupted 1610s # slow test /thread/cond/wait-until/contended-and-interrupted executed in 1.10 secs 1610s # End of wait-until tests 1610s # End of cond tests 1610s # End of thread tests 1610s ok - glib/cond.test 1610s # Running test: glib/642026-ec.test 1610s TAP version 13 1610s # random seed: R02S2fd8715691b6972d1027833198685dbc 1610s 1..1 1610s # Start of glib tests 1610s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=642026 1610s ok 1 /glib/642026 1610s # End of glib tests 1610s ok - glib/642026-ec.test 1610s # Running test: glib/environment.test 1610s TAP version 13 1610s # random seed: R02S42648899a7f92cd661617add74d80be6 1610s 1..6 1610s # Start of environ tests 1610s # /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. 1610s ok 1 /environ/listenv 1610s # /environ/getenv summary: Test setting an environment variable using g_setenv(), and that the updated value is queryable using g_getenv(). 1610s ok 2 /environ/getenv 1610s ok 3 /environ/setenv 1610s # /environ/array summary: Test getting and setting variables on a local envp array (rather than the global envp). 1610s ok 4 /environ/array 1610s # /environ/null summary: Test getting and setting variables on a NULL envp array. 1610s ok 5 /environ/null 1610s # /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. 1610s ok 6 /environ/case 1610s # End of environ tests 1610s ok - glib/environment.test 1610s # Running test: glib/bindinggroup.test 1610s TAP version 13 1610s # random seed: R02S0901f48ef6611938b3b48940303a805e 1610s 1..11 1610s # Start of GObject tests 1610s # Start of BindingGroup tests 1610s ok 1 /GObject/BindingGroup/invalid 1610s ok 2 /GObject/BindingGroup/default 1610s ok 3 /GObject/BindingGroup/bidirectional 1610s ok 4 /GObject/BindingGroup/transform 1610s ok 5 /GObject/BindingGroup/transform-closures 1610s ok 6 /GObject/BindingGroup/same-object 1610s ok 7 /GObject/BindingGroup/weak-ref-source 1610s ok 8 /GObject/BindingGroup/weak-ref-target 1610s ok 9 /GObject/BindingGroup/properties 1610s ok 10 /GObject/BindingGroup/weak-notify-no-bindings 1610s ok 11 /GObject/BindingGroup/empty-closures 1610s # End of BindingGroup tests 1610s # End of GObject tests 1610s ok - glib/bindinggroup.test 1610s # Running test: glib/hmac.test 1610s TAP version 13 1610s # random seed: R02S027da3f256a76697484c812df2e629d1 1610s 1..37 1610s # Start of hmac tests 1610s ok 1 /hmac/sha1-1 1610s ok 2 /hmac/sha1-2 1610s ok 3 /hmac/sha1-3 1610s ok 4 /hmac/sha1-4 1610s ok 5 /hmac/sha1-5 1610s ok 6 /hmac/sha1-6 1610s ok 7 /hmac/sha1-7 1610s ok 8 /hmac/sha256-1 1610s ok 9 /hmac/sha256-2 1610s ok 10 /hmac/sha256-3 1610s ok 11 /hmac/sha256-4 1610s ok 12 /hmac/sha256-5 1610s ok 13 /hmac/sha256-6 1610s ok 14 /hmac/sha384-1 1610s ok 15 /hmac/sha384-2 1610s ok 16 /hmac/sha384-3 1610s ok 17 /hmac/sha384-4 1610s ok 18 /hmac/sha384-5 1610s ok 19 /hmac/sha384-6 1610s ok 20 /hmac/sha512-1 1610s ok 21 /hmac/sha512-2 1610s ok 22 /hmac/sha512-3 1610s ok 23 /hmac/sha512-4 1610s ok 24 /hmac/sha512-5 1610s ok 25 /hmac/sha512-6 1610s ok 26 /hmac/md5-1 1610s ok 27 /hmac/md5-2 1610s ok 28 /hmac/md5-3 1610s ok 29 /hmac/md5-4 1610s ok 30 /hmac/md5-5 1610s ok 31 /hmac/md5-6 1610s ok 32 /hmac/md5-7 1610s ok 33 /hmac/ref-unref 1610s ok 34 /hmac/copy 1610s ok 35 /hmac/for-data 1610s ok 36 /hmac/for-string 1610s ok 37 /hmac/for-bytes 1610s # End of hmac tests 1610s ok - glib/hmac.test 1610s # Running test: glib/notify-init.test 1610s TAP version 13 1610s # random seed: R02S54fdaceaf17ba25ff54923f80839bf36 1610s 1..1 1610s # Start of properties tests 1610s # /properties/notify-in-init summary: Test that emitting notify with a handler already connected in test_object_init() works 1610s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2665 1610s ok 1 /properties/notify-in-init 1610s # End of properties tests 1610s ok - glib/notify-init.test 1610s # Running test: glib/gdbus-connection.test 1610s TAP version 13 1610s # random seed: R02S279a069fd4696c14fbedb180b890fe9b 1610s 1..9 1610s # Start of gdbus tests 1610s # Start of connection tests 1610s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection_P85YK2/gdbus/connection/bus-failure/.dirs/home 1610s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection_P85YK2/gdbus/connection/bus-failure/.dirs/cache 1610s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection_P85YK2/gdbus/connection/bus-failure/.dirs/system-config1:/tmp/test_gdbus-connection_P85YK2/gdbus/connection/bus-failure/.dirs/system-config2 1610s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection_P85YK2/gdbus/connection/bus-failure/.dirs/config 1610s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection_P85YK2/gdbus/connection/bus-failure/.dirs/system-data1:/tmp/test_gdbus-connection_P85YK2/gdbus/connection/bus-failure/.dirs/system-data2 1610s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection_P85YK2/gdbus/connection/bus-failure/.dirs/data 1610s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection_P85YK2/gdbus/connection/bus-failure/.dirs/state 1610s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection_P85YK2/gdbus/connection/bus-failure/.dirs/runtime 1610s ok 1 /gdbus/connection/bus-failure 1610s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection_P85YK2/gdbus/connection/basic/.dirs/home 1610s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection_P85YK2/gdbus/connection/basic/.dirs/cache 1610s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection_P85YK2/gdbus/connection/basic/.dirs/system-config1:/tmp/test_gdbus-connection_P85YK2/gdbus/connection/basic/.dirs/system-config2 1610s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection_P85YK2/gdbus/connection/basic/.dirs/config 1610s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection_P85YK2/gdbus/connection/basic/.dirs/system-data1:/tmp/test_gdbus-connection_P85YK2/gdbus/connection/basic/.dirs/system-data2 1610s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection_P85YK2/gdbus/connection/basic/.dirs/data 1610s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection_P85YK2/gdbus/connection/basic/.dirs/state 1610s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection_P85YK2/gdbus/connection/basic/.dirs/runtime 1610s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1610s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1610s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1610s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1610s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1610s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1610s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1610s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1610s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1610s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1610s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1610s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1610s ok 2 /gdbus/connection/basic 1610s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection_P85YK2/gdbus/connection/life-cycle/.dirs/home 1610s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection_P85YK2/gdbus/connection/life-cycle/.dirs/cache 1610s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection_P85YK2/gdbus/connection/life-cycle/.dirs/system-config1:/tmp/test_gdbus-connection_P85YK2/gdbus/connection/life-cycle/.dirs/system-config2 1610s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection_P85YK2/gdbus/connection/life-cycle/.dirs/config 1610s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection_P85YK2/gdbus/connection/life-cycle/.dirs/system-data1:/tmp/test_gdbus-connection_P85YK2/gdbus/connection/life-cycle/.dirs/system-data2 1610s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection_P85YK2/gdbus/connection/life-cycle/.dirs/data 1610s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection_P85YK2/gdbus/connection/life-cycle/.dirs/state 1610s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection_P85YK2/gdbus/connection/life-cycle/.dirs/runtime 1610s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1610s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1610s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1610s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1610s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1610s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1610s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1610s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1610s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1610s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1610s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1610s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1610s ok 3 /gdbus/connection/life-cycle 1610s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection_P85YK2/gdbus/connection/send/.dirs/home 1610s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection_P85YK2/gdbus/connection/send/.dirs/cache 1610s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection_P85YK2/gdbus/connection/send/.dirs/system-config1:/tmp/test_gdbus-connection_P85YK2/gdbus/connection/send/.dirs/system-config2 1610s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection_P85YK2/gdbus/connection/send/.dirs/config 1610s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection_P85YK2/gdbus/connection/send/.dirs/system-data1:/tmp/test_gdbus-connection_P85YK2/gdbus/connection/send/.dirs/system-data2 1610s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection_P85YK2/gdbus/connection/send/.dirs/data 1610s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection_P85YK2/gdbus/connection/send/.dirs/state 1610s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection_P85YK2/gdbus/connection/send/.dirs/runtime 1610s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1610s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1610s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1610s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1610s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1610s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1610s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1610s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1610s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1610s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1610s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1610s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1610s ok 4 /gdbus/connection/send 1610s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection_P85YK2/gdbus/connection/signals/.dirs/home 1610s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection_P85YK2/gdbus/connection/signals/.dirs/cache 1610s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection_P85YK2/gdbus/connection/signals/.dirs/system-config1:/tmp/test_gdbus-connection_P85YK2/gdbus/connection/signals/.dirs/system-config2 1610s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection_P85YK2/gdbus/connection/signals/.dirs/config 1610s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection_P85YK2/gdbus/connection/signals/.dirs/system-data1:/tmp/test_gdbus-connection_P85YK2/gdbus/connection/signals/.dirs/system-data2 1610s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection_P85YK2/gdbus/connection/signals/.dirs/data 1610s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection_P85YK2/gdbus/connection/signals/.dirs/state 1610s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection_P85YK2/gdbus/connection/signals/.dirs/runtime 1610s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1610s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1610s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1610s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1610s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1610s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1610s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1610s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1610s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1610s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1610s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1610s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1610s ok 5 /gdbus/connection/signals 1610s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection_P85YK2/gdbus/connection/signal-match-rules/.dirs/home 1610s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection_P85YK2/gdbus/connection/signal-match-rules/.dirs/cache 1610s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection_P85YK2/gdbus/connection/signal-match-rules/.dirs/system-config1:/tmp/test_gdbus-connection_P85YK2/gdbus/connection/signal-match-rules/.dirs/system-config2 1610s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection_P85YK2/gdbus/connection/signal-match-rules/.dirs/config 1610s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection_P85YK2/gdbus/connection/signal-match-rules/.dirs/system-data1:/tmp/test_gdbus-connection_P85YK2/gdbus/connection/signal-match-rules/.dirs/system-data2 1610s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection_P85YK2/gdbus/connection/signal-match-rules/.dirs/data 1610s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection_P85YK2/gdbus/connection/signal-match-rules/.dirs/state 1610s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection_P85YK2/gdbus/connection/signal-match-rules/.dirs/runtime 1610s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1610s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1610s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1610s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1610s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1610s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1610s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1610s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1610s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1610s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1610s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1610s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1610s ok 6 /gdbus/connection/signal-match-rules 1610s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection_P85YK2/gdbus/connection/filter/.dirs/home 1610s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection_P85YK2/gdbus/connection/filter/.dirs/cache 1610s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection_P85YK2/gdbus/connection/filter/.dirs/system-config1:/tmp/test_gdbus-connection_P85YK2/gdbus/connection/filter/.dirs/system-config2 1610s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection_P85YK2/gdbus/connection/filter/.dirs/config 1610s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection_P85YK2/gdbus/connection/filter/.dirs/system-data1:/tmp/test_gdbus-connection_P85YK2/gdbus/connection/filter/.dirs/system-data2 1610s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection_P85YK2/gdbus/connection/filter/.dirs/data 1610s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection_P85YK2/gdbus/connection/filter/.dirs/state 1610s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection_P85YK2/gdbus/connection/filter/.dirs/runtime 1610s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1610s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1610s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1610s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1610s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1610s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1610s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1610s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1610s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1610s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1610s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1610s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1610s ok 7 /gdbus/connection/filter 1610s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection_P85YK2/gdbus/connection/serials/.dirs/home 1610s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection_P85YK2/gdbus/connection/serials/.dirs/cache 1610s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection_P85YK2/gdbus/connection/serials/.dirs/system-config1:/tmp/test_gdbus-connection_P85YK2/gdbus/connection/serials/.dirs/system-config2 1610s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection_P85YK2/gdbus/connection/serials/.dirs/config 1610s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection_P85YK2/gdbus/connection/serials/.dirs/system-data1:/tmp/test_gdbus-connection_P85YK2/gdbus/connection/serials/.dirs/system-data2 1610s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection_P85YK2/gdbus/connection/serials/.dirs/data 1610s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection_P85YK2/gdbus/connection/serials/.dirs/state 1610s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection_P85YK2/gdbus/connection/serials/.dirs/runtime 1610s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1610s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1610s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1610s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1610s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1610s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1610s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1610s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1610s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1610s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1610s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1610s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1610s ok 8 /gdbus/connection/serials 1610s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection_P85YK2/gdbus/connection/cancel/.dirs/home 1610s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection_P85YK2/gdbus/connection/cancel/.dirs/cache 1610s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection_P85YK2/gdbus/connection/cancel/.dirs/system-config1:/tmp/test_gdbus-connection_P85YK2/gdbus/connection/cancel/.dirs/system-config2 1610s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection_P85YK2/gdbus/connection/cancel/.dirs/config 1610s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection_P85YK2/gdbus/connection/cancel/.dirs/system-data1:/tmp/test_gdbus-connection_P85YK2/gdbus/connection/cancel/.dirs/system-data2 1610s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection_P85YK2/gdbus/connection/cancel/.dirs/data 1610s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection_P85YK2/gdbus/connection/cancel/.dirs/state 1610s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection_P85YK2/gdbus/connection/cancel/.dirs/runtime 1610s # /gdbus/connection/cancel summary: Test that cancelling one of two racing g_bus_get() calls does not cancel the other one 1610s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1610s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1610s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1610s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1610s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1610s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1610s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1610s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1610s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1610s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1610s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1610s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1610s ok 9 /gdbus/connection/cancel 1610s # End of connection tests 1610s # End of gdbus tests 1610s ok - glib/gdbus-connection.test 1610s # Running test: glib/gdbus-connection-slow.test 1610s TAP version 13 1610s # random seed: R02S6ba77f6e60339cd0a5d7b7e5df5b40a0 1610s 1..2 1610s # Start of gdbus tests 1610s # Start of connection tests 1610s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection-slow_T37OK2/gdbus/connection/flush/.dirs/home 1610s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection-slow_T37OK2/gdbus/connection/flush/.dirs/cache 1610s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection-slow_T37OK2/gdbus/connection/flush/.dirs/system-config1:/tmp/test_gdbus-connection-slow_T37OK2/gdbus/connection/flush/.dirs/system-config2 1610s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection-slow_T37OK2/gdbus/connection/flush/.dirs/config 1610s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection-slow_T37OK2/gdbus/connection/flush/.dirs/system-data1:/tmp/test_gdbus-connection-slow_T37OK2/gdbus/connection/flush/.dirs/system-data2 1610s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection-slow_T37OK2/gdbus/connection/flush/.dirs/data 1610s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection-slow_T37OK2/gdbus/connection/flush/.dirs/state 1610s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection-slow_T37OK2/gdbus/connection/flush/.dirs/runtime 1610s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1610s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1610s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1610s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1610s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1610s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1610s ok 1 /gdbus/connection/flush 1610s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection-slow_T37OK2/gdbus/connection/large_message/.dirs/home 1610s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection-slow_T37OK2/gdbus/connection/large_message/.dirs/cache 1610s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection-slow_T37OK2/gdbus/connection/large_message/.dirs/system-config1:/tmp/test_gdbus-connection-slow_T37OK2/gdbus/connection/large_message/.dirs/system-config2 1610s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection-slow_T37OK2/gdbus/connection/large_message/.dirs/config 1610s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection-slow_T37OK2/gdbus/connection/large_message/.dirs/system-data1:/tmp/test_gdbus-connection-slow_T37OK2/gdbus/connection/large_message/.dirs/system-data2 1610s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection-slow_T37OK2/gdbus/connection/large_message/.dirs/data 1610s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection-slow_T37OK2/gdbus/connection/large_message/.dirs/state 1610s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection-slow_T37OK2/gdbus/connection/large_message/.dirs/runtime 1610s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1610s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1610s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1610s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1610s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1610s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1610s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1611s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1611s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1611s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1611s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1611s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1611s ok 2 /gdbus/connection/large_message 1611s # slow test /gdbus/connection/large_message executed in 0.58 secs 1611s # End of connection tests 1611s # End of gdbus tests 1611s cleaning up pid 14889 1611s ok - glib/gdbus-connection-slow.test 1611s # Running test: glib/memory-monitor-dbus.test 1611s TAP version 13 1611s ok 1 __main__.TestLowMemoryMonitor.test_low_memory_warning_signal # SKIP https://bugs.debian.org/995178 1611s 1..1 1611s ok - glib/memory-monitor-dbus.test 1611s # Running test: glib/macros-c-90.test 1611s TAP version 13 1611s # random seed: R02S56c78a29c9aea000ccf721240b3a7478 1611s 1..4 1611s # Start of C tests 1611s ok 1 /C/standard-90 1611s # End of C tests 1611s # Start of alignof tests 1611s ok 2 /alignof/fallback 1611s # End of alignof tests 1611s # Start of assert tests 1611s ok 3 /assert/static 1611s # End of assert tests 1611s # Start of struct tests 1611s ok 4 /struct/sizeof_member 1611s # End of struct tests 1611s ok - glib/macros-c-90.test 1611s # Running test: glib/shell.test 1611s TAP version 13 1611s # random seed: R02Sff8d7737debd4ad7a75b03d2d2cf7eb9 1611s 1..51 1611s # Start of shell tests 1611s # Start of cmdline tests 1611s test cmdline: foo bar 1611s ok 1 /shell/cmdline/0 1611s test cmdline: foo 'bar' 1611s ok 2 /shell/cmdline/1 1611s test cmdline: foo "bar" 1611s ok 3 /shell/cmdline/2 1611s test cmdline: foo '' 'bar' 1611s ok 4 /shell/cmdline/3 1611s test cmdline: foo "bar"'baz'blah'foo'\''blah'"boo" 1611s ok 5 /shell/cmdline/4 1611s test cmdline: foo blah foo bar baz 1611s ok 6 /shell/cmdline/5 1611s test cmdline: foo ' spaces more spaces lots of spaces in this ' 1611s ok 7 /shell/cmdline/6 1611s test cmdline: foo \ 1611s bar 1611s ok 8 /shell/cmdline/7 1611s test cmdline: foo '' '' 1611s ok 9 /shell/cmdline/8 1611s test cmdline: foo \" la la la 1611s ok 10 /shell/cmdline/9 1611s test cmdline: foo \ foo woo woo\ 1611s ok 11 /shell/cmdline/10 1611s test cmdline: foo "yada yada \$\"" 1611s ok 12 /shell/cmdline/11 1611s test cmdline: foo "c:\\" 1611s ok 13 /shell/cmdline/12 1611s test cmdline: foo # bla bla bla 1611s bar 1611s ok 14 /shell/cmdline/13 1611s test cmdline: foo a#b 1611s ok 15 /shell/cmdline/14 1611s test cmdline: #foo 1611s ok 16 /shell/cmdline/15 1611s test cmdline: foo bar \ 1611s ok 17 /shell/cmdline/16 1611s test cmdline: foo 'bar baz 1611s ok 18 /shell/cmdline/17 1611s test cmdline: foo '"bar" baz 1611s ok 19 /shell/cmdline/18 1611s test cmdline: 1611s ok 20 /shell/cmdline/19 1611s test cmdline: 1611s ok 21 /shell/cmdline/20 1611s test cmdline: # foo bar 1611s ok 22 /shell/cmdline/21 1611s test cmdline: foo '/bar/summer'\''09 tours.pdf' 1611s ok 23 /shell/cmdline/22 1611s # End of cmdline tests 1611s # Start of quote tests 1611s ok 24 /shell/quote/0 1611s ok 25 /shell/quote/1 1611s ok 26 /shell/quote/2 1611s ok 27 /shell/quote/3 1611s ok 28 /shell/quote/4 1611s ok 29 /shell/quote/5 1611s ok 30 /shell/quote/6 1611s # End of quote tests 1611s # Start of unquote tests 1611s ok 31 /shell/unquote/0 1611s ok 32 /shell/unquote/1 1611s ok 33 /shell/unquote/2 1611s ok 34 /shell/unquote/3 1611s ok 35 /shell/unquote/4 1611s ok 36 /shell/unquote/5 1611s ok 37 /shell/unquote/6 1611s ok 38 /shell/unquote/7 1611s ok 39 /shell/unquote/8 1611s ok 40 /shell/unquote/9 1611s ok 41 /shell/unquote/10 1611s ok 42 /shell/unquote/11 1611s ok 43 /shell/unquote/12 1611s ok 44 /shell/unquote/13 1611s ok 45 /shell/unquote/14 1611s ok 46 /shell/unquote/15 1611s ok 47 /shell/unquote/16 1611s ok 48 /shell/unquote/17 1611s ok 49 /shell/unquote/18 1611s ok 50 /shell/unquote/19 1611s ok 51 /shell/unquote/20 1611s # End of unquote tests 1611s # End of shell tests 1611s ok - glib/shell.test 1611s # Running test: glib/objects-refcount1.test 1611s TAP version 13 1611s # random seed: R02S89046068d4442e912eb00a7ffdb3c3a6 1611s 1..1 1611s # Start of gobject tests 1611s # Start of refcount tests 1611s # init 0x2aa03e48610 1611s # 1611s # init 0x2aa03e48790 1611s # 1612s # Executing: glib/objects-refcount1.test 1616s # dispose 0x2aa03e48610! 1616s # 1616s # dispose 0x2aa03e48790! 1616s # 1616s ok 1 /gobject/refcount/object-basics 1616s # slow test /gobject/refcount/object-basics executed in 5.00 secs 1616s # End of refcount tests 1616s # End of gobject tests 1616s ok - glib/objects-refcount1.test 1616s # Running test: glib/resources.test 1616s TAP version 13 1616s # random seed: R02S9d4ca10b7193413889c774ee52d09ff4 1616s 1..17 1616s # Start of resource tests 1616s ok 1 /resource/file 1616s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 1616s ok 2 /resource/file-path 1616s ok 3 /resource/data 1616s ok 4 /resource/data_unaligned 1616s ok 5 /resource/data-corrupt 1616s ok 6 /resource/data-empty 1616s ok 7 /resource/registered 1616s ok 8 /resource/manual 1616s ok 9 /resource/manual2 1616s ok 10 /resource/automatic 1616s ok 11 /resource/module 1616s ok 12 /resource/binary-linked 1616s ok 13 /resource/64k 1616s GLib-GIO-Message: 09:51:39.523: Adding GResources overlay '/auto_loaded/test1.txt=/usr/libexec/installed-tests/glib/test1.overlay' 1616s ok 14 /resource/overlay 1616s ok 15 /resource/digits 1616s # Start of uri tests 1616s ok 16 /resource/uri/query-info 1616s ok 17 /resource/uri/file 1616s # End of uri tests 1616s # End of resource tests 1616s ok - glib/resources.test 1616s # Running test: glib/power-profile-monitor.test 1616s TAP version 13 1616s # random seed: R02Sfafd1db51fcdbf906da73ce0d3a59e96 1616s 1..1 1616s # Start of power-profile-monitor tests 1616s # GLib-GIO-DEBUG: Failed to initialize portal (GPowerProfileMonitorPortal) for gio-power-profile-monitor: Not using portals 1616s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation dbus (GPowerProfileMonitorDBus) for ?gio-power-profile-monitor 1616s ok 1 /power-profile-monitor/default 1616s # End of power-profile-monitor tests 1616s ok - glib/power-profile-monitor.test 1616s # Running test: glib/signals.test 1616s TAP version 13 1616s # random seed: R02Sa368dfb35350bf72e2e2a0514d81349e 1616s 1..31 1616s # Start of gobject tests 1616s # Start of signals tests 1616s ok 1 /gobject/signals/all-types 1616s ok 2 /gobject/signals/variant 1616s ok 3 /gobject/signals/destroy-target-object 1616s ok 4 /gobject/signals/generic-marshaller-1 1616s ok 5 /gobject/signals/generic-marshaller-2 1616s ok 6 /gobject/signals/generic-marshaller-enum-return-signed 1616s ok 7 /gobject/signals/generic-marshaller-enum-return-unsigned 1616s ok 8 /gobject/signals/generic-marshaller-int-return 1616s ok 9 /gobject/signals/generic-marshaller-uint-return 1616s ok 10 /gobject/signals/generic-marshaller-interface-return 1616s ok 11 /gobject/signals/custom-marshaller 1616s ok 12 /gobject/signals/connect 1616s ok 13 /gobject/signals/emission-hook 1616s ok 14 /gobject/signals/emitv 1616s ok 15 /gobject/signals/accumulator 1616s # Signal: accumulator-class-first 1616s # Signal: accumulator-class-last 1616s # Signal: accumulator-class-cleanup 1616s # Signal: accumulator-class-first-last 1616s # Signal: accumulator-class-first-last-cleanup 1616s # Signal: accumulator-class-last-cleanup 1616s ok 16 /gobject/signals/accumulator-class 1616s ok 17 /gobject/signals/introspection 1616s ok 18 /gobject/signals/block-handler 1616s ok 19 /gobject/signals/stop-emission 1616s ok 20 /gobject/signals/invocation-hint 1616s ok 21 /gobject/signals/test-disconnection-wrong-object 1616s ok 22 /gobject/signals/clear-signal-handler 1616s # /gobject/signals/lookup summary: Test that g_signal_lookup() works with a variety of inputs. 1616s ok 23 /gobject/signals/lookup 1616s # /gobject/signals/parse-name summary: Test that g_signal_parse_name() works with a variety of inputs. 1616s ok 24 /gobject/signals/parse-name 1616s ok 25 /gobject/signals/is-valid-name 1616s ok 26 /gobject/signals/weak-ref-disconnect 1616s # Start of lookup tests 1616s # /gobject/signals/lookup/invalid summary: Test that g_signal_lookup() emits a warning if looking up an invalid signal name. 1616s ok 27 /gobject/signals/lookup/invalid 1616s # End of lookup tests 1616s # Start of parse-name tests 1616s # /gobject/signals/parse-name/invalid summary: Test that g_signal_parse_name() ignores a variety of invalid inputs. 1616s # Parser input: 1616s # Parser input: 7zip 1616s # Parser input: invalid:signal 1616s # Parser input: simple-detailed:: 1616s # Parser input: simple-detailed: 1616s # Parser input: : 1616s # Parser input: :: 1616s # Parser input: :valid-detail 1616s # Parser input: ::valid-detail 1616s ok 28 /gobject/signals/parse-name/invalid 1616s # End of parse-name tests 1616s # Start of invalid-name tests 1616s # /gobject/signals/invalid-name/colon summary: Check that g_signal_new() rejects invalid signal names. 1616s ok 29 /gobject/signals/invalid-name/colon 1616s # /gobject/signals/invalid-name/first-char summary: Check that g_signal_new() rejects invalid signal names. 1616s ok 30 /gobject/signals/invalid-name/first-char 1616s # /gobject/signals/invalid-name/empty summary: Check that g_signal_new() rejects invalid signal names. 1616s ok 31 /gobject/signals/invalid-name/empty 1616s # End of invalid-name tests 1616s # End of signals tests 1616s # End of gobject tests 1616s ok - glib/signals.test 1616s # Running test: glib/signal-handler.test 1616s TAP version 13 1616s # random seed: R02S0b9d894d7780b80257f5cbad0fb1aa60 1616s 1..7 1616s # Start of signal tests 1616s # Start of handler tests 1616s # min perf: connected 1 handlers in 0.000 seconds 1616s ok 1 /signal/handler/connect-many 1616s # min perf: disconnected 1 handlers in 0.000 seconds 1616s ok 2 /signal/handler/disconnect-many-ordered 1616s # min perf: disconnected 1 handlers in 0.000 seconds 1616s ok 3 /signal/handler/disconnect-many-inverse 1616s # min perf: disconnected 1 handlers in 0.000 seconds 1616s ok 4 /signal/handler/disconnect-many-random 1616s # min perf: disconnected 1 handlers in 0.000 seconds 1616s ok 5 /signal/handler/disconnect-2-signals 1616s # min perf: disconnected 1 handlers in 0.000 seconds 1616s ok 6 /signal/handler/disconnect-2-objects 1616s # min perf: blocked and unblocked 1 handlers in 0.000 seconds 1616s ok 7 /signal/handler/block-many 1616s # End of handler tests 1616s # End of signal tests 1616s ok - glib/signal-handler.test 1616s # Running test: glib/assert-msg-test.py.test 1616s TAP version 13 1616s ok 1 __main__.TestAssertMessage.test_gassert 1616s # assert-msg-test: /usr/libexec/installed-tests/glib/assert-msg-test 1616s # Running: ['/usr/libexec/installed-tests/glib/assert-msg-test'] 1616s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-baqskmurxn,guid=fbaffe99d0ccb1f6e1beb84865fc01cd', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.YcZbqk/autopkgtest_tmp', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.YcZbqk/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.YcZbqk/autopkgtest_tmp', 'TERM': 'unknown', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.YcZbqk/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.sVTVMp0Db0', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.rqZsJO/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.YcZbqk/wrapper.sh --artifacts=/tmp/autopkgtest.YcZbqk/installed-tests-artifacts --chdir=/tmp/autopkgtest.YcZbqk/build.S0E/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.YcZbqk/installed-tests-stderr --stdout=/tmp/autopkgtest.YcZbqk/installed-tests-stdout --tmp=/tmp/autopkgtest.YcZbqk/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2' --make-executable=/tmp/autopkgtest.YcZbqk/build.S0E/src/debian/tests/installed-tests -- /tmp/autopkgtest.YcZbqk/build.S0E/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.YcZbqk/build.S0E/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.YcZbqk/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8'} 1616s # Output: Bail out! GLib:ERROR:../../../glib/tests/assert-msg-test.c:31:main: assertion failed: (42 < 0) 1616s # Error: ** 1616s # GLib:ERROR:../../../glib/tests/assert-msg-test.c:31:main: assertion failed: (42 < 0) 1616s ok 2 __main__.TestAssertMessage.test_gdb_gassert # SKIP GDB is not installed, skipping this test! 1616s # assert-msg-test: /usr/libexec/installed-tests/glib/assert-msg-test 1616s 1..2 1616s ok - glib/assert-msg-test.py.test 1616s # Running test: glib/appmonitor.test 1616s TAP version 13 1616s # random seed: R02S3e23b85c2ea95f5fb816da515212dd46 1616s 1..1 1616s # Start of monitor tests 1616s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_appmonitor_6Q7PK2/monitor/app/.dirs/home 1616s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_appmonitor_6Q7PK2/monitor/app/.dirs/cache 1616s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_appmonitor_6Q7PK2/monitor/app/.dirs/system-config1:/tmp/test_appmonitor_6Q7PK2/monitor/app/.dirs/system-config2 1616s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_appmonitor_6Q7PK2/monitor/app/.dirs/config 1616s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_appmonitor_6Q7PK2/monitor/app/.dirs/system-data1:/tmp/test_appmonitor_6Q7PK2/monitor/app/.dirs/system-data2 1616s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_appmonitor_6Q7PK2/monitor/app/.dirs/data 1616s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_appmonitor_6Q7PK2/monitor/app/.dirs/state 1616s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_appmonitor_6Q7PK2/monitor/app/.dirs/runtime 1616s # Using data directory: /tmp/test_appmonitor_6Q7PK2/monitor/app/.dirs/data 1616s ok 1 /monitor/app 1616s # End of monitor tests 1616s ok - glib/appmonitor.test 1616s # Running test: glib/dbus-appinfo.test 1616s TAP version 13 1616s # random seed: R02Sbc3da3c68393332f1b66fb6a6c2b0ffa 1616s 1..3 1616s # Start of appinfo tests 1616s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1616s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 1616s ok 1 /appinfo/dbusappinfo 1616s # /appinfo/flatpak-doc-export summary: Test that files launched via Flatpak apps are made available via the document portal. 1616s dbus-daemon[14940]: [session uid=1000 pid=14940] Activating service name='org.freedesktop.portal.Documents' requested by ':1.0' (uid=1000 pid=14939 comm="/usr/libexec/installed-tests/glib/dbus-appinfo" label="unconfined") 1616s # Acquired a message bus connection 1616s dbus-daemon[14940]: [session uid=1000 pid=14940] Successfully activated service 'org.freedesktop.portal.Documents' 1616s # Acquired the name org.freedesktop.portal.Documents 1616s # on_flatpak_open received file '/document-portal/document-id/org.gtk.test.dbusappinfo.flatpak.desktop' 1616s ok 2 /appinfo/flatpak-doc-export 1616s # /appinfo/flatpak-missing-doc-export summary: Test that files launched via Flatpak apps are made available via the document portal. 1616s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1616s # on_flatpak_open received file '/hopefully/an/invalid/path.desktop' 1616s ok 3 /appinfo/flatpak-missing-doc-export 1616s # End of appinfo tests 1616s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1616s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1616s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1616s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1616s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1616s # Lost the name org.freedesktop.portal.Documents 1616s ok - glib/dbus-appinfo.test 1616s # Running test: glib/macros.test 1616s TAP version 13 1616s # random seed: R02S8e73de56a282c73ee5287bcb8e1ad363 1616s 1..3 1616s # Start of alignof tests 1616s ok 1 /alignof/fallback 1616s # End of alignof tests 1616s # Start of assert tests 1616s ok 2 /assert/static 1616s # End of assert tests 1616s # Start of struct tests 1616s ok 3 /struct/sizeof_member 1616s # End of struct tests 1616s ok - glib/macros.test 1616s # Running test: glib/contexts.test 1616s TAP version 13 1616s # random seed: R02S58625a7b8237070af0c0a45dd104968a 1616s 1..5 1616s # Start of gio tests 1616s # Start of contexts tests 1616s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 1616s ok 1 /gio/contexts/thread-independence 1616s ok 2 /gio/contexts/context-independence 1616s # Start of context-specific tests 1616s ok 3 /gio/contexts/context-specific/identity 1616s ok 4 /gio/contexts/context-specific/emit 1616s ok 5 /gio/contexts/context-specific/emit-and-unref 1616s # End of context-specific tests 1616s # End of contexts tests 1616s # End of gio tests 1616s ok - glib/contexts.test 1616s # Running test: glib/network-address.test 1616s TAP version 13 1616s # random seed: R02S3773169c35ecd0641e62fb0159e03015 1616s 1..72 1616s # Start of network-address tests 1616s ok 1 /network-address/basic 1616s ok 2 /network-address/scope-id 1616s ok 3 /network-address/uri-scope-id 1616s ok 4 /network-address/to-string 1616s # Start of parse-host tests 1616s ok 5 /network-address/parse-host/0 1616s ok 6 /network-address/parse-host/1 1616s ok 7 /network-address/parse-host/2 1616s ok 8 /network-address/parse-host/3 1616s ok 9 /network-address/parse-host/4 1616s ok 10 /network-address/parse-host/5 1616s ok 11 /network-address/parse-host/6 1616s ok 12 /network-address/parse-host/7 1616s ok 13 /network-address/parse-host/8 1616s ok 14 /network-address/parse-host/9 1616s ok 15 /network-address/parse-host/10 1616s ok 16 /network-address/parse-host/11 1616s ok 17 /network-address/parse-host/12 1616s ok 18 /network-address/parse-host/13 1616s # End of parse-host tests 1616s # Start of parse-uri tests 1616s ok 19 /network-address/parse-uri/0 1616s ok 20 /network-address/parse-uri/1 1616s ok 21 /network-address/parse-uri/2 1616s ok 22 /network-address/parse-uri/3 1616s ok 23 /network-address/parse-uri/4 1616s ok 24 /network-address/parse-uri/5 1616s ok 25 /network-address/parse-uri/6 1616s ok 26 /network-address/parse-uri/7 1616s ok 27 /network-address/parse-uri/8 1616s ok 28 /network-address/parse-uri/9 1616s # End of parse-uri tests 1616s # Start of resolve-address tests 1616s # Input: 192.168.1.2 1616s ok 29 /network-address/resolve-address/0 1616s # Input: fe80::42 1616s ok 30 /network-address/resolve-address/1 1616s # Input: 192.168.1.2:80 1616s ok 31 /network-address/resolve-address/2 1616s # Input: [fe80::42] 1616s ok 32 /network-address/resolve-address/3 1616s # Input: [fe80::42]:80 1616s ok 33 /network-address/resolve-address/4 1616s # Input: 192.168.258 1616s ok 34 /network-address/resolve-address/5 1616s # Input: 192.11010306 1616s ok 35 /network-address/resolve-address/6 1616s # Input: 3232235778 1616s ok 36 /network-address/resolve-address/7 1616s # Input: 0300.0250.0001.0001 1616s ok 37 /network-address/resolve-address/8 1616s # Input: 0xC0.0xA8.0x01.0x02 1616s ok 38 /network-address/resolve-address/9 1616s # Input: 0xc0.0xa8.0x01.0x02 1616s ok 39 /network-address/resolve-address/10 1616s # Input: 0xc0a80102 1616s ok 40 /network-address/resolve-address/11 1616s # End of resolve-address tests 1616s # Start of loopback tests 1616s ok 41 /network-address/loopback/basic 1616s ok 42 /network-address/loopback/sync 1616s ok 43 /network-address/loopback/async 1616s # End of loopback tests 1616s # Start of localhost tests 1616s ok 44 /network-address/localhost/async 1616s ok 45 /network-address/localhost/sync 1616s # End of localhost tests 1616s # Start of happy-eyeballs tests 1616s ok 46 /network-address/happy-eyeballs/basic 1617s ok 47 /network-address/happy-eyeballs/parallel 1617s ok 48 /network-address/happy-eyeballs/slow-ipv4 1617s ok 49 /network-address/happy-eyeballs/slow-ipv6 1617s ok 50 /network-address/happy-eyeballs/very-slow-ipv6 1617s # Executing: glib/network-address.test 1618s ok 51 /network-address/happy-eyeballs/slow-connection-and-ipv4 1618s # slow test /network-address/happy-eyeballs/slow-connection-and-ipv4 executed in 0.80 secs 1618s # GLib-GIO-DEBUG: IPv6 DNS error: IPv6 Broken 1618s ok 52 /network-address/happy-eyeballs/ipv6-error-ipv4-first 1618s # GLib-GIO-DEBUG: IPv6 DNS error: IPv6 Broken 1618s ok 53 /network-address/happy-eyeballs/ipv6-error-ipv6-first 1618s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/865 1618s # /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. 1618s # GLib-GIO-DEBUG: IPv6 DNS error: IPv6 Broken 1618s ok 54 /network-address/happy-eyeballs/ipv6-error-ipv4-very-slow 1618s # GLib-GIO-DEBUG: IPv4 DNS error: IPv4 Broken 1618s ok 55 /network-address/happy-eyeballs/ipv4-error-ipv6-first 1618s # GLib-GIO-DEBUG: IPv4 DNS error: IPv4 Broken 1618s ok 56 /network-address/happy-eyeballs/ipv4-error-ipv4-first 1618s # GLib-GIO-DEBUG: IPv6 DNS error: IPv6 Broken 1618s # GLib-GIO-DEBUG: IPv4 DNS error: IPv4 Broken 1618s ok 57 /network-address/happy-eyeballs/both-error 1618s # GLib-GIO-DEBUG: IPv6 DNS error: IPv6 Broken 1618s # GLib-GIO-DEBUG: IPv4 DNS error: IPv4 Broken 1618s ok 58 /network-address/happy-eyeballs/both-error-delays-1 1618s # GLib-GIO-DEBUG: IPv4 DNS error: IPv4 Broken 1618s # GLib-GIO-DEBUG: IPv6 DNS error: IPv6 Broken 1618s ok 59 /network-address/happy-eyeballs/both-error-delays-2 1618s # GLib-GIO-DEBUG: IPv4 DNS error: IPv4 Broken 1618s ok 60 /network-address/happy-eyeballs/both-error-delays-3 1618s # End of happy-eyeballs tests 1618s # End of network-address tests 1618s # Start of gresolver tests 1618s # Start of resolve-address tests 1618s # Input: 192.168.1.2 1618s ok 61 /gresolver/resolve-address/0 1618s # Input: fe80::42 1618s ok 62 /gresolver/resolve-address/1 1618s # Input: 192.168.1.2:80 1618s # Error: Error resolving ?192.168.1.2:80?: Name or service not known 1618s ok 63 /gresolver/resolve-address/2 1618s # Input: [fe80::42] 1618s # Error: Error resolving ?[fe80::42]?: Name or service not known 1618s ok 64 /gresolver/resolve-address/3 1618s # Input: [fe80::42]:80 1618s # Error: Error resolving ?[fe80::42]:80?: Name or service not known 1618s ok 65 /gresolver/resolve-address/4 1618s # Input: 192.168.258 1618s # Error: Error resolving ?192.168.258?: Name or service not known 1618s ok 66 /gresolver/resolve-address/5 1618s # Input: 192.11010306 1618s # Error: Error resolving ?192.11010306?: Name or service not known 1618s ok 67 /gresolver/resolve-address/6 1618s # Input: 3232235778 1618s # Error: Error resolving ?3232235778?: Name or service not known 1618s ok 68 /gresolver/resolve-address/7 1618s # Input: 0300.0250.0001.0001 1618s # Error: Error resolving ?0300.0250.0001.0001?: Name or service not known 1618s ok 69 /gresolver/resolve-address/8 1618s # Input: 0xC0.0xA8.0x01.0x02 1618s # Error: Error resolving ?0xC0.0xA8.0x01.0x02?: Name or service not known 1618s ok 70 /gresolver/resolve-address/9 1618s # Input: 0xc0.0xa8.0x01.0x02 1618s # Error: Error resolving ?0xc0.0xa8.0x01.0x02?: Name or service not known 1618s ok 71 /gresolver/resolve-address/10 1618s # Input: 0xc0a80102 1618s # Error: Error resolving ?0xc0a80102?: Name or service not known 1618s ok 72 /gresolver/resolve-address/11 1618s # End of resolve-address tests 1618s # End of gresolver tests 1618s ok - glib/network-address.test 1618s # Running test: glib/cxx-2b.test 1618s TAP version 13 1618s # random seed: R02Sa4fbb162b280d97ca2ae8e1153835ab1 1618s 1..2 1618s # Start of gtask tests 1618s # 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. 1618s ok 1 /gtask/name 1618s # Start of name tests 1618s # 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. 1618s ok 2 /gtask/name/macro-wrapper 1618s # End of name tests 1618s # End of gtask tests 1618s ok - glib/cxx-2b.test 1618s # Running test: glib/gdbus-close-pending.test 1618s TAP version 13 1618s # random seed: R02S456a9cb7b76edaf0bba3e37e861eb6e4 1618s 1..2 1618s # Start of gdbus tests 1618s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-close-pending_IAFVK2/gdbus/close-pending/.dirs/home 1618s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-close-pending_IAFVK2/gdbus/close-pending/.dirs/cache 1618s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-close-pending_IAFVK2/gdbus/close-pending/.dirs/system-config1:/tmp/test_gdbus-close-pending_IAFVK2/gdbus/close-pending/.dirs/system-config2 1618s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-close-pending_IAFVK2/gdbus/close-pending/.dirs/config 1618s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-close-pending_IAFVK2/gdbus/close-pending/.dirs/system-data1:/tmp/test_gdbus-close-pending_IAFVK2/gdbus/close-pending/.dirs/system-data2 1618s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-close-pending_IAFVK2/gdbus/close-pending/.dirs/data 1618s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-close-pending_IAFVK2/gdbus/close-pending/.dirs/state 1618s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-close-pending_IAFVK2/gdbus/close-pending/.dirs/runtime 1618s ok 1 /gdbus/close-pending 1618s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-close-pending_IAFVK2/gdbus/unref-pending/.dirs/home 1618s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-close-pending_IAFVK2/gdbus/unref-pending/.dirs/cache 1618s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-close-pending_IAFVK2/gdbus/unref-pending/.dirs/system-config1:/tmp/test_gdbus-close-pending_IAFVK2/gdbus/unref-pending/.dirs/system-config2 1618s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-close-pending_IAFVK2/gdbus/unref-pending/.dirs/config 1618s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-close-pending_IAFVK2/gdbus/unref-pending/.dirs/system-data1:/tmp/test_gdbus-close-pending_IAFVK2/gdbus/unref-pending/.dirs/system-data2 1618s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-close-pending_IAFVK2/gdbus/unref-pending/.dirs/data 1618s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-close-pending_IAFVK2/gdbus/unref-pending/.dirs/state 1618s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-close-pending_IAFVK2/gdbus/unref-pending/.dirs/runtime 1619s ok 2 /gdbus/unref-pending 1619s # End of gdbus tests 1619s ok - glib/gdbus-close-pending.test 1619s # Running test: glib/object.test 1619s TAP version 13 1619s # random seed: R02Se69cb72caf88268d43873d46b19f715f 1619s 1..2 1619s # Start of object tests 1619s # Start of constructor tests 1619s ok 1 /object/constructor/singleton 1619s ok 2 /object/constructor/infanticide # SKIP skip tests that rely on debug-only warnings 1619s # End of constructor tests 1619s # End of object tests 1619s ok - glib/object.test 1619s # Running test: glib/closure-refcount.test 1619s TAP version 13 1619s # random seed: R02S14133720e38c043c1438a06b9dbdc1cc 1619s 1..1 1619s # Start of closure tests 1619s # Init 0x2aa27bc00a0 1619s # Yielding from main thread 1619s # Yielding from main thread 1619s # Yielding from thread1 1619s # Yielding from thread2 1619s # Yielding from main thread 1619s # Yielding from main thread 1619s # Yielding from main thread 1619s # Yielding from main thread 1619s # Yielding from thread2 1619s # Yielding from thread1 1619s # Yielding from main thread 1619s # Yielding from thread1 1619s # Yielding from thread2 1619s # Yielding from main thread 1619s # Yielding from main thread 1619s # Yielding from main thread 1619s # Yielding from thread1 1619s # Yielding from thread2 1619s # Yielding from main thread 1619s # Yielding from main thread 1619s # Yielding from main thread 1619s # Yielding from thread1 1619s # Yielding from main thread 1619s # Yielding from thread2 1619s # Yielding from main thread 1619s # Yielding from main thread 1619s # Yielding from thread2 1619s # Yielding from main thread 1619s # Yielding from thread1 1619s # Yielding from main thread 1619s # Yielding from main thread 1619s # Yielding from main thread 1619s # Yielding from thread2 1619s # Yielding from thread1 1619s # Yielding from main thread 1619s # Yielding from thread1 1619s # Yielding from main thread 1619s # Yielding from main thread 1619s # Yielding from thread2 1619s # Yielding from thread1 1619s # Yielding from main thread 1619s # Yielding from thread2 1619s # Yielding from main thread 1619s # Yielding from main thread 1619s # Yielding from thread2 1619s # Yielding from thread1 1619s # Yielding from main thread 1619s # Yielding from main thread 1619s # Yielding from main thread 1619s # Yielding from main thread 1619s # Yielding from thread2 1619s # Yielding from thread1 1619s # Yielding from main thread 1619s # Yielding from thread2 1619s # Yielding from main thread 1619s # Yielding from main thread 1619s # Yielding from thread1 1619s # Yielding from thread2 1619s # Yielding from main thread 1619s # Yielding from main thread 1619s # Yielding from thread1 1619s # Yielding from main thread 1619s # Yielding from thread1 1619s # Yielding from main thread 1619s # Yielding from main thread 1619s # Yielding from thread2 1619s # Yielding from main thread 1619s # Yielding from thread2 1619s # Yielding from thread1 1619s # Yielding from main thread 1620s # Yielding from main thread 1620s # Yielding from main thread 1620s # Yielding from main thread 1620s # Yielding from thread2 1620s # Yielding from main thread 1620s # Yielding from thread1 1620s # Yielding from main thread 1620s # Yielding from main thread 1620s # Yielding from main thread 1620s # Yielding from thread2 1620s # Yielding from thread1 1620s # Yielding from main thread 1620s # Yielding from thread2 1620s # Yielding from main thread 1620s # Yielding from main thread 1620s # Yielding from main thread 1620s # Yielding from thread1 1620s # Yielding from main thread 1620s # Yielding from main thread 1620s # Yielding from thread2 1620s # Yielding from thread1 1620s # Yielding from main thread 1620s # Yielding from thread2 1620s # Yielding from thread1 1620s # Yielding from main thread 1620s # Yielding from main thread 1620s # Yielding from thread2 1620s # Yielding from thread1 1620s # Yielding from main thread 1620s # Yielding from main thread 1620s # Yielding from thread2 1620s # Yielding from thread1 1620s # Yielding from main thread 1620s # Yielding from main thread 1620s # Yielding from thread2 1620s # Yielding from thread1 1620s # Yielding from main thread 1620s # Yielding from main thread 1620s # Yielding from main thread 1620s # Yielding from thread2 1620s # Yielding from main thread 1620s # Yielding from main thread 1620s # Yielding from thread1 1620s # Yielding from main thread 1620s # Yielding from thread2 1620s # Yielding from main thread 1620s # Yielding from thread1 1620s # Yielding from thread2 1620s # Yielding from main thread 1620s # Yielding from thread1 1620s # Yielding from main thread 1620s # Yielding from main thread 1620s # Yielding from thread2 1620s # Yielding from main thread 1620s # Yielding from main thread 1620s # Yielding from thread1 1620s # Yielding from main thread 1620s # Yielding from main thread 1620s # Yielding from thread2 1620s # Yielding from thread1 1620s # Yielding from main thread 1620s # Yielding from main thread 1620s # Yielding from main thread 1620s # Yielding from thread2 1620s # Yielding from thread1 1620s # Yielding from main thread 1620s # Yielding from main thread 1620s # Yielding from main thread 1620s # Yielding from thread2 1620s # Yielding from thread1 1620s # Yielding from main thread 1620s # Yielding from thread1 1620s # Yielding from main thread 1620s # Yielding from main thread 1620s # Yielding from main thread 1620s # Yielding from thread2 1620s # Yielding from main thread 1620s # Yielding from main thread 1620s # Yielding from thread1 1620s # Yielding from main thread 1620s # Yielding from thread2 1620s # Yielding from main thread 1620s # Yielding from thread1 1620s # Yielding from thread2 1620s # Yielding from main thread 1620s # Yielding from main thread 1620s # Yielding from thread1 1620s # Yielding from main thread 1620s # Yielding from main thread 1620s # Yielding from thread2 1620s # Yielding from main thread 1620s # Yielding from thread2 1620s # Yielding from thread1 1620s # Yielding from main thread 1620s # Yielding from thread1 1620s # Yielding from main thread 1620s # Yielding from main thread 1621s # Yielding from thread2 1621s # Yielding from thread1 1621s # Yielding from main thread 1621s # Yielding from thread2 1621s # Yielding from main thread 1621s # Yielding from main thread 1621s # Stopping 1621s # Stopped 1621s ok 1 /closure/refcount 1621s # slow test /closure/refcount executed in 2.05 secs 1621s # End of closure tests 1621s ok - glib/closure-refcount.test 1621s # Running test: glib/closure.test 1621s TAP version 13 1621s # random seed: R02S472338eabe630dcad3a58b555ba68ce0 1621s 1..6 1621s # Start of closure tests 1621s ok 1 /closure/idle 1621s ok 2 /closure/timeout 1621s ok 3 /closure/iochannel 1621s ok 4 /closure/child 1621s ok 5 /closure/fd 1621s ok 6 /closure/signal 1621s # End of closure tests 1621s ok - glib/closure.test 1621s # Running test: glib/gdbus-connection-loss.test 1621s TAP version 13 1621s # random seed: R02S95772eb278e068f5f5e984c2f8727f7f 1621s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1621s 1..1 1621s # Start of gdbus tests 1621s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection-loss_9RH1K2/gdbus/connection-loss/.dirs/home 1621s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection-loss_9RH1K2/gdbus/connection-loss/.dirs/cache 1621s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection-loss_9RH1K2/gdbus/connection-loss/.dirs/system-config1:/tmp/test_gdbus-connection-loss_9RH1K2/gdbus/connection-loss/.dirs/system-config2 1621s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection-loss_9RH1K2/gdbus/connection-loss/.dirs/config 1621s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection-loss_9RH1K2/gdbus/connection-loss/.dirs/system-data1:/tmp/test_gdbus-connection-loss_9RH1K2/gdbus/connection-loss/.dirs/system-data2 1621s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection-loss_9RH1K2/gdbus/connection-loss/.dirs/data 1621s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection-loss_9RH1K2/gdbus/connection-loss/.dirs/state 1621s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection-loss_9RH1K2/gdbus/connection-loss/.dirs/runtime 1621s ok 1 /gdbus/connection-loss 1621s # End of gdbus tests 1621s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1621s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1621s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1621s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1621s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1621s ok - glib/gdbus-connection-loss.test 1621s # Running test: glib/custom-dispatch.test 1621s TAP version 13 1621s # random seed: R02S5e5ccc435f2ab10647da03de0ee15769 1621s 1..2 1621s # Start of properties tests 1621s # Start of custom-dispatch tests 1621s # /properties/custom-dispatch/init summary: Test that custom dispatch_properties_changed is called on initialization 1621s ok 1 /properties/custom-dispatch/init 1621s # /properties/custom-dispatch/set summary: Test that custom dispatch_properties_changed is called regardless of connected notify handlers 1621s ok 2 /properties/custom-dispatch/set 1621s # End of custom-dispatch tests 1621s # End of properties tests 1621s ok - glib/custom-dispatch.test 1621s # Running test: glib/gutils-user-database.test 1621s TAP version 13 1621s # random seed: R02Sa423b7e5b7dcd11bc429f77f38049add 1621s 1..1 1621s # Start of gutils tests 1621s ok 1 /gutils/get_user_database_entry 1621s # End of gutils tests 1621s ok - glib/gutils-user-database.test 1621s # Running test: glib/memory-settings-backend.test 1621s TAP version 13 1621s # random seed: R02S21f7f929ccd24c503d4da98bef490de7 1621s 1..1 1621s # Start of memory-settings-backend tests 1621s ok 1 /memory-settings-backend/extension-point-registered 1621s # End of memory-settings-backend tests 1621s ok - glib/memory-settings-backend.test 1621s # Running test: glib/tls-interaction.test 1621s TAP version 13 1621s # random seed: R02Sfea32c8fe4cbcdb50afd216d9e9b8b59 1621s 1..42 1621s # Start of tls-interaction tests 1621s # Start of ask-password tests 1621s # Start of invoke-with-loop tests 1621s ok 1 /tls-interaction/ask-password/invoke-with-loop/unhandled-implementation 1621s ok 2 /tls-interaction/ask-password/invoke-with-loop/async-implementation-success 1621s ok 3 /tls-interaction/ask-password/invoke-with-loop/async-implementation-failure 1621s ok 4 /tls-interaction/ask-password/invoke-with-loop/sync-implementation-success 1621s ok 5 /tls-interaction/ask-password/invoke-with-loop/sync-implementation-failure 1621s # End of invoke-with-loop tests 1621s # Start of invoke-without-loop tests 1621s ok 6 /tls-interaction/ask-password/invoke-without-loop/unhandled-implementation 1621s ok 7 /tls-interaction/ask-password/invoke-without-loop/async-implementation-success 1621s ok 8 /tls-interaction/ask-password/invoke-without-loop/async-implementation-failure 1621s ok 9 /tls-interaction/ask-password/invoke-without-loop/sync-implementation-success 1621s ok 10 /tls-interaction/ask-password/invoke-without-loop/sync-implementation-failure 1621s # End of invoke-without-loop tests 1621s # Start of invoke-in-loop tests 1621s ok 11 /tls-interaction/ask-password/invoke-in-loop/unhandled-implementation 1621s ok 12 /tls-interaction/ask-password/invoke-in-loop/async-implementation-success 1621s ok 13 /tls-interaction/ask-password/invoke-in-loop/async-implementation-failure 1621s ok 14 /tls-interaction/ask-password/invoke-in-loop/sync-implementation-success 1621s ok 15 /tls-interaction/ask-password/invoke-in-loop/sync-implementation-failure 1621s # End of invoke-in-loop tests 1621s # Start of sync tests 1621s ok 16 /tls-interaction/ask-password/sync/unhandled-implementation 1621s ok 17 /tls-interaction/ask-password/sync/sync-implementation-success 1621s ok 18 /tls-interaction/ask-password/sync/sync-implementation-failure 1621s # End of sync tests 1621s # Start of async tests 1621s ok 19 /tls-interaction/ask-password/async/unhandled-implementation 1621s ok 20 /tls-interaction/ask-password/async/async-implementation-success 1621s ok 21 /tls-interaction/ask-password/async/async-implementation-failure 1621s # End of async tests 1621s # End of ask-password tests 1621s # Start of request-certificate tests 1621s # Start of invoke-with-loop tests 1621s ok 22 /tls-interaction/request-certificate/invoke-with-loop/unhandled-implementation 1621s ok 23 /tls-interaction/request-certificate/invoke-with-loop/async-implementation-success 1621s ok 24 /tls-interaction/request-certificate/invoke-with-loop/async-implementation-failure 1621s ok 25 /tls-interaction/request-certificate/invoke-with-loop/sync-implementation-success 1621s ok 26 /tls-interaction/request-certificate/invoke-with-loop/sync-implementation-failure 1621s # End of invoke-with-loop tests 1621s # Start of invoke-without-loop tests 1621s ok 27 /tls-interaction/request-certificate/invoke-without-loop/unhandled-implementation 1621s ok 28 /tls-interaction/request-certificate/invoke-without-loop/async-implementation-success 1621s ok 29 /tls-interaction/request-certificate/invoke-without-loop/async-implementation-failure 1621s ok 30 /tls-interaction/request-certificate/invoke-without-loop/sync-implementation-success 1621s ok 31 /tls-interaction/request-certificate/invoke-without-loop/sync-implementation-failure 1621s # End of invoke-without-loop tests 1621s # Start of invoke-in-loop tests 1621s ok 32 /tls-interaction/request-certificate/invoke-in-loop/unhandled-implementation 1621s ok 33 /tls-interaction/request-certificate/invoke-in-loop/async-implementation-success 1621s ok 34 /tls-interaction/request-certificate/invoke-in-loop/async-implementation-failure 1621s ok 35 /tls-interaction/request-certificate/invoke-in-loop/sync-implementation-success 1621s ok 36 /tls-interaction/request-certificate/invoke-in-loop/sync-implementation-failure 1621s # End of invoke-in-loop tests 1621s # Start of sync tests 1621s ok 37 /tls-interaction/request-certificate/sync/unhandled-implementation 1621s ok 38 /tls-interaction/request-certificate/sync/sync-implementation-success 1621s ok 39 /tls-interaction/request-certificate/sync/sync-implementation-failure 1621s # End of sync tests 1621s # Start of async tests 1621s ok 40 /tls-interaction/request-certificate/async/unhandled-implementation 1621s ok 41 /tls-interaction/request-certificate/async/async-implementation-success 1621s ok 42 /tls-interaction/request-certificate/async/async-implementation-failure 1621s # End of async tests 1621s # End of request-certificate tests 1621s # End of tls-interaction tests 1621s ok - glib/tls-interaction.test 1621s # Running test: glib/thread-pool-slow.test 1621s TAP version 13 1621s # random seed: R02S288e21db6be73e27d0951766152ba37d 1621s 1..7 1621s # Start of threadpool tests 1621s ok 1 /threadpool/functions 1621s ok 2 /threadpool/stop-unused 1621s # slow test /threadpool/stop-unused executed in 0.51 secs 1621s ok 3 /threadpool/pools 1621s # [unsorted] ===> pushed new thread with id:5, number of threads:1, unprocessed:1 1621s # [unsorted] ===> pushed new thread with id:40, number of threads:2, unprocessed:1 1621s # [unsorted] ===> pushed new thread with id:8, number of threads:3, unprocessed:1 1621s # [unsorted] ===> pushed new thread with id:2, number of threads:4, unprocessed:1 1621s # [unsorted] ===> pushed new thread with id:78, number of threads:5, unprocessed:1 1621s # [unsorted] ===> pushed new thread with id:37, number of threads:6, unprocessed:1 1621s # [unsorted] ===> pushed new thread with id:85, number of threads:7, unprocessed:2 1621s # [unsorted] ===> pushed new thread with id:76, number of threads:8, unprocessed:1 1621s # [unsorted] ===> pushed new thread with id:76, number of threads:9, unprocessed:0 1621s # [unsorted] ===> pushed new thread with id:97, number of threads:10, unprocessed:0 1621s # [unsorted] ===> pushed new thread with id:93, number of threads:10, unprocessed:1 1621s # [unsorted] ===> pushed new thread with id:44, number of threads:10, unprocessed:2 1621s # [unsorted] ===> pushed new thread with id:73, number of threads:10, unprocessed:3 1621s # [unsorted] ===> pushed new thread with id:49, number of threads:10, unprocessed:4 1621s # [unsorted] ===> pushed new thread with id:80, number of threads:10, unprocessed:5 1621s # [unsorted] ===> pushed new thread with id:14, number of threads:10, unprocessed:6 1621s # [unsorted] ===> pushed new thread with id:77, number of threads:10, unprocessed:7 1621s # [unsorted] ===> pushed new thread with id:88, number of threads:10, unprocessed:8 1621s # [unsorted] ===> pushed new thread with id:75, number of threads:10, unprocessed:9 1621s # [unsorted] ===> pushed new thread with id:55, number of threads:10, unprocessed:10 1621s # [unsorted] ===> pushed new thread with id:99, number of threads:10, unprocessed:11 1621s # [unsorted] ===> pushed new thread with id:94, number of threads:10, unprocessed:12 1621s # [unsorted] ===> pushed new thread with id:39, number of threads:10, unprocessed:13 1621s # [unsorted] ===> pushed new thread with id:63, number of threads:10, unprocessed:14 1621s # [unsorted] ===> pushed new thread with id:77, number of threads:10, unprocessed:15 1621s # [unsorted] ===> pushed new thread with id:49, number of threads:10, unprocessed:16 1621s # [unsorted] ===> pushed new thread with id:9, number of threads:10, unprocessed:17 1621s # [unsorted] ===> pushed new thread with id:98, number of threads:10, unprocessed:18 1621s # [unsorted] ===> pushed new thread with id:44, number of threads:10, unprocessed:19 1621s # [unsorted] ===> pushed new thread with id:7, number of threads:10, unprocessed:20 1621s # [unsorted] ===> pushed new thread with id:66, number of threads:10, unprocessed:21 1621s # [unsorted] ===> pushed new thread with id:6, number of threads:10, unprocessed:22 1621s # [unsorted] ===> pushed new thread with id:45, number of threads:10, unprocessed:23 1621s # [unsorted] ===> pushed new thread with id:10, number of threads:10, unprocessed:24 1621s # [unsorted] ===> pushed new thread with id:7, number of threads:10, unprocessed:25 1621s # [unsorted] ===> pushed new thread with id:99, number of threads:10, unprocessed:26 1621s # [unsorted] ===> pushed new thread with id:7, number of threads:10, unprocessed:27 1621s # [unsorted] ===> pushed new thread with id:11, number of threads:10, unprocessed:28 1621s # [unsorted] ===> pushed new thread with id:47, number of threads:10, unprocessed:29 1621s # [unsorted] ===> pushed new thread with id:99, number of threads:10, unprocessed:30 1621s # [unsorted] ===> pushed new thread with id:70, number of threads:10, unprocessed:31 1621s # [unsorted] ===> pushed new thread with id:77, number of threads:10, unprocessed:32 1621s # [unsorted] ===> pushed new thread with id:61, number of threads:10, unprocessed:33 1621s # [unsorted] ===> pushed new thread with id:71, number of threads:10, unprocessed:34 1621s # [unsorted] ===> pushed new thread with id:28, number of threads:10, unprocessed:35 1621s # [unsorted] ===> pushed new thread with id:64, number of threads:10, unprocessed:36 1621s # [unsorted] ===> pushed new thread with id:7, number of threads:10, unprocessed:37 1621s # [unsorted] ===> pushed new thread with id:6, number of threads:10, unprocessed:38 1621s # [unsorted] ===> pushed new thread with id:97, number of threads:10, unprocessed:39 1621s # [unsorted] ===> pushed new thread with id:24, number of threads:10, unprocessed:40 1621s # [unsorted] ===> pushed new thread with id:85, number of threads:10, unprocessed:41 1621s # [unsorted] ===> pushed new thread with id:54, number of threads:10, unprocessed:42 1621s # [unsorted] ===> pushed new thread with id:8, number of threads:10, unprocessed:43 1621s # [unsorted] ===> pushed new thread with id:28, number of threads:10, unprocessed:44 1621s # [unsorted] ===> pushed new thread with id:38, number of threads:10, unprocessed:45 1621s # [unsorted] ===> pushed new thread with id:21, number of threads:10, unprocessed:46 1621s # [unsorted] ===> pushed new thread with id:90, number of threads:10, unprocessed:47 1621s # [unsorted] ===> pushed new thread with id:7, number of threads:10, unprocessed:48 1621s # [unsorted] ===> pushed new thread with id:84, number of threads:10, unprocessed:49 1621s # [unsorted] ===> pushed new thread with id:17, number of threads:10, unprocessed:50 1621s # [unsorted] ===> pushed new thread with id:4, number of threads:10, unprocessed:51 1621s # [unsorted] ===> pushed new thread with id:45, number of threads:10, unprocessed:52 1621s # [unsorted] ===> pushed new thread with id:5, number of threads:10, unprocessed:53 1621s # [unsorted] ===> pushed new thread with id:61, number of threads:10, unprocessed:54 1621s # [unsorted] ===> pushed new thread with id:12, number of threads:10, unprocessed:55 1621s # [unsorted] ===> pushed new thread with id:98, number of threads:10, unprocessed:56 1621s # [unsorted] ===> pushed new thread with id:12, number of threads:10, unprocessed:57 1621s # [unsorted] ===> pushed new thread with id:38, number of threads:10, unprocessed:58 1621s # [unsorted] ===> pushed new thread with id:64, number of threads:10, unprocessed:59 1621s # [unsorted] ===> pushed new thread with id:89, number of threads:10, unprocessed:60 1621s # [unsorted] ===> pushed new thread with id:2, number of threads:10, unprocessed:61 1621s # [unsorted] ===> pushed new thread with id:84, number of threads:10, unprocessed:62 1621s # [unsorted] ===> pushed new thread with id:48, number of threads:10, unprocessed:63 1621s # [unsorted] ===> pushed new thread with id:18, number of threads:10, unprocessed:64 1621s # [unsorted] ===> pushed new thread with id:3, number of threads:10, unprocessed:65 1621s # [unsorted] ===> pushed new thread with id:29, number of threads:10, unprocessed:66 1621s # [unsorted] ===> pushed new thread with id:22, number of threads:10, unprocessed:67 1621s # [unsorted] ===> pushed new thread with id:69, number of threads:10, unprocessed:68 1621s # [unsorted] ===> pushed new thread with id:89, number of threads:10, unprocessed:69 1621s # [unsorted] ===> pushed new thread with id:36, number of threads:10, unprocessed:70 1621s # [unsorted] ===> pushed new thread with id:97, number of threads:10, unprocessed:71 1621s # [unsorted] ===> pushed new thread with id:39, number of threads:10, unprocessed:72 1621s # [unsorted] ===> pushed new thread with id:59, number of threads:10, unprocessed:73 1621s # [unsorted] ===> pushed new thread with id:62, number of threads:10, unprocessed:74 1621s # [unsorted] ===> pushed new thread with id:50, number of threads:10, unprocessed:75 1621s # [unsorted] ===> pushed new thread with id:72, number of threads:10, unprocessed:76 1621s # [unsorted] ===> pushed new thread with id:58, number of threads:10, unprocessed:77 1621s # [unsorted] ===> pushed new thread with id:8, number of threads:10, unprocessed:78 1621s # [unsorted] ===> pushed new thread with id:52, number of threads:10, unprocessed:79 1621s # [unsorted] ===> pushed new thread with id:18, number of threads:10, unprocessed:80 1621s # [unsorted] ===> pushed new thread with id:68, number of threads:10, unprocessed:81 1621s # [unsorted] ===> pushed new thread with id:36, number of threads:10, unprocessed:82 1621s # [unsorted] ===> pushed new thread with id:2, number of threads:10, unprocessed:83 1621s # [unsorted] ===> pushed new thread with id:44, number of threads:10, unprocessed:84 1621s # [unsorted] ===> pushed new thread with id:14, number of threads:10, unprocessed:85 1621s # [unsorted] ===> pushed new thread with id:58, number of threads:10, unprocessed:86 1621s # [unsorted] ===> pushed new thread with id:98, number of threads:10, unprocessed:87 1621s # [unsorted] ===> pushed new thread with id:61, number of threads:10, unprocessed:88 1621s # [unsorted] ===> pushed new thread with id:8, number of threads:10, unprocessed:89 1621s # [unsorted] ===> pushed new thread with id:19, number of threads:10, unprocessed:90 1621s ok 4 /threadpool/no-sort 1621s # [ sorted] ===> pushed new thread with id:61, number of threads:0, unprocessed:1 1621s # [ sorted] ===> pushed new thread with id:90, number of threads:0, unprocessed:2 1621s # [ sorted] ===> pushed new thread with id:27, number of threads:0, unprocessed:3 1621s # [ sorted] ===> pushed new thread with id:82, number of threads:0, unprocessed:4 1621s # [ sorted] ===> pushed new thread with id:19, number of threads:0, unprocessed:5 1621s # [ sorted] ===> pushed new thread with id:47, number of threads:0, unprocessed:6 1621s # [ sorted] ===> pushed new thread with id:21, number of threads:0, unprocessed:7 1621s # [ sorted] ===> pushed new thread with id:3, number of threads:0, unprocessed:8 1621s # [ sorted] ===> pushed new thread with id:11, number of threads:0, unprocessed:9 1621s # [ sorted] ===> pushed new thread with id:13, number of threads:0, unprocessed:10 1621s # [ sorted] ===> pushed new thread with id:55, number of threads:0, unprocessed:11 1621s # [ sorted] ===> pushed new thread with id:97, number of threads:0, unprocessed:12 1621s # [ sorted] ===> pushed new thread with id:35, number of threads:0, unprocessed:13 1621s # [ sorted] ===> pushed new thread with id:95, number of threads:0, unprocessed:14 1621s # [ sorted] ===> pushed new thread with id:57, number of threads:0, unprocessed:15 1621s # [ sorted] ===> pushed new thread with id:89, number of threads:0, unprocessed:16 1621s # [ sorted] ===> pushed new thread with id:76, number of threads:0, unprocessed:17 1621s # [ sorted] ===> pushed new thread with id:66, number of threads:0, unprocessed:18 1621s # [ sorted] ===> pushed new thread with id:75, number of threads:0, unprocessed:19 1621s # [ sorted] ===> pushed new thread with id:72, number of threads:0, unprocessed:20 1621s # [ sorted] ===> pushed new thread with id:46, number of threads:0, unprocessed:21 1621s # [ sorted] ===> pushed new thread with id:29, number of threads:0, unprocessed:22 1621s # [ sorted] ===> pushed new thread with id:90, number of threads:0, unprocessed:23 1621s # [ sorted] ===> pushed new thread with id:88, number of threads:0, unprocessed:24 1621s # [ sorted] ===> pushed new thread with id:54, number of threads:0, unprocessed:25 1621s # [ sorted] ===> pushed new thread with id:64, number of threads:0, unprocessed:26 1621s # [ sorted] ===> pushed new thread with id:46, number of threads:0, unprocessed:27 1621s # [ sorted] ===> pushed new thread with id:45, number of threads:0, unprocessed:28 1621s # [ sorted] ===> pushed new thread with id:10, number of threads:0, unprocessed:29 1621s # [ sorted] ===> pushed new thread with id:15, number of threads:0, unprocessed:30 1621s # [ sorted] ===> pushed new thread with id:77, number of threads:0, unprocessed:31 1621s # [ sorted] ===> pushed new thread with id:28, number of threads:0, unprocessed:32 1621s # [ sorted] ===> pushed new thread with id:85, number of threads:0, unprocessed:33 1621s # [ sorted] ===> pushed new thread with id:2, number of threads:0, unprocessed:34 1621s # [ sorted] ===> pushed new thread with id:33, number of threads:0, unprocessed:35 1621s # [ sorted] ===> pushed new thread with id:48, number of threads:0, unprocessed:36 1621s # [ sorted] ===> pushed new thread with id:11, number of threads:0, unprocessed:37 1621s # [ sorted] ===> pushed new thread with id:39, number of threads:0, unprocessed:38 1621s # [ sorted] ===> pushed new thread with id:16, number of threads:0, unprocessed:39 1621s # [ sorted] ===> pushed new thread with id:52, number of threads:0, unprocessed:40 1621s # [ sorted] ===> pushed new thread with id:64, number of threads:0, unprocessed:41 1621s # [ sorted] ===> pushed new thread with id:54, number of threads:0, unprocessed:42 1621s # [ sorted] ===> pushed new thread with id:49, number of threads:0, unprocessed:43 1621s # [ sorted] ===> pushed new thread with id:54, number of threads:0, unprocessed:44 1621s # [ sorted] ===> pushed new thread with id:61, number of threads:0, unprocessed:45 1621s # [ sorted] ===> pushed new thread with id:91, number of threads:0, unprocessed:46 1621s # [ sorted] ===> pushed new thread with id:3, number of threads:0, unprocessed:47 1621s # [ sorted] ===> pushed new thread with id:7, number of threads:0, unprocessed:48 1621s # [ sorted] ===> pushed new thread with id:74, number of threads:0, unprocessed:49 1621s # [ sorted] ===> pushed new thread with id:5, number of threads:0, unprocessed:50 1621s # [ sorted] ===> pushed new thread with id:45, number of threads:0, unprocessed:51 1621s # [ sorted] ===> pushed new thread with id:80, number of threads:0, unprocessed:52 1621s # [ sorted] ===> pushed new thread with id:33, number of threads:0, unprocessed:53 1621s # [ sorted] ===> pushed new thread with id:99, number of threads:0, unprocessed:54 1621s # [ sorted] ===> pushed new thread with id:63, number of threads:0, unprocessed:55 1621s # [ sorted] ===> pushed new thread with id:64, number of threads:0, unprocessed:56 1621s # [ sorted] ===> pushed new thread with id:100, number of threads:0, unprocessed:57 1621s # [ sorted] ===> pushed new thread with id:60, number of threads:0, unprocessed:58 1621s # [ sorted] ===> pushed new thread with id:53, number of threads:0, unprocessed:59 1621s # [ sorted] ===> pushed new thread with id:23, number of threads:0, unprocessed:60 1621s # [ sorted] ===> pushed new thread with id:8, number of threads:0, unprocessed:61 1621s # [ sorted] ===> pushed new thread with id:98, number of threads:0, unprocessed:62 1621s # [ sorted] ===> pushed new thread with id:39, number of threads:0, unprocessed:63 1621s # [ sorted] ===> pushed new thread with id:64, number of threads:0, unprocessed:64 1621s # [ sorted] ===> pushed new thread with id:90, number of threads:0, unprocessed:65 1621s # [ sorted] ===> pushed new thread with id:31, number of threads:0, unprocessed:66 1621s # [ sorted] ===> pushed new thread with id:85, number of threads:0, unprocessed:67 1621s # [ sorted] ===> pushed new thread with id:90, number of threads:0, unprocessed:68 1621s # [ sorted] ===> pushed new thread with id:46, number of threads:0, unprocessed:69 1621s # [ sorted] ===> pushed new thread with id:55, number of threads:0, unprocessed:70 1621s # [ sorted] ===> pushed new thread with id:97, number of threads:0, unprocessed:71 1621s # [ sorted] ===> pushed new thread with id:44, number of threads:0, unprocessed:72 1621s # [ sorted] ===> pushed new thread with id:91, number of threads:0, unprocessed:73 1621s # [ sorted] ===> pushed new thread with id:75, number of threads:0, unprocessed:74 1621s # [ sorted] ===> pushed new thread with id:85, number of threads:0, unprocessed:75 1621s # [ sorted] ===> pushed new thread with id:26, number of threads:0, unprocessed:76 1621s # [ sorted] ===> pushed new thread with id:22, number of threads:0, unprocessed:77 1621s # [ sorted] ===> pushed new thread with id:24, number of threads:0, unprocessed:78 1621s # [ sorted] ===> pushed new thread with id:21, number of threads:0, unprocessed:79 1621s # [ sorted] ===> pushed new thread with id:4, number of threads:0, unprocessed:80 1621s # [ sorted] ===> pushed new thread with id:45, number of threads:0, unprocessed:81 1621s # [ sorted] ===> pushed new thread with id:42, number of threads:0, unprocessed:82 1621s # [ sorted] ===> pushed new thread with id:8, number of threads:0, unprocessed:83 1621s # [ sorted] ===> pushed new thread with id:71, number of threads:0, unprocessed:84 1621s # [ sorted] ===> pushed new thread with id:56, number of threads:0, unprocessed:85 1621s # [ sorted] ===> pushed new thread with id:71, number of threads:0, unprocessed:86 1621s # [ sorted] ===> pushed new thread with id:97, number of threads:0, unprocessed:87 1621s # [ sorted] ===> pushed new thread with id:34, number of threads:0, unprocessed:88 1621s # [ sorted] ===> pushed new thread with id:22, number of threads:0, unprocessed:89 1621s # [ sorted] ===> pushed new thread with id:72, number of threads:0, unprocessed:90 1621s # [ sorted] ===> pushed new thread with id:94, number of threads:0, unprocessed:91 1621s # [ sorted] ===> pushed new thread with id:51, number of threads:0, unprocessed:92 1621s # [ sorted] ===> pushed new thread with id:38, number of threads:0, unprocessed:93 1621s # [ sorted] ===> pushed new thread with id:59, number of threads:0, unprocessed:94 1621s # [ sorted] ===> pushed new thread with id:83, number of threads:0, unprocessed:95 1621s # [ sorted] ===> pushed new thread with id:46, number of threads:0, unprocessed:96 1621s # [ sorted] ===> pushed new thread with id:27, number of threads:0, unprocessed:97 1621s # [ sorted] ===> pushed new thread with id:53, number of threads:0, unprocessed:98 1621s # [ sorted] ===> pushed new thread with id:98, number of threads:0, unprocessed:99 1621s # [ sorted] ===> pushed new thread with id:91, number of threads:0, unprocessed:100 1621s # Starting thread pool processing 1621s ok 5 /threadpool/sort 1622s # Executing: glib/thread-pool-slow.test 1622s ok 6 /threadpool/stop-unused-multiple 1622s # slow test /threadpool/stop-unused-multiple executed in 0.51 secs 1622s # Pool idle thread count: 0, unprocessed jobs: 40 1622s # Pool idle thread count: 0, unprocessed jobs: 0 1622s # Pool idle thread count: 0, unprocessed jobs: 0 1623s # Pool idle thread count: 10, unprocessed jobs: 0 1623s # Pool idle thread count: 10, unprocessed jobs: 0 1623s # Pool idle thread count: 10, unprocessed jobs: 0 1623s # Pool idle thread count: 10, unprocessed jobs: 0 1624s # Pool idle thread count: 10, unprocessed jobs: 0 1624s # Pool idle thread count: 10, unprocessed jobs: 0 1624s # Pool idle thread count: 10, unprocessed jobs: 0 1624s # Pool idle thread count: 10, unprocessed jobs: 0 1625s # Pool idle thread count: 10, unprocessed jobs: 0 1625s # Pool idle thread count: 10, unprocessed jobs: 0 1625s # Pool idle thread count: 10, unprocessed jobs: 0 1625s # Pool idle thread count: 10, unprocessed jobs: 0 1626s # Pool idle thread count: 10, unprocessed jobs: 0 1626s # Pool idle thread count: 10, unprocessed jobs: 0 1626s # Pool idle thread count: 10, unprocessed jobs: 0 1626s # Pool idle thread count: 10, unprocessed jobs: 0 1627s # Executing: glib/thread-pool-slow.test 1627s # Pool idle thread count: 10, unprocessed jobs: 0 1627s # Pool idle thread count: 10, unprocessed jobs: 0 1627s # Pool idle thread count: 10, unprocessed jobs: 0 1627s # Pool idle thread count: 10, unprocessed jobs: 0 1628s # Pool idle thread count: 10, unprocessed jobs: 0 1628s # Pool idle thread count: 10, unprocessed jobs: 0 1628s # Pool idle thread count: 10, unprocessed jobs: 0 1628s # Pool idle thread count: 10, unprocessed jobs: 0 1629s # Pool idle thread count: 10, unprocessed jobs: 0 1629s # Pool idle thread count: 10, unprocessed jobs: 0 1629s # Pool idle thread count: 10, unprocessed jobs: 0 1629s # Pool idle thread count: 10, unprocessed jobs: 0 1630s # Pool idle thread count: 10, unprocessed jobs: 0 1630s # Pool idle thread count: 10, unprocessed jobs: 0 1630s # Pool idle thread count: 10, unprocessed jobs: 0 1630s # Pool idle thread count: 10, unprocessed jobs: 0 1631s # Pool idle thread count: 8, unprocessed jobs: 0 1631s # Pool idle thread count: 8, unprocessed jobs: 0 1631s # Pool idle thread count: 8, unprocessed jobs: 0 1631s # Pool idle thread count: 8, unprocessed jobs: 0 1631s # Pool idle thread count: 10, unprocessed jobs: 0 1631s # Pool idle thread count: 10, unprocessed jobs: 0 1632s # Executing: glib/thread-pool-slow.test 1632s # Pool idle thread count: 10, unprocessed jobs: 0 1632s # Pool idle thread count: 10, unprocessed jobs: 0 1632s # Pool idle thread count: 10, unprocessed jobs: 0 1632s # Pool idle thread count: 10, unprocessed jobs: 0 1633s # Pool idle thread count: 2, unprocessed jobs: 0 1633s # Pool idle thread count: 2, unprocessed jobs: 0 1633s # Pool idle thread count: 2, unprocessed jobs: 0 1633s # Pool idle thread count: 2, unprocessed jobs: 0 1634s # Pool idle thread count: 2, unprocessed jobs: 0 1634s # Pool idle thread count: 2, unprocessed jobs: 0 1634s # Pool idle thread count: 2, unprocessed jobs: 0 1634s # Pool idle thread count: 2, unprocessed jobs: 0 1636s # Pool idle thread count: 2, unprocessed jobs: 0 1636s # Pool idle thread count: 2, unprocessed jobs: 0 1636s # Pool idle thread count: 2, unprocessed jobs: 0 1636s # Pool idle thread count: 2, unprocessed jobs: 0 1636s # Pool idle thread count: 2, unprocessed jobs: 0 1636s # Pool idle thread count: 2, unprocessed jobs: 0 1636s # Pool idle thread count: 2, unprocessed jobs: 0 1636s # Pool idle thread count: 2, unprocessed jobs: 0 1637s # Executing: glib/thread-pool-slow.test 1637s # Pool idle thread count: 2, unprocessed jobs: 0 1637s # Pool idle thread count: 2, unprocessed jobs: 0 1637s # Pool idle thread count: 2, unprocessed jobs: 0 1637s # Pool idle thread count: 2, unprocessed jobs: 0 1638s # Pool idle thread count: 2, unprocessed jobs: 0 1638s # Pool idle thread count: 2, unprocessed jobs: 0 1638s # Pool idle thread count: 2, unprocessed jobs: 0 1638s # Pool idle thread count: 2, unprocessed jobs: 0 1639s # Pool idle thread count: 2, unprocessed jobs: 0 1639s # Pool idle thread count: 2, unprocessed jobs: 0 1639s # Pool idle thread count: 2, unprocessed jobs: 0 1639s # Pool idle thread count: 2, unprocessed jobs: 0 1640s # Pool idle thread count: 2, unprocessed jobs: 0 1640s # Pool idle thread count: 2, unprocessed jobs: 0 1640s # Pool idle thread count: 2, unprocessed jobs: 0 1640s # Pool idle thread count: 2, unprocessed jobs: 0 1641s # Pool idle thread count: 2, unprocessed jobs: 0 1641s # Pool idle thread count: 2, unprocessed jobs: 0 1641s ok 7 /threadpool/idle-time 1641s # slow test /threadpool/idle-time executed in 19.53 secs 1641s # End of threadpool tests 1641s ok - glib/thread-pool-slow.test 1641s # Running test: glib/enums.test 1641s TAP version 13 1641s # random seed: R02Sf5823659bfd041c6d1f6ab70cd446774 1641s 1..4 1641s # Start of enum tests 1641s ok 1 /enum/basic 1641s ok 2 /enum/define-type 1641s # End of enum tests 1641s # Start of flags tests 1641s ok 3 /flags/basic 1641s ok 4 /flags/define-type 1641s # End of flags tests 1641s ok - glib/enums.test 1641s # Running test: glib/simple-proxy.test 1641s TAP version 13 1641s # random seed: R02S5a8a26190ba36d786b457d185a267bd2 1641s 1..3 1641s # Start of static-proxy tests 1641s ok 1 /static-proxy/uri 1641s ok 2 /static-proxy/socks 1641s ok 3 /static-proxy/ignore 1641s # End of static-proxy tests 1642s ok - glib/simple-proxy.test 1642s # SUMMARY: total=315; passed=314; skipped=1; failed=0; user=164.6s; system=40.2s; maxrss=442880 1642s autopkgtest [09:52:05]: test installed-tests: -----------------------] 1643s autopkgtest [09:52:06]: test installed-tests: - - - - - - - - - - results - - - - - - - - - - 1643s installed-tests PASS 1644s autopkgtest [09:52:07]: test closure-refcount: preparing testbed 1650s Reading package lists... 1650s Building dependency tree... 1650s Reading state information... 1650s Starting pkgProblemResolver with broken count: 0 1650s Starting 2 pkgProblemResolver with broken count: 0 1650s Done 1650s The following NEW packages will be installed: 1650s autopkgtest-satdep 1650s 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. 1650s Need to get 0 B/772 B of archives. 1650s After this operation, 0 B of additional disk space will be used. 1650s Get:1 /tmp/autopkgtest.YcZbqk/4-autopkgtest-satdep.deb autopkgtest-satdep s390x 0 [772 B] 1651s Selecting previously unselected package autopkgtest-satdep. 1651s (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 ... 52768 files and directories currently installed.) 1651s Preparing to unpack .../4-autopkgtest-satdep.deb ... 1651s Unpacking autopkgtest-satdep (0) ... 1651s Setting up autopkgtest-satdep (0) ... 1653s (Reading database ... 52768 files and directories currently installed.) 1653s Removing autopkgtest-satdep (0) ... 1654s autopkgtest [09:52:17]: test closure-refcount: [----------------------- 1655s Running test: glib/closure-refcount.test 1655s TAP version 13 1655s # random seed: R02Sc5a571b4a11028fc5d2010ade6827dcd 1655s 1..1 1655s # Start of closure tests 1655s # Init 0x2aa090971a0 1655s # Yielding from main thread 1655s # Yielding from thread1 1655s # Yielding from main thread 1655s # Yielding from thread2 1655s # Yielding from main thread 1655s # Yielding from main thread 1655s # Yielding from main thread 1655s # Yielding from thread2 1655s # Yielding from thread1 1655s # Yielding from main thread 1655s # Yielding from thread2 1655s # Yielding from thread1 1655s # Yielding from main thread 1655s # Yielding from main thread 1655s # Yielding from main thread 1655s # Yielding from thread2 1655s # Yielding from main thread 1655s # Yielding from thread1 1655s # Yielding from main thread 1655s # Yielding from thread1 1655s # Yielding from thread2 1655s # Yielding from main thread 1655s # Yielding from main thread 1655s # Yielding from main thread 1655s # Yielding from main thread 1655s # Yielding from thread2 1655s # Yielding from thread1 1655s # Yielding from main thread 1655s # Yielding from main thread 1655s # Yielding from main thread 1655s # Yielding from main thread 1655s # Yielding from thread2 1655s # Yielding from thread1 1655s # Yielding from main thread 1655s # Yielding from main thread 1655s # Yielding from thread1 1655s # Yielding from thread2 1655s # Yielding from main thread 1655s # Yielding from thread1 1655s # Yielding from main thread 1655s # Yielding from thread2 1655s # Yielding from main thread 1655s # Yielding from main thread 1655s # Yielding from thread2 1655s # Yielding from thread1 1655s # Yielding from main thread 1655s # Yielding from main thread 1655s # Yielding from main thread 1655s # Yielding from main thread 1655s # Yielding from main thread 1655s # Yielding from thread2 1655s # Yielding from thread1 1655s # Yielding from main thread 1655s # Yielding from main thread 1655s # Yielding from thread1 1655s # Yielding from thread2 1655s # Yielding from main thread 1655s # Yielding from main thread 1655s # Yielding from main thread 1655s # Yielding from thread1 1655s # Yielding from thread2 1655s # Yielding from main thread 1655s # Yielding from main thread 1655s # Yielding from main thread 1655s # Yielding from main thread 1655s # Yielding from thread1 1655s # Yielding from thread2 1655s # Yielding from main thread 1655s # Yielding from thread2 1655s # Yielding from main thread 1655s # Yielding from thread1 1655s # Yielding from main thread 1655s # Yielding from main thread 1655s # Yielding from thread1 1655s # Yielding from thread2 1655s # Yielding from main thread 1655s # Yielding from main thread 1655s # Yielding from main thread 1655s # Yielding from thread2 1655s # Yielding from thread1 1655s # Yielding from main thread 1655s # Yielding from main thread 1655s # Yielding from thread2 1655s # Yielding from thread1 1655s # Yielding from main thread 1655s # Yielding from main thread 1655s # Yielding from main thread 1655s # Yielding from thread1 1655s # Yielding from thread2 1656s # Yielding from main thread 1656s # Yielding from thread2 1656s # Yielding from thread1 1656s # Yielding from main thread 1656s # Yielding from main thread 1656s # Yielding from main thread 1656s # Yielding from thread2 1656s # Yielding from thread1 1656s # Yielding from main thread 1656s # Yielding from main thread 1656s # Yielding from thread2 1656s # Yielding from thread1 1656s # Yielding from main thread 1656s # Yielding from main thread 1656s # Yielding from thread1 1656s # Yielding from main thread 1656s # Yielding from thread2 1656s # Yielding from main thread 1656s # Yielding from main thread 1656s # Yielding from main thread 1656s # Yielding from main thread 1656s # Yielding from thread2 1656s # Yielding from thread1 1656s # Yielding from main thread 1656s # Yielding from thread1 1656s # Yielding from thread2 1656s # Yielding from main thread 1656s # Yielding from main thread 1656s # Yielding from main thread 1656s # Yielding from thread1 1656s # Yielding from main thread 1656s # Yielding from thread2 1656s # Yielding from main thread 1656s # Yielding from main thread 1656s # Yielding from thread1 1656s # Yielding from main thread 1656s # Yielding from thread2 1656s # Yielding from main thread 1656s # Yielding from thread1 1656s # Yielding from main thread 1656s # Yielding from thread2 1656s # Yielding from main thread 1656s # Yielding from main thread 1656s # Yielding from thread1 1656s # Yielding from thread2 1656s # Yielding from main thread 1656s # Yielding from main thread 1656s # Yielding from thread1 1656s # Yielding from main thread 1656s # Yielding from main thread 1656s # Yielding from thread2 1656s # Yielding from main thread 1656s # Yielding from thread1 1656s # Yielding from main thread 1656s # Yielding from main thread 1656s # Yielding from thread2 1656s # Yielding from main thread 1656s # Yielding from thread1 1656s # Yielding from main thread 1656s # Yielding from thread1 1656s # Yielding from thread2 1656s # Yielding from main thread 1656s # Yielding from main thread 1656s # Yielding from main thread 1656s # Yielding from main thread 1656s # Yielding from thread2 1656s # Yielding from thread1 1656s # Yielding from thread2 1656s # Yielding from main thread 1656s # Yielding from main thread 1656s # Yielding from main thread 1656s # Yielding from thread1 1656s # Yielding from main thread 1656s # Yielding from main thread 1656s # Yielding from thread2 1656s # Yielding from main thread 1656s # Yielding from thread1 1656s # Yielding from thread2 1656s # Yielding from main thread 1656s # Yielding from main thread 1656s # Yielding from main thread 1656s # Yielding from thread1 1656s # Yielding from main thread 1656s # Yielding from thread2 1656s # Stopping 1656s # Stopped 1656s ok 1 /closure/refcount 1656s # slow test /closure/refcount executed in 1.79 secs 1656s # End of closure tests 1656s PASS: glib/closure-refcount.test 1656s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=1.7s; system=0.0s; maxrss=3456 1657s autopkgtest [09:52:20]: test closure-refcount: -----------------------] 1657s autopkgtest [09:52:20]: test closure-refcount: - - - - - - - - - - results - - - - - - - - - - 1657s closure-refcount PASS 1657s autopkgtest [09:52:20]: test debugcontroller: preparing testbed 1660s Reading package lists... 1660s Building dependency tree... 1660s Reading state information... 1660s Starting pkgProblemResolver with broken count: 0 1660s Starting 2 pkgProblemResolver with broken count: 0 1660s Done 1660s The following NEW packages will be installed: 1660s autopkgtest-satdep 1660s 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. 1660s Need to get 0 B/772 B of archives. 1660s After this operation, 0 B of additional disk space will be used. 1660s Get:1 /tmp/autopkgtest.YcZbqk/5-autopkgtest-satdep.deb autopkgtest-satdep s390x 0 [772 B] 1661s Selecting previously unselected package autopkgtest-satdep. 1661s (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 ... 52768 files and directories currently installed.) 1661s Preparing to unpack .../5-autopkgtest-satdep.deb ... 1661s Unpacking autopkgtest-satdep (0) ... 1661s Setting up autopkgtest-satdep (0) ... 1663s (Reading database ... 52768 files and directories currently installed.) 1663s Removing autopkgtest-satdep (0) ... 1664s autopkgtest [09:52:27]: test debugcontroller: [----------------------- 1664s Running test: glib/debugcontroller.test 1664s TAP version 13 1664s # random seed: R02Sef88318f6260461dff83ba2d2e9a6cb0 1664s 1..3 1664s # Start of debug-controller tests 1664s # Start of dbus tests 1664s # /debug-controller/dbus/basic summary: Smoketest for construction and setting of a #GDebugControllerDBus. 1664s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1664s # GLib-GIO-DEBUG: Debug output enabled 1664s # GLib-GIO-DEBUG: Debug output disabled 1664s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1664s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1664s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1664s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1664s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1664s ok 1 /debug-controller/dbus/basic 1664s # /debug-controller/dbus/duplicate summary: Test that creating a second #GDebugControllerDBus on the same D-Bus connection fails. 1664s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1664s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1664s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1664s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1664s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1664s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1664s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1664s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1664s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1664s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1664s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1664s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1664s ok 2 /debug-controller/dbus/duplicate 1664s # /debug-controller/dbus/properties summary: Test getting and setting properties on a #GDebugControllerDBus. 1664s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1664s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1664s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1664s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1664s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1664s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1664s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1664s # GLib-GIO-DEBUG: Debug output enabled 1664s # GLib-GIO-DEBUG: Debug output disabled 1664s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1664s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1664s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1664s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1664s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1664s ok 3 /debug-controller/dbus/properties 1664s # End of dbus tests 1664s # End of debug-controller tests 1664s PASS: glib/debugcontroller.test 1664s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.0s; system=0.0s; maxrss=6144 1664s autopkgtest [09:52:27]: test debugcontroller: -----------------------] 1665s autopkgtest [09:52:28]: test debugcontroller: - - - - - - - - - - results - - - - - - - - - - 1665s debugcontroller PASS 1665s autopkgtest [09:52:28]: test gdbus-server-auth: preparing testbed 1667s Reading package lists... 1667s Building dependency tree... 1667s Reading state information... 1668s Starting pkgProblemResolver with broken count: 0 1668s Starting 2 pkgProblemResolver with broken count: 0 1668s Done 1668s The following NEW packages will be installed: 1668s autopkgtest-satdep 1668s 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. 1668s Need to get 0 B/772 B of archives. 1668s After this operation, 0 B of additional disk space will be used. 1668s Get:1 /tmp/autopkgtest.YcZbqk/6-autopkgtest-satdep.deb autopkgtest-satdep s390x 0 [772 B] 1669s Selecting previously unselected package autopkgtest-satdep. 1669s (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 ... 52768 files and directories currently installed.) 1669s Preparing to unpack .../6-autopkgtest-satdep.deb ... 1669s Unpacking autopkgtest-satdep (0) ... 1669s Setting up autopkgtest-satdep (0) ... 1672s (Reading database ... 52768 files and directories currently installed.) 1672s Removing autopkgtest-satdep (0) ... 1672s autopkgtest [09:52:35]: test gdbus-server-auth: [----------------------- 1673s Running test: glib/gdbus-server-auth.test 1673s TAP version 13 1673s # random seed: R02S90a4893f27f9872ef89218fe4065b43d 1673s 1..9 1673s # Start of gdbus tests 1673s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_CJV1K2/gdbus/server-auth/.dirs/home 1673s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_CJV1K2/gdbus/server-auth/.dirs/cache 1673s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_CJV1K2/gdbus/server-auth/.dirs/system-config1:/tmp/test_gdbus-server-auth_CJV1K2/gdbus/server-auth/.dirs/system-config2 1673s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_CJV1K2/gdbus/server-auth/.dirs/config 1673s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_CJV1K2/gdbus/server-auth/.dirs/system-data1:/tmp/test_gdbus-server-auth_CJV1K2/gdbus/server-auth/.dirs/system-data2 1673s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_CJV1K2/gdbus/server-auth/.dirs/data 1673s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_CJV1K2/gdbus/server-auth/.dirs/state 1673s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_CJV1K2/gdbus/server-auth/.dirs/runtime 1673s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_CJV1K2/gdbus-server-auth-K5V1K2 / libdbus client, with flags: external:false anonymous:false sha1:false abstract:false tcp:false 1673s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_CJV1K2/gdbus-server-auth-K5V1K2/dbus-t4pArunF 1673s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1673s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1673s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1673s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15997,uid=1000,gid=1000 1673s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15997,uid=1000,gid=1000 1673s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 15997 1673s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1673s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1673s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1673s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1673s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15997,uid=1000,gid=1000 1673s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15997,uid=1000,gid=1000 1673s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 15997 1673s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1673s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1673s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1673s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1673s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15997,uid=1000,gid=1000 1673s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15997,uid=1000,gid=1000 1673s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 15997 1673s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1673s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1673s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1673s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1673s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15997,uid=1000,gid=1000 1673s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15997,uid=1000,gid=1000 1673s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 15997 1673s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1673s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1673s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1673s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1673s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15997,uid=1000,gid=1000 1673s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15997,uid=1000,gid=1000 1673s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 15997 1673s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1673s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1673s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1673s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1673s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15997,uid=1000,gid=1000 1673s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15997,uid=1000,gid=1000 1673s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 15997 1673s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1673s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1673s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1673s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1673s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15997,uid=1000,gid=1000 1673s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15997,uid=1000,gid=1000 1673s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 15997 1673s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1673s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1673s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1673s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1673s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15997,uid=1000,gid=1000 1673s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15997,uid=1000,gid=1000 1673s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 15997 1673s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1673s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1673s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1673s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1673s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15997,uid=1000,gid=1000 1673s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15997,uid=1000,gid=1000 1673s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 15997 1673s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1673s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1673s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1673s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1673s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15997,uid=1000,gid=1000 1673s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15997,uid=1000,gid=1000 1673s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 15997 1673s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1673s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1673s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1673s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1673s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15997,uid=1000,gid=1000 1673s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15997,uid=1000,gid=1000 1673s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 15997 1673s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1673s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1673s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1673s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1673s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15997,uid=1000,gid=1000 1673s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15997,uid=1000,gid=1000 1673s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 15997 1673s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1673s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1673s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1673s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1673s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15997,uid=1000,gid=1000 1673s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15997,uid=1000,gid=1000 1673s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 15997 1673s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1673s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1673s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1673s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1673s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15997,uid=1000,gid=1000 1673s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15997,uid=1000,gid=1000 1673s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 15997 1673s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1673s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1673s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1673s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1673s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15997,uid=1000,gid=1000 1673s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15997,uid=1000,gid=1000 1673s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 15997 1673s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1673s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1673s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1673s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1673s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15997,uid=1000,gid=1000 1673s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15997,uid=1000,gid=1000 1673s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 15997 1673s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1673s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1673s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1673s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1673s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15997,uid=1000,gid=1000 1673s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15997,uid=1000,gid=1000 1673s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 15997 1673s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1673s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1673s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1673s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1673s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15997,uid=1000,gid=1000 1673s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15997,uid=1000,gid=1000 1673s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 15997 1673s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1673s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1673s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1673s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1673s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15997,uid=1000,gid=1000 1673s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15997,uid=1000,gid=1000 1673s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 15997 1673s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1673s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1673s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1673s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1673s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15997,uid=1000,gid=1000 1673s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15997,uid=1000,gid=1000 1673s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 15997 1673s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1673s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1673s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1673s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1673s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15997,uid=1000,gid=1000 1673s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15997,uid=1000,gid=1000 1673s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 15997 1673s ok 1 /gdbus/server-auth 1673s # Start of server-auth tests 1673s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_CJV1K2/gdbus/server-auth/abstract/.dirs/home 1673s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_CJV1K2/gdbus/server-auth/abstract/.dirs/cache 1673s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_CJV1K2/gdbus/server-auth/abstract/.dirs/system-config1:/tmp/test_gdbus-server-auth_CJV1K2/gdbus/server-auth/abstract/.dirs/system-config2 1673s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_CJV1K2/gdbus/server-auth/abstract/.dirs/config 1673s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_CJV1K2/gdbus/server-auth/abstract/.dirs/system-data1:/tmp/test_gdbus-server-auth_CJV1K2/gdbus/server-auth/abstract/.dirs/system-data2 1673s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_CJV1K2/gdbus/server-auth/abstract/.dirs/data 1673s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_CJV1K2/gdbus/server-auth/abstract/.dirs/state 1673s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_CJV1K2/gdbus/server-auth/abstract/.dirs/runtime 1673s # Testing GDBus server at unix:tmpdir=/tmp/test_gdbus-server-auth_CJV1K2/gdbus-server-auth-S6A2K2 / libdbus client, with flags: external:false anonymous:false sha1:false abstract:true tcp:false 1673s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_CJV1K2/gdbus-server-auth-S6A2K2/dbus-hDrjMTB1 1673s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1673s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1673s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1673s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15997,uid=1000,gid=1000 1673s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15997,uid=1000,gid=1000 1673s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 15997 1673s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1673s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1673s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1673s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1673s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15997,uid=1000,gid=1000 1673s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15997,uid=1000,gid=1000 1673s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 15997 1673s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1673s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1673s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1673s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1673s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15997,uid=1000,gid=1000 1673s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15997,uid=1000,gid=1000 1673s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 15997 1673s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1673s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1673s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1673s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1673s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15997,uid=1000,gid=1000 1673s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15997,uid=1000,gid=1000 1673s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 15997 1673s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1673s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1673s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1673s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1673s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15997,uid=1000,gid=1000 1673s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15997,uid=1000,gid=1000 1673s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 15997 1673s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1673s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1673s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1673s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1673s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15997,uid=1000,gid=1000 1673s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15997,uid=1000,gid=1000 1673s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 15997 1673s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1673s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1673s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1673s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1673s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15997,uid=1000,gid=1000 1673s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15997,uid=1000,gid=1000 1673s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 15997 1673s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1673s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1673s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1673s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1673s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15997,uid=1000,gid=1000 1673s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15997,uid=1000,gid=1000 1673s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 15997 1673s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1673s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1673s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1673s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1673s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15997,uid=1000,gid=1000 1673s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15997,uid=1000,gid=1000 1673s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 15997 1673s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1673s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1673s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1673s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1673s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15997,uid=1000,gid=1000 1673s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15997,uid=1000,gid=1000 1673s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 15997 1673s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1673s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1673s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1673s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1673s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15997,uid=1000,gid=1000 1673s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15997,uid=1000,gid=1000 1673s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 15997 1673s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1673s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1673s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1673s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1673s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15997,uid=1000,gid=1000 1673s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15997,uid=1000,gid=1000 1673s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 15997 1673s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1673s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1673s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1673s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1673s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15997,uid=1000,gid=1000 1673s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15997,uid=1000,gid=1000 1673s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 15997 1673s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1673s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1673s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1673s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1673s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15997,uid=1000,gid=1000 1673s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15997,uid=1000,gid=1000 1673s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 15997 1673s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1673s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1673s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1673s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1673s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15997,uid=1000,gid=1000 1673s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15997,uid=1000,gid=1000 1673s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 15997 1673s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1673s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1673s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1673s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1673s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15997,uid=1000,gid=1000 1673s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15997,uid=1000,gid=1000 1673s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 15997 1673s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1673s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1673s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1673s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1673s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15997,uid=1000,gid=1000 1673s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15997,uid=1000,gid=1000 1673s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 15997 1673s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1673s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1673s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1673s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1673s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15997,uid=1000,gid=1000 1673s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15997,uid=1000,gid=1000 1673s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 15997 1673s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1673s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1673s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1673s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1673s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15997,uid=1000,gid=1000 1673s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15997,uid=1000,gid=1000 1673s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 15997 1673s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1673s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1673s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1673s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1673s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15997,uid=1000,gid=1000 1673s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15997,uid=1000,gid=1000 1673s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 15997 1673s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1673s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1673s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1673s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1673s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15997,uid=1000,gid=1000 1673s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15997,uid=1000,gid=1000 1673s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 15997 1673s ok 2 /gdbus/server-auth/abstract 1673s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_CJV1K2/gdbus/server-auth/tcp/.dirs/home 1673s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_CJV1K2/gdbus/server-auth/tcp/.dirs/cache 1673s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_CJV1K2/gdbus/server-auth/tcp/.dirs/system-config1:/tmp/test_gdbus-server-auth_CJV1K2/gdbus/server-auth/tcp/.dirs/system-config2 1673s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_CJV1K2/gdbus/server-auth/tcp/.dirs/config 1673s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_CJV1K2/gdbus/server-auth/tcp/.dirs/system-data1:/tmp/test_gdbus-server-auth_CJV1K2/gdbus/server-auth/tcp/.dirs/system-data2 1673s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_CJV1K2/gdbus/server-auth/tcp/.dirs/data 1673s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_CJV1K2/gdbus/server-auth/tcp/.dirs/state 1673s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_CJV1K2/gdbus/server-auth/tcp/.dirs/runtime 1673s # Testing GDBus server at tcp:host=127.0.0.1 / libdbus client, with flags: external:false anonymous:false sha1:false abstract:false tcp:true 1673s # Connectable address: tcp:host=127.0.0.1,port=40323 1673s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1673s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1673s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1673s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1673s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1673s # GLib-GIO-DEBUG: Server says GDBus client is uid 4294967295, pid -1 1673s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1673s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1673s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1673s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1673s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1673s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1673s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 4294967295, pid -1 1673s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1673s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1673s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1673s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1673s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1673s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1673s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 4294967295, pid -1 1673s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1673s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1673s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1673s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1673s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1673s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1673s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 4294967295, pid -1 1673s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1673s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1673s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1673s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1673s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1673s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1673s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 4294967295, pid -1 1673s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1673s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1673s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1673s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1673s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1673s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1673s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 4294967295, pid -1 1673s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1673s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1673s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1673s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1673s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1673s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1673s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 4294967295, pid -1 1673s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1673s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1673s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1673s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1673s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1673s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1673s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 4294967295, pid -1 1673s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1673s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1673s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1673s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1673s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1673s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1673s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 4294967295, pid -1 1673s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1673s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1673s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1673s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1673s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1673s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1673s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 4294967295, pid -1 1673s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1673s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1673s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1673s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1673s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1673s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1673s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 4294967295, pid -1 1673s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1673s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1673s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1673s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1673s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1673s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1673s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 4294967295, pid -1 1673s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1673s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1673s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1673s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1673s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1673s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1673s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 4294967295, pid -1 1673s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1673s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1673s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1673s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1673s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1673s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1673s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 4294967295, pid -1 1673s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1673s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1673s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1673s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1673s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1673s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1673s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 4294967295, pid -1 1673s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1673s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1673s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1673s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1673s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1673s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1673s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 4294967295, pid -1 1673s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1673s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1673s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1673s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1673s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1673s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1674s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 4294967295, pid -1 1674s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1674s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1674s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1674s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1674s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1674s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1674s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 4294967295, pid -1 1674s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1674s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1674s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1674s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1674s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1674s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1674s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 4294967295, pid -1 1674s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1674s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1674s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1674s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1674s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1674s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1674s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 4294967295, pid -1 1674s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1674s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1674s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1674s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1674s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1674s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1674s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 4294967295, pid -1 1674s ok 3 /gdbus/server-auth/tcp 1674s # slow test /gdbus/server-auth/tcp executed in 1.03 secs 1674s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_CJV1K2/gdbus/server-auth/anonymous/.dirs/home 1674s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_CJV1K2/gdbus/server-auth/anonymous/.dirs/cache 1674s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_CJV1K2/gdbus/server-auth/anonymous/.dirs/system-config1:/tmp/test_gdbus-server-auth_CJV1K2/gdbus/server-auth/anonymous/.dirs/system-config2 1674s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_CJV1K2/gdbus/server-auth/anonymous/.dirs/config 1674s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_CJV1K2/gdbus/server-auth/anonymous/.dirs/system-data1:/tmp/test_gdbus-server-auth_CJV1K2/gdbus/server-auth/anonymous/.dirs/system-data2 1674s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_CJV1K2/gdbus/server-auth/anonymous/.dirs/data 1674s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_CJV1K2/gdbus/server-auth/anonymous/.dirs/state 1674s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_CJV1K2/gdbus/server-auth/anonymous/.dirs/runtime 1674s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_CJV1K2/gdbus-server-auth-1S62K2 / libdbus client, with flags: external:false anonymous:true sha1:false abstract:false tcp:false 1674s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_CJV1K2/gdbus-server-auth-1S62K2/dbus-s56bIyjE 1674s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1674s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1674s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1674s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15997,uid=1000,gid=1000 1674s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15997,uid=1000,gid=1000 1674s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 15997 1674s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1674s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1674s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1674s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1674s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15997,uid=1000,gid=1000 1674s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15997,uid=1000,gid=1000 1674s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 15997 1674s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1674s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1674s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1674s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1674s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15997,uid=1000,gid=1000 1674s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15997,uid=1000,gid=1000 1674s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 15997 1674s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1674s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1674s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1674s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1674s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15997,uid=1000,gid=1000 1674s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15997,uid=1000,gid=1000 1674s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 15997 1674s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1674s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1674s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1674s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1674s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15997,uid=1000,gid=1000 1674s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15997,uid=1000,gid=1000 1674s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 15997 1674s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1674s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1674s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1674s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1674s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15997,uid=1000,gid=1000 1674s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15997,uid=1000,gid=1000 1674s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 15997 1674s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1674s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1674s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1674s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1674s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15997,uid=1000,gid=1000 1674s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15997,uid=1000,gid=1000 1674s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 15997 1674s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1674s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1674s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1674s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1674s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15997,uid=1000,gid=1000 1674s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15997,uid=1000,gid=1000 1674s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 15997 1674s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1674s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1674s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1674s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1674s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15997,uid=1000,gid=1000 1674s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15997,uid=1000,gid=1000 1674s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 15997 1674s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1674s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1674s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1674s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1674s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15997,uid=1000,gid=1000 1674s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15997,uid=1000,gid=1000 1674s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 15997 1674s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1674s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1674s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1674s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1674s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15997,uid=1000,gid=1000 1674s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15997,uid=1000,gid=1000 1674s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 15997 1674s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1674s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1674s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1674s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1674s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15997,uid=1000,gid=1000 1674s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15997,uid=1000,gid=1000 1674s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 15997 1674s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1674s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1674s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1674s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1674s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15997,uid=1000,gid=1000 1674s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15997,uid=1000,gid=1000 1674s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 15997 1674s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1674s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1674s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1674s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1674s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15997,uid=1000,gid=1000 1674s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15997,uid=1000,gid=1000 1674s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 15997 1674s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1674s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1674s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1674s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1674s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15997,uid=1000,gid=1000 1674s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15997,uid=1000,gid=1000 1674s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 15997 1674s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1674s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1674s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1674s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1674s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15997,uid=1000,gid=1000 1674s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15997,uid=1000,gid=1000 1674s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 15997 1674s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1674s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1674s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1674s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1674s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15997,uid=1000,gid=1000 1674s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15997,uid=1000,gid=1000 1674s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 15997 1674s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1674s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1674s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1674s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1674s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15997,uid=1000,gid=1000 1674s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15997,uid=1000,gid=1000 1674s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 15997 1674s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1674s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1674s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1674s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1674s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15997,uid=1000,gid=1000 1674s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15997,uid=1000,gid=1000 1674s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 15997 1674s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1674s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1674s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1674s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1674s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15997,uid=1000,gid=1000 1674s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15997,uid=1000,gid=1000 1674s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 15997 1674s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1674s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1674s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1674s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1674s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15997,uid=1000,gid=1000 1674s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15997,uid=1000,gid=1000 1674s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 15997 1674s ok 4 /gdbus/server-auth/anonymous 1674s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_CJV1K2/gdbus/server-auth/external/.dirs/home 1674s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_CJV1K2/gdbus/server-auth/external/.dirs/cache 1674s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_CJV1K2/gdbus/server-auth/external/.dirs/system-config1:/tmp/test_gdbus-server-auth_CJV1K2/gdbus/server-auth/external/.dirs/system-config2 1674s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_CJV1K2/gdbus/server-auth/external/.dirs/config 1674s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_CJV1K2/gdbus/server-auth/external/.dirs/system-data1:/tmp/test_gdbus-server-auth_CJV1K2/gdbus/server-auth/external/.dirs/system-data2 1674s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_CJV1K2/gdbus/server-auth/external/.dirs/data 1674s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_CJV1K2/gdbus/server-auth/external/.dirs/state 1674s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_CJV1K2/gdbus/server-auth/external/.dirs/runtime 1674s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_CJV1K2/gdbus-server-auth-LYI3K2 / libdbus client, with flags: external:true anonymous:false sha1:false abstract:false tcp:false 1674s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_CJV1K2/gdbus-server-auth-LYI3K2/dbus-Mr4wMyjy 1674s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1674s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1674s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1674s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15997,uid=1000,gid=1000 1674s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15997,uid=1000,gid=1000 1674s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 15997 1674s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1674s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1674s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1674s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1674s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15997,uid=1000,gid=1000 1674s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15997,uid=1000,gid=1000 1674s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 15997 1674s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1674s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1674s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1674s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1674s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15997,uid=1000,gid=1000 1674s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15997,uid=1000,gid=1000 1674s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 15997 1674s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1674s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1674s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1674s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1674s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15997,uid=1000,gid=1000 1674s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15997,uid=1000,gid=1000 1674s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 15997 1674s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1674s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1674s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1674s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1674s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15997,uid=1000,gid=1000 1674s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15997,uid=1000,gid=1000 1674s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 15997 1674s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1674s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1674s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1674s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1674s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15997,uid=1000,gid=1000 1674s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15997,uid=1000,gid=1000 1674s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 15997 1674s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1674s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1674s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1674s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1674s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15997,uid=1000,gid=1000 1674s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15997,uid=1000,gid=1000 1674s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 15997 1674s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1674s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1674s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1674s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1674s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15997,uid=1000,gid=1000 1674s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15997,uid=1000,gid=1000 1674s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 15997 1674s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1674s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1674s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1674s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1674s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15997,uid=1000,gid=1000 1674s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15997,uid=1000,gid=1000 1674s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 15997 1674s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1674s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1674s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1674s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1674s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15997,uid=1000,gid=1000 1674s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15997,uid=1000,gid=1000 1674s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 15997 1674s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1674s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1674s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1674s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1674s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15997,uid=1000,gid=1000 1674s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15997,uid=1000,gid=1000 1674s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 15997 1674s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1674s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1674s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1674s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1674s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15997,uid=1000,gid=1000 1674s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15997,uid=1000,gid=1000 1674s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 15997 1674s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1674s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1674s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1674s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1674s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15997,uid=1000,gid=1000 1674s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15997,uid=1000,gid=1000 1674s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 15997 1674s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1674s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1674s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1674s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1674s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15997,uid=1000,gid=1000 1674s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15997,uid=1000,gid=1000 1674s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 15997 1674s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1674s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1674s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1674s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1674s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15997,uid=1000,gid=1000 1674s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15997,uid=1000,gid=1000 1674s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 15997 1674s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1674s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1674s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1674s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1674s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15997,uid=1000,gid=1000 1674s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15997,uid=1000,gid=1000 1674s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 15997 1674s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1674s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1674s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1674s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1674s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15997,uid=1000,gid=1000 1674s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15997,uid=1000,gid=1000 1674s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 15997 1674s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1674s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1674s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1674s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1674s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15997,uid=1000,gid=1000 1674s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15997,uid=1000,gid=1000 1674s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 15997 1674s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1674s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1674s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1674s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1674s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15997,uid=1000,gid=1000 1674s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15997,uid=1000,gid=1000 1674s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 15997 1674s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1674s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1674s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1674s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1674s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15997,uid=1000,gid=1000 1674s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15997,uid=1000,gid=1000 1674s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 15997 1674s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1674s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1674s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1674s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1674s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15997,uid=1000,gid=1000 1674s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15997,uid=1000,gid=1000 1674s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 15997 1674s ok 5 /gdbus/server-auth/external 1674s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_CJV1K2/gdbus/server-auth/sha1/.dirs/home 1674s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_CJV1K2/gdbus/server-auth/sha1/.dirs/cache 1674s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_CJV1K2/gdbus/server-auth/sha1/.dirs/system-config1:/tmp/test_gdbus-server-auth_CJV1K2/gdbus/server-auth/sha1/.dirs/system-config2 1674s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_CJV1K2/gdbus/server-auth/sha1/.dirs/config 1674s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_CJV1K2/gdbus/server-auth/sha1/.dirs/system-data1:/tmp/test_gdbus-server-auth_CJV1K2/gdbus/server-auth/sha1/.dirs/system-data2 1674s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_CJV1K2/gdbus/server-auth/sha1/.dirs/data 1674s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_CJV1K2/gdbus/server-auth/sha1/.dirs/state 1674s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_CJV1K2/gdbus/server-auth/sha1/.dirs/runtime 1674s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_CJV1K2/gdbus-server-auth-CVS3K2 / libdbus client, with flags: external:false anonymous:false sha1:true abstract:false tcp:false 1674s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_CJV1K2/gdbus-server-auth-CVS3K2/dbus-gn8P5b6x 1674s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1674s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1674s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1674s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15997,uid=1000,gid=1000 1674s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15997,uid=1000,gid=1000 1674s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 15997 1674s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1674s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1674s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1674s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1674s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15997,uid=1000,gid=1000 1674s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15997,uid=1000,gid=1000 1674s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 15997 1674s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1674s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1674s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1674s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1674s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15997,uid=1000,gid=1000 1674s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15997,uid=1000,gid=1000 1674s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 15997 1674s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1674s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1674s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1674s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1674s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15997,uid=1000,gid=1000 1674s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15997,uid=1000,gid=1000 1674s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 15997 1674s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1674s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1674s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1674s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1674s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15997,uid=1000,gid=1000 1674s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15997,uid=1000,gid=1000 1674s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 15997 1674s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1674s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1674s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1674s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1674s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15997,uid=1000,gid=1000 1674s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15997,uid=1000,gid=1000 1674s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 15997 1674s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1674s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1674s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1674s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1674s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15997,uid=1000,gid=1000 1674s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15997,uid=1000,gid=1000 1674s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 15997 1674s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1674s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1674s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1674s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1674s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15997,uid=1000,gid=1000 1674s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15997,uid=1000,gid=1000 1674s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 15997 1674s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1674s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1674s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1674s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1674s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15997,uid=1000,gid=1000 1674s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15997,uid=1000,gid=1000 1674s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 15997 1674s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1674s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1674s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1674s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1674s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15997,uid=1000,gid=1000 1674s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15997,uid=1000,gid=1000 1674s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 15997 1674s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1674s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1674s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1674s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1674s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15997,uid=1000,gid=1000 1674s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15997,uid=1000,gid=1000 1674s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 15997 1674s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1674s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1674s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1674s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1674s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15997,uid=1000,gid=1000 1674s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15997,uid=1000,gid=1000 1674s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 15997 1674s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1674s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1674s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1674s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1674s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15997,uid=1000,gid=1000 1674s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15997,uid=1000,gid=1000 1674s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 15997 1674s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1674s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1674s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1674s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1674s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15997,uid=1000,gid=1000 1674s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15997,uid=1000,gid=1000 1674s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 15997 1674s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1674s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1674s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1674s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1674s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15997,uid=1000,gid=1000 1674s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15997,uid=1000,gid=1000 1674s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 15997 1674s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1674s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1674s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1674s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1674s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15997,uid=1000,gid=1000 1674s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15997,uid=1000,gid=1000 1674s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 15997 1674s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1674s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1674s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1674s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1674s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15997,uid=1000,gid=1000 1674s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15997,uid=1000,gid=1000 1674s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 15997 1674s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1674s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1674s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1674s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1674s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15997,uid=1000,gid=1000 1674s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15997,uid=1000,gid=1000 1674s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 15997 1674s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1674s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1674s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1674s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1674s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15997,uid=1000,gid=1000 1674s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15997,uid=1000,gid=1000 1674s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 15997 1674s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1674s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1674s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1674s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1674s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15997,uid=1000,gid=1000 1674s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15997,uid=1000,gid=1000 1674s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 15997 1674s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1674s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1674s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1674s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1674s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15997,uid=1000,gid=1000 1674s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15997,uid=1000,gid=1000 1674s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 15997 1674s ok 6 /gdbus/server-auth/sha1 1674s # Start of anonymous tests 1674s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_CJV1K2/gdbus/server-auth/anonymous/tcp/.dirs/home 1674s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_CJV1K2/gdbus/server-auth/anonymous/tcp/.dirs/cache 1674s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_CJV1K2/gdbus/server-auth/anonymous/tcp/.dirs/system-config1:/tmp/test_gdbus-server-auth_CJV1K2/gdbus/server-auth/anonymous/tcp/.dirs/system-config2 1674s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_CJV1K2/gdbus/server-auth/anonymous/tcp/.dirs/config 1674s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_CJV1K2/gdbus/server-auth/anonymous/tcp/.dirs/system-data1:/tmp/test_gdbus-server-auth_CJV1K2/gdbus/server-auth/anonymous/tcp/.dirs/system-data2 1674s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_CJV1K2/gdbus/server-auth/anonymous/tcp/.dirs/data 1674s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_CJV1K2/gdbus/server-auth/anonymous/tcp/.dirs/state 1674s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_CJV1K2/gdbus/server-auth/anonymous/tcp/.dirs/runtime 1674s # Testing GDBus server at tcp:host=127.0.0.1 / libdbus client, with flags: external:false anonymous:true sha1:false abstract:false tcp:true 1674s # Connectable address: tcp:host=127.0.0.1,port=35861 1674s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1674s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1674s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1674s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1674s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1674s # GLib-GIO-DEBUG: Server says GDBus client is uid 4294967295, pid -1 1674s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1674s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1674s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1674s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1674s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1674s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1674s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 4294967295, pid -1 1674s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1674s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1674s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1674s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1674s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1674s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1674s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 4294967295, pid -1 1674s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1674s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1674s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1674s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1674s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1674s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1674s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 4294967295, pid -1 1674s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1674s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1674s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1674s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1674s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1674s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1674s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 4294967295, pid -1 1674s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1674s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1674s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1674s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1674s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1674s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1674s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 4294967295, pid -1 1674s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1674s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1674s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1674s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1674s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1674s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1674s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 4294967295, pid -1 1674s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1674s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1674s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1674s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1674s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1674s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1674s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 4294967295, pid -1 1674s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1674s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1674s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1674s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1674s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1674s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1674s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 4294967295, pid -1 1674s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1674s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1674s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1674s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1674s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1674s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1674s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 4294967295, pid -1 1674s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1674s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1674s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1674s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1674s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1674s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1674s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 4294967295, pid -1 1674s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1674s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1674s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1674s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1674s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1674s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1674s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 4294967295, pid -1 1674s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1674s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1674s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1674s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1674s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1674s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1674s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 4294967295, pid -1 1674s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1674s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1674s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1674s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1674s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1674s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1674s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 4294967295, pid -1 1674s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1674s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1674s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1674s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1674s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1674s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1674s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 4294967295, pid -1 1674s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1674s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1674s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1674s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1674s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1674s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1675s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 4294967295, pid -1 1675s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1675s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1675s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1675s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1675s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1675s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1675s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 4294967295, pid -1 1675s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1675s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1675s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1675s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1675s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1675s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1675s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 4294967295, pid -1 1675s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1675s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1675s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1675s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1675s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1675s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1675s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 4294967295, pid -1 1675s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1675s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1675s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1675s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1675s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1675s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1675s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 4294967295, pid -1 1675s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1675s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1675s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1675s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1675s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1675s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1675s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 4294967295, pid -1 1675s ok 7 /gdbus/server-auth/anonymous/tcp 1675s # slow test /gdbus/server-auth/anonymous/tcp executed in 0.99 secs 1675s # End of anonymous tests 1675s # Start of external tests 1675s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_CJV1K2/gdbus/server-auth/external/require-same-user/.dirs/home 1675s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_CJV1K2/gdbus/server-auth/external/require-same-user/.dirs/cache 1675s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_CJV1K2/gdbus/server-auth/external/require-same-user/.dirs/system-config1:/tmp/test_gdbus-server-auth_CJV1K2/gdbus/server-auth/external/require-same-user/.dirs/system-config2 1675s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_CJV1K2/gdbus/server-auth/external/require-same-user/.dirs/config 1675s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_CJV1K2/gdbus/server-auth/external/require-same-user/.dirs/system-data1:/tmp/test_gdbus-server-auth_CJV1K2/gdbus/server-auth/external/require-same-user/.dirs/system-data2 1675s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_CJV1K2/gdbus/server-auth/external/require-same-user/.dirs/data 1675s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_CJV1K2/gdbus/server-auth/external/require-same-user/.dirs/state 1675s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_CJV1K2/gdbus/server-auth/external/require-same-user/.dirs/runtime 1675s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_CJV1K2/gdbus-server-auth-XPP4K2 / libdbus client, with flags: external:true anonymous:false sha1:false abstract:false tcp:false 1675s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_CJV1K2/gdbus-server-auth-XPP4K2/dbus-04XMwAKR 1675s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1675s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1675s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1675s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15997,uid=1000,gid=1000 1675s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15997,uid=1000,gid=1000 1675s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 15997 1675s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1675s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1675s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1675s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1675s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15997,uid=1000,gid=1000 1675s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15997,uid=1000,gid=1000 1675s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 15997 1675s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1675s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1675s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1675s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1675s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15997,uid=1000,gid=1000 1675s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15997,uid=1000,gid=1000 1675s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 15997 1675s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1675s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1675s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1675s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1675s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15997,uid=1000,gid=1000 1675s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15997,uid=1000,gid=1000 1675s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 15997 1675s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1675s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1675s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1675s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1675s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15997,uid=1000,gid=1000 1675s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15997,uid=1000,gid=1000 1675s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 15997 1675s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1675s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1675s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1675s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1675s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15997,uid=1000,gid=1000 1675s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15997,uid=1000,gid=1000 1675s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 15997 1675s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1675s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1675s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1675s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1675s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15997,uid=1000,gid=1000 1675s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15997,uid=1000,gid=1000 1675s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 15997 1675s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1675s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1675s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1675s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1675s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15997,uid=1000,gid=1000 1675s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15997,uid=1000,gid=1000 1675s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 15997 1675s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1675s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1675s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1675s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1675s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15997,uid=1000,gid=1000 1675s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15997,uid=1000,gid=1000 1675s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 15997 1675s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1675s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1675s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1675s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1675s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15997,uid=1000,gid=1000 1675s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15997,uid=1000,gid=1000 1675s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 15997 1675s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1675s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1675s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1675s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1675s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15997,uid=1000,gid=1000 1675s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15997,uid=1000,gid=1000 1675s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 15997 1675s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1675s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1675s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1675s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1675s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15997,uid=1000,gid=1000 1675s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15997,uid=1000,gid=1000 1675s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 15997 1675s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1675s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1675s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1675s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1675s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15997,uid=1000,gid=1000 1675s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15997,uid=1000,gid=1000 1675s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 15997 1675s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1675s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1675s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1675s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1675s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15997,uid=1000,gid=1000 1675s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15997,uid=1000,gid=1000 1675s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 15997 1675s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1675s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1675s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1675s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1675s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15997,uid=1000,gid=1000 1675s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15997,uid=1000,gid=1000 1675s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 15997 1675s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1675s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1675s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1675s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1675s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15997,uid=1000,gid=1000 1675s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15997,uid=1000,gid=1000 1675s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 15997 1675s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1675s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1675s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1675s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1675s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15997,uid=1000,gid=1000 1675s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15997,uid=1000,gid=1000 1675s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 15997 1675s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1675s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1675s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1675s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1675s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15997,uid=1000,gid=1000 1675s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15997,uid=1000,gid=1000 1675s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 15997 1675s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1675s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1675s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1675s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1675s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15997,uid=1000,gid=1000 1675s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15997,uid=1000,gid=1000 1675s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 15997 1675s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1675s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1675s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1675s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1675s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15997,uid=1000,gid=1000 1675s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15997,uid=1000,gid=1000 1675s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 15997 1675s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1675s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1675s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1675s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1675s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15997,uid=1000,gid=1000 1675s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15997,uid=1000,gid=1000 1675s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 15997 1675s ok 8 /gdbus/server-auth/external/require-same-user 1675s # End of external tests 1675s # Start of sha1 tests 1675s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_CJV1K2/gdbus/server-auth/sha1/tcp/.dirs/home 1675s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_CJV1K2/gdbus/server-auth/sha1/tcp/.dirs/cache 1675s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_CJV1K2/gdbus/server-auth/sha1/tcp/.dirs/system-config1:/tmp/test_gdbus-server-auth_CJV1K2/gdbus/server-auth/sha1/tcp/.dirs/system-config2 1675s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_CJV1K2/gdbus/server-auth/sha1/tcp/.dirs/config 1675s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_CJV1K2/gdbus/server-auth/sha1/tcp/.dirs/system-data1:/tmp/test_gdbus-server-auth_CJV1K2/gdbus/server-auth/sha1/tcp/.dirs/system-data2 1675s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_CJV1K2/gdbus/server-auth/sha1/tcp/.dirs/data 1675s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_CJV1K2/gdbus/server-auth/sha1/tcp/.dirs/state 1675s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_CJV1K2/gdbus/server-auth/sha1/tcp/.dirs/runtime 1675s # Testing GDBus server at tcp:host=127.0.0.1 / libdbus client, with flags: external:false anonymous:false sha1:true abstract:false tcp:true 1675s # Connectable address: tcp:host=127.0.0.1,port=37597 1675s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1675s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1675s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1675s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1675s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1675s # GLib-GIO-DEBUG: Server says GDBus client is uid 4294967295, pid -1 1675s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1675s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1675s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1675s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1675s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1675s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1675s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 4294967295, pid -1 1675s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1675s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1675s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1675s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1675s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1675s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1675s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 4294967295, pid -1 1675s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1675s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1675s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1675s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1675s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1675s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1675s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 4294967295, pid -1 1675s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1675s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1675s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1675s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1675s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1675s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1675s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 4294967295, pid -1 1675s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1675s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1675s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1675s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1675s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1675s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1675s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 4294967295, pid -1 1675s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1675s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1675s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1675s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1675s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1675s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1675s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 4294967295, pid -1 1675s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1675s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1675s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1675s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1675s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1675s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1675s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 4294967295, pid -1 1675s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1675s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1675s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1675s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1675s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1675s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1675s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 4294967295, pid -1 1675s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1675s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1675s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1675s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1675s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1675s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1675s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 4294967295, pid -1 1675s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1675s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1675s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1675s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1675s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1675s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1675s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 4294967295, pid -1 1675s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1675s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1675s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1675s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1675s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1675s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1675s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 4294967295, pid -1 1675s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1675s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1675s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1675s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1675s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1675s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1675s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 4294967295, pid -1 1675s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1675s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1675s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1675s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1675s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1675s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1675s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 4294967295, pid -1 1675s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1675s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1675s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1675s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1675s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1675s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1675s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 4294967295, pid -1 1675s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1675s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1675s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1675s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1675s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1675s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1676s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 4294967295, pid -1 1676s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1676s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1676s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1676s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1676s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1676s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1676s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 4294967295, pid -1 1676s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1676s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1676s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1676s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1676s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1676s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1676s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 4294967295, pid -1 1676s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1676s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1676s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1676s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1676s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1676s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1676s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 4294967295, pid -1 1676s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1676s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1676s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1676s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1676s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1676s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1676s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 4294967295, pid -1 1676s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1676s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1676s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1676s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1676s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1676s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1676s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 4294967295, pid -1 1676s ok 9 /gdbus/server-auth/sha1/tcp 1676s # slow test /gdbus/server-auth/sha1/tcp executed in 1.00 secs 1676s # End of sha1 tests 1676s # End of server-auth tests 1676s # End of gdbus tests 1676s PASS: glib/gdbus-server-auth.test 1676s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.1s; system=0.1s; maxrss=9088 1676s autopkgtest [09:52:39]: test gdbus-server-auth: -----------------------] 1677s gdbus-server-auth PASS 1677s autopkgtest [09:52:40]: test gdbus-server-auth: - - - - - - - - - - results - - - - - - - - - - 1677s autopkgtest [09:52:40]: test gdbus-threading: preparing testbed 1682s Reading package lists... 1682s Building dependency tree... 1682s Reading state information... 1682s Starting pkgProblemResolver with broken count: 0 1682s Starting 2 pkgProblemResolver with broken count: 0 1682s Done 1683s The following NEW packages will be installed: 1683s autopkgtest-satdep 1683s 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. 1683s Need to get 0 B/772 B of archives. 1683s After this operation, 0 B of additional disk space will be used. 1683s Get:1 /tmp/autopkgtest.YcZbqk/7-autopkgtest-satdep.deb autopkgtest-satdep s390x 0 [772 B] 1683s Selecting previously unselected package autopkgtest-satdep. 1683s (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 ... 52768 files and directories currently installed.) 1683s Preparing to unpack .../7-autopkgtest-satdep.deb ... 1683s Unpacking autopkgtest-satdep (0) ... 1683s Setting up autopkgtest-satdep (0) ... 1686s (Reading database ... 52768 files and directories currently installed.) 1686s Removing autopkgtest-satdep (0) ... 1686s autopkgtest [09:52:49]: test gdbus-threading: [----------------------- 1687s Running test: glib/gdbus-threading.test 1687s TAP version 13 1687s # random seed: R02S32408d0feefc285d9597cc05a73b4b09 1687s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1687s 1..3 1687s # Start of gdbus tests 1687s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-threading_KA6ZK2/gdbus/delivery-in-thread/.dirs/home 1687s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-threading_KA6ZK2/gdbus/delivery-in-thread/.dirs/cache 1687s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-threading_KA6ZK2/gdbus/delivery-in-thread/.dirs/system-config1:/tmp/test_gdbus-threading_KA6ZK2/gdbus/delivery-in-thread/.dirs/system-config2 1687s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-threading_KA6ZK2/gdbus/delivery-in-thread/.dirs/config 1687s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-threading_KA6ZK2/gdbus/delivery-in-thread/.dirs/system-data1:/tmp/test_gdbus-threading_KA6ZK2/gdbus/delivery-in-thread/.dirs/system-data2 1687s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-threading_KA6ZK2/gdbus/delivery-in-thread/.dirs/data 1687s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-threading_KA6ZK2/gdbus/delivery-in-thread/.dirs/state 1687s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-threading_KA6ZK2/gdbus/delivery-in-thread/.dirs/runtime 1687s # GLib-GIO-DEBUG: refcount of 0x2aa1278a080 is not right (2 rather than 1) in test_delivery_in_thread(), sleeping 1687s # GLib-GIO-DEBUG: refcount of 0x2aa1278a080 is not right (2 rather than 1) in test_delivery_in_thread(), sleeping 1687s ok 1 /gdbus/delivery-in-thread 1687s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-threading_KA6ZK2/gdbus/method-calls-in-thread/.dirs/home 1687s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-threading_KA6ZK2/gdbus/method-calls-in-thread/.dirs/cache 1687s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-threading_KA6ZK2/gdbus/method-calls-in-thread/.dirs/system-config1:/tmp/test_gdbus-threading_KA6ZK2/gdbus/method-calls-in-thread/.dirs/system-config2 1687s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-threading_KA6ZK2/gdbus/method-calls-in-thread/.dirs/config 1687s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-threading_KA6ZK2/gdbus/method-calls-in-thread/.dirs/system-data1:/tmp/test_gdbus-threading_KA6ZK2/gdbus/method-calls-in-thread/.dirs/system-data2 1687s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-threading_KA6ZK2/gdbus/method-calls-in-thread/.dirs/data 1687s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-threading_KA6ZK2/gdbus/method-calls-in-thread/.dirs/state 1687s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-threading_KA6ZK2/gdbus/method-calls-in-thread/.dirs/runtime 1687s ok 2 /gdbus/method-calls-in-thread 1687s # slow test /gdbus/method-calls-in-thread executed in 0.83 secs 1687s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-threading_KA6ZK2/gdbus/threaded-singleton/.dirs/home 1687s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-threading_KA6ZK2/gdbus/threaded-singleton/.dirs/cache 1687s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-threading_KA6ZK2/gdbus/threaded-singleton/.dirs/system-config1:/tmp/test_gdbus-threading_KA6ZK2/gdbus/threaded-singleton/.dirs/system-config2 1687s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-threading_KA6ZK2/gdbus/threaded-singleton/.dirs/config 1687s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-threading_KA6ZK2/gdbus/threaded-singleton/.dirs/system-data1:/tmp/test_gdbus-threading_KA6ZK2/gdbus/threaded-singleton/.dirs/system-data2 1687s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-threading_KA6ZK2/gdbus/threaded-singleton/.dirs/data 1687s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-threading_KA6ZK2/gdbus/threaded-singleton/.dirs/state 1687s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-threading_KA6ZK2/gdbus/threaded-singleton/.dirs/runtime 1687s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1687s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1687s # GLib-GIO-DEBUG: refcount of 0x3ff8c001ea0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1687s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1687s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1687s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1687s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1687s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1687s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1688s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1688s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1688s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1688s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1688s # GLib-GIO-DEBUG: refcount of 0x3ff8c005990 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1688s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1688s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1688s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1688s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1688s # GLib-GIO-DEBUG: refcount of 0x3ff8c005990 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1688s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1688s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1688s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1688s # GLib-GIO-DEBUG: refcount of 0x3ff8c0064f0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1688s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1688s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1688s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1688s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1688s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1688s # GLib-GIO-DEBUG: refcount of 0x3ff8c0025d0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1688s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1688s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1688s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1688s # GLib-GIO-DEBUG: refcount of 0x3ff8c0025d0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1688s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1688s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1688s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1688s # GLib-GIO-DEBUG: refcount of 0x3ff8c0073f0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1688s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1688s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1688s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1688s # GLib-GIO-DEBUG: refcount of 0x3ff8c000a40 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1688s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1688s # GLib-GIO-DEBUG: refcount of 0x3ff8c000a40 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1688s # GLib-GIO-DEBUG: refcount of 0x3ff8c000a40 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1688s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1688s # GLib-GIO-DEBUG: refcount of 0x3ff8c000a40 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1688s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1688s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1688s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1688s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1688s # GLib-GIO-DEBUG: refcount of 0x3ff8c000a40 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1688s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1688s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1688s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1688s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1688s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1688s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1688s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1688s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1688s # GLib-GIO-DEBUG: refcount of 0x3ff8c000a40 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1688s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1688s # GLib-GIO-DEBUG: refcount of 0x3ff8c000a40 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1688s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1688s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1688s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1688s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1688s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1688s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1688s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1688s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1688s # GLib-GIO-DEBUG: refcount of 0x3ff8c000a40 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1688s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1688s # GLib-GIO-DEBUG: refcount of 0x3ff8c001780 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1688s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1688s # GLib-GIO-DEBUG: refcount of 0x3ff8c0011d0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1688s # GLib-GIO-DEBUG: refcount of 0x3ff8c0011d0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1688s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1688s # GLib-GIO-DEBUG: refcount of 0x3ff8c0011d0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1688s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1688s # GLib-GIO-DEBUG: refcount of 0x3ff8c0011d0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1689s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1689s # GLib-GIO-DEBUG: refcount of 0x3ff8c0011d0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1689s # GLib-GIO-DEBUG: refcount of 0x3ff8c0011d0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1689s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1689s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1689s # GLib-GIO-DEBUG: refcount of 0x3ff8c0011d0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1689s # GLib-GIO-DEBUG: refcount of 0x3ff8c0011d0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1689s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1689s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1689s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1689s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1689s # GLib-GIO-DEBUG: refcount of 0x3ff8c0063c0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1689s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1689s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1689s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1689s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1689s # GLib-GIO-DEBUG: refcount of 0x3ff8c0063c0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1689s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1689s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1689s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1689s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1689s # GLib-GIO-DEBUG: refcount of 0x3ff8c003580 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1689s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1689s # GLib-GIO-DEBUG: refcount of 0x3ff8c007860 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1689s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1689s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1689s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1689s # GLib-GIO-DEBUG: refcount of 0x3ff8c007860 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1689s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1689s # GLib-GIO-DEBUG: refcount of 0x3ff8c007860 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1689s # GLib-GIO-DEBUG: refcount of 0x3ff8c007860 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1689s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1689s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1689s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1689s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1689s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1689s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1689s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1689s # GLib-GIO-DEBUG: refcount of 0x3ff8c0066d0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1689s # GLib-GIO-DEBUG: refcount of 0x3ff8c0066d0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1689s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1689s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1689s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1689s # GLib-GIO-DEBUG: refcount of 0x3ff8c007ae0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1689s # GLib-GIO-DEBUG: refcount of 0x3ff8c007ae0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1689s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1689s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1689s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1689s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1689s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1689s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1689s # GLib-GIO-DEBUG: refcount of 0x3ff8c001ff0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1689s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1689s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1689s # GLib-GIO-DEBUG: refcount of 0x3ff8c0079f0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1689s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1689s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1689s # GLib-GIO-DEBUG: refcount of 0x3ff8c0079f0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1689s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1689s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1689s # GLib-GIO-DEBUG: refcount of 0x3ff8c0079f0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1690s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1690s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1690s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1690s # GLib-GIO-DEBUG: refcount of 0x3ff8c005710 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1690s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1690s # GLib-GIO-DEBUG: refcount of 0x3ff8c005710 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1690s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1690s # GLib-GIO-DEBUG: refcount of 0x3ff8c005710 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1690s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1690s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1690s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1690s # GLib-GIO-DEBUG: refcount of 0x3ff8c004400 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1690s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1690s # GLib-GIO-DEBUG: refcount of 0x3ff8c004400 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1690s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1690s # GLib-GIO-DEBUG: refcount of 0x3ff8c006f40 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1690s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1690s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1690s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1690s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1690s # GLib-GIO-DEBUG: refcount of 0x3ff8c006bd0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1690s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1690s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1690s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1690s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1690s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1690s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1690s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1690s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1690s # GLib-GIO-DEBUG: refcount of 0x3ff8c007a70 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1690s # GLib-GIO-DEBUG: refcount of 0x3ff8c007a70 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1690s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1690s # GLib-GIO-DEBUG: refcount of 0x3ff8c007a70 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1690s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1690s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1690s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1690s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1690s # GLib-GIO-DEBUG: refcount of 0x3ff8c007a70 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1690s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1690s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1690s # GLib-GIO-DEBUG: refcount of 0x3ff8c007a70 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1690s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1690s # GLib-GIO-DEBUG: refcount of 0x3ff8c007a70 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1690s # GLib-GIO-DEBUG: refcount of 0x3ff8c007a70 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1690s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1690s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1690s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1690s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1690s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1690s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1690s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1690s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1690s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1690s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1690s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1690s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1690s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1690s # GLib-GIO-DEBUG: refcount of 0x3ff8c008370 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1690s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1690s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1690s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1690s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1690s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1690s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1690s # GLib-GIO-DEBUG: refcount of 0x3ff8c006710 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1690s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1690s # GLib-GIO-DEBUG: refcount of 0x3ff8c006710 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1690s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1690s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1690s # GLib-GIO-DEBUG: refcount of 0x3ff8c006710 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1691s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1691s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1691s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1691s # GLib-GIO-DEBUG: refcount of 0x3ff8c0066f0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1691s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1691s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1691s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1691s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1691s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1691s # GLib-GIO-DEBUG: refcount of 0x3ff8c0066f0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1691s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1691s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1691s # GLib-GIO-DEBUG: refcount of 0x3ff8c0066f0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1691s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1691s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1691s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1691s # GLib-GIO-DEBUG: refcount of 0x3ff8c008050 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1691s # GLib-GIO-DEBUG: refcount of 0x3ff8c008050 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1691s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1691s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1691s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1691s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1691s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1691s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1691s # GLib-GIO-DEBUG: refcount of 0x3ff8c005820 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1691s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1691s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1691s # GLib-GIO-DEBUG: refcount of 0x3ff8c005820 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1691s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1691s # GLib-GIO-DEBUG: refcount of 0x3ff8c005820 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1691s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1691s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1691s # GLib-GIO-DEBUG: refcount of 0x3ff8c005820 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1691s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1691s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1691s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1691s # GLib-GIO-DEBUG: refcount of 0x3ff8c0043e0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1691s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1691s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1691s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1691s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1691s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1691s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1691s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1691s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1691s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1691s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1691s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1691s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1691s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1691s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1691s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1691s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1691s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1691s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1691s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1691s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1691s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1691s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1691s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1691s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1691s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1691s # GLib-GIO-DEBUG: refcount of 0x3ff8c0063c0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1691s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1691s # GLib-GIO-DEBUG: refcount of 0x3ff8c0063c0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1691s # GLib-GIO-DEBUG: refcount of 0x3ff8c0063c0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1691s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1691s # GLib-GIO-DEBUG: refcount of 0x3ff8c0063c0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1691s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1691s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1691s # GLib-GIO-DEBUG: refcount of 0x3ff8c007a50 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1691s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1691s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1691s # GLib-GIO-DEBUG: refcount of 0x3ff8c001780 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1691s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1691s # GLib-GIO-DEBUG: refcount of 0x3ff8c001780 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1691s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1691s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1691s # GLib-GIO-DEBUG: refcount of 0x3ff8c001780 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1692s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1692s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1692s # GLib-GIO-DEBUG: refcount of 0x3ff8c001780 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1692s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1692s # GLib-GIO-DEBUG: refcount of 0x3ff8c001780 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1692s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1692s # GLib-GIO-DEBUG: refcount of 0x3ff8c007f30 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1692s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1692s # GLib-GIO-DEBUG: refcount of 0x3ff8c007f30 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1692s # GLib-GIO-DEBUG: refcount of 0x3ff8c007f30 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1692s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1692s # GLib-GIO-DEBUG: refcount of 0x3ff8c007f30 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1692s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1692s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1692s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1692s # GLib-GIO-DEBUG: refcount of 0x3ff8c007f30 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1692s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1692s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1692s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1692s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1692s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1692s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1692s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1692s # GLib-GIO-DEBUG: refcount of 0x3ff8c002ef0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1692s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1692s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1692s # GLib-GIO-DEBUG: refcount of 0x3ff8c002ef0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1692s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1692s # GLib-GIO-DEBUG: refcount of 0x3ff8c005760 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1692s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1692s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1692s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1692s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1692s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1692s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1692s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1692s # GLib-GIO-DEBUG: refcount of 0x3ff8c001fa0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1692s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1692s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1692s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1692s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1692s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1692s # GLib-GIO-DEBUG: refcount of 0x3ff8c001740 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1692s Executing: glib/gdbus-threading.test 1692s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1692s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1692s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1692s # GLib-GIO-DEBUG: refcount of 0x3ff8c001740 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1692s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1692s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1692s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1692s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1692s # GLib-GIO-DEBUG: refcount of 0x3ff8c001740 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1692s # GLib-GIO-DEBUG: refcount of 0x3ff8c001740 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1692s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1692s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1692s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1692s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1692s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1692s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1692s # GLib-GIO-DEBUG: refcount of 0x3ff8c001fa0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1692s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1692s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1692s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1692s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1692s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1692s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1692s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1692s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1692s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1692s # GLib-GIO-DEBUG: refcount of 0x3ff8c003550 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1692s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1692s # GLib-GIO-DEBUG: refcount of 0x3ff8c003550 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1692s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1692s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1692s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1692s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1692s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1692s # GLib-GIO-DEBUG: refcount of 0x3ff8c003550 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1693s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1693s # GLib-GIO-DEBUG: refcount of 0x3ff8c003550 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1693s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1693s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1693s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1693s # GLib-GIO-DEBUG: refcount of 0x3ff8c0056e0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1693s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1693s # GLib-GIO-DEBUG: refcount of 0x3ff8c003550 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1693s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1693s # GLib-GIO-DEBUG: refcount of 0x3ff8c0056e0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1693s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1693s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1693s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1693s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1693s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1693s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1693s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1693s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1693s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1693s # GLib-GIO-DEBUG: refcount of 0x3ff8c000fa0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1693s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1693s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1693s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1693s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1693s # GLib-GIO-DEBUG: refcount of 0x3ff8c003550 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1693s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1693s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1693s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1693s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1693s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1693s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1693s # GLib-GIO-DEBUG: refcount of 0x3ff8c005760 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1693s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1693s # GLib-GIO-DEBUG: refcount of 0x3ff8c005760 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1693s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1693s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1693s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1693s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1693s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1693s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1693s # GLib-GIO-DEBUG: refcount of 0x3ff8c008490 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1693s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1693s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1693s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1693s # GLib-GIO-DEBUG: refcount of 0x3ff8c008490 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1693s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1693s # GLib-GIO-DEBUG: refcount of 0x3ff8c006ef0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1693s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1693s # GLib-GIO-DEBUG: refcount of 0x3ff8c008ab0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1693s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1693s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1693s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1693s # GLib-GIO-DEBUG: refcount of 0x3ff8c0084b0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1693s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1693s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1693s # GLib-GIO-DEBUG: refcount of 0x3ff8c006470 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1693s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1693s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1693s # GLib-GIO-DEBUG: refcount of 0x3ff8c002e10 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1693s # GLib-GIO-DEBUG: refcount of 0x3ff8c002e10 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1693s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1693s # GLib-GIO-DEBUG: refcount of 0x3ff8c002e10 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1693s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1693s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1693s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1693s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1693s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1693s # GLib-GIO-DEBUG: refcount of 0x3ff8c004c60 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1694s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1694s # GLib-GIO-DEBUG: refcount of 0x3ff8c004c60 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1694s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1694s # GLib-GIO-DEBUG: refcount of 0x3ff8c004c60 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1694s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1694s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1694s # GLib-GIO-DEBUG: refcount of 0x3ff8c004c60 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1694s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1694s # GLib-GIO-DEBUG: refcount of 0x3ff8c004c60 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1694s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1694s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1694s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1694s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1694s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1694s # GLib-GIO-DEBUG: refcount of 0x3ff8c008430 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1694s # GLib-GIO-DEBUG: refcount of 0x3ff8c008430 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1694s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1694s # GLib-GIO-DEBUG: refcount of 0x3ff8c008430 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1694s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1694s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1694s # GLib-GIO-DEBUG: refcount of 0x3ff8c008430 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1694s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1694s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1694s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1694s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1694s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1694s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1694s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1694s # GLib-GIO-DEBUG: refcount of 0x3ff8c006bd0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1694s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1694s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1694s # GLib-GIO-DEBUG: refcount of 0x3ff8c003550 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1694s # GLib-GIO-DEBUG: refcount of 0x3ff8c003550 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1694s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1694s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1694s # GLib-GIO-DEBUG: refcount of 0x3ff8c008920 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1694s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1694s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1694s # GLib-GIO-DEBUG: refcount of 0x3ff8c008920 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1694s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1694s # GLib-GIO-DEBUG: refcount of 0x3ff8c006fb0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1694s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1694s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1694s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1694s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1694s # GLib-GIO-DEBUG: refcount of 0x3ff8c006fb0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1694s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1694s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1694s # GLib-GIO-DEBUG: refcount of 0x3ff8c006fb0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1694s # GLib-GIO-DEBUG: refcount of 0x3ff8c006fb0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1694s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1694s # GLib-GIO-DEBUG: refcount of 0x3ff8c0085a0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1694s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1694s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1694s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1694s # GLib-GIO-DEBUG: refcount of 0x3ff8c0085a0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1695s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1695s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1695s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1695s # GLib-GIO-DEBUG: refcount of 0x3ff8c008580 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1695s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1695s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1695s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1695s # GLib-GIO-DEBUG: refcount of 0x3ff8c008580 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1695s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1695s # GLib-GIO-DEBUG: refcount of 0x3ff8c008580 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1695s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1695s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1695s # GLib-GIO-DEBUG: refcount of 0x3ff8c008580 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1695s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1695s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1695s # GLib-GIO-DEBUG: refcount of 0x3ff8c008580 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1695s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1695s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1695s # GLib-GIO-DEBUG: refcount of 0x3ff8c0086b0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1695s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1695s # GLib-GIO-DEBUG: refcount of 0x3ff8c0086b0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1695s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1695s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1695s # GLib-GIO-DEBUG: refcount of 0x3ff8c0086b0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1695s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1695s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1695s # GLib-GIO-DEBUG: refcount of 0x3ff8c0086b0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1695s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1695s # GLib-GIO-DEBUG: refcount of 0x3ff8c0086b0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1695s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1695s # GLib-GIO-DEBUG: refcount of 0x3ff8c0086b0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1695s # GLib-GIO-DEBUG: refcount of 0x3ff8c0086b0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1695s # GLib-GIO-DEBUG: refcount of 0x3ff8c0086b0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1695s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1695s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1695s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1695s # GLib-GIO-DEBUG: refcount of 0x3ff8c008920 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1695s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1695s # GLib-GIO-DEBUG: refcount of 0x3ff8c008920 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1695s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1695s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1695s # GLib-GIO-DEBUG: refcount of 0x3ff8c008920 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1695s # GLib-GIO-DEBUG: refcount of 0x3ff8c008920 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1695s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1695s # GLib-GIO-DEBUG: refcount of 0x3ff8c008b90 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1695s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1695s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1695s # GLib-GIO-DEBUG: refcount of 0x3ff8c004380 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1696s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1696s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1696s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1696s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1696s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1696s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1696s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1696s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1696s # GLib-GIO-DEBUG: refcount of 0x3ff8c0017b0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1696s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1696s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1696s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1696s # GLib-GIO-DEBUG: refcount of 0x3ff8c001200 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1696s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1696s # GLib-GIO-DEBUG: refcount of 0x3ff8c007050 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1696s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1696s # GLib-GIO-DEBUG: refcount of 0x3ff8c007050 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1696s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1696s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1696s # GLib-GIO-DEBUG: refcount of 0x3ff8c007010 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1696s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1696s # GLib-GIO-DEBUG: refcount of 0x3ff8c0043d0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1696s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1696s # GLib-GIO-DEBUG: refcount of 0x3ff8c0043d0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1696s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1696s # GLib-GIO-DEBUG: refcount of 0x3ff8c0043d0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1696s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1696s # GLib-GIO-DEBUG: refcount of 0x3ff8c0043d0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1696s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1696s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1696s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1696s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1696s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1696s # GLib-GIO-DEBUG: refcount of 0x3ff8c0043d0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1696s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1696s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1696s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1696s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1696s # GLib-GIO-DEBUG: refcount of 0x3ff8c0062b0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1696s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1696s # GLib-GIO-DEBUG: refcount of 0x3ff8c006130 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1696s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1696s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1696s # GLib-GIO-DEBUG: refcount of 0x3ff8c002a90 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1696s # GLib-GIO-DEBUG: refcount of 0x3ff8c002a90 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1696s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1696s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1696s # GLib-GIO-DEBUG: refcount of 0x3ff8c002a90 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1696s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1696s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1696s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1696s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1696s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1696s # GLib-GIO-DEBUG: refcount of 0x3ff8c002a90 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1696s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1696s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1696s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1696s # GLib-GIO-DEBUG: refcount of 0x3ff8c002a90 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1696s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1696s # GLib-GIO-DEBUG: refcount of 0x3ff8c002a90 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1697s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1697s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1697s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1697s # GLib-GIO-DEBUG: refcount of 0x3ff8c002a90 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1697s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1697s # GLib-GIO-DEBUG: refcount of 0x3ff8c002a90 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1697s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1697s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1697s # GLib-GIO-DEBUG: refcount of 0x3ff8c002a90 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1697s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1697s # GLib-GIO-DEBUG: refcount of 0x3ff8c002a90 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1697s # GLib-GIO-DEBUG: refcount of 0x3ff8c002a90 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1697s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1697s # GLib-GIO-DEBUG: refcount of 0x3ff8c002a90 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1697s # GLib-GIO-DEBUG: refcount of 0x3ff8c002a90 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1697s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1697s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1697s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1697s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1697s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1697s # GLib-GIO-DEBUG: refcount of 0x3ff8c005750 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1697s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1697s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1697s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1697s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1697s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1697s # GLib-GIO-DEBUG: refcount of 0x3ff8c005750 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1697s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1697s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1697s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1697s # GLib-GIO-DEBUG: refcount of 0x3ff8c008710 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1697s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1697s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1697s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1697s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1697s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1697s # GLib-GIO-DEBUG: refcount of 0x3ff8c008710 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1697s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1697s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1697s # GLib-GIO-DEBUG: refcount of 0x3ff8c008b40 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1697s Executing: glib/gdbus-threading.test 1697s # GLib-GIO-DEBUG: refcount of 0x3ff8c008b40 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1697s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1697s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1697s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1697s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1697s # GLib-GIO-DEBUG: refcount of 0x3ff8c008b40 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1697s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1697s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1697s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1697s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1697s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1697s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1697s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1697s # GLib-GIO-DEBUG: refcount of 0x3ff8c008b40 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1697s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1697s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1697s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1697s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1697s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1697s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1697s # GLib-GIO-DEBUG: refcount of 0x3ff8c0061a0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1697s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1697s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1697s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1697s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1697s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1697s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1697s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1697s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1697s # GLib-GIO-DEBUG: refcount of 0x3ff8c000fa0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1697s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1697s # GLib-GIO-DEBUG: refcount of 0x3ff8c000fa0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1697s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1697s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1698s # GLib-GIO-DEBUG: refcount of 0x3ff8c006450 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1698s # GLib-GIO-DEBUG: refcount of 0x3ff8c006450 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1698s # GLib-GIO-DEBUG: refcount of 0x3ff8c006450 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1698s # GLib-GIO-DEBUG: refcount of 0x3ff8c006450 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1698s # GLib-GIO-DEBUG: refcount of 0x3ff8c008d90 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1698s # GLib-GIO-DEBUG: refcount of 0x3ff8c008f40 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1698s # GLib-GIO-DEBUG: refcount of 0x3ff8c0014e0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1698s # GLib-GIO-DEBUG: refcount of 0x3ff8c0014e0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1698s # GLib-GIO-DEBUG: refcount of 0x3ff8c002ae0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1698s # GLib-GIO-DEBUG: refcount of 0x3ff8c002ae0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1698s # GLib-GIO-DEBUG: refcount of 0x3ff8c0088e0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1698s # GLib-GIO-DEBUG: refcount of 0x3ff8c0088e0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1698s # GLib-GIO-DEBUG: refcount of 0x3ff8c0088e0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1698s # GLib-GIO-DEBUG: refcount of 0x3ff8c0088e0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1698s # GLib-GIO-DEBUG: refcount of 0x3ff8c006bd0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1698s # GLib-GIO-DEBUG: refcount of 0x3ff8c006670 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1698s # GLib-GIO-DEBUG: refcount of 0x3ff8c006670 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1698s # GLib-GIO-DEBUG: refcount of 0x3ff8c006670 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1698s # GLib-GIO-DEBUG: refcount of 0x3ff8c002e60 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1699s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1699s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1699s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1699s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1699s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1699s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1699s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1699s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1699s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1699s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1699s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1699s # GLib-GIO-DEBUG: refcount of 0x3ff8c002e60 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1699s # GLib-GIO-DEBUG: refcount of 0x3ff8c002e60 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1699s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1699s # GLib-GIO-DEBUG: refcount of 0x3ff8c002e60 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1699s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1699s # GLib-GIO-DEBUG: refcount of 0x3ff8c002e60 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1699s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1699s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1699s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1699s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1699s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1699s # GLib-GIO-DEBUG: refcount of 0x3ff8c008b60 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1699s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1699s # GLib-GIO-DEBUG: refcount of 0x3ff8c008b60 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1699s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1699s # GLib-GIO-DEBUG: refcount of 0x3ff8c008e20 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1699s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1699s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1699s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1699s # GLib-GIO-DEBUG: refcount of 0x3ff8c008db0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1699s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1699s # GLib-GIO-DEBUG: refcount of 0x3ff8c008db0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1699s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1699s # GLib-GIO-DEBUG: refcount of 0x3ff8c008db0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1699s # GLib-GIO-DEBUG: refcount of 0x3ff8c008db0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1699s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1699s # GLib-GIO-DEBUG: refcount of 0x3ff8c008db0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1699s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1699s # GLib-GIO-DEBUG: refcount of 0x3ff8c008db0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1699s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1699s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1699s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1699s # GLib-GIO-DEBUG: refcount of 0x3ff8c009020 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1699s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1699s # GLib-GIO-DEBUG: refcount of 0x3ff8c008c70 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1699s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1699s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1699s # GLib-GIO-DEBUG: refcount of 0x3ff8c008c70 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1699s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1699s # GLib-GIO-DEBUG: refcount of 0x3ff8c008c70 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1699s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1699s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1699s # GLib-GIO-DEBUG: refcount of 0x3ff8c0086b0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1700s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1700s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1700s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1700s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1700s # GLib-GIO-DEBUG: refcount of 0x3ff8c0086b0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1700s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1700s # GLib-GIO-DEBUG: refcount of 0x3ff8c0089c0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1700s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1700s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1700s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1700s # GLib-GIO-DEBUG: refcount of 0x3ff8c0089c0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1700s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1700s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1700s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1700s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1700s # GLib-GIO-DEBUG: refcount of 0x3ff8c006f40 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1700s # GLib-GIO-DEBUG: refcount of 0x3ff8c006f40 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1700s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1700s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1700s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1700s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1700s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1700s # GLib-GIO-DEBUG: refcount of 0x3ff8c008ee0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1700s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1700s # GLib-GIO-DEBUG: refcount of 0x3ff8c008ee0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1700s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1700s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1700s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1700s # GLib-GIO-DEBUG: refcount of 0x3ff8c008ea0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1700s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1700s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1700s # GLib-GIO-DEBUG: refcount of 0x3ff8c008e20 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1700s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1700s # GLib-GIO-DEBUG: refcount of 0x3ff8c0056e0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1700s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1700s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1700s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1700s # GLib-GIO-DEBUG: refcount of 0x3ff8c0056e0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1700s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1700s # GLib-GIO-DEBUG: refcount of 0x3ff8c0056e0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1700s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1700s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1700s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1700s # GLib-GIO-DEBUG: refcount of 0x3ff8c0086b0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1700s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1700s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1700s # GLib-GIO-DEBUG: refcount of 0x3ff8c0086b0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1700s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1700s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1700s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1700s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1700s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1700s # GLib-GIO-DEBUG: refcount of 0x3ff8c0086b0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1700s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1700s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1700s # GLib-GIO-DEBUG: refcount of 0x3ff8c0086b0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1700s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1700s # GLib-GIO-DEBUG: refcount of 0x3ff8c0086b0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1700s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1700s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1700s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1700s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1700s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1700s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1700s # GLib-GIO-DEBUG: refcount of 0x3ff8c0086b0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1700s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1700s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1700s # GLib-GIO-DEBUG: refcount of 0x3ff8c001ff0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1701s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1701s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1701s # GLib-GIO-DEBUG: refcount of 0x3ff8c001ff0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1701s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1701s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1701s # GLib-GIO-DEBUG: refcount of 0x3ff8c001ff0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1701s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1701s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1701s # GLib-GIO-DEBUG: refcount of 0x3ff8c001ff0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1701s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1701s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1701s # GLib-GIO-DEBUG: refcount of 0x3ff8c0056e0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1701s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1701s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1701s # GLib-GIO-DEBUG: refcount of 0x3ff8c0056e0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1701s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1701s # GLib-GIO-DEBUG: refcount of 0x3ff8c006fe0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1701s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1701s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1701s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1701s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1701s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1701s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1701s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1701s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1701s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1701s # GLib-GIO-DEBUG: refcount of 0x3ff8c008ea0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1701s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1701s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1701s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1701s # GLib-GIO-DEBUG: refcount of 0x3ff8c0061b0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1701s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1701s # GLib-GIO-DEBUG: refcount of 0x3ff8c0061b0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1701s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1701s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1701s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1701s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1701s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1701s # GLib-GIO-DEBUG: refcount of 0x3ff8c0061b0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1701s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1701s # GLib-GIO-DEBUG: refcount of 0x3ff8c0061b0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1701s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1701s # GLib-GIO-DEBUG: refcount of 0x3ff8c003550 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1701s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1701s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1701s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1701s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1701s # GLib-GIO-DEBUG: refcount of 0x3ff8c007b30 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1701s # GLib-GIO-DEBUG: refcount of 0x3ff8c007b30 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1701s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1701s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1701s # GLib-GIO-DEBUG: refcount of 0x3ff8c007b30 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1701s # GLib-GIO-DEBUG: refcount of 0x3ff8c007b30 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1701s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1701s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1701s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1701s # GLib-GIO-DEBUG: refcount of 0x3ff8c008460 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1701s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1701s # GLib-GIO-DEBUG: refcount of 0x3ff8c008460 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1702s # GLib-GIO-DEBUG: refcount of 0x3ff8c008460 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1702s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1702s # GLib-GIO-DEBUG: refcount of 0x3ff8c008e20 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1702s # GLib-GIO-DEBUG: refcount of 0x3ff8c008e20 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1702s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1702s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1702s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1702s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1702s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1702s # GLib-GIO-DEBUG: refcount of 0x3ff8c008e20 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1702s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1702s # GLib-GIO-DEBUG: refcount of 0x3ff8c008e20 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1702s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1702s # GLib-GIO-DEBUG: refcount of 0x3ff8c008e20 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1702s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1702s # GLib-GIO-DEBUG: refcount of 0x3ff8c008e20 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1702s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1702s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1702s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1702s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1702s # GLib-GIO-DEBUG: refcount of 0x3ff8c008640 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1702s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1702s # GLib-GIO-DEBUG: refcount of 0x3ff8c008640 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1702s # GLib-GIO-DEBUG: refcount of 0x3ff8c008640 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1702s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1702s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1702s # GLib-GIO-DEBUG: refcount of 0x3ff8c008640 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1702s Executing: glib/gdbus-threading.test 1702s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1702s # GLib-GIO-DEBUG: refcount of 0x3ff8c000fa0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1702s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1702s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1702s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1702s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1702s # GLib-GIO-DEBUG: refcount of 0x3ff8c000fa0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1702s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1702s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1702s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1702s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1702s ok 3 /gdbus/threaded-singleton 1702s # slow test /gdbus/threaded-singleton executed in 14.76 secs 1702s # End of gdbus tests 1702s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1702s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1702s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1702s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1702s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1702s PASS: glib/gdbus-threading.test 1702s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.4s; system=0.2s; maxrss=6144 1703s autopkgtest [09:53:06]: test gdbus-threading: -----------------------] 1703s autopkgtest [09:53:06]: test gdbus-threading: - - - - - - - - - - results - - - - - - - - - - 1703s gdbus-threading PASS 1704s autopkgtest [09:53:07]: test gmenumodel: preparing testbed 1705s Reading package lists... 1705s Building dependency tree... 1705s Reading state information... 1706s Starting pkgProblemResolver with broken count: 0 1706s Starting 2 pkgProblemResolver with broken count: 0 1706s Done 1706s The following NEW packages will be installed: 1706s autopkgtest-satdep 1706s 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. 1706s Need to get 0 B/772 B of archives. 1706s After this operation, 0 B of additional disk space will be used. 1706s Get:1 /tmp/autopkgtest.YcZbqk/8-autopkgtest-satdep.deb autopkgtest-satdep s390x 0 [772 B] 1707s Selecting previously unselected package autopkgtest-satdep. 1707s (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 ... 52768 files and directories currently installed.) 1707s Preparing to unpack .../8-autopkgtest-satdep.deb ... 1707s Unpacking autopkgtest-satdep (0) ... 1707s Setting up autopkgtest-satdep (0) ... 1709s (Reading database ... 52768 files and directories currently installed.) 1709s Removing autopkgtest-satdep (0) ... 1710s autopkgtest [09:53:13]: test gmenumodel: [----------------------- 1710s Running test: glib/gmenumodel.test 1710s TAP version 13 1710s # random seed: R02S492fb549a374057f5d0e63be21c1d1d4 1710s 1..14 1710s # Start of gmenu tests 1711s ok 1 /gmenu/equality 1711s # slow test /gmenu/equality executed in 0.70 secs 1712s ok 2 /gmenu/random 1712s # slow test /gmenu/random executed in 0.86 secs 1712s ok 3 /gmenu/attributes 1712s ok 4 /gmenu/links 1712s ok 5 /gmenu/mutable 1712s ok 6 /gmenu/convenience 1712s ok 7 /gmenu/menuitem 1712s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/861 1712s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1712s ok 8 /gmenu/input-validation 1712s # Start of dbus tests 1712s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1713s ok 9 /gmenu/dbus/roundtrip 1713s # slow test /gmenu/dbus/roundtrip executed in 1.06 secs 1713s ok 10 /gmenu/dbus/subscriptions 1715s ok 11 /gmenu/dbus/threaded 1715s # slow test /gmenu/dbus/threaded executed in 1.32 secs 1715s # Start of peer tests 1716s Executing: glib/gmenumodel.test 1716s ok 12 /gmenu/dbus/peer/roundtrip 1716s # slow test /gmenu/dbus/peer/roundtrip executed in 1.07 secs 1716s ok 13 /gmenu/dbus/peer/subscriptions 1716s # End of peer tests 1716s # End of dbus tests 1716s # Start of attributes tests 1716s ok 14 /gmenu/attributes/iterate 1716s # End of attributes tests 1716s # End of gmenu tests 1716s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1716s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1716s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1716s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1716s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1716s PASS: glib/gmenumodel.test 1716s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=2.8s; system=0.1s; maxrss=54912 1716s autopkgtest [09:53:19]: test gmenumodel: -----------------------] 1717s gmenumodel PASS 1717s autopkgtest [09:53:20]: test gmenumodel: - - - - - - - - - - results - - - - - - - - - - 1717s autopkgtest [09:53:20]: test mainloop: preparing testbed 1719s Reading package lists... 1720s Building dependency tree... 1720s Reading state information... 1720s Starting pkgProblemResolver with broken count: 0 1720s Starting 2 pkgProblemResolver with broken count: 0 1720s Done 1720s The following NEW packages will be installed: 1720s autopkgtest-satdep 1720s 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. 1720s Need to get 0 B/772 B of archives. 1720s After this operation, 0 B of additional disk space will be used. 1720s Get:1 /tmp/autopkgtest.YcZbqk/9-autopkgtest-satdep.deb autopkgtest-satdep s390x 0 [772 B] 1721s Selecting previously unselected package autopkgtest-satdep. 1721s (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 ... 52768 files and directories currently installed.) 1721s Preparing to unpack .../9-autopkgtest-satdep.deb ... 1721s Unpacking autopkgtest-satdep (0) ... 1721s Setting up autopkgtest-satdep (0) ... 1723s (Reading database ... 52768 files and directories currently installed.) 1723s Removing autopkgtest-satdep (0) ... 1724s autopkgtest [09:53:27]: test mainloop: [----------------------- 1724s Running test: glib/mainloop.test 1724s TAP version 13 1724s # random seed: R02S159ec6758492a9391c073473f8126531 1724s 1..45 1724s # Start of maincontext tests 1724s ok 1 /maincontext/basic 1724s # Add same-priority sources: 23 1724s # Find each source: 2 1724s # Remove in random order: 15 1724s ok 2 /maincontext/nsources_same_priority 1724s # Add different-priority sources: 14 1724s # Find each source: 2 1724s # Remove in random order: 21 1724s ok 3 /maincontext/nsources_different_priority 1725s # Add sources from threads: 206 1725s # Remove sources from threads: 35 1725s ok 4 /maincontext/nsources_threadpool 1725s ok 5 /maincontext/source_finalization 1725s # /maincontext/idle-once summary: Test g_idle_add_once() works 1725s ok 6 /maincontext/idle-once 1725s # /maincontext/timeout-once summary: Test g_timeout_add_once() works 1725s ok 7 /maincontext/timeout-once 1725s # Start of source_finalization_from_source tests 1725s # /maincontext/source_finalization_from_source/0 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1725s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1725s ok 8 /maincontext/source_finalization_from_source/0 1725s # /maincontext/source_finalization_from_source/1 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1725s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1725s ok 9 /maincontext/source_finalization_from_source/1 1725s # /maincontext/source_finalization_from_source/2 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1725s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1725s ok 10 /maincontext/source_finalization_from_source/2 1725s # /maincontext/source_finalization_from_source/3 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1725s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1725s ok 11 /maincontext/source_finalization_from_source/3 1725s # /maincontext/source_finalization_from_source/4 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1725s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1725s ok 12 /maincontext/source_finalization_from_source/4 1725s # /maincontext/source_finalization_from_source/5 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1725s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1725s ok 13 /maincontext/source_finalization_from_source/5 1725s # /maincontext/source_finalization_from_source/6 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1725s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1725s ok 14 /maincontext/source_finalization_from_source/6 1725s # /maincontext/source_finalization_from_source/7 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1725s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1725s ok 15 /maincontext/source_finalization_from_source/7 1725s # /maincontext/source_finalization_from_source/8 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1725s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1725s ok 16 /maincontext/source_finalization_from_source/8 1725s # /maincontext/source_finalization_from_source/9 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1725s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1725s ok 17 /maincontext/source_finalization_from_source/9 1725s # End of source_finalization_from_source tests 1725s # Start of source_finalization_from_dispatch tests 1725s # /maincontext/source_finalization_from_dispatch/0 summary: Tests if freeing a GSource as part of another GSource during main context iteration works. 1725s ok 18 /maincontext/source_finalization_from_dispatch/0 1725s # /maincontext/source_finalization_from_dispatch/1 summary: Tests if freeing a GSource as part of another GSource during main context iteration works. 1725s ok 19 /maincontext/source_finalization_from_dispatch/1 1725s # /maincontext/source_finalization_from_dispatch/2 summary: Tests if freeing a GSource as part of another GSource during main context iteration works. 1725s ok 20 /maincontext/source_finalization_from_dispatch/2 1725s # End of source_finalization_from_dispatch tests 1725s # End of maincontext tests 1725s # Start of mainloop tests 1725s ok 21 /mainloop/basic 1725s ok 22 /mainloop/timeouts # SKIP Not running timing heavy test 1725s ok 23 /mainloop/priorities 1725s ok 24 /mainloop/invoke 1725s # slow test /mainloop/invoke executed in 0.50 secs 1726s ok 25 /mainloop/child_sources 1726s # slow test /mainloop/child_sources executed in 1.23 secs 1729s ok 26 /mainloop/recursive_child_sources 1729s # slow test /mainloop/recursive_child_sources executed in 2.23 secs 1729s ok 27 /mainloop/recursive_loop_child_sources 1729s ok 28 /mainloop/swapping_child_sources 1729s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=701283 1729s ok 29 /mainloop/blocked_child_sources 1729s Executing: glib/mainloop.test 1730s ok 30 /mainloop/source_time 1730s # slow test /mainloop/source_time executed in 1.00 secs 1730s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=687098 1730s ok 31 /mainloop/overflow 1730s ok 32 /mainloop/ready-time 1730s # slow test /mainloop/ready-time executed in 0.51 secs 1730s ok 33 /mainloop/wakeup 1730s ok 34 /mainloop/remove-invalid 1730s ok 35 /mainloop/unref-while-pending 1731s ok 36 /mainloop/unix-fd 1731s # slow test /mainloop/unix-fd executed in 0.65 secs 1731s ok 37 /mainloop/unix-fd-source 1731s ok 38 /mainloop/source-unix-fd-api 1731s ok 39 /mainloop/wait 1731s ok 40 /mainloop/unix-file-poll 1731s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/1592 1731s ok 41 /mainloop/unix-fd-priority 1731s ok 42 /mainloop/nfds 1731s ok 43 /mainloop/steal-fd 1731s # Start of ownerless-polling tests 1731s ok 44 /mainloop/ownerless-polling/attach-first 1731s ok 45 /mainloop/ownerless-polling/pop-first 1731s # End of ownerless-polling tests 1731s # End of mainloop tests 1731s PASS: glib/mainloop.test 1731s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.4s; system=0.6s; maxrss=16424 1732s autopkgtest [09:53:35]: test mainloop: -----------------------] 1732s autopkgtest [09:53:35]: test mainloop: - - - - - - - - - - results - - - - - - - - - - 1732s mainloop PASS 1732s autopkgtest [09:53:35]: test memory-monitor-dbus: preparing testbed 1734s Reading package lists... 1735s Building dependency tree... 1735s Reading state information... 1735s Starting pkgProblemResolver with broken count: 0 1735s Starting 2 pkgProblemResolver with broken count: 0 1735s Done 1735s The following NEW packages will be installed: 1735s autopkgtest-satdep 1735s 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. 1735s Need to get 0 B/772 B of archives. 1735s After this operation, 0 B of additional disk space will be used. 1735s Get:1 /tmp/autopkgtest.YcZbqk/10-autopkgtest-satdep.deb autopkgtest-satdep s390x 0 [772 B] 1736s Selecting previously unselected package autopkgtest-satdep. 1736s (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 ... 52768 files and directories currently installed.) 1736s Preparing to unpack .../10-autopkgtest-satdep.deb ... 1736s Unpacking autopkgtest-satdep (0) ... 1736s Setting up autopkgtest-satdep (0) ... 1739s (Reading database ... 52768 files and directories currently installed.) 1739s Removing autopkgtest-satdep (0) ... 1740s autopkgtest [09:53:43]: test memory-monitor-dbus: [----------------------- 1740s Running test: glib/memory-monitor-dbus.test 1740s TAP version 13 1740s ok 1 __main__.TestLowMemoryMonitor.test_low_memory_warning_signal 1740s # Received memory warning signal, level 1740s # Received memory warning signal, level 1740s # Received memory warning signal, level 1740s 1..1 1740s PASS: glib/memory-monitor-dbus.test 1740s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.2s; system=0.0s; maxrss=25968 1741s autopkgtest [09:53:44]: test memory-monitor-dbus: -----------------------] 1741s autopkgtest [09:53:44]: test memory-monitor-dbus: - - - - - - - - - - results - - - - - - - - - - 1741s memory-monitor-dbus PASS 1741s autopkgtest [09:53:44]: test socket: preparing testbed 1745s Reading package lists... 1745s Building dependency tree... 1745s Reading state information... 1745s Starting pkgProblemResolver with broken count: 0 1745s Starting 2 pkgProblemResolver with broken count: 0 1745s Done 1746s The following NEW packages will be installed: 1746s autopkgtest-satdep 1746s 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. 1746s Need to get 0 B/772 B of archives. 1746s After this operation, 0 B of additional disk space will be used. 1746s Get:1 /tmp/autopkgtest.YcZbqk/11-autopkgtest-satdep.deb autopkgtest-satdep s390x 0 [772 B] 1746s Selecting previously unselected package autopkgtest-satdep. 1746s (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 ... 52768 files and directories currently installed.) 1746s Preparing to unpack .../11-autopkgtest-satdep.deb ... 1746s Unpacking autopkgtest-satdep (0) ... 1746s Setting up autopkgtest-satdep (0) ... 1749s (Reading database ... 52768 files and directories currently installed.) 1749s Removing autopkgtest-satdep (0) ... 1761s autopkgtest [09:54:04]: test socket: [----------------------- 1762s Running test: glib/socket.test 1762s TAP version 13 1762s # random seed: R02S6bac23a9613d097978110a24ef19fa7c 1762s 1..28 1762s # Start of socket tests 1763s ok 1 /socket/ipv4_sync 1763s # slow test /socket/ipv4_sync executed in 1.00 secs 1764s ok 2 /socket/ipv4_async 1764s # slow test /socket/ipv4_async executed in 1.00 secs 1764s ok 3 /socket/ipv6_sync 1764s ok 4 /socket/ipv6_async 1764s ok 5 /socket/ipv6_v4mapped 1765s ok 6 /socket/close_graceful 1765s # slow test /socket/close_graceful executed in 1.00 secs 1765s ok 7 /socket/timed_wait # SKIP Not running timing heavy test 1765s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=741707 1765s ok 8 /socket/fd_reuse 1765s ok 9 /socket/address 1765s ok 10 /socket/unix-from-fd 1765s ok 11 /socket/unix-connection 1765s ok 12 /socket/unix-connection-ancillary-data 1765s ok 13 /socket/source-postmortem 1765s ok 14 /socket/read_write 1765s ok 15 /socket/read_writev 1765s # /socket/receive_bytes summary: Test basic functionality of g_socket_receive_bytes() 1765s ok 16 /socket/receive_bytes 1765s # /socket/receive_bytes_from summary: Test basic functionality of g_socket_receive_bytes_from() 1765s ok 17 /socket/receive_bytes_from 1766s # Start of ipv4_sync tests 1766s ok 18 /socket/ipv4_sync/datagram 1766s # Start of datagram tests 1766s ok 19 /socket/ipv4_sync/datagram/timeouts 1766s # slow test /socket/ipv4_sync/datagram/timeouts executed in 1.10 secs 1766s # End of datagram tests 1766s # End of ipv4_sync tests 1766s # Start of ipv6_sync tests 1766s ok 20 /socket/ipv6_sync/datagram 1766s # Start of datagram tests 1767s ok 21 /socket/ipv6_sync/datagram/timeouts 1767s # slow test /socket/ipv6_sync/datagram/timeouts executed in 1.10 secs 1767s # End of datagram tests 1767s # End of ipv6_sync tests 1767s # Start of reuse tests 1767s ok 22 /socket/reuse/tcp 1767s ok 23 /socket/reuse/udp 1767s # End of reuse tests 1767s # Start of get_available tests 1767s ok 24 /socket/get_available/datagram 1767s ok 25 /socket/get_available/stream 1767s # End of get_available tests 1767s # Start of credentials tests 1767s # Supported on this OS: GCredentials:linux-ucred:pid=0 1767s ok 26 /socket/credentials/tcp_client 1767s # Supported on this OS: GCredentials:linux-ucred:pid=0 1767s ok 27 /socket/credentials/tcp_server 1767s # Supported on this OS: GCredentials:linux-ucred:pid=18339,uid=1000,gid=1000 1767s ok 28 /socket/credentials/unix_socketpair 1767s # End of credentials tests 1767s # End of socket tests 1767s PASS: glib/socket.test 1767s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.0s; system=0.0s; maxrss=5504 1767s autopkgtest [09:54:10]: test socket: -----------------------] 1768s autopkgtest [09:54:11]: test socket: - - - - - - - - - - results - - - - - - - - - - 1768s socket PASS 1768s autopkgtest [09:54:11]: test testfilemonitor: preparing testbed 1773s Reading package lists... 1773s Building dependency tree... 1773s Reading state information... 1773s Starting pkgProblemResolver with broken count: 0 1773s Starting 2 pkgProblemResolver with broken count: 0 1773s Done 1774s The following NEW packages will be installed: 1774s autopkgtest-satdep 1774s 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. 1774s Need to get 0 B/772 B of archives. 1774s After this operation, 0 B of additional disk space will be used. 1774s Get:1 /tmp/autopkgtest.YcZbqk/12-autopkgtest-satdep.deb autopkgtest-satdep s390x 0 [772 B] 1774s Selecting previously unselected package autopkgtest-satdep. 1774s (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 ... 52768 files and directories currently installed.) 1774s Preparing to unpack .../12-autopkgtest-satdep.deb ... 1774s Unpacking autopkgtest-satdep (0) ... 1774s Setting up autopkgtest-satdep (0) ... 1784s (Reading database ... 52768 files and directories currently installed.) 1784s Removing autopkgtest-satdep (0) ... 1785s autopkgtest [09:54:28]: test testfilemonitor: [----------------------- 1785s Running test: glib/testfilemonitor.test 1785s TAP version 13 1785s # random seed: R02S7c7888feec7f9faecaaaa80824bb6991 1785s 1..8 1785s # Start of monitor tests 1785s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 1785s # Using temporary directory: /tmp/gio-test-testfilemonitor_X33LK2 1785s # Using GFileMonitor GInotifyFileMonitor 1787s ok 1 /monitor/atomic-replace 1787s # slow test /monitor/atomic-replace executed in 2.00 secs 1787s # Using temporary directory: /tmp/gio-test-testfilemonitor_DA8LK2 1787s # Using GFileMonitor GInotifyFileMonitor 1790s ok 2 /monitor/file-changes 1790s # slow test /monitor/file-changes executed in 2.50 secs 1790s # Using temporary directory: /tmp/gio-test-testfilemonitor_ZI2XK2 1790s # Using GFileMonitor GInotifyFileMonitor 1791s Executing: glib/testfilemonitor.test 1794s ok 3 /monitor/dir-monitor 1794s # slow test /monitor/dir-monitor executed in 3.51 secs 1794s # Using temporary directory: /tmp/gio-test-testfilemonitor_QXHMK2 1794s # Using GFileMonitor GInotifyFileMonitor 1796s Executing: glib/testfilemonitor.test 1801s Executing: glib/testfilemonitor.test 1806s Executing: glib/testfilemonitor.test 1811s Executing: glib/testfilemonitor.test 1816s Executing: glib/testfilemonitor.test 1819s ok 4 /monitor/dir-not-existent 1819s # slow test /monitor/dir-not-existent executed in 25.02 secs 1819s # Using temporary directory: /tmp/gio-test-testfilemonitor_XU9YK2 1819s # Using GFileMonitor 0 GInotifyFileMonitor 1819s # Using GFileMonitor 1 GInotifyFileMonitor 1821s ok 5 /monitor/cross-dir-moves 1821s # slow test /monitor/cross-dir-moves executed in 2.00 secs 1821s # Using temporary directory: /tmp/gio-test-testfilemonitor_FGEZK2 1821s # /monitor/finalize-in-callback summary: Test that finalization of a GFileMonitor in one of its callbacks doesn?t cause a deadlock. 1821s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/1941 1821s ok 6 /monitor/finalize-in-callback 1821s # Using temporary directory: /tmp/gio-test-testfilemonitor_DKFZK2 1821s # /monitor/root summary: Test that GFileMonitor can monitor the root directory. 1821s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/merge_requests/3241 1821s ok 7 /monitor/root 1821s # Start of file tests 1821s # Using temporary directory: /tmp/gio-test-testfilemonitor_YHFZK2 1821s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=755721 1821s # Running with hard link tests 1821s # Using GFileMonitor GInotifyFileMonitor 1821s Executing: glib/testfilemonitor.test 1824s # Event 0 at expected index 7 skipped because it is marked as optional 1824s # Event 2 at expected index 11 skipped because it is marked as optional 1824s ok 8 /monitor/file/hard-links 1824s # slow test /monitor/file/hard-links executed in 3.51 secs 1824s # End of file tests 1824s # End of monitor tests 1824s PASS: glib/testfilemonitor.test 1824s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.0s; system=0.0s; maxrss=5632 1824s autopkgtest [09:55:07]: test testfilemonitor: -----------------------] 1826s autopkgtest [09:55:09]: test testfilemonitor: - - - - - - - - - - results - - - - - - - - - - 1826s testfilemonitor PASS 1826s autopkgtest [09:55:09]: test thread-pool-slow: preparing testbed 1830s Reading package lists... 1830s Building dependency tree... 1830s Reading state information... 1830s Starting pkgProblemResolver with broken count: 0 1830s Starting 2 pkgProblemResolver with broken count: 0 1830s Done 1831s The following NEW packages will be installed: 1831s autopkgtest-satdep 1831s 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. 1831s Need to get 0 B/772 B of archives. 1831s After this operation, 0 B of additional disk space will be used. 1831s Get:1 /tmp/autopkgtest.YcZbqk/13-autopkgtest-satdep.deb autopkgtest-satdep s390x 0 [772 B] 1831s Selecting previously unselected package autopkgtest-satdep. 1831s (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 ... 52768 files and directories currently installed.) 1831s Preparing to unpack .../13-autopkgtest-satdep.deb ... 1831s Unpacking autopkgtest-satdep (0) ... 1831s Setting up autopkgtest-satdep (0) ... 1837s (Reading database ... 52768 files and directories currently installed.) 1837s Removing autopkgtest-satdep (0) ... 1838s autopkgtest [09:55:21]: test thread-pool-slow: [----------------------- 1838s Running test: glib/thread-pool-slow.test 1838s TAP version 13 1838s # random seed: R02S94308e3d1117a3c4f8ea5497c68436f5 1838s 1..7 1838s # Start of threadpool tests 1838s ok 1 /threadpool/functions 1839s ok 2 /threadpool/stop-unused 1839s # slow test /threadpool/stop-unused executed in 0.51 secs 1839s ok 3 /threadpool/pools 1839s # [unsorted] ===> pushed new thread with id:94, number of threads:1, unprocessed:0 1839s # [unsorted] ===> pushed new thread with id:78, number of threads:2, unprocessed:0 1839s # [unsorted] ===> pushed new thread with id:68, number of threads:3, unprocessed:1 1839s # [unsorted] ===> pushed new thread with id:41, number of threads:4, unprocessed:1 1839s # [unsorted] ===> pushed new thread with id:69, number of threads:5, unprocessed:2 1839s # [unsorted] ===> pushed new thread with id:58, number of threads:6, unprocessed:1 1839s # [unsorted] ===> pushed new thread with id:91, number of threads:7, unprocessed:1 1839s # [unsorted] ===> pushed new thread with id:85, number of threads:8, unprocessed:1 1839s # [unsorted] ===> pushed new thread with id:95, number of threads:9, unprocessed:1 1839s # [unsorted] ===> pushed new thread with id:70, number of threads:10, unprocessed:0 1839s # [unsorted] ===> pushed new thread with id:14, number of threads:10, unprocessed:1 1839s # [unsorted] ===> pushed new thread with id:4, number of threads:10, unprocessed:2 1839s # [unsorted] ===> pushed new thread with id:32, number of threads:10, unprocessed:3 1839s # [unsorted] ===> pushed new thread with id:69, number of threads:10, unprocessed:4 1839s # [unsorted] ===> pushed new thread with id:16, number of threads:10, unprocessed:5 1839s # [unsorted] ===> pushed new thread with id:95, number of threads:10, unprocessed:6 1839s # [unsorted] ===> pushed new thread with id:98, number of threads:10, unprocessed:7 1839s # [unsorted] ===> pushed new thread with id:71, number of threads:10, unprocessed:8 1839s # [unsorted] ===> pushed new thread with id:39, number of threads:10, unprocessed:9 1839s # [unsorted] ===> pushed new thread with id:50, number of threads:10, unprocessed:10 1839s # [unsorted] ===> pushed new thread with id:15, number of threads:10, unprocessed:11 1839s # [unsorted] ===> pushed new thread with id:26, number of threads:10, unprocessed:12 1839s # [unsorted] ===> pushed new thread with id:7, number of threads:10, unprocessed:13 1839s # [unsorted] ===> pushed new thread with id:22, number of threads:10, unprocessed:14 1839s # [unsorted] ===> pushed new thread with id:35, number of threads:10, unprocessed:15 1839s # [unsorted] ===> pushed new thread with id:97, number of threads:10, unprocessed:16 1839s # [unsorted] ===> pushed new thread with id:92, number of threads:10, unprocessed:17 1839s # [unsorted] ===> pushed new thread with id:8, number of threads:10, unprocessed:18 1839s # [unsorted] ===> pushed new thread with id:84, number of threads:10, unprocessed:19 1839s # [unsorted] ===> pushed new thread with id:13, number of threads:10, unprocessed:20 1839s # [unsorted] ===> pushed new thread with id:35, number of threads:10, unprocessed:21 1839s # [unsorted] ===> pushed new thread with id:46, number of threads:10, unprocessed:22 1839s # [unsorted] ===> pushed new thread with id:65, number of threads:10, unprocessed:23 1839s # [unsorted] ===> pushed new thread with id:88, number of threads:10, unprocessed:24 1839s # [unsorted] ===> pushed new thread with id:17, number of threads:10, unprocessed:25 1839s # [unsorted] ===> pushed new thread with id:87, number of threads:10, unprocessed:26 1839s # [unsorted] ===> pushed new thread with id:37, number of threads:10, unprocessed:27 1839s # [unsorted] ===> pushed new thread with id:62, number of threads:10, unprocessed:28 1839s # [unsorted] ===> pushed new thread with id:5, number of threads:10, unprocessed:29 1839s # [unsorted] ===> pushed new thread with id:27, number of threads:10, unprocessed:30 1839s # [unsorted] ===> pushed new thread with id:2, number of threads:10, unprocessed:31 1839s # [unsorted] ===> pushed new thread with id:31, number of threads:10, unprocessed:32 1839s # [unsorted] ===> pushed new thread with id:96, number of threads:10, unprocessed:33 1839s # [unsorted] ===> pushed new thread with id:48, number of threads:10, unprocessed:34 1839s # [unsorted] ===> pushed new thread with id:35, number of threads:10, unprocessed:35 1839s # [unsorted] ===> pushed new thread with id:11, number of threads:10, unprocessed:36 1839s # [unsorted] ===> pushed new thread with id:37, number of threads:10, unprocessed:37 1839s # [unsorted] ===> pushed new thread with id:42, number of threads:10, unprocessed:38 1839s # [unsorted] ===> pushed new thread with id:52, number of threads:10, unprocessed:39 1839s # [unsorted] ===> pushed new thread with id:60, number of threads:10, unprocessed:40 1839s # [unsorted] ===> pushed new thread with id:28, number of threads:10, unprocessed:41 1839s # [unsorted] ===> pushed new thread with id:7, number of threads:10, unprocessed:42 1839s # [unsorted] ===> pushed new thread with id:35, number of threads:10, unprocessed:43 1839s # [unsorted] ===> pushed new thread with id:86, number of threads:10, unprocessed:44 1839s # [unsorted] ===> pushed new thread with id:76, number of threads:10, unprocessed:45 1839s # [unsorted] ===> pushed new thread with id:25, number of threads:10, unprocessed:46 1839s # [unsorted] ===> pushed new thread with id:16, number of threads:10, unprocessed:47 1839s # [unsorted] ===> pushed new thread with id:70, number of threads:10, unprocessed:48 1839s # [unsorted] ===> pushed new thread with id:6, number of threads:10, unprocessed:49 1839s # [unsorted] ===> pushed new thread with id:54, number of threads:10, unprocessed:50 1839s # [unsorted] ===> pushed new thread with id:62, number of threads:10, unprocessed:51 1839s # [unsorted] ===> pushed new thread with id:90, number of threads:10, unprocessed:52 1839s # [unsorted] ===> pushed new thread with id:78, number of threads:10, unprocessed:53 1839s # [unsorted] ===> pushed new thread with id:10, number of threads:10, unprocessed:54 1839s # [unsorted] ===> pushed new thread with id:73, number of threads:10, unprocessed:55 1839s # [unsorted] ===> pushed new thread with id:68, number of threads:10, unprocessed:56 1839s # [unsorted] ===> pushed new thread with id:88, number of threads:10, unprocessed:57 1839s # [unsorted] ===> pushed new thread with id:70, number of threads:10, unprocessed:58 1839s # [unsorted] ===> pushed new thread with id:64, number of threads:10, unprocessed:59 1839s # [unsorted] ===> pushed new thread with id:25, number of threads:10, unprocessed:60 1839s # [unsorted] ===> pushed new thread with id:47, number of threads:10, unprocessed:61 1839s # [unsorted] ===> pushed new thread with id:2, number of threads:10, unprocessed:62 1839s # [unsorted] ===> pushed new thread with id:99, number of threads:10, unprocessed:63 1839s # [unsorted] ===> pushed new thread with id:71, number of threads:10, unprocessed:64 1839s # [unsorted] ===> pushed new thread with id:96, number of threads:10, unprocessed:65 1839s # [unsorted] ===> pushed new thread with id:19, number of threads:10, unprocessed:66 1839s # [unsorted] ===> pushed new thread with id:85, number of threads:10, unprocessed:67 1839s # [unsorted] ===> pushed new thread with id:38, number of threads:10, unprocessed:68 1839s # [unsorted] ===> pushed new thread with id:64, number of threads:10, unprocessed:69 1839s # [unsorted] ===> pushed new thread with id:43, number of threads:10, unprocessed:70 1839s # [unsorted] ===> pushed new thread with id:26, number of threads:10, unprocessed:71 1839s # [unsorted] ===> pushed new thread with id:41, number of threads:10, unprocessed:72 1839s # [unsorted] ===> pushed new thread with id:50, number of threads:10, unprocessed:73 1839s # [unsorted] ===> pushed new thread with id:75, number of threads:10, unprocessed:74 1839s # [unsorted] ===> pushed new thread with id:55, number of threads:10, unprocessed:75 1839s # [unsorted] ===> pushed new thread with id:44, number of threads:10, unprocessed:76 1839s # [unsorted] ===> pushed new thread with id:57, number of threads:10, unprocessed:77 1839s # [unsorted] ===> pushed new thread with id:30, number of threads:10, unprocessed:78 1839s # [unsorted] ===> pushed new thread with id:58, number of threads:10, unprocessed:79 1839s # [unsorted] ===> pushed new thread with id:33, number of threads:10, unprocessed:80 1839s # [unsorted] ===> pushed new thread with id:84, number of threads:10, unprocessed:81 1839s # [unsorted] ===> pushed new thread with id:11, number of threads:10, unprocessed:82 1839s # [unsorted] ===> pushed new thread with id:64, number of threads:10, unprocessed:83 1839s # [unsorted] ===> pushed new thread with id:21, number of threads:10, unprocessed:84 1839s # [unsorted] ===> pushed new thread with id:19, number of threads:10, unprocessed:85 1839s # [unsorted] ===> pushed new thread with id:10, number of threads:10, unprocessed:86 1839s # [unsorted] ===> pushed new thread with id:73, number of threads:10, unprocessed:87 1839s # [unsorted] ===> pushed new thread with id:58, number of threads:10, unprocessed:88 1839s # [unsorted] ===> pushed new thread with id:75, number of threads:10, unprocessed:89 1839s # [unsorted] ===> pushed new thread with id:67, number of threads:10, unprocessed:90 1839s ok 4 /threadpool/no-sort 1839s # [ sorted] ===> pushed new thread with id:58, number of threads:0, unprocessed:1 1839s # [ sorted] ===> pushed new thread with id:57, number of threads:0, unprocessed:2 1839s # [ sorted] ===> pushed new thread with id:94, number of threads:0, unprocessed:3 1839s # [ sorted] ===> pushed new thread with id:5, number of threads:0, unprocessed:4 1839s # [ sorted] ===> pushed new thread with id:77, number of threads:0, unprocessed:5 1839s # [ sorted] ===> pushed new thread with id:90, number of threads:0, unprocessed:6 1839s # [ sorted] ===> pushed new thread with id:99, number of threads:0, unprocessed:7 1839s # [ sorted] ===> pushed new thread with id:17, number of threads:0, unprocessed:8 1839s # [ sorted] ===> pushed new thread with id:75, number of threads:0, unprocessed:9 1839s # [ sorted] ===> pushed new thread with id:21, number of threads:0, unprocessed:10 1839s # [ sorted] ===> pushed new thread with id:23, number of threads:0, unprocessed:11 1839s # [ sorted] ===> pushed new thread with id:54, number of threads:0, unprocessed:12 1839s # [ sorted] ===> pushed new thread with id:70, number of threads:0, unprocessed:13 1839s # [ sorted] ===> pushed new thread with id:91, number of threads:0, unprocessed:14 1839s # [ sorted] ===> pushed new thread with id:39, number of threads:0, unprocessed:15 1839s # [ sorted] ===> pushed new thread with id:70, number of threads:0, unprocessed:16 1839s # [ sorted] ===> pushed new thread with id:98, number of threads:0, unprocessed:17 1839s # [ sorted] ===> pushed new thread with id:98, number of threads:0, unprocessed:18 1839s # [ sorted] ===> pushed new thread with id:99, number of threads:0, unprocessed:19 1839s # [ sorted] ===> pushed new thread with id:71, number of threads:0, unprocessed:20 1839s # [ sorted] ===> pushed new thread with id:40, number of threads:0, unprocessed:21 1839s # [ sorted] ===> pushed new thread with id:7, number of threads:0, unprocessed:22 1839s # [ sorted] ===> pushed new thread with id:90, number of threads:0, unprocessed:23 1839s # [ sorted] ===> pushed new thread with id:44, number of threads:0, unprocessed:24 1839s # [ sorted] ===> pushed new thread with id:24, number of threads:0, unprocessed:25 1839s # [ sorted] ===> pushed new thread with id:83, number of threads:0, unprocessed:26 1839s # [ sorted] ===> pushed new thread with id:9, number of threads:0, unprocessed:27 1839s # [ sorted] ===> pushed new thread with id:55, number of threads:0, unprocessed:28 1839s # [ sorted] ===> pushed new thread with id:37, number of threads:0, unprocessed:29 1839s # [ sorted] ===> pushed new thread with id:93, number of threads:0, unprocessed:30 1839s # [ sorted] ===> pushed new thread with id:82, number of threads:0, unprocessed:31 1839s # [ sorted] ===> pushed new thread with id:27, number of threads:0, unprocessed:32 1839s # [ sorted] ===> pushed new thread with id:89, number of threads:0, unprocessed:33 1839s # [ sorted] ===> pushed new thread with id:13, number of threads:0, unprocessed:34 1839s # [ sorted] ===> pushed new thread with id:62, number of threads:0, unprocessed:35 1839s # [ sorted] ===> pushed new thread with id:9, number of threads:0, unprocessed:36 1839s # [ sorted] ===> pushed new thread with id:46, number of threads:0, unprocessed:37 1839s # [ sorted] ===> pushed new thread with id:73, number of threads:0, unprocessed:38 1839s # [ sorted] ===> pushed new thread with id:85, number of threads:0, unprocessed:39 1839s # [ sorted] ===> pushed new thread with id:80, number of threads:0, unprocessed:40 1839s # [ sorted] ===> pushed new thread with id:45, number of threads:0, unprocessed:41 1839s # [ sorted] ===> pushed new thread with id:47, number of threads:0, unprocessed:42 1839s # [ sorted] ===> pushed new thread with id:38, number of threads:0, unprocessed:43 1839s # [ sorted] ===> pushed new thread with id:20, number of threads:0, unprocessed:44 1839s # [ sorted] ===> pushed new thread with id:77, number of threads:0, unprocessed:45 1839s # [ sorted] ===> pushed new thread with id:74, number of threads:0, unprocessed:46 1839s # [ sorted] ===> pushed new thread with id:45, number of threads:0, unprocessed:47 1839s # [ sorted] ===> pushed new thread with id:20, number of threads:0, unprocessed:48 1839s # [ sorted] ===> pushed new thread with id:85, number of threads:0, unprocessed:49 1839s # [ sorted] ===> pushed new thread with id:98, number of threads:0, unprocessed:50 1839s # [ sorted] ===> pushed new thread with id:20, number of threads:0, unprocessed:51 1839s # [ sorted] ===> pushed new thread with id:94, number of threads:0, unprocessed:52 1839s # [ sorted] ===> pushed new thread with id:22, number of threads:0, unprocessed:53 1839s # [ sorted] ===> pushed new thread with id:51, number of threads:0, unprocessed:54 1839s # [ sorted] ===> pushed new thread with id:18, number of threads:0, unprocessed:55 1839s # [ sorted] ===> pushed new thread with id:4, number of threads:0, unprocessed:56 1839s # [ sorted] ===> pushed new thread with id:83, number of threads:0, unprocessed:57 1839s # [ sorted] ===> pushed new thread with id:42, number of threads:0, unprocessed:58 1839s # [ sorted] ===> pushed new thread with id:43, number of threads:0, unprocessed:59 1839s # [ sorted] ===> pushed new thread with id:54, number of threads:0, unprocessed:60 1839s # [ sorted] ===> pushed new thread with id:61, number of threads:0, unprocessed:61 1839s # [ sorted] ===> pushed new thread with id:24, number of threads:0, unprocessed:62 1839s # [ sorted] ===> pushed new thread with id:15, number of threads:0, unprocessed:63 1839s # [ sorted] ===> pushed new thread with id:32, number of threads:0, unprocessed:64 1839s # [ sorted] ===> pushed new thread with id:24, number of threads:0, unprocessed:65 1839s # [ sorted] ===> pushed new thread with id:21, number of threads:0, unprocessed:66 1839s # [ sorted] ===> pushed new thread with id:51, number of threads:0, unprocessed:67 1839s # [ sorted] ===> pushed new thread with id:33, number of threads:0, unprocessed:68 1839s # [ sorted] ===> pushed new thread with id:27, number of threads:0, unprocessed:69 1839s # [ sorted] ===> pushed new thread with id:59, number of threads:0, unprocessed:70 1839s # [ sorted] ===> pushed new thread with id:56, number of threads:0, unprocessed:71 1839s # [ sorted] ===> pushed new thread with id:32, number of threads:0, unprocessed:72 1839s # [ sorted] ===> pushed new thread with id:74, number of threads:0, unprocessed:73 1839s # [ sorted] ===> pushed new thread with id:41, number of threads:0, unprocessed:74 1839s # [ sorted] ===> pushed new thread with id:10, number of threads:0, unprocessed:75 1839s # [ sorted] ===> pushed new thread with id:71, number of threads:0, unprocessed:76 1839s # [ sorted] ===> pushed new thread with id:6, number of threads:0, unprocessed:77 1839s # [ sorted] ===> pushed new thread with id:51, number of threads:0, unprocessed:78 1839s # [ sorted] ===> pushed new thread with id:62, number of threads:0, unprocessed:79 1839s # [ sorted] ===> pushed new thread with id:67, number of threads:0, unprocessed:80 1839s # [ sorted] ===> pushed new thread with id:95, number of threads:0, unprocessed:81 1839s # [ sorted] ===> pushed new thread with id:65, number of threads:0, unprocessed:82 1839s # [ sorted] ===> pushed new thread with id:37, number of threads:0, unprocessed:83 1839s # [ sorted] ===> pushed new thread with id:32, number of threads:0, unprocessed:84 1839s # [ sorted] ===> pushed new thread with id:28, number of threads:0, unprocessed:85 1839s # [ sorted] ===> pushed new thread with id:13, number of threads:0, unprocessed:86 1839s # [ sorted] ===> pushed new thread with id:58, number of threads:0, unprocessed:87 1839s # [ sorted] ===> pushed new thread with id:59, number of threads:0, unprocessed:88 1839s # [ sorted] ===> pushed new thread with id:38, number of threads:0, unprocessed:89 1839s # [ sorted] ===> pushed new thread with id:90, number of threads:0, unprocessed:90 1839s # [ sorted] ===> pushed new thread with id:65, number of threads:0, unprocessed:91 1839s # [ sorted] ===> pushed new thread with id:53, number of threads:0, unprocessed:92 1839s # [ sorted] ===> pushed new thread with id:11, number of threads:0, unprocessed:93 1839s # [ sorted] ===> pushed new thread with id:35, number of threads:0, unprocessed:94 1839s # [ sorted] ===> pushed new thread with id:2, number of threads:0, unprocessed:95 1839s # [ sorted] ===> pushed new thread with id:71, number of threads:0, unprocessed:96 1839s # [ sorted] ===> pushed new thread with id:16, number of threads:0, unprocessed:97 1839s # [ sorted] ===> pushed new thread with id:95, number of threads:0, unprocessed:98 1839s # [ sorted] ===> pushed new thread with id:41, number of threads:0, unprocessed:99 1839s # [ sorted] ===> pushed new thread with id:82, number of threads:0, unprocessed:100 1839s # Starting thread pool processing 1839s ok 5 /threadpool/sort 1839s ok 6 /threadpool/stop-unused-multiple 1839s # slow test /threadpool/stop-unused-multiple executed in 0.52 secs 1839s # Pool idle thread count: 0, unprocessed jobs: 40 1840s # Pool idle thread count: 0, unprocessed jobs: 0 1840s # Pool idle thread count: 0, unprocessed jobs: 0 1840s # Pool idle thread count: 10, unprocessed jobs: 0 1840s # Pool idle thread count: 10, unprocessed jobs: 0 1841s # Pool idle thread count: 10, unprocessed jobs: 0 1841s # Pool idle thread count: 10, unprocessed jobs: 0 1841s # Pool idle thread count: 10, unprocessed jobs: 0 1841s # Pool idle thread count: 10, unprocessed jobs: 0 1845s # Pool idle thread count: 10, unprocessed jobs: 0 1845s # Pool idle thread count: 10, unprocessed jobs: 0 1845s # Pool idle thread count: 10, unprocessed jobs: 0 1845s # Pool idle thread count: 10, unprocessed jobs: 0 1845s # Pool idle thread count: 10, unprocessed jobs: 0 1845s # Pool idle thread count: 10, unprocessed jobs: 0 1845s Executing: glib/thread-pool-slow.test 1845s # Pool idle thread count: 10, unprocessed jobs: 0 1845s # Pool idle thread count: 10, unprocessed jobs: 0 1845s # Pool idle thread count: 10, unprocessed jobs: 0 1845s # Pool idle thread count: 10, unprocessed jobs: 0 1845s # Pool idle thread count: 10, unprocessed jobs: 0 1845s # Pool idle thread count: 10, unprocessed jobs: 0 1845s # Pool idle thread count: 10, unprocessed jobs: 0 1845s # Pool idle thread count: 10, unprocessed jobs: 0 1845s # Pool idle thread count: 10, unprocessed jobs: 0 1845s # Pool idle thread count: 10, unprocessed jobs: 0 1846s # Pool idle thread count: 10, unprocessed jobs: 0 1846s # Pool idle thread count: 10, unprocessed jobs: 0 1846s # Pool idle thread count: 10, unprocessed jobs: 0 1846s # Pool idle thread count: 10, unprocessed jobs: 0 1847s # Pool idle thread count: 10, unprocessed jobs: 0 1847s # Pool idle thread count: 10, unprocessed jobs: 0 1847s # Pool idle thread count: 10, unprocessed jobs: 0 1847s # Pool idle thread count: 10, unprocessed jobs: 0 1848s # Pool idle thread count: 10, unprocessed jobs: 0 1848s # Pool idle thread count: 10, unprocessed jobs: 0 1848s Executing: glib/thread-pool-slow.test 1848s # Pool idle thread count: 10, unprocessed jobs: 2 1848s # Pool idle thread count: 8, unprocessed jobs: 0 1848s # Pool idle thread count: 8, unprocessed jobs: 0 1848s # Pool idle thread count: 8, unprocessed jobs: 0 1849s # Pool idle thread count: 10, unprocessed jobs: 0 1849s # Pool idle thread count: 10, unprocessed jobs: 0 1849s # Pool idle thread count: 10, unprocessed jobs: 0 1849s # Pool idle thread count: 10, unprocessed jobs: 0 1850s # Pool idle thread count: 10, unprocessed jobs: 0 1850s # Pool idle thread count: 10, unprocessed jobs: 0 1850s # Pool idle thread count: 2, unprocessed jobs: 0 1850s # Pool idle thread count: 2, unprocessed jobs: 0 1851s # Pool idle thread count: 2, unprocessed jobs: 0 1851s # Pool idle thread count: 2, unprocessed jobs: 0 1851s # Pool idle thread count: 2, unprocessed jobs: 0 1851s # Pool idle thread count: 2, unprocessed jobs: 0 1852s # Pool idle thread count: 2, unprocessed jobs: 0 1852s # Pool idle thread count: 2, unprocessed jobs: 0 1852s # Pool idle thread count: 2, unprocessed jobs: 0 1852s # Pool idle thread count: 2, unprocessed jobs: 0 1853s # Pool idle thread count: 2, unprocessed jobs: 0 1853s # Pool idle thread count: 2, unprocessed jobs: 0 1853s Executing: glib/thread-pool-slow.test 1853s # Pool idle thread count: 2, unprocessed jobs: 0 1853s # Pool idle thread count: 2, unprocessed jobs: 0 1854s # Pool idle thread count: 2, unprocessed jobs: 0 1854s # Pool idle thread count: 2, unprocessed jobs: 0 1854s # Pool idle thread count: 2, unprocessed jobs: 0 1854s # Pool idle thread count: 2, unprocessed jobs: 0 1855s # Pool idle thread count: 2, unprocessed jobs: 0 1855s # Pool idle thread count: 2, unprocessed jobs: 0 1855s # Pool idle thread count: 2, unprocessed jobs: 0 1855s # Pool idle thread count: 2, unprocessed jobs: 0 1856s # Pool idle thread count: 2, unprocessed jobs: 0 1856s # Pool idle thread count: 2, unprocessed jobs: 0 1856s # Pool idle thread count: 2, unprocessed jobs: 0 1856s # Pool idle thread count: 2, unprocessed jobs: 0 1857s # Pool idle thread count: 2, unprocessed jobs: 0 1857s # Pool idle thread count: 2, unprocessed jobs: 0 1857s # Pool idle thread count: 2, unprocessed jobs: 0 1857s # Pool idle thread count: 2, unprocessed jobs: 0 1858s # Pool idle thread count: 2, unprocessed jobs: 0 1858s # Pool idle thread count: 2, unprocessed jobs: 0 1858s Executing: glib/thread-pool-slow.test 1858s # Pool idle thread count: 2, unprocessed jobs: 0 1858s # Pool idle thread count: 2, unprocessed jobs: 0 1859s ok 7 /threadpool/idle-time 1859s # slow test /threadpool/idle-time executed in 19.54 secs 1859s # End of threadpool tests 1859s PASS: glib/thread-pool-slow.test 1859s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.5s; system=0.0s; maxrss=3712 1859s autopkgtest [09:55:42]: test thread-pool-slow: -----------------------] 1860s autopkgtest [09:55:43]: test thread-pool-slow: - - - - - - - - - - results - - - - - - - - - - 1860s thread-pool-slow PASS 1860s autopkgtest [09:55:43]: test threadtests: preparing testbed 1863s Reading package lists... 1863s Building dependency tree... 1863s Reading state information... 1863s Starting pkgProblemResolver with broken count: 0 1863s Starting 2 pkgProblemResolver with broken count: 0 1863s Done 1863s The following NEW packages will be installed: 1863s autopkgtest-satdep 1863s 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. 1863s Need to get 0 B/772 B of archives. 1863s After this operation, 0 B of additional disk space will be used. 1863s Get:1 /tmp/autopkgtest.YcZbqk/14-autopkgtest-satdep.deb autopkgtest-satdep s390x 0 [772 B] 1864s Selecting previously unselected package autopkgtest-satdep. 1864s (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 ... 52768 files and directories currently installed.) 1864s Preparing to unpack .../14-autopkgtest-satdep.deb ... 1864s Unpacking autopkgtest-satdep (0) ... 1864s Setting up autopkgtest-satdep (0) ... 1885s (Reading database ... 52768 files and directories currently installed.) 1885s Removing autopkgtest-satdep (0) ... 1887s autopkgtest [09:56:10]: test threadtests: [----------------------- 1887s Running test: glib/threadtests.test 1887s TAP version 13 1887s # random seed: R02S4f2df7447afd5868cee3dc7eaeb146ec 1887s 1..5 1887s # Start of GObject tests 1887s ok 1 /GObject/threaded-object-init 1888s ok 2 /GObject/threaded-weak-ref 1888s # slow test /GObject/threaded-weak-ref executed in 0.97 secs 1888s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/2394 1888s # /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 1889s ok 3 /GObject/threaded-toggle-notify 1889s # slow test /GObject/threaded-toggle-notify executed in 1.15 secs 1889s ok 4 /GObject/threaded-g-pointer-bit-unlock-and-set 1889s # Start of threaded-weak-ref tests 1889s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2390 1889s # /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. 1889s ok 5 /GObject/threaded-weak-ref/on-finalization 1889s # End of threaded-weak-ref tests 1889s # End of GObject tests 1889s PASS: glib/threadtests.test 1889s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=1.2s; system=0.4s; maxrss=3584 1890s autopkgtest [09:56:13]: test threadtests: -----------------------] 1890s autopkgtest [09:56:13]: test threadtests: - - - - - - - - - - results - - - - - - - - - - 1890s threadtests PASS 1891s autopkgtest [09:56:14]: test timeout: preparing testbed 1893s Reading package lists... 1893s Building dependency tree... 1893s Reading state information... 1893s Starting pkgProblemResolver with broken count: 0 1894s Starting 2 pkgProblemResolver with broken count: 0 1894s Done 1894s The following NEW packages will be installed: 1894s autopkgtest-satdep 1894s 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. 1894s Need to get 0 B/772 B of archives. 1894s After this operation, 0 B of additional disk space will be used. 1894s Get:1 /tmp/autopkgtest.YcZbqk/15-autopkgtest-satdep.deb autopkgtest-satdep s390x 0 [772 B] 1894s Selecting previously unselected package autopkgtest-satdep. 1894s (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 ... 52768 files and directories currently installed.) 1894s Preparing to unpack .../15-autopkgtest-satdep.deb ... 1894s Unpacking autopkgtest-satdep (0) ... 1894s Setting up autopkgtest-satdep (0) ... 1897s (Reading database ... 52768 files and directories currently installed.) 1897s Removing autopkgtest-satdep (0) ... 1911s autopkgtest [09:56:34]: test timeout: [----------------------- 1911s Running test: glib/timeout.test 1911s TAP version 13 1911s # random seed: R02Safe35aea43da9c6b52ba41bbe84148b7 1911s 1..5 1911s # Start of timeout tests 1911s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=642052 1913s ok 1 /timeout/seconds 1913s # slow test /timeout/seconds executed in 2.10 secs 1915s ok 2 /timeout/seconds-once 1915s # slow test /timeout/seconds-once executed in 2.10 secs 1915s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1600 1916s Executing: glib/timeout.test 1917s ok 3 /timeout/weeks-overflow 1917s # slow test /timeout/weeks-overflow executed in 2.10 secs 1917s ok 4 /timeout/far-future-ready-time 1921s Executing: glib/timeout.test 1926s Executing: glib/timeout.test 1927s ok 5 /timeout/rounding 1927s # slow test /timeout/rounding executed in 9.87 secs 1927s # End of timeout tests 1927s PASS: glib/timeout.test 1927s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.0s; system=0.0s; maxrss=2816 1928s autopkgtest [09:56:51]: test timeout: -----------------------] 1928s autopkgtest [09:56:51]: test timeout: - - - - - - - - - - results - - - - - - - - - - 1928s timeout PASS 1929s autopkgtest [09:56:52]: test timer: preparing testbed 1931s Reading package lists... 1931s Building dependency tree... 1931s Reading state information... 1931s Starting pkgProblemResolver with broken count: 0 1931s Starting 2 pkgProblemResolver with broken count: 0 1931s Done 1932s The following NEW packages will be installed: 1932s autopkgtest-satdep 1932s 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. 1932s Need to get 0 B/772 B of archives. 1932s After this operation, 0 B of additional disk space will be used. 1932s Get:1 /tmp/autopkgtest.YcZbqk/16-autopkgtest-satdep.deb autopkgtest-satdep s390x 0 [772 B] 1932s Selecting previously unselected package autopkgtest-satdep. 1932s (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 ... 52768 files and directories currently installed.) 1932s Preparing to unpack .../16-autopkgtest-satdep.deb ... 1932s Unpacking autopkgtest-satdep (0) ... 1932s Setting up autopkgtest-satdep (0) ... 1934s (Reading database ... 52768 files and directories currently installed.) 1934s Removing autopkgtest-satdep (0) ... 1935s autopkgtest [09:56:58]: test timer: [----------------------- 1935s Running test: glib/timer.test 1935s TAP version 13 1935s # random seed: R02S39e9631b8040cd795a6db0873e81985c 1935s 1..10 1935s # Start of timer tests 1935s ok 1 /timer/basic 1935s ok 2 /timer/stop 1935s ok 3 /timer/continue 1935s ok 4 /timer/reset 1935s ok 5 /timer/is_active 1935s # End of timer tests 1935s # Start of timeval tests 1935s ok 6 /timeval/add 1935s ok 7 /timeval/from-iso8601 1935s ok 8 /timeval/to-iso8601 1935s # Start of to-iso8601 tests 1935s ok 9 /timeval/to-iso8601/overflow 1935s # End of to-iso8601 tests 1935s # End of timeval tests 1935s # Start of usleep tests 1935s ok 10 /usleep/with-zero-wait 1935s # End of usleep tests 1935s PASS: glib/timer.test 1935s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.0s; system=0.0s; maxrss=2816 1936s autopkgtest [09:56:59]: test timer: -----------------------] 1936s autopkgtest [09:56:59]: test timer: - - - - - - - - - - results - - - - - - - - - - 1936s timer PASS 1936s autopkgtest [09:56:59]: @@@@@@@@@@@@@@@@@@@@ summary 1936s build PASS (superficial) 1936s build-static PASS (superficial) 1936s installed-tests PASS 1936s closure-refcount PASS 1936s debugcontroller PASS 1936s gdbus-server-auth PASS 1936s gdbus-threading PASS 1936s gmenumodel PASS 1936s mainloop PASS 1936s memory-monitor-dbus PASS 1936s socket PASS 1936s testfilemonitor PASS 1936s thread-pool-slow PASS 1936s threadtests PASS 1936s timeout PASS 1936s timer PASS 1958s Creating nova instance adt-noble-s390x-glib2.0-20240321-092443-juju-7f2275-prod-proposed-migration-environment-3 from image adt/ubuntu-noble-s390x-server-20240321.img (UUID a4b1c77c-a35e-4d28-a8d9-902a1febb465)...