diff --git a/briar-gtk/data/meson.build b/briar-gtk/data/meson.build index 00ec5c11a9a1f72d8a7300817ccc639fc521a369..17edeec94ce165f8aaa41ea1e096eecf7e4f363c 100644 --- a/briar-gtk/data/meson.build +++ b/briar-gtk/data/meson.build @@ -52,6 +52,12 @@ gnome.compile_resources('briar-gtk', gresource_bundle: true, install: true, install_dir: pkgdatadir, + dependencies: configure_file( + input: 'about_dialog.ui.in', + output: 'about_dialog.ui', + configuration: conf + ) + ) subdir('icons') diff --git a/briar-gtk/meson.build b/briar-gtk/meson.build index 6702618c8e6cfae821307f7f5bd5aca8a4f98e56..1852f2579b146ec1b82d1d67c3d45f4df2eccf49 100644 --- a/briar-gtk/meson.build +++ b/briar-gtk/meson.build @@ -10,6 +10,7 @@ subdir('po') python3 = import('python3') conf = configuration_data() +conf.set('PACKAGE_URL', 'https://code.briarproject.org/briar/briar-gtk/blob/master/README.md') conf.set('PYTHON', python3.find_python().path()) conf.set('VERSION', meson.project_version()) conf.set('LOCALE_DIR', join_paths(get_option('prefix'), get_option('localedir'))) diff --git a/data/ui/about_dialog.ui.in b/data/ui/about_dialog.ui.in new file mode 100644 index 0000000000000000000000000000000000000000..35823ee5670fc24e2ea976c1c51f787614a29515 --- /dev/null +++ b/data/ui/about_dialog.ui.in @@ -0,0 +1,35 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!-- + Copyright (c) 2019 Nico Alt + SPDX-License-Identifier: AGPL-3.0-only + License-Filename: LICENSE.md + + Based on parts of GNOME Lollypop + https://gitlab.gnome.org/World/lollypop/raw/1.2.16/data/AboutDialog.ui.in +--> +<interface> + <requires lib="gtk+" version="3.12"/> + <object class="GtkAboutDialog" id="about_dialog"> + <property name="can_focus">False</property> + <property name="modal">True</property> + <property name="destroy_with_parent">True</property> + <property name="type_hint">normal</property> + <property name="program_name">Briar GTK</property> + <property name="version">@VERSION@</property> + <property name="copyright">Copyright © 2019 "Nico Alt https://nico.dorfbrunnen.eu", et al.</property> + <property name="comments" translatable="yes">A Briar client for GTK desktop and mobile devices</property> + <property name="website">@PACKAGE_URL@</property> + <property name="website_label" translatable="yes">Visit Briar GTK's website</property> + <property name="authors">Nico Alt + +Briar GTK uses the "Briar REST API https://code.briarproject.org/briar/briar/blob/master/briar-headless/README.md" + +Briar GTK received a lot of inspiration and uses parts of the following projects: + GNOME Fractal + GNOME Lollypop +</property> + <property name="translator_credits" translatable="yes" context="Translation credits here, put your name here!" comments="Replace me with your names">Nico Alt</property> + <property name="logo_icon_name">app.briar.gtk</property> + <property name="license_type">agpl-3-0-only</property> + </object> +</interface>