public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
From: Ken Brown <kbrown@cornell.edu>
To: "cygwin@cygwin.com" <cygwin@cygwin.com>
Subject: Re: Supplying a patched package
Date: Mon, 29 Oct 2018 14:47:00 -0000	[thread overview]
Message-ID: <65cf7307-3bf2-d8fe-6be9-889bdf60bf32@cornell.edu> (raw)
In-Reply-To: <03354D05-354F-4C65-9932-2D663EB32B5F@lemma-one.com>

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain; charset="utf-8", Size: 2317 bytes --]

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.

Ken
\0ТÒÐÐ¥\a&ö&ÆVÒ\a&W\x06÷'G3¢\x02\x02\x02\x02\x02\x02\x06‡GG\x03¢òö7–wv–âæ6öÒ÷\a&ö&ÆV×2æ‡FÖÀФd\x15\x13¢\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x06‡GG\x03¢òö7–wv–âæ6öÒöf\x17\x12ðФFö7VÖVçF\x17F–öã¢\x02\x02\x02\x02\x02\x02\x02\x02\x06‡GG\x03¢òö7–wv–âæ6öÒöFö72æ‡FÖÀÐ¥Vç7V'67&–&R\x06–æfó¢\x02\x02\x02\x02\x02\x06‡GG\x03¢òö7–wv–âæ6öÒöÖÂò7Vç7V'67&–&R×6–×\x06ÆPРÐ

  reply	other threads:[~2018-10-29 14:47 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 [this message]
2019-03-04 16:35   ` Rob Arthan

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=65cf7307-3bf2-d8fe-6be9-889bdf60bf32@cornell.edu \
    --to=kbrown@cornell.edu \
    --cc=cygwin@cygwin.com \
    /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).