You are not logged in.

#1 2004-10-26 19:04:21

ruwach
Member
Registered: 2004-06-14
Posts: 143

gnomesword or bibletime

Hey there,
with the help of some on this forum, i have been able to compile gnomesword and run it on my arch machine, but when i upgraded to gnome 2.8 it now complains that libgtkhtml-3.0.so4 is not installed. That is confusing.
Bibletime is the KDE version. i start compiling it and then it complains that it cant compile the program to test the sword libs. I already have the sword libs installed, they are fine ( i suppose ) but need one of the gui apps to use it.
Please help me !
thanks

Offline

#2 2004-10-26 23:57:18

cbozic
Member
From: Morgantown, WV, USA
Registered: 2004-01-31
Posts: 77

Re: gnomesword or bibletime

I've been trying to compile gnomesword on arch with gnome 2.8 installed myself.  The build dependencies are listed in it's install docs as follows:

You must have pkgconfig-0.12.0 or later to build gnomesword  -- http://www.gnome.org/
You need GtkHTML-3.0 or later -- Ximian
You need gal2 -- Ximian
You need gnome-print-0.35 or later -- http://www.gnome.org/

You need to have the Sword Project (sword-1.5.6) installed.
You need at least one each text ,commentary and dictionary module also.
Sword-1.5.6 and the modules can be found at www.crosswire.org
in the Sword Project.

I can get them all built and/or installed either from source or pacman except for one.  I can't seem to find the source for gtkhtml 3.0.  Any help on locating this one would be nice.

Offline

#3 2004-10-27 00:20:45

ruwach
Member
Registered: 2004-06-14
Posts: 143

Re: gnomesword or bibletime

how about bibletime ? have you had any success with that one?
these are not really difficult packages, i don't get why they would not be available, except that they are not so popular.
ok, let me know if you come up with anything.
good luck

Offline

#4 2004-10-27 00:30:01

punkrockguy318
Member
From: New Jersey
Registered: 2004-02-15
Posts: 711
Website

Re: gnomesword or bibletime

gtkhtml is an archpackage.  pacman -S gtkhtml


If I have the gift of prophecy and can fathom all mysteries and all knowledge, and if I have a faith that can move mountains, but have not love, I am nothing.   1 Corinthians 13:2

Offline

#5 2004-10-27 00:47:20

cbozic
Member
From: Morgantown, WV, USA
Registered: 2004-01-31
Posts: 77

Re: gnomesword or bibletime

I haven't tried to build bibletime.  And there is a file that the gnomesword build can't find on my system: libgtkhtml-3.0.pc. Any ideas where this file might be? 

I actually manually upgraded my libgtkhtml to version 3.3.2 just to see if that would provide the missing file but no dice.  The version in pacman is 3.2.3.  Neither one seemed to work for me.

So, to correct my above post, it's not the source of libgtkhtml 3.0 I can't find.  It's the file that looks like it should be provided by libgtkhtml.  smile

Offline

#6 2004-10-27 01:03:23

cbozic
Member
From: Morgantown, WV, USA
Registered: 2004-01-31
Posts: 77

Re: gnomesword or bibletime

Hmmm....  it seems my find parameters were too strict.  I just found the equivalent files under /opt/gnome/lib/pkgconfig but they are newer versions than what is required to build gnomesword.  So, I tried to make a soft link to the newer versions to make the build think it had the right files.  That got me further along in the build process but failed when it couldn't find some other files that were supposed to be in the older versions of libgtkhtml and gal. 

I'm going to try backing my hack soft links off of my system and reverting to some older versions of libgtkhtml and gal.

Offline

#7 2004-10-27 01:06:09

ruwach
Member
Registered: 2004-06-14
Posts: 143

Re: gnomesword or bibletime

ok. you guys have gone over my head now. If you pull it off, could you post some step by steps and whatever pkgbuild will be necessary for me to get one of these two aps running ?
thanks
newbie ( somewhat ) here.

Offline

#8 2004-10-27 03:03:52

cbozic
Member
From: Morgantown, WV, USA
Registered: 2004-01-31
Posts: 77

Re: gnomesword or bibletime

Still working on gnomesword but here's someone who posted pkgbuild's for bibletime:

http://bbs.archlinux.org/viewtopic.php? … =bibletime

I used his pkgbuild for sword and simplified it a little...  I'll post it when I get gnomesword up.

http://bbs.archlinux.org/search.php  <-- "best friend" in forum

Offline

#9 2004-10-27 03:18:35

ruwach
Member
Registered: 2004-06-14
Posts: 143

Re: gnomesword or bibletime

oh cool ,
my wife is typing an essay for school, but i will get on and give it a try in a few minutes. let you know
thanks for all of your help - a lot.

Offline

#10 2004-10-27 03:50:35

cbozic
Member
From: Morgantown, WV, USA
Registered: 2004-01-31
Posts: 77

Re: gnomesword or bibletime

I got gnome sword to work but I had to "downgrade" a few packages first by taking advantage of pacman's cache...

[root@localhost ~]# pacman -U /var/cache/pacman/pkg/gtkhtml-3.0.10-3.pkg.tar.gz
loading package data... done.
checking for file conflicts... done.
upgrading gtkhtml... done.
[root@localhost ~]# pacman -U /var/cache/pacman/pkg/gal-1.99.11-3.pkg.tar.gz
loading package data... done.
checking for file conflicts... done.
upgrading gal... done.

If you don't have those files on your system you can build them yourself using the CVS entries for the PKGBUILD's found at archlinux.org.  Downgrading allowed me to build gnomesword using a modified version of the sword PKGBUILD found in the post I mentioned earlier.  Gnomesword won't build unless you have the --enable-shared option in the ./configure line.

Here's my sword PKGBUILD:


# $Id $
# Maintainer: Chris Bozic (cbozic@adelphia.net)
pkgname=sword
pkgver=1.5.7a
pkgrel=1
pkgdesc="allows research manipulation of Biblical texts"
url="http://www.crosswire.org/sword/index.jsp"
backup=('')
depends=()
source=(http://www.crosswire.org/ftpmirror/pub/sword/source/v1.5/sword-1.5.7a.tar.gz sword.conf)
md5sums=('e77801ac7abb7a940eb8a75d725e346f' 'eebb7c4602450ff87a76e5a693e72da7')

build() {
    cd $startdir/src/sword-1.5.7
    ./configure --prefix=/usr --enable-shared --without-conf --sysconfdir=/etc --enable-debug --without-lucene
    make || return 1
    make DESTDIR=$startdir/pkg install
    /bin/install -m 755 $startdir/src/sword.conf $startdir/pkg/etc/
}

To use that, you'll need this sword.conf file too:

[Install]
DataPath=/usr/share/sword/

And here's a simple but handy PKGBUILD to get some (but not all) of the sword mods:

# $Id $
# Maintainer: Chris Bozic (cbozic@adelphia.net)
pkgname=swordmods
pkgver=1.5.7a
pkgrel=1
pkgdesc="Bible translations, commentaries, daily devotionals, lexicons, dictionaries, and other resources for sword"
url="http://www.crosswire.org/sword/index.jsp"
backup=('')
depends=('sword')
source=(http://www.crosswire.org/ftpmirror/pub/sword/packages/rawzip/AKJV.zip
http://www.crosswire.org/ftpmirror/pub/sword/packages/rawzip/BBE.zip
http://www.crosswire.org/ftpmirror/pub/sword/packages/rawzip/ISV.zip
http://www.crosswire.org/ftpmirror/pub/sword/packages/rawzip/YLT.zip
http://www.crosswire.org/ftpmirror/pub/sword/packages/rawzip/Wesley.zip
http://www.crosswire.org/ftpmirror/pub/sword/packages/rawzip/Family.zip
http://www.crosswire.org/ftpmirror/pub/sword/packages/rawzip/Abbott.zip
http://www.crosswire.org/ftpmirror/pub/sword/packages/rawzip/Clarke.zip
http://www.crosswire.org/ftpmirror/pub/sword/packages/rawzip/KJVD.zip
http://www.crosswire.org/ftpmirror/pub/sword/packages/rawzip/ISBE.zip
http://www.crosswire.org/ftpmirror/pub/sword/packages/rawzip/Hitchcock.zip
http://www.crosswire.org/ftpmirror/pub/sword/packages/rawzip/Daily.zip)

md5sums=('a3878f7656b780792c69b58f2cde1dc1'
'08136a70a7e99dc490e7496f2d4131a8'
'4030d87ee45ae5cd1f8ba2b1eb1538a5'
'0ff3a3f497c5568deb27379f4a3c9b7b'
'a0806713defbd6c6c3023969b360d185'
'9cfb40b82ddb6156634b6cfc97aeb30d'
'2f39c4fc1d797c1e58fcfb633306b5e0'
'27212c9d4509e1137d7ace25d3f4e9a3'
'72c53b401316c23a57406eb0bbc500b4'
'8a07ae856856082d73626fa3e2fac902'
'259840267f41a7aba9517500f4f3164d'
'6d746537d8928187c8fcf277aeb3ab77')

build() {
    mkdir -p $startdir/pkg/usr/share/sword
    mv $startdir/src/mods.d $startdir/pkg/usr/share/sword/
    mv $startdir/src/modules $startdir/pkg/usr/share/sword/
}

After installing the resulting packages, you can use this PKGBUILD to make gnomesword:

# $Id $
# Maintainer: Chris Bozic (cbozic@adelphia.net)
pkgname=gnomesword
pkgver=2.1.1
pkgrel=1
pkgdesc="Bible study with gnome"
url="http://gnomesword.sourceforge.net/"
backup=('')
depends=('pkgconfig' 'gtkhtml' 'gal' 'libgnomeprint' 'sword' 'swordmods')
source=(http://aleron.dl.sourceforge.net/sourceforge/gnomesword/gnomesword-2.1.1.tar.gz)
md5sums=(46b0c941e4f5780aaf8a72da87d0d045)

build() {
    cd $startdir/src/gnomesword-2.1.1
    ./configure --prefix=/opt/gnome
    make || return 1
    make DESTDIR=$startdir/pkg install
}

That's the latest unstable release but it seems to work fine.

Right now, I still must have my downgraded gtkhtml and gal packages on my system in order to run gnomesword2 but tomorrow I'm going to try upgrading them and making links to the newer libraries.  I know it's a hack but, it potentially could let me have the best of both worlds: gnomesword and up-to-date gal and gtkhtml.

Offline

#11 2004-10-27 13:55:00

ruwach
Member
Registered: 2004-06-14
Posts: 143

Re: gnomesword or bibletime

the link to the bibletime pkgbuild was good, but the pkgbuild there was not.
while it was compiling, it kept going back and forth over one part of the code, i guess it was caught in a loop.
let me  know how to do that CVS builds.
i guess i am going to have to do it the way you did with Gnomesword.
thanks

Offline

#12 2004-10-27 16:39:46

cbozic
Member
From: Morgantown, WV, USA
Registered: 2004-01-31
Posts: 77

Re: gnomesword or bibletime

Here's the PKGBUILD I used to build bibletime. 

# $Id $
# Maintainer: Chris Bozic (cbozic@adelphia.net)
pkgname=bibletime
pkgver=1.4.1
pkgrel=1
pkgdesc="Bible study application for Linux. It is based on the K Desktop Environment."
url="http://www.bibletime.info"
backup=('')
depends=('qt' 'kdebase' 'kdelibs' 'kdesdk' 'kdebindings' 'kdeutils' 'curl' 'sword' 'swordmods')
source=(http://aleron.dl.sourceforge.net/sourceforge/bibletime/bibletime-1.4.1.tar.bz2)
md5sums=(df6ab259b188b8555f9423c629d0b239)

build() {
    cd $startdir/src/bibletime-1.4.1
    ./configure --prefix=/opt/kde
    make || return 1
    make DESTDIR=$startdir/pkg install
}

It's based on the one from the other thread but there's really no major differences.  I had to compile this one as root because of some errors with libfakeroot but it worked for me.  There's a few places during compiling where it looks like it's caught in a loop but it will eventually finish.  Bibletime seems much easier to build and install right now because it works with all of the current arch packages.  No need to downgrade anything.  Gnomesword is still a different story.

Offline

#13 2004-10-27 18:12:31

ruwach
Member
Registered: 2004-06-14
Posts: 143

Re: gnomesword or bibletime

This worked for me too, thanks. I will check this thread for what you may have to update getting Gnomesword2 running.
thanks so much

Offline

Board footer

Powered by FluxBB