Description of problem: There is a number of scripts which can be used especially for the authoring Bible modules, which require Python or Perl bindings to the libsword library. There is a parallel Debian bug at https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=640614
Instructions are at http://crosswire.org/svn/sword/trunk/bindings/README Javan bindings are a bit questionable because one can always use JSword http://crosswire.org/wiki/DevTools:JSword
Python bindings already exist: sword-python Perl bindings were attempted, but I still haven't gotten the installation to work within RPM builds correctly. There's some deficiency in the generation of the build files that I've never been able to diagnose, largely because I know nothing about how to build Perl bindings outside of what is already in the CMake files. Java bindings are not supported, as the Java JNI bindings are only targeting Android. I'm curious - what helpful scripts are you referencing?
Right, actually it is possible just to rebuild Rawhide package on EPEL-7 and I get working Python bindings. After git merge master on epel7 branch I get something which builds in Koji (http://koji.fedoraproject.org/koji/taskinfo?taskID=10808772) and I can build xiphos against it.
(In reply to greg.hellings from comment #2) > I'm curious - what helpful scripts are you referencing? Mainly stuff from http://crosswire.org/svn/sword-tools/trunk/ (e.g., versification/), see http://thread.gmane.org/gmane.comp.literature.sword.devel/27571/focus=27574
I already have a build of the latest Xiphos in Bodhi waiting to go stable. If you want to test that instead, you can take a look. But I didn't need to update sword to do it, only biblesync. https://bodhi.fedoraproject.org/updates/xiphos-4.0.3-1.el7
All of those should run fine with the Python bindings alone. I didn't find anything that uses the Perl bindings in there. I believe the Perl bindings are only used locally by a select group of individuals. I'd like to get them fixed up, but I haven't had time to fix up the deficiencies with the CMake script to get them build. Are you also saying the Sword version on EPEL doesn't have sword-python?
(In reply to greg.hellings from comment #6) > All of those should run fine with the Python bindings alone. I didn't find > anything that uses the Perl bindings in there. I believe the Perl bindings > are only used locally by a select group of individuals. I'd like to get them > fixed up, but I haven't had time to fix up the deficiencies with the CMake > script to get them build. Good. Then that's great. I have been already using xiphos from git repo, so yes, I have xiphos-gtk3-4.0.3-1.el7.x86_64 working just fine (BTW, why do we need gtk2 package on anything above EL6? Don't all these distros have gtk3 already?) > Are you also saying the Sword version on EPEL doesn't have sword-python? The latest sword on EL7 is http://koji.fedoraproject.org/koji/buildinfo?buildID=596486 which still didn't have it.
On the issue of GTK2 vs GTK3 builds, the preferred default for the project is still GTK2. There have been long-running known issues with GTK3 on some window managers and the official workaround within Xiphos is to use GTK2 until the bugs in GTK3 itself are worked out. As such, for as long as Xiphos supports it and GTK2 is available, I plan to maintain 2 as the default build until upstream advises otherwise. I also plan to keep both around so long as they are supported, as having both available helps triage when a bug might be a result of the toolchain-specific code.
As I'm reviewing the changes necessary to get 1.7.4 into the EPEL-7 branch, it will require a rebuild of both Xiphos and BibleTime. As there is currently a Xiphos update in flight which should resolve out in a few days, I will push the new build of Sword after the current update to Xiphos is released. Hopefully Friday I can get Xiphos 4.0.3 update out and make this build sometime over the weekend. 1.7.4 is when I introduced SOVERSION. All versions prior to that are improperly keyed to the release version, which necessitated a rebuild of Xiphos and BibleTime after every Sword update.
Is there any hope 1.7.4 finally making it (together with Python-bindings) to EPEL-7, please?
Building in the version with Python right now. Perl is still not properly building upstream, and Java has never been supported outside of Android.
sword-1.7.4-6.el7 has been submitted as an update to Fedora EPEL 7. https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2016-0cf47875b0
sword-1.7.4-6.el7 has been pushed to the Fedora EPEL 7 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2016-0cf47875b0
sword-1.7.4-6.el7 has been pushed to the Fedora EPEL 7 stable repository. If problems still persist, please make note of it in this bug report.