unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* [bug#33951] [PATCH] gnu: cmake-extra-modules: Fix QTPLUGINDIR.
@ 2019-01-02  9:58 Meiyo Peng
  0 siblings, 0 replies; only message in thread
From: Meiyo Peng @ 2019-01-02  9:58 UTC (permalink / raw)
  To: 33951

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

Hi,

This patch fixes the regular expression for QTPLUGINDIR.

The source code of "kde-modules/KDEInstallDirs.cmake" has been changed
by upstream in recent releases.  This regular expression bug caused
dependent packages install qt plugins into a wrong directory.


[-- Attachment #2: 0001-gnu-cmake-extra-modules-Fix-QTPLUGINDIR.patch --]
[-- Type: text/x-patch, Size: 1486 bytes --]

From a242fed166b0939365a6e6f3259c65471dc01db7 Mon Sep 17 00:00:00 2001
From: Meiyo Peng <meiyo.peng@gmail.com>
Date: Sat, 29 Dec 2018 00:06:00 +0800
Subject: [PATCH] gnu: cmake-extra-modules: Fix QTPLUGINDIR.

* gnu/packages/kde-frameworks.scm (cmake-extra-modules)[arguments]: Fix
  QTPLUGINDIR.
---
 gnu/packages/kde-frameworks.scm | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/kde-frameworks.scm b/gnu/packages/kde-frameworks.scm
index 6c1854379..5c21a7fb7 100644
--- a/gnu/packages/kde-frameworks.scm
+++ b/gnu/packages/kde-frameworks.scm
@@ -5,6 +5,7 @@
 ;;; Copyright © 2016 David Craven <david@craven.ch>
 ;;; Copyright © 2017 Thomas Danckaert <post@thomasdanckaert.be>
 ;;; Copyright © 2018 Tobias Geerinckx-Rice <me@tobias.gr>
+;;; Copyright © 2018 Meiyo Peng <meiyo.peng@gmail.com>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -98,7 +99,7 @@
                (("\"lib64\"") "\"lib\"")
                ;; TODO: Base the following on values taken from Qt
                ;; Install plugins into lib/qt5/plugins
-               (("_define_relative\\(QTPLUGINDIR LIBDIR \"plugins\"")
+               (("_define_relative\\(QTPLUGINDIR \"\\$\\{_pluginsDirParent\\}\" \"plugins\"")
                 "_define_relative(QTPLUGINDIR LIBDIR \"qt5/plugins\"")
                ;; Install imports into lib/qt5/imports
                (("_define_relative\\(QTQUICKIMPORTSDIR QTPLUGINDIR \"imports\"")
-- 
2.20.1


[-- Attachment #3: Type: text/plain, Size: 42 bytes --]


--
Meiyo Peng
https://www.pengmeiyu.com/

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2019-01-02 10:00 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-01-02  9:58 [bug#33951] [PATCH] gnu: cmake-extra-modules: Fix QTPLUGINDIR Meiyo Peng

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).