Add poedit
more/packages/gettext.scm unknown status 1
1 | + | ;;; GNU Guix --- Functional package management for GNU | |
2 | + | ;;; Copyright ?? 2017 Julien Lepiller <julien@lepiller.eu> | |
3 | + | ;;; | |
4 | + | ;;; This file is part of GNU Guix. | |
5 | + | ;;; | |
6 | + | ;;; GNU Guix is free software; you can redistribute it and/or modify it | |
7 | + | ;;; under the terms of the GNU General Public License as published by | |
8 | + | ;;; the Free Software Foundation; either version 3 of the License, or (at | |
9 | + | ;;; your option) any later version. | |
10 | + | ;;; | |
11 | + | ;;; GNU Guix is distributed in the hope that it will be useful, but | |
12 | + | ;;; WITHOUT ANY WARRANTY; without even the implied warranty of | |
13 | + | ;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
14 | + | ;;; GNU General Public License for more details. | |
15 | + | ;;; | |
16 | + | ;;; You should have received a copy of the GNU General Public License | |
17 | + | ;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>. | |
18 | + | ||
19 | + | (define-module (more packages gettext) | |
20 | + | #:use-module ((guix licenses) #:prefix license:) | |
21 | + | #:use-module (gnu packages) | |
22 | + | #:use-module (guix packages) | |
23 | + | #:use-module (guix download) | |
24 | + | #:use-module (guix git-download) | |
25 | + | #:use-module (guix utils) | |
26 | + | #:use-module (guix build-system gnu) | |
27 | + | #:use-module (more packages rdf) | |
28 | + | #:use-module (gnu packages boost) | |
29 | + | #:use-module (gnu packages enchant) | |
30 | + | #:use-module (gnu packages gtk) | |
31 | + | #:use-module (gnu packages icu4c) | |
32 | + | #:use-module (gnu packages pkg-config) | |
33 | + | #:use-module (gnu packages wxwidgets)) | |
34 | + | ||
35 | + | (define-public poedit | |
36 | + | (package | |
37 | + | (name "poedit") | |
38 | + | (version "2.0.6") | |
39 | + | (source (origin | |
40 | + | (method url-fetch) | |
41 | + | (uri (string-append "https://github.com/vslavik/poedit/releases/" | |
42 | + | "download/v" version "-oss/poedit-" version | |
43 | + | ".tar.gz")) | |
44 | + | (sha256 | |
45 | + | (base32 | |
46 | + | "1g5ii5wnffjh1xc24c93875r1qqzd024bqizmq400i35dppgxsd9")))) | |
47 | + | (build-system gnu-build-system) | |
48 | + | (arguments | |
49 | + | `(#:configure-flags | |
50 | + | (list (string-append "--with-boost-libdir=" (assoc-ref %build-inputs "boost") "/lib")))) | |
51 | + | (native-inputs | |
52 | + | `(("pkg-config" ,pkg-config))) | |
53 | + | (inputs | |
54 | + | `(("boost" ,boost) | |
55 | + | ("enchant" ,enchant) | |
56 | + | ("gtk+" ,gtk+) | |
57 | + | ("gtkspell3" ,gtkspell3) | |
58 | + | ("icu4c" ,icu4c) | |
59 | + | ("lucene++" ,lucene++) | |
60 | + | ("wxwidgets" ,wxwidgets))) | |
61 | + | (home-page "https://poedit.net/") | |
62 | + | (synopsis "Gettext catalog editing tool") | |
63 | + | (description | |
64 | + | "Poedit is a GUI frontend to the GNU gettext utilities and a catalog | |
65 | + | editor/source code parser. It helps with translating applications into | |
66 | + | other languages.") | |
67 | + | (license license:expat))) |
more/packages/rdf.scm unknown status 1
1 | + | ;;; GNU Guix --- Functional package management for GNU | |
2 | + | ;;; Copyright ?? 2017 Julien Lepiller <julien@lepiller.eu> | |
3 | + | ;;; | |
4 | + | ;;; This file is part of GNU Guix. | |
5 | + | ;;; | |
6 | + | ;;; GNU Guix is free software; you can redistribute it and/or modify it | |
7 | + | ;;; under the terms of the GNU General Public License as published by | |
8 | + | ;;; the Free Software Foundation; either version 3 of the License, or (at | |
9 | + | ;;; your option) any later version. | |
10 | + | ;;; | |
11 | + | ;;; GNU Guix is distributed in the hope that it will be useful, but | |
12 | + | ;;; WITHOUT ANY WARRANTY; without even the implied warranty of | |
13 | + | ;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
14 | + | ;;; GNU General Public License for more details. | |
15 | + | ;;; | |
16 | + | ;;; You should have received a copy of the GNU General Public License | |
17 | + | ;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>. | |
18 | + | ||
19 | + | (define-module (more packages rdf) | |
20 | + | #:use-module ((guix licenses) #:prefix license:) | |
21 | + | #:use-module (gnu packages) | |
22 | + | #:use-module (guix packages) | |
23 | + | #:use-module (guix download) | |
24 | + | #:use-module (guix git-download) | |
25 | + | #:use-module (guix utils) | |
26 | + | #:use-module (guix build-system cmake) | |
27 | + | #:use-module (gnu packages boost) | |
28 | + | #:use-module (gnu packages gtk) | |
29 | + | #:use-module (gnu packages icu4c) | |
30 | + | #:use-module (gnu packages pkg-config) | |
31 | + | #:use-module (gnu packages wxwidgets)) | |
32 | + | ||
33 | + | (define-public lucene++ | |
34 | + | (package | |
35 | + | (name "lucene++") | |
36 | + | (version "3.0.7") | |
37 | + | (source (origin | |
38 | + | (method url-fetch) | |
39 | + | (uri (string-append "https://github.com/luceneplusplus/" | |
40 | + | "LucenePlusPlus/archive/rel_" version ".tar.gz")) | |
41 | + | (file-name (string-append name "-" version ".tar.gz")) | |
42 | + | (sha256 | |
43 | + | (base32 | |
44 | + | "032yb35b381ifm7wb8cy2m3yndklnxyi5cgprjh48jqy641z46bc")))) | |
45 | + | (build-system cmake-build-system) | |
46 | + | (arguments | |
47 | + | `(#:configure-flags | |
48 | + | ;; CXX_FLAGS suggested in a closed issue on github: | |
49 | + | ;; https://github.com/luceneplusplus/LucenePlusPlus/issues/100 | |
50 | + | (list "-Wno-dev" "-DCMAKE_CXX_FLAGS=-DBOOST_VARIANT_USE_RELAXED_GET_BY_DEFAULT" | |
51 | + | ;; Install in lib64 break rpath | |
52 | + | "-DCMAKE_INSTALL_LIBDIR:PATH=lib"))) | |
53 | + | ;#:phases | |
54 | + | ;(modify-phases %standard-phases | |
55 | + | ; (add-after 'configure 'fix-lib64 | |
56 | + | ; (lambda _ | |
57 | + | ; ;; Install in lib64 break rpath | |
58 | + | ; (substitute* "Makefile" | |
59 | + | ; (("lib64") "lib")) | |
60 | + | ; #t))))) | |
61 | + | (native-inputs | |
62 | + | `(("pkg-config" ,pkg-config))) | |
63 | + | (inputs | |
64 | + | `(("boost" ,boost))) | |
65 | + | (home-page "https://github.com/luceneplusplus/LucenePlusPlus") | |
66 | + | (synopsis "Text search engine") | |
67 | + | (description | |
68 | + | "Lucene++ is an up to date C++ port of the popular Java Lucene library, | |
69 | + | a high-performance, full-featured text search engine.") | |
70 | + | (license (list license:asl2.0 license:lgpl3)))); either asl or lgpl. |