public inbox for cygwin-apps@cygwin.com
 help / color / mirror / Atom feed
* Re: New file for winsup/utils
@ 2002-02-20 21:17 Joshua Daniel Franklin
  2002-02-22 19:30 ` Charles Wilson
  0 siblings, 1 reply; 5+ messages in thread
From: Joshua Daniel Franklin @ 2002-02-20 21:17 UTC (permalink / raw)
  To: cygwin-apps

> >OK, here is a new util:
> >
> >Usage mkshortcut.exe [OPTION]... TARGET 
> >NOTE: All filename arguments must be in unix (POSIX) format
> >  -a|--arguments=ARGS   use arguments ARGS 
> >  -h|--help             output usage information and exit
> >  -i|--icon             icon file for link to use
> >  -j|--iconoffset       offset of icon in icon file (default is 0)
> >  -n|--name             name for link (defaults to TARGET)
> >  -v|--version          output version information and exit
> >  -A|--allusers         use 'All Users' instead of current user for -D,-P
> >  -D|--desktop          create link relative to 'Desktop' directory
> >  -P|--smprograms       create link relative to Start Menu 'Programs'
directory
> 
> Now that cygutils is part of the distribution, I think this belongs there, if
> Chuck is amenable.
> 
> With the exception of regtool, all of the programs in winsup/utils are pretty
> cygwin-specific.  While this looks like a very nice tool, I think it belongs
> elsewhere.
> 
> cgf
> 

Looks like a discussion for cygwin-apps. The only thing I would be worried 
about is if cygutils is NOT installed but some packages use mkshortcut as 
part of their post-install script. Wasn't there some discussion of merging
cygutils into the winsup CVS, or did I not catch that right? 

Chuck, do you want to grab the file from cygwin-patches and put it in cygutils?

I'll need to write different documentation than utils.sgml also.
Thanks.

__________________________________________________
Do You Yahoo!?
Yahoo! Sports - Coverage of the 2002 Olympic Games
http://sports.yahoo.com

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: New file for winsup/utils
  2002-02-20 21:17 New file for winsup/utils Joshua Daniel Franklin
@ 2002-02-22 19:30 ` Charles Wilson
  2002-02-23 13:13   ` Joshua Daniel Franklin
  0 siblings, 1 reply; 5+ messages in thread
From: Charles Wilson @ 2002-02-22 19:30 UTC (permalink / raw)
  To: Joshua Daniel Franklin; +Cc: cygwin-apps



Joshua Daniel Franklin wrote:

>>>OK, here is a new util:
>>>
>>>Usage mkshortcut.exe [OPTION]... TARGET 
>>>NOTE: All filename arguments must be in unix (POSIX) format
>>> -a|--arguments=ARGS   use arguments ARGS 
>>> -h|--help             output usage information and exit
>>> -i|--icon             icon file for link to use
>>> -j|--iconoffset       offset of icon in icon file (default is 0)
>>> -n|--name             name for link (defaults to TARGET)
>>> -v|--version          output version information and exit
>>> -A|--allusers         use 'All Users' instead of current user for -D,-P
>>> -D|--desktop          create link relative to 'Desktop' directory
>>> -P|--smprograms       create link relative to Start Menu 'Programs'
>>>
> directory
> 
>>Now that cygutils is part of the distribution, I think this belongs there, if
>>Chuck is amenable.
>>
>>With the exception of regtool, all of the programs in winsup/utils are pretty
>>cygwin-specific.  While this looks like a very nice tool, I think it belongs
>>elsewhere.
>>
>>cgf
>>
>>
> 
> Looks like a discussion for cygwin-apps. The only thing I would be worried 
> about is if cygutils is NOT installed but some packages use mkshortcut as 
> part of their post-install script. Wasn't there some discussion of merging
> cygutils into the winsup CVS, or did I not catch that right?


cygutils now has its own directory, hosted by the cygwin-apps 
repository.  THAT is what the discussion was -- previously it was 
"hosted" on my laptop. :-)  It was never considered for merging into winsup.

Also, packages that use it in their postinstall script just need to 
include cygutils as a dependency.


> Chuck, do you want to grab the file from cygwin-patches and put it in cygutils?


Sure, that sounds like a good addition.


> I'll need to write different documentation than utils.sgml also.


Is there some automated tool that could convert your .sgml to .texinfo? 
That'd be good...'cause then the installation could create .info and we 
could use texi2roff to generate the man page(*)

(*) this would not be part of an "ordinary" build process; as the 
maintainer, we'd use texi2roff to generate a man page, and ship that 
manpage.1 file as part of the sources.  texi2roff is here: 
http://www.fido.de/kama/texinfo/texinfo-en.html

I'm not sure how good a job it does; and the generated manfile would 
probably need some editing.  Does anybody speak roff?

--Chuck

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: New file for winsup/utils
  2002-02-22 19:30 ` Charles Wilson
@ 2002-02-23 13:13   ` Joshua Daniel Franklin
  2002-02-23 19:48     ` Charles Wilson
  0 siblings, 1 reply; 5+ messages in thread
From: Joshua Daniel Franklin @ 2002-02-23 13:13 UTC (permalink / raw)
  To: Charles Wilson; +Cc: cygwin-apps

[-- Attachment #1: Type: text/plain, Size: 1460 bytes --]

> > Chuck, do you want to grab the file from cygwin-patches and put it in
> cygutils?
>
> Sure, that sounds like a good addition.
> 
OK, c file and man page attached. The copyright is updated and the 
version now reads 1.01. I assume you would rather mess with
the Makefile since you're already familiar with the cygutils source;
let me know if I need to provide patches for anything.

> > I'll need to write different documentation than utils.sgml also.
> 
> Is there some automated tool that could convert your .sgml to .texinfo? 
> That'd be good...'cause then the installation could create .info and we 
> could use texi2roff to generate the man page(*)
> 
> (*) this would not be part of an "ordinary" build process; as the 
> maintainer, we'd use texi2roff to generate a man page, and ship that 
> manpage.1 file as part of the sources.  texi2roff is here: 
> http://www.fido.de/kama/texinfo/texinfo-en.html
> 
> I'm not sure how good a job it does; and the generated manfile would 
> probably need some editing.  Does anybody speak roff?
>
I speak a little roff, so since I don't have a sgml->texinfo translator
I just made a mkshortcut.1 file. Maybe there's something to convert man
to texinfo, so documentation can be created in either format and translated?
I've used man2html quite a bit and it works well. 

__________________________________________________
Do You Yahoo!?
Yahoo! Sports - Coverage of the 2002 Olympic Games
http://sports.yahoo.com

[-- Attachment #2: mkshortcut-1.01.tar.bz2 --]
[-- Type: application/octet-stream, Size: 4717 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: New file for winsup/utils
  2002-02-23 13:13   ` Joshua Daniel Franklin
@ 2002-02-23 19:48     ` Charles Wilson
  0 siblings, 0 replies; 5+ messages in thread
From: Charles Wilson @ 2002-02-23 19:48 UTC (permalink / raw)
  To: Joshua Daniel Franklin; +Cc: cygwin-apps

Joshua Daniel Franklin wrote:

> OK, c file and man page attached. The copyright is updated and the 
> version now reads 1.01. I assume you would rather mess with
> the Makefile since you're already familiar with the cygutils source;
> let me know if I need to provide patches for anything.


This'll do...


>>I'm not sure how good a job it does; and the generated manfile would 
>>probably need some editing.  Does anybody speak roff?
>>
>>
> I speak a little roff, so since I don't have a sgml->texinfo translator
> I just made a mkshortcut.1 file. Maybe there's something to convert man
> to texinfo, so documentation can be created in either format and translated?
> I've used man2html quite a bit and it works well. 


Not necessary.  If there is no .info file, info will display the man page.

--Chuck


^ permalink raw reply	[flat|nested] 5+ messages in thread

* RE: New file for winsup/utils
@ 2002-02-21  1:57 Robert Collins
  0 siblings, 0 replies; 5+ messages in thread
From: Robert Collins @ 2002-02-21  1:57 UTC (permalink / raw)
  To: Joshua Daniel Franklin, cygwin-apps



> -----Original Message-----
> From: Joshua Daniel Franklin [mailto:joshuadfranklin@yahoo.com]
> Looks like a discussion for cygwin-apps. The only thing I 
> would be worried 
> about is if cygutils is NOT installed but some packages use 
> mkshortcut as 
> part of their post-install script. Wasn't there some 

Thats not an issue: the package simply uses a requries: clause in setup.hint.

Rob

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2002-02-23 21:13 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-02-20 21:17 New file for winsup/utils Joshua Daniel Franklin
2002-02-22 19:30 ` Charles Wilson
2002-02-23 13:13   ` Joshua Daniel Franklin
2002-02-23 19:48     ` Charles Wilson
2002-02-21  1:57 Robert Collins

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).