Skip to content

Commit

Permalink
*
Browse files Browse the repository at this point in the history
  • Loading branch information
lainsce committed Jan 24, 2024
1 parent 06bfa48 commit d9c20de
Show file tree
Hide file tree
Showing 63 changed files with 280 additions and 277 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
fail-fast: false
matrix:
pkg:
- xdg-desktop-portal-gnome
- xdg-desktop-portal-tau
arch:
- x86_64
- aarch64
Expand Down
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
# xdg-desktop-portal-gnome
# xdg-desktop-portal-tau

A backend implementation for [xdg-desktop-portal](http://github.com/flatpak/xdg-desktop-portal)
that is using GTK and various pieces of GNOME infrastructure, such as the
org.gnome.Shell.Screenshot or org.gnome.SessionManager D-Bus interfaces.

## Building xdg-desktop-portal-gnome
## Building xdg-desktop-portal-tau

xdg-desktop-portal-gnome depends on xdg-desktop-portal and xdg-desktop-portal-gtk.
xdg-desktop-portal-tau depends on xdg-desktop-portal and xdg-desktop-portal-gtk.
19 changes: 11 additions & 8 deletions data/meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -5,35 +5,38 @@ libexecdir_conf.set('libexecdir', prefix / libexecdir)

# Portal
portal_dir = datadir / 'xdg-desktop-portal' / 'portals'
install_data('gnome.portal', install_dir: portal_dir)
install_data('tau
.portal', install_dir: portal_dir)

# Service
configure_file(
input: 'org.freedesktop.impl.portal.desktop.gnome.service.in',
output: 'org.freedesktop.impl.portal.desktop.gnome.service',
input: 'org.freedesktop.impl.portal.desktop.tau
.service.in',
output: 'org.freedesktop.impl.portal.desktop.tau
.service',
configuration: libexecdir_conf,
install_dir: dbus_service_dir,
)

# systemd unit
configure_file(
input: 'xdg-desktop-portal-gnome.service.in',
output: 'xdg-desktop-portal-gnome.service',
input: 'xdg-desktop-portal-tau.service.in',
output: 'xdg-desktop-portal-tau.service',
configuration: libexecdir_conf,
install_dir: systemduserunitdir,
)

# Desktop file
desktop_in = configure_file(
input: 'xdg-desktop-portal-gnome.desktop.in.in',
output: 'xdg-desktop-portal-gnome.desktop.in',
input: 'xdg-desktop-portal-tau.desktop.in.in',
output: 'xdg-desktop-portal-tau.desktop.in',
configuration: libexecdir_conf,
)

i18n.merge_file(
type: 'desktop',
input: desktop_in,
output: 'xdg-desktop-portal-gnome.desktop',
output: 'xdg-desktop-portal-tau.desktop',
po_dir: meson.source_root() / 'po',
install: true,
install_dir: datadir / 'applications',
Expand Down
4 changes: 0 additions & 4 deletions data/org.freedesktop.impl.portal.desktop.gnome.service.in

This file was deleted.

4 changes: 4 additions & 0 deletions data/org.freedesktop.impl.portal.desktop.tau.service.in
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
[D-BUS Service]
Name=org.freedesktop.impl.portal.desktop.tau
Exec=@libexecdir@/xdg-desktop-portal-tau
SystemdService=xdg-desktop-portal-tau.service
File renamed without changes.
7 changes: 0 additions & 7 deletions data/xdg-desktop-portal-gnome.service.in

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,5 @@ Type=Application
Name=Portal
# TRANSLATORS: Don't translate this text (this is icon name)
Icon=applications-system-symbolic
Exec=@libexecdir@/xdg-desktop-portal-gnome
Exec=@libexecdir@/xdg-desktop-portal-tau
NoDisplay=true
7 changes: 7 additions & 0 deletions data/xdg-desktop-portal-tau.service.in
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
[Unit]
Description=Portal service (tauOS implementation)

[Service]
Type=dbus
BusName=org.freedesktop.impl.portal.desktop.tau
ExecStart=@libexecdir@/xdg-desktop-portal-tau
2 changes: 1 addition & 1 deletion meson.build
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
project(
'xdg-desktop-portal-gnome',
'xdg-desktop-portal-tau',
'c',
version: '45.0',
meson_version: '>= 0.53.0',
Expand Down
2 changes: 1 addition & 1 deletion po/POTFILES.in
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# List of source files containing translatable strings.
data/xdg-desktop-portal-gnome.desktop.in.in
data/xdg-desktop-portal-tau.desktop.in.in
src/accountdialog.c
src/accountdialog.ui
src/appchooserdialog.c
Expand Down
2 changes: 1 addition & 1 deletion po/ab.po
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ msgstr ""
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
"X-DamnedLies-Scope: partial\n"

#: data/xdg-desktop-portal-gnome.desktop.in.in:4
#: data/xdg-desktop-portal-tau.desktop.in.in:4
msgid "Portal"
msgstr "Апортал"

Expand Down
12 changes: 6 additions & 6 deletions po/be.po
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
# Belarusian translation for xdg-desktop-portal-gnome.
# Copyright (C) 2022 xdg-desktop-portal-gnome's COPYRIGHT HOLDER
# This file is distributed under the same license as the xdg-desktop-portal-gnome package.
# Belarusian translation for xdg-desktop-portal-tau.
# Copyright (C) 2022 xdg-desktop-portal-tau's COPYRIGHT HOLDER
# This file is distributed under the same license as the xdg-desktop-portal-tau package.
# Yuras Shumovich <[email protected]>, 2022.
#
msgid ""
msgstr ""
"Project-Id-Version: xdg-desktop-portal-gnome gnome-43\n"
"Project-Id-Version: xdg-desktop-portal-tau gnome-43\n"
"Report-Msgid-Bugs-To: https://gitlab.gnome.org/GNOME/xdg-desktop-portal-"
"gnome/issues\n"
"POT-Creation-Date: 2022-12-13 10:22+0000\n"
"PO-Revision-Date: 2023-01-01 00:01+0300\n"
"Last-Translator: Yuras Shumovich <[email protected]>\n"
"Language-Team: Belarusian <i18n-bel-gnome@googlegroups.com>\n"
"Language-Team: Belarusian <i18n-bel-tau@googlegroups.com>\n"
"Language: be\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
Expand All @@ -20,7 +20,7 @@ msgstr ""
"n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n"
"X-Generator: Poedit 3.2.2\n"

#: data/xdg-desktop-portal-gnome.desktop.in.in:4
#: data/xdg-desktop-portal-tau.desktop.in.in:4
msgid "Portal"
msgstr "Партал"

Expand Down
8 changes: 4 additions & 4 deletions po/bg.po
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
# This is the Bulgarian translation of xdg-desktop-portal-gnome po-file.
# This is the Bulgarian translation of xdg-desktop-portal-tau po-file.
# Copyright (C) 2022 Alexander Shopov.
# Alexander Shopov <[email protected]>, 2022.
#
msgid ""
msgstr ""
"Project-Id-Version: xdg-desktop-portal-gnome main\n"
"Report-Msgid-Bugs-To: https://gitlab.gnome.org/GNOME/xdg-desktop-portal-gnome/issues\n"
"Project-Id-Version: xdg-desktop-portal-tau main\n"
"Report-Msgid-Bugs-To: https://gitlab.gnome.org/GNOME/xdg-desktop-portal-tau/issues\n"
"POT-Creation-Date: 2022-09-11 20:56+0000\n"
"PO-Revision-Date: 2022-10-04 12:57+0200\n"
"Last-Translator: Alexander Shopov <[email protected]>\n"
Expand All @@ -16,7 +16,7 @@ msgstr ""
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"

#: data/xdg-desktop-portal-gnome.desktop.in.in:4
#: data/xdg-desktop-portal-tau.desktop.in.in:4
msgid "Portal"
msgstr "Портал"

Expand Down
12 changes: 6 additions & 6 deletions po/ca.po
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
# Catalan translation for xdg-desktop-portal-gnome.
# Copyright (C) 2021 xdg-desktop-portal-gnome's COPYRIGHT HOLDER
# This file is distributed under the same license as the xdg-desktop-portal-gnome package.
# Catalan translation for xdg-desktop-portal-tau.
# Copyright (C) 2021 xdg-desktop-portal-tau's COPYRIGHT HOLDER
# This file is distributed under the same license as the xdg-desktop-portal-tau package.
# Jordi Mas i Hernàndez <[email protected]>, 2021
# Joan Mas Lloret <[email protected]>, 2022
#
msgid ""
msgstr ""
"Project-Id-Version: xdg-desktop-portal-gnome gnome-41\n"
"Report-Msgid-Bugs-To: https://gitlab.gnome.org/GNOME/xdg-desktop-portal-gnome/issues\n"
"Project-Id-Version: xdg-desktop-portal-tau gnome-41\n"
"Report-Msgid-Bugs-To: https://gitlab.gnome.org/GNOME/xdg-desktop-portal-tau/issues\n"
"POT-Creation-Date: 2022-05-09 05:56+0000\n"
"PO-Revision-Date: 2022-01-20 15:11+0100\n"
"Last-Translator: Joan Mas Lloret <[email protected]>\n"
Expand All @@ -18,7 +18,7 @@ msgstr ""
"Content-Transfer-Encoding: 8bit\n"
"X-Generator: Poedit 3.0\n"

#: data/xdg-desktop-portal-gnome.desktop.in.in:4
#: data/xdg-desktop-portal-tau.desktop.in.in:4
msgid "Portal"
msgstr "Portal"

Expand Down
10 changes: 5 additions & 5 deletions po/cs.po
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
# Czech translation for xdg-desktop-portal-gnome.
# Copyright (C) 2016-2017 xdg-desktop-portal-gnome's COPYRIGHT HOLDER
# This file is distributed under the same license as the xdg-desktop-portal-gnome package.
# Czech translation for xdg-desktop-portal-tau.
# Copyright (C) 2016-2017 xdg-desktop-portal-tau's COPYRIGHT HOLDER
# This file is distributed under the same license as the xdg-desktop-portal-tau package.
#
# Marek Černocký <[email protected]>, 2016, 2021, 2022.
# Daniel Rusek <[email protected]>, 2017.
#
msgid ""
msgstr ""
"Project-Id-Version: xdg-desktop-portal-gnome\n"
"Project-Id-Version: xdg-desktop-portal-tau\n"
"Report-Msgid-Bugs-To: https://gitlab.gnome.org/GNOME/xdg-desktop-portal-"
"gnome/issues\n"
"POT-Creation-Date: 2022-07-09 18:28+0000\n"
Expand All @@ -21,7 +21,7 @@ msgstr ""
"Plural-Forms: nplurals=3; plural=(n==1) ? 0 : (n>=2 && n<=4) ? 1 : 2;\n"
"X-Generator: Poedit 3.0\n"

#: data/xdg-desktop-portal-gnome.desktop.in.in:4
#: data/xdg-desktop-portal-tau.desktop.in.in:4
msgid "Portal"
msgstr "Portál"

Expand Down
6 changes: 3 additions & 3 deletions po/da.po
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
# Danish translation for xdg-desktop-portal-gnome
# Danish translation for xdg-desktop-portal-tau
# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
# This file is distributed under the same license as the PACKAGE package.
#
# scootergrisen, 2018-2019.
# Ask Hjorth Larsen <[email protected]>, 2022.
msgid ""
msgstr ""
"Project-Id-Version: xdg-desktop-portal-gnome\n"
"Project-Id-Version: xdg-desktop-portal-tau\n"
"Report-Msgid-Bugs-To: https://gitlab.gnome.org/GNOME/xdg-desktop-portal-"
"gnome/issues\n"
"POT-Creation-Date: 2022-07-09 18:28+0000\n"
Expand All @@ -19,7 +19,7 @@ msgstr ""
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"

#: data/xdg-desktop-portal-gnome.desktop.in.in:4
#: data/xdg-desktop-portal-tau.desktop.in.in:4
msgid "Portal"
msgstr "Portal"

Expand Down
10 changes: 5 additions & 5 deletions po/de.po
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# German translation for xdg-desktop-portal-gnome.
# Copyright (C) 2016 xdg-desktop-portal-gnome's COPYRIGHT HOLDER
# This file is distributed under the same license as the xdg-desktop-portal-gnome package.
# German translation for xdg-desktop-portal-tau.
# Copyright (C) 2016 xdg-desktop-portal-tau's COPYRIGHT HOLDER
# This file is distributed under the same license as the xdg-desktop-portal-tau package.
#
#
# Christian Kirbach <[email protected]>, 2016, 2018.
Expand All @@ -10,7 +10,7 @@
#
msgid ""
msgstr ""
"Project-Id-Version: xdg-desktop-portal-gnome master\n"
"Project-Id-Version: xdg-desktop-portal-tau master\n"
"Report-Msgid-Bugs-To: https://gitlab.gnome.org/GNOME/xdg-desktop-portal-"
"gnome/issues\n"
"POT-Creation-Date: 2022-08-06 14:26+0000\n"
Expand All @@ -24,7 +24,7 @@ msgstr ""
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
"X-Generator: Poedit 3.1.1\n"

#: data/xdg-desktop-portal-gnome.desktop.in.in:4
#: data/xdg-desktop-portal-tau.desktop.in.in:4
msgid "Portal"
msgstr "Portal"

Expand Down
10 changes: 5 additions & 5 deletions po/el.po
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
# Greek translation for xdg-desktop-portal-gnome.
# Copyright (C) 2021 xdg-desktop-portal-gnome's COPYRIGHT HOLDER
# This file is distributed under the same license as the xdg-desktop-portal-gnome package.
# Greek translation for xdg-desktop-portal-tau.
# Copyright (C) 2021 xdg-desktop-portal-tau's COPYRIGHT HOLDER
# This file is distributed under the same license as the xdg-desktop-portal-tau package.
# Efstathios Iosifidis <[email protected]>, 2021.
#
msgid ""
msgstr ""
"Project-Id-Version: xdg-desktop-portal-gnome gnome-41\n"
"Project-Id-Version: xdg-desktop-portal-tau gnome-41\n"
"Report-Msgid-Bugs-To: https://gitlab.gnome.org/GNOME/xdg-desktop-portal-"
"gnome/issues\n"
"POT-Creation-Date: 2022-10-07 16:57+0000\n"
Expand All @@ -19,7 +19,7 @@ msgstr ""
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
"X-Generator: Poedit 3.2.2\n"

#: data/xdg-desktop-portal-gnome.desktop.in.in:4
#: data/xdg-desktop-portal-tau.desktop.in.in:4
msgid "Portal"
msgstr "Πύλη"

Expand Down
14 changes: 7 additions & 7 deletions po/en_GB.po
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
# British English translation for xdg-desktop-portal-gnome.
# Copyright (C) 2019 xdg-desktop-portal-gnome's COPYRIGHT HOLDER
# This file is distributed under the same license as the xdg-desktop-portal-gnome package.
# British English translation for xdg-desktop-portal-tau.
# Copyright (C) 2019 xdg-desktop-portal-tau's COPYRIGHT HOLDER
# This file is distributed under the same license as the xdg-desktop-portal-tau package.
# Zander Brown <[email protected]>, 2019.
# Bruce Cowan <[email protected]>, 2022.
#
msgid ""
msgstr ""
"Project-Id-Version: xdg-desktop-portal-gnome master\n"
"Project-Id-Version: xdg-desktop-portal-tau master\n"
"Report-Msgid-Bugs-To: https://gitlab.gnome.org/GNOME/xdg-desktop-portal-"
"gnome/issues\n"
"POT-Creation-Date: 2022-03-18 20:33+0000\n"
Expand All @@ -20,17 +20,17 @@ msgstr ""
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
"X-Generator: Gtranslator 42.0\n"
"X-DL-Team: en_GB\n"
"X-DL-Module: xdg-desktop-portal-gnome\n"
"X-DL-Module: xdg-desktop-portal-tau\n"
"X-DL-Branch: gnome-42\n"
"X-DL-Domain: po\n"
"X-DL-State: Translating\n"

#: data/xdg-desktop-portal-gnome.desktop.in.in:4
#: data/xdg-desktop-portal-tau.desktop.in.in:4
msgid "Portal"
msgstr "Portal"

#. TRANSLATORS: Don't translate this text (this is icon name)
#: data/xdg-desktop-portal-gnome.desktop.in.in:6
#: data/xdg-desktop-portal-tau.desktop.in.in:6
msgid "applications-system-symbolic"
msgstr "applications-system-symbolic"

Expand Down
4 changes: 2 additions & 2 deletions po/es.po
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
#
msgid ""
msgstr ""
"Project-Id-Version: xdg-desktop-portal-gnome\n"
"Project-Id-Version: xdg-desktop-portal-tau\n"
"Report-Msgid-Bugs-To: https://gitlab.gnome.org/GNOME/xdg-desktop-portal-"
"gnome/issues\n"
"POT-Creation-Date: 2022-05-09 05:56+0000\n"
Expand All @@ -22,7 +22,7 @@ msgstr ""
"Plural-Forms: nplurals=2; plural=(n != 1)\n"
"X-Generator: Gtranslator 42.0\n"

#: data/xdg-desktop-portal-gnome.desktop.in.in:4
#: data/xdg-desktop-portal-tau.desktop.in.in:4
msgid "Portal"
msgstr "Portal"

Expand Down
12 changes: 6 additions & 6 deletions po/eu.po
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
# Basque translation for xdg-desktop-portal-gnome.
# Copyright (C) 2021 xdg-desktop-portal-gnome's COPYRIGHT HOLDER
# This file is distributed under the same license as the xdg-desktop-portal-gnome package.
# Basque translation for xdg-desktop-portal-tau.
# Copyright (C) 2021 xdg-desktop-portal-tau's COPYRIGHT HOLDER
# This file is distributed under the same license as the xdg-desktop-portal-tau package.
# Asier Sarasua Garmendia <[email protected]>, 2021, 2022.
#
msgid ""
msgstr "Project-Id-Version: xdg-desktop-portal-gnome gnome-41\n"
"Report-Msgid-Bugs-To: https://gitlab.gnome.org/GNOME/xdg-desktop-portal-gnome/issues\n"
msgstr "Project-Id-Version: xdg-desktop-portal-tau gnome-41\n"
"Report-Msgid-Bugs-To: https://gitlab.gnome.org/GNOME/xdg-desktop-portal-tau/issues\n"
"POT-Creation-Date: 2022-07-09 18:28+0000\n"
"PO-Revision-Date: 2022-07-31 19:22+0000\n"
"Last-Translator: Asier Sarasua Garmendia <[email protected]>\n"
Expand All @@ -15,7 +15,7 @@ msgstr "Project-Id-Version: xdg-desktop-portal-gnome gnome-41\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"

#: data/xdg-desktop-portal-gnome.desktop.in.in:4
#: data/xdg-desktop-portal-tau.desktop.in.in:4
msgid "Portal"
msgstr "Ataria"

Expand Down
Loading

0 comments on commit d9c20de

Please sign in to comment.