Philipp Hörist pushed to branch master at gajim / gajim


Commits:
57be839e by Philipp Hörist at 2026-04-27T18:08:20+02:00
fix: MacOS: Add translation files during build

- - - - -


2 changed files:

- mac/gajim-macos-helper.sh
- make.py


Changes:

=====================================
mac/gajim-macos-helper.sh
=====================================
@@ -135,6 +135,7 @@ function install_nbxmpp() {
 function install_gajim() {
        source ./gajim-venv/bin/activate
        cd ./gajim-source/
+       python ./make.py build --dist macos
        pip3 install .
        cd ../
        deactivate


=====================================
make.py
=====================================
@@ -171,7 +171,7 @@ def rename(*, prefix: Path, files: dict[str, str], 
new_app_id: str) -> None:
 
 
 def cmd_build(args: argparse.Namespace) -> None:
-    if args.dist == "win":
+    if args.dist in ["win", "macos"]:
         build_translations()
         return
 
@@ -219,7 +219,7 @@ def cmd_install(args: argparse.Namespace) -> None:
     build_parser = subparsers.add_parser("build", help="Build Gajim")
     build_parser.add_argument(
         "--dist",
-        choices=["unix", "flatpak", "flatpak-nightly", "win"],
+        choices=["unix", "flatpak", "flatpak-nightly", "win", "macos"],
         default="unix",
         help="Distribution",
     )



View it on GitLab: 
https://dev.gajim.org/gajim/gajim/-/commit/57be839eec72698c78eb467f9ea25480e23c32ec

-- 
View it on GitLab: 
https://dev.gajim.org/gajim/gajim/-/commit/57be839eec72698c78eb467f9ea25480e23c32ec
You're receiving this email because of your account on dev.gajim.org.


_______________________________________________
Commits mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to