RE: Pending Packages List, 2003-11-07

2003-11-11 Thread Morrison, John
[EMAIL PROTECTED] wrote:
 
 Package recompiled and example noved to:
 
 /etc/defaults/etc/sample.sgreprc
 
 as suggested in Message-ID: [EMAIL PROTECTED]
 Mon, 10 Nov 2003 22:35:36 +0100 by Daniel Reed

Jari, *please* call it /etc/defaults/etc/.sgreprc and copy
*ONLY* if /etc/.sgreprc doesn't already exist :)

Thanks,

J.



==
Information in this email and any attachments are confidential, and may
not be copied or used by anyone other than the addressee, nor disclosed
to any third party without our permission. There is no intention to
create any legally binding contract or other binding commitment through
the use of this electronic communication unless it is issued in accordance
with the Experian Limited standard terms and conditions of purchase or
other express written agreement between Experian Limited and the recipient
Experian Limited (registration number 653331)
Registered office: Talbot House, Talbot Street, Nottingham NG80 1TH



Re: Pending Packages List, 2003-11-07

2003-11-11 Thread Corinna Vinschen
On Tue, Nov 11, 2003 at 12:19:19PM -, Morrison, John wrote:
 [EMAIL PROTECTED] wrote:
  
  Package recompiled and example noved to:
  
  /etc/defaults/etc/sample.sgreprc
  
  as suggested in Message-ID: [EMAIL PROTECTED]
  Mon, 10 Nov 2003 22:35:36 +0100 by Daniel Reed
 
 Jari, *please* call it /etc/defaults/etc/.sgreprc and copy
 *ONLY* if /etc/.sgreprc doesn't already exist :)

While I second the copy only if... rule, I don't understand why
the default file should be named .sgreprc.  The result of the
copy has no leading dot, has it?

The other problem is that files with leading dot are not visible with
`ls' by default.  Giving it a name in the default dir, which makes it
visible, isn't a bad idea, IMHO.

I just don't think /etc/defaults/etc is the right place for the file.
Better choices are

  /etc/defaults/sgreprc
  /usr/share/doc/sgrep/sample.sgreprc

YMMV,
Corinna

-- 
Corinna Vinschen  Please, send mails regarding Cygwin to
Cygwin Developermailto:[EMAIL PROTECTED]
Red Hat, Inc.


RE: Pending Packages List, 2003-11-07

2003-11-11 Thread Morrison, John
Corinna Vinschen wrote:
 On Tue, Nov 11, 2003 at 12:19:19PM -, Morrison, John wrote:
 [EMAIL PROTECTED] wrote:
 
 Package recompiled and example noved to:
 
 /etc/defaults/etc/sample.sgreprc
 
 as suggested in Message-ID:
 [EMAIL PROTECTED]
 Mon, 10 Nov 2003 22:35:36 +0100 by Daniel Reed
 
 Jari, *please* call it /etc/defaults/etc/.sgreprc and copy
 *ONLY* if /etc/.sgreprc doesn't already exist :)
 
 While I second the copy only if... rule, I don't understand why
 the default file should be named .sgreprc.  The result of the
 copy has no leading dot, has it?
 
 The other problem is that files with leading dot are not visible with
 `ls' by default.  Giving it a name in the default dir, which makes it
 visible, isn't a bad idea, IMHO.
 ^^^ invisible?

 I just don't think /etc/defaults/etc is the right place for the file.
 Better choices are 
 
   /etc/defaults/sgreprc
   /usr/share/doc/sgrep/sample.sgreprc

Sorry, but the way I worked /etc/defaults is that, the prefix of
/etc/defaults is removed and the resulting filename is the destination.
So, /etc/defaults/sgreprc would result in copying the file to /sgreprc

If an invisible file needs a default (/etc/skel/.bashrc), so be it :)

J.


==
Information in this email and any attachments are confidential, and may
not be copied or used by anyone other than the addressee, nor disclosed
to any third party without our permission. There is no intention to
create any legally binding contract or other binding commitment through
the use of this electronic communication unless it is issued in accordance
with the Experian Limited standard terms and conditions of purchase or
other express written agreement between Experian Limited and the recipient
Experian Limited (registration number 653331)
Registered office: Talbot House, Talbot Street, Nottingham NG80 1TH



Re: Pending Packages List, 2003-11-07

2003-11-11 Thread Corinna Vinschen
On Tue, Nov 11, 2003 at 12:48:59PM -, Morrison, John wrote:
 Corinna Vinschen wrote:
  The other problem is that files with leading dot are not visible with
  `ls' by default.  Giving it a name in the default dir, which makes it
  visible, isn't a bad idea, IMHO.
  ^^^ invisible?

No.  Is not a bad idea == is a good idea. ;-)

  I just don't think /etc/defaults/etc is the right place for the file.
  Better choices are 
  
/etc/defaults/sgreprc
/usr/share/doc/sgrep/sample.sgreprc
 
 Sorry, but the way I worked /etc/defaults is that, the prefix of
 /etc/defaults is removed and the resulting filename is the destination.
 So, /etc/defaults/sgreprc would result in copying the file to /sgreprc

Wait, I thought we're talking about a system-wide sgreprc file which is 
expected in /usr/share.  Did I get that wrong?

Corinna

-- 
Corinna Vinschen  Please, send mails regarding Cygwin to
Cygwin Developermailto:[EMAIL PROTECTED]
Red Hat, Inc.


RE: Pending Packages List, 2003-11-07

2003-11-11 Thread Morrison, John
Corinna Vinschen wrote:
 On Tue, Nov 11, 2003 at 12:48:59PM -, Morrison, John wrote:
 Corinna Vinschen wrote:
 The other problem is that files with leading dot are not visible
 with `ls' by default.  Giving it a name in the default dir, which
 makes it visible, isn't a bad idea, IMHO.
  ^^^ invisible?
 
 No.  Is not a bad idea == is a good idea. ;-)

Gah!  No wonder my work here's terrible ;)

 I just don't think /etc/defaults/etc is the right place for the
 file. Better choices are 
 
   /etc/defaults/sgreprc
   /usr/share/doc/sgrep/sample.sgreprc
 
 Sorry, but the way I worked /etc/defaults is that, the prefix of
 /etc/defaults is removed and the resulting filename is the
 destination. So, /etc/defaults/sgreprc would result in copying the
 file to /sgreprc 
 
 Wait, I thought we're talking about a system-wide sgreprc file which
 is expected in /usr/share.  Did I get that wrong?

AFAICR, the postinstall for sgrep copies the sample from the docs
to /etc

Somebody recommended (which I don't disagree with ;) that they
should use the /etc/defaults/... mechanism.

I could be wrong though... ;D

J.


==
Information in this email and any attachments are confidential, and may
not be copied or used by anyone other than the addressee, nor disclosed
to any third party without our permission. There is no intention to
create any legally binding contract or other binding commitment through
the use of this electronic communication unless it is issued in accordance
with the Experian Limited standard terms and conditions of purchase or
other express written agreement between Experian Limited and the recipient
Experian Limited (registration number 653331)
Registered office: Talbot House, Talbot Street, Nottingham NG80 1TH



Re: Pending Packages List, 2003-11-07

2003-11-11 Thread Corinna Vinschen
On Tue, Nov 11, 2003 at 01:08:45PM -, Morrison, John wrote:
 Corinna Vinschen wrote:
  Wait, I thought we're talking about a system-wide sgreprc file which
  is expected in /usr/share.  Did I get that wrong?
 
 AFAICR, the postinstall for sgrep copies the sample from the docs
 to /etc
 
 Somebody recommended (which I don't disagree with ;) that they
 should use the /etc/defaults/... mechanism.
 
 I could be wrong though... ;D

Me, too.  If the sgreprc file should go to /etc, then /etc/defaults/etc
is of course the right place for the default file.  And /etc files
typically don't have a leading dot, so I guess we are talking about
a sgreprc file, not a .sgreprc, aren't we?

Corinna

-- 
Corinna Vinschen  Please, send mails regarding Cygwin to
Cygwin Developermailto:[EMAIL PROTECTED]
Red Hat, Inc.


RE: Pending Packages List, 2003-11-07

2003-11-11 Thread Morrison, John
Corinna Vinschen wrote:
 On Tue, Nov 11, 2003 at 01:08:45PM -, Morrison, John wrote:
 Corinna Vinschen wrote:
 Wait, I thought we're talking about a system-wide sgreprc file which
 is expected in /usr/share.  Did I get that wrong?
 
 AFAICR, the postinstall for sgrep copies the sample from the docs to
 /etc 
 
 Somebody recommended (which I don't disagree with ;) that they
 should use the /etc/defaults/... mechanism.
 
 I could be wrong though... ;D
 
 Me, too.  If the sgreprc file should go to /etc, then
 /etc/defaults/etc is of course the right place for the default file. 
 And /etc files typically don't have a leading dot, so I guess we are
 talking about a sgreprc file, not a .sgreprc, aren't we?

*GRIN* if all those facts a right - yep :))

J.


==
Information in this email and any attachments are confidential, and may
not be copied or used by anyone other than the addressee, nor disclosed
to any third party without our permission. There is no intention to
create any legally binding contract or other binding commitment through
the use of this electronic communication unless it is issued in accordance
with the Experian Limited standard terms and conditions of purchase or
other express written agreement between Experian Limited and the recipient
Experian Limited (registration number 653331)
Registered office: Talbot House, Talbot Street, Nottingham NG80 1TH



Re: Pending Packages List, 2003-11-07

2003-11-11 Thread Dr. Volker Zell
 Corinna == Corinna Vinschen [EMAIL PROTECTED] writes:

Corinna Wait, I thought we're talking about a system-wide sgreprc file which is 
Corinna expected in /usr/share.  Did I get that wrong?

No, you're right.

04:31 PM [529] strings /tmp/src/sgrep-1.92.1/.inst/usr/bin/sgrep.exe | grep sgreprc
don't read $HOME/.sgreprc or /usr/share/sgreprc
.sgreprc
/usr/share/sgreprc

Corinna Corinna

Ciao
  Volker



Re: Pending Packages List, 2003-11-07

2003-11-11 Thread Daniel Reed
On 2003-11-11T13:10+0200, Jari Aalto+mail.linux wrote:
) * 2003-11-07 Daniel Reed [EMAIL PROTECTED] list.cygwin-apps
) | Package: ploticus 2.11-1
) |Problems: Jari needs to (a) remove /usr/X11R6/lib/libz.a|libz.dll.a (b) 
recompile the package.  This will ensure that it links against /usr/lib/libz.dll.a and 
picks up cygz.dll instead. (cygwin-apps-thread.11583)
) |  More to the point, the build requirements list libzlib, libpng, 
and X11.  Those packages do NOT exist.  What you want is:   XFree86-base   zlib   
libpng12   libpng12-devel (cygwin-apps-thread.11583)
) |  ./cygbuild-2.11-1.sh: line 402: [: -eq: unary operator expected 
(cygwin-apps-thread.11583)
) 1. Package now recompiled
) 2. Build requirements updated: ploticus.README
) 3. Cygbuild.sh script error fixed.

I just updated apps.xml, but was 16 minutes too late for the changes to go
into today's PPL.

-- 
Daniel Reed [EMAIL PROTECTED] http://naim-users.org/nmlorg/   http://naim.n.ml.org/
Real computer scientists like having a computer on their desk, else
how could they read their mail?


Re: Pending Packages List, 2003-11-07

2003-11-10 Thread Dr. Volker Zell
 Daniel == Daniel Reed [EMAIL PROTECTED] writes:

Daniel Package: sgrep 1.99.1-1
Daniel Description: Search indexed text regions like SGML, XML and HTML files
DanielProposer: Jari Aalto
DanielProposal: http://sources.redhat.com/ml/cygwin-apps/2003-09/msg00166.html
Daniel  
http://tierra.dyndns.org:81/cygwin/sgrep/sgrep-1.92.1-1.tar.bz2
Daniel  
http://tierra.dyndns.org:81/cygwin/sgrep/sgrep-1.92.1-1-src.tar.bz2
Daniel  http://tierra.dyndns.org:81/cygwin/sgrep/setup.hint
DanielProblems: ./cygbuild-1.92.1-1.sh: line 408: [: -eq: unary operator 
expected (cygwin-apps-thread.11855)
Daniel  --- sgrep-1.92.1-orig/Makefile  1970-01-01 00:00:00.0 
+ (cygwin-apps-thread.11855)
Daniel   Aye votes: Lapo Luchini (cygwin-apps-thread.11774) [1/3]
Daniel  Status: Package available.
DanielHOLD-UPS: Not enough votes (need 2 more). Unresolved problems. No good 
to go review.

I vote pro.

 * Shouldn't the /usr/share/sample.sgreprc go to /etc/defaults/etc/sample.sgreprc
   and be copied to /usr/share/sgreprc by a postinstall script ?

 * The man page is still in /usr/man/man1 instead of in /usr/share/man/man1

Ciao
  Volker



RE: Pending Packages List, 2003-11-07

2003-11-10 Thread John Morrison
 From: Dr. Volker Zell
  Daniel == Daniel Reed [EMAIL PROTECTED] writes:
  * Shouldn't the /usr/share/sample.sgreprc go to 
 /etc/defaults/etc/sample.sgreprc
and be copied to /usr/share/sgreprc by a postinstall script ?

If it is placed in /etc/defaults/ it should be called
/etc/defaults/etc/.sgreprc (ie, it should be called the same as the
actual file will be) as all that should happen is, if the file
(or a link) doesn't exist minus the /etc/defaults prefix, copy it :)

The easiest postinstall script is to copy
/etc/postinstall/base-files-profile.sh[.done] as this is all that
script does :)

However the use of /etc/defaults/ is entirely optional and at the
package maintainers whim :)

J.