View Single Post

   
  #6 (permalink)  
Old 02-19-2008, 09:24 PM
+Alan Hicks+
 
Posts: n/a
Default Re: Trouble with new pkgtools?

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

In alt.os.linux.slackware, Al. C dared to utter,
> Can you post an example of what a "correct" description would be and what an
> "incorrect" one looks like?


cat /home/slackware/slackware-current/source/a/aaa_base/slack-desc
# HOW TO EDIT THIS FILE:
# The "handy ruler" below makes it easier to edit a package description. Line
# up the first '|' above the ':' following the base package name, and the '|'
# on the right side marks the last column you can put a character in. You must
# make exactly 11 lines for the formatting to be correct. It's also
# customary to leave one space after the ':'.

|-----handy-ruler------------------------------------------------------|
aaa_base: aaa_base (Basic Linux filesystem package)
aaa_base:
aaa_base: Sets up the empty directory tree for Slackware and adds an email to
aaa_base: root's mailbox welcoming them to Linux. This package should be
aaa_base: installed first, and never uninstalled.
aaa_base:
aaa_base:
aaa_base:
aaa_base:
aaa_base:
aaa_base:

123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789|

Anything that doesn't conform to that standard is incorrect. Note that
the length of the valid lines changes depending on how many characters
the base package name is. Note that the total length of any one line
cannot exceed 80 ASCII characters.

123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789|
|-----handy-ruler------------------------------------------------------|

I'm not entirely sure why Pat chose to do the description files in this
way. It would seem more appropriate to remove the package name from
the left and thus get a full 80 character description instead of
80 - ( $PACKAGE_NAME_LENGTH + 1 ). Anyone else care to send a Clue
this way?

- --
It is better to hear the rebuke of the wise,
Than for a man to hear the song of fools.
Ecclesiastes 7:5
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)

iD8DBQFB+FCjlKR45I6cfKARAt2AAJ0XSk3j47Vf0aFO2JMbYw 52UVfgdQCfaIxp
2rnwMyetxDMMJWn5fGl4v7Y=
=k2GO
-----END PGP SIGNATURE-----
Reply With Quote