packet: 0.5.1 → 0.5.3
Diff: https://github.com/nozwock/packet/compare/0.5.1...0.5.3
This commit is contained in:
@@ -1,26 +0,0 @@
|
||||
diff --git a/data/resources/plugins/meson.build b/data/resources/plugins/meson.build
|
||||
index ac60edd..9e055b8 100644
|
||||
--- a/data/resources/plugins/meson.build
|
||||
+++ b/data/resources/plugins/meson.build
|
||||
@@ -1,6 +1,7 @@
|
||||
plugins_conf = configuration_data()
|
||||
plugins_conf.set('APP_ID', application_id)
|
||||
plugins_conf.set('LOCALE_DOMAIN', gettext_package)
|
||||
+plugins_conf.set('LOCALE_DIR', localedir)
|
||||
|
||||
configure_file(
|
||||
input: 'packet_nautilus.py.in',
|
||||
diff --git a/data/resources/plugins/packet_nautilus.py.in b/data/resources/plugins/packet_nautilus.py.in
|
||||
index 9c5e71e..7288ee9 100755
|
||||
--- a/data/resources/plugins/packet_nautilus.py.in
|
||||
+++ b/data/resources/plugins/packet_nautilus.py.in
|
||||
@@ -23,7 +23,8 @@ def log(*vals: Any):
|
||||
# TODO: Maybe have a separate gettext package for plugin scripts that gets
|
||||
# copied over alongside the script. Seems more robust?
|
||||
def init_i18n() -> gettext.NullTranslations | gettext.GNUTranslations:
|
||||
- locale_dirs: List[Path | None] = [None] # None for system default locale dir
|
||||
+ # `None` is for system default locale dir
|
||||
+ locale_dirs: List[Path | None] = [None, Path("@LOCALE_DIR@")]
|
||||
(lang, enc) = locale.getlocale()
|
||||
|
||||
flatpak_info = None
|
||||
@@ -24,20 +24,15 @@
|
||||
}:
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "packet";
|
||||
version = "0.5.1";
|
||||
version = "0.5.3";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "nozwock";
|
||||
repo = "packet";
|
||||
tag = finalAttrs.version;
|
||||
hash = "sha256-MZdZf4fLtUd30LncPLVkcNdjuzw+Wi33A1MJqQbEurk=";
|
||||
hash = "sha256-zR2WZER49xsxaiZbFGFOukHE3w0odxVi9WJTI4FSWJ0=";
|
||||
};
|
||||
|
||||
patches = [
|
||||
# let nautilus find the locale directory
|
||||
./nautilus-extension-locale.patch
|
||||
];
|
||||
|
||||
cargoDeps = rustPlatform.fetchCargoVendor {
|
||||
inherit (finalAttrs) pname version src;
|
||||
hash = "sha256-ODrM8oGQpi+DpG4YQYibtVHbicuHOjZAlZ1wW2Gulec=";
|
||||
|
||||
Reference in New Issue
Block a user