Re: TeXworks and hunspell

2012-03-29 Thread Ken Brown

On 3/28/2012 5:26 AM, Yaakov (Cygwin/X) wrote:

On 2012-03-24 10:15, Ken Brown wrote:

1. The manual (which is supposed to be available from the Help menu)
doesn't get installed.


Fixed in Ports git.


Thanks!  I never cease to be amazed at the wonders of cygport.


Another question is how to make the commands under the Help menu that
want to open a URL work. Or would this require a KDE desktop?


No, but it does require a browser; does installing xdg-utils from Ports
help?


Yes, it does help.  I haven't completely figured out how to configure my 
system so that xdg-open will do everything I want, but I've figured out 
enough to know that it's do-able.


On the subject of xdg-utils, you originally made it a dependency of 
asymptote (which would have required moving it to the distro).  What 
made you change your mind?  Are there problems with xdg-utils that are 
keeping you from moving it to the distro?  I'd be glad to help in any 
way I can.


Ken



Re: TeXworks and hunspell

2012-03-28 Thread Yaakov (Cygwin/X)

On 2012-03-24 10:15, Ken Brown wrote:

1. The manual (which is supposed to be available from the Help menu)
doesn't get installed.


Fixed in Ports git.


2. TeXworks requires hunspell. Are you interested in moving this into
the distro? I suppose I could ITP that also, but I don't really know
anything about it, so I'm not the best person to be its maintainer. BTW,
I built hunspell using your .cygport, and cygport warned me that the
following three scripts didn't get packaged:

usr/bin/affixcompress
usr/bin/makealias
usr/bin/wordforms

Was this deliberate or just an oversight?


Deliberate; they shouldn't be needed by anything.


Another question is how to make the commands under the Help menu that
want to open a URL work.  Or would this require a KDE desktop?


No, but it does require a browser; does installing xdg-utils from Ports 
help?



Yaakov


Re: TeXworks and hunspell

2012-03-24 Thread Ken Brown

On 3/24/2012 2:39 PM, Ken Brown wrote:

On 3/24/2012 11:15 AM, Ken Brown wrote:

To complete the process of modernizing Cygwin's TeX programs, I am
thinking about ITPing TeXworks. I've built it using the .cygport file
from Ports. I have two questions for Yaakov.

1. The manual (which is supposed to be available from the Help menu)
doesn't get installed. Having never before built a package that uses
qmake, I'm not sure how to make this happen. I see in TeXworks.pro the
lines

manual.files = manual/*
manual.path = $$TW_HELPPATH

which I would think should take care of this, but it doesn't. Do you
know how to fix this?


This must have something to do with cygport, because the manual does get
installed if I build outside of cygport via qmake-qt4, make, make
install.


Sorry for the noise.  I just looked more closely at the .cygport file 
and saw that it doesn't use make install.  So I guess I just have to 
manually copy manual/* into ${D}/usr/share/texworks-help.


Another question is how to make the commands under the Help menu that 
want to open a URL work.  Or would this require a KDE desktop?


Ken