unixwork / xnedit

A fast and classic X11 text editor, based on NEdit, with full unicode support and antialiased text rendering.
Other
83 stars 11 forks source link

building on Cygwin #143

Closed efa closed 1 month ago

efa commented 1 month ago

hi, you should list "libXt-devel" and "libXm-devel" as pre-requisite in "BUILDING XNEDIT" section for Cygwin in README.md Something like: ...

...

unixwork commented 1 month ago

Motif is already mentioned in the requirements.

Does cygwin has a package manager? The readme also contains the exact install command for some platforms, it would be possible to add cygwin to this.

efa commented 1 month ago

In a new installation I have the X11, Xft, Xrender devel and Motif package installed and I still got intrinsics.h not found. I solved installing libXt. Then I got another missing include that required libXm.

About package manager, yes Cygwin has something very similar to Synaptic a GUI search and install that solve deps too. It works as GUI and CLI. I haven't handy the exact command line with all the deps bacause now I have already Installed all via GUI. And now on holiday I haven't a Win installation ready, but in next days I want to prepare a new Win10 virtual machine where test those situations

efa commented 1 month ago

the CLI command line is: C:\Download\Cygwin>setup-x86_64.exe -qP <package list>

I will add the minimum packages list, at least the build tools: gcc-g++ make git

efa commented 1 month ago

seems that setup-x86_64.exe ignore the package next to first, also with client 2.932 (will open a bug on Cygwin) So the installation command will be:

setup-x86_64.exe -qP gcc-g++ 
setup-x86_64.exe -qP make 
setup-x86_64.exe -qP git
setup-x86_64.exe -qP pkg-config 
setup-x86_64.exe -qP libX11-devel 
setup-x86_64.exe -qP libXt-devel 
setup-x86_64.exe -qP libXm-devel 
setup-x86_64.exe -qP libXrender-devel 
setup-x86_64.exe -qP libXft-devel 
setup-x86_64.exe -qP libiconv-devel 
setup-x86_64.exe -qP libfontconfig-devel 
setup-x86_64.exe -qP motif 
setup-x86_64.exe -qP bison 
efa commented 1 month ago

found the packages must be comma separated, so work as so: setup-x86_64.exe -qP gcc-g++,make,git,pkg-config,libX11-devel,libXt-devel,libXm-devel,libXrender-devel,libXft-devel,libiconv-devel,libfontconfig-devel,motif,bison

unixwork commented 1 month ago

I've added the command to the readme.