public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
From: Rob Arthan <rda@lemma-one.com>
To: Ken Brown <kbrown@cornell.edu>
Cc: "cygwin@cygwin.com" <cygwin@cygwin.com>
Subject: Re: Supplying a patched package
Date: Mon, 04 Mar 2019 16:35:00 -0000	[thread overview]
Message-ID: <1CA67F57-3BF1-448E-A64E-046F4333AD58@lemma-one.com> (raw)
In-Reply-To: <65cf7307-3bf2-d8fe-6be9-889bdf60bf32@cornell.edu>



> On 29 Oct 2018, at 14:46, Ken Brown <kbrown@cornell.edu> wrote:
> 
> 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.
>> 
>> 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’t 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.
>> 
>> Building the DLL seems a bit tricky, so I’d 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 DLLs
>> 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?
>> 
>> 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?
> 
> Have you considered creating a Cygwin package for your app?  See
> 
>   https://cygwin.com/packages.html
> 
> for information about this.
> 
> As for OpenMotif, I suggest sending your patch to the cygwin-apps mailing list 
> where the motif maintainer (Yaakov) might see it and update the package.  Or you 
> could offer to take over as maintainer if Yaakov is too busy to update it and is 
> willing to give it up.
> 

Belated thanks for your advice. Creating a Cygwin package for my app (ProofPower)
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’t 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

      reply	other threads:[~2019-03-04 16:35 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-10-28 16:43 Rob Arthan
2018-10-29 14:47 ` Ken Brown
2019-03-04 16:35   ` Rob Arthan [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1CA67F57-3BF1-448E-A64E-046F4333AD58@lemma-one.com \
    --to=rda@lemma-one.com \
    --cc=cygwin@cygwin.com \
    --cc=kbrown@cornell.edu \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).