Hi Arjen,
I do not think that the patch is specific to Debian. I will let Nicolas
give a more precise explanation of the situation.
Best,
Rafael
* Arjen Markus <arjen.mar...@deltares.nl> [2022-12-18 15:04]:
Hi Rafael,
I am looking into the patches and suggestions you sent. This is specific to
Debian, you say, so the new code is to be run on Debian only. What would be an
appropriate check that we are running on this platform? (I have no experience
with building the Ada package or with Ada at all, nor have I access to a
Debian platform.)
Regards,
Arjen
-----Original Message-----
From: Rafael Laboissière <raf...@laboissiere.net>
Sent: 08 December 2022 12:10
To: PLplot development list <plplot-devel@lists.sourceforge.net>
Cc: Nicolas Boulenguez <nico...@debian.org>
Subject: [Plplot-devel] Build a static version of libplplotada
Caution: This message was sent from outside of Deltares. Please do not click links or
open attachments unless you recognize the source of this email and know the content is
safe. Please report all suspicious emails to "servicedesk-...@deltares.nl" as
an attachment.
Dear PLplot developers,
We are currently applying the patch attached below when building the Debian
package for PLplot. It allows the creation of a static version of libplplotada,
what is recommended to meet the Ada standards in Debian.
This solution is not ideal, because the new target libplplotada_static.a is
created and later, in debian/rules, the following is needed in target
execute_after_dh_auto_install (see [1]):
mv debian/tmp/usr/lib/$(DEB_HOST_MULTIARCH)/libplplotada_static.a \
debian/tmp/usr/lib/$(DEB_HOST_MULTIARCH)/libplplotada.a
My knowledge of CMake is too scarce and I could not figure out how to avoid the
renaming above.
According to Nicolas Boulenguez, this change could be accompanied by a new
configuration option :
shared_library *yes/no
static_library yes/*no
This schema could allow one to add a static-pic in the future.
Best,
Rafael Laboissière
[1]
https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fsalsa.debian.org%2Fscience-team%2Fplplot%2F-%2Fcommit%2F82895090f80180bd1d085e03fb09056e31138e92&data=05%7C01%7C%7C46d0b47393524d4aaadd08dad90e4c70%7C15f3fe0ed7124981bc7cfe949af215bb%7C0%7C1%7C638060952705369812%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=c2%2FlFMScn3wHgzmnAChlQSrKoN4%2FnqWuGSn2i100x6c%3D&reserved=0
DISCLAIMER: This message is intended exclusively for the addressee(s) and may
contain confidential and privileged information. If you are not the intended
recipient please notify the sender immediately and destroy this message.
Unauthorized use, disclosure or copying of this message is strictly prohibited.
The foundation 'Stichting Deltares', which has its seat at Delft, The
Netherlands, Commercial Registration Number 41146461, is not liable in any way
whatsoever for consequences and/or damages resulting from the improper,
incomplete and untimely dispatch, receipt and/or content of this e-mail.
_______________________________________________
Plplot-devel mailing list
Plplot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/plplot-devel