From: Erwin W. <wat...@xs...> - 2010-06-01 18:00:25
|
Hi, Are there plans to include a curses library in MinGW and MSYS (pdcurses or ncurses)? There is an old PDcurses 2.6 in de "UserContributed" folder. I'm using PDcurses 3.4 (with wide char support) for Mingw. I could upload this if you want. I haven't tried compiling PDcurses for MSYS. Has anyone tried to build Ncurses? -- Erwin Waterlander |
From: Earnie <ea...@us...> - 2010-06-01 21:08:34
|
Erwin Waterlander wrote: > Hi, > > Are there plans to include a curses library in MinGW and MSYS (pdcurses > or ncurses)? > > There is an old PDcurses 2.6 in de "UserContributed" folder. > I'm using PDcurses 3.4 (with wide char support) for Mingw. I could > upload this if you want. I haven't tried compiling PDcurses for MSYS. > > Has anyone tried to build Ncurses? > If you're willing to maintain it we're willing to allow you to upload it for download. There are some new rules to follow that are probably best documented in the mingw-dvlpr list archives at the moment. There is no reason for a pdcurses dependent on MSYS. MSYS is not a replacement for Cygwin to the regard of supplying a POSIX runtime to support others use of building such applications. MSYS is merely a tool with a simplistic goal to provide the ability to execute ./configure && make. Only those who maintain MSYS care about such things. -- Earnie -- http://www.for-my-kids.com |
From: Erwin W. <wat...@xs...> - 2010-06-01 21:14:34
|
Erwin Waterlander schreef, Op 1-6-2010 20:00: > Hi, > > Are there plans to include a curses library in MinGW and MSYS (pdcurses > or ncurses)? > > There is an old PDcurses 2.6 in de "UserContributed" folder. > I'm using PDcurses 3.4 (with wide char support) for Mingw. I could > upload this if you want. I haven't tried compiling PDcurses for MSYS. > I created pdcurses 3.4 packages for Mingw and Msys. How can I contribute these to mingw? The "How do I contribute to MinGW" page in the WIKI is not available. > Has anyone tried to build Ncurses? > > -- Erwin Waterlander |
From: Charles W. <cwi...@us...> - 2010-06-02 02:51:01
|
On 6/1/2010 5:14 PM, Erwin Waterlander wrote: > Erwin Waterlander schreef, Op 1-6-2010 20:00: >> Are there plans to include a curses library in MinGW and MSYS (pdcurses >> or ncurses)? >> >> There is an old PDcurses 2.6 in de "UserContributed" folder. >> I'm using PDcurses 3.4 (with wide char support) for Mingw. I could >> upload this if you want. I haven't tried compiling PDcurses for MSYS. >> > I created pdcurses 3.4 packages for Mingw and Msys. As Earnie said, I don't think there is much need for any curses variant for MSYS -- at least, not as part of the official set of packages hosted by mingw.org. That isn't to say you can't post it somewhere else; mingw-get will (eventually) allow to specify "external" repositories. (http://sourceware.org/cygwinports/ is a similar "side" project for cygwin). It would still need to follow our packaging conventions, in order to mingw-get to know what to do with it, tho. There is an issue with regards to "advertisement"; Earnie doesn't like for outside "vendors" to post on the mingw lists, but maybe we can set up a wiki page kinda like cygwin's (extremely out of date static) "related sites" page: http://cygwin.com/links.html. > How can I contribute > these to mingw? The "How do I contribute to MinGW" page in the WIKI is > not available. Well, first you probably should read this: http://www.mingw.org/PackageIdentificationHOWTO A few "rules": your -src package should include some form of build recipe. Most of the existing -mingw32- packages have an internal "mingwPORT" to "drive" an automated build, but you don't have to do it that way. I think Cesar uses something called "msysrlsbld" to drive the build of gcc itself and some of its dependent libraries. The compiled results should be split into multiple tarballs, with "complete but disjoint" contents (that is, all of the tarballs taken together should include everything that 'make install' would put into $(prefix), but no file should appear in more than one tarball): libXXXXX-3.4-N-mingw32-dll-M.tar.lzma << just the DLL, nothing but. libXXXXX-3.4-N-mingw32-dev.tar.lzma << .a, .dll.a, and .h mostly pdcurses-3.4-N-mingw32-bin.tar.lzma << utility apps pdcurses-3.4-N-mingw32-doc.tar.lzma << man pgs, info files, text docu pdcurses-3.4-N-mingw32-lic.tar.lzma << the license text file (maybe others, as appropriate. -lang for i18n .mo files; -html for html docu, ...) The package should be configured as: --prefix=/usr --datarootdir=/usr/share --mandir=/usr/share/man --infodir=/usr/share/info --docdir=/usr/share/doc/${PKG}/${VER} where PKG=pdcurses? and VER=3.4? Also, there should be an "MSYS-specific" readme file, installed into /usr/share/doc/MSYS/ named "pdcurses-3.4-N-mingw32.RELEASE_NOTES.txt" included in the -doc subpackage. Since (IMO, and I think Earnie concurs) an updated mingw32 pdcurses has a good shot at "official" inclusion on the mingw.org site, I think after you manage to put together an appropriate set of tarballs we can assist with writing a mingw-get manifest for them at that time. >> Has anyone tried to build Ncurses? Not that I am aware. However, current ncurses development (5.7 patchlevel 20100529) has a great deal of support for native mingw builds, but I'm not sure if it is actually ready for public consumption yet. -- Chuck |
From: Charles W. <cwi...@us...> - 2010-06-02 02:57:13
|
On 6/1/2010 10:50 PM, Charles Wilson wrote: > The package should be configured as: > --prefix=/usr > --datarootdir=/usr/share > --mandir=/usr/share/man > --infodir=/usr/share/info > --docdir=/usr/share/doc/${PKG}/${VER} > where PKG=pdcurses? and VER=3.4? Aaargh. Brain fart. > --prefix=`cd /mingw && pwd -W` > --datarootdir='$(prefix)/share' > --mandir='$(prefix)/share/man' > --infodir='$(prefix)/share/info' > --docdir='$(prefix)/share/man'/${PKG}/${VER} or some such similar thing. > Also, there should be an "MSYS-specific" readme file, installed into MinGW-specific > /usr/share/doc/MSYS/ /mingw/share/doc/MinGW/ > named "pdcurses-3.4-N-mingw32.RELEASE_NOTES.txt" included in the -doc > subpackage. Sorry for the confusion. -- Chuck |
From: Erwin W. <wat...@xs...> - 2010-06-02 06:43:52
|
Op 02-06-10 04:56, Charles Wilson schreef: > On 6/1/2010 10:50 PM, Charles Wilson wrote: > >> The package should be configured as: >> --prefix=/usr >> --datarootdir=/usr/share >> --mandir=/usr/share/man >> --infodir=/usr/share/info >> --docdir=/usr/share/doc/${PKG}/${VER} >> where PKG=pdcurses? and VER=3.4? >> > > Aaargh. Brain fart. > > >> --prefix=`cd /mingw && pwd -W` >> --datarootdir='$(prefix)/share' >> --mandir='$(prefix)/share/man' >> --infodir='$(prefix)/share/info' >> --docdir='$(prefix)/share/man'/${PKG}/${VER} >> > > or some such similar thing. > > >> Also, there should be an "MSYS-specific" readme file, installed into >> > MinGW-specific > > >> /usr/share/doc/MSYS/ >> > /mingw/share/doc/MinGW/ > > >> named "pdcurses-3.4-N-mingw32.RELEASE_NOTES.txt" included in the -doc >> subpackage. >> > > Sorry for the confusion. > > Thanks all for the information. I will work on this. I will first create packages for Mingw. I think that curses for MSYS is also useful. At least for me. I use it in wcd. Erwin |
From: Earnie <ea...@us...> - 2010-06-02 11:40:23
|
Erwin Waterlander wrote: > Op 02-06-10 04:56, Charles Wilson schreef: >> On 6/1/2010 10:50 PM, Charles Wilson wrote: >> >>> The package should be configured as: >>> --prefix=/usr >>> --datarootdir=/usr/share >>> --mandir=/usr/share/man >>> --infodir=/usr/share/info >>> --docdir=/usr/share/doc/${PKG}/${VER} >>> where PKG=pdcurses? and VER=3.4? >>> >> >> Aaargh. Brain fart. >> >> >>> --prefix=`cd /mingw&& pwd -W` >>> --datarootdir='$(prefix)/share' >>> --mandir='$(prefix)/share/man' >>> --infodir='$(prefix)/share/info' >>> --docdir='$(prefix)/share/man'/${PKG}/${VER} >>> >> >> or some such similar thing. >> >> >>> Also, there should be an "MSYS-specific" readme file, installed into >>> >> MinGW-specific >> >> >>> /usr/share/doc/MSYS/ >>> >> /mingw/share/doc/MinGW/ >> >> >>> named "pdcurses-3.4-N-mingw32.RELEASE_NOTES.txt" included in the -doc >>> subpackage. >>> >> >> Sorry for the confusion. >> >> > Thanks all for the information. I will work on this. I will first create > packages for Mingw. Ok, great. I'll send you personal information on a prior question you asked. > I think that curses for MSYS is also useful. At least for me. I use it > in wcd. Well, NCurses is used in bash, the maintainers of bash also maintain NCurses or at least they used to. But we do not promote MSYS dependent libraries to be used by the general public; they are only needed by those who maintain MSYS. So, is your wcd using the MSYS DLL to run on Windows? Nevermind I found the answer on the web page[1] for it. I still don't think we want to offer a download of a curses library and leave it in the hands of those who (like you) know what they are doing to build it for themselves. [1] http://wcd.sourceforge.net -- Earnie -- http://www.for-my-kids.com |