gnome-terminal disable language check
This commit is contained in:
1 parent
9b7c589265
commit
f7a42d34ea
2 files changed
+34
-1
No files matched your search
@@ -0,0 +1,25 @@
|
||||
diff --git a/src/server.cc b/src/server.cc
|
||||
index 2493f969..c503671c 100644
|
||||
--- a/src/server.cc
|
||||
+++ b/src/server.cc
|
||||
@@ -145,20 +145,11 @@ init_server (int argc,
|
||||
return _EXIT_FAILURE_WRONG_ID;
|
||||
}
|
||||
|
||||
- if (setlocale (LC_ALL, "") == nullptr) {
|
||||
- g_printerr ("Locale not supported.\n");
|
||||
- return _EXIT_FAILURE_UNSUPPORTED_LOCALE;
|
||||
- }
|
||||
-
|
||||
terminal_i18n_init (TRUE);
|
||||
|
||||
g_unsetenv ("CHARSET");
|
||||
g_unsetenv ("OUTPUT_CHARSET");
|
||||
const char *charset;
|
||||
- if (!g_get_charset (&charset)) {
|
||||
- g_printerr ("Non UTF-8 locale (%s) is not supported!\n", charset);
|
||||
- return _EXIT_FAILURE_NO_UTF8;
|
||||
- }
|
||||
|
||||
/* Sanitise environment */
|
||||
g_unsetenv ("DBUS_STARTER_BUS_TYPE");
|
||||
@@ -8,17 +8,25 @@ email='akarsu@protonmail.com'
|
||||
maintainer='akarsu'
|
||||
license=('GPLv3')
|
||||
source=("https://gitlab.gnome.org/GNOME/gnome-terminal/-/archive/${version}/gnome-terminal-${version}.tar.gz"
|
||||
"00-ignore-language-check.patch"
|
||||
"gnome-terminal-daemon"
|
||||
"gnome-terminal-daemon.desktop")
|
||||
depends=( dconf gsettings-desktop-schemas itstool libpcre2 vte3)
|
||||
makedepends=()
|
||||
md5sums=('1ad71a29e933ed3cc0e0c06e270d4542' 'SKIP' 'SKIP')
|
||||
md5sums=('1ad71a29e933ed3cc0e0c06e270d4542'
|
||||
'SKIP'
|
||||
'SKIP'
|
||||
'SKIP')
|
||||
group=(x11.terms)
|
||||
uses=()
|
||||
arch=('x86_64')
|
||||
|
||||
cd $name-$version
|
||||
|
||||
prepare (){
|
||||
patch -Np1 -i ../00-ignore-language-check.patch
|
||||
}
|
||||
|
||||
setup () {
|
||||
meson setup build --prefix=/usr \
|
||||
--libdir=/usr/lib64/ \
|
||||
|
||||
Reference in new issue
Block a user