Package Proposal: Xcoral

Igor Pechtchanski pechtcha@cs.nyu.edu
Tue Oct 5 16:57:00 GMT 2004


On Tue, 5 Oct 2004, Gerrit P. Haase wrote:

> Hello Charles,
>
> [snip]
> > The port has been done, but I am having one trouble with the package
> > creation. To make the port, I had to move files to a different directory.
> > For example "control.h" was moved to "lowercase/control.h" to avoid the
> > name conflict with "Control.h". This means that the diff will not create
> > an accurate patch since the filenames have been changed. How would I go
> > about making a patch in this case?
>
> Use managed mounts to avoid renaming.
>
> export CWD=`pwd`
> mkdir xcoral-1.2.3
> mount -o managed `cygpath -m $CWD` $CWD/xcoral
>
> extract xcoral-1.2.3.tar.gz and build like you would build it on Unix
> too.

Please don't, at least not for the final package.  I'd be very wary of
putting packages into the distribution that would require managed mounts
to build.  Contact the upstream maintainers, and tell them that their
package is non-portable, and won't build on non-case-preserving
filesystems.  Ask them to change the name of either control.h or
Control.h.  In my experience, most projects (with the exception of a few
that are openly hostile towards any Windows tool) will accomodate Cygwin
by renaming the file (especially if it's a generated file).
	Igor
-- 
				http://cs.nyu.edu/~pechtcha/
      |\      _,,,---,,_		pechtcha@cs.nyu.edu
ZZZzz /,`.-'`'    -.  ;-;;,_		igor@watson.ibm.com
     |,4-  ) )-,_. ,\ (  `'-'		Igor Pechtchanski, Ph.D.
    '---''(_/--'  `-'\_) fL	a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

"Happiness lies in being privileged to work hard for long hours in doing
whatever you think is worth doing."  -- Dr. Jubal Harshaw



More information about the Cygwin-apps mailing list