Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add translation #1

Open
wants to merge 25 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
25 commits
Select commit Hold shift + click to select a range
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -40,5 +40,5 @@ autoreconf.*
debian/files
debian/debhelper-build-stamp
debian/.debhelper/
debian/piagnostics/
piagnostics
debian/agnostics/
agnostics
41 changes: 40 additions & 1 deletion README
Original file line number Diff line number Diff line change
@@ -1,3 +1,42 @@
This is an application to run tests on Raspberry Pi hardware.

To build, run ./autogen.sh, then ./configure and make.

How to build
------------

1. Install dependencies

The dependencies of any Debian project are listed in the "Build-Depends" section
of the file named "control" in the "debian" subdirectory of the project.

If the project has already been released into apt, then the build dependencies
can be automatically installed using the command "sudo apt build-dep <package-name>".

2. Prepare project

To create the "configure" file and prepare the project directory, use the command
"./autogen.sh" in the top directory of the project.

If this file is not present, then instead use the command "autoreconf -i -f"
followed by the command "intltoolize -c --automake --force", both in the top directory
of the project.

3. Configure

To configure the make system, use the command "./configure" in the top directory of
the project. This will by default set the project for installation in the /usr/local tree,
which will not overwrite a version which has been installed from apt.

If you wish to overwrite a preinstalled version in the /usr tree, supply the arguments
"./configure --prefix=/usr --libdir=/usr/lib/<library-location>" to the configure command.
On a 32-bit system, <library-location> should be "arm-linux-gnueabihf".
On a 64-bit system, <library-location> should be "aarch64-linux-gnu".

4. Build

To build the application, use the command "make" in the top directory of the project.

5. Install

To install the application and all required data files, use the command "sudo make install"
in the top directory of the project.
1 change: 0 additions & 1 deletion data/agnostics.desktop.in
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,5 @@ _GenericName=Raspberry Pi Diagnostics
_Comment=Test the Raspberry Pi hardware
Icon=rpi
Exec=agnostics
NotShowIn=GNOME;XFCE;
StartupNotify=true
Categories=Utility;
144 changes: 84 additions & 60 deletions data/agnostics.ui
Original file line number Diff line number Diff line change
@@ -1,98 +1,122 @@
<?xml version="1.0" encoding="UTF-8"?>
<!-- Generated with glade 3.22.1 -->
<!-- Generated with glade 3.38.2 -->
<interface>
<requires lib="gtk+" version="3.20"/>
<object class="GtkWindow" id="msg_wd">
<object class="GtkWindow" id="modal">
<property name="name">pixbox</property>
<property name="can_focus">False</property>
<property name="can-focus">False</property>
<property name="resizable">False</property>
<property name="modal">True</property>
<property name="window_position">center-on-parent</property>
<property name="destroy_with_parent">True</property>
<property name="skip_taskbar_hint">True</property>
<property name="window-position">center-on-parent</property>
<property name="default-width">340</property>
<property name="destroy-with-parent">True</property>
<property name="type-hint">dialog</property>
<property name="skip-taskbar-hint">True</property>
<property name="skip-pager-hint">True</property>
<property name="decorated">False</property>
<child type="titlebar">
<placeholder/>
</child>
<child>
<object class="GtkBox">
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="margin_left">10</property>
<property name="margin_right">10</property>
<property name="margin_top">10</property>
<property name="margin_bottom">10</property>
<property name="can-focus">False</property>
<property name="margin-left">20</property>
<property name="margin-right">20</property>
<property name="margin-top">20</property>
<property name="margin-bottom">20</property>
<property name="orientation">vertical</property>
<property name="spacing">5</property>
<property name="spacing">20</property>
<child>
<object class="GtkLabel" id="msg_label">
<object class="GtkLabel" id="modal_msg">
<property name="width-request">300</property>
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="label" translatable="yes">Running tests...</property>
<property name="use_markup">True</property>
<property name="width_chars">30</property>
<property name="can-focus">False</property>
<property name="label" translatable="yes">label</property>
<property name="wrap">True</property>
</object>
<packing>
<property name="expand">False</property>
<property name="fill">False</property>
<property name="padding">5</property>
<property name="fill">True</property>
<property name="position">0</property>
</packing>
</child>
<child>
<object class="GtkProgressBar" id="msg_prog">
<object class="GtkProgressBar" id="modal_pb">
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="can-focus">False</property>
</object>
<packing>
<property name="expand">False</property>
<property name="fill">False</property>
<property name="padding">5</property>
<property name="fill">True</property>
<property name="position">1</property>
</packing>
</child>
<child>
<object class="GtkButton" id="msg_btn">
<property name="label" translatable="yes">Cancel</property>
<object class="GtkBox" id="modal_buttons">
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="receives_default">True</property>
<property name="can-focus">False</property>
<property name="spacing">20</property>
<child>
<object class="GtkButton" id="modal_cancel">
<property name="label" translatable="yes">_Cancel</property>
<property name="width-request">100</property>
<property name="visible">True</property>
<property name="can-focus">True</property>
<property name="receives-default">True</property>
<property name="use-underline">True</property>
</object>
<packing>
<property name="expand">True</property>
<property name="fill">False</property>
<property name="position">0</property>
</packing>
</child>
<child>
<object class="GtkButton" id="modal_ok">
<property name="label" translatable="yes">_OK</property>
<property name="width-request">100</property>
<property name="visible">True</property>
<property name="can-focus">True</property>
<property name="receives-default">True</property>
<property name="use-underline">True</property>
</object>
<packing>
<property name="expand">True</property>
<property name="fill">False</property>
<property name="position">1</property>
</packing>
</child>
</object>
<packing>
<property name="expand">False</property>
<property name="fill">False</property>
<property name="padding">5</property>
<property name="fill">True</property>
<property name="position">2</property>
</packing>
</child>
</object>
</child>
</object>
<object class="GtkWindow" id="piag_wd">
<property name="can_focus">False</property>
<property name="can-focus">False</property>
<property name="title" translatable="yes">Raspberry Pi Diagnostics</property>
<property name="icon_name">rpi</property>
<child>
<placeholder/>
</child>
<property name="icon-name">rpi</property>
<child>
<object class="GtkBox">
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="margin_left">5</property>
<property name="margin_right">5</property>
<property name="margin_top">5</property>
<property name="margin_bottom">5</property>
<property name="can-focus">False</property>
<property name="margin-left">5</property>
<property name="margin-right">5</property>
<property name="margin-top">5</property>
<property name="margin-bottom">5</property>
<property name="orientation">vertical</property>
<property name="spacing">5</property>
<child>
<object class="GtkScrolledWindow">
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="shadow_type">in</property>
<property name="can-focus">True</property>
<property name="shadow-type">in</property>
<child>
<object class="GtkTreeView" id="piag_tv">
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="can-focus">True</property>
<child internal-child="selection">
<object class="GtkTreeSelection"/>
</child>
Expand All @@ -108,16 +132,16 @@
<child>
<object class="GtkButtonBox">
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="can-focus">False</property>
<property name="spacing">3</property>
<property name="layout_style">start</property>
<property name="layout-style">start</property>
<child>
<object class="GtkButton" id="btn_close">
<property name="label" translatable="yes">_Close</property>
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="receives_default">True</property>
<property name="use_underline">True</property>
<property name="can-focus">True</property>
<property name="receives-default">True</property>
<property name="use-underline">True</property>
</object>
<packing>
<property name="expand">True</property>
Expand All @@ -129,9 +153,9 @@
<object class="GtkButton" id="btn_log">
<property name="label" translatable="yes">Show _Log</property>
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="receives_default">True</property>
<property name="use_underline">True</property>
<property name="can-focus">True</property>
<property name="receives-default">True</property>
<property name="use-underline">True</property>
</object>
<packing>
<property name="expand">True</property>
Expand All @@ -144,9 +168,9 @@
<object class="GtkButton" id="btn_reset">
<property name="label" translatable="yes">Re_set</property>
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="receives_default">True</property>
<property name="use_underline">True</property>
<property name="can-focus">True</property>
<property name="receives-default">True</property>
<property name="use-underline">True</property>
</object>
<packing>
<property name="expand">True</property>
Expand All @@ -159,9 +183,9 @@
<object class="GtkButton" id="btn_run">
<property name="label" translatable="yes">_Run Tests</property>
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="receives_default">True</property>
<property name="use_underline">True</property>
<property name="can-focus">True</property>
<property name="receives-default">True</property>
<property name="use-underline">True</property>
</object>
<packing>
<property name="expand">True</property>
Expand All @@ -174,7 +198,7 @@
<packing>
<property name="expand">False</property>
<property name="fill">True</property>
<property name="pack_type">end</property>
<property name="pack-type">end</property>
<property name="position">1</property>
</packing>
</child>
Expand Down
48 changes: 48 additions & 0 deletions debian/changelog
Original file line number Diff line number Diff line change
@@ -1,3 +1,51 @@
agnostics (0.10) bullseye; urgency=medium

* Fix size of modal dialog

-- Simon Long <[email protected]> Tue, 15 Mar 2022 10:09:31 +0000

agnostics (0.9) buster; urgency=medium

* Added Italian translation

-- Simon Long <[email protected]> Thu, 15 Apr 2021 16:01:46 +0100

agnostics (0.8) buster; urgency=medium

* Remove hiding of app in other desktops

-- Simon Long <[email protected]> Thu, 01 Apr 2021 20:35:04 +0100

agnostics (0.7) buster; urgency=medium

* Added Armenian translation

-- Simon Long <[email protected]> Wed, 24 Feb 2021 15:36:05 +0000

agnostics (0.6) buster; urgency=medium

* Added Slovak translation

-- Simon Long <[email protected]> Sun, 13 Dec 2020 12:16:59 +0000

agnostics (0.5) buster; urgency=medium

* Use system text file association to open log file

-- Simon Long <[email protected]> Fri, 18 Sep 2020 11:27:04 +0100

agnostics (0.4) buster; urgency=medium

* Wait for specified PID while test is running

-- Simon Long <[email protected]> Sun, 03 May 2020 18:42:14 +0100

agnostics (0.3) buster; urgency=medium

* Restrict memory usage in SD card test

-- Simon Long <[email protected]> Fri, 24 Apr 2020 10:38:54 +0100

agnostics (0.2) buster; urgency=medium

* Correct version of GTK in dependencies
Expand Down
2 changes: 1 addition & 1 deletion debian/compat
Original file line number Diff line number Diff line change
@@ -1 +1 @@
9
10
4 changes: 2 additions & 2 deletions debian/control
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ Source: agnostics
Section: admin
Priority: optional
Maintainer: Simon Long <[email protected]>
Build-Depends: debhelper (>= 9), dh-autoreconf, libglib2.0-dev, libgtk-3-dev,
Build-Depends: debhelper (>= 9), dh-autoreconf, libglib2.0-dev, libgtk-3-dev (>= 3.24),
libx11-dev, intltool
Standards-Version: 3.9.6
Homepage: https://github.com/raspberrypi-ui/agnostics
Expand All @@ -11,6 +11,6 @@ Vcs-Browser: https://github.com/raspberrypi-ui/agnostics

Package: agnostics
Architecture: any
Depends: ${shlibs:Depends}, ${misc:Depends}, mousepad, fio
Depends: ${shlibs:Depends}, ${misc:Depends}, libgtk-3-0 (>= 3.24), mousepad, fio
Description: Raspberry Pi Diagnostics
Extensible diagnostics package to test Raspberry Pi hardware
Loading