Codebase list xdg-desktop-portal / 2396d3a
New upstream version 1.8.1 Simon McVittie 3 years ago
45 changed file(s) with 941 addition(s) and 608 deletion(s). Raw diff Collapse all Expand all
213213 "$(DESTDIR)$(installed_test_metadir)" \
214214 "$(DESTDIR)$(installed_testdir)" "$(DESTDIR)$(pkgconfigdir)" \
215215 "$(DESTDIR)$(systemduserunitdir)"
216 am__EXEEXT_2 = test-portals$(EXEEXT) testdb$(EXEEXT) \
217 test-doc-portal$(EXEEXT) test-permission-store$(EXEEXT) \
218 $(am__EXEEXT_1)
216 am__EXEEXT_2 = test-portals$(EXEEXT) test-xdp-utils$(EXEEXT) \
217 testdb$(EXEEXT) test-doc-portal$(EXEEXT) \
218 test-permission-store$(EXEEXT) $(am__EXEEXT_1)
219219 am__EXEEXT_3 = tests/test-backends$(EXEEXT) $(am__EXEEXT_1)
220220 am__EXEEXT_4 = $(am__EXEEXT_2) $(am__EXEEXT_3)
221221 @ENABLE_ALWAYS_BUILD_TESTS_FALSE@am__EXEEXT_5 = $(am__EXEEXT_4)
254254 LTLIBRARIES = $(installed_test_LTLIBRARIES) $(lib_LTLIBRARIES) \
255255 $(noinst_LTLIBRARIES)
256256 am__dirstamp = $(am__leading_dot)dirstamp
257 am__objects_1 =
257258 am_test_doc_portal_OBJECTS = \
258 tests/test_doc_portal-test-doc-portal.$(OBJEXT)
259 tests/test_doc_portal-can-use-fuse.$(OBJEXT) \
260 tests/test_doc_portal-test-doc-portal.$(OBJEXT) \
261 $(am__objects_1)
259262 nodist_test_doc_portal_OBJECTS = document-portal/test_doc_portal-document-portal-dbus.$(OBJEXT)
260263 test_doc_portal_OBJECTS = $(am_test_doc_portal_OBJECTS) \
261264 $(nodist_test_doc_portal_OBJECTS)
292295 tests/screenshot.h tests/trash.c tests/trash.h \
293296 tests/wallpaper.c tests/wallpaper.h tests/utils.c \
294297 tests/utils.h tests/glib-backports.c tests/glib-backports.h
295 am__objects_1 =
296298 @HAVE_LIBPORTAL_TRUE@am__objects_2 = \
297299 @HAVE_LIBPORTAL_TRUE@ tests/test_portals-account.$(OBJEXT) \
298300 @HAVE_LIBPORTAL_TRUE@ tests/test_portals-background.$(OBJEXT) \
326328 test_portals_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \
327329 $(LIBTOOLFLAGS) --mode=link $(CCLD) $(test_portals_CFLAGS) \
328330 $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@
331 am_test_xdp_utils_OBJECTS = \
332 tests/test_xdp_utils-test-xdp-utils.$(OBJEXT) \
333 src/test_xdp_utils-xdp-utils.$(OBJEXT)
334 test_xdp_utils_OBJECTS = $(am_test_xdp_utils_OBJECTS)
335 test_xdp_utils_DEPENDENCIES = $(am__DEPENDENCIES_1)
336 test_xdp_utils_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC \
337 $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=link $(CCLD) \
338 $(test_xdp_utils_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o \
339 $@
329340 am__objects_3 = document-portal/testdb-permission-db.$(OBJEXT) \
330341 document-portal/gvdb/testdb-gvdb-reader.$(OBJEXT) \
331342 document-portal/gvdb/testdb-gvdb-builder.$(OBJEXT) \
521532 src/$(DEPDIR)/test_portals-xdp-dbus.Po \
522533 src/$(DEPDIR)/test_portals-xdp-impl-dbus.Po \
523534 src/$(DEPDIR)/test_portals-xdp-utils.Po \
535 src/$(DEPDIR)/test_xdp_utils-xdp-utils.Po \
524536 src/$(DEPDIR)/tests_test_backends-xdp-impl-dbus.Po \
525537 src/$(DEPDIR)/xdg_desktop_portal-account.Po \
526538 src/$(DEPDIR)/xdg_desktop_portal-background.Po \
561573 src/$(DEPDIR)/xdg_document_portal-xdp-utils.Po \
562574 src/$(DEPDIR)/xdg_permission_store-xdp-utils.Po \
563575 tests/$(DEPDIR)/test_backends-glib-backports.Po \
576 tests/$(DEPDIR)/test_doc_portal-can-use-fuse.Po \
564577 tests/$(DEPDIR)/test_doc_portal-test-doc-portal.Po \
565578 tests/$(DEPDIR)/test_permission_store-test-permission-store.Po \
566579 tests/$(DEPDIR)/test_portals-account.Po \
579592 tests/$(DEPDIR)/test_portals-trash.Po \
580593 tests/$(DEPDIR)/test_portals-utils.Po \
581594 tests/$(DEPDIR)/test_portals-wallpaper.Po \
595 tests/$(DEPDIR)/test_xdp_utils-test-xdp-utils.Po \
582596 tests/$(DEPDIR)/testdb-testdb.Po \
583597 tests/backend/$(DEPDIR)/test_backends-access.Po \
584598 tests/backend/$(DEPDIR)/test_backends-account.Po \
618632 $(test_permission_store_SOURCES) \
619633 $(nodist_test_permission_store_SOURCES) \
620634 $(test_portals_SOURCES) $(nodist_test_portals_SOURCES) \
621 $(testdb_SOURCES) $(tests_test_backends_SOURCES) \
635 $(test_xdp_utils_SOURCES) $(testdb_SOURCES) \
636 $(tests_test_backends_SOURCES) \
622637 $(nodist_tests_test_backends_SOURCES) \
623638 $(xdg_desktop_portal_SOURCES) \
624639 $(nodist_xdg_desktop_portal_SOURCES) \
628643 $(nodist_xdg_permission_store_SOURCES)
629644 DIST_SOURCES = $(test_doc_portal_SOURCES) \
630645 $(test_permission_store_SOURCES) \
631 $(am__test_portals_SOURCES_DIST) $(testdb_SOURCES) \
632 $(tests_test_backends_SOURCES) \
646 $(am__test_portals_SOURCES_DIST) $(test_xdp_utils_SOURCES) \
647 $(testdb_SOURCES) $(tests_test_backends_SOURCES) \
633648 $(am__xdg_desktop_portal_SOURCES_DIST) \
634649 $(xdg_document_portal_SOURCES) $(xdg_permission_store_SOURCES)
635650 RECURSIVE_TARGETS = all-recursive check-recursive cscopelist-recursive \
14021417 $(NULL)
14031418
14041419 nodist_tests_test_backends_SOURCES = src/xdp-impl-dbus.c
1405 test_programs = test-portals testdb test-doc-portal \
1420 test_programs = test-portals test-xdp-utils testdb test-doc-portal \
14061421 test-permission-store $(NULL)
14071422 TESTS_ENVIRONMENT = \
14081423 PATH=$$(cd $(top_builddir) && pwd):$${PATH} \
14241439 $(FUSE_LIBS) \
14251440 $(NULL)
14261441
1427 test_doc_portal_SOURCES = tests/test-doc-portal.c
1442 test_doc_portal_SOURCES = \
1443 tests/can-use-fuse.c \
1444 tests/can-use-fuse.h \
1445 tests/test-doc-portal.c \
1446 $(NULL)
1447
14281448 nodist_test_doc_portal_SOURCES = document-portal/document-portal-dbus.c
14291449 EXTRA_test_doc_portal_DEPENDENCIES = tests/services/org.freedesktop.impl.portal.PermissionStore.service tests/services/org.freedesktop.portal.Documents.service
14301450 test_portals_CFLAGS = $(AM_CFLAGS) $(BASE_CFLAGS) $(LIBPORTAL_CFLAGS) \
14491469 test_permission_store_SOURCES = tests/test-permission-store.c
14501470 nodist_test_permission_store_SOURCES = document-portal/permission-store-dbus.c src/xdp-utils.c
14511471 EXTRA_test_permission_store_DEPENDENCIES = tests/services/org.freedesktop.impl.portal.PermissionStore.service tests/services/org.freedesktop.portal.Documents.service
1472 test_xdp_utils_CFLAGS = $(AM_CFLAGS) $(BASE_CFLAGS)
1473 test_xdp_utils_LDADD = $(AM_LD_ADD) $(BASE_LIBS)
1474 test_xdp_utils_SOURCES = tests/test-xdp-utils.c src/xdp-utils.c
14521475 installed_test_dbsdir = $(installed_testdir)/dbs
14531476 installed_test_portalsdir = $(installed_testdir)/portals
14541477 @ENABLE_INSTALLED_TESTS_TRUE@dist_installed_test_dbs_DATA = tests/dbs/no_tables
17921815 tests/$(DEPDIR)/$(am__dirstamp):
17931816 @$(MKDIR_P) tests/$(DEPDIR)
17941817 @: > tests/$(DEPDIR)/$(am__dirstamp)
1818 tests/test_doc_portal-can-use-fuse.$(OBJEXT): tests/$(am__dirstamp) \
1819 tests/$(DEPDIR)/$(am__dirstamp)
17951820 tests/test_doc_portal-test-doc-portal.$(OBJEXT): \
17961821 tests/$(am__dirstamp) tests/$(DEPDIR)/$(am__dirstamp)
17971822 document-portal/$(am__dirstamp):
18691894 test-portals$(EXEEXT): $(test_portals_OBJECTS) $(test_portals_DEPENDENCIES) $(EXTRA_test_portals_DEPENDENCIES)
18701895 @rm -f test-portals$(EXEEXT)
18711896 $(AM_V_CCLD)$(test_portals_LINK) $(test_portals_OBJECTS) $(test_portals_LDADD) $(LIBS)
1897 tests/test_xdp_utils-test-xdp-utils.$(OBJEXT): tests/$(am__dirstamp) \
1898 tests/$(DEPDIR)/$(am__dirstamp)
1899 src/test_xdp_utils-xdp-utils.$(OBJEXT): src/$(am__dirstamp) \
1900 src/$(DEPDIR)/$(am__dirstamp)
1901
1902 test-xdp-utils$(EXEEXT): $(test_xdp_utils_OBJECTS) $(test_xdp_utils_DEPENDENCIES) $(EXTRA_test_xdp_utils_DEPENDENCIES)
1903 @rm -f test-xdp-utils$(EXEEXT)
1904 $(AM_V_CCLD)$(test_xdp_utils_LINK) $(test_xdp_utils_OBJECTS) $(test_xdp_utils_LDADD) $(LIBS)
18721905 tests/testdb-testdb.$(OBJEXT): tests/$(am__dirstamp) \
18731906 tests/$(DEPDIR)/$(am__dirstamp)
18741907 document-portal/testdb-permission-db.$(OBJEXT): \
21542187 @AMDEP_TRUE@@am__include@ @am__quote@src/$(DEPDIR)/test_portals-xdp-dbus.Po@am__quote@ # am--include-marker
21552188 @AMDEP_TRUE@@am__include@ @am__quote@src/$(DEPDIR)/test_portals-xdp-impl-dbus.Po@am__quote@ # am--include-marker
21562189 @AMDEP_TRUE@@am__include@ @am__quote@src/$(DEPDIR)/test_portals-xdp-utils.Po@am__quote@ # am--include-marker
2190 @AMDEP_TRUE@@am__include@ @am__quote@src/$(DEPDIR)/test_xdp_utils-xdp-utils.Po@am__quote@ # am--include-marker
21572191 @AMDEP_TRUE@@am__include@ @am__quote@src/$(DEPDIR)/tests_test_backends-xdp-impl-dbus.Po@am__quote@ # am--include-marker
21582192 @AMDEP_TRUE@@am__include@ @am__quote@src/$(DEPDIR)/xdg_desktop_portal-account.Po@am__quote@ # am--include-marker
21592193 @AMDEP_TRUE@@am__include@ @am__quote@src/$(DEPDIR)/xdg_desktop_portal-background.Po@am__quote@ # am--include-marker
21942228 @AMDEP_TRUE@@am__include@ @am__quote@src/$(DEPDIR)/xdg_document_portal-xdp-utils.Po@am__quote@ # am--include-marker
21952229 @AMDEP_TRUE@@am__include@ @am__quote@src/$(DEPDIR)/xdg_permission_store-xdp-utils.Po@am__quote@ # am--include-marker
21962230 @AMDEP_TRUE@@am__include@ @am__quote@tests/$(DEPDIR)/test_backends-glib-backports.Po@am__quote@ # am--include-marker
2231 @AMDEP_TRUE@@am__include@ @am__quote@tests/$(DEPDIR)/test_doc_portal-can-use-fuse.Po@am__quote@ # am--include-marker
21972232 @AMDEP_TRUE@@am__include@ @am__quote@tests/$(DEPDIR)/test_doc_portal-test-doc-portal.Po@am__quote@ # am--include-marker
21982233 @AMDEP_TRUE@@am__include@ @am__quote@tests/$(DEPDIR)/test_permission_store-test-permission-store.Po@am__quote@ # am--include-marker
21992234 @AMDEP_TRUE@@am__include@ @am__quote@tests/$(DEPDIR)/test_portals-account.Po@am__quote@ # am--include-marker
22122247 @AMDEP_TRUE@@am__include@ @am__quote@tests/$(DEPDIR)/test_portals-trash.Po@am__quote@ # am--include-marker
22132248 @AMDEP_TRUE@@am__include@ @am__quote@tests/$(DEPDIR)/test_portals-utils.Po@am__quote@ # am--include-marker
22142249 @AMDEP_TRUE@@am__include@ @am__quote@tests/$(DEPDIR)/test_portals-wallpaper.Po@am__quote@ # am--include-marker
2250 @AMDEP_TRUE@@am__include@ @am__quote@tests/$(DEPDIR)/test_xdp_utils-test-xdp-utils.Po@am__quote@ # am--include-marker
22152251 @AMDEP_TRUE@@am__include@ @am__quote@tests/$(DEPDIR)/testdb-testdb.Po@am__quote@ # am--include-marker
22162252 @AMDEP_TRUE@@am__include@ @am__quote@tests/backend/$(DEPDIR)/test_backends-access.Po@am__quote@ # am--include-marker
22172253 @AMDEP_TRUE@@am__include@ @am__quote@tests/backend/$(DEPDIR)/test_backends-account.Po@am__quote@ # am--include-marker
22592295 @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
22602296 @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LTCOMPILE) -c -o $@ $<
22612297
2298 tests/test_doc_portal-can-use-fuse.o: tests/can-use-fuse.c
2299 @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(test_doc_portal_CFLAGS) $(CFLAGS) -MT tests/test_doc_portal-can-use-fuse.o -MD -MP -MF tests/$(DEPDIR)/test_doc_portal-can-use-fuse.Tpo -c -o tests/test_doc_portal-can-use-fuse.o `test -f 'tests/can-use-fuse.c' || echo '$(srcdir)/'`tests/can-use-fuse.c
2300 @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) tests/$(DEPDIR)/test_doc_portal-can-use-fuse.Tpo tests/$(DEPDIR)/test_doc_portal-can-use-fuse.Po
2301 @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='tests/can-use-fuse.c' object='tests/test_doc_portal-can-use-fuse.o' libtool=no @AMDEPBACKSLASH@
2302 @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
2303 @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(test_doc_portal_CFLAGS) $(CFLAGS) -c -o tests/test_doc_portal-can-use-fuse.o `test -f 'tests/can-use-fuse.c' || echo '$(srcdir)/'`tests/can-use-fuse.c
2304
2305 tests/test_doc_portal-can-use-fuse.obj: tests/can-use-fuse.c
2306 @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(test_doc_portal_CFLAGS) $(CFLAGS) -MT tests/test_doc_portal-can-use-fuse.obj -MD -MP -MF tests/$(DEPDIR)/test_doc_portal-can-use-fuse.Tpo -c -o tests/test_doc_portal-can-use-fuse.obj `if test -f 'tests/can-use-fuse.c'; then $(CYGPATH_W) 'tests/can-use-fuse.c'; else $(CYGPATH_W) '$(srcdir)/tests/can-use-fuse.c'; fi`
2307 @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) tests/$(DEPDIR)/test_doc_portal-can-use-fuse.Tpo tests/$(DEPDIR)/test_doc_portal-can-use-fuse.Po
2308 @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='tests/can-use-fuse.c' object='tests/test_doc_portal-can-use-fuse.obj' libtool=no @AMDEPBACKSLASH@
2309 @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
2310 @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(test_doc_portal_CFLAGS) $(CFLAGS) -c -o tests/test_doc_portal-can-use-fuse.obj `if test -f 'tests/can-use-fuse.c'; then $(CYGPATH_W) 'tests/can-use-fuse.c'; else $(CYGPATH_W) '$(srcdir)/tests/can-use-fuse.c'; fi`
2311
22622312 tests/test_doc_portal-test-doc-portal.o: tests/test-doc-portal.c
22632313 @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(test_doc_portal_CFLAGS) $(CFLAGS) -MT tests/test_doc_portal-test-doc-portal.o -MD -MP -MF tests/$(DEPDIR)/test_doc_portal-test-doc-portal.Tpo -c -o tests/test_doc_portal-test-doc-portal.o `test -f 'tests/test-doc-portal.c' || echo '$(srcdir)/'`tests/test-doc-portal.c
22642314 @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) tests/$(DEPDIR)/test_doc_portal-test-doc-portal.Tpo tests/$(DEPDIR)/test_doc_portal-test-doc-portal.Po
26082658 @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='document-portal/permission-store-dbus.c' object='document-portal/test_portals-permission-store-dbus.obj' libtool=no @AMDEPBACKSLASH@
26092659 @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
26102660 @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(test_portals_CPPFLAGS) $(CPPFLAGS) $(test_portals_CFLAGS) $(CFLAGS) -c -o document-portal/test_portals-permission-store-dbus.obj `if test -f 'document-portal/permission-store-dbus.c'; then $(CYGPATH_W) 'document-portal/permission-store-dbus.c'; else $(CYGPATH_W) '$(srcdir)/document-portal/permission-store-dbus.c'; fi`
2661
2662 tests/test_xdp_utils-test-xdp-utils.o: tests/test-xdp-utils.c
2663 @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(test_xdp_utils_CFLAGS) $(CFLAGS) -MT tests/test_xdp_utils-test-xdp-utils.o -MD -MP -MF tests/$(DEPDIR)/test_xdp_utils-test-xdp-utils.Tpo -c -o tests/test_xdp_utils-test-xdp-utils.o `test -f 'tests/test-xdp-utils.c' || echo '$(srcdir)/'`tests/test-xdp-utils.c
2664 @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) tests/$(DEPDIR)/test_xdp_utils-test-xdp-utils.Tpo tests/$(DEPDIR)/test_xdp_utils-test-xdp-utils.Po
2665 @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='tests/test-xdp-utils.c' object='tests/test_xdp_utils-test-xdp-utils.o' libtool=no @AMDEPBACKSLASH@
2666 @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
2667 @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(test_xdp_utils_CFLAGS) $(CFLAGS) -c -o tests/test_xdp_utils-test-xdp-utils.o `test -f 'tests/test-xdp-utils.c' || echo '$(srcdir)/'`tests/test-xdp-utils.c
2668
2669 tests/test_xdp_utils-test-xdp-utils.obj: tests/test-xdp-utils.c
2670 @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(test_xdp_utils_CFLAGS) $(CFLAGS) -MT tests/test_xdp_utils-test-xdp-utils.obj -MD -MP -MF tests/$(DEPDIR)/test_xdp_utils-test-xdp-utils.Tpo -c -o tests/test_xdp_utils-test-xdp-utils.obj `if test -f 'tests/test-xdp-utils.c'; then $(CYGPATH_W) 'tests/test-xdp-utils.c'; else $(CYGPATH_W) '$(srcdir)/tests/test-xdp-utils.c'; fi`
2671 @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) tests/$(DEPDIR)/test_xdp_utils-test-xdp-utils.Tpo tests/$(DEPDIR)/test_xdp_utils-test-xdp-utils.Po
2672 @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='tests/test-xdp-utils.c' object='tests/test_xdp_utils-test-xdp-utils.obj' libtool=no @AMDEPBACKSLASH@
2673 @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
2674 @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(test_xdp_utils_CFLAGS) $(CFLAGS) -c -o tests/test_xdp_utils-test-xdp-utils.obj `if test -f 'tests/test-xdp-utils.c'; then $(CYGPATH_W) 'tests/test-xdp-utils.c'; else $(CYGPATH_W) '$(srcdir)/tests/test-xdp-utils.c'; fi`
2675
2676 src/test_xdp_utils-xdp-utils.o: src/xdp-utils.c
2677 @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(test_xdp_utils_CFLAGS) $(CFLAGS) -MT src/test_xdp_utils-xdp-utils.o -MD -MP -MF src/$(DEPDIR)/test_xdp_utils-xdp-utils.Tpo -c -o src/test_xdp_utils-xdp-utils.o `test -f 'src/xdp-utils.c' || echo '$(srcdir)/'`src/xdp-utils.c
2678 @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) src/$(DEPDIR)/test_xdp_utils-xdp-utils.Tpo src/$(DEPDIR)/test_xdp_utils-xdp-utils.Po
2679 @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/xdp-utils.c' object='src/test_xdp_utils-xdp-utils.o' libtool=no @AMDEPBACKSLASH@
2680 @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
2681 @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(test_xdp_utils_CFLAGS) $(CFLAGS) -c -o src/test_xdp_utils-xdp-utils.o `test -f 'src/xdp-utils.c' || echo '$(srcdir)/'`src/xdp-utils.c
2682
2683 src/test_xdp_utils-xdp-utils.obj: src/xdp-utils.c
2684 @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(test_xdp_utils_CFLAGS) $(CFLAGS) -MT src/test_xdp_utils-xdp-utils.obj -MD -MP -MF src/$(DEPDIR)/test_xdp_utils-xdp-utils.Tpo -c -o src/test_xdp_utils-xdp-utils.obj `if test -f 'src/xdp-utils.c'; then $(CYGPATH_W) 'src/xdp-utils.c'; else $(CYGPATH_W) '$(srcdir)/src/xdp-utils.c'; fi`
2685 @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) src/$(DEPDIR)/test_xdp_utils-xdp-utils.Tpo src/$(DEPDIR)/test_xdp_utils-xdp-utils.Po
2686 @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/xdp-utils.c' object='src/test_xdp_utils-xdp-utils.obj' libtool=no @AMDEPBACKSLASH@
2687 @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
2688 @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(test_xdp_utils_CFLAGS) $(CFLAGS) -c -o src/test_xdp_utils-xdp-utils.obj `if test -f 'src/xdp-utils.c'; then $(CYGPATH_W) 'src/xdp-utils.c'; else $(CYGPATH_W) '$(srcdir)/src/xdp-utils.c'; fi`
26112689
26122690 tests/testdb-testdb.o: tests/testdb.c
26132691 @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(testdb_CFLAGS) $(CFLAGS) -MT tests/testdb-testdb.o -MD -MP -MF tests/$(DEPDIR)/testdb-testdb.Tpo -c -o tests/testdb-testdb.o `test -f 'tests/testdb.c' || echo '$(srcdir)/'`tests/testdb.c
41014179 --log-file $$b.log --trs-file $$b.trs \
41024180 $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
41034181 "$$tst" $(AM_TESTS_FD_REDIRECT)
4182 test-xdp-utils.log: test-xdp-utils$(EXEEXT)
4183 @p='test-xdp-utils$(EXEEXT)'; \
4184 b='test-xdp-utils'; \
4185 $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
4186 --log-file $$b.log --trs-file $$b.trs \
4187 $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
4188 "$$tst" $(AM_TESTS_FD_REDIRECT)
41044189 testdb.log: testdb$(EXEEXT)
41054190 @p='testdb$(EXEEXT)'; \
41064191 b='testdb'; \
44314516 -rm -f src/$(DEPDIR)/test_portals-xdp-dbus.Po
44324517 -rm -f src/$(DEPDIR)/test_portals-xdp-impl-dbus.Po
44334518 -rm -f src/$(DEPDIR)/test_portals-xdp-utils.Po
4519 -rm -f src/$(DEPDIR)/test_xdp_utils-xdp-utils.Po
44344520 -rm -f src/$(DEPDIR)/tests_test_backends-xdp-impl-dbus.Po
44354521 -rm -f src/$(DEPDIR)/xdg_desktop_portal-account.Po
44364522 -rm -f src/$(DEPDIR)/xdg_desktop_portal-background.Po
44714557 -rm -f src/$(DEPDIR)/xdg_document_portal-xdp-utils.Po
44724558 -rm -f src/$(DEPDIR)/xdg_permission_store-xdp-utils.Po
44734559 -rm -f tests/$(DEPDIR)/test_backends-glib-backports.Po
4560 -rm -f tests/$(DEPDIR)/test_doc_portal-can-use-fuse.Po
44744561 -rm -f tests/$(DEPDIR)/test_doc_portal-test-doc-portal.Po
44754562 -rm -f tests/$(DEPDIR)/test_permission_store-test-permission-store.Po
44764563 -rm -f tests/$(DEPDIR)/test_portals-account.Po
44894576 -rm -f tests/$(DEPDIR)/test_portals-trash.Po
44904577 -rm -f tests/$(DEPDIR)/test_portals-utils.Po
44914578 -rm -f tests/$(DEPDIR)/test_portals-wallpaper.Po
4579 -rm -f tests/$(DEPDIR)/test_xdp_utils-test-xdp-utils.Po
44924580 -rm -f tests/$(DEPDIR)/testdb-testdb.Po
44934581 -rm -f tests/backend/$(DEPDIR)/test_backends-access.Po
44944582 -rm -f tests/backend/$(DEPDIR)/test_backends-account.Po
45884676 -rm -f src/$(DEPDIR)/test_portals-xdp-dbus.Po
45894677 -rm -f src/$(DEPDIR)/test_portals-xdp-impl-dbus.Po
45904678 -rm -f src/$(DEPDIR)/test_portals-xdp-utils.Po
4679 -rm -f src/$(DEPDIR)/test_xdp_utils-xdp-utils.Po
45914680 -rm -f src/$(DEPDIR)/tests_test_backends-xdp-impl-dbus.Po
45924681 -rm -f src/$(DEPDIR)/xdg_desktop_portal-account.Po
45934682 -rm -f src/$(DEPDIR)/xdg_desktop_portal-background.Po
46284717 -rm -f src/$(DEPDIR)/xdg_document_portal-xdp-utils.Po
46294718 -rm -f src/$(DEPDIR)/xdg_permission_store-xdp-utils.Po
46304719 -rm -f tests/$(DEPDIR)/test_backends-glib-backports.Po
4720 -rm -f tests/$(DEPDIR)/test_doc_portal-can-use-fuse.Po
46314721 -rm -f tests/$(DEPDIR)/test_doc_portal-test-doc-portal.Po
46324722 -rm -f tests/$(DEPDIR)/test_permission_store-test-permission-store.Po
46334723 -rm -f tests/$(DEPDIR)/test_portals-account.Po
46464736 -rm -f tests/$(DEPDIR)/test_portals-trash.Po
46474737 -rm -f tests/$(DEPDIR)/test_portals-utils.Po
46484738 -rm -f tests/$(DEPDIR)/test_portals-wallpaper.Po
4739 -rm -f tests/$(DEPDIR)/test_xdp_utils-test-xdp-utils.Po
46494740 -rm -f tests/$(DEPDIR)/testdb-testdb.Po
46504741 -rm -f tests/backend/$(DEPDIR)/test_backends-access.Po
46514742 -rm -f tests/backend/$(DEPDIR)/test_backends-account.Po
0 Changes in 1.8.1
1 ================
2
3 - openuri: Fix an fd leak
4 - filechooser: Fix directory support
5 - build: Drop a fontconfig dependency
6 - snap: Use cgroups to identify confined apps
7 - documents: Add snap support
8 - wallpaper: Fix a crash
9 - build: Factor out a fuse check
10 - Translation updates
11
012 Changes in 1.8.0
113 ================
214
00 #! /bin/sh
11 # Guess values for system-dependent variables and create Makefiles.
2 # Generated by GNU Autoconf 2.69 for xdg-desktop-portal 1.8.0.
2 # Generated by GNU Autoconf 2.69 for xdg-desktop-portal 1.8.1.
33 #
44 #
55 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
586586 # Identity of this package.
587587 PACKAGE_NAME='xdg-desktop-portal'
588588 PACKAGE_TARNAME='xdg-desktop-portal'
589 PACKAGE_VERSION='1.8.0'
590 PACKAGE_STRING='xdg-desktop-portal 1.8.0'
589 PACKAGE_VERSION='1.8.1'
590 PACKAGE_STRING='xdg-desktop-portal 1.8.1'
591591 PACKAGE_BUGREPORT=''
592592 PACKAGE_URL=''
593593
14041404 # Omit some internal or obsolete options to make the list less imposing.
14051405 # This message is too long to be a string in the A/UX 3.1 sh.
14061406 cat <<_ACEOF
1407 \`configure' configures xdg-desktop-portal 1.8.0 to adapt to many kinds of systems.
1407 \`configure' configures xdg-desktop-portal 1.8.1 to adapt to many kinds of systems.
14081408
14091409 Usage: $0 [OPTION]... [VAR=VALUE]...
14101410
14751475
14761476 if test -n "$ac_init_help"; then
14771477 case $ac_init_help in
1478 short | recursive ) echo "Configuration of xdg-desktop-portal 1.8.0:";;
1478 short | recursive ) echo "Configuration of xdg-desktop-portal 1.8.1:";;
14791479 esac
14801480 cat <<\_ACEOF
14811481
16441644 test -n "$ac_init_help" && exit $ac_status
16451645 if $ac_init_version; then
16461646 cat <<\_ACEOF
1647 xdg-desktop-portal configure 1.8.0
1647 xdg-desktop-portal configure 1.8.1
16481648 generated by GNU Autoconf 2.69
16491649
16501650 Copyright (C) 2012 Free Software Foundation, Inc.
20092009 This file contains any messages produced by compilers while
20102010 running configure, to aid debugging if configure makes a mistake.
20112011
2012 It was created by xdg-desktop-portal $as_me 1.8.0, which was
2012 It was created by xdg-desktop-portal $as_me 1.8.1, which was
20132013 generated by GNU Autoconf 2.69. Invocation command line was
20142014
20152015 $ $0 $@
1275212752
1275312753 # Define the identity of the package.
1275412754 PACKAGE='xdg-desktop-portal'
12755 VERSION='1.8.0'
12755 VERSION='1.8.1'
1275612756
1275712757
1275812758 # Some tools Automake needs.
1552915529 pkg_cv_BASE_CFLAGS="$BASE_CFLAGS"
1553015530 elif test -n "$PKG_CONFIG"; then
1553115531 if test -n "$PKG_CONFIG" && \
15532 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0 gio-2.0 gio-unix-2.0 fontconfig json-glib-1.0\""; } >&5
15533 ($PKG_CONFIG --exists --print-errors "glib-2.0 gio-2.0 gio-unix-2.0 fontconfig json-glib-1.0") 2>&5
15532 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0 gio-2.0 gio-unix-2.0 json-glib-1.0\""; } >&5
15533 ($PKG_CONFIG --exists --print-errors "glib-2.0 gio-2.0 gio-unix-2.0 json-glib-1.0") 2>&5
1553415534 ac_status=$?
1553515535 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1553615536 test $ac_status = 0; }; then
15537 pkg_cv_BASE_CFLAGS=`$PKG_CONFIG --cflags "glib-2.0 gio-2.0 gio-unix-2.0 fontconfig json-glib-1.0" 2>/dev/null`
15537 pkg_cv_BASE_CFLAGS=`$PKG_CONFIG --cflags "glib-2.0 gio-2.0 gio-unix-2.0 json-glib-1.0" 2>/dev/null`
1553815538 test "x$?" != "x0" && pkg_failed=yes
1553915539 else
1554015540 pkg_failed=yes
1554615546 pkg_cv_BASE_LIBS="$BASE_LIBS"
1554715547 elif test -n "$PKG_CONFIG"; then
1554815548 if test -n "$PKG_CONFIG" && \
15549 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0 gio-2.0 gio-unix-2.0 fontconfig json-glib-1.0\""; } >&5
15550 ($PKG_CONFIG --exists --print-errors "glib-2.0 gio-2.0 gio-unix-2.0 fontconfig json-glib-1.0") 2>&5
15549 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0 gio-2.0 gio-unix-2.0 json-glib-1.0\""; } >&5
15550 ($PKG_CONFIG --exists --print-errors "glib-2.0 gio-2.0 gio-unix-2.0 json-glib-1.0") 2>&5
1555115551 ac_status=$?
1555215552 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1555315553 test $ac_status = 0; }; then
15554 pkg_cv_BASE_LIBS=`$PKG_CONFIG --libs "glib-2.0 gio-2.0 gio-unix-2.0 fontconfig json-glib-1.0" 2>/dev/null`
15554 pkg_cv_BASE_LIBS=`$PKG_CONFIG --libs "glib-2.0 gio-2.0 gio-unix-2.0 json-glib-1.0" 2>/dev/null`
1555515555 test "x$?" != "x0" && pkg_failed=yes
1555615556 else
1555715557 pkg_failed=yes
1557215572 _pkg_short_errors_supported=no
1557315573 fi
1557415574 if test $_pkg_short_errors_supported = yes; then
15575 BASE_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "glib-2.0 gio-2.0 gio-unix-2.0 fontconfig json-glib-1.0" 2>&1`
15575 BASE_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "glib-2.0 gio-2.0 gio-unix-2.0 json-glib-1.0" 2>&1`
1557615576 else
15577 BASE_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "glib-2.0 gio-2.0 gio-unix-2.0 fontconfig json-glib-1.0" 2>&1`
15577 BASE_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "glib-2.0 gio-2.0 gio-unix-2.0 json-glib-1.0" 2>&1`
1557815578 fi
1557915579 # Put the nasty error message in config.log where it belongs
1558015580 echo "$BASE_PKG_ERRORS" >&5
1558115581
15582 as_fn_error $? "Package requirements (glib-2.0 gio-2.0 gio-unix-2.0 fontconfig json-glib-1.0) were not met:
15582 as_fn_error $? "Package requirements (glib-2.0 gio-2.0 gio-unix-2.0 json-glib-1.0) were not met:
1558315583
1558415584 $BASE_PKG_ERRORS
1558515585
1692116921 # report actual input values of CONFIG_FILES etc. instead of their
1692216922 # values after options handling.
1692316923 ac_log="
16924 This file was extended by xdg-desktop-portal $as_me 1.8.0, which was
16924 This file was extended by xdg-desktop-portal $as_me 1.8.1, which was
1692516925 generated by GNU Autoconf 2.69. Invocation command line was
1692616926
1692716927 CONFIG_FILES = $CONFIG_FILES
1698716987 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
1698816988 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
1698916989 ac_cs_version="\\
16990 xdg-desktop-portal config.status 1.8.0
16990 xdg-desktop-portal config.status 1.8.1
1699116991 configured by $0, generated by GNU Autoconf 2.69,
1699216992 with options \\"\$ac_cs_config\\"
1699316993
00 AC_PREREQ([2.63])
11
2 AC_INIT([xdg-desktop-portal],[1.8.0])
2 AC_INIT([xdg-desktop-portal],[1.8.1])
33
44 AC_USE_SYSTEM_EXTENSIONS
55 AC_SYS_LARGEFILE
6969 AC_SUBST([GLIB_COMPILE_RESOURCES], [`$PKG_CONFIG --variable glib_compile_resources gio-2.0`])
7070 AC_SUBST([GDBUS_CODEGEN], [`$PKG_CONFIG --variable gdbus_codegen gio-2.0`])
7171
72 PKG_CHECK_MODULES(BASE, [glib-2.0 gio-2.0 gio-unix-2.0 fontconfig json-glib-1.0])
72 PKG_CHECK_MODULES(BASE, [glib-2.0 gio-2.0 gio-unix-2.0 json-glib-1.0])
7373 AC_SUBST(BASE_CFLAGS)
7474 AC_SUBST(BASE_LIBS)
7575
498498 }
499499
500500 static char *
501 flatpak (GError **error,
502 ...)
501 get_output (GError **error,
502 const char *argv0,
503 ...)
503504 {
504505 gboolean res;
505506 g_autofree char *output = NULL;
506507 va_list ap;
507508
508 va_start (ap, error);
509 res = xdp_spawn (NULL, &output, 0, error, "flatpak", ap);
509 va_start (ap, argv0);
510 res = xdp_spawn (NULL, &output, 0, error, argv0, ap);
510511 va_end (ap);
511512
512513 if (res)
631632 if (target_app_id == NULL || target_app_id[0] == '\0')
632633 return FALSE;
633634
634 /* First we try flatpak info --file-access=PATH APPID, which is supported on new versions */
635 arg = g_strdup_printf ("--file-access=%s", path);
636 res = flatpak (&error, "info", arg, target_app_id, NULL);
635 if (g_str_has_prefix (target_app_id, "snap."))
636 {
637 res = get_output (&error, "snap", "routine", "file-access",
638 target_app_id + strlen ("snap."), path, NULL);
639 }
640 else
641 {
642 /* First we try flatpak info --file-access=PATH APPID, which is supported on new versions */
643 arg = g_strdup_printf ("--file-access=%s", path);
644 res = get_output (&error, "flatpak", "info", arg, target_app_id, NULL);
645 }
637646
638647 if (res)
639648 {
14471456
14481457 fuse_dev = stbuf.st_dev;
14491458
1459 xdp_set_documents_mountpoint (xdp_fuse_get_mountpoint ());
1460
14501461 while ((invocation = g_queue_pop_head (&get_mount_point_invocations)) != NULL)
14511462 {
14521463 xdp_dbus_documents_complete_get_mount_point (dbus_api, invocation, xdp_fuse_get_mountpoint ());
88 msgstr ""
99 "Project-Id-Version: xdg-desktop-portal master\n"
1010 "Report-Msgid-Bugs-To: https://github.com/flatpak/xdg-desktop-portal/issues\n"
11 "POT-Creation-Date: 2020-09-14 12:22-0400\n"
11 "POT-Creation-Date: 2021-02-16 22:15-0500\n"
1212 "PO-Revision-Date: 2019-10-24 16:06+0200\n"
1313 "Last-Translator: Daniel Rusek <mail@asciiwolf.com>\n"
1414 "Language-Team: Czech <gnome-cs-list@gnome.org>\n"
4545 msgid "Don't allow"
4646 msgstr "Nepovolit"
4747
48 #: src/background.c:273 src/wallpaper.c:179
48 #: src/background.c:273 src/wallpaper.c:180
4949 msgid "Allow"
5050 msgstr "Povolit"
5151
142142 msgid "Requested setting not found"
143143 msgstr "Požadované nastavení nebylo nalezeno"
144144
145 #: src/wallpaper.c:177
145 #: src/wallpaper.c:178
146146 msgid "Deny"
147147 msgstr "Zamítnout"
148148
149 #: src/wallpaper.c:185
149 #: src/wallpaper.c:186
150150 msgid "Allow Applications to Set Backgrounds?"
151151 msgstr "Povolit aplikacím možnost nastavit pozadí?"
152152
153 #: src/wallpaper.c:186
153 #: src/wallpaper.c:187
154154 msgid "An application is requesting to be able to change the background image."
155155 msgstr "Aplikace požaduje mít možnost změnit obrázek na pozadí."
156156
157 #: src/wallpaper.c:198
157 #: src/wallpaper.c:199
158158 #, c-format
159159 msgid "Allow %s to Set Backgrounds?"
160160 msgstr "Povolit aplikaci %s možnost nastavit pozadí?"
161161
162 #: src/wallpaper.c:199
162 #: src/wallpaper.c:200
163163 #, c-format
164164 msgid "%s is requesting to be able to change the background image."
165165 msgstr "Aplikace %s požaduje mít možnost změnit obrázek na pozadí."
166166
167 #: src/wallpaper.c:202
167 #: src/wallpaper.c:203
168168 msgid "This permission can be changed at any time from the privacy settings."
169169 msgstr "Toto oprávnění můžete kdykoliv změnit v nastavení soukromí."
Binary diff not shown
00 # Danish translation for xdg-desktop-portal
11 # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
22 # This file is distributed under the same license as the PACKAGE package.
3 # scootergrisen, 2018-2019.
3 # scootergrisen, 2018-2020.
44 msgid ""
55 msgstr ""
66 "Project-Id-Version: xdg-desktop-portal\n"
77 "Report-Msgid-Bugs-To: https://github.com/flatpak/xdg-desktop-portal/issues\n"
8 "POT-Creation-Date: 2020-09-14 12:22-0400\n"
9 "PO-Revision-Date: 2019-05-21 00:00+0200\n"
8 "POT-Creation-Date: 2021-02-16 22:15-0500\n"
9 "PO-Revision-Date: 2020-10-12 01:25+0200\n"
1010 "Last-Translator: scootergrisen\n"
1111 "Language-Team: Danish\n"
1212 "Language: da\n"
3535 "The ‘run in background’ permission can be changed at any time from the "
3636 "application settings."
3737 msgstr ""
38 "‘Kør i baggrunden’-tilladelsen kan altid ændres i programindstillingerne."
38 "‘Kør i baggrunden’-tilladelsen kan når som helst ændres i "
39 "programindstillingerne."
3940
4041 #: src/background.c:272
4142 msgid "Don't allow"
4243 msgstr "Tillad ikke"
4344
44 #: src/background.c:273 src/wallpaper.c:179
45 #: src/background.c:273 src/wallpaper.c:180
4546 msgid "Allow"
4647 msgstr "Tillad"
4748
5455 "Access to your microphone can be changed at any time from the privacy "
5556 "settings."
5657 msgstr ""
57 "Adgang til din mikrofon kan når som helst ændres fra "
58 "privatlivsindstillingerne."
58 "Adgang til din mikrofon kan når som helst ændres i privatlivsindstillingerne."
5959
6060 #: src/device.c:120
6161 msgid "An application wants to use your microphone."
7474 msgid ""
7575 "Access to your speakers can be changed at any time from the privacy settings."
7676 msgstr ""
77 "Adgang til dine højttalere kan når som helst ændres fra "
77 "Adgang til dine højttalere kan når som helst ændres i "
7878 "privatlivsindstillingerne."
7979
8080 #: src/device.c:133
9494 msgid ""
9595 "Access to your camera can be changed at any time from the privacy settings."
9696 msgstr ""
97 "Adgang til dit kamera kan når som helst ændres fra privatlivsindstillingerne."
97 "Adgang til dit kamera kan når som helst ændres i privatlivsindstillingerne."
9898
9999 #: src/device.c:146
100100 msgid "An application wants to use your camera."
134134 #: src/location.c:554
135135 msgid "Location access can be changed at any time from the privacy settings."
136136 msgstr ""
137 "Adgang til din placering kan når som helst ændres fra "
137 "Adgang til din placering kan når som helst ændres i "
138138 "privatlivsindstillingerne."
139139
140140 #: src/settings.c:124
141141 msgid "Requested setting not found"
142142 msgstr "Den anmodede indstilling blev ikke fundet"
143143
144 #: src/wallpaper.c:177
144 #: src/wallpaper.c:178
145145 msgid "Deny"
146 msgstr ""
147
148 #: src/wallpaper.c:185
149 #, fuzzy
150 msgid "Allow Applications to Set Backgrounds?"
151 msgstr "Tillad %s at køre i baggrunden?"
146 msgstr "Nægt"
152147
153148 #: src/wallpaper.c:186
149 msgid "Allow Applications to Set Backgrounds?"
150 msgstr "Tillad programmer at indstille baggrunde?"
151
152 #: src/wallpaper.c:187
154153 msgid "An application is requesting to be able to change the background image."
155 msgstr ""
156
157 #: src/wallpaper.c:198
158 #, fuzzy, c-format
159 msgid "Allow %s to Set Backgrounds?"
160 msgstr "Tillad %s at køre i baggrunden?"
154 msgstr "Et program anmoder om at være i stand til at ændre baggrundsbilledet."
161155
162156 #: src/wallpaper.c:199
163 #, fuzzy, c-format
157 #, c-format
158 msgid "Allow %s to Set Backgrounds?"
159 msgstr "Tillad %s at indstille baggrunde?"
160
161 #: src/wallpaper.c:200
162 #, c-format
164163 msgid "%s is requesting to be able to change the background image."
165 msgstr "%s anmoder om at køre i baggrunden."
164 msgstr "%s anmoder om at være i stand til at ændre baggrundsbilledet."
166165
167 #: src/wallpaper.c:202
168 #, fuzzy
166 #: src/wallpaper.c:203
169167 msgid "This permission can be changed at any time from the privacy settings."
170 msgstr ""
171 "Adgang til din placering kan når som helst ændres fra "
172 "privatlivsindstillingerne."
168 msgstr "Tilladelsen kan når som helst ændres i privatlivsindstillingerne."
77 msgstr ""
88 "Project-Id-Version: xdg-desktop-portal master\n"
99 "Report-Msgid-Bugs-To: https://github.com/flatpak/xdg-desktop-portal/issues\n"
10 "POT-Creation-Date: 2020-09-14 12:22-0400\n"
10 "POT-Creation-Date: 2021-02-16 22:15-0500\n"
1111 "PO-Revision-Date: 2016-09-23 19:17+0200\n"
1212 "Last-Translator: Mario Blättermann <mario.blaettermann@gmail.com>\n"
1313 "Language-Team: German <gnome-de@gnome.org>\n"
4646 msgid "Don't allow"
4747 msgstr ""
4848
49 #: src/background.c:273 src/wallpaper.c:179
49 #: src/background.c:273 src/wallpaper.c:180
5050 msgid "Allow"
5151 msgstr ""
5252
149149 msgid "Requested setting not found"
150150 msgstr ""
151151
152 #: src/wallpaper.c:177
152 #: src/wallpaper.c:178
153153 msgid "Deny"
154154 msgstr ""
155155
156 #: src/wallpaper.c:185
156 #: src/wallpaper.c:186
157157 #, fuzzy
158158 msgid "Allow Applications to Set Backgrounds?"
159159 msgstr "Eine Anwendung möchte Ton wiedergeben."
160160
161 #: src/wallpaper.c:186
161 #: src/wallpaper.c:187
162162 msgid "An application is requesting to be able to change the background image."
163163 msgstr ""
164164
165 #: src/wallpaper.c:198
165 #: src/wallpaper.c:199
166166 #, c-format
167167 msgid "Allow %s to Set Backgrounds?"
168168 msgstr ""
169169
170 #: src/wallpaper.c:199
170 #: src/wallpaper.c:200
171171 #, c-format
172172 msgid "%s is requesting to be able to change the background image."
173173 msgstr ""
174174
175 #: src/wallpaper.c:202
175 #: src/wallpaper.c:203
176176 #, fuzzy
177177 msgid "This permission can be changed at any time from the privacy settings."
178178 msgstr ""
66 msgstr ""
77 "Project-Id-Version: xdg-desktop-portal master\n"
88 "Report-Msgid-Bugs-To: https://github.com/flatpak/xdg-desktop-portal/issues\n"
9 "POT-Creation-Date: 2020-09-14 12:22-0400\n"
9 "POT-Creation-Date: 2021-02-16 22:15-0500\n"
1010 "PO-Revision-Date: 2019-08-24 23:48+0100\n"
1111 "Last-Translator: Zander Brown <zbrown@gnome.org>\n"
1212 "Language-Team: English - United Kingdom <en_GB@li.org>\n"
4444 msgid "Don't allow"
4545 msgstr "Don't allow"
4646
47 #: src/background.c:273 src/wallpaper.c:179
47 #: src/background.c:273 src/wallpaper.c:180
4848 msgid "Allow"
4949 msgstr "Allow"
5050
141141 msgid "Requested setting not found"
142142 msgstr "Requested setting not found"
143143
144 #: src/wallpaper.c:177
144 #: src/wallpaper.c:178
145145 msgid "Deny"
146146 msgstr ""
147147
148 #: src/wallpaper.c:185
148 #: src/wallpaper.c:186
149149 #, fuzzy
150150 msgid "Allow Applications to Set Backgrounds?"
151151 msgstr "Allow %s to run in the background?"
152152
153 #: src/wallpaper.c:186
153 #: src/wallpaper.c:187
154154 msgid "An application is requesting to be able to change the background image."
155155 msgstr ""
156156
157 #: src/wallpaper.c:198
157 #: src/wallpaper.c:199
158158 #, fuzzy, c-format
159159 msgid "Allow %s to Set Backgrounds?"
160160 msgstr "Allow %s to run in the background?"
161161
162 #: src/wallpaper.c:199
162 #: src/wallpaper.c:200
163163 #, fuzzy, c-format
164164 msgid "%s is requesting to be able to change the background image."
165165 msgstr "%s requests to run in the background."
166166
167 #: src/wallpaper.c:202
167 #: src/wallpaper.c:203
168168 #, fuzzy
169169 msgid "This permission can be changed at any time from the privacy settings."
170170 msgstr "Location access can be changed at any time from the privacy settings."
55 msgstr ""
66 "Project-Id-Version: xdg-desktop-portal master\n"
77 "Report-Msgid-Bugs-To: https://github.com/flatpak/xdg-desktop-portal/issues\n"
8 "POT-Creation-Date: 2020-09-14 12:22-0400\n"
8 "POT-Creation-Date: 2021-02-16 22:15-0500\n"
99 "PO-Revision-Date: 2019-08-17 05:36-0500\n"
1010 "Last-Translator: Adolfo Jayme Barrientos <fitojb@ubuntu.com>\n"
1111 "Language-Team: Spanish\n"
4343 msgid "Don't allow"
4444 msgstr "No permitir"
4545
46 #: src/background.c:273 src/wallpaper.c:179
46 #: src/background.c:273 src/wallpaper.c:180
4747 msgid "Allow"
4848 msgstr "Permitir"
4949
144144 msgid "Requested setting not found"
145145 msgstr "No se encontró la configuración solicitada"
146146
147 #: src/wallpaper.c:177
147 #: src/wallpaper.c:178
148148 msgid "Deny"
149149 msgstr ""
150150
151 #: src/wallpaper.c:185
151 #: src/wallpaper.c:186
152152 #, fuzzy
153153 msgid "Allow Applications to Set Backgrounds?"
154154 msgstr "¿Quiere permitir que %s se ejecute en segundo plano?"
155155
156 #: src/wallpaper.c:186
156 #: src/wallpaper.c:187
157157 msgid "An application is requesting to be able to change the background image."
158158 msgstr ""
159159
160 #: src/wallpaper.c:198
160 #: src/wallpaper.c:199
161161 #, fuzzy, c-format
162162 msgid "Allow %s to Set Backgrounds?"
163163 msgstr "¿Quiere permitir que %s se ejecute en segundo plano?"
164164
165 #: src/wallpaper.c:199
165 #: src/wallpaper.c:200
166166 #, fuzzy, c-format
167167 msgid "%s is requesting to be able to change the background image."
168168 msgstr "%s solicita ejecutarse en segundo plano."
169169
170 #: src/wallpaper.c:202
170 #: src/wallpaper.c:203
171171 #, fuzzy
172172 msgid "This permission can be changed at any time from the privacy settings."
173173 msgstr ""
66 msgstr ""
77 "Project-Id-Version: xdg-desktop-portal master\n"
88 "Report-Msgid-Bugs-To: https://github.com/flatpak/xdg-desktop-portal/issues\n"
9 "POT-Creation-Date: 2020-09-14 12:22-0400\n"
9 "POT-Creation-Date: 2021-02-16 22:15-0500\n"
1010 "PO-Revision-Date: 2017-03-02 11:34+0100\n"
1111 "Last-Translator: Nicolas Cuffia <cuffia.cuceglio@vivaldi.net>\n"
1212 "Language-Team: French <gnomefr@traduc.org>\n"
4444 msgid "Don't allow"
4545 msgstr ""
4646
47 #: src/background.c:273 src/wallpaper.c:179
47 #: src/background.c:273 src/wallpaper.c:180
4848 msgid "Allow"
4949 msgstr ""
5050
147147 msgid "Requested setting not found"
148148 msgstr ""
149149
150 #: src/wallpaper.c:177
150 #: src/wallpaper.c:178
151151 msgid "Deny"
152152 msgstr ""
153153
154 #: src/wallpaper.c:185
154 #: src/wallpaper.c:186
155155 #, fuzzy
156156 msgid "Allow Applications to Set Backgrounds?"
157157 msgstr "Une application veut jouer du son."
158158
159 #: src/wallpaper.c:186
159 #: src/wallpaper.c:187
160160 msgid "An application is requesting to be able to change the background image."
161161 msgstr ""
162162
163 #: src/wallpaper.c:198
163 #: src/wallpaper.c:199
164164 #, c-format
165165 msgid "Allow %s to Set Backgrounds?"
166166 msgstr ""
167167
168 #: src/wallpaper.c:199
168 #: src/wallpaper.c:200
169169 #, c-format
170170 msgid "%s is requesting to be able to change the background image."
171171 msgstr ""
172172
173 #: src/wallpaper.c:202
173 #: src/wallpaper.c:203
174174 #, fuzzy
175175 msgid "This permission can be changed at any time from the privacy settings."
176176 msgstr ""
55 msgstr ""
66 "Project-Id-Version: xdg-desktop-portal master\n"
77 "Report-Msgid-Bugs-To: https://github.com/flatpak/xdg-desktop-portal/issues\n"
8 "POT-Creation-Date: 2020-09-14 12:22-0400\n"
8 "POT-Creation-Date: 2021-02-16 22:15-0500\n"
99 "PO-Revision-Date: 2020-01-06 00:03+0100\n"
1010 "Last-Translator: Fran Diéguez <frandieguez@gnome.org>\n"
1111 "Language-Team: Galician\n"
4343 msgid "Don't allow"
4444 msgstr "Non permitir"
4545
46 #: src/background.c:273 src/wallpaper.c:179
46 #: src/background.c:273 src/wallpaper.c:180
4747 msgid "Allow"
4848 msgstr "Permitir"
4949
144144 msgid "Requested setting not found"
145145 msgstr "Non se atopou a configuración solicitada"
146146
147 #: src/wallpaper.c:177
147 #: src/wallpaper.c:178
148148 msgid "Deny"
149149 msgstr "Denegar"
150150
151 #: src/wallpaper.c:185
151 #: src/wallpaper.c:186
152152 msgid "Allow Applications to Set Backgrounds?"
153153 msgstr "Permitirlle ás aplicacións configurar o fondo de pantalla?"
154154
155 #: src/wallpaper.c:186
155 #: src/wallpaper.c:187
156156 msgid "An application is requesting to be able to change the background image."
157157 msgstr "Unha aplicación está solicitando poder cambiar a imaxe de fondo"
158158
159 #: src/wallpaper.c:198
159 #: src/wallpaper.c:199
160160 #, c-format
161161 msgid "Allow %s to Set Backgrounds?"
162162 msgstr "Permitirlle a %s configurar o fondo de pantalla?"
163163
164 #: src/wallpaper.c:199
164 #: src/wallpaper.c:200
165165 #, c-format
166166 msgid "%s is requesting to be able to change the background image."
167167 msgstr "%s está solicitando poder cambiar o fondo de pantalla."
168168
169 #: src/wallpaper.c:202
169 #: src/wallpaper.c:203
170170 msgid "This permission can be changed at any time from the privacy settings."
171171 msgstr ""
172172 "Este permiso pode cambiarse en calquera momento desde as preferencias de "
55 msgstr ""
66 "Project-Id-Version: xdg-desktop-portal master\n"
77 "Report-Msgid-Bugs-To: https://github.com/flatpak/xdg-desktop-portal/issues\n"
8 "POT-Creation-Date: 2020-09-14 12:22-0400\n"
8 "POT-Creation-Date: 2021-02-16 22:15-0500\n"
99 "PO-Revision-Date: 2020-01-25 16:44+0100\n"
1010 "Last-Translator: Milo Ivir <mail@milotype.de>\n"
1111 "Language-Team: \n"
4444 msgid "Don't allow"
4545 msgstr "Nemoj dozvoliti"
4646
47 #: src/background.c:273 src/wallpaper.c:179
47 #: src/background.c:273 src/wallpaper.c:180
4848 msgid "Allow"
4949 msgstr "Dozvoli"
5050
142142 msgid "Requested setting not found"
143143 msgstr "Zatražena postavka nije nađena"
144144
145 #: src/wallpaper.c:177
145 #: src/wallpaper.c:178
146146 msgid "Deny"
147147 msgstr "Zabrani"
148148
149 #: src/wallpaper.c:185
149 #: src/wallpaper.c:186
150150 msgid "Allow Applications to Set Backgrounds?"
151151 msgstr "Dozvoliti programu da postavi pozadine?"
152152
153 #: src/wallpaper.c:186
153 #: src/wallpaper.c:187
154154 msgid "An application is requesting to be able to change the background image."
155155 msgstr "Jedan program traži dozvolu za mijenjanje slike pozadine."
156156
157 #: src/wallpaper.c:198
157 #: src/wallpaper.c:199
158158 #, c-format
159159 msgid "Allow %s to Set Backgrounds?"
160160 msgstr "Dozvoliti da %s postavi pozadine?"
161161
162 #: src/wallpaper.c:199
162 #: src/wallpaper.c:200
163163 #, c-format
164164 msgid "%s is requesting to be able to change the background image."
165165 msgstr "%s traži dozvolu za mijenjanje slike pozadine."
166166
167 #: src/wallpaper.c:202
167 #: src/wallpaper.c:203
168168 msgid "This permission can be changed at any time from the privacy settings."
169169 msgstr "Ovu dozvolu je uvijek moguće promijeniti u postavkama privatnosti."
66 msgstr ""
77 "Project-Id-Version: xdg-desktop-portal\n"
88 "Report-Msgid-Bugs-To: https://github.com/flatpak/xdg-desktop-portal/issues\n"
9 "POT-Creation-Date: 2020-09-14 12:22-0400\n"
9 "POT-Creation-Date: 2021-02-16 22:15-0500\n"
1010 "PO-Revision-Date: 2019-02-12 21:18+0100\n"
1111 "Last-Translator: Balázs Úr <ur.balazs at fsf dot hu>\n"
1212 "Language-Team: Hungarian <gnome-hu-list at gnome dot org>\n"
4545 msgid "Don't allow"
4646 msgstr ""
4747
48 #: src/background.c:273 src/wallpaper.c:179
48 #: src/background.c:273 src/wallpaper.c:180
4949 msgid "Allow"
5050 msgstr ""
5151
146146 msgid "Requested setting not found"
147147 msgstr "A kért beállítás nem található"
148148
149 #: src/wallpaper.c:177
149 #: src/wallpaper.c:178
150150 msgid "Deny"
151151 msgstr ""
152152
153 #: src/wallpaper.c:185
153 #: src/wallpaper.c:186
154154 #, fuzzy
155155 msgid "Allow Applications to Set Backgrounds?"
156156 msgstr "Egy alkalmazás hangot szeretne lejátszani."
157157
158 #: src/wallpaper.c:186
158 #: src/wallpaper.c:187
159159 msgid "An application is requesting to be able to change the background image."
160160 msgstr ""
161161
162 #: src/wallpaper.c:198
162 #: src/wallpaper.c:199
163163 #, c-format
164164 msgid "Allow %s to Set Backgrounds?"
165165 msgstr ""
166166
167 #: src/wallpaper.c:199
167 #: src/wallpaper.c:200
168168 #, c-format
169169 msgid "%s is requesting to be able to change the background image."
170170 msgstr ""
171171
172 #: src/wallpaper.c:202
172 #: src/wallpaper.c:203
173173 #, fuzzy
174174 msgid "This permission can be changed at any time from the privacy settings."
175175 msgstr ""
66 msgstr ""
77 "Project-Id-Version: xdg-desktop-portal master\n"
88 "Report-Msgid-Bugs-To: https://github.com/flatpak/xdg-desktop-portal/issues\n"
9 "POT-Creation-Date: 2020-09-14 12:22-0400\n"
9 "POT-Creation-Date: 2021-02-16 22:15-0500\n"
1010 "PO-Revision-Date: 2020-01-26 17:23+0700\n"
1111 "Last-Translator: Kukuh Syafaat <kukuhsyafaat@gnome.org>\n"
1212 "Language-Team: Indonesian <gnome-l10n-id@googlegroups.com>\n"
4444 msgid "Don't allow"
4545 msgstr "Jangan izinkan"
4646
47 #: src/background.c:273 src/wallpaper.c:179
47 #: src/background.c:273 src/wallpaper.c:180
4848 msgid "Allow"
4949 msgstr "Izinkan"
5050
140140 msgid "Requested setting not found"
141141 msgstr "Pengaturan yang diminta tidak ditemukan"
142142
143 #: src/wallpaper.c:177
143 #: src/wallpaper.c:178
144144 msgid "Deny"
145145 msgstr "Tolak"
146146
147 #: src/wallpaper.c:185
147 #: src/wallpaper.c:186
148148 msgid "Allow Applications to Set Backgrounds?"
149149 msgstr "Izinkan Aplikasi untuk Mengatur Latar Belakang?"
150150
151 #: src/wallpaper.c:186
151 #: src/wallpaper.c:187
152152 msgid "An application is requesting to be able to change the background image."
153153 msgstr "Aplikasi meminta untuk dapat mengubah gambar latar belakang."
154154
155 #: src/wallpaper.c:198
155 #: src/wallpaper.c:199
156156 #, c-format
157157 msgid "Allow %s to Set Backgrounds?"
158158 msgstr "Izinkan %s untuk Mengatur Latar Belakang?"
159159
160 #: src/wallpaper.c:199
160 #: src/wallpaper.c:200
161161 #, c-format
162162 msgid "%s is requesting to be able to change the background image."
163163 msgstr "%s meminta untuk dapat mengubah gambar latar belakang."
164164
165 #: src/wallpaper.c:202
165 #: src/wallpaper.c:203
166166 msgid "This permission can be changed at any time from the privacy settings."
167167 msgstr "Izin ini dapat diubah kapan saja dari pengaturan privasi."
66 msgstr ""
77 "Project-Id-Version: xdg-desktop-portal master\n"
88 "Report-Msgid-Bugs-To: https://github.com/flatpak/xdg-desktop-portal/issues\n"
9 "POT-Creation-Date: 2020-09-14 12:22-0400\n"
9 "POT-Creation-Date: 2021-02-16 22:15-0500\n"
1010 "PO-Revision-Date: 2020-02-10 16:11+0100\n"
1111 "Last-Translator: Milo Casagrande <milo@milo.name>\n"
1212 "Language-Team: Italian <gnome-it-list@gnome.org>\n"
4646 msgid "Don't allow"
4747 msgstr "Non consentire"
4848
49 #: src/background.c:273 src/wallpaper.c:179
49 #: src/background.c:273 src/wallpaper.c:180
5050 msgid "Allow"
5151 msgstr "Consenti"
5252
147147 msgid "Requested setting not found"
148148 msgstr "La risorsa richiesta non è stata trovata"
149149
150 #: src/wallpaper.c:177
150 #: src/wallpaper.c:178
151151 msgid "Deny"
152152 msgstr "Nega"
153153
154 #: src/wallpaper.c:185
154 #: src/wallpaper.c:186
155155 msgid "Allow Applications to Set Backgrounds?"
156156 msgstr "Consentire alle applicazioni di impostare lo sfondo?"
157157
158 #: src/wallpaper.c:186
158 #: src/wallpaper.c:187
159159 msgid "An application is requesting to be able to change the background image."
160160 msgstr "Un'applicazione richiede di poter cambiare l'immagine di sfondo."
161161
162 #: src/wallpaper.c:198
162 #: src/wallpaper.c:199
163163 #, c-format
164164 msgid "Allow %s to Set Backgrounds?"
165165 msgstr "Consentire a %s di impostare lo sfondo?"
166166
167 #: src/wallpaper.c:199
167 #: src/wallpaper.c:200
168168 #, c-format
169169 msgid "%s is requesting to be able to change the background image."
170170 msgstr "L'applicazione %s richiede di poter cambiare l'immagine di sfondo."
171171
172 #: src/wallpaper.c:202
172 #: src/wallpaper.c:203
173173 msgid "This permission can be changed at any time from the privacy settings."
174174 msgstr ""
175175 "Questa impostazione può essere modificata in qualsiasi momento attraverso le "
66 msgstr ""
77 "Project-Id-Version: xdg-desktop-portal master\n"
88 "Report-Msgid-Bugs-To: https://github.com/flatpak/xdg-desktop-portal/issues\n"
9 "POT-Creation-Date: 2020-09-14 12:22-0400\n"
9 "POT-Creation-Date: 2021-02-16 22:15-0500\n"
1010 "PO-Revision-Date: 2020-03-07 20:26+0200\n"
1111 "Last-Translator: Moo\n"
1212 "Language-Team: Lithuanian <gnome-lt@lists.akl.lt>\n"
4545 msgid "Don't allow"
4646 msgstr "Neleisti"
4747
48 #: src/background.c:273 src/wallpaper.c:179
48 #: src/background.c:273 src/wallpaper.c:180
4949 msgid "Allow"
5050 msgstr "Leisti"
5151
146146 msgid "Requested setting not found"
147147 msgstr "Užklaustas nustatymas nerastas"
148148
149 #: src/wallpaper.c:177
149 #: src/wallpaper.c:178
150150 msgid "Deny"
151151 msgstr "Drausti"
152152
153 #: src/wallpaper.c:185
153 #: src/wallpaper.c:186
154154 msgid "Allow Applications to Set Backgrounds?"
155155 msgstr "Leisti programoms nustatyti fonus?"
156156
157 #: src/wallpaper.c:186
157 #: src/wallpaper.c:187
158158 msgid "An application is requesting to be able to change the background image."
159159 msgstr "Programa prašo galimybės keisti fono paveikslą."
160160
161 #: src/wallpaper.c:198
161 #: src/wallpaper.c:199
162162 #, c-format
163163 msgid "Allow %s to Set Backgrounds?"
164164 msgstr "Leisti %s nustatyti fonus?"
165165
166 #: src/wallpaper.c:199
166 #: src/wallpaper.c:200
167167 #, c-format
168168 msgid "%s is requesting to be able to change the background image."
169169 msgstr "%s prašo galimybės keisti fono paveikslą."
170170
171 #: src/wallpaper.c:202
171 #: src/wallpaper.c:203
172172 msgid "This permission can be changed at any time from the privacy settings."
173173 msgstr ""
174174 "Šis leidimas bet kuriuo metu gali būti pakeistas privatumo nustatymuose."
77 msgstr ""
88 "Project-Id-Version: xdg-desktop-portal\n"
99 "Report-Msgid-Bugs-To: https://github.com/flatpak/xdg-desktop-portal/issues\n"
10 "POT-Creation-Date: 2020-09-14 12:22-0400\n"
10 "POT-Creation-Date: 2021-02-16 22:15-0500\n"
1111 "PO-Revision-Date: 2019-10-24 16:30+0200\n"
1212 "Last-Translator: Piotr Drąg <piotrdrag@gmail.com>\n"
1313 "Language-Team: Polish <community-poland@mozilla.org>\n"
4545 msgid "Don't allow"
4646 msgstr "Nie zezwalaj"
4747
48 #: src/background.c:273 src/wallpaper.c:179
48 #: src/background.c:273 src/wallpaper.c:180
4949 msgid "Allow"
5050 msgstr "Zezwól"
5151
142142 msgid "Requested setting not found"
143143 msgstr "Nie odnaleziono żądanego ustawienia"
144144
145 #: src/wallpaper.c:177
145 #: src/wallpaper.c:178
146146 msgid "Deny"
147147 msgstr "Odmów"
148148
149 #: src/wallpaper.c:185
149 #: src/wallpaper.c:186
150150 msgid "Allow Applications to Set Backgrounds?"
151151 msgstr "Pozwolić programowi na ustawianie tła?"
152152
153 #: src/wallpaper.c:186
153 #: src/wallpaper.c:187
154154 msgid "An application is requesting to be able to change the background image."
155155 msgstr "Program potrzebuje mieć możliwość zmiany obrazu tła."
156156
157 #: src/wallpaper.c:198
157 #: src/wallpaper.c:199
158158 #, c-format
159159 msgid "Allow %s to Set Backgrounds?"
160160 msgstr "Pozwolić programowi „%s” na ustawianie tła?"
161161
162 #: src/wallpaper.c:199
162 #: src/wallpaper.c:200
163163 #, c-format
164164 msgid "%s is requesting to be able to change the background image."
165165 msgstr "Program „%s” potrzebuje mieć możliwość zmiany obrazu tła."
166166
167 #: src/wallpaper.c:202
167 #: src/wallpaper.c:203
168168 msgid "This permission can be changed at any time from the privacy settings."
169169 msgstr ""
170170 "To uprawnienie można zmienić w każdej chwili w ustawieniach prywatności."
66 msgstr ""
77 "Project-Id-Version: xdg-desktop-portal master\n"
88 "Report-Msgid-Bugs-To: https://github.com/flatpak/xdg-desktop-portal/issues\n"
9 "POT-Creation-Date: 2020-09-14 12:22-0400\n"
9 "POT-Creation-Date: 2021-02-16 22:15-0500\n"
1010 "PO-Revision-Date: 2019-11-24 22:29-0300\n"
1111 "Last-Translator: Rafael Fontenelle <rafaelff@gnome.org>\n"
1212 "Language-Team: Brazilian Portuguese <gnome-pt_br-list@gnome.org>\n"
4444 msgid "Don't allow"
4545 msgstr "Não permitir"
4646
47 #: src/background.c:273 src/wallpaper.c:179
47 #: src/background.c:273 src/wallpaper.c:180
4848 msgid "Allow"
4949 msgstr "Permitir"
5050
145145 msgid "Requested setting not found"
146146 msgstr "A configuração requisitada não foi encontrada"
147147
148 #: src/wallpaper.c:177
148 #: src/wallpaper.c:178
149149 msgid "Deny"
150150 msgstr "Negar"
151151
152 #: src/wallpaper.c:185
152 #: src/wallpaper.c:186
153153 msgid "Allow Applications to Set Backgrounds?"
154154 msgstr "Permitir que aplicativos definam planos de fundo?"
155155
156 #: src/wallpaper.c:186
156 #: src/wallpaper.c:187
157157 msgid "An application is requesting to be able to change the background image."
158158 msgstr ""
159159 "Um aplicativo está solicitando a capacidade de alterar a imagem de plano de "
160160 "fundo."
161161
162 #: src/wallpaper.c:198
162 #: src/wallpaper.c:199
163163 #, c-format
164164 msgid "Allow %s to Set Backgrounds?"
165165 msgstr "Permitir que %s defina planos de fundo?"
166166
167 #: src/wallpaper.c:199
167 #: src/wallpaper.c:200
168168 #, c-format
169169 msgid "%s is requesting to be able to change the background image."
170170 msgstr ""
171171 "%s está solicitando a capacidade de alterar a imagem de plano de fundo."
172172
173 #: src/wallpaper.c:202
173 #: src/wallpaper.c:203
174174 msgid "This permission can be changed at any time from the privacy settings."
175175 msgstr ""
176176 "Essa permissão pode ser alterada a qualquer momento a partir das "
66 msgstr ""
77 "Project-Id-Version: xdg-desktop-portal master\n"
88 "Report-Msgid-Bugs-To: https://github.com/flatpak/xdg-desktop-portal/issues\n"
9 "POT-Creation-Date: 2020-09-14 12:22-0400\n"
9 "POT-Creation-Date: 2021-02-16 22:15-0500\n"
1010 "PO-Revision-Date: 2020-04-04 06:13+0300\n"
1111 "Last-Translator: Артемий Судаков <finziyr@yandex.ru>\n"
1212 "Language-Team: Russian <gnome-cyr@gnome.org>\n"
4545 msgid "Don't allow"
4646 msgstr "Запретить"
4747
48 #: src/background.c:273 src/wallpaper.c:179
48 #: src/background.c:273 src/wallpaper.c:180
4949 msgid "Allow"
5050 msgstr "Разрешить"
5151
146146 msgid "Requested setting not found"
147147 msgstr "Запрашиваемая настройка не найдена"
148148
149 #: src/wallpaper.c:177
149 #: src/wallpaper.c:178
150150 msgid "Deny"
151151 msgstr "Отклонить"
152152
153 #: src/wallpaper.c:185
153 #: src/wallpaper.c:186
154154 msgid "Allow Applications to Set Backgrounds?"
155155 msgstr "Разрешить приложению работать в фоне?"
156156
157 #: src/wallpaper.c:186
157 #: src/wallpaper.c:187
158158 msgid "An application is requesting to be able to change the background image."
159159 msgstr ""
160160 "Приложение запрашивает доступ к возможности изменять изображения рабочего "
161161 "стола"
162162
163 #: src/wallpaper.c:198
163 #: src/wallpaper.c:199
164164 #, c-format
165165 msgid "Allow %s to Set Backgrounds?"
166166 msgstr "Разрешить %s изменять изображение на рабочем столе?"
167167
168 #: src/wallpaper.c:199
168 #: src/wallpaper.c:200
169169 #, c-format
170170 msgid "%s is requesting to be able to change the background image."
171171 msgstr ""
172172 "%s запрашивает доступ к возможности изменять изображение рабочего стола."
173173
174 #: src/wallpaper.c:202
174 #: src/wallpaper.c:203
175175 msgid "This permission can be changed at any time from the privacy settings."
176176 msgstr ""
177177 "Это разрешение может быть изменено в любое время из меню настроек "
Binary diff not shown
00 # Slovak translation for xdg-desktop-portal.
11 # Copyright (C) 2016 xdg-desktop-portal's COPYRIGHT HOLDER
22 # This file is distributed under the same license as the xdg-desktop-portal package.
3 # Dušan Kazik <prescott66@gmail.com>, 2016.
3 # Dušan Kazik <prescott66@gmail.com>, 2016-2020.
44 #
55 msgid ""
66 msgstr ""
77 "Project-Id-Version: xdg-desktop-portal master\n"
88 "Report-Msgid-Bugs-To: https://github.com/flatpak/xdg-desktop-portal/issues\n"
9 "POT-Creation-Date: 2020-09-14 12:22-0400\n"
10 "PO-Revision-Date: 2016-08-08 09:14+0200\n"
9 "POT-Creation-Date: 2021-02-16 22:15-0500\n"
10 "PO-Revision-Date: 2020-09-22 14:32+0200\n"
1111 "Last-Translator: Dušan Kazik <prescott66@gmail.com>\n"
1212 "Language-Team: Slovak <gnome-sk-list@gnome.org>\n"
1313 "Language: sk\n"
1515 "Content-Type: text/plain; charset=UTF-8\n"
1616 "Content-Transfer-Encoding: 8bit\n"
1717 "Plural-Forms: nplurals=3; plural=(n==1) ? 1 : (n>=2 && n<=4) ? 2 : 0;\n"
18 "X-Generator: Poedit 1.8.8\n"
18 "X-Generator: Poedit 2.4.1\n"
1919
2020 #: src/background.c:260
2121 #, c-format
2222 msgid "Allow %s to run in the background?"
23 msgstr ""
23 msgstr "Umožniť aplikácii %s spustenie na pozadí?"
2424
2525 #: src/background.c:264
2626 #, c-format
2727 msgid "%s requests to be started automatically and run in the background."
28 msgstr ""
28 msgstr "Aplikácia %s požaduje automatické spustenie a beh na pozadí."
2929
3030 #: src/background.c:266
3131 #, c-format
3232 msgid "%s requests to run in the background."
33 msgstr ""
33 msgstr "Aplikácia %s požaduje spustenie na pozadí."
3434
3535 #: src/background.c:267
36 #, fuzzy
3736 msgid ""
3837 "The ‘run in background’ permission can be changed at any time from the "
3938 "application settings."
4039 msgstr ""
41 "Prístup k vašim reproduktorom môže byť kedykoľvek zmenený z nastavení "
42 "súkromia."
40 "Oprávnenie „spustenie na pozadí“ môže byť kedykoľvek zmenené z nastavení "
41 "aplikácií."
4342
4443 #: src/background.c:272
4544 msgid "Don't allow"
46 msgstr ""
45 msgstr "Nepovoliť"
4746
48 #: src/background.c:273 src/wallpaper.c:179
47 #: src/background.c:273 src/wallpaper.c:180
4948 msgid "Allow"
50 msgstr ""
49 msgstr "Povoliť"
5150
5251 #: src/device.c:115
5352 msgid "Turn On Microphone?"
110109
111110 #: src/location.c:526
112111 msgid "Deny Access"
113 msgstr ""
112 msgstr "Zamietnuť prístup"
114113
115114 #: src/location.c:528
116115 msgid "Grant Access"
117 msgstr ""
116 msgstr "Udeliť prístup"
118117
119118 #: src/location.c:534
120119 msgid "Grant Access to Your Location?"
121 msgstr ""
120 msgstr "Udeliť prístup k vašej polohe?"
122121
123122 #: src/location.c:535
124 #, fuzzy
125123 msgid "An application wants to use your location."
126 msgstr "Aplikácia sa pokúša použiť vašu kameru."
124 msgstr "Aplikácia sa pokúša použiť vašu polohu."
127125
128126 #: src/location.c:547
129127 #, c-format
130128 msgid "Give %s Access to Your Location?"
131 msgstr ""
129 msgstr "Umožniť aplikácii %s prístup k vašej polohe?"
132130
133131 #: src/location.c:551
134 #, fuzzy, c-format
132 #, c-format
135133 msgid "%s wants to use your location."
136 msgstr "Aplikácia %s sa pokúša použiť vašu kameru."
134 msgstr "Aplikácia %s sa pokúša použiť vašu polohu."
137135
138136 #: src/location.c:554
139 #, fuzzy
140137 msgid "Location access can be changed at any time from the privacy settings."
141138 msgstr ""
142 "Prístup k vašim reproduktorom môže byť kedykoľvek zmenený z nastavení "
143 "súkromia."
139 "Prístup k vašej polohe môže byť kedykoľvek zmenený z nastavení súkromia."
144140
145141 #: src/settings.c:124
146142 msgid "Requested setting not found"
147 msgstr ""
143 msgstr "Požadované nastavenie sa nenašlo"
148144
149 #: src/wallpaper.c:177
145 #: src/wallpaper.c:178
150146 msgid "Deny"
151 msgstr ""
152
153 #: src/wallpaper.c:185
154 #, fuzzy
155 msgid "Allow Applications to Set Backgrounds?"
156 msgstr "Aplikácia sa pokúša prehrať zvuk."
147 msgstr "Odmietnuť"
157148
158149 #: src/wallpaper.c:186
150 msgid "Allow Applications to Set Backgrounds?"
151 msgstr "Umožniť aplikáciám nastavovať pozadia?"
152
153 #: src/wallpaper.c:187
159154 msgid "An application is requesting to be able to change the background image."
160 msgstr ""
161
162 #: src/wallpaper.c:198
163 #, c-format
164 msgid "Allow %s to Set Backgrounds?"
165 msgstr ""
155 msgstr "Aplikácia požaduje povolenie na zmenu obrázku pozadia."
166156
167157 #: src/wallpaper.c:199
168158 #, c-format
159 msgid "Allow %s to Set Backgrounds?"
160 msgstr "Umožniť aplikácii %s nastavovať pozadia?"
161
162 #: src/wallpaper.c:200
163 #, c-format
169164 msgid "%s is requesting to be able to change the background image."
170 msgstr ""
165 msgstr "Aplikácia %s požaduje povolenie na zmenu obrázku pozadia."
171166
172 #: src/wallpaper.c:202
173 #, fuzzy
167 #: src/wallpaper.c:203
174168 msgid "This permission can be changed at any time from the privacy settings."
175 msgstr ""
176 "Prístup k vašim reproduktorom môže byť kedykoľvek zmenený z nastavení "
177 "súkromia."
169 msgstr "Toto oprávnenie môže byť kedykoľvek zmenené z nastavení súkromia."
66 msgstr ""
77 "Project-Id-Version: xdg-desktop-portal master\n"
88 "Report-Msgid-Bugs-To: https://github.com/flatpak/xdg-desktop-portal/issues\n"
9 "POT-Creation-Date: 2020-09-14 12:22-0400\n"
9 "POT-Creation-Date: 2021-02-16 22:15-0500\n"
1010 "PO-Revision-Date: 2016-09-14 12:54+0200\n"
1111 "Last-Translator: Мирослав Николић <miroslavnikolic@rocketmail.com>\n"
1212 "Language-Team: српски <gnome-sr@googlegroups.org>\n"
4545 msgid "Don't allow"
4646 msgstr ""
4747
48 #: src/background.c:273 src/wallpaper.c:179
48 #: src/background.c:273 src/wallpaper.c:180
4949 msgid "Allow"
5050 msgstr ""
5151
148148 msgid "Requested setting not found"
149149 msgstr ""
150150
151 #: src/wallpaper.c:177
151 #: src/wallpaper.c:178
152152 msgid "Deny"
153153 msgstr ""
154154
155 #: src/wallpaper.c:185
155 #: src/wallpaper.c:186
156156 #, fuzzy
157157 msgid "Allow Applications to Set Backgrounds?"
158158 msgstr "Један програм жели да пусти звук."
159159
160 #: src/wallpaper.c:186
160 #: src/wallpaper.c:187
161161 msgid "An application is requesting to be able to change the background image."
162162 msgstr ""
163163
164 #: src/wallpaper.c:198
164 #: src/wallpaper.c:199
165165 #, c-format
166166 msgid "Allow %s to Set Backgrounds?"
167167 msgstr ""
168168
169 #: src/wallpaper.c:199
169 #: src/wallpaper.c:200
170170 #, c-format
171171 msgid "%s is requesting to be able to change the background image."
172172 msgstr ""
173173
174 #: src/wallpaper.c:202
174 #: src/wallpaper.c:203
175175 #, fuzzy
176176 msgid "This permission can be changed at any time from the privacy settings."
177177 msgstr ""
Binary diff not shown
00 # Swedish translation for xdg-desktop-portal.
1 # Copyright © 2016 xdg-desktop-portal's COPYRIGHT HOLDER
1 # Copyright © 2016, 2020 xdg-desktop-portal's COPYRIGHT HOLDER
22 # This file is distributed under the same license as the xdg-desktop-portal package.
33 # Sebastian Rasmussen <sebras@gmail.com>, 2016.
4 # Anders Jonsson <anders.jonsson@norsjovallen.se>, 2020.
45 #
56 msgid ""
67 msgstr ""
78 "Project-Id-Version: xdg-desktop-portal master\n"
89 "Report-Msgid-Bugs-To: https://github.com/flatpak/xdg-desktop-portal/issues\n"
9 "POT-Creation-Date: 2020-09-14 12:22-0400\n"
10 "PO-Revision-Date: 2016-08-14 13:43+0800\n"
11 "Last-Translator: Sebastian Rasmussen <sebras@gmail.com>\n"
10 "POT-Creation-Date: 2021-02-16 22:15-0500\n"
11 "PO-Revision-Date: 2020-09-20 00:11+0200\n"
12 "Last-Translator: Anders Jonsson <anders.jonsson@norsjovallen.se>\n"
1213 "Language-Team: Swedish <tp-sv@listor.tp-sv.se>\n"
1314 "Language: sv\n"
1415 "MIME-Version: 1.0\n"
1516 "Content-Type: text/plain; charset=UTF-8\n"
1617 "Content-Transfer-Encoding: 8bit\n"
1718 "Plural-Forms: nplurals=2; plural=(n != 1);\n"
18 "X-Generator: Poedit 1.8.8\n"
19 "X-Generator: Poedit 2.4.1\n"
1920
2021 #: src/background.c:260
2122 #, c-format
2223 msgid "Allow %s to run in the background?"
23 msgstr ""
24 msgstr "Tillåt %s att köra i bakgrunden?"
2425
2526 #: src/background.c:264
2627 #, c-format
2728 msgid "%s requests to be started automatically and run in the background."
28 msgstr ""
29 msgstr "%s begär att startas automatiskt och köras i bakgrunden."
2930
3031 #: src/background.c:266
3132 #, c-format
3233 msgid "%s requests to run in the background."
33 msgstr ""
34 msgstr "%s begär att köras i bakgrunden."
3435
3536 #: src/background.c:267
36 #, fuzzy
3737 msgid ""
3838 "The ‘run in background’ permission can be changed at any time from the "
3939 "application settings."
4040 msgstr ""
41 "Tillgång till dina högtalare kan ändras när som helst från "
42 "sekretessinställningarna."
41 "Rättigheten ”kör i bakgrund” kan ändras när som helst från "
42 "programinställningarna."
4343
4444 #: src/background.c:272
4545 msgid "Don't allow"
46 msgstr ""
46 msgstr "Tillåt inte"
4747
48 #: src/background.c:273 src/wallpaper.c:179
48 #: src/background.c:273 src/wallpaper.c:180
4949 msgid "Allow"
50 msgstr ""
50 msgstr "Tillåt"
5151
5252 #: src/device.c:115
5353 msgid "Turn On Microphone?"
112112
113113 #: src/location.c:526
114114 msgid "Deny Access"
115 msgstr ""
115 msgstr "Neka åtkomst"
116116
117117 #: src/location.c:528
118118 msgid "Grant Access"
119 msgstr ""
119 msgstr "Bevilja åtkomst"
120120
121121 #: src/location.c:534
122122 msgid "Grant Access to Your Location?"
123 msgstr ""
123 msgstr "Bevilja åtkomst till din plats?"
124124
125125 #: src/location.c:535
126 #, fuzzy
127126 msgid "An application wants to use your location."
128 msgstr "Ett program vill använda din kamera."
127 msgstr "Ett program vill använda din plats."
129128
130129 #: src/location.c:547
131130 #, c-format
132131 msgid "Give %s Access to Your Location?"
133 msgstr ""
132 msgstr "Ge %s åtkomst till din plats?"
134133
135134 #: src/location.c:551
136 #, fuzzy, c-format
135 #, c-format
137136 msgid "%s wants to use your location."
138 msgstr "%s vill använda din kamera."
137 msgstr "%s vill använda din plats."
139138
140139 #: src/location.c:554
141 #, fuzzy
142140 msgid "Location access can be changed at any time from the privacy settings."
143 msgstr ""
144 "Tillgång till dina högtalare kan ändras när som helst från "
145 "sekretessinställningarna."
141 msgstr "Platsåtkomst kan ändras när som helst från sekretessinställningarna."
146142
147143 #: src/settings.c:124
148144 msgid "Requested setting not found"
149 msgstr ""
145 msgstr "Begärd inställning hittades inte"
150146
151 #: src/wallpaper.c:177
147 #: src/wallpaper.c:178
152148 msgid "Deny"
153 msgstr ""
154
155 #: src/wallpaper.c:185
156 #, fuzzy
157 msgid "Allow Applications to Set Backgrounds?"
158 msgstr "Ett program vill spela upp ljud."
149 msgstr "Neka"
159150
160151 #: src/wallpaper.c:186
152 msgid "Allow Applications to Set Backgrounds?"
153 msgstr "Tillåt program att ställa in bakgrunder?"
154
155 #: src/wallpaper.c:187
161156 msgid "An application is requesting to be able to change the background image."
162 msgstr ""
163
164 #: src/wallpaper.c:198
165 #, c-format
166 msgid "Allow %s to Set Backgrounds?"
167 msgstr ""
157 msgstr "Ett program begär att kunna ändra bakgrundsbilden."
168158
169159 #: src/wallpaper.c:199
170160 #, c-format
161 msgid "Allow %s to Set Backgrounds?"
162 msgstr "Tillåt %s att ställa in bakgrunder?"
163
164 #: src/wallpaper.c:200
165 #, c-format
171166 msgid "%s is requesting to be able to change the background image."
172 msgstr ""
167 msgstr "%s begär att kunna ändra bakgrundsbilden."
173168
174 #: src/wallpaper.c:202
175 #, fuzzy
169 #: src/wallpaper.c:203
176170 msgid "This permission can be changed at any time from the privacy settings."
177171 msgstr ""
178 "Tillgång till dina högtalare kan ändras när som helst från "
179 "sekretessinställningarna."
172 "Denna rättighet kan ändras när som helst från sekretessinställningarna."
1010 msgstr ""
1111 "Project-Id-Version: xdg-desktop-portal master\n"
1212 "Report-Msgid-Bugs-To: https://github.com/flatpak/xdg-desktop-portal/issues\n"
13 "POT-Creation-Date: 2020-09-14 12:22-0400\n"
13 "POT-Creation-Date: 2021-02-16 22:15-0500\n"
1414 "PO-Revision-Date: 2020-02-27 21:57+0300\n"
1515 "Last-Translator: Sabri Ünal <libreajans@gmail.com>\n"
1616 "Language-Team: Türkçe <gnome-turk@gnome.org>\n"
4848 msgid "Don't allow"
4949 msgstr "İzin verme"
5050
51 #: src/background.c:273 src/wallpaper.c:179
51 #: src/background.c:273 src/wallpaper.c:180
5252 msgid "Allow"
5353 msgstr "İzin ver"
5454
148148 msgid "Requested setting not found"
149149 msgstr "İstenen ayar bulunamadı"
150150
151 #: src/wallpaper.c:177
151 #: src/wallpaper.c:178
152152 msgid "Deny"
153153 msgstr "Reddet"
154154
155 #: src/wallpaper.c:185
155 #: src/wallpaper.c:186
156156 msgid "Allow Applications to Set Backgrounds?"
157157 msgstr "Uygulamaların Arka Planı Belirlemesine İzin Verilsin Mi?"
158158
159 #: src/wallpaper.c:186
159 #: src/wallpaper.c:187
160160 msgid "An application is requesting to be able to change the background image."
161161 msgstr "Bir uygulama arka planı değiştirme yetkisi istiyor."
162162
163 #: src/wallpaper.c:198
163 #: src/wallpaper.c:199
164164 #, c-format
165165 msgid "Allow %s to Set Backgrounds?"
166166 msgstr "%s, Arka Planı Belirlemesine İzin Verilsin Mi?"
167167
168 #: src/wallpaper.c:199
168 #: src/wallpaper.c:200
169169 #, c-format
170170 msgid "%s is requesting to be able to change the background image."
171171 msgstr "%s, arka planı değiştirme yetkisi istiyor."
172172
173 #: src/wallpaper.c:202
173 #: src/wallpaper.c:203
174174 msgid "This permission can be changed at any time from the privacy settings."
175175 msgstr "Bu izin, gizlilik ayarlarından istediğiniz zaman değiştirilebilir."
66 msgstr ""
77 "Project-Id-Version: xdg-desktop-portal master\n"
88 "Report-Msgid-Bugs-To: https://github.com/flatpak/xdg-desktop-portal/issues\n"
9 "POT-Creation-Date: 2020-09-14 12:22-0400\n"
9 "POT-Creation-Date: 2021-02-16 22:15-0500\n"
1010 "PO-Revision-Date: 2019-11-10 13:03+0200\n"
1111 "Last-Translator: Yuri Chornoivan <yurchor@ukr.net>\n"
1212 "Language-Team: Ukrainian <trans-uk@lists.fedoraproject.org>\n"
4545 msgid "Don't allow"
4646 msgstr "Не дозволяти"
4747
48 #: src/background.c:273 src/wallpaper.c:179
48 #: src/background.c:273 src/wallpaper.c:180
4949 msgid "Allow"
5050 msgstr "Дозволити"
5151
148148 msgid "Requested setting not found"
149149 msgstr "Потрібного вам параметра не знайдено"
150150
151 #: src/wallpaper.c:177
151 #: src/wallpaper.c:178
152152 msgid "Deny"
153153 msgstr "Заборонити"
154154
155 #: src/wallpaper.c:185
155 #: src/wallpaper.c:186
156156 msgid "Allow Applications to Set Backgrounds?"
157157 msgstr "Дозволити програмам встановлювати фонове зображення?"
158158
159 #: src/wallpaper.c:186
159 #: src/wallpaper.c:187
160160 msgid "An application is requesting to be able to change the background image."
161161 msgstr "Програмою надіслано запит щодо доступу до зміни фонового зображення."
162162
163 #: src/wallpaper.c:198
163 #: src/wallpaper.c:199
164164 #, c-format
165165 msgid "Allow %s to Set Backgrounds?"
166166 msgstr "Дозволити %s встановлювати фонове зображення?"
167167
168 #: src/wallpaper.c:199
168 #: src/wallpaper.c:200
169169 #, c-format
170170 msgid "%s is requesting to be able to change the background image."
171171 msgstr "%s надіслано запит щодо доступу до зміни фонового зображення."
172172
173 #: src/wallpaper.c:202
173 #: src/wallpaper.c:203
174174 msgid "This permission can be changed at any time from the privacy settings."
175175 msgstr ""
176176 "Параметри цього доступу може бути будь-коли змінено за допомогою налаштувань "
55 #, fuzzy
66 msgid ""
77 msgstr ""
8 "Project-Id-Version: xdg-desktop-portal 1.8.0\n"
8 "Project-Id-Version: xdg-desktop-portal 1.8.1\n"
99 "Report-Msgid-Bugs-To: https://github.com/flatpak/xdg-desktop-portal/issues\n"
10 "POT-Creation-Date: 2020-09-14 12:22-0400\n"
10 "POT-Creation-Date: 2021-02-16 22:15-0500\n"
1111 "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
1212 "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
1313 "Language-Team: LANGUAGE <LL@li.org>\n"
4141 msgid "Don't allow"
4242 msgstr ""
4343
44 #: src/background.c:273 src/wallpaper.c:179
44 #: src/background.c:273 src/wallpaper.c:180
4545 msgid "Allow"
4646 msgstr ""
4747
134134 msgid "Requested setting not found"
135135 msgstr ""
136136
137 #: src/wallpaper.c:177
137 #: src/wallpaper.c:178
138138 msgid "Deny"
139139 msgstr ""
140140
141 #: src/wallpaper.c:185
141 #: src/wallpaper.c:186
142142 msgid "Allow Applications to Set Backgrounds?"
143143 msgstr ""
144144
145 #: src/wallpaper.c:186
145 #: src/wallpaper.c:187
146146 msgid "An application is requesting to be able to change the background image."
147147 msgstr ""
148148
149 #: src/wallpaper.c:198
149 #: src/wallpaper.c:199
150150 #, c-format
151151 msgid "Allow %s to Set Backgrounds?"
152152 msgstr ""
153153
154 #: src/wallpaper.c:199
154 #: src/wallpaper.c:200
155155 #, c-format
156156 msgid "%s is requesting to be able to change the background image."
157157 msgstr ""
158158
159 #: src/wallpaper.c:202
159 #: src/wallpaper.c:203
160160 msgid "This permission can be changed at any time from the privacy settings."
161161 msgstr ""
Binary diff not shown
22 # This file is distributed under the same license as the xdg-desktop-portal package.
33 # Mingye Wang <arthur2e5@aosc.xyz>, 2016.
44 # 王滋涵 Zephyr Waitzman <i@wi24rd.ml>, 2019.
5 # lumingzh <lumingzh@qq.com>, 2020.
6 # Dingzhong Chen <wsxy162@gmail.com>, 2020.
57 #
68 msgid ""
79 msgstr ""
810 "Project-Id-Version: xdg-desktop-portal master\n"
911 "Report-Msgid-Bugs-To: https://github.com/flatpak/xdg-desktop-portal/issues\n"
10 "POT-Creation-Date: 2020-09-14 12:22-0400\n"
11 "PO-Revision-Date: 2019-05-03 01:33+0800\n"
12 "Last-Translator: 王滋涵 Zephyr Waitzman <i@wi24rd.ml>\n"
13 "Language-Team: Chinese (China) <i18n-zh@googlegroups.com>\n"
12 "POT-Creation-Date: 2021-02-16 22:15-0500\n"
13 "PO-Revision-Date: 2020-10-09 00:19+0800\n"
14 "Last-Translator: Dingzhong Chen <wsxy162@gmail.com>\n"
15 "Language-Team: Chinese - China <i18n-zh@googlegroups.com>\n"
1416 "Language: zh_CN\n"
1517 "MIME-Version: 1.0\n"
1618 "Content-Type: text/plain; charset=UTF-8\n"
1719 "Content-Transfer-Encoding: 8bit\n"
18 "X-Generator: Poedit 2.2.1\n"
20 "X-Generator: Gtranslator 3.36.0\n"
21 "Plural-Forms: nplurals=1; plural=0\n"
1922
2023 #: src/background.c:260
2124 #, c-format
2225 msgid "Allow %s to run in the background?"
23 msgstr ""
26 msgstr "允许 %s 在后台运行吗?"
2427
2528 #: src/background.c:264
2629 #, c-format
2730 msgid "%s requests to be started automatically and run in the background."
28 msgstr ""
31 msgstr "%s 请求自动启动并在后台运行。"
2932
3033 #: src/background.c:266
3134 #, c-format
3235 msgid "%s requests to run in the background."
33 msgstr ""
36 msgstr "%s 请求在后台运行。"
3437
3538 #: src/background.c:267
36 #, fuzzy
3739 msgid ""
3840 "The ‘run in background’ permission can be changed at any time from the "
3941 "application settings."
40 msgstr "您可随时在隐私设置中调整位置信息的访问权限。"
42 msgstr "您可随时在应用设置中修改“后台运行”的权限。"
4143
4244 #: src/background.c:272
4345 msgid "Don't allow"
44 msgstr ""
46 msgstr "禁止"
4547
46 #: src/background.c:273 src/wallpaper.c:179
48 #: src/background.c:273 src/wallpaper.c:180
4749 msgid "Allow"
48 msgstr ""
50 msgstr "允许"
4951
5052 #: src/device.c:115
5153 msgid "Turn On Microphone?"
5557 msgid ""
5658 "Access to your microphone can be changed at any time from the privacy "
5759 "settings."
58 msgstr "您可随时在隐私设置中调整麦克风的访问权限。"
60 msgstr "您可随时在隐私设置中修改麦克风的访问权限。"
5961
6062 #: src/device.c:120
6163 msgid "An application wants to use your microphone."
7375 #: src/device.c:129
7476 msgid ""
7577 "Access to your speakers can be changed at any time from the privacy settings."
76 msgstr "您可随时在隐私设置中调整扬声器的访问权限。"
78 msgstr "您可随时在隐私设置中修改扬声器的访问权限。"
7779
7880 #: src/device.c:133
7981 msgid "An application wants to play sound."
9193 #: src/device.c:142
9294 msgid ""
9395 "Access to your camera can be changed at any time from the privacy settings."
94 msgstr "您可随时在隐私设置中调整摄像头的访问权限。"
96 msgstr "您可随时在隐私设置中修改摄像头的访问权限。"
9597
9698 #: src/device.c:146
9799 msgid "An application wants to use your camera."
130132
131133 #: src/location.c:554
132134 msgid "Location access can be changed at any time from the privacy settings."
133 msgstr "您可随时在隐私设置中调整位置信息的访问权限。"
135 msgstr "您可随时在隐私设置中修改位置信息的访问权限。"
134136
135137 #: src/settings.c:124
136138 msgid "Requested setting not found"
137 msgstr "被请求设置未找到"
139 msgstr "未找到请求的设置"
138140
139 #: src/wallpaper.c:177
141 #: src/wallpaper.c:178
140142 msgid "Deny"
141 msgstr ""
142
143 #: src/wallpaper.c:185
144 #, fuzzy
145 msgid "Allow Applications to Set Backgrounds?"
146 msgstr "有应用程序想要播放声音。"
143 msgstr "拒绝"
147144
148145 #: src/wallpaper.c:186
146 msgid "Allow Applications to Set Backgrounds?"
147 msgstr "允许应用程序设置背景吗?"
148
149 #: src/wallpaper.c:187
149150 msgid "An application is requesting to be able to change the background image."
150 msgstr ""
151
152 #: src/wallpaper.c:198
153 #, c-format
154 msgid "Allow %s to Set Backgrounds?"
155 msgstr ""
151 msgstr "一个应用程序正在请求允许修改背景图像。"
156152
157153 #: src/wallpaper.c:199
158154 #, c-format
155 msgid "Allow %s to Set Backgrounds?"
156 msgstr "允许 %s 设置背景吗?"
157
158 #: src/wallpaper.c:200
159 #, c-format
159160 msgid "%s is requesting to be able to change the background image."
160 msgstr ""
161 msgstr "%s 正在请求允许修改背景图像。"
161162
162 #: src/wallpaper.c:202
163 #, fuzzy
163 #: src/wallpaper.c:203
164164 msgid "This permission can be changed at any time from the privacy settings."
165 msgstr "您可随时在隐私设置中调整位置信息的访问权限。"
165 msgstr "您可随时在隐私设置中修改该权限。"
66 msgstr ""
77 "Project-Id-Version: xdg-desktop-portal master\n"
88 "Report-Msgid-Bugs-To: https://github.com/flatpak/xdg-desktop-portal/issues\n"
9 "POT-Creation-Date: 2020-09-14 12:22-0400\n"
9 "POT-Creation-Date: 2021-02-16 22:15-0500\n"
1010 "PO-Revision-Date: 2018-03-26 20:40+0800\n"
1111 "Last-Translator: Cheng-Chia Tseng <pswo10680@gmail.com>\n"
1212 "Language-Team: Chinese (Taiwan) <chinese-l10n@googlegroups.com>\n"
4242 msgid "Don't allow"
4343 msgstr ""
4444
45 #: src/background.c:273 src/wallpaper.c:179
45 #: src/background.c:273 src/wallpaper.c:180
4646 msgid "Allow"
4747 msgstr ""
4848
137137 msgid "Requested setting not found"
138138 msgstr ""
139139
140 #: src/wallpaper.c:177
140 #: src/wallpaper.c:178
141141 msgid "Deny"
142142 msgstr ""
143143
144 #: src/wallpaper.c:185
144 #: src/wallpaper.c:186
145145 #, fuzzy
146146 msgid "Allow Applications to Set Backgrounds?"
147147 msgstr "有個應用程式想要播放聲音。"
148148
149 #: src/wallpaper.c:186
149 #: src/wallpaper.c:187
150150 msgid "An application is requesting to be able to change the background image."
151151 msgstr ""
152152
153 #: src/wallpaper.c:198
153 #: src/wallpaper.c:199
154154 #, c-format
155155 msgid "Allow %s to Set Backgrounds?"
156156 msgstr ""
157157
158 #: src/wallpaper.c:199
158 #: src/wallpaper.c:200
159159 #, c-format
160160 msgid "%s is requesting to be able to change the background image."
161161 msgstr ""
162162
163 #: src/wallpaper.c:202
163 #: src/wallpaper.c:203
164164 #, fuzzy
165165 msgid "This permission can be changed at any time from the privacy settings."
166166 msgstr "您可以隨時從隱私權設定值中修改您的喇叭存取控制。"
2929 #include <fcntl.h>
3030
3131 #include <gio/gio.h>
32 #include <gio/gunixfdlist.h>
3332
3433 #include "account.h"
3534 #include "request.h"
3030 #include <gio/gunixfdlist.h>
3131
3232 #include "xdp-dbus.h"
33 #include "xdp-utils.h"
3334 #include "document-enums.h"
3435
3536 static XdpDocuments *documents = NULL;
4546 xdp_documents_call_get_mount_point_sync (documents,
4647 &documents_mountpoint,
4748 NULL, NULL);
49 xdp_set_documents_mountpoint (documents_mountpoint);
4850 }
4951
5052 char *
3030 #include <fcntl.h>
3131
3232 #include <gio/gio.h>
33 #include <gio/gunixfdlist.h>
3433
3534 #include "file-chooser.h"
3635 #include "request.h"
585585 gboolean ask_for_content_type;
586586 GVariantBuilder opts_builder;
587587 gboolean skip_app_chooser = FALSE;
588 int fd;
588 g_auto(XdpFd) fd = -1;
589589 gboolean writable = FALSE;
590590 gboolean ask = FALSE;
591591 gboolean open_dir = FALSE;
843843 if (!g_variant_lookup (arg_options, "ask", "b", &ask))
844844 ask = FALSE;
845845
846 g_object_set_data (G_OBJECT (request), "fd", GINT_TO_POINTER (-1));
846847 g_object_set_data_full (G_OBJECT (request), "uri", g_strdup (arg_uri), g_free);
847848 g_object_set_data_full (G_OBJECT (request), "parent-window", g_strdup (arg_parent_window), g_free);
848849 g_object_set_data (G_OBJECT (request), "writable", GINT_TO_POINTER (writable));
2828 #include <fcntl.h>
2929
3030 #include <gio/gio.h>
31 #include <gio/gunixfdlist.h>
3231
3332 #include "screenshot.h"
3433 #include "request.h"
144144 g_warning ("Rejecting invalid open-uri request (both URI and fd are set)");
145145 if (request->exported)
146146 {
147 g_variant_builder_init (&opt_builder, G_VARIANT_TYPE_VARDICT);
147148 xdp_request_emit_response (XDP_REQUEST (request),
148149 XDG_DESKTOP_PORTAL_RESPONSE_OTHER,
149 NULL);
150 g_variant_builder_end (&opt_builder));
150151 request_unexport (request);
151152 }
152153 return;
237238 /* Reject the request */
238239 if (request->exported)
239240 {
241 g_variant_builder_init (&opt_builder, G_VARIANT_TYPE_VARDICT);
240242 xdp_request_emit_response (XDP_REQUEST (request),
241243 XDG_DESKTOP_PORTAL_RESPONSE_OTHER,
242 NULL);
244 g_variant_builder_end (&opt_builder));
243245 request_unexport (request);
244246 }
245247 return;
2727 #include <fcntl.h>
2828 #include <errno.h>
2929 #include <stdio.h>
30 #include <mntent.h>
31 #include <unistd.h>
3230 #include <sys/vfs.h>
3331
3432 #include <gio/gdesktopappinfo.h>
130128 } flatpak;
131129 struct
132130 {
133 int dummy;
131 GKeyFile *keyfile;
134132 } snap;
135133 } u;
136134 };
164162 break;
165163
166164 case XDP_APP_INFO_KIND_SNAP:
165 g_clear_pointer (&app_info->u.snap.keyfile, g_key_file_free);
167166 break;
168167
169168 case XDP_APP_INFO_KIND_HOST:
207206
208207 g_return_val_if_fail (app_info != NULL, NULL);
209208
210 if (app_info->id[0] == '\0')
209 switch (app_info->kind)
210 {
211 case XDP_APP_INFO_KIND_FLATPAK:
212 desktop_id = g_strconcat (app_info->id, ".desktop", NULL);
213 break;
214
215 case XDP_APP_INFO_KIND_SNAP:
216 desktop_id = g_key_file_get_string (app_info->u.snap.keyfile,
217 SNAP_METADATA_GROUP_INFO,
218 SNAP_METADATA_KEY_DESKTOP_FILE,
219 NULL);
220 break;
221
222 case XDP_APP_INFO_KIND_HOST:
223 default:
224 desktop_id = NULL;
225 break;
226 }
227
228 if (desktop_id == NULL)
211229 return NULL;
212
213 desktop_id = g_strconcat (app_info->id, ".desktop", NULL);
214230
215231 return G_APP_INFO (g_desktop_app_info_new (desktop_id));
216232 }
339355 break;
340356
341357 case XDP_APP_INFO_KIND_SNAP:
342 has_network = TRUE; /* FIXME */
358 has_network = g_key_file_get_boolean (app_info->u.snap.keyfile,
359 SNAP_METADATA_GROUP_INFO,
360 SNAP_METADATA_KEY_NETWORK, NULL);
343361 break;
344362
345363 case XDP_APP_INFO_KIND_HOST:
468486 return g_steal_pointer (&app_info);
469487 }
470488
471 static gboolean
472 aa_is_enabled (void)
473 {
474 static int apparmor_enabled = -1;
475 struct stat statbuf;
476 struct mntent *mntpt;
477 FILE *mntfile;
478
479 if (apparmor_enabled >= 0)
480 return apparmor_enabled;
481
482 apparmor_enabled = FALSE;
483
484 mntfile = setmntent ("/proc/mounts", "r");
485 if (!mntfile)
486 return FALSE;
487
488 while ((mntpt = getmntent (mntfile)))
489 {
490 g_autofree char *proposed = NULL;
491
492 if (strcmp (mntpt->mnt_type, "securityfs") != 0)
493 continue;
494
495 proposed = g_strdup_printf ("%s/apparmor", mntpt->mnt_dir);
496 if (stat (proposed, &statbuf) == 0)
489 int
490 _xdp_parse_cgroup_file (FILE *f, gboolean *is_snap)
491 {
492 ssize_t n;
493 g_autofree char *id = NULL;
494 g_autofree char *controller = NULL;
495 g_autofree char *cgroup = NULL;
496 size_t id_len = 0, controller_len = 0, cgroup_len = 0;
497
498 g_return_val_if_fail(f != NULL, -1);
499 g_return_val_if_fail(is_snap != NULL, -1);
500
501 *is_snap = FALSE;
502 do
503 {
504 n = getdelim (&id, &id_len, ':', f);
505 if (n == -1) break;
506 n = getdelim (&controller, &controller_len, ':', f);
507 if (n == -1) break;
508 n = getdelim (&cgroup, &cgroup_len, '\n', f);
509 if (n == -1) break;
510
511 /* Only consider the freezer, systemd group or unified cgroup
512 * hierarchies */
513 if ((!strcmp (controller, "freezer:") != 0 ||
514 !strcmp (controller, "name=systemd:") != 0 ||
515 !strcmp (controller, ":") != 0) &&
516 strstr (cgroup, "/snap.") != NULL)
497517 {
498 apparmor_enabled = TRUE;
518 *is_snap = TRUE;
499519 break;
500520 }
501521 }
502
503 endmntent (mntfile);
504
505 return apparmor_enabled;
506 }
507
508 #define UNCONFINED "unconfined"
509 #define UNCONFINED_SIZE strlen(UNCONFINED)
522 while (n >= 0);
523
524 if (n < 0 && !feof(f)) return -1;
525
526 return 0;
527 }
510528
511529 static gboolean
512 parse_unconfined (char *con, int size)
513 {
514 return size == UNCONFINED_SIZE && strncmp (con, UNCONFINED, UNCONFINED_SIZE) == 0;
515 }
516
517 static char *
518 aa_splitcon (char *con, char **mode)
519 {
520 char *label = NULL;
521 char *mode_str = NULL;
522 char *newline = NULL;
523 int size = strlen (con);
524
525 if (size == 0)
526 return NULL;
527
528 /* Strip newline */
529 if (con[size - 1] == '\n')
530 {
531 newline = &con[size - 1];
532 size--;
533 }
534
535 if (parse_unconfined (con, size))
536 {
537 label = con;
538 }
539 else if (size > 3 && con[size - 1] == ')')
540 {
541 int pos = size - 2;
542
543 while (pos > 0 && !(con[pos] == ' ' && con[pos + 1] == '('))
544 pos--;
545
546 if (pos > 0)
547 {
548 con[pos] = 0; /* overwrite ' ' */
549 con[size - 1] = 0; /* overwrite trailing ) */
550 mode_str = &con[pos + 2]; /* skip '(' */
551 label = con;
552 }
553 }
554
555 if (label && newline)
556 *newline = 0; /* overwrite '\n', if requested, on success */
557 if (mode)
558 *mode = mode_str;
559
560 return label;
561 }
562
530 pid_is_snap (pid_t pid, GError **error)
531 {
532 g_autofree char *cgroup_path = NULL;;
533 int fd;
534 FILE *f = NULL;
535 gboolean is_snap = FALSE;
536 int err = 0;
537
538 g_return_val_if_fail(pid > 0, FALSE);
539
540 cgroup_path = g_strdup_printf ("/proc/%u/cgroup", (guint) pid);
541 fd = open (cgroup_path, O_RDONLY | O_CLOEXEC | O_NOCTTY);
542 if (fd == -1)
543 {
544 err = errno;
545 goto end;
546 }
547
548 f = fdopen (fd, "r");
549 if (f == NULL)
550 {
551 err = errno;
552 goto end;
553 }
554
555 fd = -1; /* fd is now owned by f */
556
557 if (_xdp_parse_cgroup_file (f, &is_snap) == -1)
558 err = errno;
559
560 fclose (f);
561
562 end:
563 /* Silence ENOENT, treating it as "not a snap" */
564 if (err != 0 && err != ENOENT)
565 {
566 g_set_error (error, G_IO_ERROR, g_io_error_from_errno (err),
567 "Could not parse cgroup info for pid %u: %s", (guint) pid,
568 g_strerror (err));
569 }
570 return is_snap;
571 }
572
573 /* Returns NULL with error set on failure, NULL with no error set if not a snap, and app-info otherwise */
563574 static XdpAppInfo *
564 parse_app_info_from_security_label (const char *security_label)
565 {
566 char *label, *dot;
575 parse_app_info_from_snap (pid_t pid, GError **error)
576 {
577 g_autoptr(GError) local_error = NULL;
578 g_autofree char *pid_str = NULL;
579 const char *argv[] = { "snap", "routine", "portal-info", NULL, NULL };
580 g_autofree char *output = NULL;
581 g_autoptr(GKeyFile) metadata = NULL;
582 g_autoptr(XdpAppInfo) app_info = NULL;
567583 g_autofree char *snap_name = NULL;
568 g_autoptr(XdpAppInfo) app_info = NULL;
569
570 /* Snap confinement requires AppArmor */
571 if (aa_is_enabled ())
572 {
573 /* Parse the security label as an AppArmor context. We take a copy
574 * of the string because aa_splitcon modifies its argument. */
575 g_autofree char *security_label_copy = g_strdup (security_label);
576
577 label = aa_splitcon (security_label_copy, NULL);
578 if (label && g_str_has_prefix (label, "snap."))
579 {
580 /* If the label belongs to a snap, it will be of the form
581 * snap.$PACKAGE.$APPLICATION. We want to extract the package
582 * name */
583
584 label += 5;
585 dot = strchr (label, '.');
586 if (!dot)
587 return NULL;
588 snap_name = g_strndup (label, dot - label);
589
590 app_info = xdp_app_info_new (XDP_APP_INFO_KIND_SNAP);
591 app_info->id = g_strconcat ("snap.", snap_name, NULL);
592
593 return g_steal_pointer (&app_info);
594 }
595 }
596
597 return NULL;
584
585 /* Check the process's cgroup membership to fail quickly for non-snaps */
586 if (!pid_is_snap (pid, error)) return NULL;
587
588 pid_str = g_strdup_printf ("%u", (guint) pid);
589 argv[3] = pid_str;
590 if (!xdp_spawnv (NULL, &output, 0, error, argv))
591 {
592 return NULL;
593 }
594
595 metadata = g_key_file_new ();
596 if (!g_key_file_load_from_data (metadata, output, -1, G_KEY_FILE_NONE, &local_error))
597 {
598 g_set_error (error, G_IO_ERROR, G_IO_ERROR_FAILED,
599 "Can't read snap info for pid %u: %s", pid, local_error->message);
600 return NULL;
601 }
602
603 snap_name = g_key_file_get_string (metadata, SNAP_METADATA_GROUP_INFO,
604 SNAP_METADATA_KEY_INSTANCE_NAME, error);
605 if (snap_name == NULL)
606 {
607 return NULL;
608 }
609
610 app_info = xdp_app_info_new (XDP_APP_INFO_KIND_SNAP);
611 app_info->id = g_strconcat ("snap.", snap_name, NULL);
612 app_info->u.snap.keyfile = g_steal_pointer (&metadata);
613
614 return g_steal_pointer (&app_info);
598615 }
599616
600617
605622 g_autoptr(XdpAppInfo) app_info = NULL;
606623 g_autoptr(GError) local_error = NULL;
607624
608 /* TODO: Handle snap support via apparmor here */
609
610625 app_info = parse_app_info_from_flatpak_info (pid, &local_error);
611626 if (app_info == NULL && local_error)
612627 {
613628 g_propagate_error (error, g_steal_pointer (&local_error));
614629 return NULL;
630 }
631
632 if (app_info == NULL)
633 {
634 app_info = parse_app_info_from_snap (pid, &local_error);
635 if (app_info == NULL && local_error)
636 {
637 g_propagate_error (error, g_steal_pointer (&local_error));
638 return NULL;
639 }
615640 }
616641
617642 if (app_info == NULL)
647672 g_autoptr(GDBusMessage) reply = NULL;
648673 g_autoptr(XdpAppInfo) app_info = NULL;
649674 GVariant *body;
650 g_autoptr(GVariantIter) iter = NULL;
651 const char *key;
652 GVariant *value;
653 g_autofree char *security_label = NULL;
654675 guint32 pid = 0;
655676
656677 app_info = lookup_cached_app_info_by_sender (sender);
660681 msg = g_dbus_message_new_method_call (DBUS_NAME_DBUS,
661682 DBUS_PATH_DBUS,
662683 DBUS_INTERFACE_DBUS,
663 "GetConnectionCredentials");
684 "GetConnectionUnixProcessID");
664685 g_dbus_message_set_body (msg, g_variant_new ("(s)", sender));
665686
666687 reply = g_dbus_connection_send_message_with_reply_sync (connection, msg,
679700 }
680701
681702 body = g_dbus_message_get_body (reply);
682
683 g_variant_get (body, "(a{sv})", &iter);
684 while (g_variant_iter_loop (iter, "{&sv}", &key, &value))
685 {
686 if (strcmp (key, "ProcessID") == 0)
687 pid = g_variant_get_uint32 (value);
688 else if (strcmp (key, "LinuxSecurityLabel") == 0)
689 {
690 g_clear_pointer (&security_label, g_free);
691 security_label = g_variant_dup_bytestring (value, NULL);
692 }
693 }
694
695 if (app_info == NULL && security_label != NULL)
696 {
697 app_info = parse_app_info_from_security_label (security_label);
698 }
699
703 g_variant_get (body, "(u)", &pid);
704
705 app_info = xdp_get_app_info_from_pid (pid, error);
700706 if (app_info == NULL)
701 {
702 g_autoptr(GError) local_error = NULL;
703 app_info = parse_app_info_from_flatpak_info (pid, &local_error);
704 if (app_info == NULL && local_error)
705 {
706 g_propagate_error (error, g_steal_pointer (&local_error));
707 return NULL;
708 }
709 }
710
711 if (app_info == NULL)
712 app_info = xdp_app_info_new_host ();
707 return NULL;
713708
714709 G_LOCK (app_infos);
715710 ensure_app_info_by_unique_name ();
888883 return xdp_app_info_remap_path (app_info, path_buffer);
889884 }
890885
886 static char *documents_mountpoint = NULL;
887
888 void
889 xdp_set_documents_mountpoint (const char *path)
890 {
891 g_clear_pointer (&documents_mountpoint, g_free);
892 documents_mountpoint = g_strdup (path);
893 }
894
895 /* alternate_document_path converts a file path */
896 char *
897 xdp_get_alternate_document_path (const char *path, const char *app_id)
898 {
899 int len;
900
901 /* If we don't know where the document portal is mounted, then there
902 * is no alternate path */
903 if (documents_mountpoint == NULL)
904 return NULL;
905
906 /* If the path is not within the document portal, then there is no
907 * alternative path */
908 len = strlen (documents_mountpoint);
909 if (!g_str_has_prefix (path, documents_mountpoint) || path[len] != '/')
910 return NULL;
911
912 return g_strconcat (documents_mountpoint, "/by-app/", app_id, &path[len], NULL);
913 }
914
891915 char *
892916 xdp_app_info_get_path_for_fd (XdpAppInfo *app_info,
893917 int fd,
9851009 st_buf->st_dev != real_st_buf.st_dev ||
9861010 st_buf->st_ino != real_st_buf.st_ino)
9871011 {
988 /* Different files on the inside and the outside, reject the request */
989 return NULL;
1012 /* If the path is provided by the document portal, the inode
1013 number will not match, due to only a subtree being mounted in
1014 the sandbox. So we check to see if the equivalent path
1015 within that subtree matches our file descriptor.
1016
1017 If the alternate path doesn't match either, then we treat it
1018 as a failure.
1019 */
1020 g_autofree char *alt_path = NULL;
1021 alt_path = xdp_get_alternate_document_path (path, xdp_app_info_get_id (app_info));
1022
1023 if (alt_path == NULL ||
1024 stat (alt_path, &real_st_buf) < 0 ||
1025 st_buf->st_dev != real_st_buf.st_dev ||
1026 st_buf->st_ino != real_st_buf.st_ino)
1027 return NULL;
9901028 }
9911029
9921030 if (writable_out)
2020
2121 #pragma once
2222
23 #include <stdio.h>
2324 #include <sys/types.h>
2425 #include <sys/stat.h>
2526 #include <unistd.h>
3637 #define FLATPAK_METADATA_KEY_RUNTIME_PATH "runtime-path"
3738 #define FLATPAK_METADATA_KEY_INSTANCE_ID "instance-id"
3839
40 #define SNAP_METADATA_GROUP_INFO "Snap Info"
41 #define SNAP_METADATA_KEY_INSTANCE_NAME "InstanceName"
42 #define SNAP_METADATA_KEY_DESKTOP_FILE "DesktopFile"
43 #define SNAP_METADATA_KEY_NETWORK "HasNetworkStatus"
44
3945 gint xdp_mkstempat (int dir_fd,
4046 gchar *tmpl,
4147 int flags,
4652 typedef void (*XdpPeerDiedCallback) (const char *name);
4753
4854 typedef struct _XdpAppInfo XdpAppInfo;
55
56 typedef int XdpFd;
57 G_DEFINE_AUTO_CLEANUP_FREE_FUNC(XdpFd, close, -1)
4958
5059 XdpAppInfo *xdp_app_info_ref (XdpAppInfo *app_info);
5160 void xdp_app_info_unref (XdpAppInfo *app_info);
7887
7988 G_DEFINE_AUTOPTR_CLEANUP_FUNC(XdpAppInfo, xdp_app_info_unref)
8089
90 void xdp_set_documents_mountpoint (const char *path);
91 char *xdp_get_alternate_document_path (const char *path, const char *app_id);
92
8193 XdpAppInfo *xdp_invocation_lookup_app_info_sync (GDBusMethodInvocation *invocation,
8294 GCancellable *cancellable,
8395 GError **error);
173185 gboolean xdp_has_path_prefix (const char *str,
174186 const char *prefix);
175187
188 /* exposed for the benefit of tests */
189 int _xdp_parse_cgroup_file (FILE *f,
190 gboolean *is_snap);
191
192
176193 #if !GLIB_CHECK_VERSION (2, 58, 0)
177194 static inline gboolean
178195 g_hash_table_steal_extended (GHashTable *hash_table,
1818 $(BASE_LIBS) \
1919 $(FUSE_LIBS) \
2020 $(NULL)
21 test_doc_portal_SOURCES = tests/test-doc-portal.c
21 test_doc_portal_SOURCES = \
22 tests/can-use-fuse.c \
23 tests/can-use-fuse.h \
24 tests/test-doc-portal.c \
25 $(NULL)
2226 nodist_test_doc_portal_SOURCES = document-portal/document-portal-dbus.c
2327
2428 EXTRA_test_doc_portal_DEPENDENCIES = tests/services/org.freedesktop.impl.portal.PermissionStore.service tests/services/org.freedesktop.portal.Documents.service
8589
8690 EXTRA_test_permission_store_DEPENDENCIES = tests/services/org.freedesktop.impl.portal.PermissionStore.service tests/services/org.freedesktop.portal.Documents.service
8791
92 test_programs += test-xdp-utils
93 test_xdp_utils_CFLAGS = $(AM_CFLAGS) $(BASE_CFLAGS)
94 test_xdp_utils_LDADD = $(AM_LD_ADD) $(BASE_LIBS)
95 test_xdp_utils_SOURCES = tests/test-xdp-utils.c src/xdp-utils.c
96
97
8898 tests/services/org.freedesktop.portal.Documents.service: document-portal/org.freedesktop.portal.Documents.service.in
8999 mkdir -p tests/services
90100 $(AM_V_GEN) $(SED) -e "s|\@libexecdir\@|$(abs_top_builddir)|" $< > $@
0 /*
1 * Copyright 2019-2021 Collabora Ltd.
2 * SPDX-License-Identifier: LGPL-2.1-or-later
3 */
4
5 #include "config.h"
6
7 #include "can-use-fuse.h"
8
9 #include <errno.h>
10 #include <unistd.h>
11
12 #include <glib/gstdio.h>
13
14 #define FUSE_USE_VERSION 26
15 #include <fuse_lowlevel.h>
16
17 gchar *cannot_use_fuse = NULL;
18
19 /*
20 * If we cannot use FUSE, set cannot_use_fuse and return %FALSE.
21 */
22 gboolean
23 check_fuse (void)
24 {
25 g_autofree gchar *fusermount = NULL;
26 g_autofree gchar *path = NULL;
27 char *argv[] = { "flatpak-fuse-test" };
28 struct fuse_args args = FUSE_ARGS_INIT (G_N_ELEMENTS (argv), argv);
29 struct fuse_chan *chan = NULL;
30 g_autoptr(GError) error = NULL;
31
32 if (cannot_use_fuse != NULL)
33 return FALSE;
34
35 if (access ("/dev/fuse", W_OK) != 0)
36 {
37 cannot_use_fuse = g_strdup_printf ("access /dev/fuse: %s",
38 g_strerror (errno));
39 return FALSE;
40 }
41
42 fusermount = g_find_program_in_path ("fusermount");
43
44 if (fusermount == NULL)
45 {
46 cannot_use_fuse = g_strdup ("fusermount not found in PATH");
47 return FALSE;
48 }
49
50 if (!g_file_test (fusermount, G_FILE_TEST_IS_EXECUTABLE))
51 {
52 cannot_use_fuse = g_strdup_printf ("%s not executable", fusermount);
53 return FALSE;
54 }
55
56 if (!g_file_test ("/etc/mtab", G_FILE_TEST_EXISTS))
57 {
58 cannot_use_fuse = g_strdup ("fusermount won't work without /etc/mtab");
59 return FALSE;
60 }
61
62 path = g_dir_make_tmp ("flatpak-test.XXXXXX", &error);
63 g_assert_no_error (error);
64
65 chan = fuse_mount (path, &args);
66
67 if (chan == NULL)
68 {
69 fuse_opt_free_args (&args);
70 cannot_use_fuse = g_strdup_printf ("fuse_mount: %s",
71 g_strerror (errno));
72 return FALSE;
73 }
74
75 g_test_message ("Successfully set up test FUSE fs on %s", path);
76
77 fuse_unmount (path, chan);
78
79 if (g_rmdir (path) != 0)
80 g_error ("rmdir %s: %s", path, g_strerror (errno));
81
82 fuse_opt_free_args (&args);
83
84 return TRUE;
85 }
86
87 gboolean
88 check_fuse_or_skip_test (void)
89 {
90 if (!check_fuse ())
91 {
92 g_assert (cannot_use_fuse != NULL);
93 g_test_skip (cannot_use_fuse);
94 return FALSE;
95 }
96
97 return TRUE;
98 }
0 /*
1 * Copyright 2019-2021 Collabora Ltd.
2 * SPDX-License-Identifier: LGPL-2.1-or-later
3 */
4
5 #pragma once
6
7 #include <glib.h>
8
9 extern gchar *cannot_use_fuse;
10 gboolean check_fuse (void);
11 gboolean check_fuse_or_skip_test (void);
1212 #include <gio/gunixfdlist.h>
1313 #include <glib/gstdio.h>
1414
15 #define FUSE_USE_VERSION 26
16 #include <fuse_lowlevel.h>
17
1815 #include "document-portal/document-portal-dbus.h"
16
17 #include "can-use-fuse.h"
1918
2019 char outdir[] = "/tmp/xdp-test-XXXXXX";
2120
2524 GDBusConnection *session_bus;
2625 XdpDbusDocuments *documents;
2726 char *mountpoint;
28 static gchar *cannot_use_fuse = NULL;
2927
3028 static gboolean
3129 set_contents_trunc (const gchar *filename,
355353 const char *basename = "a-file";
356354 GError *error = NULL;
357355
358 if (cannot_use_fuse != NULL)
359 {
360 g_test_skip (cannot_use_fuse);
361 return;
362 }
356 if (!check_fuse_or_skip_test ())
357 return;
363358
364359 /* Export a document */
365360 id = export_new_file (basename, "content", FALSE);
470465 g_autofree char *path = NULL;
471466 g_autofree char *app_path = NULL;
472467
473 if (cannot_use_fuse != NULL)
474 {
475 g_test_skip (cannot_use_fuse);
476 return;
477 }
468 if (!check_fuse_or_skip_test ())
469 return;
478470
479471 id = export_new_file (basename, "recursive-content", FALSE);
480472
512504 const char *basenames[] = { "doc1", "doc2" };
513505 int i;
514506
515 if (cannot_use_fuse != NULL)
516 {
517 g_test_skip (cannot_use_fuse);
518 return;
519 }
507 if (!check_fuse_or_skip_test ())
508 return;
520509
521510 path1 = g_build_filename (outdir, basenames[0], NULL);
522511 g_file_set_contents (path1, basenames[0], -1, &error);
584573 GError *error = NULL;
585574 gboolean res;
586575
587 if (cannot_use_fuse != NULL)
588 {
589 g_test_skip (cannot_use_fuse);
590 return;
591 }
576 if (!check_fuse_or_skip_test ())
577 return;
592578
593579 id1 = export_named_file (outdir, basename1, FALSE);
594580
696682 assert_doc_has_contents (id1, basename1, NULL, "foobar7");
697683 assert_doc_has_contents (id1, basename1, "com.test.App1", "foobar7");
698684 assert_doc_not_exist (id1, basename1, "com.test.App2");
699 }
700
701 /*
702 * If we cannot use FUSE, set cannot_use_fuse and return %FALSE.
703 */
704 static gboolean
705 check_fuse (void)
706 {
707 g_autofree gchar *fusermount = NULL;
708 g_autofree gchar *path = NULL;
709 char *argv[] = { "xdp-fuse-test" };
710 struct fuse_args args = FUSE_ARGS_INIT (G_N_ELEMENTS (argv), argv);
711 struct fuse_chan *chan = NULL;
712 g_autoptr(GError) error = NULL;
713
714 if (cannot_use_fuse != NULL)
715 return FALSE;
716
717 if (access ("/dev/fuse", W_OK) != 0)
718 {
719 cannot_use_fuse = g_strdup_printf ("access /dev/fuse: %s",
720 g_strerror (errno));
721 return FALSE;
722 }
723
724 fusermount = g_find_program_in_path ("fusermount");
725
726 if (fusermount == NULL)
727 {
728 cannot_use_fuse = g_strdup ("fusermount not found in PATH");
729 return FALSE;
730 }
731
732 if (!g_file_test (fusermount, G_FILE_TEST_IS_EXECUTABLE))
733 {
734 cannot_use_fuse = g_strdup_printf ("%s not executable", fusermount);
735 return FALSE;
736 }
737
738 path = g_dir_make_tmp ("xdp-test.XXXXXX", &error);
739 g_assert_no_error (error);
740
741 chan = fuse_mount (path, &args);
742
743 if (chan == NULL)
744 {
745 fuse_opt_free_args (&args);
746 cannot_use_fuse = g_strdup_printf ("fuse_mount: %s",
747 g_strerror (errno));
748 return FALSE;
749 }
750
751 g_test_message ("Successfully set up test FUSE fs on %s", path);
752
753 fuse_unmount (path, chan);
754
755 if (g_rmdir (path) != 0)
756 g_error ("rmdir %s: %s", path, g_strerror (errno));
757
758 fuse_opt_free_args (&args);
759
760 return TRUE;
761685 }
762686
763687 static void
918842 static void
919843 test_version (void)
920844 {
921 if (cannot_use_fuse != NULL)
922 {
923 g_test_skip (cannot_use_fuse);
924 return;
925 }
845 if (!check_fuse_or_skip_test ())
846 return;
926847
927848 g_assert_cmpint (xdp_dbus_documents_get_version (documents), ==, 4);
928849 }
0 #include "config.h"
1
2 #include <glib.h>
3
4 #include "src/xdp-utils.h"
5
6 static void
7 test_parse_cgroup_unified (void)
8 {
9 char data[] = "0::/user.slice/user-1000.slice/user@1000.service/apps.slice/snap.something.scope\n";
10 FILE *f;
11 int res;
12 gboolean is_snap = FALSE;
13
14 f = fmemopen(data, sizeof(data), "r");
15
16 res = _xdp_parse_cgroup_file (f, &is_snap);
17 g_assert_cmpint (res, ==, 0);
18 g_assert_true (is_snap);
19 fclose(f);
20 }
21
22 static void
23 test_parse_cgroup_freezer (void)
24 {
25 char data[] =
26 "12:pids:/user.slice/user-1000.slice/user@1000.service\n"
27 "11:perf_event:/\n"
28 "10:net_cls,net_prio:/\n"
29 "9:cpuset:/\n"
30 "8:memory:/user.slice/user-1000.slice/user@1000.service/apps.slice/apps-org.gnome.Terminal.slice/vte-spawn-228ae109-a869-4533-8988-65ea4c10b492.scope\n"
31 "7:rdma:/\n"
32 "6:devices:/user.slice\n"
33 "5:blkio:/user.slice\n"
34 "4:hugetlb:/\n"
35 "3:freezer:/snap.portal-test\n"
36 "2:cpu,cpuacct:/user.slice\n"
37 "1:name=systemd:/user.slice/user-1000.slice/user@1000.service/apps.slice/apps-org.gnome.Terminal.slice/vte-spawn-228ae109-a869-4533-8988-65ea4c10b492.scope\n"
38 "0::/user.slice/user-1000.slice/user@1000.service/apps.slice/apps-org.gnome.Terminal.slice/vte-spawn-228ae109-a869-4533-8988-65ea4c10b492.scope\n";
39 FILE *f;
40 int res;
41 gboolean is_snap = FALSE;
42
43 f = fmemopen(data, sizeof(data), "r");
44
45 res = _xdp_parse_cgroup_file (f, &is_snap);
46 g_assert_cmpint (res, ==, 0);
47 g_assert_true (is_snap);
48 fclose(f);
49 }
50
51 static void
52 test_parse_cgroup_systemd (void)
53 {
54 char data[] = "1:name=systemd:/user.slice/user-1000.slice/user@1000.service/apps.slice/snap.something.scope\n";
55 FILE *f;
56 int res;
57 gboolean is_snap = FALSE;
58
59 f = fmemopen(data, sizeof(data), "r");
60
61 res = _xdp_parse_cgroup_file (f, &is_snap);
62 g_assert_cmpint (res, ==, 0);
63 g_assert_true (is_snap);
64 fclose(f);
65 }
66
67 static void
68 test_parse_cgroup_not_snap (void)
69 {
70 char data[] =
71 "12:pids:/\n"
72 "11:perf_event:/\n"
73 "10:net_cls,net_prio:/\n"
74 "9:cpuset:/\n"
75 "8:memory:/\n"
76 "7:rdma:/\n"
77 "6:devices:/\n"
78 "5:blkio:/\n"
79 "4:hugetlb:/\n"
80 "3:freezer:/\n"
81 "2:cpu,cpuacct:/\n"
82 "1:name=systemd:/\n"
83 "0::/\n";
84
85 FILE *f;
86 int res;
87 gboolean is_snap = FALSE;
88
89 f = fmemopen(data, sizeof(data), "r");
90
91 res = _xdp_parse_cgroup_file (f, &is_snap);
92 g_assert_cmpint (res, ==, 0);
93 g_assert_false (is_snap);
94 fclose(f);
95 }
96
97 static void
98 test_alternate_doc_path (void)
99 {
100 g_autofree char *path = NULL;
101
102 xdp_set_documents_mountpoint (NULL);
103
104 /* If no documents mount point is set, there is no alternate path */
105 path = xdp_get_alternate_document_path ("/whatever", "app-id");
106 g_assert_cmpstr (path, ==, NULL);
107
108 xdp_set_documents_mountpoint ("/doc/portal");
109
110 /* Paths outside of the document portal do not have an alternate path */
111 path = xdp_get_alternate_document_path ("/whatever", "app-id");
112 g_assert_cmpstr (path, ==, NULL);
113
114 /* The doc portal mount point itself does not have an alternate path */
115 path = xdp_get_alternate_document_path ("/doc/portal", "app-id");
116 g_assert_cmpstr (path, ==, NULL);
117
118 /* Paths under the doc portal mount point have an alternate path */
119 path = xdp_get_alternate_document_path ("/doc/portal/foo/bar", "app-id");
120 g_assert_cmpstr (path, ==, "/doc/portal/by-app/app-id/foo/bar");
121
122 g_clear_pointer (&path, g_free);
123 path = xdp_get_alternate_document_path ("/doc/portal/foo/bar", "second-app");
124 g_assert_cmpstr (path, ==, "/doc/portal/by-app/second-app/foo/bar");
125
126 xdp_set_documents_mountpoint (NULL);
127 }
128
129 int main (int argc, char **argv)
130 {
131 g_test_init (&argc, &argv, NULL);
132 g_test_add_func ("/parse-cgroup/unified", test_parse_cgroup_unified);
133 g_test_add_func ("/parse-cgroup/freezer", test_parse_cgroup_freezer);
134 g_test_add_func ("/parse-cgroup/systemd", test_parse_cgroup_systemd);
135 g_test_add_func ("/parse-cgroup/not-snap", test_parse_cgroup_not_snap);
136 g_test_add_func ("/alternate-doc-path", test_alternate_doc_path);
137 return g_test_run ();
138 }