Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
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
17 changes: 17 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@

# EditorConfig <https://EditorConfig.org>
root = true

# elementary defaults
[*]
charset = utf-8
end_of_line = lf
indent_size = tab
indent_style = space
insert_final_newline = true
max_line_length = 80
tab_width = 4

# Markup files
[{*.html,*.xml,*.xml.in,*.yml}]
tab_width = 2
25 changes: 16 additions & 9 deletions data/meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -11,17 +11,24 @@ foreach i : icon_sizes
)
endforeach

install_data(
'com.github.naaando.rush.gschema.xml',
install_dir: join_paths(get_option('datadir'), 'glib-2.0', 'schemas')
i18n.merge_file(
input: meson.project_name() + '.desktop.in',
output: meson.project_name() + '.desktop',
po_dir: join_paths(meson.source_root(), 'po', 'extra'),
type: 'desktop',
install: true,
install_dir: join_paths(get_option('datadir'), 'applications')
)

install_data (
meson.project_name () + '.desktop',
install_dir: join_paths (get_option ('datadir'), 'applications')
i18n.merge_file(
input: meson.project_name() + '.appdata.xml.in',
output: meson.project_name() + '.appdata.xml',
po_dir: join_paths(meson.source_root(), 'po', 'extra'),
install: true,
install_dir: join_paths(get_option('datadir'), 'metainfo')
)

install_data (
meson.project_name () + '.appdata.xml',
install_dir: join_paths (get_option ('datadir'), 'metainfo')
install_data(
meson.project_name () + '.gschema.xml',
install_dir: join_paths(get_option('datadir'), 'glib-2.0', 'schemas')
)
11 changes: 8 additions & 3 deletions meson.build
Original file line number Diff line number Diff line change
@@ -1,13 +1,18 @@
project ('com.github.naaando.rush', 'vala', 'c')

add_global_arguments ('-DGETTEXT_PACKAGE="rush"', language:'c')
add_project_arguments(
'-DGETTEXT_PACKAGE="@0@"'.format(meson.project_name()),
language: 'c'
)

subdir ('libpomodoro')

gnome = import ('gnome')
i18n = import('i18n')

asresources = gnome.compile_resources(
'as-resources', 'data/com.github.naaando.rush.gresource.xml',
'as-resources',
'data/' + meson.project_name() + '.gresource.xml',
source_dir: 'data',
c_name: 'as'
)
Expand Down Expand Up @@ -42,7 +47,7 @@ executable(
install: true
)

subdir ('data')
subdir('data')
subdir('po')

# Compile gsettings schemas and rebuild desktop icons cache
Expand Down
199 changes: 1 addition & 198 deletions po/LINGUAS
Original file line number Diff line number Diff line change
@@ -1,198 +1 @@
# please keep this list sorted alphabetically
#
aa
ab
ae
af
ak
am
an
ar
as
ast
av
ay
az
ba
be
bg
bh
bi
bm
bn
bo
br
bs
ca
ce
ch
ckb
co
cr
cs
cu
cv
cy
da
de
dv
dz
ee
el
en_AU
en_CA
en_GB
eo
es
et
eu
fa
ff
fi
fj
fo
fr_CA
fr
fy
ga
gd
gl
gn
gu
gv
ha
he
hi
ho
hr
ht
hu
hy
hz
ia
id
ie
ig
ii
ik
io
is
it
iu
ja
jv
ka
kg
ki
kj
kk
kl
km
kn
ko
kr
ks
ku
kv
kw
ky
la
lb
lg
li
ln
lo
lt
lu
lv
mg
mh
mi
mk
ml
mn
mo
mr
ms
mt
my
na
nb
nd
ne
ng
nl
nn
no
nr
nv
ny
oc
oj
om
or
os
pa
pi
pl
ps
pt_BR
pt
qu
rm
rn
ro
rue
ru
rw
sa
sc
sd
se
sg
si
sk
sl
sma
sm
sn
so
sq
sr
ss
st
su
sv
sw
ta
te
tg
th
ti
tk
tl
tn
to
tr
ts
tt
tw
ty
ug
uk
ur
uz
ve
vi
vo
wa
wo
xh
yi
yo
za
zh_CN
zh_HK
zh
zh_TW
zu
fr
3 changes: 0 additions & 3 deletions po/POTFILES
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
data/com.github.naaando.rush.desktop
data/com.github.naaando.rush.appdata.xml

libpomodoro/src/Interfaces/Sequencer.vala
libpomodoro/src/Interfaces/Timer.vala
libpomodoro/src/DefaultSequencer.vala
Expand Down
Loading