aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages/poedit.scm
blob: fd8ed06c8371b00d40eb36dc5b34e153e7e69fff (about) (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
;;; GNU Guix --- Functional package management for GNU
;;; Copyright © 2019 Julien Lepiller <julien@lepiller.eu>
;;; Copyright © 2019 Tobias Geerinckx-Rice <me@tobias.gr>
;;;
;;; This file is part of GNU Guix.
;;;
;;; GNU Guix is free software; you can redistribute it and/or modify it
;;; under the terms of the GNU General Public License as published by
;;; the Free Software Foundation; either version 3 of the License, or (at
;;; your option) any later version.
;;;
;;; GNU Guix is distributed in the hope that it will be useful, but
;;; WITHOUT ANY WARRANTY; without even the implied warranty of
;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
;;; GNU General Public License for more details.
;;;
;;; You should have received a copy of the GNU General Public License
;;; along with GNU Guix.  If not, see <http://www.gnu.org/licenses/>.

(define-module (gnu packages poedit)
  #:use-module ((guix licenses) #:prefix license:)
  #:use-module (gnu packages)
  #:use-module (guix packages)
  #:use-module (guix git-download)
  #:use-module (guix utils)
  #:use-module (guix build-system gnu)
  #:use-module (gnu packages autotools)
  #:use-module (gnu packages boost)
  #:use-module (gnu packages enchant)
  #:use-module (gnu packages gettext)
  #:use-module (gnu packages gtk)
  #:use-module (gnu packages icu4c)
  #:use-module (gnu packages pkg-config)
  #:use-module (gnu packages rdf)
  #:use-module (gnu packages wxwidgets)
  #:use-module (gnu packages xml))

(define-public poedit
  (package
    (name "poedit")
    (version "2.2.4")
    (source (origin
              (method git-fetch)
              (uri (git-reference
                     (url "https://github.com/vslavik/poedit")
                     (commit (string-append "v" version "-oss"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "147jiiab4n0nbhzp1vw1jn8ykhy7qh6zf02654ppi0imdfvfnjss"))
             (modules '((guix build utils)))
             (snippet
              '(begin
                 (delete-file-recursively "deps")
                 #t))))
    (build-system gnu-build-system)
    (arguments
     `(#:configure-flags
       (list (string-append "--with-boost-libdir="
                            (assoc-ref %build-inputs "boost")
                            "/lib"))))
    (native-inputs
     (list autoconf automake gettext-minimal pkg-config))
    (inputs
     (list boost
           enchant
           gtk+
           gtkspell3
           icu4c
           lucene++
           pugixml
           wxwidgets))
    (home-page "https://poedit.net/")
    (synopsis "Gettext catalog editing tool")
    (description "Poedit is a GUI frontend to the GNU gettext utilities and
a catalog editor/source code parser.  It helps with translating applications
into other languages.")
    (license license:expat)))
317ab4a90f66ac65055fa26dee58ed2367b8'>gnu: Construct Emacs packages from bottom up....This makes relationships within the Emacs variants slightly easier to reason about. In particular, it makes it so that inputs get added on top of the previous stack rather than removed (which brings the risk of not adjusting changes downwards). * gnu/packages/emacs.scm (emacs-minimal): Expand package definition. [inputs]: Reorder and add bash-minimal. (emacs-no-x): Inherit from emacs-minimal. (emacs): Inherit from emacs-no-x. (emacs-motif, emacs-no-x-toolkit): Inherit from emacs-no-x. Only inherit inputs from emacs. Liliana Marie Prikler 2023-06-09gnu: Make emacs-next-tree-sitter the new emacs....* gnu/packages/patches/emacs-source-date-epoch.patch: Delete file * gnu/local.mk (dist_patch_DATA): Remove it from here. * gnu/packages/emacs.scm (emacs): Update to 29.0.91. [source]<patches>: Remove “emacs-source-date-epoch.patch”. Add “emacs-pgtk-super-key-fix.patch”. [arguments]: Use “--with-native-compilation=aot” instead of #:make-flags. [inputs]: Add sqlite and tree-sitter. (emacs-next-pgtk): Rename to… (emacs-pgtk): … this. (emacs-next-pgtk-xwidgets): Rename to… (emacs-pgtk-xwidgets): … this. (emacs-minimal)[native-inputs]: Add texinfo. (emacs-xwidgets): Inherit build system, configure-flags and phases normally. (emacs-next, emacs-next-tree-sitter): Remove variables. Liliana Marie Prikler 2023-05-28gnu: emacs-next-tree-sitter: "Downgrade" to 29.0.91....* gnu/packages/emacs.scm (emacs-next-tree-sitter)[version, source]: Inherit fields from emacs-next. Liliana Marie Prikler 2023-05-28gnu: emacs-next: Update to 29.0.91....* gnu/packages/emacs.scm (emacs-next): Update to 29.0.91. Liliana Marie Prikler 2023-05-07gnu: Add emacs-next-pgtk-xwidgets....* gnu/packages/emacs.scm (emacs-next-pgtk-xwidgets): New variable. Signed-off-by: Liliana Marie Prikler <liliana.prikler@gmail.com> Antero Mejr 2023-04-30gnu: emacs: Use librsvg-for-system....* gnu/packages/emacs.scm (emacs)[inputs]: Replace librsvg input logic with librsvg-for-system. Efraim Flashner 2023-04-19gnu: emacs-next: Update to 29.0.90....* gnu/packages/emacs.scm (emacs-next): Update to 29.0.90. Liliana Marie Prikler 2023-03-20Merge remote-tracking branch 'origin/master' into core-updatesAndreas Enge 2023-03-17gnu: m17n-lib: Fix cross-compile....* gnu/packages/emacs.scm (m17n-lib) [source]: Add m17n-lib-1.8.0-use-pkg-config-for-freetype.patch. [native-inputs]: When cross-compile add pkg-config, libtool, gettext-minimal, autoconf, automake. [arguments]: When cross-compile, add phase to fix rpl_malloc undefined references. * gnu/packages/patches/m17n-lib-1.8.0-use-pkg-config-for-freetype.patch: New file. * gnu/local.mk (dist_patch_DATA): Register it. Signed-off-by: 宋文武 <iyzsong@member.fsf.org> Z572 2023-03-17gnu: m17n-db: Fix cross-compile....* gnu/packages/emacs.scm (m17n-db) [inputs]: Move gettext-minimal to ... [native-inputs]: ... here. Signed-off-by: 宋文武 <iyzsong@member.fsf.org> Z572 2023-03-12gnu: emacs-next-pgtk: Inherit from emacs-next-tree-sitter....Inherit pgtk emacs from tree-sitter to have both features available for wayland users. For more details: https://yhetil.org/guix-devel/87r0txr99u.fsf@inventati.org/T/#u * gnu/packages/emacs.scm (emacs-next-pgtk): Inherit from emacs-next-tree-sitter. Andrew Tropin 2023-03-12gnu: emacs-next-tree-sitter: Inherit from emacs-next....Make tree-sitter emacs available without pgtk. It's part of ongoing iheritance hierarchy update, tree-sitter have less implications than pgtk and thus it should be placed earlier in inheritance chain. For more details: https://yhetil.org/guix-devel/87r0txr99u.fsf@inventati.org/T/#u * gnu/packages/emacs.scm (emacs-next-tree-sitter): Inherit from emacs-next. Andrew Tropin 2023-03-09gnu: emacs-next-tree-sitter: Inherit from emacs-next-pgtk....Make emacs with tree-sitter work on wayland as well. * gnu/packages/emacs.scm (emacs-next-tree-sitter): Inherit from emacs-next-pgtk, remove uneeded native-inputs, add synopsis and description. [source]: Use inherited patches. Andrew Tropin 2023-03-09gnu: emacs-next-pgtk: Remove xwidgets support....xwidgets is beefy and buggy, but emacs-next-pgtk is important for wayland users, so it seems a good idea to remove xwidgets from emacs-next-pgtk. Also, we have a separate emacs-xwidgets package for those who wants to experiment. * gnu/packages/emacs.scm (emacs-next-pgtk)[propagated-inputs]: Remove gsettings-desktop-schemas glib-networking. [arguments]<#:configure-flags>: Remove --with-xwidgets. [inputs]: Remove webkitgtk-with-libsoup2. [home-page]: PGTK is merged to upstream emacs repository now, so inherit home-page from emacs-next. Andrew Tropin 2023-03-02Merge remote-tracking branch 'savannah/master' into core-updates...Conflicts: gnu/local.mk gnu/packages/autotools.scm gnu/packages/cmake.scm gnu/packages/gnuzilla.scm gnu/packages/haskell.scm gnu/packages/pdf.scm gnu/packages/python-xyz.scm gnu/packages/samba.scm gnu/packages/tex.scm gnu/packages/tls.scm gnu/packages/wxwidgets.scm Christopher Baines 2023-03-01gnu: Add emacs-motif....* gnu/packages/text-editors.scm (emacs-motif): New variable. Signed-off-by: Christopher Baines <mail@cbaines.net> Andy Tai 2023-02-26gnu: emacs-next: Update to 29.0.60-1.f1f571e....* gnu/packages/emacs.scm (emacs-next): Update to 29.0.60-1.f1f571e. Liliana Marie Prikler 2023-02-26gnu: Add emacs-next-tree-sitter....* gnu/packages/emacs.scm (emacs-next-tree-sitter): New variable. (emacs-next): Remove tree sitter support. Liliana Marie Prikler 2023-02-12gnu: Remove tree-sitter comment from emacs.scm imports....* gnu/packages/emacs.scm: Remove tree-sitter comment. Signed-off-by: Andrew Tropin <andrew@trop.in> Pierre Langlois 2023-02-11gnu: emacs: Add TREE_SITTER_GRAMMAR_PATH support....gnu/packages/emacs.scm (emacs)[native-search-paths]: Add a search-path for tree-sitter grammars. gnu/packages/aux-files/emacs/guix-emacs.el: Add directories from TREE_SITTER_GRAMMAR_PATH to treesit-extra-load-path. Andrew Tropin 2023-02-09gnu: tree-sitter: Move to its own module....* gnu/packages/text-editors.scm (tree-sitter): Move to ... * gnu/packages/tree-sitter.scm: ... here, a new module. * gnu/packages/vim.scm: Use (gnu packages tree-sitter). * gnu/packages/emacs.scm: Use (gnu packages tree-sitter). * gnu/local.mk (GNU_SYSTEM_MODULES): Register tree-sitter.scm new module. Signed-off-by: Andrew Tropin <andrew@trop.in> Pierre Langlois 2023-02-04gnu: emacs-next: Enable tree-sitter support....* gnu/packages/emacs.scm (emacs-next): Update to 29.0.60-0.ac7ec87. * gnu/packages/emacs.scm (emacs-next)[inputs]: Add tree-sitter. Signed-off-by: Andrew Tropin <andrew@trop.in> Declan Tsien