all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
blob 1e01d009657ad4cf58164e82a3b262084c656ae5 14487 bytes (raw)
name: gnu/packages/pwmt.scm 	 # note: path name is non-authoritative(*)

  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
 79
 80
 81
 82
 83
 84
 85
 86
 87
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
 
;;; GNU Guix --- Functional package management for GNU
;;;
;;; Copyright © 2015 Paul van der Walt <paul@denknerd.org>
;;; Copyright © 2016 ng0 <ng0@we.make.ritual.n0.is>
;;; Copyright © 2017 2018 Marius Bakke <mbakke@fastmail.com>
;;; Copyright © 2017 Kei Kebreau <kei@openmailbox.org>
;;; Copyright © 2018 2019 2020 Tobias Geerinckx-Rice <me@tobias.gr>
;;; Copyright © 2020 Raghav Gururajan <raghavgururajan@disroot.org>
;;;
;;; 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 pwmt)
  #:use-module (gnu packages)
  #:use-module (gnu packages backup)
  #:use-module (gnu packages check)
  #:use-module (gnu packages djvu)
  #:use-module (gnu packages documentation)
  #:use-module (gnu packages gettext)
  #:use-module (gnu packages ghostscript)
  #:use-module (gnu packages glib)
  #:use-module (gnu packages gnome)
  #:use-module (gnu packages gtk)
  #:use-module (gnu packages image)
  #:use-module (gnu packages javascript)
  #:use-module (gnu packages pdf)
  #:use-module (gnu packages pkg-config)
  #:use-module (gnu packages sphinx)
  #:use-module (gnu packages sqlite)
  #:use-module (gnu packages tls)
  #:use-module (gnu packages web)
  #:use-module (gnu packages xorg)
  #:use-module ((guix licenses) #:prefix license:)
  #:use-module (guix packages)
  #:use-module (guix download)
  #:use-module (guix git-download)
  #:use-module (guix build-system meson))

(define-public girara
  (package
    (name "girara")
    (version "0.3.4")
    (source
     (origin
       (method url-fetch)
       (uri
        (string-append "https://pwmt.org/projects/girara/download/girara-"
                       version ".tar.xz"))
       (sha256
        (base32 "0cmjdismdsx9a5l7zx54zkd33mgg3mx4ckpvc7aap3x6a1ddmz2i"))))
    (build-system meson-build-system)
    (arguments
     `(#:glib-or-gtk? #t                ; To compile schemas
       #:configure-flags
       (list
        "-Dnotify=enabled")             ; For notification support
       #:phases
       (modify-phases %standard-phases
         (add-before 'check 'start-xserver
           ;; Tests require a running X server.
           (lambda* (#:key inputs #:allow-other-keys)
             (let
                 ((xorg-server (assoc-ref inputs "xorg-server"))
                  (display ":1"))
               (setenv "DISPLAY" display)
               ;; On busy machines, tests may take longer than
               ;; the default of four seconds.
               (setenv "CK_DEFAULT_TIMEOUT" "20")
               ;; Don't fail due to missing '/etc/machine-id'.
               (setenv "DBUS_FATAL_WARNINGS" "0")
               (zero?
                (system
                 (string-append xorg-server "/bin/Xvfb "
                                display " &")))))))))
    (native-inputs
     `(("check" ,check)                 ; For tests
       ("doxygen" ,doxygen)             ; For docs
       ("gettext" ,gettext-minimal)
       ("glib:bin" ,glib "bin")
       ("pkg-config" ,pkg-config)
       ("xorg-server" ,xorg-server-for-tests))) ; For tests
    (inputs
     `(("glib" ,glib)
       ("gtk+" ,gtk+)
       ("json-c" ,json-c)          ; For configuration dumping support
       ("libnotify" ,libnotify)    ; For notification support
       ("pango" ,pango)))
    (synopsis "User interface library")
    (description "Girara is a library that implements a user interface that
focuses on simplicity and minimalism.  Currently based on GTK+, a cross-platform
widget toolkit, it provides an interface that focuses on three main components:
A so-called view widget that represents the actual application, an input bar
that is used to execute commands of the application and the status bar which
provides the user with current information.")
    (home-page "https://pwmt.org/projects/girara/")
    (license license:zlib)))

(define-public zathura
  (package
    (name "zathura")
    (version "0.4.5")
    (source (origin
              (method url-fetch)
              (uri
               (string-append "https://pwmt.org/projects/zathura/download/zathura-"
                              version ".tar.xz"))
              (sha256
               (base32
                "0b3nrcvykkpv2vm99kijnic2gpfzva520bsjlihaxandzfm9ff8c"))))
    (build-system meson-build-system)
    (arguments
     `(#:phases (modify-phases %standard-phases
                  (add-before 'check 'start-xserver
                    ;; Tests require a running X server.
                    (lambda* (#:key inputs #:allow-other-keys)
                      (let ((xorg-server (assoc-ref inputs "xorg-server"))
                            (display ":1"))
                        (setenv "DISPLAY" display)

                        ;; On busy machines, tests may take longer than
                        ;; the default of four seconds.
                        (setenv "CK_DEFAULT_TIMEOUT" "20")

                        ;; Don't fail due to missing '/etc/machine-id'.
                        (setenv "DBUS_FATAL_WARNINGS" "0")
                        (zero? (system (string-append xorg-server "/bin/Xvfb "
                                                      display " &")))))))))
    (native-inputs `(("pkg-config" ,pkg-config)
                     ("gettext" ,gettext-minimal)
                     ("glib:bin" ,glib "bin")

                     ;; For building documentation.
                     ("python-sphinx" ,python-sphinx)

                     ;; For building icons.
                     ("librsvg" ,librsvg)

                     ;; For tests.
                     ("check" ,check)
                     ("xorg-server" ,xorg-server-for-tests)))
    (inputs `(("sqlite" ,sqlite)))
    ;; Listed in 'Requires.private' of 'zathura.pc'.
    (propagated-inputs `(("cairo" ,cairo)
                         ("girara" ,girara)))
    (native-search-paths
     (list (search-path-specification
            (variable "ZATHURA_PLUGINS_PATH")
            (files '("lib/zathura")))))
    (synopsis "Lightweight keyboard-driven PDF viewer")
    (description "Zathura is a customizable document viewer.  It provides a
minimalistic interface and an interface that mainly focuses on keyboard
interaction.")
    (home-page "https://pwmt.org/projects/zathura/")
    (license license:zlib)))

(define-public zathura-ps
  (package
    (name "zathura-ps")
    (version "0.2.6")
    (source (origin
              (method url-fetch)
              (uri
               (string-append "https://pwmt.org/projects/zathura-ps/download/zathura-ps-"
                              version ".tar.xz"))
              (sha256
               (base32
                "0wygq89nyjrjnsq7vbpidqdsirjm6iq4w2rijzwpk2f83ys8bc3y"))))
    (native-inputs `(("pkg-config" ,pkg-config)))
    (inputs `(("libspectre" ,libspectre)
              ("zathura" ,zathura)))
    (build-system meson-build-system)
    (arguments
     `(#:tests? #f                      ; package does not contain tests
       #:phases
       (modify-phases %standard-phases
         (add-after 'unpack 'patch-plugin-directory
           ;; Something of a regression in 0.2.6: the new Meson build system
           ;; now hard-codes an incorrect plugin directory.  Fix it.
           (lambda* (#:key outputs #:allow-other-keys)
             (substitute* "meson.build"
               (("(install_dir:).*" _ key)
                (string-append key
                               "'" (assoc-ref outputs "out") "/lib/zathura'\n")))
             #t)))))
    (home-page "https://pwmt.org/projects/zathura-ps/")
    (synopsis "PS support for zathura (libspectre backend)")
    (description "The zathura-ps plugin adds PS support to zathura
using libspectre.")
    (license license:zlib)))

(define-public zathura-pdf-poppler
  (package
    (name "zathura-pdf-poppler")
    (version "0.3.0")
    (source (origin
              (method url-fetch)
              (uri
               (string-append "https://pwmt.org/projects/zathura-pdf-poppler/download/zathura-pdf-poppler-"
                              version ".tar.xz"))
              (sha256
               (base32
                "1vfl4vkyy3rf39r1sqaa7y8113bgkh2bkfq3nn2inis9mrykmk6m"))))
    (native-inputs `(("pkg-config" ,pkg-config)))
    (inputs
     `(("poppler" ,poppler)
       ("zathura" ,zathura)))
    (build-system meson-build-system)
    (arguments
     `(#:tests? #f                      ; package does not include tests
       #:phases
       (modify-phases %standard-phases
         (add-after 'unpack 'patch-plugin-directory
           ;; Something of a regression in 0.2.9: the new Meson build system
           ;; now hard-codes an incorrect plugin directory.  Fix it.
           (lambda* (#:key outputs #:allow-other-keys)
             (substitute* "meson.build"
               (("(install_dir:).*" _ key)
                (string-append key
                               "'" (assoc-ref outputs "out") "/lib/zathura'\n")))
             #t)))))
    (home-page "https://pwmt.org/projects/zathura-pdf-poppler/")
    (synopsis "PDF support for zathura (poppler backend)")
    (description "The zathura-pdf-poppler plugin adds PDF support to zathura
by using the poppler rendering engine.")
    (license license:zlib)))

(define-public zathura-pdf-mupdf
  (package
    (name "zathura-pdf-mupdf")
    (version "0.3.5")
    (source (origin
              (method url-fetch)
              (uri
               (string-append "https://pwmt.org/projects/zathura-pdf-mupdf"
                              "/download/zathura-pdf-mupdf-" version ".tar.xz"))
              (sha256
               (base32
                "1pjwsb7zwclxsvz229fl7y2saf1pv3ifwv3ay8viqxgrp9x3z9hq"))))
    (native-inputs `(("pkg-config" ,pkg-config)))
    (inputs
     `(("jbig2dec" ,jbig2dec)
       ("libjpeg" ,libjpeg)
       ("mujs" ,mujs)
       ("mupdf" ,mupdf)
       ("openjpeg" ,openjpeg)
       ("openssl" ,openssl)
       ("zathura" ,zathura)))
    (build-system meson-build-system)
    (arguments
     `(#:tests? #f                      ; package does not contain tests
       #:configure-flags (list (string-append "-Dplugindir="
                                              (assoc-ref %outputs "out")
                                              "/lib/zathura")
                               "-Dlink-external=true")
       #:phases
       (modify-phases %standard-phases
         (add-before 'configure 'add-mujs-to-dependencies
           (lambda _
             ;; Add mujs to the 'build_dependencies'.
             (substitute* "meson.build"
               (("^  libopenjp2 = dependency.*" x)
                (string-append x "  mujs = cc.find_library('mujs')\n"))
               (("^    libopenjp2")
                "    libopenjp2, mujs")))))))
    (home-page "https://pwmt.org/projects/zathura-pdf-mupdf/")
    (synopsis "PDF support for zathura (mupdf backend)")
    (description "The zathura-pdf-mupdf plugin adds PDF support to zathura
by using the @code{mupdf} rendering library.")
    (license license:zlib)))

(define-public zathura-djvu
  (package
    (name "zathura-djvu")
    (version "0.2.9")
    (source (origin
              (method url-fetch)
              (uri
               (string-append "https://pwmt.org/projects/zathura-djvu/download/zathura-djvu-"
                              version ".tar.xz"))
              (sha256
               (base32
                "0062n236414db7q7pnn3ccg5111ghxj3407pn9ri08skxskgirln"))))
    (native-inputs `(("pkg-config" ,pkg-config)))
    (inputs
     `(("djvulibre" ,djvulibre)
       ("zathura" ,zathura)))
    (build-system meson-build-system)
    (arguments
     `(#:tests? #f                      ; package does not contain tests
       #:phases
       (modify-phases %standard-phases
         (add-after 'unpack 'patch-plugin-directory
           ;; Something of a regression in 0.2.8: the new Meson build system
           ;; now hard-codes an incorrect plugin directory.  Fix it.
           (lambda* (#:key outputs #:allow-other-keys)
             (substitute* "meson.build"
               (("(install_dir:).*" _ key)
                (string-append key
                               "'" (assoc-ref outputs "out") "/lib/zathura'\n")))
             #t)))))
    (home-page "https://pwmt.org/projects/zathura-djvu/")
    (synopsis "DjVu support for zathura (DjVuLibre backend)")
    (description "The zathura-djvu plugin adds DjVu support to zathura
using the DjVuLibre library.")
    (license license:zlib)))

(define-public zathura-cb
  (package
    (name "zathura-cb")
    (version "0.1.8")
    (source (origin
              (method url-fetch)
              (uri
               (string-append "https://pwmt.org/projects/zathura-cb/download/zathura-cb-"
                              version ".tar.xz"))
              (sha256
               (base32
                "1i6cf0vks501cggwvfsl6qb7mdaf3sszdymphimfvnspw810faj5"))))
    (native-inputs `(("pkg-config" ,pkg-config)))
    (inputs `(("libarchive" ,libarchive)
              ("zathura" ,zathura)))
    (build-system meson-build-system)
    (arguments
     `(#:tests? #f                      ; package does not contain tests
       #:phases
       (modify-phases %standard-phases
         (add-after 'unpack 'patch-plugin-directory
           ;; Something of a regression in 0.1.8: the new Meson build system
           ;; now hard-codes an incorrect plugin directory.  Fix it.
           (lambda* (#:key outputs #:allow-other-keys)
             (substitute* "meson.build"
               (("(install_dir:).*" _ key)
                (string-append key
                               "'" (assoc-ref outputs "out") "/lib/zathura'\n")))
             #t)))))
    (home-page "https://pwmt.org/projects/zathura-cb/")
    (synopsis "Comic book support for zathura (libarchive backend)")
    (description "The zathura-cb plugin adds comic book support to zathura
using libarchive.")
    (license license:zlib)))

debug log:

solving 1e01d00965 ...
found 1e01d00965 in https://yhetil.org/guix/20200507232427.38f0411a.raghavgururajan@disroot.org/
found 900826365f in https://yhetil.org/guix/20200507232427.38f0411a.raghavgururajan@disroot.org/
found 977ba39ccc in https://yhetil.org/guix/20200507232427.38f0411a.raghavgururajan@disroot.org/
found 57f1847a39 in https://yhetil.org/guix/20200507232427.38f0411a.raghavgururajan@disroot.org/
found 655dc39e26 in https://yhetil.org/guix/20200507232427.38f0411a.raghavgururajan@disroot.org/
found e535d09f06 in https://yhetil.org/guix/20200507232427.38f0411a.raghavgururajan@disroot.org/
found 3d3abe168d in https://yhetil.org/guix/20200507232427.38f0411a.raghavgururajan@disroot.org/
found f984f1b327 in https://yhetil.org/guix/20200507232427.38f0411a.raghavgururajan@disroot.org/
found 32abe6d129 in https://yhetil.org/guix/20200507232427.38f0411a.raghavgururajan@disroot.org/
found de95190f09 in https://yhetil.org/guix/20200507232427.38f0411a.raghavgururajan@disroot.org/
found 28af803a45 in https://yhetil.org/guix/20200507232427.38f0411a.raghavgururajan@disroot.org/

applying [1/11] https://yhetil.org/guix/20200507232427.38f0411a.raghavgururajan@disroot.org/
diff --git a/gnu/packages/pwmt.scm b/gnu/packages/pwmt.scm
new file mode 100644
index 0000000000..28af803a45


applying [2/11] https://yhetil.org/guix/20200507232427.38f0411a.raghavgururajan@disroot.org/
diff --git a/gnu/packages/pwmt.scm b/gnu/packages/pwmt.scm
index 28af803a45..de95190f09 100644


applying [3/11] https://yhetil.org/guix/20200507232427.38f0411a.raghavgururajan@disroot.org/
diff --git a/gnu/packages/pwmt.scm b/gnu/packages/pwmt.scm
index de95190f09..32abe6d129 100644


applying [4/11] https://yhetil.org/guix/20200507232427.38f0411a.raghavgururajan@disroot.org/
diff --git a/gnu/packages/pwmt.scm b/gnu/packages/pwmt.scm
index 32abe6d129..f984f1b327 100644


applying [5/11] https://yhetil.org/guix/20200507232427.38f0411a.raghavgururajan@disroot.org/
diff --git a/gnu/packages/pwmt.scm b/gnu/packages/pwmt.scm
index f984f1b327..3d3abe168d 100644


applying [6/11] https://yhetil.org/guix/20200507232427.38f0411a.raghavgururajan@disroot.org/
diff --git a/gnu/packages/pwmt.scm b/gnu/packages/pwmt.scm
index 3d3abe168d..e535d09f06 100644


applying [7/11] https://yhetil.org/guix/20200507232427.38f0411a.raghavgururajan@disroot.org/
diff --git a/gnu/packages/pwmt.scm b/gnu/packages/pwmt.scm
index e535d09f06..655dc39e26 100644


applying [8/11] https://yhetil.org/guix/20200507232427.38f0411a.raghavgururajan@disroot.org/
diff --git a/gnu/packages/pwmt.scm b/gnu/packages/pwmt.scm
index 655dc39e26..57f1847a39 100644


applying [9/11] https://yhetil.org/guix/20200507232427.38f0411a.raghavgururajan@disroot.org/
diff --git a/gnu/packages/pwmt.scm b/gnu/packages/pwmt.scm
index 57f1847a39..977ba39ccc 100644


applying [10/11] https://yhetil.org/guix/20200507232427.38f0411a.raghavgururajan@disroot.org/
diff --git a/gnu/packages/pwmt.scm b/gnu/packages/pwmt.scm
index 977ba39ccc..900826365f 100644


applying [11/11] https://yhetil.org/guix/20200507232427.38f0411a.raghavgururajan@disroot.org/
diff --git a/gnu/packages/pwmt.scm b/gnu/packages/pwmt.scm
index 900826365f..1e01d00965 100644

Checking patch gnu/packages/pwmt.scm...
Applied patch gnu/packages/pwmt.scm cleanly.
Checking patch gnu/packages/pwmt.scm...
Applied patch gnu/packages/pwmt.scm cleanly.
Checking patch gnu/packages/pwmt.scm...
Applied patch gnu/packages/pwmt.scm cleanly.
Checking patch gnu/packages/pwmt.scm...
Applied patch gnu/packages/pwmt.scm cleanly.
Checking patch gnu/packages/pwmt.scm...
Applied patch gnu/packages/pwmt.scm cleanly.
Checking patch gnu/packages/pwmt.scm...
Applied patch gnu/packages/pwmt.scm cleanly.
Checking patch gnu/packages/pwmt.scm...
Applied patch gnu/packages/pwmt.scm cleanly.
Checking patch gnu/packages/pwmt.scm...
Applied patch gnu/packages/pwmt.scm cleanly.
Checking patch gnu/packages/pwmt.scm...
Applied patch gnu/packages/pwmt.scm cleanly.
Checking patch gnu/packages/pwmt.scm...
Applied patch gnu/packages/pwmt.scm cleanly.
Checking patch gnu/packages/pwmt.scm...
Applied patch gnu/packages/pwmt.scm cleanly.

index at:
100644 1e01d009657ad4cf58164e82a3b262084c656ae5	gnu/packages/pwmt.scm

(*) Git path names are given by the tree(s) the blob belongs to.
    Blobs themselves have no identifier aside from the hash of its contents.^

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.