Assistance build mozc with gyp

This page summarizes the projects mentioned and recommended in the original post on /r/GUIX

InfluxDB - Power Real-Time Data Analytics at Scale
Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
www.influxdata.com
featured
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
  • mozc

    Mozc - a Japanese Input Method Editor designed for multi-platform (by fcitx)

  • (define-public fcitx5-mozc-ut ;; (let ((commit "d0d8a87c1ef19b7bd1d2c040e4ef38951b07fbd0"))) (package (name "fcitx5-mozc-ut") (version "2.26.4520.102") (source (origin (method git-fetch) (uri (git-reference (url "https://github.com/fcitx/mozc") (commit "59c4b009a1fd642f7b6070356b9ddc73c30fd99b"))) (sha256 (base32 "0xzjfrn0m8mc6k8vrggrf50x0ssbb9yq9c5qnval8gk8v78rpyl5")))) (build-system python-build-system) (arguments `(#:use-setuptools? #f #:tests? #f #:phases (modify-phases %standard-phases (add-after 'unpack 'symlink (lambda* (#:key inputs #:allow-other-keys) (let ((gyp (assoc-ref inputs "python-gyp"))) (rmdir "src/third_party/gyp/") (symlink gyp "src/third_party/gyp")))) (replace 'configure (lambda* (#:key inputs ouputs #:allow-other-keys) (let ((gyp (assoc-ref inputs "python-gyp"))) ;; (chdir "src") (add-installed-pythonpath inputs outputs) (setenv (string-append "GYP_DEFINES=" "\"" "document_dir=" (assoc-ref ouputs "outs") "/share/doc/mozc" "use_libzinnia=1" "use_libprotobuf=1" "use_libabseil=1" "\"") (invoke "python" "build_mozc.py" "gyp" (string-append "--gypdir=" gyp "/bin") (string-append "--server_dir=" (assoc-ref ouputs "outs") "/lib/mozc") "--target_platform=Linux"))))) (replace 'build (lambda* (#:key outputs #:allow-other-keys) (add-installed-pythonpath inputs outputs) (invoke "python" "build_mozc.py" "build" "-c" "Release" "server/server.gyp:mozc_server" "gui/gui.gyp:mozc_tool" "unix/fcitx5/fcitx5.gyp:fcitx5-mozc"))) (delete 'check) (replace 'install (lambda* (#:key outputs #:allow-other-keys) (add-installed-pythonpath inputs outputs) (setenv (string-append "PREFIX=" (assoc-ref outputs "out"))) (setenv "_bldtype=Release") (invoke "scripts/install_server") (invoke "install" "-d" (string-append (assoc-ref outputs "out") "/share/licenses/fcitx5-mozc")))) ))) (inputs `(("python-gyp" ,python-gyp) ("gtk2" ,gtk+-2) ("zinnia" ,zinnia))) (propagated-inputs `(("six" ,python-six))) (native-inputs `(("python" ,python) ("qtbase" ,qtbase-5) ("ninja" ,ninja) ("fcitx5" ,fcitx5) ("pkg-config" ,pkg-config))) (synopsis "A Japanese Input Method Editor designed for multi-platform") (description "Mozc is a Japanese Input Method Editor (IME) designed for multi-platform such as Android OS, Apple OS X, Chromium OS, GNU/Linux and Microsoft Windows. This OpenSource project originates from Google Japanese Input.") (home-page "https://github.com/google/mozc") (license bsd-3)))

  • mozc

    Mozc - a Japanese Input Method Editor designed for multi-platform

  • (define-public fcitx5-mozc-ut ;; (let ((commit "d0d8a87c1ef19b7bd1d2c040e4ef38951b07fbd0"))) (package (name "fcitx5-mozc-ut") (version "2.26.4520.102") (source (origin (method git-fetch) (uri (git-reference (url "https://github.com/fcitx/mozc") (commit "59c4b009a1fd642f7b6070356b9ddc73c30fd99b"))) (sha256 (base32 "0xzjfrn0m8mc6k8vrggrf50x0ssbb9yq9c5qnval8gk8v78rpyl5")))) (build-system python-build-system) (arguments `(#:use-setuptools? #f #:tests? #f #:phases (modify-phases %standard-phases (add-after 'unpack 'symlink (lambda* (#:key inputs #:allow-other-keys) (let ((gyp (assoc-ref inputs "python-gyp"))) (rmdir "src/third_party/gyp/") (symlink gyp "src/third_party/gyp")))) (replace 'configure (lambda* (#:key inputs ouputs #:allow-other-keys) (let ((gyp (assoc-ref inputs "python-gyp"))) ;; (chdir "src") (add-installed-pythonpath inputs outputs) (setenv (string-append "GYP_DEFINES=" "\"" "document_dir=" (assoc-ref ouputs "outs") "/share/doc/mozc" "use_libzinnia=1" "use_libprotobuf=1" "use_libabseil=1" "\"") (invoke "python" "build_mozc.py" "gyp" (string-append "--gypdir=" gyp "/bin") (string-append "--server_dir=" (assoc-ref ouputs "outs") "/lib/mozc") "--target_platform=Linux"))))) (replace 'build (lambda* (#:key outputs #:allow-other-keys) (add-installed-pythonpath inputs outputs) (invoke "python" "build_mozc.py" "build" "-c" "Release" "server/server.gyp:mozc_server" "gui/gui.gyp:mozc_tool" "unix/fcitx5/fcitx5.gyp:fcitx5-mozc"))) (delete 'check) (replace 'install (lambda* (#:key outputs #:allow-other-keys) (add-installed-pythonpath inputs outputs) (setenv (string-append "PREFIX=" (assoc-ref outputs "out"))) (setenv "_bldtype=Release") (invoke "scripts/install_server") (invoke "install" "-d" (string-append (assoc-ref outputs "out") "/share/licenses/fcitx5-mozc")))) ))) (inputs `(("python-gyp" ,python-gyp) ("gtk2" ,gtk+-2) ("zinnia" ,zinnia))) (propagated-inputs `(("six" ,python-six))) (native-inputs `(("python" ,python) ("qtbase" ,qtbase-5) ("ninja" ,ninja) ("fcitx5" ,fcitx5) ("pkg-config" ,pkg-config))) (synopsis "A Japanese Input Method Editor designed for multi-platform") (description "Mozc is a Japanese Input Method Editor (IME) designed for multi-platform such as Android OS, Apple OS X, Chromium OS, GNU/Linux and Microsoft Windows. This OpenSource project originates from Google Japanese Input.") (home-page "https://github.com/google/mozc") (license bsd-3)))

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

    InfluxDB logo
NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts