GNU bug report logs -
#27299
Enable XPS file support in Evince
Previous Next
Reported by: Kei Kebreau <kei <at> openmailbox.org>
Date: Fri, 9 Jun 2017 17:49:01 UTC
Severity: normal
Done: Kei Kebreau <kei <at> openmailbox.org>
Bug is archived. No further changes may be made.
To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 27299 in the body.
You can then email your comments to 27299 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
guix-patches <at> gnu.org
:
bug#27299
; Package
guix-patches
.
(Fri, 09 Jun 2017 17:49:01 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Kei Kebreau <kei <at> openmailbox.org>
:
New bug report received and forwarded. Copy sent to
guix-patches <at> gnu.org
.
(Fri, 09 Jun 2017 17:49:01 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
The following patches enable XPS file support in Evince.
[signature.asc (application/pgp-signature, inline)]
Information forwarded
to
guix-patches <at> gnu.org
:
bug#27299
; Package
guix-patches
.
(Fri, 09 Jun 2017 17:52:02 GMT)
Full text and
rfc822 format available.
Message #8 received at 27299 <at> debbugs.gnu.org (full text, mbox):
* 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
Information forwarded
to
guix-patches <at> gnu.org
:
bug#27299
; Package
guix-patches
.
(Fri, 09 Jun 2017 17:53:01 GMT)
Full text and
rfc822 format available.
Message #11 received at 27299 <at> debbugs.gnu.org (full text, mbox):
* 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
Information forwarded
to
guix-patches <at> gnu.org
:
bug#27299
; Package
guix-patches
.
(Fri, 09 Jun 2017 17:53:02 GMT)
Full text and
rfc822 format available.
Message #14 received at 27299 <at> debbugs.gnu.org (full text, mbox):
* 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
Information forwarded
to
guix-patches <at> gnu.org
:
bug#27299
; Package
guix-patches
.
(Fri, 09 Jun 2017 22:07:01 GMT)
Full text and
rfc822 format available.
Message #17 received at 27299 <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
Kei Kebreau <kei <at> openmailbox.org> writes:
> * gnu/packages/image.scm (liblcms2): New variable.
This is already available in (gnu packages ghostscript).
[signature.asc (application/pgp-signature, inline)]
Information forwarded
to
guix-patches <at> gnu.org
:
bug#27299
; Package
guix-patches
.
(Fri, 09 Jun 2017 22:08:02 GMT)
Full text and
rfc822 format available.
Message #20 received at 27299 <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
Kei Kebreau <kei <at> openmailbox.org> writes:
> * gnu/packages/gnome.scm (libgxps): New variable.
LGTM.
[signature.asc (application/pgp-signature, inline)]
Information forwarded
to
guix-patches <at> gnu.org
:
bug#27299
; Package
guix-patches
.
(Fri, 09 Jun 2017 22:09:01 GMT)
Full text and
rfc822 format available.
Message #23 received at 27299 <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
Kei Kebreau <kei <at> openmailbox.org> writes:
> * gnu/packages/gnome.scm (evince)[arguments]: Add "--enable-xps" to
> configure-flags.
> [inputs]: Add libarchive and libgxps.
LGTM.
[signature.asc (application/pgp-signature, inline)]
Information forwarded
to
guix-patches <at> gnu.org
:
bug#27299
; Package
guix-patches
.
(Sat, 10 Jun 2017 00:18:02 GMT)
Full text and
rfc822 format available.
Message #26 received at 27299 <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
Marius Bakke <mbakke <at> fastmail.com> writes:
> Kei Kebreau <kei <at> 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.
[signature.asc (application/pgp-signature, inline)]
Reply sent
to
Kei Kebreau <kei <at> openmailbox.org>
:
You have taken responsibility.
(Sat, 10 Jun 2017 01:07:02 GMT)
Full text and
rfc822 format available.
Notification sent
to
Kei Kebreau <kei <at> openmailbox.org>
:
bug acknowledged by developer.
(Sat, 10 Jun 2017 01:07:02 GMT)
Full text and
rfc822 format available.
Message #31 received at 27299-done <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
Marius Bakke <mbakke <at> fastmail.com> writes:
> Kei Kebreau <kei <at> 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!
[signature.asc (application/pgp-signature, inline)]
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Sat, 08 Jul 2017 11:24:05 GMT)
Full text and
rfc822 format available.
This bug report was last modified 8 years and 33 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.