[sword-devel] SWORD 1.7.0RC2

Jaak Ristioja jaak at ristioja.ee
Mon Aug 5 13:12:09 MST 2013


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Its not simple to port to Sword 1.7.0_rc2, because the Sword test
magic in BibleTime #includes <ftptrans.h>, which is not available in
1.7. Hence compilation of that file fails. There's no way to do stuff
like:

  #include <sword/version.h>
  #if SWORD_VERSION >= 0x010690
  #include <sword/remotetrans.h>
  typedef sword::FTPTransport SwordRemoteRransport;
  #else
  #include <sword/ftptrans.h>
  typedef sword::RemoteTransport SwordRemoteRransport;
  #endif

in the .cpp file to fix this easily. So I have to write A LOT of CMake
scripts to -D a SWORD_VERSION macro to pass to the compiler, or worse.

To sum up, it is currently not reasonably feasible to write C++ source
code which compiles with both 1.6 and 1.7 versions of Sword. One needs
a lot of support from the build system :(

I again urge you to save us all some time and define a preprocessable
SWORD_VERSION macro alike the *_VERSION macros boost or Qt define! If
properly defined, this would at minimum halve the time needed to port
existing versions of BibleTime to work with both 1.6 and 1.7.

Blessings,
Jaak

PS: It would be wise to install a ftptrans.h file anyway, which
includes a deprecation #warning, an #include "remotetrans.h" and a
typedef aliasing sword::FTPTransport to sword::RemoteTransport.

On 05.08.2013 22:01, Troy A. Griffitts wrote:
> Well,  It's been quiet since the release of RC2.  Does this mean
> things are working as expected? Could I get a few positives from
> frontends if you've tried the bundle?  Thank you.
> 
> Troy
> 
> 
> 
> On 08/03/2013 12:01 PM, Troy A. Griffitts wrote:
>> Thanks for all the testing and reports against RC1.  Things have 
>> quieted down, so hopefully we have all the remaining items
>> polished off. RC2 is available for your weekend pleasure.
>> 
>> http://crosswire.org/sword/alpha/alpha/sword-1.7.0RC2.tar.gz
>> 
>> _______________________________________________ sword-devel
>> mailing list: sword-devel at crosswire.org 
>> http://www.crosswire.org/mailman/listinfo/sword-devel 
>> Instructions to unsubscribe/change your settings at above page
> 
> 
> _______________________________________________ sword-devel mailing
> list: sword-devel at crosswire.org 
> http://www.crosswire.org/mailman/listinfo/sword-devel Instructions
> to unsubscribe/change your settings at above page

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.20 (GNU/Linux)

iQgcBAEBAgAGBQJSAAcUAAoJEEqsYmEt1rCO0Rs//0uSHdvVI8C5VEWfgodW9uoW
5XCRHUVR8IMMInNEv5rXXyNnZc+UdViN4QJNYg5tjEOzxVtL6NTTR/WWY0Uola2w
Qj8NU3g6DgqVMXo7uFtEOuoQ6/oyrKFLfiodMOcF3zMQZkBPWNc1KGPL8OMUe7a9
c5oiVqyg3LLrxGpgjTGKZWnEWawF9Sv9KgIwNyf4qILaStrDuF//3AqYt4IHwdNL
oHoZiZo7wtY4PCddJ0umEo0uF323Q0xNX9iwM2bBNwFnGPSTpY7i3Oi5Tksb7OJF
HFnDMzdvo8ivVKEnwbnk3MUFCSBFL6i3iyMeP6RCrPZw3wrFfMEbW6ufaghQ5pqX
MndwchusgJyN0KTTeEdMydd9xZ8i18tUaiQZyYyPuiPwZ2uSf2vFIDrjt9TIDuiU
3uyk5ToWiWw9crc35PETh12iyaO7n9ZVorYJwHNAYpQpCMkyJrdyt5Pvj18pEytt
0Z8c9lxBn/+m6yhe1ZnU6egZJ2cRyVAJon0LuJBdBvJES0mWpG6Eaxc/uamTCB8E
othxv6y4MH0CTefaF2Mrl1nOgJTaQ8ZCuKk+g7j5IdgOoALc9mGLpxmOqaF2YJQO
NtgEVgAKMRqh/gX3qTrFbovgOsuilXASAnDOo9KelmGNd553Iy4iMDz0RCE4Nb88
njlbzD2q3LhCvtCKZnMH0mBiGuEpeYgEDTVumrx9fHb9vTi66UF99YKcADe9nphA
T6OKZjK2EBJndTLDjSSqigYY49jXKrKAGjMjSRnIfq41EFHYYezrZhjpFnq3+Xnu
pCucw0K18CPdRJZYPlkEd23928Yk/9bZr2go/SKQVmIfvDfef+qWfbolnQv0TU/K
KC/PNbawTgztBDvffbLpvaj51wO6Xqnwe4FqmBn6xx7hytDQngYwsvntbO7qqg0l
QUoUol+6bqIlYtoUD3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