* bug#27299: Enable XPS file support in Evince @ 2017-06-09 17:48 Kei Kebreau 2017-06-09 17:51 ` bug#27299: [PATCH 1/3] gnu: Add liblcms2 Kei Kebreau 0 siblings, 1 reply; 9+ messages in thread From: Kei Kebreau @ 2017-06-09 17:48 UTC (permalink / raw) To: 27299 [-- Attachment #1: Type: text/plain, Size: 57 bytes --] The following patches enable XPS file support in Evince. [-- Attachment #2: signature.asc --] [-- Type: application/pgp-signature, Size: 832 bytes --] ^ permalink raw reply [flat|nested] 9+ messages in thread
* bug#27299: [PATCH 1/3] gnu: Add liblcms2. 2017-06-09 17:48 bug#27299: Enable XPS file support in Evince Kei Kebreau @ 2017-06-09 17:51 ` Kei Kebreau 2017-06-09 17:51 ` bug#27299: [PATCH 2/3] gnu: Add libgxps Kei Kebreau ` (2 more replies) 0 siblings, 3 replies; 9+ messages in thread From: Kei Kebreau @ 2017-06-09 17:51 UTC (permalink / raw) To: 27299; +Cc: Kei Kebreau * gnu/packages/image.scm (liblcms2): New variable. --- gnu/packages/image.scm | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/gnu/packages/image.scm b/gnu/packages/image.scm index f6337e0fc..508a24b70 100644 --- a/gnu/packages/image.scm +++ b/gnu/packages/image.scm @@ -64,6 +64,31 @@ #:use-module (guix build-system cmake) #:use-module (srfi srfi-1)) +(define-public liblcms2 + (package + (name "liblcms2") + (version "2.8") + (source (origin + (method url-fetch) + (uri (string-append "mirror://sourceforge/lcms/lcms/" + version "/lcms2-" version ".tar.gz")) + (sha256 + (base32 + "08pvl289g0mbznzx5l6ibhaldsgx41kwvdn2c974ga9fkli2pl36")))) + (build-system gnu-build-system) + (inputs + `(("libjpeg" ,libjpeg) + ("libtiff" ,libtiff) + ("zlib" ,zlib))) + (home-page "http://www.littlecms.com") + (synopsis "Color management engine based on the ICC standard.") + (description + "Little CMS intends to be a small-footprint color management engine, with +special focus on accuracy and performance. It uses the International Color +Consortium standard (ICC), which is the modern standard when regarding to color +management.") + (license license:expat))) + (define-public libpng (package (name "libpng") -- 2.13.0 ^ permalink raw reply related [flat|nested] 9+ messages in thread
* bug#27299: [PATCH 2/3] gnu: Add libgxps. 2017-06-09 17:51 ` bug#27299: [PATCH 1/3] gnu: Add liblcms2 Kei Kebreau @ 2017-06-09 17:51 ` Kei Kebreau 2017-06-09 22:07 ` Marius Bakke 2017-06-09 17:51 ` bug#27299: [PATCH 3/3] gnu: evince: Enable XPS document support Kei Kebreau 2017-06-09 22:06 ` bug#27299: [PATCH 1/3] gnu: Add liblcms2 Marius Bakke 2 siblings, 1 reply; 9+ messages in thread From: Kei Kebreau @ 2017-06-09 17:51 UTC (permalink / raw) To: 27299; +Cc: Kei Kebreau * gnu/packages/gnome.scm (libgxps): New variable. --- gnu/packages/gnome.scm | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) diff --git a/gnu/packages/gnome.scm b/gnu/packages/gnome.scm index 9ea3bb07a..5a57d4cbf 100644 --- a/gnu/packages/gnome.scm +++ b/gnu/packages/gnome.scm @@ -288,6 +288,38 @@ the GData protocol — most notably, Google's services. It provides APIs to access the common Google services, and has full asynchronous support.") (license license:lgpl2.1+))) +(define-public libgxps + (package + (name "libgxps") + (version "0.2.5") + (source (origin + (method url-fetch) + (uri (string-append "mirror://gnome/sources" name "/" + (version-major+minor version) "/" + name "-" version ".tar.xz")) + (sha256 + (base32 + "184r06s8g20cfigg7m169n42jjsc9wmzzlycr4g1fxxhr72r8x9y")))) + (build-system gnu-build-system) + (native-inputs + `(("gobject-introspection" ,gobject-introspection) + ("pkg-config" ,pkg-config))) + (inputs + `(("cairo" ,cairo) + ("glib" ,glib) + ("libarchive" ,libarchive) + ("libjpeg" ,libjpeg) + ("liblcms2" ,liblcms2) + ("libtiff" ,libtiff) + ("nettle" ,nettle))) + (home-page "https://wiki.gnome.org/Projects/libgxps") + (synopsis "GObject-based library for handling and rendering XPS documents") + (description + "libgxps is a GObject-based library for handling and rendering XPS +documents. This package also contains binaries that can convert XPS documents +to other formats.") + (license license:lgpl2.1+))) + (define-public gnome-common (package (name "gnome-common") -- 2.13.0 ^ permalink raw reply related [flat|nested] 9+ messages in thread
* bug#27299: [PATCH 2/3] gnu: Add libgxps. 2017-06-09 17:51 ` bug#27299: [PATCH 2/3] gnu: Add libgxps Kei Kebreau @ 2017-06-09 22:07 ` Marius Bakke 0 siblings, 0 replies; 9+ messages in thread From: Marius Bakke @ 2017-06-09 22:07 UTC (permalink / raw) To: Kei Kebreau, 27299 [-- Attachment #1: Type: text/plain, Size: 102 bytes --] Kei Kebreau <kei@openmailbox.org> writes: > * gnu/packages/gnome.scm (libgxps): New variable. LGTM. [-- Attachment #2: signature.asc --] [-- Type: application/pgp-signature, Size: 487 bytes --] ^ permalink raw reply [flat|nested] 9+ messages in thread
* bug#27299: [PATCH 3/3] gnu: evince: Enable XPS document support. 2017-06-09 17:51 ` bug#27299: [PATCH 1/3] gnu: Add liblcms2 Kei Kebreau 2017-06-09 17:51 ` bug#27299: [PATCH 2/3] gnu: Add libgxps Kei Kebreau @ 2017-06-09 17:51 ` Kei Kebreau 2017-06-09 22:08 ` Marius Bakke 2017-06-09 22:06 ` bug#27299: [PATCH 1/3] gnu: Add liblcms2 Marius Bakke 2 siblings, 1 reply; 9+ messages in thread From: Kei Kebreau @ 2017-06-09 17:51 UTC (permalink / raw) To: 27299; +Cc: Kei Kebreau * gnu/packages/gnome.scm (evince)[arguments]: Add "--enable-xps" to configure-flags. [inputs]: Add libarchive and libgxps. --- gnu/packages/gnome.scm | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/gnu/packages/gnome.scm b/gnu/packages/gnome.scm index 5a57d4cbf..4dc907e8d 100644 --- a/gnu/packages/gnome.scm +++ b/gnu/packages/gnome.scm @@ -615,7 +615,7 @@ forgotten when the session ends.") "13yw0i68dgqp9alyliy3zifszh7rikkpi1xbz5binvxxgfpraf04")))) (build-system glib-or-gtk-build-system) (arguments - `(#:configure-flags '("--disable-nautilus") + `(#:configure-flags '("--disable-nautilus" "--enable-xps") #:phases (modify-phases %standard-phases (add-before 'install 'skip-gtk-update-icon-cache @@ -625,13 +625,14 @@ forgotten when the session ends.") (("gtk-update-icon-cache") "true")) #t))))) (inputs - `(("libspectre" ,libspectre) + `(("libarchive" ,libarchive) + ("libgxps" ,libgxps) + ("libspectre" ,libspectre) ("djvulibre" ,djvulibre) ("ghostscript" ,ghostscript) ("poppler" ,poppler) ("libtiff" ,libtiff) ;; TODO: - ;; Add libgxps for XPS support. ;; Build libkpathsea as a shared library for DVI support. ;; ("libkpathsea" ,texlive-bin) ("gnome-desktop" ,gnome-desktop) -- 2.13.0 ^ permalink raw reply related [flat|nested] 9+ messages in thread
* bug#27299: [PATCH 3/3] gnu: evince: Enable XPS document support. 2017-06-09 17:51 ` bug#27299: [PATCH 3/3] gnu: evince: Enable XPS document support Kei Kebreau @ 2017-06-09 22:08 ` Marius Bakke 2017-06-10 1:06 ` Kei Kebreau 0 siblings, 1 reply; 9+ messages in thread From: Marius Bakke @ 2017-06-09 22:08 UTC (permalink / raw) To: Kei Kebreau, 27299 [-- Attachment #1: Type: text/plain, Size: 179 bytes --] Kei Kebreau <kei@openmailbox.org> writes: > * gnu/packages/gnome.scm (evince)[arguments]: Add "--enable-xps" to > configure-flags. > [inputs]: Add libarchive and libgxps. LGTM. [-- Attachment #2: signature.asc --] [-- Type: application/pgp-signature, Size: 483 bytes --] ^ permalink raw reply [flat|nested] 9+ messages in thread
* bug#27299: [PATCH 3/3] gnu: evince: Enable XPS document support. 2017-06-09 22:08 ` Marius Bakke @ 2017-06-10 1:06 ` Kei Kebreau 0 siblings, 0 replies; 9+ messages in thread From: Kei Kebreau @ 2017-06-10 1:06 UTC (permalink / raw) To: Marius Bakke; +Cc: 27299-done [-- Attachment #1: Type: text/plain, Size: 305 bytes --] Marius Bakke <mbakke@fastmail.com> writes: > Kei Kebreau <kei@openmailbox.org> writes: > >> * gnu/packages/gnome.scm (evince)[arguments]: Add "--enable-xps" to >> configure-flags. >> [inputs]: Add libarchive and libgxps. > > LGTM. Pushed to master with unnecessary parts removed. Thanks for the review! [-- Attachment #2: signature.asc --] [-- Type: application/pgp-signature, Size: 832 bytes --] ^ permalink raw reply [flat|nested] 9+ messages in thread
* bug#27299: [PATCH 1/3] gnu: Add liblcms2. 2017-06-09 17:51 ` bug#27299: [PATCH 1/3] gnu: Add liblcms2 Kei Kebreau 2017-06-09 17:51 ` bug#27299: [PATCH 2/3] gnu: Add libgxps Kei Kebreau 2017-06-09 17:51 ` bug#27299: [PATCH 3/3] gnu: evince: Enable XPS document support Kei Kebreau @ 2017-06-09 22:06 ` Marius Bakke 2017-06-10 0:16 ` Kei Kebreau 2 siblings, 1 reply; 9+ messages in thread From: Marius Bakke @ 2017-06-09 22:06 UTC (permalink / raw) To: Kei Kebreau, 27299 [-- Attachment #1: Type: text/plain, Size: 154 bytes --] Kei Kebreau <kei@openmailbox.org> writes: > * gnu/packages/image.scm (liblcms2): New variable. This is already available in (gnu packages ghostscript). [-- Attachment #2: signature.asc --] [-- Type: application/pgp-signature, Size: 487 bytes --] ^ permalink raw reply [flat|nested] 9+ messages in thread
* bug#27299: [PATCH 1/3] gnu: Add liblcms2. 2017-06-09 22:06 ` bug#27299: [PATCH 1/3] gnu: Add liblcms2 Marius Bakke @ 2017-06-10 0:16 ` Kei Kebreau 0 siblings, 0 replies; 9+ messages in thread From: Kei Kebreau @ 2017-06-10 0:16 UTC (permalink / raw) To: Marius Bakke; +Cc: 27299 [-- Attachment #1: Type: text/plain, Size: 263 bytes --] Marius Bakke <mbakke@fastmail.com> writes: > Kei Kebreau <kei@openmailbox.org> writes: > >> * gnu/packages/image.scm (liblcms2): New variable. > > This is already available in (gnu packages ghostscript). Huh. It's a wonder that I missed it. Thanks for the tip. [-- Attachment #2: signature.asc --] [-- Type: application/pgp-signature, Size: 832 bytes --] ^ permalink raw reply [flat|nested] 9+ messages in thread
end of thread, other threads:[~2017-06-10 1:07 UTC | newest] Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2017-06-09 17:48 bug#27299: Enable XPS file support in Evince Kei Kebreau 2017-06-09 17:51 ` bug#27299: [PATCH 1/3] gnu: Add liblcms2 Kei Kebreau 2017-06-09 17:51 ` bug#27299: [PATCH 2/3] gnu: Add libgxps Kei Kebreau 2017-06-09 22:07 ` Marius Bakke 2017-06-09 17:51 ` bug#27299: [PATCH 3/3] gnu: evince: Enable XPS document support Kei Kebreau 2017-06-09 22:08 ` Marius Bakke 2017-06-10 1:06 ` Kei Kebreau 2017-06-09 22:06 ` bug#27299: [PATCH 1/3] gnu: Add liblcms2 Marius Bakke 2017-06-10 0:16 ` Kei Kebreau
Code repositories for project(s) associated with this public inbox https://git.savannah.gnu.org/cgit/guix.git This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).