From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:470:142:3::10]:35450) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jSQma-00026x-Iy for guix-patches@gnu.org; Sat, 25 Apr 2020 15:48:13 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.90_1) (envelope-from ) id 1jSQmQ-0004Xi-MG for guix-patches@gnu.org; Sat, 25 Apr 2020 15:48:12 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:48847) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jSQmQ-0004XF-9S for guix-patches@gnu.org; Sat, 25 Apr 2020 15:48:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jSQmQ-0005NV-6E for guix-patches@gnu.org; Sat, 25 Apr 2020 15:48:02 -0400 Subject: [bug#40492] [PATCH] gnu: Add meshlab Resent-Message-ID: Date: Sat, 25 Apr 2020 19:47:03 +0000 From: Ekaitz Zarraga Message-ID: In-Reply-To: <87wo67ti07.fsf@gnu.org> References: <_UXapokzwPRYl41j0bjkPGSDUNXahWNWsEn72py7ch7Rd6DBsxW9B8rw8wTbmzj1O2HfWXz7XLbEdWCYQsFCa5DgMlGn0CKVPr779J2PFuo=@elenq.tech> <87a733v3hh.fsf@gnu.org> <87wo67ti07.fsf@gnu.org> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="b1_25f61d85ea6b3f707b1f5e4d18e80e85" List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: Ekaitz Zarraga Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" To: Ludovic =?UTF-8?Q?Court=C3=A8s?= Cc: "40492\\@debbugs.gnu.org" <40492@debbugs.gnu.org> This is a multi-part message in MIME format. --b1_25f61d85ea6b3f707b1f5e4d18e80e85 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Saluton! > Egun on, :-) > > [...] > Not really, I think CMake initially sets the RUNPATH to the build tree, > as shown above, that=E2=80=99s OK. I think it changes it upon =E2=80= =9Cmake install=E2=80=9D. > > > If I need to change that, what do I have to do? > > One way to fix it would be to arrange to pass =E2=80=98-Wl,-rpath,'$ORIGI= N'=E2=80=99 on > the link command line of the plugins. > > Another solution would be to add a post-install phase to move > libmeshlab-common.so* to $output/lib, which seems more conventional, > though perhaps upstream had good reasons not to do that. Went for the second option because I didn't know how to make the first and looks like it's working. Also I think I fixed everything you pointed in the first comment. I attach the updated patch. Thanks for your help Ludo, Ekaitz --b1_25f61d85ea6b3f707b1f5e4d18e80e85 Content-Type: text/x-patch; name="0001-gnu-Add-meshlab.patch" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename=0001-gnu-Add-meshlab.patch RnJvbSA4MTRlNDRjYjkwYjE0MjdhOWFmNWQ2YTY2MzkyYzVhMzk5MTBlOGZkIE1vbiBTZXAgMTcg MDA6MDA6MDAgMjAwMQpGcm9tOiBFa2FpdHogWmFycmFnYSA8ZWthaXR6QGVsZW5xLnRlY2g+CkRh dGU6IFR1ZSwgNyBBcHIgMjAyMCAxODo1NjowNiArMDIwMApTdWJqZWN0OiBbUEFUQ0hdIGdudTog QWRkIG1lc2hsYWIuCgogICAgKiBnbnUvcGFja2FnZXMvZW5naW5lZXJpbmcuc2NtIChtZXNobGFi KTogTmV3IHZhcmlhYmxlLgotLS0KIGdudS9wYWNrYWdlcy9lbmdpbmVlcmluZy5zY20gfCA0OSAr KysrKysrKysrKysrKysrKysrKysrKysrKysrKysrKysrKysKIDEgZmlsZSBjaGFuZ2VkLCA0OSBp bnNlcnRpb25zKCspCgpkaWZmIC0tZ2l0IGEvZ251L3BhY2thZ2VzL2VuZ2luZWVyaW5nLnNjbSBi L2dudS9wYWNrYWdlcy9lbmdpbmVlcmluZy5zY20KaW5kZXggNTQwNWRiNzYyYy4uZGJlN2ZhZjc4 YiAxMDA2NDQKLS0tIGEvZ251L3BhY2thZ2VzL2VuZ2luZWVyaW5nLnNjbQorKysgYi9nbnUvcGFj a2FnZXMvZW5naW5lZXJpbmcuc2NtCkBAIC0yNDkxLDMgKzI0OTEsNTIgQEAgd2l0aG91dCBhbnkg Y2hhbmdlcy4gIEFuZCBwcm9ncmFtbWVycyB0aGF0IGFyZSBmYW1pbGlhciB3aXRoIHRoZSBtYWdl bGxhbiBBUEkKIGNhbiBjb250aW51ZSB1c2luZyBpdCB3aXRoIGEgZnJlZSBsaWJyYXJ5IHdpdGhv dXQgdGhlIHJlc3RyaWN0aW9ucyBvZiB0aGUKIG9mZmljaWFsIFNESy4iKQogICAgIChsaWNlbnNl IGxpY2Vuc2U6YnNkLTMpKSkKKworKGRlZmluZS1wdWJsaWMgbWVzaGxhYgorICAobGV0ICgodmVy c2lvbiAiMjAyMC4wNCIpKQorICAgIChwYWNrYWdlCisgICAgICAobmFtZSAibWVzaGxhYiIpCisg ICAgICAodmVyc2lvbiB2ZXJzaW9uKQorICAgICAgKHNvdXJjZSAob3JpZ2luCisgICAgICAgICAg ICAgICAgKG1ldGhvZCBnaXQtZmV0Y2gpCisgICAgICAgICAgICAgICAgKHVyaSAoZ2l0LXJlZmVy ZW5jZQorICAgICAgICAgICAgICAgICAgICAgICAodXJsICJodHRwczovL2dpdGh1Yi5jb20vY25y LWlzdGktdmNsYWIvbWVzaGxhYiIpCisgICAgICAgICAgICAgICAgICAgICAgIChjb21taXQgKHN0 cmluZy1hcHBlbmQgIk1lc2hsYWItIiB2ZXJzaW9uKSkKKyAgICAgICAgICAgICAgICAgICAgICAg KHJlY3Vyc2l2ZT8gI3QpKSkKKyAgICAgICAgICAgICAgICAoc2hhMjU2CisgICAgICAgICAgICAg ICAgICAoYmFzZTMyICIxdng5amNzbm54dnppOTBwY3hwcDdwNzJjcWczY202amlpdmRtcnhremhy MmZpejNwZnZyIikpKSkKKyAgICAgIChidWlsZC1zeXN0ZW0gY21ha2UtYnVpbGQtc3lzdGVtKQor ICAgICAgKG5hdGl2ZS1pbnB1dHMKKyAgICAgICAgYCgoInF0YmFzZSIgLHF0YmFzZSkKKyAgICAg ICAgICAoInF0c2NyaXB0IiAscXRzY3JpcHQpCisgICAgICAgICAgKCJxdHhtbHBhdHRlcm5zIiAs cXR4bWxwYXR0ZXJucykKKyAgICAgICAgICAoIm1lc2EiLCBtZXNhKQorICAgICAgICAgICgiZ2x1 IiwgZ2x1KSkpCisgICAgICAoYXJndW1lbnRzCisgICAgICAgIGAoIzp0ZXN0cz8gI2YgOyBIYXMg bm8gdGVzdHMKKyAgICAgICAgICAjOnBoYXNlcworICAgICAgICAgIChtb2RpZnktcGhhc2VzCisg ICAgICAgICAgICAlc3RhbmRhcmQtcGhhc2VzCisgICAgICAgICAgICAgIChhZGQtYWZ0ZXIKKyAg ICAgICAgICAgICAgICAndW5wYWNrICdnby10by1zb3VyY2UtZGlyCisgICAgICAgICAgICAgICAg KGxhbWJkYSBfIChjaGRpciAic3JjIikgI3QpKQorICAgICAgICAgICAgICAoYWRkLWFmdGVyCisg ICAgICAgICAgICAgICAgJ2luc3RhbGwgJ21vdmUtZmlsZXMKKyAgICAgICAgICAgICAgICAobGFt YmRhKiAoIzprZXkgb3V0cHV0cyAjOmFsbG93LW90aGVyLWtleXMpCisgICAgICAgICAgICAgICAg ICAgICAgICAgKGxldCAoKGxpYiAoc3RyaW5nLWFwcGVuZCAoYXNzb2MtcmVmIG91dHB1dHMgIm91 dCIpCisgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAi L2xpYiIpKSkKKyAgICAgICAgICAgICAgICAgICAgICAgICAgIChyZW5hbWUtZmlsZQorICAgICAg ICAgICAgICAgICAgICAgICAgICAgICAoc3RyaW5nLWFwcGVuZCBsaWIgIi9tZXNobGFiL2xpYm1l c2hsYWItY29tbW9uLnNvIikKKyAgICAgICAgICAgICAgICAgICAgICAgICAgICAgKHN0cmluZy1h cHBl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