[Pkg-crosswire-devel] Progress: sword 1.5.11-based package now available in my PPA, please test it!
Jonathan Marsden
jmarsden at fastmail.fm
Sat Jan 24 22:03:46 GMT 2009
Progress! Real progress...
OK. I have a buildable sword package in my PPA based on sword 1.5.11.
I started from a base of the exiting Ubuntu Intrepid sword package which
was (per rmadison):
sword | 1.5.9-8.1ubuntu1 | intrepid/universe | source
Here is my changelog entry:
sword (1.5.11-1ubuntu1~jmarsden1) intrepid; urgency=low
* New upstream tarball.
* debian/rules:
- Switch to using more normal CDBS/autotools not tarball in tarball.
* Bump SONAME to 7.
- Rename debian/libsword6.* appropriately.
- Change 6 to 7 in several scripts including debian/rules
and debian/control
* Remove most patches as being unnecessary now.
* Simplify debian/patches/02_libver.diff to only edit the version-info.
* Move CGI scripts to install as examples, for security reasons.
* Update diatheke one-line description (cli tool not CGI script).
* Add ${misc:Depends} to Depends of binary packages.
* Bump Standards-Version to 3.8.0.
* Add Homepage: tag in debian/control.
-- Jonathan Marsden <jmarsden at fastmail.fm> Sat, 24 Jan 2009 10:08:04 -0800
You can see this (first attempt, essentially untested at this point, so
please be polite if it has some serious issues!) at
http://launchpad.net/~jmarsden/+archive
You can get it onto your (Ubuntu Intrepid) box to play with via apt, if
you add
deb http://ppa.launchpad.net/jmarsden/ppa/ubuntu intrepid main
deb-src http://ppa.launchpad.net/jmarsden/ppa/ubuntu intrepid main
to your /etc/apt/sources.list file. Then you can do
sudo apt-get update
sudo apt-get install diatheke --no-install-recommends
and of course you can grab "my" sword source package with
apt-get source sword
It apparently builds cleanly for i386, amd64, and lpia.
Then, if I do:
wget http://www.crosswire.org/ftpmirror/pub/sword/packages/rawzip/KJV.zip
sudo unzip KJV.zip -d /usr/share/sword
to install myself a default bible for testing with, I can then get
things like
diatheke -b system -k modulelist
diatheke -b KJV -o fmnx -k Jn 3:16
diatheke -b KJV -s phrase -r Mt -k love
to give sane looking results. I've done this on Ubuntu Intrepid 8.10
amd64, and in a VM running Ubuntu Server 8.10 i386.
This is the level of my testing so far... extremely simplistic! I
*really* would love to see someone on this team to volunteer to work on
a more comprehensive test suite (hint, hint)!
NOTE: Testing this on a machine where you have an existing GnomeSword ot
similar installation may do bad things to that installation; use a clean
machine or VM for testing
I'm setting up a Debian pbuilder now to see if it builds just as well
there (it should... but I'm not as familiar with Debian development and
packaging). I may also set up a Debian VM to test with (probably not
today)!
I'll post about lintian warnings (there are plenty!) and ideas on how to
handle those, in a separate thread or two.
Anyone who is able to test this package in *any* way at all (and report
results here on the list) is *very* much encouraged to do so :)
Anyone who knows how to test the lucene search stuff, please talk to me!
If there are people waiting in the wings who are interested in packaging
GnomeSword or BibleTime or whatever against a 1.5.11 Sword library --
here's a first-pass "at least somewhat working" Sword library package
you can use to try to build against, so please go for it, and please
report results (positive or negative) here on this list.
Thanks,
Jonathan
More information about the Pkg-crosswire-devel
mailing list