Remove XUL opensrf.math Client Signed-off-by: Jason Boyer <JBoyer@equinoxOLI.org> Signed-off-by: Jason Stephenson <jason@sigio.com> Signed-off-by: Chris Sharp <csharp@georgialibraries.org>
LP 1827051: Remove Java Code, etc. Java support in OpenSRF does not build and is out of date with current OpenSRF features. No one has the intention to fix it, so this commit removes Java from the code, build files, and documentation. To test that Java is indeed broken, configure OpenSRF with the --enable-java option and then watch the make fail as it tries to pull in missing dependencies. To test this branch, simply apply it and see that the option to enable Java is gone along with all of the obsolete code and build instructions. Signed-off-by: Jason Stephenson <jason@sigio.com>
LP1827055 Remove Python libs, install bits, and docs Signed-off-by: Bill Erickson <berickxx@gmail.com> Signed-off-by: Jason Stephenson <jason@sigio.com> Signed-off-by: Chris Sharp <csharp@georgialibraries.org>
LP#1272937 - Quiet warnings from autoreconf -i We change INCLUDES to AM_CPPFLAGS and change the syntax for AM_INIT_AUTOMAKE to match current recommendations. Also, add an m4 directory. Thanks to Warren Layton for direction towards these solutions. Signed-off-by: Chris Sharp <csharp@georgialibraries.org> Signed-off-by: Jason Stephenson <jason@sigio.com>
LP#1631520: configure install location of Perl modules Add --with-perlbase configure option to specify an alternative location for installing the Perl modules. This can be useful for setups that want to run the Perl modules from a shared filesystem or environments that need to run multiple versions of OpenSRF simultaneously. Users of --with-perlbase are responsible for ensuring that PERL5LIB is set appropriately. To test ------- [1] Use --with-perlbase during the configure step, e.g., ./configure --perl-base /tmp/perl [2] Run make; make check; sudo make install [3] Verify that the Perl modules are installed under /tmp/perl. [4] Make a change to a Perl source file, then go to src/perl, then run sudo ./Build install. Verify that it remembers the --with-perlbase directory and installs the updated module there. Signed-off-by: Mike Rylander <mrylander@gmail.com> Signed-off-by: Galen Charlton <gmc@esilibrary.com>
LP#1306044 Removing deprecated jabber register script This script is no longer user, since ejabberdctrl is used instead. What's more, this script uses a Perl package (libnet-jabber-perl) which is no longer available in Debian (Jessie). Signed-off-by: Bill Erickson <berick@esilibrary.com> Signed-off-by: Galen Charlton <gmc@esilibrary.com>
ChopChop is dead, long live ChopChop. It was never fully baked, nor was it secure, nor does it compile cleanly with -Wall, nor does it provide any useful examples for working with opensrf, etc. Time to clear out. So long, chopchop. Signed-off-by: Bill Erickson <berick@esilibrary.com> Signed-off-by: Dan Scott <dscott@laurentian.ca>
autotools - do not explicitly include m4 directory Some versions of autotools complain bitterly if an m4 include directory is specified that does not exist. Signed-off-by: Dan Scott <dscott@laurentian.ca>
Respect DESTDIR during the build process Replace instances of make with the generic $(MAKE) Add $(DESTDIR) to paths it is currently missing from Manually specify the apxs2 install location so that DESTDIR can be prepended Attempt to create the apache directory if it does not exist Signed-off-by: Ben Webb <bjwebb67@googlemail.com> Signed-off-by: Dan Scott <dan@coffeecode.net>
Add a C unit testing framework and tests for OpenSRF The unit testing framework is "Check" - http://check.sourceforge.net/ These tests can be executed by running 'make check' after you configure and compile the OpenSRF code. To run them, you must have the 'check' package installed. Author: Kevin Beswick <kevinbeswick00@gmail.com> Signed-off-by: Dan Scott <dan@coffeecode.net> Signed-off-by: Kevin Beswick <kevinbeswick00@gmail.com> git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@2237 9efc2488-bf62-4759-914b-345cdb29e865
Whitespace consistency (tabs for Makefiles I guess) git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@2164 9efc2488-bf62-4759-914b-345cdb29e865
Eliminate the old JSON parser, implemented in osrf_json_parser.c and the associated header osrf_json_utils.h. This parser has been completely replaced by a newer one implemented in osrf_parse_json.c, plus an incremental JSON parser (so far unused) in jsonpush.c.. The even older parser of JSON-with-comments is not affected. D include/opensrf/osrf_json_utils.h M include/opensrf/osrf_json.h D src/libopensrf/osrf_json_parser.c M src/libopensrf/osrf_json_object.c M src/libopensrf/Makefile.json M src/libopensrf/osrf_json_tools.c M src/libopensrf/Makefile.am M src/libopensrf/osrf_parse_json.c M Makefile.am git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@2000 9efc2488-bf62-4759-914b-345cdb29e865
And place headers in /prefix/include/opensrf/ again, fixing regression to /prefix/include/ git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@1796 9efc2488-bf62-4759-914b-345cdb29e865
W h i t e s p a c e matters when defining automake targets Headers weren't being installed as the include_HEADER target wasn't being parsed. git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@1795 9efc2488-bf62-4759-914b-345cdb29e865
Make building & installing the core components of OpenSRF optional. For now, this will be of most interest to those interested in installing only the JavaScript files from OpenSRF. If you disable the core components in configure, then dependency checking for those core components is skipped and the JavaScript files will be installed to the desired location. For example: ./autogen.sh ./configure --prefix=/openils --sysconfdir=/openils/conf --disable-core sudo make install ... will result in only the OpenSRF JavaScript files being installed in /openils/lib/javascript/ (although at the moment, the other directories will still be created). git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@1783 9efc2488-bf62-4759-914b-345cdb29e865
Added distclean-local: target and DISTCLEANFILES to make 'make distclean' work superawesomely Added ACLOCAL_AMFLAGS at the behest of libtoolize git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@1737 9efc2488-bf62-4759-914b-345cdb29e865
Clean up the source tree a little more: * Delete setup.py.in (as we're not modifying it) * Make math_client.py be modified with SYSCONFDIR location per other scripts (although slightly longer term we'll need to stop modifying all of these in place, because that doesn't work after the first ./configure run) * Add a few files to automake's tracking so that make dist is a little happier git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@1484 9efc2488-bf62-4759-914b-345cdb29e865
merging perl CPANification/normalization branch work git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@1418 9efc2488-bf62-4759-914b-345cdb29e865
Commit autotools patch from Kevin Beswick (adjusted slightly for Bill's objson API compatibility layer removal) Enclosed is a patch to update the OpenSRF autotools implementation. It fixes most bugs such as: -correctly replacing hardcoded directory paths in various files -correctly implementing clean, and uninstall make targets -fixes building src/c-apps modules without the lib prefix -builds the src/gateway apache modules with apxs -fixed the naming of the opensrf-c binary Also, it implements more of the autotools features: -rolling a tarball with make dist -enables VPATH (parallel) builds -checking a distribution with make distcheck ------------------------------------------- Developer's Certificate of Origin 1.1 By making a contribution to this project, I certify that: (a) The contribution was created in whole or in part by me and I have the right to submit it under the open source license indicated in the file; or (b) The contribution is based upon previous work that, to the best of my knowledge, is covered under an appropriate open source license and I have the right under that license to submit that work with modifications, whether created in whole or in part by me, under the same open source license (unless I am permitted to submit under a different license), as indicated in the file; or (c) The contribution was provided directly to me by some other person who certified (a), (b) or (c) and I have not modified it. (d) I understand and agree that this project and the contribution are public and that a record of the contribution (including all personal information I submit with it, including my sign-off) is maintained indefinitely and may be redistributed consistent with this project or the open source license(s) involved. Signed-off-by: [Kevin Beswick (kevinbeswick00@gmail.com)] git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@1375 9efc2488-bf62-4759-914b-345cdb29e865
* remove the objson API compat layer. * Set the default JSON gateway protocol to non-legacy json git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@1373 9efc2488-bf62-4759-914b-345cdb29e865