[sword-devel] RPM package improvements

Stuart D. Gathman sword-devel@crosswire.org
Wed, 22 May 2002 13:54:45 -0400 (EDT)


On Wed, 22 May 2002, Martin Gruner wrote:

> > As was mentioned, they are only installed with the devel package.  The
> > question was: when the devel package *is* installed, should the man pages
> > go in the /usr/share/doc/sword-devel-1.5.3 directory, where they are out of
> > the way but harder to consult, or in the /usr/share/man/man3 directory.
> 
> Hm. I am not convinced of the need for a dev package though. Whoever wants to 
> develop should use (anonymous) cvs. There is probably only need for a 
> well-written sword rpm that users could install (just the lib), or what do 
> you think?

The sword-devel package is not for sword developers.  It is for developers
who are *using* the sword package in their own project.  For example,
GnomeSword and BibleTime developers.  

> Atm BibleTime rpms include a static sword in the binary. We have to supply 
> additional files (like locales) as well, which can conflict if users already 
> have a sword rpm installed. Now if a good sword rpm exists, we can probably 
> switch over to requiring that one and have sword dynamic. I think this would 
> be the cleaner and more obvious solution. 

The gnomesword RPM uses and depends on the sword RPM.  The sword-devel
RPM must be installed in order to compile the gnomesword package.  However,
only the sword RPM is required to run the gnomesword package.  The sword
RPM contains:

/etc/sword.conf
/usr/bin/diatheke
/usr/lib/libsword.so
/usr/lib/libsword.so.1
/usr/lib/libsword.so.1.0.0
/usr/lib/sword
/usr/lib/sword/addgb
/usr/lib/sword/addld
/usr/lib/sword/addvs
/usr/lib/sword/cipherraw
/usr/lib/sword/ciphertest
/usr/lib/sword/ciphertest2
/usr/lib/sword/emptyvss
/usr/lib/sword/imp2gbs
/usr/lib/sword/imp2ld
/usr/lib/sword/imp2vs
/usr/lib/sword/mkfastmod
/usr/lib/sword/mod2vpl
/usr/lib/sword/mod2zmod
/usr/lib/sword/modwrite
/usr/lib/sword/step2vpl
/usr/lib/sword/stepdump
/usr/lib/sword/thml2gbs
/usr/lib/sword/txt2sword
/usr/lib/sword/vpl2mod
/usr/share/doc/sword-1.5.3
/usr/share/doc/sword-1.5.3/AUTHORS
/usr/share/doc/sword-1.5.3/INSTALL
/usr/share/doc/sword-1.5.3/NEWS
/usr/share/doc/sword-1.5.3/README
/usr/share/sword/locales.d/abbr.conf
/usr/share/sword/locales.d/da.conf
/usr/share/sword/locales.d/de.conf
/usr/share/sword/locales.d/es.conf
/usr/share/sword/locales.d/fr.conf
/usr/share/sword/locales.d/it.conf
/usr/share/sword/locales.d/no.conf
/usr/share/sword/locales.d/pt.conf
/usr/share/sword/mods.d/globals.conf

The /usr/lib/sword directory contains the utilities.  I would like to make
RPMs for the text modules as well.  End users should not have to unzip
in a magic directory as root and then run mkfastmodule.

-- 
			Stuart D. Gathman <stuart@bmsi.com>
      Business Management Systems Inc.  Phone: 703 591-0911 Fax: 703 591-6154
		"Microsoft is the QWERTY of Operating Systems" - SDG
      "Confutatis maledictis, flamis acribus addictis" - background song for
      a Microsoft sponsored "Where do you want to go from here?" commercial.
  (HINT: The song is "Dies Irae" from the Mozart Requiem.)