From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 40222 invoked by alias); 4 Mar 2019 16:35:45 -0000 Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Received: (qmail 39203 invoked by uid 89); 4 Mar 2019 16:35:44 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=0.5 required=5.0 tests=BAYES_05,KAM_LAZY_DOMAIN_SECURITY,RCVD_IN_DNSWL_NONE autolearn=no version=3.3.2 spammy=supplying, Supplying, bother, picked X-HELO: otter.birch.relay.mailchannels.net Received: from otter.birch.relay.mailchannels.net (HELO otter.birch.relay.mailchannels.net) (23.83.209.139) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Mon, 04 Mar 2019 16:35:42 +0000 X-Sender-Id: interserver|x-authuser|rda@lemma-one.com Received: from relay.mailchannels.net (localhost [127.0.0.1]) by relay.mailchannels.net (Postfix) with ESMTP id E6EE43E5836; Mon, 4 Mar 2019 16:35:37 +0000 (UTC) Received: from blueberry.trouble-free.net (unknown [100.96.11.5]) (Authenticated sender: interserver) by relay.mailchannels.net (Postfix) with ESMTPA id 610ED3E5177; Mon, 4 Mar 2019 16:35:37 +0000 (UTC) X-Sender-Id: interserver|x-authuser|rda@lemma-one.com Received: from blueberry.trouble-free.net (blueberry.trouble-free.net [66.45.228.105]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384) by 0.0.0.0:2500 (trex/5.16.3); Mon, 04 Mar 2019 16:35:37 +0000 X-MC-Relay: Neutral X-MailChannels-SenderId: interserver|x-authuser|rda@lemma-one.com X-MailChannels-Auth-Id: interserver X-Belong-Attack: 6db6ce4e29823fbd_1551717337702_177296820 X-MC-Loop-Signature: 1551717337702:1797347645 X-MC-Ingress-Time: 1551717337701 Received: from lemma-one.demon.co.uk ([80.176.88.124]:50027 helo=[192.168.0.93]) by blueberry.trouble-free.net with esmtpsa (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.91) (envelope-from ) id 1h0qYx-001ScM-8n; Mon, 04 Mar 2019 11:35:35 -0500 Content-Type: text/plain; charset=utf-8 Mime-Version: 1.0 (Mac OS X Mail 12.0 \(3445.100.39\)) Subject: Re: Supplying a patched package From: Rob Arthan In-Reply-To: <65cf7307-3bf2-d8fe-6be9-889bdf60bf32@cornell.edu> Date: Mon, 04 Mar 2019 16:35:00 -0000 Cc: "cygwin@cygwin.com" Content-Transfer-Encoding: quoted-printable Message-Id: <1CA67F57-3BF1-448E-A64E-046F4333AD58@lemma-one.com> References: <03354D05-354F-4C65-9932-2D663EB32B5F@lemma-one.com> <65cf7307-3bf2-d8fe-6be9-889bdf60bf32@cornell.edu> To: Ken Brown X-AuthUser: rda@lemma-one.com X-IsSubscribed: yes X-SW-Source: 2019-03/txt/msg00039.txt.bz2 > On 29 Oct 2018, at 14:46, Ken Brown wrote: >=20 > On 10/28/2018 12:43 PM, Rob Arthan wrote: >> I have an application that is available for the main UN*X implementations >> and uses the OpenMotif library. It currently works fine on Cygwin using >> the motif-2.3.6-1 package. I am working on enhancing it to use Unicode >> and UTF-8 to display mathematical symbols and this has exposed a bug >> in OpenMotif. I have a patch for the bug and have successfully built >> the OpenMotif library as a DLL and tested it on Cygwin. >>=20 >> The bug has been reported but the turn-round time for a fix to OpenMotif >> is likely to be 6 or 12 months and I don=E2=80=99t how long it will take= for it to >> get picked up on Cygwin (2.3.6 is 2 versions and 18 months behind the >> latest version). So my question is what is the best way to supply my fix= to >> users on Cygwin in the interim. >>=20 >> Building the DLL seems a bit tricky, so I=E2=80=99d prefer users not to = have to >> do that. If I supply the DLL, then the simplest thing seems to be just >> to include the DLL in a bin folder alongside the executable for my app. >> Is that a robust and portable solution? Will I need to build different D= LLs >> for different architectures or can I safely assume that people running >> on a reasonably recent MS Windows installation will only want the x86_64= DLL? >>=20 >> Apologies if the answer should be obvious: I am a reasonably proficient >> UN*X programmer, but just a naive end-user feeling my way on MS >> Windows. Am I right in inferring from experiments that Cygwin and/or >> MS Windows looks for DLLs on the list of folders given $PATH and/or >> %PATH% list but has a look in the folder containing the executable that >> wants the DLL first? >=20 > Have you considered creating a Cygwin package for your app? See >=20 > https://cygwin.com/packages.html >=20 > for information about this. >=20 > As for OpenMotif, I suggest sending your patch to the cygwin-apps mailing= list=20 > where the motif maintainer (Yaakov) might see it and update the package. = Or you=20 > could offer to take over as maintainer if Yaakov is too busy to update it= and is=20 > willing to give it up. >=20 Belated thanks for your advice. Creating a Cygwin package for my app (Proof= Power) sounds like a very good idea and I will look into it. Unfortunately, the enhancements to ProofPower that needed the OpenMotif bug= fix are currently stymied on Cygwin by another problem. So I won=E2=80=99t need= to bother anybody about applying my patch in the short term. Regards, Rob. -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple