/usr/games to install games?

2008-03-14 Thread Jari Aalto

What is the proper location for games in Cygwin? According to FHS[1],
I've used:

 /usr/games

Jari

[1] http://www.pathname.com/fhs/pub/fhs-2.3.html#SPECIFICOPTIONS9

Chapter 4. The /usr Hierarchy
Purpose

/usr is the second major section of the filesystem. /usr is shareable,
read-only data. That means that /usr should be shareable between
various FHS-compliant hosts and must not be written to. Any
information that is host-specific or varies with time is stored
elsewhere.

Specific Options
.
Directory   Description
X11R6   XWindow System, version 11 release 6 (optional)
games   Games and educational binaries (optional)
libqual   Alternate Format Libraries (optional)
src Source code (optional)

-- 
Welcome to FOSS revolution: we fix and modify until it shines


[GTG] Re: [ITP] vfu 4.06 -- A mc-like versatile text-based filemanager

2008-03-14 Thread Dr. Volker Zell
 Jari Aalto writes:

 In Debian stable:

 http://packages.debian.org/unstable/vfu

Builds fine from source, packaging and setup.hint look good.

GTG
  Volker


[GTG] Re: [ITP] tirc 1.2 -- Token's irc client

2008-03-14 Thread Dr. Volker Zell
 Jari Aalto writes:

 Included in Debian stable:

 http://packages.debian.org/tirc

Builds fine from source, packaging and setup.hint look good.

GTG
  Volker


[GTG] Re: [ITP] cdargs 1.35 -- Bookmarks and browsing for the cd command

2008-03-14 Thread Dr. Volker Zell
 Jari Aalto writes:

 Include din Debian stable:

 http://packages.debian.org/cdargs

Builds fine from source and packaging looks good.
Requires should be:

requires: cygwin bash libncurses8

GTG
  Volker


[GTG] Re: [ITP] lv 4.51 -- Multilingual less-like viewer

2008-03-14 Thread Dr. Volker Zell
 Jari Aalto writes:

 Included in Debian stable:

 http://packages.debian.org/lv

Builds fine from source, packaging and setup.hint look good.

GTG
  Volker


Re: [ITP] iselect 1.4.0 -- An interactive line selection tool for ASCII files

2008-03-14 Thread Jari Aalto
* Thu 2008-03-13 Volker Zell [EMAIL PROTECTED]
* Message-Id: [EMAIL PROTECTED]

  http://packages.debian.org/iselect

 /usr/bin.exe   

Fixed.

  mkdir iselect
  cd iselect
  wget\
http://cygwin.cante.net/iselect/setup.hint \
http://cygwin.cante.net/iselect/iselect-1.4.0-1-src.tar.bz2 \
http://cygwin.cante.net/iselect/iselect-1.4.0-1.tar.bz2
  tar -xf iselect-1.4.0-1-src.tar.bz2
  ./iselect*.sh --color all

-- 
Welcome to FOSS revolution: we fix and modify until it shines


Re: [GTG] Re: [ITP] cdargs 1.35 -- Bookmarks and browsing for the cd command

2008-03-14 Thread Jari Aalto
* Fri 2008-03-14 Volker Zell [EMAIL PROTECTED]
* Message-Id: [EMAIL PROTECTED]
  http://packages.debian.org/cdargs

 Builds fine from source and packaging looks good.
 requires: cygwin bash libncurses8

Fixed.

  mkdir cdargs
  cd cdargs
  wget\
http://cygwin.cante.net/cdargs/cdargs-1.35-1-src.tar.bz2 \
http://cygwin.cante.net/cdargs/cdargs-1.35-1.tar.bz2 \
http://cygwin.cante.net/cdargs/setup.hint
  tar -xf cdargs-1.35-1-src.tar.bz2
  ./cdargs*.sh --color all

Jari

-- 
Welcome to FOSS revolution: we fix and modify until it shines


Re: [ITP] tirc 1.2 -- Token's irc client

2008-03-14 Thread Corinna Vinschen
On Mar 13 19:41, Jari Aalto wrote:
 http://cygwin.cante.net/tirc/tirc-1.2-1-src.tar.bz2 \
 http://cygwin.cante.net/tirc/tirc-1.2-1.tar.bz2 \
 http://cygwin.cante.net/tirc/setup.hint

Uploaded.


Thanks,
Corinna

-- 
Corinna Vinschen  Please, send mails regarding Cygwin to
Cygwin Project Co-Leader  cygwin AT cygwin DOT com
Red Hat


Re: [ITP] vfu 4.06 -- A mc-like versatile text-based filemanager

2008-03-14 Thread Corinna Vinschen
On Mar 13 19:41, Jari Aalto wrote:
 http://cygwin.cante.net/vfu/vfu-4.06-1-src.tar.bz2 \
 http://cygwin.cante.net/vfu/vfu-4.06-1.tar.bz2 \
 http://cygwin.cante.net/vfu/setup.hint

Uploaded.


Thanks,
Corinna

-- 
Corinna Vinschen  Please, send mails regarding Cygwin to
Cygwin Project Co-Leader  cygwin AT cygwin DOT com
Red Hat


Re: [GTG] Re: [ITP] cdargs 1.35 -- Bookmarks and browsing for the cd command

2008-03-14 Thread Corinna Vinschen
On Mar 14 11:11, Jari Aalto wrote:
 http://cygwin.cante.net/cdargs/cdargs-1.35-1-src.tar.bz2 \
 http://cygwin.cante.net/cdargs/cdargs-1.35-1.tar.bz2 \
 http://cygwin.cante.net/cdargs/setup.hint

Uploaded.


Thanks,
Corinna

-- 
Corinna Vinschen  Please, send mails regarding Cygwin to
Cygwin Project Co-Leader  cygwin AT cygwin DOT com
Red Hat


Re: [RFU] robodoc-4.99.36-1

2008-03-14 Thread Corinna Vinschen
On Mar 13 20:58, Gergely Budai wrote:
   http://home.arcor.de/thuffir/cygwin/robodoc/robodoc-4.99.36-1-src.tar.bz2 \
   http://home.arcor.de/thuffir/cygwin/robodoc/robodoc-4.99.36-1.tar.bz2 \
   http://home.arcor.de/thuffir/cygwin/robodoc/setup.hint

Uploaded.


Thanks,
Corinna

-- 
Corinna Vinschen  Please, send mails regarding Cygwin to
Cygwin Project Co-Leader  cygwin AT cygwin DOT com
Red Hat


Re: [ITA] sysvinit: A System-V Init Clone

2008-03-14 Thread Corinna Vinschen
Yaakov?

We're waiting for almost a month now for the new util-linux package.
Can you please update?


On Mar  3 18:55, Corinna Vinschen wrote:
 Yaakov?
 
 Any chance you can do the update?
 
 On Feb 25 12:24, Corinna Vinschen wrote:
  On Feb 20 11:48, Corinna Vinschen wrote:
   On Feb 19 23:03, Dr. Volker Zell wrote:
Hi

I would like to adopt and maintain the 'sysvinit' package from Sergey 
Okhapkin.
[...]
wget http://volkerzell.de/cygwin/ITP/sysvinit/setup.hint
wget 
http://volkerzell.de/cygwin/ITP/sysvinit/sysvinit-2.86-1-src.tar.bz2
wget http://volkerzell.de/cygwin/ITP/sysvinit/sysvinit-2.86-1.tar.bz2
   
   Packaging looks good to me.  Thanks for taking over!
   
   I have prepared a new inetutils package which doesn't provide logger.exe
   anymore. 
  
  I uploaded the above package.  I also uploaded a new inetutils 
  package which was necessary due to a security problem in rshd.
  
   Now we just need a new util-linux package without last.exe. :)
  
  This is still the case.  We still need the new util-linux package
  without last.exe.  Yaakov?


Corinna

-- 
Corinna Vinschen  Please, send mails regarding Cygwin to
Cygwin Project Co-Leader  cygwin AT cygwin DOT com
Red Hat


Re: /usr/games to install games?

2008-03-14 Thread Corinna Vinschen
On Mar 14 08:32, Jari Aalto wrote:
 
 What is the proper location for games in Cygwin? According to FHS[1],
 I've used:
 
  /usr/games

The original idea to put everything into /usr/bin (or better /bin since
/usr/bin is just a mount) was to make sure that the normal applications
are in the same dir as the DLLs they need for running.

I'm not too sure that we should keep this scheme in the long run.
The /bin dir is getting very big in a full install and /bin should
be in $PATH anyway.

For now we should probably stick to this scheme, but we should rethink
this approach at least when we create the new package area for the 
Cygwin 1.7 release.


Corinna

-- 
Corinna Vinschen  Please, send mails regarding Cygwin to
Cygwin Project Co-Leader  cygwin AT cygwin DOT com
Red Hat


Re: [ITP] greed 3.4 -- Curses-based clone of the DOS freeware game Greed

2008-03-14 Thread Jari Aalto
* Fri 2008-03-14 Volker Zell [EMAIL PROTECTED]
* Message-Id: [EMAIL PROTECTED]
 Wrong packaging:
 /usr/games/greed.exe - /usr/bin/greed.exe

Moved.

 mkdir -p greed
  cd greed
  wget\
http://cygwin.cante.net/greed/greed-3.4-1-src.tar.bz2 \
http://cygwin.cante.net/greed/greed-3.4-1.tar.bz2 \
http://cygwin.cante.net/greed/setup.hint
  tar -xf greed-3.4-1-src.tar.bz2
  ./greed*.sh --color all

-- 
Welcome to FOSS revolution: we fix and modify until it shines


Re: [ITP] sudoku 1.0.1 -- Console based sudoku

2008-03-14 Thread Jari Aalto
* Fri 2008-03-14 Volker Zell [EMAIL PROTECTED]
* Message-Id: [EMAIL PROTECTED]
 Wrong packaging:
 /usr/games/sudoku.exe - /usr/bin/sudoku.exe

Moved.

  mkdir sudoku
  cd sudoku
  wget\
http://cygwin.cante.net/sudoku/sudoku-1.0.1-1-src.tar.bz2 \
http://cygwin.cante.net/sudoku/sudoku-1.0.1-1.tar.bz2 \
http://cygwin.cante.net/sudoku/setup.hint
  tar -xf sudoku-1.0.1-1-src.tar.bz2
  ./sudoku*.sh --color all

-- 
Welcome to FOSS revolution: we fix and modify until it shines


Re: [ITP] ninvaders 0.1.1 -- A space invaders-like game using ncurses

2008-03-14 Thread Jari Aalto
* Thu 2008-03-13 Volker Zell [EMAIL PROTECTED]
* Message-Id: [EMAIL PROTECTED]
 Wrong packaging:
 /usr/games/ninvaders.exe - /usr/bin/ninvaders.exe

Moved.

  mkdir ninvaders
  cd ninvaders
  wget\
http://cygwin.cante.net/ninvaders/ninvaders-0.1.1-1-src.tar.bz2 \
http://cygwin.cante.net/ninvaders/ninvaders-0.1.1-1.tar.bz2 \
http://cygwin.cante.net/ninvaders/setup.hint
  tar -xf ninvaders-0.1.1-1-src.tar.bz2
  ./ninvaders*.sh --color all

-- 
Welcome to FOSS revolution: we fix and modify until it shines


[GTG] Re: [ITP] iselect 1.4.0 -- An interactive line selection tool for ASCII files

2008-03-14 Thread Dr. Volker Zell
 Jari Aalto writes:

 * Thu 2008-03-13 Volker Zell [EMAIL PROTECTED]
 * Message-Id: [EMAIL PROTECTED]
 
  http://packages.debian.org/iselect
 
 /usr/bin.exe   

 Fixed.

Builds fine from source, packaging and setup.hint look good.

GTG
  Volker


[GTG] Re: [ITP] pal 0.3.5 -- A cal-like calendar with day highlight and support for events

2008-03-14 Thread Dr. Volker Zell
 Jari Aalto writes:

 * Fri 2008-03-14 Volker Zell [EMAIL PROTECTED]
 * Message-Id: [EMAIL PROTECTED]
  requires: cygwin glib2 libiconv2 libintl3 libintl8 libncurses8 
libreadline6
 
 requires: cygwin glib2 libintl8 libreadline6

 Fixed.

Builds fine from source, packaging and setup.hint look good.

GTG
  Volker


[GTG] Re: [ITP] ninvaders 0.1.1 -- A space invaders-like game using ncurses

2008-03-14 Thread Dr. Volker Zell
 Jari Aalto writes:

 * Thu 2008-03-13 Volker Zell [EMAIL PROTECTED]
 * Message-Id: [EMAIL PROTECTED]
 Wrong packaging:
 /usr/games/ninvaders.exe - /usr/bin/ninvaders.exe

 Moved.

Builds fine from source, packaging and setup.hint look good.

GTG
  Volker


[GTG] Re: [ITP] sudoku 1.0.1 -- Console based sudoku

2008-03-14 Thread Dr. Volker Zell
 Jari Aalto writes:

 * Fri 2008-03-14 Volker Zell [EMAIL PROTECTED]
 * Message-Id: [EMAIL PROTECTED]
 Wrong packaging:
 /usr/games/sudoku.exe - /usr/bin/sudoku.exe

 Moved.

Builds fine from source, packaging and setup.hint look good.

GTG
  Volker


[GTG] Re: [ITP] greed 3.4 -- Curses-based clone of the DOS freeware game Greed

2008-03-14 Thread Dr. Volker Zell
 Jari Aalto writes:

 * Fri 2008-03-14 Volker Zell [EMAIL PROTECTED]
 * Message-Id: [EMAIL PROTECTED]
 Wrong packaging:
 /usr/games/greed.exe - /usr/bin/greed.exe

 Moved.

Builds fine from source, packaging and setup.hint look good.

GTG
  Volker


ash/bash postinstall dance [Was: Cygwin doesn't install on Windows Server 2008 (x64).]

2008-03-14 Thread Brian Dessent
Krzysztof Ostrowski wrote:

 What is the purpose of 00ash.sh, and what kind of system calls does it
 attempt at making? Surely, it must be something very unusual because I've got

The strange thing about this is that 00ash should be totally superfluous
on a new system.  And syscalls?  It's a shell script, it's just invoking
programs, it doesn't really know waht a syscall is.

A bit of background: For a long time in the past /bin/sh was really ash
-- the ash package simply provided /bin/sh.exe, the bash package
provided /bin/bash.exe, and that was that.  There was no confusion or
contention between the two.

Except that ash sucks.  It's not actively maintained, it's sort of
buggy, not very POSIX compliant, and there are lots of shell scripts in
the wild that start with #!/bin/sh but use bash-specific features since
/bin/sh is bash on Linux.  The reason for having ash as sh was because
at some point in the very distant past it had been determined that
because of ash's simplicity it was also faster than bash, which matters
for Cygwin because process creation is really slow.

We revisited this thinking a few years ago, sometime in mid 2005 I
think.  We determined that the fact that bash had a lot more builtins
than ash compensated for any potential increase in complexity such that
it was not in fact slower.  We decided to change the packaging so that
/bin/sh was bash.  This was some time around mid-2005, so this is by far
not a new change.

Only we couldn't just stop providing ash as we needed a way of running
the rebaseall script, which attempts to re-layout the ImageBase of all
DLLs from Cygwin packages, which requires writing the new ImageBase to
the .dll, which requires it not be in use.  But bash links dynamically
with libintl, libiconv, libreadline, and libcurses so those would be in
use if bash were running the rebaseall script.  ash only links with the
Cygwin DLL so it is immune to this problem, so we decided to keep it
around for that purpose.

Under the new system, the ash package extracts /bin/ash.exe, the bash
package extracts /bin/bash.exe and no package extracts /bin/sh.exe. 
That is handled between the ash and bash postinstall scripts.  The
reason for doing this was to make the upgrade safer: you could in thoery
release a new ash that unpacks a /bin/ash.exe and a new bash package
that unpacks both a /bin/sh.exe and a /bin/bash.exe.  However, this
leaves a potential route for the user having a broken system unless they
install both updates at the same time.

In the new system, the job of making sure there is a /bin/sh.exe (as
well as keeping it updated) is covered by the postinstalls: 00bash.sh
and 00ash.sh both try to ensure that if there is no /bin/sh.exe, or the
/bin/sh.exe that exists is ash, that bash.exe is copied to sh.exe.  The
bash postinstall also does the copy if bash is newer than sh, so that
when bash is upgraded the copy will be updated.  (Note that it would be
a lot easier to use a hard or soft link, but those won't work for
various other reasons.)

Anyway, the point of all this is that these postinstalls really only
have one function: make sure /bin/sh is correct.  And since you're not
updating a system from 2005, you can simulate this entirely by copy
c:\cygwin\bin\bash.exe c:\cygwin\bin\sh.exe at a Command Prompt if for
any reason it is not working correctly.

That brings up an interesting, and I think valid question -- Why are we
still catering to systems that might be stuck in 2005 with an ash
/bin/sh?  If we change the bash binary package to extract both /bin/sh
and /bin/bash (the setup program expands hard links in the tarball as
copies, so we can use a hard link there to save space) then that means
that we don't have to worry about copying anything to sh.exe anymore, it
will always be in sync with bash.exe.  The ash postinstall could go away
entirely and the bash postinstall (and startup!) could be simplified
tremendously...

Brian