Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 9124 - sword-1.5.4 (Updated Package)
Summary: sword-1.5.4 (Updated Package)
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High enhancement
Assignee: Nick Hadaway
URL:
Whiteboard:
Keywords:
: 8845 (view as bug list)
Depends on:
Blocks:
 
Reported: 2002-10-14 11:33 UTC by Pat Double
Modified: 2002-10-30 10:49 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
sword-1.5.4.ebuild (Updated Package) (sword-1.5.4.ebuild,1.08 KB, text/plain)
2002-10-14 11:34 UTC, Pat Double
Details
sword-1.5.4.ebuild (Updated Package to fix LDPATH) (sword-1.5.4.ebuild,1.08 KB, text/plain)
2002-10-14 16:30 UTC, Pat Double
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Pat Double 2002-10-14 11:33:19 UTC
Please find updated ebuild for sword-1.5.4. This updates bug #8845. 
 
Enjoy! 
 
Pat
Comment 1 Pat Double 2002-10-14 11:34:07 UTC
Created attachment 4706 [details]
sword-1.5.4.ebuild (Updated Package)
Comment 2 Pat Double 2002-10-14 16:30:40 UTC
Created attachment 4713 [details]
sword-1.5.4.ebuild (Updated Package to fix LDPATH)

This updated ebuild fixes the LDPATH put into /etc/env.d/99sword-1 . It was
/usr/lib/sword-1 which isn't created, and is now /usr/sword/1/lib which is what
IS created.
Comment 3 Nick Hadaway 2002-10-15 09:02:19 UTC
It's good to get this package into gentoo... i know everytime I tried to 
install it on debian unstable it would never go right... 

/usr/sword/1/lib is NOT a good location... /usr/lib/sword-1 is more correct.  I 
will get the ebuild working correctly so things follow FHS standards.
Comment 4 Pat Double 2002-10-15 14:01:05 UTC
Thanks for clarification on the FHS standard. The bibletime ebuild (bug #8846) 
will also need to be updated to point to the correct lib location. 
Comment 5 Mark 2002-10-16 11:55:28 UTC
just curious why you chose the /var/db/sword to put the modules into?  someone
on the bt-devel list mentioned /usr/share/sword might be a good place for the
modules.  thoughts?
Comment 6 Pat Double 2002-10-16 12:40:28 UTC
/var/db/sword ... I thought this might be a better place since the modules do not change the behavior of the library, like a software plug in, and there are user preference. Most of the reason is because MySQL puts databases into /var/lib/mysql. I realize this data changes as MySQL is running, but to me it made since for the sword modules as well. 
Comment 7 Pat Double 2002-10-23 06:07:58 UTC
*** Bug 8845 has been marked as a duplicate of this bug. ***
Comment 8 Nick Hadaway 2002-10-24 00:01:56 UTC
I stayed with default install locations determined by econf and things lay out 
very nicely.  (/usr/share/sword for the datadir)  It has been setup under app-
text/sword.  Please test and let me know if things work properly.

bibletime (homepage appears to be down) and gnomesword will be added to portage 
soon.
Comment 9 Pat Double 2002-10-24 06:10:28 UTC
Thanks.  Couple of questions:  1) What did you opt to set the SLOT to 0 ? Looking to a future sword version 2 (or perhaps even 1.6, 1.7, etc.) we could use the slot to prevent upgrading from breaking current apps. So SLOT could be SLOT="1" or SLOT="1.5".  2) Where's the standard documentation, such as README, etc. ? Also you'll notice in the ebuild I submitted I included the developer's documentation as well for those who wish to developer using sword. (I realize my ebuild uses /var/db/sword instead of /usr/share/sword, but I think /usr/share/sword is better after all, should be a minor change in my ebuild).  
Comment 10 AJ MacLeod 2002-10-24 08:16:18 UTC
I believe that sword depends on zlib by default, to handle compressed modules. 
Should there be a second dependancy of "sys-libs/zlib" ?  I was initially
skeptical myself about the extra docs that Pat included, but actually I think
he's right, they should be included.  Nice to see this package included in portage!

AJ
Comment 11 Nick Hadaway 2002-10-24 09:48:58 UTC
I'll add the docs today.
Comment 12 Nick Hadaway 2002-10-26 15:39:57 UTC
added some docs and html api documentation.
Comment 13 Nick Hadaway 2002-10-30 10:02:49 UTC
I opted to slot 0 because there are no conflicting packages currently.
For the future, we can put things in /usr/share/sword2 if really need be but I 
don't forsee any filesystem layout issues with the release of sword v2.

All pertinent documentation has been added now including the examples and 
samples which I missed from your ebuild. I think I got everything now. :)

Thanks for the submission!  Keep em coming! :)

Comment 14 Pat Double 2002-10-30 10:08:06 UTC
Sounds good, thanks. For future reference (as I do plan to submit more 
ebuilds), what is the general policy for assigning slots? The developer howto 
simply says it can be done and use the SLOT variable, but doesn't define the 
circumstances in which to do so, nor the prefered layout. 
Comment 15 Pat Double 2002-10-30 10:49:38 UTC
It works with my bibletime ebuild. I modified the bibletime ebuild to not 
specify the sword directories and it found them all. Currently I only use 
sword with bibletime so that's all I have to test.