From df7167ecea06cc760b5178a4ebd416e445adefdf Mon Sep 17 00:00:00 2001 From: Robert Tari Date: Mon, 23 Aug 2021 00:51:45 +0200 Subject: Add info and build instructions --- INSTALL.md | 62 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ README.md | 49 +++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 111 insertions(+) create mode 100644 INSTALL.md create mode 100644 README.md diff --git a/INSTALL.md b/INSTALL.md new file mode 100644 index 0000000..927ca57 --- /dev/null +++ b/INSTALL.md @@ -0,0 +1,62 @@ +# Build and installation instructions + +## Compile-time build dependencies + + - cmake (>= 3.13) + - cmake-extras + - intltool + - vala (>= 0.20) + - systemd + - libayatana-common (>=0.9.3) + - glib-2.0 (>= 2.36) + - accountsservice + - libpulse (>= 5.0) + - dbus + - gobject-introspection + - pulseaudio + - libnotify + - libgee + - libxml2 + - gtest (>= 1.6.0) - **For testing** + - python3-dbusmock - **For testing** + - qt5-base5 - **For testing** + - qt5-declarative5 - **For testing** + - dbus-test-runner - **For testing** + - gcovr (>= 2.4) - **For coverage** + - lcov (>= 1.9) - **For coverage** + +## For end-users and packagers + +``` +cd ayatana-indicator-sound-X.Y.Z +mkdir build +cd build +cmake .. +make +sudo make install +``` + +**The install prefix defaults to `/usr`, change it with `-DCMAKE_INSTALL_PREFIX=/some/path`** + +## For testers - unit tests only + +``` +cd ayatana-indicator-sound-X.Y.Z +mkdir build +cd build +cmake .. -DENABLE_TESTS=ON +make +make test +make cppcheck +``` + +## For testers - both unit tests and code coverage + +``` +cd ayatana-indicator-sound-X.Y.Z +mkdir build-coverage +cd build-coverage +cmake .. -DENABLE_COVERAGE=ON +make +make coverage-html +``` diff --git a/README.md b/README.md new file mode 100644 index 0000000..1072c28 --- /dev/null +++ b/README.md @@ -0,0 +1,49 @@ +# Ayatana System Indicator — Sound [![Build Status](https://travis-ci.com/AyatanaIndicators/ayatana-indicator-sound.svg)](https://travis-ci.com/AyatanaIndicators/ayatana-indicator-sound) + +## About Ayatana Indicators + +The Ayatana Indicators project is the continuation of Application +Indicators and System Indicators, two technologies developed by Canonical +Ltd. for the Unity7 desktop. + +Application Indicators are a GTK implementation of the StatusNotifierItem +Specification (SNI) that was originally submitted to freedesktop.org by +KDE. + +System Indicators are an extensions to the Application Indicators idea. +System Indicators allow for far more widgets to be displayed in the +indicator's menu. + +The Ayatana Indicators project is the new upstream for application +indicators, system indicators and associated projects with a focus on +making Ayatana Indicators a desktop agnostic technology. + +On GNU/Linux, Ayatana Indicators are currently available for desktop +envinronments like MATE (used by default in [Ubuntu +MATE](https://ubuntu-mate.com)), XFCE (used by default in +[Xubuntu](https://bluesabre.org/2021/02/25/xubuntu-21-04-progress-update/), +LXDE, and the Budgie Desktop). + +The Lomiri Operating Environment (UI of the Ubuntu Touch OS, formerly +known as Unity8) uses Ayatana Indicators for rendering its notification +area and the [UBports](https://ubports.com) project is a core contributor +to the Ayatana Indicators project. + +For further info, please visit: +https://ayatana-indicators.org + + +## The Sound Ayatana System Indicator + +The -sound Ayatana System Indicator is the sound menu indicator for +Unity7, MATE and Lomiri (optionally for others, e.g. XFCE, LXDE). Its +behavior and features are listed at +https://wiki.ayatana-indicators.org/AyatanaIndicatorSound + +## License and Copyright + +See COPYING and AUTHORS file in this project. + +## Building and Testing + +For instructions on building and running built-in tests, see the INSTALL.md file. -- cgit v1.2.3 From d66f7b70d27f1a332b4e86c11373e3e8071c6817 Mon Sep 17 00:00:00 2001 From: Adolfo Jayme Barrientos Date: Fri, 27 Aug 2021 05:16:53 +0000 Subject: Translated using Weblate (Spanish) Currently translated at 100.0% (53 of 53 strings) Translation: Ayatana Indicators/Sound Applet Translate-URL: https://hosted.weblate.org/projects/ayatana-indicators/sound-applet/es/ --- po/es.po | 24 +++++++++++++++--------- 1 file changed, 15 insertions(+), 9 deletions(-) diff --git a/po/es.po b/po/es.po index 9288d12..e3f6708 100644 --- a/po/es.po +++ b/po/es.po @@ -8,33 +8,37 @@ msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2021-08-12 07:21+0200\n" -"PO-Revision-Date: 2020-09-29 06:40+0000\n" +"PO-Revision-Date: 2021-08-28 05:32+0000\n" "Last-Translator: Adolfo Jayme Barrientos \n" -"Language-Team: Spanish \n" +"Language-Team: Spanish \n" "Language: es\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=2; plural=n != 1;\n" -"X-Generator: Weblate 4.3-dev\n" +"X-Generator: Weblate 4.8.1-dev\n" #: ../data/org.ayatana.indicator.sound.AccountsService.policy:5 msgid "Set properties of own user" -msgstr "" +msgstr "Establecer propiedades para la cuenta propia" #: ../data/org.ayatana.indicator.sound.AccountsService.policy:6 msgid "Authentication is required to set one's own indicator sound properties." msgstr "" +"Necesita autenticarse para establecer las propias propiedades del indicador " +"de sonido." #: ../data/org.ayatana.indicator.sound.AccountsService.policy:15 msgid "Set properties of any user" -msgstr "" +msgstr "Establecer propiedades para cualquier cuenta" #: ../data/org.ayatana.indicator.sound.AccountsService.policy:16 msgid "" "Authentication is required to set another user's indicator sound properties." msgstr "" +"Necesita autenticarse para establecer las propiedades del indicador de " +"sonido de otra cuenta." #: ../data/org.ayatana.indicator.sound.gschema.xml:1 msgid "A list of applications blacklisted from the sound menu" @@ -248,12 +252,13 @@ msgstr "Auriculares HDMI" #: ../src/service.vala:295 msgid "Missing application" -msgstr "" +msgstr "Falta la aplicación" #: ../src/service.vala:295 #, c-format msgid "Could not find the '%s' application - please make sure it is installed." msgstr "" +"No se pudo encontrar la aplicación «%s». Cerciórese de que esté instalada." #: ../src/service.vala:328 msgid "Volume (muted)" @@ -321,11 +326,12 @@ msgid "Choose Playlist" msgstr "Elija una lista" #: ../src/warn-notification.vala:32 -#, fuzzy msgid "" "Allow volume above safe level?\n" "High volume can damage your hearing." -msgstr "El volumen elevado puede dañar su audición." +msgstr "" +"¿Quiere subir el volumen por encima del nivel seguro?\n" +"El volumen elevado puede dañar su audición." #: ../src/warn-notification.vala:49 msgid "OK" -- cgit v1.2.3 From 8e31433d4d0d0f040e8be10e5288af0e275804c7 Mon Sep 17 00:00:00 2001 From: Mike Gabriel Date: Sat, 28 Aug 2021 12:39:31 +0200 Subject: .build.yml: Adjust to recent libayatana-common (providing Vala bindings); also adjust to Debian 11 now being debian:stable. --- .build.yml | 48 +++++++++++------------------------------------- 1 file changed, 11 insertions(+), 37 deletions(-) diff --git a/.build.yml b/.build.yml index adbfac0..f8cb781 100644 --- a/.build.yml +++ b/.build.yml @@ -19,6 +19,8 @@ requires: - intltool - vala - glib2 +# - libayatana-common + - liblomiri-url-dispatcher - libpulse - libnotify - libgee @@ -45,45 +47,12 @@ requires: - intltool - valac - libaccountsservice-dev +# - libayatana-common-dev + - gobject-introspection - libgirepository1.0-dev - - libglib2.0-dev - - liblomiri-api-dev - liblomiri-url-dispatcher-dev - - libpulse-dev - - libpulse-mainloop-glib0 - - libnotify-dev - - libgee-0.8-dev - - libxml2-dev - - pulseaudio - - qtbase5-dev - - qtbase5-dev-tools - - qtdeclarative5-dev - - qtdeclarative5-dev-tools - - systemd - - dbus-test-runner - - libgtest-dev - - libdbustest1-dev - - libqtdbusmock1-dev - - libqtdbustest1-dev - - python3-dbusmock - - debian:stable: - - autopoint - - clang - - clang-tools - - g++ - - cppcheck - - git - - cmake - - cmake-extras - - mate-common - - dbus - - gir1.2-accountsservice-1.0 - - intltool - - valac - - libaccountsservice-dev - - libgirepository1.0-dev - libglib2.0-dev + - liblomiri-api-dev - libpulse-dev - libpulse-mainloop-glib0 - libnotify-dev @@ -116,10 +85,12 @@ requires: - intltool - valac - libaccountsservice-dev +# - libayatana-common-dev + - gobject-introspection - libgirepository1.0-dev + - liblomiri-url-dispatcher-dev - libglib2.0-dev - liblomiri-api-dev - - liblomiri-url-dispatcher-dev - libpulse-dev - libpulse-mainloop-glib0 - libnotify-dev @@ -146,7 +117,10 @@ requires: - intltool - valac - libaccountsservice-dev +# - libayatana-common-dev + - gobject-introspection - libgirepository1.0-dev +# - liblomiri-url-dispatcher-dev - libglib2.0-dev - libpulse-dev - libpulse-mainloop-glib0 -- cgit v1.2.3