From mboxrd@z Thu Jan 1 00:00:00 1970 From: Hartmut Goebel Subject: QT install and search paths Date: Wed, 23 Aug 2017 20:25:10 +0200 Message-ID: <42cac0e9-d948-3ea1-7312-d003751fd6a8@crazy-compilers.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="------------8E96DAFC286BF6318672B8AE" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:47638) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dkaL8-00080z-JD for guix-devel@gnu.org; Wed, 23 Aug 2017 14:25:19 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dkaL5-000664-E6 for guix-devel@gnu.org; Wed, 23 Aug 2017 14:25:18 -0400 Received: from mail-out.m-online.net ([2001:a60:0:28:0:1:25:1]:54221) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1dkaL5-00065i-1d for guix-devel@gnu.org; Wed, 23 Aug 2017 14:25:15 -0400 Content-Language: en-US List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: guix-devel , =?UTF-8?B?U291IEJ1bm5idSAo5a6L5paH5q2m?= =?UTF-8?Q?=29?= This is a multi-part message in MIME format. --------------8E96DAFC286BF6318672B8AE Content-Type: multipart/alternative; boundary="------------42643E473A851FE80DB7FAF9" --------------42643E473A851FE80DB7FAF9 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Hi, I'm currently working on the build of KDE's plasma-desktop. When strac-ing the tets, I dicoverd that plaugins are searched in /gnu/store/=E2=80=A6-qtbase-5.9.1/plugins/=E2=80=A6 while most of the KDE program use /gnu/store/=E2=80=A6-plasma-workspace-5.10.4/lib/plugins/=E2=80=A6 (= mind the additional `lib`) which is not searched. Wondering why, I found this in qt.scm (qtbase): (search-path-specification (variable "QT_PLUGIN_PATH") (files '("plugins"))) This means that `lib/plugins` is *not* included in QT_PLUGIN_PATH and thus not searched. (Which I assume is the reason for many test-failures.) Also in qt.scm (qtbase) there is: (substitute* qt_config.prf =E2=80=A6 (("\\$\\$\\[QT_INSTALL_PLUGINS\\]") "$$replace(dir, mkspecs/modules, plugins)") I assume this should make the plugins to be in stalled in =E2=80=A6/plugi= ns, but KDE framework is installing into =E2=80=A6/lib/plugins. So I assume this is wrong or there are other places which need to be adpoted to the changed directory layout. What do you think? All of the written above is true for the `qml` directory. --=20 Regards Hartmut Goebel | Hartmut Goebel | h.goebel@crazy-compilers.com | | www.crazy-compilers.com | compilers which you thought are impossible | --------------42643E473A851FE80DB7FAF9 Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: quoted-printable

Hi,

I'm currently working on the build of KDE's plasma-desktop. When strac-ing the tets, I dicoverd that plaugins are searched in

/gnu/store/=E2=80=A6-qtbase-5.9.1/plugins/=E2=80=A6

while most of the KDE program use

/gnu/store/=E2=80=A6-plasma-workspace-5.10.4/lib/plugins/=E2=80=A6= =C2=A0 (mind the additional `lib`)

which is not searched. Wondering why, I found this in qt.scm (qtbase):

=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 (sear= ch-path-specification
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 = (variable "QT_PLUGIN_PATH")
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 = (files '("plugins")))

This means that `lib/plugins` is *not* included in QT_PLUGIN_PATH and thus not searched. (Which I assume is the reason for many test-failures.)

Also in qt.scm (qtbase) there is:

=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0 (substitute* qt_config.prf
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 =E2=80=A6
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0 (("\\$\\$\\[QT_INSTALL_PLUGINS\\]")
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 "$$replace(dir, mkspecs/modules, plugin= s)")

I assume this should make the plugins to be in stalled in =E2=80=A6/plugins, but KDE framework is installing into =E2=80=A6/l= ib/plugins.

So I assume this is wrong or there are other places which need to be adpoted to the changed directory layout.

What do you think?

All of the written above is true for the `qml` directory.

--=20
Regards
Hartmut Goebel

| Hartmut Goebel          | h.goebel@crazy-compilers.com   =
            |
| www.crazy-compilers.com | compilers which you thought are impo=
ssible |
--------------42643E473A851FE80DB7FAF9-- --------------8E96DAFC286BF6318672B8AE Content-Type: application/pgp-keys; name="0xBF773B65.asc" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="0xBF773B65.asc" -----BEGIN PGP PUBLIC KEY BLOCK----- mQINBFJQM3oBEACiUXmMppc3+A7JpF3lPz8O/mRhfz1U6F4EOTlacTrCcm7Xg5U2 JsPPNapVr5+vHnKBK+xbaX3s/A/G+SwrUZhi1X1HRnSNY1CqL8CT7rZmOtfjg4Ex nOuCjie2bKhb9JKmlJ7MrNimIbNQoX1mRcQ4VMEflhyWfaPGbT73siuMkbr020Ex hzW8T18JIC01SgWMULYMBXOBoGY21am/vaTFCK8bym1P4HVN8i64uOWL0agkAMHb ju6SZtG2fYJ68eS3P/97bXRg1pveEdpaFgaFZhquecw4WdedwLwt1xNcjAg/p6tN 73W3asEZ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BFgLC1q/8vm8Y0+/CV69O+9rB3cm8oAVl OKLcQg+BdcnIwvU5ot7aZQ5u/75ALGyhMvOF/5Gf8KKVxlYg+nrsZN/8tNSqm489 dWwxfCqIrvxH/3hGjbkSt25bef0h7p7FIJe7h+cBWXTtm3Euh889nXccdfnqPUkY ardcAipeIQaggBZxiTH7cJYu1FaJlKWNt2mzVZRMiX79YCyDvAjSmkiB8AFMlspX Bo/d9Iy0ldRocCJzprSjz5XBFX6WxA0BmWWbdUade6CoBirib6fo8o+1TjZ86hv0 44pMWL9BTJp8KuJDpfHmiO8YQb6aZDOqcWfHyygBn/bYbi//GKa03j5Ij5INNJXZ MKO95dDUGyQf00JGQUCZ =7jty -----END PGP PUBLIC KEY BLOCK----- --------------8E96DAFC286BF6318672B8AE-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Danckaert Subject: Re: QT install and search paths Date: Thu, 24 Aug 2017 13:37:49 +0200 (CEST) Message-ID: <20170824.133749.1478354122253631402.post@thomasdanckaert.be> References: <42cac0e9-d948-3ea1-7312-d003751fd6a8@crazy-compilers.com> Mime-Version: 1.0 Content-Type: Text/Plain; charset=utf-8; format=flowed Content-Transfer-Encoding: base64 Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:44244) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dkqSj-0004ZH-5x for guix-devel@gnu.org; Thu, 24 Aug 2017 07:38:14 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dkqSf-0006oC-6u for guix-devel@gnu.org; Thu, 24 Aug 2017 07:38:13 -0400 Received: from s02-out3.spamexperts.axc.nl ([185.175.203.26]:46809) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1dkqSf-0006iJ-0J for guix-devel@gnu.org; Thu, 24 Aug 2017 07:38:09 -0400 In-Reply-To: <42cac0e9-d948-3ea1-7312-d003751fd6a8@crazy-compilers.com> List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: h.goebel@crazy-compilers.com Cc: guix-devel@gnu.org, iyzsong@gmail.com RnJvbTogSGFydG11dCBHb2ViZWwgPGguZ29lYmVsQGNyYXp5LWNvbXBpbGVycy5jb20+DQpTdWJq ZWN0OiBRVCBpbnN0YWxsIGFuZCBzZWFyY2ggcGF0aHMNCkRhdGU6IFdlZCwgMjMgQXVnIDIwMTcg MjA6MjU6MTAgKzAyMDANCg0KPiBbLi4uXSBJIGZvdW5kIHRoaXMgaW4gcXQuc2NtDQo+IChxdGJh c2UpOg0KPg0KPiDCoMKgwqDCoMKgwqDCoMKgwqDCoCAoc2VhcmNoLXBhdGgtc3BlY2lmaWNhdGlv bg0KPiDCoMKgwqDCoMKgwqDCoMKgwqDCoMKgICh2YXJpYWJsZSAiUVRfUExVR0lOX1BBVEgiKQ0K PiDCoMKgwqDCoMKgwqDCoMKgwqDCoMKgIChmaWxlcyAnKCJwbHVnaW5zIikpKQ0KPg0KPiBUaGlz IG1lYW5zIHRoYXQgYGxpYi9wbHVnaW5zYCBpcyAqbm90KiBpbmNsdWRlZCBpbiBRVF9QTFVHSU5f UEFUSA0KPiBhbmQgdGh1cyBub3Qgc2VhcmNoZWQuIChXaGljaCBJIGFzc3VtZSBpcyB0aGUgcmVh c29uIGZvciBtYW55DQo+IHRlc3QtZmFpbHVyZXMuKQ0KDQooaW5kZWVkLCBlLmcuIGZvciBrZGV2 cGxhdGZvcm0sIEkgc2V0IHRoZSBRVF9QTFVHSU5fUEFUSCBiZWZvcmUgDQpydW5uaW5nIHRlc3Rz KQ0KDQo+IEFsc28gaW4gcXQuc2NtIChxdGJhc2UpIHRoZXJlIGlzOg0KPg0KPiDCoMKgwqDCoMKg wqDCoMKgwqDCoMKgwqDCoMKgIChzdWJzdGl0dXR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iyzsong@member.fsf.org (=?utf-8?B?5a6L5paH5q2m?=) Subject: Re: QT install and search paths Date: Thu, 24 Aug 2017 19:59:30 +0800 Message-ID: <874lsxi3bx.fsf@member.fsf.org> References: <42cac0e9-d948-3ea1-7312-d003751fd6a8@crazy-compilers.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:47655) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dkqnY-0001eD-9B for guix-devel@gnu.org; Thu, 24 Aug 2017 07:59:45 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dkqnV-0008GK-67 for guix-devel@gnu.org; Thu, 24 Aug 2017 07:59:44 -0400 Received: from rezeros.cc ([2001:19f0:7001:2f3e:5400:ff:fe84:e55d]:38686) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1dkqnU-0008FH-MW for guix-devel@gnu.org; Thu, 24 Aug 2017 07:59:41 -0400 In-Reply-To: <42cac0e9-d948-3ea1-7312-d003751fd6a8@crazy-compilers.com> (Hartmut Goebel's message of "Wed, 23 Aug 2017 20:25:10 +0200") List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: Hartmut Goebel Cc: guix-devel Hartmut Goebel writes: > Hi, > > I'm currently working on the build of KDE's plasma-desktop. When strac-in= g the tets, I dicoverd that plaugins are searched in > > /gnu/store/=E2=80=A6-qtbase-5.9.1/plugins/=E2=80=A6 > > while most of the KDE program use > > /gnu/store/=E2=80=A6-plasma-workspace-5.10.4/lib/plugins/=E2=80=A6 (mind= the additional `lib`) > > which is not searched. Wondering why, I found this in qt.scm (qtbase): > > (search-path-specification > (variable "QT_PLUGIN_PATH") > (files '("plugins"))) > > This means that `lib/plugins` is *not* included in QT_PLUGIN_PATH and thu= s not searched. (Which I assume is the reason for many test-failures.) > > Also in qt.scm (qtbase) there is: > > (substitute* qt_config.prf > =E2=80=A6 > (("\$\$\[QT_INSTALL_PLUGINS\]") > "$$replace(dir, mkspecs/modules, plugins)") > > I assume this should make the plugins to be in stalled in =E2=80=A6/plugi= ns, Yes, 'dir' would be $out/mkspecs/modules, this will make a qmake based package install its Qt plugins into $out/plugins. > but KDE framework is installing into =E2=80=A6/lib/plugins. > > So I assume this is wrong or there are other places which need to be adpo= ted to the changed directory layout. > > What do you think? Currently, it doesn't follow a normal package layout, We should change it to (like it in Debian and ArchLinux): ARCHDATA: lib/qt DATA: share/qt DOCS: share/doc/qt HEADERS: include/qt LIBS: lib PLUGINS: lib/qt/plugins LIBEXECS: lib/qt/libexec BINS: bin IMPORTS: lib/qt/imports QML: lib/qt/qml EXAMPLES: share/doc/qt/examples Which need adjust the configure flags, search-patchs and the qt_config.prf of our qtbase package (and maybe some kde ones, I don't know). From mboxrd@z Thu Jan 1 00:00:00 1970 From: Hartmut Goebel Subject: Re: QT install and search paths Date: Fri, 25 Aug 2017 09:06:55 +0200 Message-ID: <4a1d7083-eb0a-9c79-fd54-686b822da5ed@crazy-compilers.com> References: <42cac0e9-d948-3ea1-7312-d003751fd6a8@crazy-compilers.com> <874lsxi3bx.fsf@member.fsf.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:44363) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dl8hs-0003ij-JY for guix-devel@gnu.org; Fri, 25 Aug 2017 03:07:05 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dl8hp-000776-QL for guix-devel@gnu.org; Fri, 25 Aug 2017 03:07:04 -0400 Received: from mail-out.m-online.net ([2001:a60:0:28:0:1:25:1]:36796) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1dl8hp-00075R-KB for guix-devel@gnu.org; Fri, 25 Aug 2017 03:07:01 -0400 In-Reply-To: <874lsxi3bx.fsf@member.fsf.org> Content-Language: en-US List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: =?UTF-8?B?5a6L5paH5q2m?= Cc: guix-devel Am 24.08.2017 um 13:59 schrieb =E5=AE=8B=E6=96=87=E6=AD=A6: > Currently, it doesn't follow a normal package layout, We should change > it to (like it in Debian and ArchLinux): I'd support this. What do you think about using "=E2=80=A6/qt5" instead of just "=E2=80=A6/= qt", like Fedora does. IMHO this is not a bad idea. > Which need adjust the configure flags, search-patchs and the > qt_config.prf of our qtbase package (and maybe some kde ones, I don't > know). Can you take care of this? I can take care of kde-frameworks.scm. Maybe we can work on a different branch until we finished all packages. --=20 Regards Hartmut Goebel | Hartmut Goebel | h.goebel@crazy-compilers.com | | www.crazy-compilers.com | compilers which you thought are impossible | From mboxrd@z Thu Jan 1 00:00:00 1970 From: Hartmut Goebel Subject: Re: QT install and search paths Date: Fri, 25 Aug 2017 09:32:32 +0200 Message-ID: <5af4a60b-b096-84cb-c72f-256051c2e6fe@crazy-compilers.com> References: <42cac0e9-d948-3ea1-7312-d003751fd6a8@crazy-compilers.com> <20170824.133749.1478354122253631402.post@thomasdanckaert.be> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:58349) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dl96e-0003Ty-2A for guix-devel@gnu.org; Fri, 25 Aug 2017 03:32:41 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dl96Z-00024I-Tn for guix-devel@gnu.org; Fri, 25 Aug 2017 03:32:40 -0400 Received: from mail-out.m-online.net ([212.18.0.10]:33728) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1dl96Z-00023f-Nz for guix-devel@gnu.org; Fri, 25 Aug 2017 03:32:35 -0400 In-Reply-To: <20170824.133749.1478354122253631402.post@thomasdanckaert.be> Content-Language: en-US List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: Thomas Danckaert Cc: guix-devel@gnu.org, iyzsong@gmail.com Am 24.08.2017 um 13:37 schrieb Thomas Danckaert: > Either way, I think qtbase's QT_PLUGIN_PATH setting only has an effect > if a user installs qtbase directly in their profile [=E2=80=A6] so > applications using these plugins will still need to set the correct > environment variable themselves somehow? Do my understanding, "search-paths" will make the the listed paths of all installed packages to be added to the named variable. Thus in this case the package would "just" need to ensure all it's dependencies are installed. The rest is done automatically. Which leads to another, different problem: For this to work AFAIU the package needs to propagate all the plugins, etc. it is using. Which is not nice, and which I assume is the resume from > https://lists.gnu.org/archive/html/guix-devel/2016-12/msg00776.html > > For the kdevelop package, I wrapped the executable, setting a bunch of > Qt-related environment variables. This works as a stop-gap, but it > will break down when a user uses multiple Qt/KDE applications with > different plugin requirements (some KDE daemons, such as kdeinit, need > to find all their plugins at the moment they are started). Nice idea! But unfortunately this is not a solution in the long term =E2=80= =93 since it would require this to be done for each and every KDE and even QT application. > Ludo suggested using a profile hook to set the required environment > variables depending on the installed applications, but I never looked > into it further because wrapping the executable was =E2=80=9Cgood enoug= h=E2=80=9D > for. For a KDE desktop, I think you'll need a better solution.=20 I'd appreciate if you could have a look at this. I have some other todos on my lit with higher priority, but this problems are a show-stopper for my efforts on the plasma-desktop (which are much more time-consuming than I thought). --=20 Regards Hartmut Goebel | Hartmut Goebel | h.goebel@crazy-compilers.com | | www.crazy-compilers.com | compilers which you thought are impossible | From mboxrd@z Thu Jan 1 00:00:00 1970 From: iyzsong@member.fsf.org (=?utf-8?B?5a6L5paH5q2m?=) Subject: Re: QT install and search paths Date: Fri, 25 Aug 2017 20:40:03 +0800 Message-ID: <87378fkeho.fsf@member.fsf.org> References: <42cac0e9-d948-3ea1-7312-d003751fd6a8@crazy-compilers.com> <874lsxi3bx.fsf@member.fsf.org> <4a1d7083-eb0a-9c79-fd54-686b822da5ed@crazy-compilers.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:53501) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dlDuS-0005Zu-D4 for guix-devel@gnu.org; Fri, 25 Aug 2017 08:40:25 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dlDuN-00024j-H6 for guix-devel@gnu.org; Fri, 25 Aug 2017 08:40:24 -0400 Received: from rezeros.cc ([2001:19f0:7001:2f3e:5400:ff:fe84:e55d]:38692) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1dlDuN-000242-1g for guix-devel@gnu.org; Fri, 25 Aug 2017 08:40:19 -0400 In-Reply-To: <4a1d7083-eb0a-9c79-fd54-686b822da5ed@crazy-compilers.com> (Hartmut Goebel's message of "Fri, 25 Aug 2017 09:06:55 +0200") List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: Hartmut Goebel Cc: guix-devel Hartmut Goebel writes: > Am 24.08.2017 um 13:59 schrieb =E5=AE=8B=E6=96=87=E6=AD=A6: >> Currently, it doesn't follow a normal package layout, We should change >> it to (like it in Debian and ArchLinux): > > I'd support this. > > What do you think about using "=E2=80=A6/qt5" instead of just "=E2=80=A6/= qt", like > Fedora does. IMHO this is not a bad idea. Sure,=20 > >> Which need adjust the configure flags, search-patchs and the >> qt_config.prf of our qtbase package (and maybe some kde ones, I don't >> know). > > Can you take care of this? I can take care of kde-frameworks.scm. Maybe > we can work on a different branch until we finished all packages. Okay, I'll reply to this thread once I got qtbase adjusted. From mboxrd@z Thu Jan 1 00:00:00 1970 From: iyzsong@member.fsf.org (=?utf-8?B?5a6L5paH5q2m?=) Subject: Re: QT install and search paths Date: Sat, 26 Aug 2017 00:04:04 +0800 Message-ID: <87o9r3iqh7.fsf@member.fsf.org> References: <42cac0e9-d948-3ea1-7312-d003751fd6a8@crazy-compilers.com> <874lsxi3bx.fsf@member.fsf.org> <4a1d7083-eb0a-9c79-fd54-686b822da5ed@crazy-compilers.com> <87378fkeho.fsf@member.fsf.org> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:41180) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dlH5w-0003Qk-3H for guix-devel@gnu.org; Fri, 25 Aug 2017 12:04:29 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dlH5r-0002sg-Gz for guix-devel@gnu.org; Fri, 25 Aug 2017 12:04:27 -0400 Received: from rezeros.cc ([45.76.207.221]:50416) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1dlH5r-0002ql-2D for guix-devel@gnu.org; Fri, 25 Aug 2017 12:04:23 -0400 In-Reply-To: <87378fkeho.fsf@member.fsf.org> (=?utf-8?B?IuWui+aWh+atpiIn?= =?utf-8?B?cw==?= message of "Fri, 25 Aug 2017 20:40:03 +0800") List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: Hartmut Goebel Cc: guix-devel --=-=-= Content-Type: text/plain Here is a patch to adjust the directory layout of qtbase: --=-=-= Content-Type: text/x-patch Content-Disposition: attachment; filename=0001-gnu-qtbase-Use-a-more-standard-directory-layout.patch >From b264ccfdec5c7334ef7e428c8b483bc673edc393 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=AE=8B=E6=96=87=E6=AD=A6?= Date: Fri, 25 Aug 2017 22:52:41 +0800 Subject: [PATCH] gnu: qtbase: Use a more standard directory layout. * gnu/packages/qt.scm (qtbase)[arguments]: Pass docdir, headerdir, archdatadir, datadir and examplesdir to 'configure'. Ajdust the patch-qt_config.prf phase accordingly. [native-search-paths]: Adjust accordingly. --- gnu/packages/qt.scm | 31 +++++++++++++++---------------- 1 file changed, 15 insertions(+), 16 deletions(-) diff --git a/gnu/packages/qt.scm b/gnu/packages/qt.scm index 3e3588a50..2d7c83ae5 100644 --- a/gnu/packages/qt.scm +++ b/gnu/packages/qt.scm @@ -459,6 +459,12 @@ developers using C++ or QML, a CSS & JavaScript like language.") "./configure" "-verbose" "-prefix" out + "-docdir" (string-append out "/share/doc/qt5") + "-headerdir" (string-append out "/include/qt5") + "-archdatadir" (string-append out "/lib/qt5") + "-datadir" (string-append out "/share/qt5") + "-examplesdir" (string-append + out "/share/doc/qt5/examples") "-opensource" "-confirm-license" ;; Do not build examples; if desired, these could go @@ -488,38 +494,31 @@ developers using C++ or QML, a CSS & JavaScript like language.") (add-after 'install 'patch-qt_config.prf (lambda* (#:key outputs #:allow-other-keys) (let* ((out (assoc-ref outputs "out")) + (mkspecs (string-append out "/lib/qt5/mkspecs")) (qt_config.prf (string-append - out "/mkspecs/features/qt_config.prf"))) + mkspecs "/features/qt_config.prf"))) ;; For each Qt module, let `qmake' uses search paths in the ;; module directory instead of all in QT_INSTALL_PREFIX. (substitute* qt_config.prf (("\\$\\$\\[QT_INSTALL_HEADERS\\]") - "$$replace(dir, mkspecs/modules, include)") + "$$clean_path($$replace(dir, mkspecs/modules, ../../include/qt5))") (("\\$\\$\\[QT_INSTALL_LIBS\\]") - "$$replace(dir, mkspecs/modules, lib)") + "$$clean_path($$replace(dir, mkspecs/modules, ../../lib))") (("\\$\\$\\[QT_HOST_LIBS\\]") - "$$replace(dir, mkspecs/modules, lib)") - (("\\$\\$\\[QT_INSTALL_PLUGINS\\]") - "$$replace(dir, mkspecs/modules, plugins)") - (("\\$\\$\\[QT_INSTALL_LIBEXECS\\]") - "$$replace(dir, mkspecs/modules, libexec)") + "$$clean_path($$replace(dir, mkspecs/modules, ../../lib))") (("\\$\\$\\[QT_INSTALL_BINS\\]") - "$$replace(dir, mkspecs/modules, bin)") - (("\\$\\$\\[QT_INSTALL_IMPORTS\\]") - "$$replace(dir, mkspecs/modules, imports)") - (("\\$\\$\\[QT_INSTALL_QML\\]") - "$$replace(dir, mkspecs/modules, qml)")) + "$$clean_path($$replace(dir, mkspecs/modules, ../../bin))")) #t)))))) (native-search-paths (list (search-path-specification (variable "QMAKEPATH") - (files '(""))) + (files '("lib/qt5"))) (search-path-specification (variable "QML2_IMPORT_PATH") - (files '("qml"))) + (files '("lib/qt5/qml"))) (search-path-specification (variable "QT_PLUGIN_PATH") - (files '("plugins"))) + (files '("lib/qt5/plugins"))) (search-path-specification (variable "XDG_DATA_DIRS") (files '("share"))) -- 2.13.3 --=-=-= Content-Type: text/plain I have built qtscript with it, which looks fine so far. --=-=-=-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: Hartmut Goebel Subject: Re: QT install and search paths Date: Sat, 26 Aug 2017 10:31:47 +0200 Message-ID: <07515efe-47ad-a836-735b-dc5f362602f7@crazy-compilers.com> References: <42cac0e9-d948-3ea1-7312-d003751fd6a8@crazy-compilers.com> <874lsxi3bx.fsf@member.fsf.org> <4a1d7083-eb0a-9c79-fd54-686b822da5ed@crazy-compilers.com> <87378fkeho.fsf@member.fsf.org> <87o9r3iqh7.fsf@member.fsf.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:43038) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dlWVY-0003T1-Uq for guix-devel@gnu.org; Sat, 26 Aug 2017 04:31:57 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dlWVU-0002we-PD for guix-devel@gnu.org; Sat, 26 Aug 2017 04:31:56 -0400 Received: from mail-out.m-online.net ([212.18.0.9]:49205) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1dlWVU-0002vW-Im for guix-devel@gnu.org; Sat, 26 Aug 2017 04:31:52 -0400 In-Reply-To: <87o9r3iqh7.fsf@member.fsf.org> Content-Language: en-US List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: =?UTF-8?B?5a6L5paH5q2m?= Cc: guix-devel Am 25.08.2017 um 18:04 schrieb =E5=AE=8B=E6=96=87=E6=AD=A6: > Here is a patch to adjust the directory layout of qtbase: Thanks a lot! I merged it in my kde-plama branch and just started a new build for kde-frameworks and plasma-desktop. I'll report my insights. --=20 Regards Hartmut Goebel | Hartmut Goebel | h.goebel@crazy-compilers.com | | www.crazy-compilers.com | compilers which you thought are impossible | From mboxrd@z Thu Jan 1 00:00:00 1970 From: Hartmut Goebel Subject: Re: QT install and search paths Date: Sun, 27 Aug 2017 18:49:32 +0200 Message-ID: References: <42cac0e9-d948-3ea1-7312-d003751fd6a8@crazy-compilers.com> <874lsxi3bx.fsf@member.fsf.org> <4a1d7083-eb0a-9c79-fd54-686b822da5ed@crazy-compilers.com> <87378fkeho.fsf@member.fsf.org> <87o9r3iqh7.fsf@member.fsf.org> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="------------C09D8A48B556F98C185F6003" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:48691) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dm0kn-0001kr-MY for guix-devel@gnu.org; Sun, 27 Aug 2017 12:49:43 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dm0kk-0007cN-Fe for guix-devel@gnu.org; Sun, 27 Aug 2017 12:49:41 -0400 Received: from mail-out.m-online.net ([212.18.0.9]:44900) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1dm0kk-0007bF-4N for guix-devel@gnu.org; Sun, 27 Aug 2017 12:49:38 -0400 In-Reply-To: <87o9r3iqh7.fsf@member.fsf.org> Content-Language: en-US List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: =?UTF-8?B?5a6L5paH5q2m?= Cc: guix-devel This is a multi-part message in MIME format. --------------C09D8A48B556F98C185F6003 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Am 25.08.2017 um 18:04 schrieb =E5=AE=8B=E6=96=87=E6=AD=A6: > Here is a patch to adjust the directory layout of qtbase: I tested this patch and building qtwayland failed: cd /tmp/guix-build-qtwayland-5.9.1.drv-0/qtwayland-opensource-src-5.9.1/test= s/auto/client/client =2E/target_wrapper.sh=C2=A0 ./tst_client The error message is (which is misleading, see below) This application failed to start because it could not find or load the Qt platform plugin "wayland" in "". Available platform plugins are: eglfs, linuxfb, minimal, minimalegl, offscreen, vnc, xcb, wayland-egl, wayland, wayland-xcomposite-egl, wayland-xcomposite-glx. I searched the internet for this without any useful result (I did not search too long, though). But there was a hint pointing to some missing library. And indeed the strace output (see below, shortened) shows: the platform plugin is found, but it requires libQt5WaylandClient.so.5 which is searched without success. The file exists in /tmp/guix-build-qtwayland-5.9.1.drv-0/qtwayland-opensource-src-5.9.1/lib/= , so it is part of qtwayland but not yet installed. It is searched in several sub-directories of /tmp/guix-build-=E2=80=A6/qtwayland-opensource-src-5.9.1/plugins/platform= s/../../../ (which is the /tmp/guix-build-qtwayland-5.9.1.drv-0 directory), but not in =E2=80=A6/lib. I did not find out how to 15562 open("/tmp/guix-build-qtwayland-5.9.1.drv-0/qtwayland-opensource-src-5.9.= 1/plugins/platforms/libqwayland-generic.so", O_RDONLY|O_CLOEXEC) =3D 8 15562 read(8, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0`\24\0\0\0\0\0\0"..., 832) =3D 832 =E2=80=A6 15562 open("/gnu/store/dnmbw43sl6yx82awzj8c0y4wcjz5z2kd-qtbase-5.9.1/lib/libQt5= WaylandClient.so.5", O_RDONLY|O_CLOEXEC) =3D -1 ENOENT (No such file or directory) 15562 open("/tmp/guix-build-qtwayland-5.9.1.drv-0/qtwayland-opensource-src-5.9.= 1/plugins/platforms/../../../tls/x86_64/libQt5WaylandClient.so.5", O_RDONLY|O_CLOEXEC) =3D -1 ENOENT (No such file or directory) 15562 stat("/tmp/guix-build-qtwayland-5.9.1.drv-0/qtwayland-opensource-src-5.9.= 1/plugins/platforms/../../../tls/x86_64", 0x7ffc321fe710) =3D -1 ENOENT (No such file or directory) 15562 open("/tmp/guix-build-qtwayland-5.9.1.drv-0/qtwayland-opensource-src-5.9.= 1/plugins/platforms/../../../tls/libQt5WaylandClient.so.5", O_RDONLY|O_CLOEXEC) =3D -1 ENOENT (No such file or directory) 15562 stat("/tmp/guix-build-qtwayland-5.9.1.drv-0/qtwayland-opensource-src-5.9.= 1/plugins/platforms/../../../tls", 0x7ffc321fe710) =3D -1 ENOENT (No such file or directory) 15562 open("/tmp/guix-build-qtwayland-5.9.1.drv-0/qtwayland-opensource-src-5.9.= 1/plugins/platforms/../../../x86_64/libQt5WaylandClient.so.5", O_RDONLY|O_CLOEXEC) =3D -1 ENOENT (No such file or directory) 15562 stat("/tmp/guix-build-qtwayland-5.9.1.drv-0/qtwayland-opensource-src-5.9.= 1/plugins/platforms/../../../x86_64", 0x7ffc321fe710) =3D -1 ENOENT (No such file or directory) 15562 open("/tmp/guix-build-qtwayland-5.9.1.drv-0/qtwayland-opensource-src-5.9.= 1/plugins/platforms/../../../libQt5WaylandClient.so.5", O_RDONLY|O_CLOEXEC) =3D -1 ENOENT (No such file or directory) 15562 stat("/tmp/guix-build-qtwayland-5.9.1.drv-0/qtwayland-opensource-src-5.9.= 1/plugins/platforms/../../..", {st_mode=3DS_IFDIR|0755, st_size=3D100, ...}) =3D 0 15562 open("/gnu/store/rmjlycdgiq8pfy5hfi42qhw3k7p6kdav-glibc-2.25/lib/libQt5Wa= ylandClient.so.5", O_RDONLY|O_CLOEXEC) =3D -1 ENOENT (No such file or directory) Thinks I tried to solve this: - setting |QT_QPA_PLATFORM_PLUGIN_PATH - creating a file |qt.conf in the app folder Things I did *not* try: - reading http://www.tripleboot.org/?p=3D138 =E2=80=93 to long :-) Another insight: - export QT_DEBUG_PLUGINS=3D1 makes qt report useful messages. || --=20 Regards Hartmut Goebel | Hartmut Goebel | h.goebel@crazy-compilers.com | | www.crazy-compilers.com | compilers which you thought are impossible | --------------C09D8A48B556F98C185F6003 Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: quoted-printable
Am 25.08.2017 um 18:04 schrieb =E5=AE=8B= =E6=96=87=E6=AD=A6:
Here is a patch to adjust the directory layout of qt=
base:

I tested this patch and building qtwayland failed:

cd /tmp/guix-build-qtwayland-5.9.1.drv-0/qtwayland-opensource-src-5.9.1/test= s/auto/client/client
./target_wrapper.sh=C2=A0 ./tst_client

The error message is (which is misleading, see below)

This application failed to start because it could not find or load the Qt platform plugin "wayland"
in "".

Available platform plugins are: eglfs, linuxfb, minimal, minimalegl, offscreen, vnc, xcb, wayland-egl, wayland, wayland-xcomposite-egl, wayland-xcomposite-glx.
I searched the internet for this without any useful result (I did not search too long, though). But there was a hint pointing to some missing library. And indeed the strace output (see below, shortened) shows: the platform plugin is found, but it requires libQt5WaylandClient.so.5 which is searched without success. The file exists in /tmp/guix-build-qtwayland-5.9.1.drv-0/qtwayland-opensource-src-5.9.1/lib/= , so it is part of qtwayland but not yet installed.

It is searched in several sub-directories of /tmp/guix-build-=E2=80=A6/qtwayland-opensource-src-5.9.1/plugins/platform= s/../../../ (which is the /tmp/guix-build-qtwayland-5.9.1.drv-0 directory), but not in =E2=80=A6/lib. I did not find out how to

15562 open("/tmp/guix-build-qtwayland-5.9.1.drv-0/qtwayland-opensource-src-5.9.= 1/plugins/platforms/libqwayland-generic.so", O_RDONLY|O_CLOEXEC) =3D 8
15562 read(8, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0`\24\0\0\0\0\0\0"..= ., 832) =3D 832
=E2=80=A6
15562 open("/gnu/store/dnmbw43sl6yx82awzj8c0y4wcjz5z2kd-qtbase-5.9.1/lib/libQt5= WaylandClient.so.5", O_RDONLY|O_CLOEXEC) =3D -1 ENOENT (No such file or directory)
15562 open("/tmp/guix-build-qtwayland-5.9.1.drv-0/qtwayland-opensource-src-5.9.= 1/plugins/platforms/../../../tls/x86_64/libQt5WaylandClient.so.5", O_RDONLY|O_CLOEXEC) =3D -1 ENOENT (No such file or directory)
15562 stat("/tmp/guix-build-qtwayland-5.9.1.drv-0/qtwayland-opensource-src-5.9.= 1/plugins/platforms/../../../tls/x86_64", 0x7ffc321fe710) =3D -1 ENOENT (No such file or directory)
15562 open("/tmp/guix-build-qtwayland-5.9.1.drv-0/qtwayland-opensource-src-5.9.= 1/plugins/platforms/../../../tls/libQt5WaylandClient.so.5", O_RDONLY|O_CLOEXEC) =3D -1 ENOENT (No such file or directory)
15562 stat("/tmp/guix-build-qtwayland-5.9.1.drv-0/qtwayland-opensource-src-5.9.= 1/plugins/platforms/../../../tls", 0x7ffc321fe710) =3D -1 ENOENT (No such file or directory)
15562 open("/tmp/guix-build-qtwayland-5.9.1.drv-0/qtwayland-opensource-src-5.9.= 1/plugins/platforms/../../../x86_64/libQt5WaylandClient.so.5", O_RDONLY|O_CLOEXEC) =3D -1 ENOENT (No such file or directory)
15562 stat("/tmp/guix-build-qtwayland-5.9.1.drv-0/qtwayland-opensource-src-5.9.= 1/plugins/platforms/../../../x86_64", 0x7ffc321fe710) =3D -1 ENOENT (No such file or directory)
15562 open("/tmp/guix-build-qtwayland-5.9.1.drv-0/qtwayland-opensource-src-5.9.= 1/plugins/platforms/../../../libQt5WaylandClient.so.5", O_RDONLY|O_CLOEXEC) =3D -1 ENOENT (No such file or directory)
15562 stat("/tmp/guix-build-qtwayland-5.9.1.drv-0/qtwayland-opensource-src-5.9.= 1/plugins/platforms/../../..", {st_mode=3DS_IFDIR|0755, st_size=3D100, ...}) =3D 0
15562 open("/gnu/store/rmjlycdgiq8pfy5hfi42qhw3k7p6kdav-glibc-2.25/lib/libQt5Wa= ylandClient.so.5", O_RDONLY|O_CLOEXEC) =3D -1 ENOENT (No such file or directory)


Thinks I tried to solve this:
- setting QT_QPA_PLATFORM_PLUGIN_PATH
- creating a file
qt.conf in the app folder

Things I did *not* try:
- reading http://www.tripleboot.org/?p=3D138 =E2=80=93 to l= ong :-)

Another insight:
- export QT_DEBUG_PLUGINS=3D1 makes qt report useful messages.
--=20
Regards
Hartmut Goebel

| Hartmut Goebel          | h.goebel@crazy-compilers.com   =
            |
| www.crazy-compilers.com | compilers which you thought are impo=
ssible |
--------------C09D8A48B556F98C185F6003-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: Hartmut Goebel Subject: Re: QT install and search paths Date: Sat, 2 Sep 2017 18:40:44 +0200 Message-ID: <0f97b74f-282d-9996-aa61-d3084e164b09@crazy-compilers.com> References: <42cac0e9-d948-3ea1-7312-d003751fd6a8@crazy-compilers.com> <874lsxi3bx.fsf@member.fsf.org> <4a1d7083-eb0a-9c79-fd54-686b822da5ed@crazy-compilers.com> <87378fkeho.fsf@member.fsf.org> <87o9r3iqh7.fsf@member.fsf.org> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="------------8A4A0FEF1B8FEF2867CB84B4" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:54607) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1doBTb-0001cK-PO for guix-devel@gnu.org; Sat, 02 Sep 2017 12:41:01 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1doBTW-0004Ft-SC for guix-devel@gnu.org; Sat, 02 Sep 2017 12:40:55 -0400 Received: from mail-out.m-online.net ([212.18.0.9]:51059) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1doBTW-0004FE-B5 for guix-devel@gnu.org; Sat, 02 Sep 2017 12:40:50 -0400 In-Reply-To: Content-Language: en-US List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: =?UTF-8?B?5a6L5paH5q2m?= Cc: guix-devel , Thomas Danckaert This is a multi-part message in MIME format. --------------8A4A0FEF1B8FEF2867CB84B4 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Am 27.08.2017 um 18:49 schrieb Hartmut Goebel: > It is searched in several sub-directories of > /tmp/guix-build-=E2=80=A6/qtwayland-opensource-src-5.9.1/plugins/platfo= rms/../../../ > (which is the /tmp/guix-build-qtwayland-5.9.1.drv-0 directory), but > not in =E2=80=A6/lib. I did not find out how to Uff, I tracked this down in a heavy thinking session. * This search-path stems from the libraries RUNPATH, which was $ORIGIN/../../lib and is now only $ORIGIN/../../../ * The RUNPATH is set in /gnu/store/=E2=80=A6-qtbase-5.9.1/lib/qt5/mkspecs/features/qt.prf lin= e 272, using the relative path from $$qtRelativeRPathBase (which equals $target.path, which is /gnu/store/=E2=80=A6-qtbase-5.9.1/lib/qt5/plugins/platforms) to $QT_INSTALL_LIBS (which is /gnu/store/=E2=80=A6-qtbase-5.9.1/lib).=C2= =A0 This relative path obviously is ../../../ . * Prior to this patch we installed the plugins into =E2=80=A6-qtbase-5.9.1/plugins, which results in the aforementioned r= elative path to be ../../lib and the RUNPATH to be set to $ORIGIN/../../lib. Conclusions: 1. It's been pure luck that the qtwayland tests passed prior to this chan= ge. 2. Do make the tests pass, we need to set LD_LIBRARY_PATH prior to running the tests 3. tests of other packages may fail for the same reason. I'll take care of the packages in kde-frameworks.scm, I assume/hope Thomas will take care of the ones in kde.scm. =E5=AE=8B=E6=96=87=E6=AD=A6, how can we coordinate the required changes? = Should they go into one patch? Or into a series? --=20 Regards Hartmut Goebel | Hartmut Goebel | h.goebel@crazy-compilers.com | | www.crazy-compilers.com | compilers which you thought are impossible | --------------8A4A0FEF1B8FEF2867CB84B4 Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: quoted-printable
Am 27.08.2017 um 18:49 schrieb Hartmut Goebel:
It is searched in several sub-directories of /tmp/guix-build-=E2=80=A6/qtwayland-opensource-src-5.9.1/plugins/platform= s/../../../ (which is the /tmp/guix-build-qtwayland-5.9.1.drv-0 directory), but not in =E2=80=A6/lib. I did not find out how to

Uff, I tracked this down in a heavy thinking session.
  • This search-path stems from the libraries RUNPATH, which was $ORIGIN/../../lib and is now only $ORIGIN/../../../

  • The RUNPATH is set in /gnu/store/=E2=80=A6-qtbase-5.9.1/lib/qt5/mkspecs/features/qt.p= rf line 272, using the relative path from $$qtRelativeRPathBase (which equals $target.path, which is /gnu/store/=E2=80=A6-qtbase-5.9.1/lib/qt5/plugins/platforms) to $QT_INSTALL_LIBS (which is /gnu/store/=E2=80=A6-qtbase-5.9.1/li= b).=C2=A0 This relative path obviously is ../../../ .

  • Prior to this patch we installed the plugins into =E2=80=A6-qtbase-5.9.1/plugins, which results in the aforementi= oned relative path to be ../../lib and the RUNPATH to be set to $ORIGIN/../../lib.

Conclusions:

1. It's been pure luck that the qtwayland tests passed prior to this change.

2. Do make the tests pass, we need to set LD_LIBRARY_PATH prior to running the tests

3. tests of other packages may fail for the same reason.

I'll take care of the packages in kde-frameworks.scm, I assume/hope Thomas will take care of the ones in kde.scm.

=E5=AE=8B=E6=96=87=E6=AD=A6, how can we coordinate the required ch= anges? Should they go into one patch? Or into a series?

--
Regards
Hartmut Goebel

| Hartmut Goebel          | h.goebel@crazy-compilers.com   =
            |
| www.crazy-compilers.com | compilers which you thought are impo=
ssible |
--------------8A4A0FEF1B8FEF2867CB84B4-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: iyzsong@member.fsf.org (=?utf-8?B?5a6L5paH5q2m?=) Subject: Re: QT install and search paths Date: Sun, 03 Sep 2017 12:58:04 +0800 Message-ID: <878thwbcpv.fsf@member.fsf.org> References: <42cac0e9-d948-3ea1-7312-d003751fd6a8@crazy-compilers.com> <874lsxi3bx.fsf@member.fsf.org> <4a1d7083-eb0a-9c79-fd54-686b822da5ed@crazy-compilers.com> <87378fkeho.fsf@member.fsf.org> <87o9r3iqh7.fsf@member.fsf.org> <0f97b74f-282d-9996-aa61-d3084e164b09@crazy-compilers.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:40416) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1doMzG-0003vl-My for guix-devel@gnu.org; Sun, 03 Sep 2017 00:58:28 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1doMzB-00066M-7Y for guix-devel@gnu.org; Sun, 03 Sep 2017 00:58:22 -0400 Received: from rezeros.cc ([2001:19f0:7001:2f3e:5400:ff:fe84:e55d]:40514) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1doMzA-00060d-LQ for guix-devel@gnu.org; Sun, 03 Sep 2017 00:58:17 -0400 In-Reply-To: <0f97b74f-282d-9996-aa61-d3084e164b09@crazy-compilers.com> (Hartmut Goebel's message of "Sat, 2 Sep 2017 18:40:44 +0200") List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: Hartmut Goebel Cc: guix-devel , Thomas Danckaert --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Hartmut Goebel writes: > Am 27.08.2017 um 18:49 schrieb Hartmut Goebel: > > It is searched in several sub-directories of /tmp/guix-build-=E2=80=A6/q= twayland-opensource-src-5.9.1/plugins/platforms/../../../ (which is the > /tmp/guix-build-qtwayland-5.9.1.drv-0 directory), but not in =E2=80=A6/l= ib. I did not find out how to > > Uff, I tracked this down in a heavy thinking session. > > * This search-path stems from the libraries RUNPATH, which was $ORIGIN/..= /../lib and is now only $ORIGIN/../../../ > > * The RUNPATH is set in /gnu/store/=E2=80=A6-qtbase-5.9.1/lib/qt5/mkspecs= /features/qt.prf line 272, using the relative path from $$qtRelativeRPathBa= se (which equals > $target.path, which is /gnu/store/=E2=80=A6-qtbase-5.9.1/lib/qt5/plugins= /platforms) to $QT_INSTALL_LIBS (which is /gnu/store/=E2=80=A6-qtbase-5.9.1= /lib). This relative path obviously is > ../../../ . > > * Prior to this patch we installed the plugins into =E2=80=A6-qtbase-5.9.= 1/plugins, which results in the aforementioned relative path to be ../../li= b and the RUNPATH to be set to > $ORIGIN/../../lib. Oh, that's right, thanks! > > Conclusions: > > 1. It's been pure luck that the qtwayland tests passed prior to this chan= ge. > > 2. Do make the tests pass, we need to set LD_LIBRARY_PATH prior to runnin= g the tests > Yeah, patch updated with qtwayland fixed: --=-=-= Content-Type: text/x-patch Content-Disposition: attachment; filename=0001-gnu-qtbase-Use-a-more-standard-directory-layout.patch >From 18da38fbed889c482db6bab91749f63f7adbde5b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=AE=8B=E6=96=87=E6=AD=A6?= Date: Fri, 25 Aug 2017 22:52:41 +0800 Subject: [PATCH] gnu: qtbase: Use a more standard directory layout. * gnu/packages/qt.scm (qtbase)[arguments]: Pass docdir, headerdir, archdatadir, datadir and examplesdir to 'configure'. Ajdust the patch-qt_config.prf phase accordingly. [native-search-paths]: Adjust accordingly. (qtwayland)[arguments]: New field. Co-authored-by: Hartmut Goebel --- gnu/packages/qt.scm | 43 +++++++++++++++++++++++++++---------------- 1 file changed, 27 insertions(+), 16 deletions(-) diff --git a/gnu/packages/qt.scm b/gnu/packages/qt.scm index 3e3588a50..80508f058 100644 --- a/gnu/packages/qt.scm +++ b/gnu/packages/qt.scm @@ -459,6 +459,12 @@ developers using C++ or QML, a CSS & JavaScript like language.") "./configure" "-verbose" "-prefix" out + "-docdir" (string-append out "/share/doc/qt5") + "-headerdir" (string-append out "/include/qt5") + "-archdatadir" (string-append out "/lib/qt5") + "-datadir" (string-append out "/share/qt5") + "-examplesdir" (string-append + out "/share/doc/qt5/examples") "-opensource" "-confirm-license" ;; Do not build examples; if desired, these could go @@ -488,38 +494,31 @@ developers using C++ or QML, a CSS & JavaScript like language.") (add-after 'install 'patch-qt_config.prf (lambda* (#:key outputs #:allow-other-keys) (let* ((out (assoc-ref outputs "out")) + (mkspecs (string-append out "/lib/qt5/mkspecs")) (qt_config.prf (string-append - out "/mkspecs/features/qt_config.prf"))) + mkspecs "/features/qt_config.prf"))) ;; For each Qt module, let `qmake' uses search paths in the ;; module directory instead of all in QT_INSTALL_PREFIX. (substitute* qt_config.prf (("\\$\\$\\[QT_INSTALL_HEADERS\\]") - "$$replace(dir, mkspecs/modules, include)") + "$$clean_path($$replace(dir, mkspecs/modules, ../../include/qt5))") (("\\$\\$\\[QT_INSTALL_LIBS\\]") - "$$replace(dir, mkspecs/modules, lib)") + "$$clean_path($$replace(dir, mkspecs/modules, ../../lib))") (("\\$\\$\\[QT_HOST_LIBS\\]") - "$$replace(dir, mkspecs/modules, lib)") - (("\\$\\$\\[QT_INSTALL_PLUGINS\\]") - "$$replace(dir, mkspecs/modules, plugins)") - (("\\$\\$\\[QT_INSTALL_LIBEXECS\\]") - "$$replace(dir, mkspecs/modules, libexec)") + "$$clean_path($$replace(dir, mkspecs/modules, ../../lib))") (("\\$\\$\\[QT_INSTALL_BINS\\]") - "$$replace(dir, mkspecs/modules, bin)") - (("\\$\\$\\[QT_INSTALL_IMPORTS\\]") - "$$replace(dir, mkspecs/modules, imports)") - (("\\$\\$\\[QT_INSTALL_QML\\]") - "$$replace(dir, mkspecs/modules, qml)")) + "$$clean_path($$replace(dir, mkspecs/modules, ../../bin))")) #t)))))) (native-search-paths (list (search-path-specification (variable "QMAKEPATH") - (files '(""))) + (files '("lib/qt5"))) (search-path-specification (variable "QML2_IMPORT_PATH") - (files '("qml"))) + (files '("lib/qt5/qml"))) (search-path-specification (variable "QT_PLUGIN_PATH") - (files '("plugins"))) + (files '("lib/qt5/plugins"))) (search-path-specification (variable "XDG_DATA_DIRS") (files '("share"))) @@ -805,6 +804,18 @@ developers using C++ or QML, a CSS & JavaScript like language.") (snippet ;; The examples try to build and cause the build to fail '(delete-file-recursively "examples")))) + (arguments + (substitute-keyword-arguments (package-arguments qtsvg) + ((#:phases phases) + `(modify-phases ,phases + (add-before 'check 'set-ld-library-path + ;; + ;; + ;; Make the uninstalled libQt5WaylandClient.so.5 available to the + ;; wayland platform plugin. + (lambda _ + (setenv "LD_LIBRARY_PATH" (string-append (getcwd) "/lib")) + #t)))))) (native-inputs `(("glib" ,glib) ("perl" ,perl) -- 2.13.3 --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable > 3. tests of other packages may fail for the same reason. Yes, I have got tiled running, and find that 'cool-retro-term' need to be adjusted. And vlc fails to build due to can't find headers of Qt5X11Extras. Indeed, the pkg-config output of Qt5X11Extras seems wrong: --8<---------------cut here---------------start------------->8--- $ pkg-config --cflags --libs Qt5X11Extras -I/gnu/store/l8xp2i57plmdd3pprhznc8r03ha3sv2s-qtbase-5.9.1/include/qt5/QtGu= i -I/gnu/store/l8xp2i57plmdd3pprhznc8r03ha3sv2s-qtbase-5.9.1/include/qt5 -I= /gnu/store/l8xp2i57plmdd3pprhznc8r03ha3sv2s-qtbase-5.9.1/include/qt5/QtCore= -I/gnu/store/l8xp2i57plmdd3pprhznc8r03ha3sv2s-qtbase-5.9.1/include/qt5 -I/= gnu/store/l8xp2i57plmdd3pprhznc8r03ha3sv2s-qtbase-5.9.1/include/qt5/QtX11Ex= tras -I/gnu/store/l8xp2i57plmdd3pprhznc8r03ha3sv2s-qtbase-5.9.1/include/qt5= -L/gnu/store/l8xp2i57plmdd3pprhznc8r03ha3sv2s-qtbase-5.9.1/lib -lQt5X11Ext= ras -lQt5Gui -lQt5Core --8<---------------cut here---------------end--------------->8--- I can try fix this pkg-config issue. > > I'll take care of the packages in kde-frameworks.scm, I assume/hope > Thomas will take care of the ones in kde.scm. Yeah, I build 'kiarchive', and find it puts 'mkspecs' under $out, which needs change to $out/lib/qt5/mkspecs. > > =E5=AE=8B=E6=96=87=E6=AD=A6, how can we coordinate the required changes? = Should they go into one patch? Or into a series? I think we could make a series patches, and can squash them later if suitable. --=-=-=-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: iyzsong@member.fsf.org (=?utf-8?B?5a6L5paH5q2m?=) Subject: Re: QT install and search paths Date: Sun, 03 Sep 2017 19:46:45 +0800 Message-ID: <87y3pw9f8a.fsf@member.fsf.org> References: <42cac0e9-d948-3ea1-7312-d003751fd6a8@crazy-compilers.com> <874lsxi3bx.fsf@member.fsf.org> <4a1d7083-eb0a-9c79-fd54-686b822da5ed@crazy-compilers.com> <87378fkeho.fsf@member.fsf.org> <87o9r3iqh7.fsf@member.fsf.org> <0f97b74f-282d-9996-aa61-d3084e164b09@crazy-compilers.com> <878thwbcpv.fsf@member.fsf.org> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:59431) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1doTMl-0001BK-Qd for guix-devel@gnu.org; Sun, 03 Sep 2017 07:47:08 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1doTMg-0004nb-Tw for guix-devel@gnu.org; Sun, 03 Sep 2017 07:47:03 -0400 Received: from rezeros.cc ([2001:19f0:7001:2f3e:5400:ff:fe84:e55d]:40528) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1doTMg-0004lR-E2 for guix-devel@gnu.org; Sun, 03 Sep 2017 07:46:58 -0400 In-Reply-To: <878thwbcpv.fsf@member.fsf.org> (=?utf-8?B?IuWui+aWh+atpiIn?= =?utf-8?B?cw==?= message of "Sun, 03 Sep 2017 12:58:04 +0800") List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: Hartmut Goebel Cc: guix-devel , Thomas Danckaert --=-=-= Content-Type: text/plain > [...] > And vlc fails to build due to can't find headers of Qt5X11Extras. > Indeed, the pkg-config output of Qt5X11Extras seems wrong: > $ pkg-config --cflags --libs Qt5X11Extras > -I/gnu/store/l8xp2i57plmdd3pprhznc8r03ha3sv2s-qtbase-5.9.1/include/qt5/QtGui -I/gnu/store/l8xp2i57plmdd3pprhznc8r03ha3sv2s-qtbase-5.9.1/include/qt5 -I/gnu/store/l8xp2i57plmdd3pprhznc8r03ha3sv2s-qtbase-5.9.1/include/qt5/QtCore -I/gnu/store/l8xp2i57plmdd3pprhznc8r03ha3sv2s-qtbase-5.9.1/include/qt5 -I/gnu/store/l8xp2i57plmdd3pprhznc8r03ha3sv2s-qtbase-5.9.1/include/qt5/QtX11Extras -I/gnu/store/l8xp2i57plmdd3pprhznc8r03ha3sv2s-qtbase-5.9.1/include/qt5 -L/gnu/store/l8xp2i57plmdd3pprhznc8r03ha3sv2s-qtbase-5.9.1/lib -lQt5X11Extras -lQt5Gui -lQt5Core > I can try fix this pkg-config issue. Here is it: --=-=-= Content-Type: text/x-patch Content-Disposition: attachment; filename=0002-gnu-qt-Fix-install-paths-in-submodules.patch >From b2f4822b3a1c8f76d2c6dcf39590d3810d3510bf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=AE=8B=E6=96=87=E6=AD=A6?= Date: Sun, 3 Sep 2017 17:38:57 +0800 Subject: [PATCH 2/2] gnu: qt: Fix install paths in submodules. Before this, the paths in pkg-config (.pc) and libtool (.la) files of submodules are all pointing to qtbase. * gnu/packages/qt.scm (qtsvg)[arguments]: Use a customized qt.conf to override install paths to $out. --- gnu/packages/qt.scm | 57 +++++++++++++++++++++++++++++++++++++---------------- 1 file changed, 40 insertions(+), 17 deletions(-) diff --git a/gnu/packages/qt.scm b/gnu/packages/qt.scm index 80508f058..771a03bd5 100644 --- a/gnu/packages/qt.scm +++ b/gnu/packages/qt.scm @@ -554,25 +554,48 @@ developers using C++ or QML, a CSS & JavaScript like language.") `(#:phases (modify-phases %standard-phases (replace 'configure - (lambda* (#:key outputs #:allow-other-keys) - (let ((out (assoc-ref outputs "out"))) + (lambda* (#:key inputs outputs #:allow-other-keys) + (let* ((out (assoc-ref outputs "out")) + (qtbase (assoc-ref inputs "qtbase")) + (tmpdir (string-append (getenv "TMPDIR"))) + (qmake (string-append tmpdir "/qmake")) + (qt.conf (string-append tmpdir "/qt.conf"))) + ;; Use qmake with a customized qt.conf to override install + ;; paths to $out. + (symlink (which "qmake") qmake) + (with-output-to-file qt.conf + (lambda () + ;; Thoese must be kept in sync with qtbase. + (format #t "[Paths] +Prefix=~a +ArchData=lib/qt5 +Data=share/qt5 +Documentation=share/doc/qt5 +Headers=include/qt5 +Libraries=lib +LibraryExecutables=lib/qt5/libexec +Binaries=bin +Tests=tests +Plugins=lib/qt5/plugins +Imports=lib/qt5/imports +Qml2Imports=lib/qt5/qml +Translations=share/qt5/translations +Settings=etc/xdg +Examples=share/doc/qt5/examples +HostPrefix=~a +HostData=lib/qt5 +HostBinaries=bin +HostLibrariesPath=lib +" out qtbase))) + ;; Valid QT_BUILD_PARTS variables are: ;; libs tools tests examples demos docs translations - (zero? (system* "qmake" "QT_BUILD_PARTS = libs tools tests" - (string-append "PREFIX=" out)))))) - (add-before 'install 'fix-Makefiles - (lambda* (#:key inputs outputs #:allow-other-keys) - (let ((out (assoc-ref outputs "out")) - (qtbase (assoc-ref inputs "qtbase"))) - (substitute* (find-files "." "Makefile") - (((string-append "INSTALL_ROOT)" qtbase)) - (string-append "INSTALL_ROOT)" out))) - #t))) - (add-before 'check 'set-display - (lambda _ - ;; make Qt render "offscreen", required for tests - (setenv "QT_QPA_PLATFORM" "offscreen") - #t))))))) + (zero? (system* qmake "QT_BUILD_PARTS = libs tools tests"))))) + (add-before 'check 'set-display + (lambda _ + ;; make Qt render "offscreen", required for tests + (setenv "QT_QPA_PLATFORM" "offscreen") + #t))))))) (define-public qtimageformats (package (inherit qtsvg) -- 2.13.3 --=-=-= Content-Type: text/plain This fixes the pkg-config files of various qt submodules, and gets vlc built. I think remaining non-KDE things to fix are qt-utils.scm, sddm, greenisland and cool-retro-term. --=-=-=-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: Hartmut Goebel Subject: Re: QT install and search paths Date: Sun, 3 Sep 2017 14:39:45 +0200 Message-ID: <3cf9ce7c-719d-1f8a-d011-22f416eb9159@crazy-compilers.com> References: <42cac0e9-d948-3ea1-7312-d003751fd6a8@crazy-compilers.com> <874lsxi3bx.fsf@member.fsf.org> <4a1d7083-eb0a-9c79-fd54-686b822da5ed@crazy-compilers.com> <87378fkeho.fsf@member.fsf.org> <87o9r3iqh7.fsf@member.fsf.org> <0f97b74f-282d-9996-aa61-d3084e164b09@crazy-compilers.com> <878thwbcpv.fsf@member.fsf.org> <87y3pw9f8a.fsf@member.fsf.org> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="------------5EF66174E655F0832AA96528" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:42187) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1doUC1-0007TB-KR for guix-devel@gnu.org; Sun, 03 Sep 2017 08:40:06 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1doUBw-0002b4-R9 for guix-devel@gnu.org; Sun, 03 Sep 2017 08:40:01 -0400 Received: from mail-out.m-online.net ([212.18.0.10]:47123) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1doUBw-0002aN-FU for guix-devel@gnu.org; Sun, 03 Sep 2017 08:39:56 -0400 In-Reply-To: <87y3pw9f8a.fsf@member.fsf.org> Content-Language: de-DE List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: =?UTF-8?B?5a6L5paH5q2m?= Cc: guix-devel , Thomas Danckaert This is a multi-part message in MIME format. --------------5EF66174E655F0832AA96528 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Hi, enclosed the required patch for qscintilla to make python-qscintilla build and qtwebkit. -- Regards Hartmut Goebel | Hartmut Goebel | h.goebel@crazy-compilers.com | | www.crazy-compilers.com | compilers which you thought are impossible | --------------5EF66174E655F0832AA96528 Content-Type: text/x-patch; name="0001-gnu-qtwebkit-Fix-rpath-for-the-qmlwebkit-plugins.patch" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename*0="0001-gnu-qtwebkit-Fix-rpath-for-the-qmlwebkit-plugins.patch" >From 3e4a25c412632095b1415296f9d46a4b93fad212 Mon Sep 17 00:00:00 2001 From: Hartmut Goebel Date: Sat, 2 Sep 2017 23:20:15 +0200 Subject: [PATCH 1/2] gnu: qtwebkit: Fix rpath for the qmlwebkit plugins. After the qtbase installation directories have been changed, the relative RPATH in the libs no longer matched the sructure. * gnu/packages/qt.scm(qtwebkit)[arguments]: New phase fix-qmlwebkit-plugins-rpath. --- gnu/packages/qt.scm | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/gnu/packages/qt.scm b/gnu/packages/qt.scm index 3478fdaae..86b35bdc8 100644 --- a/gnu/packages/qt.scm +++ b/gnu/packages/qt.scm @@ -1613,6 +1613,15 @@ different kinds of sliders, and much more.") (arguments `(#:phases (modify-phases %standard-phases + (add-before 'configure 'fix-qmlwebkit-plugins-rpath + (lambda _ + (substitute* "Source/WebKit/qt/declarative/experimental/experimental.pri" + (("RPATHDIR_RELATIVE_TO_DESTDIR = \\.\\./\\.\\./lib") + "RPATHDIR_RELATIVE_TO_DESTDIR = ../../../../../lib")) + (substitute* "Source/WebKit/qt/declarative/public.pri" + (("RPATHDIR_RELATIVE_TO_DESTDIR = \\.\\./\\.\\./lib") + "RPATHDIR_RELATIVE_TO_DESTDIR = ../../../../lib")) + #t)) (replace 'configure (lambda* (#:key outputs #:allow-other-keys) (let ((out (assoc-ref outputs "out"))) -- 2.13.5 --------------5EF66174E655F0832AA96528 Content-Type: text/x-patch; name="0002-gnu-qscintilla-Adopt-paths-REWORD.patch" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="0002-gnu-qscintilla-Adopt-paths-REWORD.patch" >From c3fab9284454c90461dc601970e2a67942f84373 Mon Sep 17 00:00:00 2001 From: Hartmut Goebel Date: Sun, 3 Sep 2017 11:36:42 +0200 Subject: [PATCH 2/2] gnu: qscintilla: Adopt paths REWORD * gnu/packages/qt.scm(qscintilla)[configure]: XXX --- gnu/packages/qt.scm | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/gnu/packages/qt.scm b/gnu/packages/qt.scm index 86b35bdc8..f9e743348 100644 --- a/gnu/packages/qt.scm +++ b/gnu/packages/qt.scm @@ -1412,8 +1412,10 @@ contain over 620 classes.") (string-append out "/include")) (("\\$\\$\\[QT_INSTALL_TRANSLATIONS\\]") (string-append out "/translations")) - (("\\$\\$\\[QT_INSTALL_DATA\\]") out) - (("\\$\\$\\[QT_HOST_DATA\\]") out)) + (("\\$\\$\\[QT_INSTALL_DATA\\]") + (string-append out "/lib/qt$${QT_MAJOR_VERSION}")) + (("\\$\\$\\[QT_HOST_DATA\\]") + (string-append out "/lib/qt$${QT_MAJOR_VERSION}"))) (zero? (system* "qmake")))))))) (native-inputs `(("qtbase" ,qtbase))) (home-page "http://www.riverbankcomputing.co.uk/software/qscintilla/intro") -- 2.13.5 --------------5EF66174E655F0832AA96528-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: Hartmut Goebel Subject: Re: QT install and search paths Date: Sun, 3 Sep 2017 16:04:23 +0200 Message-ID: <2de911d5-c358-73e6-dada-bec96d8dca50@crazy-compilers.com> References: <42cac0e9-d948-3ea1-7312-d003751fd6a8@crazy-compilers.com> <874lsxi3bx.fsf@member.fsf.org> <4a1d7083-eb0a-9c79-fd54-686b822da5ed@crazy-compilers.com> <87378fkeho.fsf@member.fsf.org> <87o9r3iqh7.fsf@member.fsf.org> <0f97b74f-282d-9996-aa61-d3084e164b09@crazy-compilers.com> <878thwbcpv.fsf@member.fsf.org> <87y3pw9f8a.fsf@member.fsf.org> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="------------EB11D352248C9A2E6B8D0857" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:33472) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1doVVv-00086N-GQ for guix-devel@gnu.org; Sun, 03 Sep 2017 10:04:44 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1doVVq-00047B-IP for guix-devel@gnu.org; Sun, 03 Sep 2017 10:04:39 -0400 Received: from mail-out.m-online.net ([212.18.0.9]:35004) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1doVVq-00045F-7a for guix-devel@gnu.org; Sun, 03 Sep 2017 10:04:34 -0400 In-Reply-To: <87y3pw9f8a.fsf@member.fsf.org> Content-Language: en-US List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: =?UTF-8?B?5a6L5paH5q2m?= Cc: guix-devel , Thomas Danckaert This is a multi-part message in MIME format. --------------EB11D352248C9A2E6B8D0857 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Am 03.09.2017 um 13:46 schrieb =E5=AE=8B=E6=96=87=E6=AD=A6: > 0002-gnu-qt-Fix-install-paths-in-submodules.patch > I'm afraid this breaks some packages, e.g. qwt (qt.scm) and sonnet (kde-frameworks.scm). Can you have a look at what is going wrong here? Thanks (Without this patch, but with my other two applied I can build all packages in qt.scm and kde-framewords.scm.) --=20 Regards Hartmut Goebel | Hartmut Goebel | h.goebel@crazy-compilers.com | | www.crazy-compilers.com | compilers which you thought are impossible | --------------EB11D352248C9A2E6B8D0857 Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: quoted-printable
Am 03.09.2017 um 13:46 schrieb =E5=AE=8B= =E6=96=87=E6=AD=A6:
0002-gnu-qt-Fix-install-path= s-in-submodules.patch

I'm afraid this breaks some packages, e.g. qwt (qt.scm) and sonnet (kde-frameworks.scm). Can you have a look at what is going wrong here? Thanks

(Without this patch, but with my other two applied I can build all packages in qt.scm and kde-framewords.scm.)
--=20
Regards
Hartmut Goebel

| Hartmut Goebel          | h.goebel@crazy-compilers.com   =
            |
| www.crazy-compilers.com | compilers which you thought are impo=
ssible |
--------------EB11D352248C9A2E6B8D0857-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: iyzsong@member.fsf.org (=?utf-8?B?5a6L5paH5q2m?=) Subject: Re: QT install and search paths Date: Sun, 03 Sep 2017 22:46:43 +0800 Message-ID: <87tw0jalgs.fsf@member.fsf.org> References: <42cac0e9-d948-3ea1-7312-d003751fd6a8@crazy-compilers.com> <874lsxi3bx.fsf@member.fsf.org> <4a1d7083-eb0a-9c79-fd54-686b822da5ed@crazy-compilers.com> <87378fkeho.fsf@member.fsf.org> <87o9r3iqh7.fsf@member.fsf.org> <0f97b74f-282d-9996-aa61-d3084e164b09@crazy-compilers.com> <878thwbcpv.fsf@member.fsf.org> <87y3pw9f8a.fsf@member.fsf.org> <2de911d5-c358-73e6-dada-bec96d8dca50@crazy-compilers.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:43690) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1doWB2-0005kD-HT for guix-devel@gnu.org; Sun, 03 Sep 2017 10:47:13 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1doWAx-0004gL-Mh for guix-devel@gnu.org; Sun, 03 Sep 2017 10:47:08 -0400 Received: from rezeros.cc ([2001:19f0:7001:2f3e:5400:ff:fe84:e55d]:40532) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1doWAx-0004dt-88 for guix-devel@gnu.org; Sun, 03 Sep 2017 10:47:03 -0400 In-Reply-To: <2de911d5-c358-73e6-dada-bec96d8dca50@crazy-compilers.com> (Hartmut Goebel's message of "Sun, 3 Sep 2017 16:04:23 +0200") List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: Hartmut Goebel Cc: guix-devel , Thomas Danckaert Hartmut Goebel writes: > Am 03.09.2017 um 13:46 schrieb =E5=AE=8B=E6=96=87=E6=AD=A6: > > 0002-gnu-qt-Fix-install-paths-in-submodules.patch > > I'm afraid this breaks some packages, e.g. qwt (qt.scm) and sonnet > (kde-frameworks.scm). Can you have a look at what is going wrong here? > Thanks Yeah, this patch need more works. I also find that 'qttools' ends up with broken 'imported_location' in Qt5LinguistToolsConfig.cmake and Qt5HelpConfigExtras.cmake, will look into it later... From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Danckaert Subject: Re: QT install and search paths Date: Mon, 04 Sep 2017 09:44:22 +0200 (CEST) Message-ID: <20170904.094422.649590718375041033.post@thomasdanckaert.be> References: <87o9r3iqh7.fsf@member.fsf.org> <0f97b74f-282d-9996-aa61-d3084e164b09@crazy-compilers.com> Mime-Version: 1.0 Content-Type: Text/Plain; charset=utf-8 Content-Transfer-Encoding: base64 Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:34552) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dom3r-0007Nw-Oh for guix-devel@gnu.org; Mon, 04 Sep 2017 03:44:48 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dom3o-0003uV-Hu for guix-devel@gnu.org; Mon, 04 Sep 2017 03:44:47 -0400 Received: from s02-out3.spamexperts.axc.nl ([185.175.203.26]:40835) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1dom3o-0003qP-AU for guix-devel@gnu.org; Mon, 04 Sep 2017 03:44:44 -0400 In-Reply-To: <0f97b74f-282d-9996-aa61-d3084e164b09@crazy-compilers.com> List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: h.goebel@crazy-compilers.com Cc: guix-devel@gnu.org RnJvbTogSGFydG11dCBHb2ViZWwgPGguZ29lYmVsQGNyYXp5LWNvbXBpbGVycy5jb20+DQpTdWJq ZWN0OiBSZTogUVQgaW5zdGFsbCBhbmQgc2VhcmNoIHBhdGhzDQpEYXRlOiBTYXQsIDIgU2VwIDIw MTcgMTg6NDA6NDQgKzAyMDANCg0KPiBJJ2xsIHRha2UgY2FyZSBvZiB0aGUgcGFja2FnZXMgaW4g a2RlLWZyYW1ld29ya3Muc2NtLCBJIGFzc3VtZS9ob3BlDQo+IFRob21hcyB3aWxsIHRha2UgY2Fy ZSBvZiB0aGUgb25lcyBpbiBrZGUuc2NtLg0KDQpIaSwNCg0KSnVzdCB0byBtYWtlIHN1cmUsIHRo ZSBpZGVhIGlzIHRvOg0KDQogMS4gYXBwbHkg5a6L5paH5q2mJ3MgcXRiYXNlIHBhdGNoIGFkanVz dGluZyB0aGUgcGF0aHMgb2YgdmFyaW91cyBxdCBjb21wb25lbnRzDQoNCiAyLiBhcHBseSB5b3Vy IDIgcGF0Y2hlcyBmb3IgcXRzY2ludGlsbGEgYW5kIHF0d2Via2l0DQoNCiAzLiBhZGp1c3Qga2Rl LnNjbSBzbyBwYWNrYWdlcyBpbiB0aGVyZSBidWlsZCBjb3JyZWN0bHk/DQoNCkknbGwgaGF2ZSBh IGxvb2ssIGJ1dCBnaXZlIG1lIHNvbWUgdGltZSA6KQ0KDQpUaG9tYXMNCg== From mboxrd@z Thu Jan 1 00:00:00 1970 From: Hartmut Goebel Subject: Re: QT install and search paths Date: Mon, 4 Sep 2017 11:16:53 +0200 Message-ID: <88a5454c-4ef2-7c27-7c29-b2ab244d0042@crazy-compilers.com> References: <87o9r3iqh7.fsf@member.fsf.org> <0f97b74f-282d-9996-aa61-d3084e164b09@crazy-compilers.com> <20170904.094422.649590718375041033.post@thomasdanckaert.be> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:36204) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1donV9-0001Zs-Mp for guix-devel@gnu.org; Mon, 04 Sep 2017 05:17:04 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1donV4-0003YM-Pl for guix-devel@gnu.org; Mon, 04 Sep 2017 05:17:03 -0400 Received: from mail-out.m-online.net ([212.18.0.9]:34659) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1donV4-0003WQ-JG for guix-devel@gnu.org; Mon, 04 Sep 2017 05:16:58 -0400 In-Reply-To: <20170904.094422.649590718375041033.post@thomasdanckaert.be> Content-Language: de-DE List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: Thomas Danckaert Cc: guix-devel@gnu.org Am 04.09.2017 um 09:44 schrieb Thomas Danckaert: > Just to make sure, the idea is to: > > 1. apply =E5=AE=8B=E6=96=87=E6=AD=A6's qtbase patch adjusting the path= s of various qt components > > 2. apply your 2 patches for qtscintilla and qtwebkit > > 3. adjust kde.scm so packages in there build correctly? ACK from my side. --=20 Regards Hartmut Goebel | Hartmut Goebel | h.goebel@crazy-compilers.com | | www.crazy-compilers.com | compilers which you thought are impossible | From mboxrd@z Thu Jan 1 00:00:00 1970 From: iyzsong@member.fsf.org (=?utf-8?B?5a6L5paH5q2m?=) Subject: Re: QT install and search paths Date: Thu, 07 Sep 2017 21:38:15 +0800 Message-ID: <87r2vi39yw.fsf@member.fsf.org> References: <87o9r3iqh7.fsf@member.fsf.org> <0f97b74f-282d-9996-aa61-d3084e164b09@crazy-compilers.com> <20170904.094422.649590718375041033.post@thomasdanckaert.be> <88a5454c-4ef2-7c27-7c29-b2ab244d0042@crazy-compilers.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:34915) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dpx0q-0001Ze-Ki for guix-devel@gnu.org; Thu, 07 Sep 2017 09:38:38 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dpx0l-0005Tt-Cj for guix-devel@gnu.org; Thu, 07 Sep 2017 09:38:32 -0400 Received: from rezeros.cc ([2001:19f0:7001:2f3e:5400:ff:fe84:e55d]:40544) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1dpx0k-0005PQ-R6 for guix-devel@gnu.org; Thu, 07 Sep 2017 09:38:27 -0400 In-Reply-To: <88a5454c-4ef2-7c27-7c29-b2ab244d0042@crazy-compilers.com> (Hartmut Goebel's message of "Mon, 4 Sep 2017 11:16:53 +0200") List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: Hartmut Goebel Cc: guix-devel@gnu.org, Thomas Danckaert --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Hartmut Goebel writes: > Am 04.09.2017 um 09:44 schrieb Thomas Danckaert: >> Just to make sure, the idea is to: >> >> 1. apply =E5=AE=8B=E6=96=87=E6=AD=A6's qtbase patch adjusting the paths= of various qt components >> >> 2. apply your 2 patches for qtscintilla and qtwebkit >> >> 3. adjust kde.scm so packages in there build correctly? > > ACK from my side. Yes, and here are my updates on the paths issue of pkg-config files and qwt: --=-=-= Content-Type: text/x-patch Content-Disposition: inline; filename=0002-gnu-qt-Fix-install-paths-in-submodules.patch >From e8a252f5037b77f44a1516c715bbd437a6e23cb2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=AE=8B=E6=96=87=E6=AD=A6?= Date: Sun, 3 Sep 2017 17:38:57 +0800 Subject: [PATCH 2/3] gnu: qt: Fix install paths in submodules. Before this, the paths in pkg-config (.pc) and libtool (.la) files of submodules are all pointing to qtbase. * gnu/packages/qt.scm (qtbase)[native-inputs]: Move 'which' to 'propagated-inputs'. [arguments]: Rename 'patch-mkspecs' phase to 'patch-mkspecs' and patch more qmake spec files there. (qtsvg)[arguments]: Add 'configure-qmake' phase. --- gnu/packages/qt.scm | 86 +++++++++++++++++++++++++++++++++++++++-------------- 1 file changed, 63 insertions(+), 23 deletions(-) diff --git a/gnu/packages/qt.scm b/gnu/packages/qt.scm index 80508f058..a41aa4fbb 100644 --- a/gnu/packages/qt.scm +++ b/gnu/packages/qt.scm @@ -375,7 +375,8 @@ developers using C++ or QML, a CSS & JavaScript like language.") #t)))) (build-system gnu-build-system) (propagated-inputs - `(("mesa" ,mesa))) + `(("mesa" ,mesa) + ("which" ,(@ (gnu packages base) which)))) (inputs `(("alsa-lib" ,alsa-lib) ("cups" ,cups) @@ -426,8 +427,7 @@ developers using C++ or QML, a CSS & JavaScript like language.") ("perl" ,perl) ("pkg-config" ,pkg-config) ("python" ,python-2) - ("ruby" ,ruby) - ("which" ,(@ (gnu packages base) which)))) + ("ruby" ,ruby))) (arguments `(#:phases (modify-phases %standard-phases @@ -491,10 +491,11 @@ developers using C++ or QML, a CSS & JavaScript like language.") '("-no-sse2")) "-no-mips_dsp" "-no-mips_dspr2"))))) - (add-after 'install 'patch-qt_config.prf + (add-after 'install 'patch-mkspecs (lambda* (#:key outputs #:allow-other-keys) (let* ((out (assoc-ref outputs "out")) - (mkspecs (string-append out "/lib/qt5/mkspecs")) + (archdata (string-append out "/lib/qt5")) + (mkspecs (string-append archdata "/mkspecs")) (qt_config.prf (string-append mkspecs "/features/qt_config.prf"))) ;; For each Qt module, let `qmake' uses search paths in the @@ -508,6 +509,20 @@ developers using C++ or QML, a CSS & JavaScript like language.") "$$clean_path($$replace(dir, mkspecs/modules, ../../lib))") (("\\$\\$\\[QT_INSTALL_BINS\\]") "$$clean_path($$replace(dir, mkspecs/modules, ../../bin))")) + + ;; Searches Qt tools in the current PATH instead of QT_HOST_BINS. + (substitute* (string-append mkspecs "/features/qt_functions.prf") + (("cmd = \\$\\$\\[QT_HOST_BINS\\]/\\$\\$2") + "cmd = $$system(which $${2}.pl 2>/dev/null || which $${2})")) + + ;; Resolve qmake spec files within qtbase by absolute paths. + (substitute* + (map (lambda (file) + (string-append mkspecs "/features/" file)) + '("device_config.prf" "moc.prf" "qt_build_config.prf" + "qt_config.prf" "winrt/package_manifest.prf")) + (("\\$\\$\\[QT_HOST_DATA/get\\]") archdata) + (("\\$\\$\\[QT_HOST_DATA/src\\]") archdata)) #t)))))) (native-search-paths (list (search-path-specification @@ -553,26 +568,51 @@ developers using C++ or QML, a CSS & JavaScript like language.") (arguments `(#:phases (modify-phases %standard-phases - (replace 'configure - (lambda* (#:key outputs #:allow-other-keys) - (let ((out (assoc-ref outputs "out"))) - ;; Valid QT_BUILD_PARTS variables are: - ;; libs tools tests examples demos docs translations - (zero? (system* "qmake" "QT_BUILD_PARTS = libs tools tests" - (string-append "PREFIX=" out)))))) - (add-before 'install 'fix-Makefiles + (add-before 'configure 'configure-qmake (lambda* (#:key inputs outputs #:allow-other-keys) - (let ((out (assoc-ref outputs "out")) - (qtbase (assoc-ref inputs "qtbase"))) - (substitute* (find-files "." "Makefile") - (((string-append "INSTALL_ROOT)" qtbase)) - (string-append "INSTALL_ROOT)" out))) + (let* ((out (assoc-ref outputs "out")) + (qtbase (assoc-ref inputs "qtbase")) + (tmpdir (string-append (getenv "TMPDIR"))) + (qmake (string-append tmpdir "/qmake")) + (qt.conf (string-append tmpdir "/qt.conf"))) + ;; Use qmake with a customized qt.conf to override install + ;; paths to $out. + (symlink (which "qmake") qmake) + (setenv "PATH" (string-append tmpdir ":" (getenv "PATH"))) + (with-output-to-file qt.conf + (lambda () + (format #t "[Paths] +Prefix=~a +ArchData=lib/qt5 +Data=share/qt5 +Documentation=share/doc/qt5 +Headers=include/qt5 +Libraries=lib +LibraryExecutables=lib/qt5/libexec +Binaries=bin +Tests=tests +Plugins=lib/qt5/plugins +Imports=lib/qt5/imports +Qml2Imports=lib/qt5/qml +Translations=share/qt5/translations +Settings=etc/xdg +Examples=share/doc/qt5/examples +HostPrefix=~a +HostData=lib/qt5 +HostBinaries=bin +HostLibraries=lib +" out out))) #t))) - (add-before 'check 'set-display - (lambda _ - ;; make Qt render "offscreen", required for tests - (setenv "QT_QPA_PLATFORM" "offscreen") - #t))))))) + (replace 'configure + (lambda* (#:key inputs outputs #:allow-other-keys) + ;; Valid QT_BUILD_PARTS variables are: + ;; libs tools tests examples demos docs translations + (zero? (system* "qmake" "QT_BUILD_PARTS = libs tools tests")))) + (add-before 'check 'set-display + (lambda _ + ;; make Qt render "offscreen", required for tests + (setenv "QT_QPA_PLATFORM" "offscreen") + #t))))))) (define-public qtimageformats (package (inherit qtsvg) -- 2.13.3 --=-=-= Content-Type: text/x-patch Content-Disposition: inline; filename=0003-gnu-qwt-Adjust-installation-directory-layout.patch >From b290321dc6e4c2db731cae31f78988958700c018 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=AE=8B=E6=96=87=E6=AD=A6?= Date: Thu, 7 Sep 2017 21:19:54 +0800 Subject: [PATCH 3/3] gnu: qwt: Adjust installation directory layout. * gnu/packages/qt.scm (qwt)[arguments]<#:phases>: Modify 'qwtconfig.pri' to use a directory layout that matching qtbase. Modify 'doc/doc.pro' to remove the misplaced installation of man pages. Rename phase 'install-documentation' to 'install-man-pages'. --- gnu/packages/qt.scm | 22 +++++++++++++++++++--- 1 file changed, 19 insertions(+), 3 deletions(-) diff --git a/gnu/packages/qt.scm b/gnu/packages/qt.scm index a41aa4fbb..8070e279f 100644 --- a/gnu/packages/qt.scm +++ b/gnu/packages/qt.scm @@ -1588,11 +1588,27 @@ securely. It will not store any data unencrypted unless explicitly requested.") (modify-phases %standard-phases (replace 'configure (lambda* (#:key outputs #:allow-other-keys) - (let ((out (assoc-ref outputs "out"))) + (let* ((out (assoc-ref outputs "out")) + (docdir (string-append out "/share/doc/qwt")) + (incdir (string-append out "/include/qwt")) + (pluginsdir (string-append out "/lib/qt5/plugins/designer")) + (featuresdir (string-append out "/lib/qt5/mkspecs/features"))) (substitute* '("qwtconfig.pri") - (("/usr/local/qwt-\\$\\$QWT\\_VERSION") out)) + (("^(\\s*QWT_INSTALL_PREFIX)\\s*=.*" _ x) + (format #f "~a = ~a\n" x out)) + (("^(QWT_INSTALL_DOCS)\\s*=.*" _ x) + (format #f "~a = ~a\n" x docdir)) + (("^(QWT_INSTALL_HEADERS)\\s*=.*" _ x) + (format #f "~a = ~a\n" x incdir)) + (("^(QWT_INSTALL_PLUGINS)\\s*=.*" _ x) + (format #f "~a = ~a\n" x pluginsdir)) + (("^(QWT_INSTALL_FEATURES)\\s*=.*" _ x) + (format #f "~a = ~a\n" x featuresdir))) + (substitute* '("doc/doc.pro") + ;; We'll install them in the 'install-man-pages' phase. + (("^unix:doc\\.files.*") "")) (zero? (system* "qmake"))))) - (add-after 'install 'install-documentation + (add-after 'install 'install-man-pages (lambda* (#:key outputs #:allow-other-keys) (let* ((out (assoc-ref outputs "out")) (man (string-append out "/share/man"))) -- 2.13.3 --=-=-= Content-Type: text/plain The 0001-gnu-qtbase-Use-a-more-standard-directory-layout.patch is unchanged. --=-=-=-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: Hartmut Goebel Subject: Re: QT install and search paths Date: Tue, 19 Sep 2017 18:30:41 +0200 Message-ID: <5ca84399-d17f-6e58-b574-e3f0157e51ac@crazy-compilers.com> References: <87o9r3iqh7.fsf@member.fsf.org> <0f97b74f-282d-9996-aa61-d3084e164b09@crazy-compilers.com> <20170904.094422.649590718375041033.post@thomasdanckaert.be> <88a5454c-4ef2-7c27-7c29-b2ab244d0042@crazy-compilers.com> <87r2vi39yw.fsf@member.fsf.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:57907) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1duLQ9-00021D-TI for guix-devel@gnu.org; Tue, 19 Sep 2017 12:30:55 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1duLQ6-00020p-D9 for guix-devel@gnu.org; Tue, 19 Sep 2017 12:30:49 -0400 Received: from mail-out.m-online.net ([2001:a60:0:28:0:1:25:1]:38616) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1duLQ6-0001zP-7d for guix-devel@gnu.org; Tue, 19 Sep 2017 12:30:46 -0400 In-Reply-To: <87r2vi39yw.fsf@member.fsf.org> Content-Language: en-US List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: =?UTF-8?B?5a6L5paH5q2m?= Cc: guix-devel@gnu.org, Thomas Danckaert Hi, Am 07.09.2017 um 15:38 schrieb =E5=AE=8B=E6=96=87=E6=AD=A6: > Yes, and here are my updates on the paths issue of pkg-config files and= > qwt: I did put your patches and mine in a new branch "wip-qt-paths". Building these (based on master from 2017-09-17 12:08:48 86805c1ba39) passed. I found some things missing in may packages, so I suggest implementing this first on the wip-qt-paths branch to avoid unnecessary rebuilds: - QCH - PythonModuleGeneration I will look at this and push further changes to the "wip-qt-paths" branch= =2E --=20 Regards Hartmut Goebel | Hartmut Goebel | h.goebel@crazy-compilers.com | | www.crazy-compilers.com | compilers which you thought are impossible | From mboxrd@z Thu Jan 1 00:00:00 1970 From: Hartmut Goebel Subject: Re: QT install and search paths Date: Fri, 22 Sep 2017 14:59:36 +0200 Message-ID: <048c0d9a-0735-93d1-6e35-6c0be72a6b75@crazy-compilers.com> References: <87o9r3iqh7.fsf@member.fsf.org> <0f97b74f-282d-9996-aa61-d3084e164b09@crazy-compilers.com> <20170904.094422.649590718375041033.post@thomasdanckaert.be> <88a5454c-4ef2-7c27-7c29-b2ab244d0042@crazy-compilers.com> <87r2vi39yw.fsf@member.fsf.org> <5ca84399-d17f-6e58-b574-e3f0157e51ac@crazy-compilers.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:37521) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dvNYV-0005RJ-IN for guix-devel@gnu.org; Fri, 22 Sep 2017 08:59:44 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dvNYR-0005Mx-Jk for guix-devel@gnu.org; Fri, 22 Sep 2017 08:59:43 -0400 Received: from mail-out.m-online.net ([212.18.0.9]:52092) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1dvNYR-0005L4-Av for guix-devel@gnu.org; Fri, 22 Sep 2017 08:59:39 -0400 In-Reply-To: <5ca84399-d17f-6e58-b574-e3f0157e51ac@crazy-compilers.com> Content-Language: en-US List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: =?UTF-8?B?5a6L5paH5q2m?= Cc: guix-devel@gnu.org, Thomas Danckaert Am 19.09.2017 um 18:30 schrieb Hartmut Goebel: > I found some things missing in may packages, so I suggest implementing > this first on the wip-qt-paths branch to avoid unnecessary rebuilds: > > - QCH > > - PythonModuleGeneration > > I will look at this and push further changes to the "wip-qt-paths" branch. I now pushed this branch. Feel free to fix whatever you mean ins necessary. I retired from building QCH for all packages, since for "extra-cmake-modules" there is he comment: to save space, we do not add these inputs. I also retired from activating PythonModuleGeneration, since the first package I treid ended up requiring python, python-sip, python2, and clang. THen I stopped :-) -- Regards Hartmut Goebel | Hartmut Goebel | h.goebel@crazy-compilers.com | | www.crazy-compilers.com | compilers which you thought are impossible | From mboxrd@z Thu Jan 1 00:00:00 1970 From: Hartmut Goebel Subject: Re: QT install and search paths Date: Fri, 6 Oct 2017 14:22:10 +0200 Message-ID: References: <87o9r3iqh7.fsf@member.fsf.org> <0f97b74f-282d-9996-aa61-d3084e164b09@crazy-compilers.com> <20170904.094422.649590718375041033.post@thomasdanckaert.be> <88a5454c-4ef2-7c27-7c29-b2ab244d0042@crazy-compilers.com> <87r2vi39yw.fsf@member.fsf.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:45531) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1e0Re1-0007YU-O1 for guix-devel@gnu.org; Fri, 06 Oct 2017 08:22:22 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1e0Rdv-0000yw-Tv for guix-devel@gnu.org; Fri, 06 Oct 2017 08:22:21 -0400 Received: from mail-out.m-online.net ([212.18.0.9]:34035) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1e0Rdv-0000wg-NK for guix-devel@gnu.org; Fri, 06 Oct 2017 08:22:15 -0400 In-Reply-To: <87r2vi39yw.fsf@member.fsf.org> Content-Language: en-US List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: =?UTF-8?B?5a6L5paH5q2m?= Cc: guix-devel@gnu.org, Thomas Danckaert Hallo, I just posted to patch-series for this. - 28719 is your (unchanged) and my patches for changing the directory layout - 28720 are enhancements to KDE framework Please review these patches. Thanks! Both series are available on the "wip-qt-paths" branch. I suggest to push both series to master in one rush to avoid unnecessary rebuilds. http://debbugs.gnu.org/cgi/bugreport.cgi?bug=28719 http://debbugs.gnu.org/cgi/bugreport.cgi?bug=28720 -- Regards Hartmut Goebel | Hartmut Goebel | h.goebel@crazy-compilers.com | | www.crazy-compilers.com | compilers which you thought are impossible |