You are not logged in.

#1 2009-07-24 06:11:34

theringmaster
Member
From: Air Force
Registered: 2007-07-16
Posts: 581
Website

Alkitab Bible Study software

http://www.kiyut.com/products/alkitab/d … index.html

I don't how complicated this would be to build, but it would be so very awesome if someone could take up the task.


Check me out on twitter!!! twitter.com/The_Ringmaster

Offline

#2 2009-07-24 10:04:51

ngoonee
Forum Fellow
From: Between Thailand and Singapore
Registered: 2009-03-17
Posts: 7,362

Re: Alkitab Bible Study software

Just to butt in, e-sword on windows has two (AFAICT) Malay/Indonesian language bibles, both free. E-sword runs great in wine, I'm using it daily here.

/end butting in. Please continue with the question.


Allan-Volunteer on the (topic being discussed) mailn lists. You never get the people who matters attention on the forums.
jasonwryan-Installing Arch is a measure of your literacy. Maintaining Arch is a measure of your diligence. Contributing to Arch is a measure of your competence.
Griemak-Bleeding edge, not bleeding flat. Edge denotes falls will occur from time to time. Bring your own parachute.

Offline

#3 2009-07-24 11:57:17

Stefan Husmann
Member
From: Germany
Registered: 2007-08-07
Posts: 1,391

Re: Alkitab Bible Study software

xiphos and bibledesktop (not sure about bibletime) have a feature to download and integrate books from the net.

And they do not need the netbeans or wine bloat.

Offline

#4 2009-07-24 12:51:01

gnud
Member
Registered: 2005-11-27
Posts: 184

Re: Alkitab Bible Study software

I think I have a working solution for a system-wide install with shared books.

I don't build from sources (the build.xml only had the target build-installer, and that didn't work too well - lots of missing variables and stuff when run outside of netbeans), I used the installer directly. The installer software can be used via cli, and options can be read from a file. So, I use the installer directly.

It's a good idea to download the installer seperately from download.com (here), the KIYUT server is kinda slow.

To get system-shared books to work (so that the books can be installed with the package), I hacked the startup script to append the system-wide path to the per-user setting the first time it's run. If the user removes the system wide directory it ought to stay removed.

I'll post the PKGBUILD and the patch here, please test it. If you want to maintain it, you can add it to AUR. If you want me to add it, I'll do it, but I won't promise 1st class support smile

PKGBUILD:

# Contributor: gnud <ach.gnud@gmail.com> 
pkgname=alkitab
pkgver=2.3
pkgrel=1
pkgdesc="Bible study software"
url="http://www.kiyut.com/products/alkitab/developer"
depends=('jre')
#website refers to the source by the name 'alkitab' only
source=(
"http://www.kiyut.com/products/${pkgname}/${pkgname}.zip" 
"patch.alkitab")
md5sums=('91ea72c264c8cbca182f93e0bd35fe6b'
         '24a1aab1f8481ba6426446bf115e678e')
license=('Other')
arch=('i686')

build() {
  cd ${startdir}/src
  
  #create installation template
  echo "INSTALL_PATH=${startdir}/pkg/opt/${pkgname}" > template
  java -jar setup.jar -options template

  #set up system wide book configuration
  #this path is added to the per-user-config in the modified launcher script
  mkdir -p ${startdir}/pkg/opt/${pkgname}/books
  #for some weird reason (aka installer bug),
  #the books dont pick up the path set via the template
  cp -R \$UserPathPanelVariable/* ${startdir}/pkg/opt/${pkgname}/books
  
  #patch startup file to insert book directory
  patch ../pkg/opt/alkitab/bin/alkitab patch.alkitab

  #set up symlink for launcher
  mkdir -p ${startdir}/pkg/usr/bin
  cd ${startdir}/pkg/usr/bin
  ln -s ../../opt/${pkgname}/bin/${pkgname} ${pkgname}

}

patch.alkitab

--- ../pkg/opt/alkitab/bin/alkitab    2009-06-29 23:00:18.000000000 +0200
+++ alkitab    2009-07-24 14:40:28.000000000 +0200
@@ -48,6 +48,25 @@
     . "${userdir}/etc/$APPNAME".conf
 fi
 
+#Arch Linux specific: path user config file to contain system wide book location
+#
+_conf="${userdir}/config/Preferences/kiyut/alkitab/options/bookviewer.properties"
+if [ -f "${_conf}" ] ; then
+  #check if the file contains the key book-paths
+  #if it does, then either the system path is there,
+  #or the user removed it from the list of paths
+  grep "book-paths=" "${_conf}" &> /dev/null
+  if [ "$?" -ne "0" ]; then
+    #append it
+    echo "book-paths=/opt/alkitab/books" >> "${_conf}"
+  fi
+else
+  #the file does not exist
+  mkdir -p `dirname "${_conf}"` #make sure the dir exists
+  echo "book-paths=/opt/alkitab/books" > "${_conf}"
+fi
+#End arch linux patch
+
 if [ -n "$jdkhome" -a \! -d "$jdkhome" -a -d "$progdir/../$jdkhome" ]; then
     # #74333: permit jdkhome to be defined as relative to app dir
     jdkhome="$progdir/../$jdkhome"

Offline

#5 2009-07-24 16:09:00

theringmaster
Member
From: Air Force
Registered: 2007-07-16
Posts: 581
Website

Re: Alkitab Bible Study software

Stefan Husmann wrote:

xiphos and bibledesktop (not sure about bibletime) have a feature to download and integrate books from the net.

And they do not need the netbeans or wine bloat.

Normally I would just use xiphos (gnomesword) but it is too gnome heavy. alkitab is an alternative frontend for bibledesktop, and i like the way they layout and organize their workspaces.


Check me out on twitter!!! twitter.com/The_Ringmaster

Offline

#6 2009-07-24 16:25:29

theringmaster
Member
From: Air Force
Registered: 2007-07-16
Posts: 581
Website

Re: Alkitab Bible Study software

gnud wrote:

I think I have a working solution for a system-wide install with shared books.

I don't build from sources (the build.xml only had the target build-installer, and that didn't work too well - lots of missing variables and stuff when run outside of netbeans), I used the installer directly. The installer software can be used via cli, and options can be read from a file. So, I use the installer directly.

It's a good idea to download the installer seperately from download.com (here), the KIYUT server is kinda slow.

To get system-shared books to work (so that the books can be installed with the package), I hacked the startup script to append the system-wide path to the per-user setting the first time it's run. If the user removes the system wide directory it ought to stay removed.

I'll post the PKGBUILD and the patch here, please test it. If you want to maintain it, you can add it to AUR. If you want me to add it, I'll do it, but I won't promise 1st class support smile

is this minor message anything to worry about?

patching file ../pkg/opt/alkitab/bin/alkitab
patch unexpectedly ends in middle of line
Hunk #1 succeeded at 48 with fuzz 1.

Check me out on twitter!!! twitter.com/The_Ringmaster

Offline

#7 2009-07-24 16:30:35

theringmaster
Member
From: Air Force
Registered: 2007-07-16
Posts: 581
Website

Re: Alkitab Bible Study software

i have it maintained in the aur here

http://aur.archlinux.org/packages.php?ID=28711


Check me out on twitter!!! twitter.com/The_Ringmaster

Offline

#8 2009-07-24 16:33:24

gnud
Member
Registered: 2005-11-27
Posts: 184

Re: Alkitab Bible Study software

I guess the error message is because of a missing line-break when copy-pasting.

Offline

Board footer

Powered by FluxBB