Skip to content

Commit

Permalink
Merge branch 'ci'
Browse files Browse the repository at this point in the history
  • Loading branch information
agx committed Jul 29, 2024
2 parents e383735 + 462b574 commit 1470899
Show file tree
Hide file tree
Showing 7 changed files with 192 additions and 5 deletions.
25 changes: 25 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
env:
DEPS: build-essential meson git libglib2.0-dev libedit-dev gettext desktop-file-utils
CMATRIX_DEPS: libsoup-3.0-dev libolm-dev libjson-glib-dev libsqlite3-dev libgcrypt20-dev libsecret-1-dev

name: eigenvalue build
run-name: Build on ${{ github.actor }}
on: [push]
jobs:
build:
runs-on: ubuntu-24.04
strategy:
matrix:
compiler: [gcc, clang]
steps:
- uses: actions/checkout@v4
- name: Install deps
run: sudo apt -y install --no-install-recommends ${{ matrix.compiler }} $DEPS $CMATRIX_DEPS
- name: setup
run: CC=${{ matrix.compiler }} meson setup _build
- name: build
run: meson compile -C _build
- name: test
run: meson test -C _build
- name: check
run: _build/run --help
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
_build
po/eigenvalue.pot
subprojects/libcmatrix
9 changes: 8 additions & 1 deletion data/meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,13 @@ desktop_file = i18n.merge_file(
type: 'desktop',
po_dir: '../po',
install: true,
install_dir: join_paths(get_option('datadir'), 'applications')
install_dir: get_option('datadir') / 'applications'
)

desktop_utils = find_program('desktop-file-validate', required: false)
if desktop_utils.found()
test('Validate desktop file',
desktop_utils, args: [desktop_file],
suite: 'tools'
)
endif
5 changes: 1 addition & 4 deletions meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ libcmatrix_dep = dependency('libcmatrix',
fallback: ['libcmatrix', 'libcmatrix_dep'],
default_options: [
'build-examples=false',
'build-tests=false',
])
libedit_dep = dependency('libedit')

Expand Down Expand Up @@ -123,7 +124,3 @@ configure_file(
input: 'run.in',
output: 'run',
configuration: run_data)

gnome.post_install(
glib_compile_schemas: true,
)
1 change: 1 addition & 0 deletions po/LINGUAS
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
de
1 change: 1 addition & 0 deletions po/POTFILES.in
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
data/org.sigxcpu.Eigenvalue.desktop.in
src/ev-matrix.c
src/ev-prompt.c
155 changes: 155 additions & 0 deletions po/de.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,155 @@
# German translation for eigenvalue
# Copyright (C) 2024 THE eigenvalue'S COPYRIGHT HOLDER
# This file is distributed under the same license as the phosh package.
#
# Guido Günther <[email protected]>, 2024
#
msgid ""
msgstr ""
"Project-Id-Version: eigenvalue\n"
"POT-Creation-Date: 2024-07-29 12:10+0200\n"
"PO-Revision-Date: 2024-07-29 12:10+0200\n"
"Language: de\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"

#: src/ev-matrix.c:282
msgid "Room Id"
msgstr ""

#. Translators: a matrix room name
#: src/ev-matrix.c:284
msgid "Name"
msgstr ""

#: src/ev-matrix.c:285
msgid "Topic"
msgstr "Betreff"

#: src/ev-matrix.c:286
msgid "Encrypted"
msgstr "Verschlüsselt"

#: src/ev-matrix.c:287
msgid "Yes"
msgstr "Ja"

#: src/ev-matrix.c:287
msgid "No"
msgstr "Nein"

#: src/ev-matrix.c:288
msgid "Unread notifications"
msgstr "Ungelesene Nachrichten"

#: src/ev-matrix.c:292 src/ev-matrix.c:326
msgid "Events"
msgstr ""

#: src/ev-matrix.c:333
msgid "Event Id"
msgstr ""

#. Translators: A matrix message event type
#: src/ev-matrix.c:335
msgid "Type"
msgstr ""

#: src/ev-matrix.c:342
msgid "Content-Type"
msgstr ""

#: src/ev-matrix.c:345
msgid "Body"
msgstr ""

#: src/ev-matrix.c:367
msgid "User"
msgstr ""

#: src/ev-matrix.c:368
msgid "Home server"
msgstr ""

#: src/ev-matrix.c:369
msgid "Device ID"
msgstr ""

#: src/ev-matrix.c:383
msgid "Fingerprint"
msgstr ""

#: src/ev-matrix.c:386
msgid "Logged in"
msgstr ""

#: src/ev-matrix.c:386 src/ev-matrix.c:388
msgid "yes"
msgstr ""

#: src/ev-matrix.c:386 src/ev-matrix.c:388
msgid "no"
msgstr ""

#: src/ev-matrix.c:388
msgid "Logging in"
msgstr ""

#: src/ev-matrix.c:420
#, c-format
msgid "Failed to load events: %s"
msgstr ""

#: src/ev-matrix.c:423
msgid "No events loaded from database"
msgstr ""

#: src/ev-matrix.c:427
msgid "Loaded events from database"
msgstr ""

#: src/ev-matrix.c:681
msgid "Print client information - no request is made to the server"
msgstr ""

#: src/ev-matrix.c:686
msgid "List currently known joined rooms - no request is made to the server"
msgstr ""

#: src/ev-matrix.c:691
msgid "Get details about a room - no request is made to the server"
msgstr ""

#: src/ev-matrix.c:697
msgid "List events in a room"
msgstr ""

#: src/ev-matrix.c:703
msgid "Fetch past room events from the database"
msgstr ""

#: src/ev-matrix.c:709
msgid "Get the given event from the server"
msgstr ""

#: src/ev-matrix.c:715
msgid "Get the currently configured push servers from the server"
msgstr ""

#: src/ev-matrix.c:720
msgid "Remove the pusher with the given id"
msgstr ""

#: src/ev-prompt.c:441
msgid "Show this help"
msgstr ""

#: src/ev-prompt.c:447
msgid "Print command history"
msgstr ""

#: src/ev-prompt.c:452
msgid "Quit the application"
msgstr ""

0 comments on commit 1470899

Please sign in to comment.