mirror of
https://github.com/termux-pacman/termux-packages.git
synced 2026-01-17 16:23:39 +00:00
fix(x11/fcitx5): 5.1.9, fix SHA256
This commit is contained in:
@@ -2,9 +2,9 @@ TERMUX_PKG_HOMEPAGE=https://fcitx-im.org/
|
||||
TERMUX_PKG_DESCRIPTION="A generic input method framework"
|
||||
TERMUX_PKG_LICENSE="LGPL-2.1"
|
||||
TERMUX_PKG_MAINTAINER="@termux"
|
||||
TERMUX_PKG_VERSION="5.1.8"
|
||||
TERMUX_PKG_VERSION="5.1.9"
|
||||
TERMUX_PKG_SRCURL=https://github.com/fcitx/fcitx5/archive/refs/tags/${TERMUX_PKG_VERSION}.tar.gz
|
||||
TERMUX_PKG_SHA256=309d9a15f4536aa705284a58c8f09e7f95602048aef970b5060dfb3d30a7b542
|
||||
TERMUX_PKG_SHA256=00c714d94018182f9501fb60cbabd05d47824713f0d85572b06f6e6a2283b6dc
|
||||
TERMUX_PKG_AUTO_UPDATE=true
|
||||
TERMUX_PKG_UPDATE_TAG_TYPE="newest-tag"
|
||||
TERMUX_PKG_AUTO_UPDATE=true
|
||||
|
||||
@@ -1,32 +1,32 @@
|
||||
--- a/src/lib/fcitx-utils/standardpath.cpp
|
||||
+++ b/src/lib/fcitx-utils/standardpath.cpp
|
||||
@@ -78,7 +78,7 @@
|
||||
configHome_ = defaultPath("XDG_CONFIG_HOME", ".config");
|
||||
pkgconfigHome_ = defaultPath(
|
||||
"FCITX_CONFIG_HOME", constructPath(configHome_, "fcitx5").c_str());
|
||||
- configDirs_ = defaultPaths("XDG_CONFIG_DIRS", "/etc/xdg", nullptr);
|
||||
+ configDirs_ = defaultPaths("XDG_CONFIG_DIRS", "@TERMUX_PREFIX@/etc/xdg", nullptr);
|
||||
@@ -87,7 +87,7 @@
|
||||
pkgconfigHome_ =
|
||||
defaultPath((isFcitx ? "FCITX_CONFIG_HOME" : nullptr),
|
||||
constructPath(configHome_, packageName).c_str());
|
||||
- configDirs_ = defaultPaths("XDG_CONFIG_DIRS", "/etc/xdg",
|
||||
+ configDirs_ = defaultPaths("XDG_CONFIG_DIRS", "@TERMUX_PREFIX@/etc/xdg",
|
||||
builtInPathMap, nullptr);
|
||||
auto pkgconfigDirFallback = configDirs_;
|
||||
for (auto &path : pkgconfigDirFallback) {
|
||||
path = constructPath(path, "fcitx5");
|
||||
@@ -90,7 +90,7 @@
|
||||
dataHome_ = defaultPath("XDG_DATA_HOME", ".local/share");
|
||||
pkgdataHome_ = defaultPath("FCITX_DATA_HOME",
|
||||
constructPath(dataHome_, "fcitx5").c_str());
|
||||
@@ -102,7 +102,7 @@
|
||||
pkgdataHome_ =
|
||||
defaultPath((isFcitx ? "FCITX_DATA_HOME" : nullptr),
|
||||
constructPath(dataHome_, packageName).c_str());
|
||||
- dataDirs_ = defaultPaths("XDG_DATA_DIRS", "/usr/local/share:/usr/share",
|
||||
+ dataDirs_ = defaultPaths("XDG_DATA_DIRS", "@TERMUX_PREFIX@/local/share:@TERMUX_PREFIX@/share",
|
||||
skipFcitxPath ? nullptr : "datadir");
|
||||
builtInPathMap,
|
||||
skipBuiltInPath_ ? nullptr : "datadir");
|
||||
auto pkgdataDirFallback = dataDirs_;
|
||||
for (auto &path : pkgdataDirFallback) {
|
||||
@@ -103,7 +103,7 @@
|
||||
@@ -116,7 +116,7 @@
|
||||
cacheHome_ = defaultPath("XDG_CACHE_HOME", ".cache");
|
||||
const char *tmpdir = getenv("TMPDIR");
|
||||
runtimeDir_ = defaultPath("XDG_RUNTIME_DIR",
|
||||
- !tmpdir || !tmpdir[0] ? "/tmp" : tmpdir);
|
||||
+ !tmpdir || !tmpdir[0] ? "@TERMUX_PREFIX@/tmp" : tmpdir);
|
||||
addonDirs_ =
|
||||
defaultPaths("FCITX_ADDON_DIRS", FCITX_INSTALL_ADDONDIR, nullptr);
|
||||
}
|
||||
// Though theoratically, this is also fcitxPath, we just simply don't
|
||||
// use it here.
|
||||
addonDirs_ = defaultPaths("FCITX_ADDON_DIRS", FCITX_INSTALL_ADDONDIR,
|
||||
--- a/src/lib/fcitx/icontheme.cpp
|
||||
+++ b/src/lib/fcitx/icontheme.cpp
|
||||
@@ -751,7 +751,7 @@
|
||||
|
||||
Reference in New Issue
Block a user