On 05/10/05 at 06:36 +0900, Trans wrote:
> 
> Lucas Nussbaum wrote:
> > On 05/10/05 at 05:36 +0900, Trans wrote:
> > >
> > > Eivind Eklund wrote:
> > > > [Gobolinux use a one-dir-per-package model. -Eivind]
> > > >
> > > > I think both models should be supported.  Gentoo use the same model as
> > > > GoboLinux, I believe.
> >
> > No, it doesn't. Gentoo uses a FHS-like model like all other Unix/Linux.
> >
> > [...]
> >
> > > P.S. Where does one put demo/example files in Debian/FHS?
> >
> > /usr/share/doc/packagename/examples/
> 
> Thanks. So would that be
> 
>   /usr/share/doc/site_ruby/1.8/packagename/examples/
> 
> for ruby libs?

no : docs and code aren't in the same folder. Here is the layout of a
package I develop on Debian :
/.
/usr
/usr/lib
/usr/lib/ruby
/usr/lib/ruby/1.8
/usr/lib/ruby/1.8/feed2imap.rb
/usr/lib/ruby/1.8/feed2imap
/usr/lib/ruby/1.8/feed2imap/textconverters.rb
/usr/lib/ruby/1.8/feed2imap/httpfetcher.rb
/usr/lib/ruby/1.8/feed2imap/cache.rb
/usr/lib/ruby/1.8/feed2imap/rubymail_patch.rb
/usr/lib/ruby/1.8/feed2imap/config.rb
/usr/lib/ruby/1.8/feed2imap/html2text-parser.rb
/usr/lib/ruby/1.8/feed2imap/imap.rb
/usr/lib/ruby/1.8/feed2imap/rexml_patch.rb
/usr/lib/ruby/1.8/feed2imap/channel.rb
/usr/lib/ruby/1.8/feed2imap/rubyimap.rb
/usr/lib/ruby/1.8/feed2imap/feed2imap.rb
/usr/lib/ruby/1.8/feed2imap/sgml-parser.rb
/usr/bin
/usr/bin/feed2imap-cleaner
/usr/bin/feed2imap-dumpconfig
/usr/bin/feed2imap
/usr/bin/feed2imap-opmlimport
/usr/share
/usr/share/doc
/usr/share/doc/feed2imap
/usr/share/doc/feed2imap/changelog.gz
/usr/share/doc/feed2imap/README
/usr/share/doc/feed2imap/copyright
/usr/share/doc/feed2imap/examples
/usr/share/doc/feed2imap/examples/feed2imaprc
/usr/share/doc/feed2imap/changelog.Debian.gz
/usr/share/man
/usr/share/man/man5
/usr/share/man/man5/feed2imaprc.5.gz
/usr/share/man/man1
/usr/share/man/man1/feed2imap-cleaner.1.gz
/usr/share/man/man1/feed2imap.1.gz
/usr/share/man/man1/feed2imap-dumpconfig.1.gz
/usr/share/man/man1/feed2imap-opmlimport.1.gz

And here is the layout when the same package is installed using
setup.rb (grepped install in the install log) :
install feed2imap-dumpconfig /usr/bin/
install feed2imap /usr/bin/
install feed2imap-opmlimport /usr/bin/
install feed2imap-cleaner /usr/bin/
install feed2imap.rb /usr/local/lib/site_ruby/1.8/
install textconverters.rb /usr/local/lib/site_ruby/1.8/feed2imap
install httpfetcher.rb /usr/local/lib/site_ruby/1.8/feed2imap
install cache.rb /usr/local/lib/site_ruby/1.8/feed2imap
install rubymail_patch.rb /usr/local/lib/site_ruby/1.8/feed2imap
install config.rb /usr/local/lib/site_ruby/1.8/feed2imap
install imap.rb /usr/local/lib/site_ruby/1.8/feed2imap
install rexml_patch.rb /usr/local/lib/site_ruby/1.8/feed2imap
install channel.rb /usr/local/lib/site_ruby/1.8/feed2imap
install feed2imap.rb /usr/local/lib/site_ruby/1.8/feed2imap
install html2text-parser.rb /usr/local/lib/site_ruby/1.8/feed2imap
install rubyimap.rb /usr/local/lib/site_ruby/1.8/feed2imap
install sgml-parser.rb /usr/local/lib/site_ruby/1.8/feed2imap
install feed2imaprc /usr/share/doc/feed2imap/examples
install feed2imaprc.5 /usr/share/man/man5
install feed2imap-dumpconfig.1 /usr/share/man/man1
install feed2imap-cleaner.1 /usr/share/man/man1
install feed2imap-opmlimport.1 /usr/share/man/man1
install feed2imap.1 /usr/share/man/man1
-- 
| Lucas Nussbaum
| lucas / lucas-nussbaum.net   http://www.lucas-nussbaum.net/ |
| jabber: lucas / nussbaum.fr             GPG: 1024D/023B3F4F |