Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
pwmt
girara
Commits
5c3c13cf
Commit
5c3c13cf
authored
Feb 13, 2022
by
Sebastian Ramacher
Browse files
Merge branch 'release/0.3.7'
parents
c24136f4
0783cdf4
Pipeline
#428
passed with stages
in 2 minutes and 20 seconds
Changes
28
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
README
→
README
.md
View file @
5c3c13cf
...
...
@@ -13,26 +13,26 @@ Requirements
The following dependencies are required:
* gtk3 (>= 3.20)
* glib (>= 2.50)
*
`
gtk3
`
(>= 3.20)
*
`
glib
`
(>= 2.50)
The following dependencies are optional:
* libnotify: notification support
* json-c: configuration dumping support
*
`
libnotify
`
: notification support
*
`
json-c
`
: configuration dumping support
For building girara, the following dependencies are also required:
* meson (>= 0.
48
)
* gettext
*
`
meson
`
(>= 0.
56
)
*
`
gettext
`
The following dependencies are optional build-time only dependencies:
* check: for tests
* doxygen: HTML documentation
*
`
check
`
(>= 0.11)
: for tests
*
`
doxygen
`
: HTML documentation
To disable the optional support for libnotify and json-c, configure the build
system with -Dnotify=disabled or -Djson=disabled.
To disable the optional support for
`
libnotify
`
and
`
json-c
`
, configure the build
system with
`
-Dnotify=disabled
`
or
`
-Djson=disabled
`
.
Installation
------------
...
...
@@ -40,10 +40,10 @@ Installation
Run the following command to build and install girara to your system using
meson's ninja backend:
meson build
cd build
ninja
ninja install
meson build
cd build
ninja
ninja install
Note that the default backend for meson might vary based on the platform. Please
refer to the meson documentation for platform specific dependencies.
...
...
doc/meson.build
View file @
5c3c13cf
doxygen = find_program('doxygen', required: get_option('docs'))
if doxygen.found()
conf_data = configuration_data()
conf_data.set('DOXYGEN_INPUT', meson.source_root())
conf_data.set('DOXYGEN_INPUT', meson.
project_
source_root())
conf_data.set('DOXYGEN_OUTPUT', meson.current_build_dir())
doxyfile = configure_file(
...
...
girara/config.c
View file @
5c3c13cf
...
...
@@ -290,18 +290,28 @@ config_parse(girara_session_t* session, const char* path)
gchar
**
argv
=
NULL
;
gint
argc
=
0
;
GError
*
error
=
NULL
;
/* parse current line */
if
(
g_shell_parse_argv
(
line
,
&
argc
,
&
argv
,
NULL
)
!=
FALSE
)
{
if
(
g_shell_parse_argv
(
line
,
&
argc
,
&
argv
,
&
error
)
!=
FALSE
)
{
for
(
int
i
=
1
;
i
<
argc
;
i
++
)
{
char
*
argument
=
g_strdup
(
argv
[
i
]);
girara_list_append
(
argument_list
,
argument
);
}
}
else
{
girara_list_free
(
argument_list
);
fclose
(
file
);
g_free
(
line
);
return
false
;
if
(
error
->
code
!=
G_SHELL_ERROR_EMPTY_STRING
)
{
girara_error
(
"Could not parse line %d in '%s': %s"
,
line_number
,
path
,
error
->
message
);
g_error_free
(
error
);
fclose
(
file
);
g_free
(
line
);
return
false
;
}
else
{
g_error_free
(
error
);
g_free
(
line
);
continue
;
}
}
/* include gets a special treatment */
...
...
girara/utils.c
View file @
5c3c13cf
...
...
@@ -389,7 +389,7 @@ girara_safe_realloc(void** ptr, size_t size)
}
*
ptr
=
tmp
;
return
*
ptr
;
return
tmp
;
error_free:
...
...
girara/utils.h
View file @
5c3c13cf
...
...
@@ -124,7 +124,7 @@ void girara_clean_line(char* line) GIRARA_VISIBLE;
* @param size Number of bytes
* @return Pointer to the allocated memory block or NULL
*/
void
*
girara_safe_realloc
(
void
**
ptr
,
size_t
size
)
GIRARA_ALLOC_SIZE
(
2
)
GIRARA_VISIBLE
;
void
*
girara_safe_realloc
(
void
**
ptr
,
size_t
size
)
GIRARA_ALLOC_SIZE
(
2
)
GIRARA_VISIBLE
GIRARA_DEPRECATED_
;
/**
* Escape \\, \\t, ", ' and spaces in strings.
...
...
meson.build
View file @
5c3c13cf
project('girara', 'c',
version: '0.3.
6
',
meson_version: '>=0.
48
',
version: '0.3.
7
',
meson_version: '>=0.
56
',
default_options: ['c_std=c11', 'warning_level=3'],
)
...
...
po/ar.po
View file @
5c3c13cf
...
...
@@ -6,8 +6,8 @@ msgid ""
msgstr ""
"Project-Id-Version: girara\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 202
1
-0
7-13 09:01
+0
2
00\n"
"PO-Revision-Date: 20
19-06-01 09:25
+0000\n"
"POT-Creation-Date: 202
2
-0
1-06 14:42
+0
1
00\n"
"PO-Revision-Date: 20
21-07-14 15:12
+0000\n"
"Last-Translator: Sebastian Ramacher <sebastian+dev@ramacher.at>\n"
"Language-Team: Arabic (http://www.transifex.com/pwmt/girara/language/ar/)\n"
"Language: ar\n"
...
...
po/de.po
View file @
5c3c13cf
...
...
@@ -11,8 +11,8 @@ msgid ""
msgstr ""
"Project-Id-Version: girara\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 202
1
-0
7-13 09:01
+0
2
00\n"
"PO-Revision-Date: 20
19-06-01 09:25
+0000\n"
"POT-Creation-Date: 202
2
-0
1-06 14:42
+0
1
00\n"
"PO-Revision-Date: 20
21-07-14 15:12
+0000\n"
"Last-Translator: Sebastian Ramacher <sebastian+dev@ramacher.at>\n"
"Language-Team: German (http://www.transifex.com/pwmt/girara/language/de/)\n"
"Language: de\n"
...
...
po/el.po
View file @
5c3c13cf
...
...
@@ -8,8 +8,8 @@ msgid ""
msgstr ""
"Project-Id-Version: girara\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 202
1
-0
7-13 09:01
+0
2
00\n"
"PO-Revision-Date: 20
19-06-01 09:25
+0000\n"
"POT-Creation-Date: 202
2
-0
1-06 14:42
+0
1
00\n"
"PO-Revision-Date: 20
21-07-14 15:12
+0000\n"
"Last-Translator: Sebastian Ramacher <sebastian+dev@ramacher.at>\n"
"Language-Team: Greek (http://www.transifex.com/pwmt/girara/language/el/)\n"
"Language: el\n"
...
...
po/es.po
View file @
5c3c13cf
...
...
@@ -8,8 +8,8 @@ msgid ""
msgstr ""
"Project-Id-Version: girara\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 202
1
-0
7-13 09:01
+0
2
00\n"
"PO-Revision-Date: 20
19-06-01 09:25
+0000\n"
"POT-Creation-Date: 202
2
-0
1-06 14:42
+0
1
00\n"
"PO-Revision-Date: 20
21-07-14 15:12
+0000\n"
"Last-Translator: Sebastian Ramacher <sebastian+dev@ramacher.at>\n"
"Language-Team: Spanish (http://www.transifex.com/pwmt/girara/language/es/)\n"
"Language: es\n"
...
...
po/fa_IR.po
View file @
5c3c13cf
...
...
@@ -7,8 +7,8 @@ msgid ""
msgstr ""
"Project-Id-Version: girara\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 202
1
-0
7-13 09:01
+0
2
00\n"
"PO-Revision-Date: 202
0
-0
3
-1
2 21
:1
9
+0000\n"
"POT-Creation-Date: 202
2
-0
1-06 14:42
+0
1
00\n"
"PO-Revision-Date: 202
1
-0
7
-1
4 15
:1
2
+0000\n"
"Last-Translator: Goudarz Jafari <goudarz.jafari@gmail.com>\n"
"Language-Team: Persian (Iran) (http://www.transifex.com/pwmt/girara/language/"
"fa_IR/)\n"
...
...
po/fr.po
View file @
5c3c13cf
...
...
@@ -9,8 +9,8 @@ msgid ""
msgstr ""
"Project-Id-Version: girara\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 202
1
-0
7-13 09:01
+0
2
00\n"
"PO-Revision-Date: 20
19-06-01 09:25
+0000\n"
"POT-Creation-Date: 202
2
-0
1-06 14:42
+0
1
00\n"
"PO-Revision-Date: 20
21-07-14 15:12
+0000\n"
"Last-Translator: Sebastian Ramacher <sebastian+dev@ramacher.at>\n"
"Language-Team: French (http://www.transifex.com/pwmt/girara/language/fr/)\n"
"Language: fr\n"
...
...
po/he.po
View file @
5c3c13cf
...
...
@@ -7,8 +7,8 @@ msgid ""
msgstr ""
"Project-Id-Version: girara\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 202
1
-0
7-13 09:01
+0
2
00\n"
"PO-Revision-Date: 20
19-06-01 09:25
+0000\n"
"POT-Creation-Date: 202
2
-0
1-06 14:42
+0
1
00\n"
"PO-Revision-Date: 20
21-07-14 15:12
+0000\n"
"Last-Translator: Sebastian Ramacher <sebastian+dev@ramacher.at>\n"
"Language-Team: Hebrew (http://www.transifex.com/pwmt/girara/language/he/)\n"
"Language: he\n"
...
...
po/it.po
View file @
5c3c13cf
...
...
@@ -7,8 +7,8 @@ msgid ""
msgstr ""
"Project-Id-Version: girara\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 202
1
-0
7-13 09:01
+0
2
00\n"
"PO-Revision-Date: 20
19-06-01 09:25
+0000\n"
"POT-Creation-Date: 202
2
-0
1-06 14:42
+0
1
00\n"
"PO-Revision-Date: 20
21-07-14 15:12
+0000\n"
"Last-Translator: Sebastian Ramacher <sebastian+dev@ramacher.at>\n"
"Language-Team: Italian (http://www.transifex.com/pwmt/girara/language/it/)\n"
"Language: it\n"
...
...
po/nl.po
View file @
5c3c13cf
...
...
@@ -2,14 +2,15 @@
# SPDX-License-Identifier: Zlib
#
# Translators:
# Heimen Stoffels <vistausss@fastmail.com>, 2021
# Heimen Stoffels <vistausss@outlook.com>, 2018
msgid ""
msgstr ""
"Project-Id-Version: girara\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 202
1
-0
7-13 09:01
+0
2
00\n"
"PO-Revision-Date: 20
19-06-01 09:25
+0000\n"
"Last-Translator:
Sebastian Ramacher <sebastian+dev@ramacher.at
>\n"
"POT-Creation-Date: 202
2
-0
1-06 14:42
+0
1
00\n"
"PO-Revision-Date: 20
21-07-14 17:37
+0000\n"
"Last-Translator:
Heimen Stoffels <vistausss@fastmail.com
>\n"
"Language-Team: Dutch (http://www.transifex.com/pwmt/girara/language/nl/)\n"
"Language: nl\n"
"MIME-Version: 1.0\n"
...
...
@@ -20,7 +21,7 @@ msgstr ""
#: girara/commands.c:111 girara/commands.c:311
#, c-format
msgid "Invalid number of arguments passed: %zu instead of at least %u"
msgstr "Ongeldig aantal a
rgumenten
: %zu i.p.v. minimaal %u"
msgstr "Ongeldig aantal a
anvullende opties
: %zu i.p.v. minimaal %u"
#: girara/commands.c:145
#, c-format
...
...
@@ -49,11 +50,11 @@ msgstr "Ongeldige sneltoetsfunctie: %s"
#: girara/commands.c:423
msgid "Not enough arguments."
msgstr "Onvoldoende a
rgumenten
."
msgstr "Onvoldoende a
anvullende opties
."
#: girara/commands.c:428
msgid "Too many arguments."
msgstr "Teveel a
rgumenten
."
msgstr "Teveel a
anvullende opties
."
#: girara/commands.c:441
#, c-format
...
...
@@ -199,7 +200,7 @@ msgstr "Uit te voeren opdracht in :exec"
#: girara/config.c:162
msgid "Show or hide certain GUI elements"
msgstr "Bepaalde
app-
elementen
weergev
en of verbergen"
msgstr "Bepaalde
toepassings
elementen
ton
en of verbergen"
#. commands
#: girara/config.c:198
...
...
@@ -212,7 +213,7 @@ msgstr "Toetsaanslag toekennen"
#: girara/config.c:200
msgid "Quit the program"
msgstr "
Applicatie
afsluiten"
msgstr "
Toepassing
afsluiten"
#: girara/config.c:201
msgid "Set an option"
...
...
@@ -220,7 +221,7 @@ msgstr "Optie instellen"
#: girara/config.c:202
msgid "Unmap a key sequence"
msgstr "Toetsaanslag
verwijder
en"
msgstr "Toetsaanslag
wiss
en"
#: girara/config.c:204
msgid "Dump settings to a file"
...
...
po/pl.po
View file @
5c3c13cf
...
...
@@ -8,8 +8,8 @@ msgid ""
msgstr ""
"Project-Id-Version: girara\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 202
1
-0
7-13 09:01
+0
2
00\n"
"PO-Revision-Date: 20
19-06-01 09:25
+0000\n"
"POT-Creation-Date: 202
2
-0
1-06 14:42
+0
1
00\n"
"PO-Revision-Date: 20
21-07-14 15:12
+0000\n"
"Last-Translator: Sebastian Ramacher <sebastian+dev@ramacher.at>\n"
"Language-Team: Polish (http://www.transifex.com/pwmt/girara/language/pl/)\n"
"Language: pl\n"
...
...
po/pt_BR.po
View file @
5c3c13cf
...
...
@@ -9,8 +9,8 @@ msgid ""
msgstr ""
"Project-Id-Version: girara\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 202
1
-0
7-13 09:01
+0
2
00\n"
"PO-Revision-Date: 20
19-06-01 09:25
+0000\n"
"POT-Creation-Date: 202
2
-0
1-06 14:42
+0
1
00\n"
"PO-Revision-Date: 20
21-07-14 15:12
+0000\n"
"Last-Translator: Sebastian Ramacher <sebastian+dev@ramacher.at>\n"
"Language-Team: Portuguese (Brazil) (http://www.transifex.com/pwmt/girara/"
"language/pt_BR/)\n"
...
...
po/ru.po
View file @
5c3c13cf
...
...
@@ -8,8 +8,8 @@ msgid ""
msgstr ""
"Project-Id-Version: girara\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 202
1
-0
7-13 09:01
+0
2
00\n"
"PO-Revision-Date: 202
0
-0
4-28 19:51
+0000\n"
"POT-Creation-Date: 202
2
-0
1-06 14:42
+0
1
00\n"
"PO-Revision-Date: 202
1
-0
7-14 15:12
+0000\n"
"Last-Translator: crt0r citrus\n"
"Language-Team: Russian (http://www.transifex.com/pwmt/girara/language/ru/)\n"
"Language: ru\n"
...
...
po/sv.po
View file @
5c3c13cf
...
...
@@ -6,8 +6,8 @@ msgid ""
msgstr ""
"Project-Id-Version: girara\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 202
1
-0
7-13 09:01
+0
2
00\n"
"PO-Revision-Date: 20
19-06-01 09:25
+0000\n"
"POT-Creation-Date: 202
2
-0
1-06 14:42
+0
1
00\n"
"PO-Revision-Date: 20
21-07-14 15:12
+0000\n"
"Last-Translator: Sebastian Ramacher <sebastian+dev@ramacher.at>\n"
"Language-Team: Swedish (http://www.transifex.com/pwmt/girara/language/sv/)\n"
"Language: sv\n"
...
...
po/tr.po
View file @
5c3c13cf
...
...
@@ -11,8 +11,8 @@ msgid ""
msgstr ""
"Project-Id-Version: girara\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 202
1
-0
7-13 09:01
+0
2
00\n"
"PO-Revision-Date: 20
19-06-01 09:25
+0000\n"
"POT-Creation-Date: 202
2
-0
1-06 14:42
+0
1
00\n"
"PO-Revision-Date: 20
21-07-14 15:12
+0000\n"
"Last-Translator: Sebastian Ramacher <sebastian+dev@ramacher.at>\n"
"Language-Team: Turkish (http://www.transifex.com/pwmt/girara/language/tr/)\n"
"Language: tr\n"
...
...
Prev
1
2
Next
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment