all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* [PATCH] gnu: pdf: Fix installing desktop files of zathura packages.
@ 2015-07-07  8:33 Alex Kost
  2015-07-07  8:43 ` Paul van der Walt
  2015-07-07 15:07 ` Mark H Weaver
  0 siblings, 2 replies; 8+ messages in thread
From: Alex Kost @ 2015-07-07  8:33 UTC (permalink / raw)
  To: guix-devel

[-- Attachment #1: Type: text/plain, Size: 206 bytes --]

I've noticed that the packages for zathura plugins install .desktop
files into:

/gnu/store/…/usr/share/applications/ instead of:
/gnu/store/…/share/applications/

The attached patch fixes it.


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: 0001-gnu-pdf-Fix-installing-desktop-files-of-zathura-pack.patch --]
[-- Type: text/x-patch, Size: 2100 bytes --]

From 74efced6076ef28b321cb2a6a69344f55b714b59 Mon Sep 17 00:00:00 2001
From: Alex Kost <alezost@gmail.com>
Date: Tue, 7 Jul 2015 11:17:06 +0300
Subject: [PATCH] gnu: pdf: Fix installing desktop files of zathura packages.

* gnu/packages/pdf.scm (zathura-cb, zathura-ps, zathura-djvu,
  zathura-pdf-poppler): Add PREFIX to 'make-flags' to install
  ".desktop" files into "share", not "usr/share".
---
 gnu/packages/pdf.scm | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/gnu/packages/pdf.scm b/gnu/packages/pdf.scm
index 82e8c88..0e8817d 100644
--- a/gnu/packages/pdf.scm
+++ b/gnu/packages/pdf.scm
@@ -173,7 +173,7 @@
     (arguments
      `(#:make-flags
        `(,(string-append "DESTDIR=" (assoc-ref %outputs "out"))
-          "PLUGINDIR=/lib/zathura" "CC=gcc")
+          "PREFIX=" "PLUGINDIR=/lib/zathura" "CC=gcc")
        #:tests? #f ; Package does not contain tests.
        #:phases
        (alist-delete 'configure %standard-phases)))
@@ -204,7 +204,7 @@ using libarchive.")
     (arguments
      `(#:make-flags
        `(,(string-append "DESTDIR=" (assoc-ref %outputs "out"))
-          "PLUGINDIR=/lib/zathura" "CC=gcc")
+          "PREFIX=" "PLUGINDIR=/lib/zathura" "CC=gcc")
        #:tests? #f ; Package does not contain tests.
        #:phases
        (alist-delete 'configure %standard-phases)))
@@ -236,7 +236,7 @@ using libspectre.")
     (arguments
      `(#:make-flags
        `(,(string-append "DESTDIR=" (assoc-ref %outputs "out"))
-          "PLUGINDIR=/lib/zathura" "CC=gcc")
+          "PREFIX=" "PLUGINDIR=/lib/zathura" "CC=gcc")
        #:tests? #f ; Package does not contain tests.
        #:phases
        (alist-delete 'configure %standard-phases)))
@@ -269,7 +269,7 @@ using the DjVuLibre library.")
     (arguments
      `(#:make-flags
        `(,(string-append "DESTDIR=" (assoc-ref %outputs "out"))
-          "PLUGINDIR=/lib/zathura" "CC=gcc")
+          "PREFIX=" "PLUGINDIR=/lib/zathura" "CC=gcc")
        #:tests? #f ; Package does not include tests.
        #:phases
        (alist-delete 'configure %standard-phases)))
-- 
2.4.3


^ permalink raw reply related	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2015-07-07 19:59 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-07-07  8:33 [PATCH] gnu: pdf: Fix installing desktop files of zathura packages Alex Kost
2015-07-07  8:43 ` Paul van der Walt
2015-07-07 17:40   ` Alex Kost
2015-07-07 15:07 ` Mark H Weaver
2015-07-07 17:39   ` Alex Kost
2015-07-07 18:36     ` Mark H Weaver
2015-07-07 19:25       ` Alex Kost
2015-07-07 19:59         ` Mark H Weaver

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.