debian/0000775000000000000000000000000012262116063007167 5ustar debian/rules0000775000000000000000000000401512262116022010242 0ustar #!/usr/bin/make -f # -*- makefile -*- # Sample debian/rules that uses debhelper. # This file was originally written by Joey Hess and Craig Small. # As a special exception, when this file is copied by dh-make into a # dh-make output file, you may use that output file without restriction. # This special exception was added by Craig Small in version 0.37 of dh-make. # Uncomment this to turn on verbose mode. #export DH_VERBOSE=1 DEB_HOST_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE) DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE) DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH) # shared library versions, option 1 version=6.0.0 major=2 config.status: configure dh_testdir dh_autoreconf ./configure --host=$(DEB_HOST_GNU_TYPE) --build=$(DEB_BUILD_GNU_TYPE) --prefix=/usr --libdir=\$${prefix}/lib/$(DEB_HOST_MULTIARCH) --mandir=\$${prefix}/share/man --with-xerces=/usr/ --infodir=\$${prefix}/share/info CXXFLAGS="$(CFLAGS)" LDFLAGS="-Wl,-z,defs" build: build-stamp build-arch: build-stamp build-indep: build-stamp build-stamp: config.status dh_testdir $(MAKE) touch $@ clean: dh_testdir dh_testroot rm -f build-stamp [ ! -f Makefile ] || $(MAKE) distclean rm -f libtool dh_autoreconf_clean dh_clean install: build dh_testdir dh_testroot dh_prep dh_installdirs $(MAKE) DESTDIR=$(CURDIR)/debian/tmp install chrpath -d $(CURDIR)/debian/tmp/usr/lib/$(DEB_HOST_MULTIARCH)/libxqilla.so.$(version) chrpath -d $(CURDIR)/debian/tmp/usr/bin/xqilla # Build architecture-independent files here. binary-indep: build install # We have nothing to do by default. # Build architecture-dependent files here. binary-arch: build install dh_testdir dh_testroot dh_installchangelogs ChangeLog dh_installdocs dh_install --sourcedir=debian/tmp dh_installman dh_link dh_strip dh_compress dh_fixperms dh_makeshlibs dh_installdeb dh_shlibdeps dh_gencontrol dh_md5sums dh_builddeb binary: binary-indep binary-arch .PHONY: build clean binary-indep binary-arch binary install debian/watch0000664000000000000000000000006511557731152010231 0ustar version=3 http://sf.net/xqilla/XQilla-(.*)\.tar\.gz debian/libxqilla6.install0000664000000000000000000000003111674335271012632 0ustar usr/lib/*/libxqilla.so.* debian/changelog0000664000000000000000000000555412262116057011055 0ustar xqilla (2.3.0-1ubuntu1) trusty; urgency=medium * Use dh-autoreconf instead of autotools-dev to also fix FTBFS on ppc64el by getting new libtool macros (still updates config.{sub,guess}). -- Logan Rosen Sat, 04 Jan 2014 18:41:17 -0500 xqilla (2.3.0-1) unstable; urgency=low * New upstream release. * Remove patches merged by upstream. * Remove unnecessary libs from configure.in -- Tommi Vainikainen Wed, 21 Dec 2011 14:04:44 +0200 xqilla (2.2.4-4) unstable; urgency=low * Multi-arch. -- Tommi Vainikainen Tue, 28 Jun 2011 16:50:38 +0300 xqilla (2.2.4-3) unstable; urgency=low * Fix FTBFS with new gcc, need to #include if ptrdiff_t is used (Closes: #625099). -- Tommi Vainikainen Tue, 03 May 2011 11:27:07 +0300 xqilla (2.2.4-2) unstable; urgency=low * Fix memory leaks when throwing exceptions, thanks Jérémy Coulon (Closes: #613717). -- Tommi Vainikainen Thu, 24 Feb 2011 12:12:36 +0200 xqilla (2.2.4-1) unstable; urgency=low * New upstream release (Closes: #603147). * Patch for Xerces-C 3.1 compatibility applied upstream. * Add watch file for uscan. * Public repository moved under collab-maint. -- Tommi Vainikainen Wed, 17 Nov 2010 23:31:58 +0200 xqilla (2.2.3-1) unstable; urgency=low * New upstream release (Closes: #563794). * Use '3.0 (quilt)' source format. * This release provides all necessary libraries to the linker (Closes: #556723). * Compile against Xerces-C v3 (Build-Depend on libxerces-c-dev), remove private copy of xerces-c headers. * Adopt the package. * Write manual page for xqilla binary. -- Tommi Vainikainen Fri, 19 Feb 2010 15:52:21 +0200 xqilla (2.0.0-2.3) unstable; urgency=low * Non-maintainer upload. * Fix FTBFS with gcc-4.4 (Closes: #504982). -- Luca Falavigna Wed, 30 Dec 2009 09:41:29 +0000 xqilla (2.0.0-2.2) unstable; urgency=low * Non-maintainer upload. * Replaced Build-Depend on libxerces28-dev with libxerces-c2-dev (Closes: #483284). -- Miguel Landaeta Tue, 12 Aug 2008 23:33:12 -0430 xqilla (2.0.0-2.1) unstable; urgency=medium * Non-maintainer upload. * Fix FTBFS with GCC 4.3 (Closes: #474865) * Use CXXFLAGS instead of CFLAGS to pass location of private library, was causing FTBFS from within chroot. -- Chris Lamb Sat, 12 Apr 2008 15:57:14 +0100 xqilla (2.0.0-2) unstable; urgency=low * Fix control in order to generate correct libc dependency on xqilla * Added chrpath call in order to remove rpath definition. -- Daniel Ruoso Mon, 03 Mar 2008 11:18:04 +0000 xqilla (2.0.0-1) unstable; urgency=low * Initial release -- Daniel Ruoso Thu, 28 Feb 2008 18:08:14 +0000 debian/compat0000664000000000000000000000000211602100540010353 0ustar 8 debian/xqilla.dirs0000664000000000000000000000001011557731152011343 0ustar usr/bin debian/libxqilla6.dirs0000664000000000000000000000001011557731152012120 0ustar usr/lib debian/copyright0000664000000000000000000000654711557731152011146 0ustar This package was debianized by Daniel Ruoso on Thu, 28 Feb 2008 18:08:14 +0000. It was later updated by Tommi Vainikainen. It was downloaded from Copyright (c) 2001-2008 DecisionSoft Limited. All rights reserved. Copyright (c) 2004-2008 Oracle. All rights reserved. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. In addition to the Apache Licence v2, code contained in the src/mapm directory is licenced under the following terms: Copyright (C) 1999 - 2003 Michael C. Ring This software is Freeware. Permission to use, copy, and distribute this software and its documentation for any purpose with or without fee is hereby granted, provided that the above copyright notice appear in all copies and that both that copyright notice and this permission notice appear in supporting documentation. Permission to modify the software is granted. Permission to distribute the modified code is granted. Modifications are to be distributed by using the file 'license.txt' as a template to modify the file header. 'license.txt' is available in the official MAPM distribution. To distribute modified source code, insert the file 'license.txt' at the top of all modified source code files and edit accordingly. This software is provided "as is" without express or implied warranty. In addition to the Apache Licence v2, code contained in the src/yajl directory is licenced under the following terms: Copyright 2007, Lloyd Hilaiel. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. 2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. 3. Neither the name of Lloyd Hilaiel nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission. THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. debian/source/0000775000000000000000000000000011674345742010505 5ustar debian/source/format0000664000000000000000000000001411557731152011705 0ustar 3.0 (quilt) debian/xqilla.manpages0000664000000000000000000000002011557731152012176 0ustar debian/xqilla.1 debian/libxqilla-dev.dirs0000664000000000000000000000002411557731152012613 0ustar usr/lib usr/include debian/xqilla.10000664000000000000000000000605411557731152010560 0ustar .\" -*- nroff -*- .\" .\" This manual page xqilla.1 is based on xqilla help output. .\" .\" Author: Tommi Vainikainen .\" .\" Copyright (c) 2001-2008 .\" DecisionSoft Limited. All rights reserved. .\" Copyright (c) 2004-2008 .\" Oracle. All rights reserved. .\" Copyright (C) 2010 .\" Tommi Vainikainen. No rights reserved. .\" .\" Licensed under the Apache License, Version 2.0 (the "License"); .\" you may not use this file except in compliance with the License. .\" You may obtain a copy of the License at .\" .\" http://www.apache.org/licenses/LICENSE-2.0 .\" .\" Unless required by applicable law or agreed to in writing, software .\" distributed under the License is distributed on an "AS IS" BASIS, .\" WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. .\" See the License for the specific language governing permissions and .\" limitations under the License. .\" .\" Created: 2010-01-21 .\" .TH XQILLA "1" "January 2010" "xqilla" "User Commands" .SH NAME xqilla \- run XQuery and XPath 2 expressions .SH SYNOPSIS .B xqilla [\fIOPTION\fR]... \fXQUERY-FILE\fR... .SH DESCRIPTION Run XQuery and XPath 2 expressions from QUERY-FILE. .TP \fB\-h\fR Show help and exit .TP \fB\-p\fR Parse in XPath 2 mode (default is XQuery mode) .TP \fB\-P\fR Parse in XPath 1.0 compatibility mode (default is XQuery mode) .TP \fB\-s\fR Parse XSLT 2.0 .TP \fB\-f\fR Parse using W3C Full-Text extensions .TP \fB\-u\fR Parse using W3C Update extensions .TP \fB\-e\fR Parse using XQilla specific extensions .TP \fB\-d\fR Run the query in interactive debugging mode .TP \fB\-x\fR Use the Xerces-C data model (default is the FastXDM) .TP \fB\-i\fR \fIfile\fR Load XML document and bind it as the context item .TP \fB\-b\fR \fIbaseURI\fR Set the base URI for the context .TP \fB\-v\fR \fIname\fR \fIvalue\fR Bind the name value pair as an external variable .TP \fB\-o\fR \fIfile\fR Write the result to the specified file .TP \fB\-n\fR \fInumber\fR Run the queries a number of times .TP \fB\-q\fR Quiet mode - no output .TP \fB\-t\fR Output an XML representation of the AST .PP The .B xqilla command line tool can be used to run XQuery and XPath 2 expressions. It is also a good example of how to use the .B Simple API of the .B XQilla library. .SH "REPORTING BUGS" Report bugs to . .SH COPYRIGHT Copyright \(co 2001-2008 DecisionSoft Limited. .br Copyright \(co 2004-2008 Oracle. .PP Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at .PP Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. .SH "SEE ALSO" The full documentation for the .B XQilla library is available at . debian/xqilla.install0000664000000000000000000000001711557731152012057 0ustar usr/bin/xqilla debian/control0000664000000000000000000000331712262116061010574 0ustar Source: xqilla Priority: extra Maintainer: Ubuntu Developers XSBC-Original-Maintainer: Tommi Vainikainen Build-Depends: debhelper (>= 8.1.3), dh-autoreconf, libxerces-c-dev, chrpath Standards-Version: 3.9.2 Section: libs Vcs-Bzr: http://anonscm.debian.org/bzr/collab-maint/xqilla/unstable Vcs-Browser: http://anonscm.debian.org/loggerhead/collab-maint/xqilla/ Homepage: http://xqilla.sourceforge.net/ Package: xqilla Section: text Architecture: any Depends: libxqilla6 (= ${binary:Version}), ${shlibs:Depends}, ${misc:Depends} Description: XQuery and XPath 2.0 command line interpreter XQilla is a XQuery and XPath 2 library and command line utility written in C++, implemented on top of the Xerces-C library. It is made available under the terms of the Apache Lincese v2. . This package contains the command line xqilla utility Package: libxqilla-dev Section: libdevel Architecture: any Depends: libxerces-c-dev, libxqilla6 (= ${binary:Version}), ${misc:Depends} Description: XQuery and XPath 2.0 library - Development files XQilla is a XQuery and XPath 2 library and command line utility written in C++, implemented on top of the Xerces-C library. It is made available under the terms of the Apache Lincese v2. . This package contains the xqilla headers Package: libxqilla6 Architecture: any Pre-Depends: ${misc:Pre-Depends} Depends: ${shlibs:Depends}, ${misc:Depends} Multi-Arch: same Description: XQuery and XPath 2.0 library XQilla is a XQuery and XPath 2 library and command line utility written in C++, implemented on top of the Xerces-C library. It is made available under the terms of the Apache Lincese v2. . This package contains the xqilla libraries debian/docs0000664000000000000000000000000511557731152010045 0ustar TODO debian/dirs0000664000000000000000000000002111557731152010054 0ustar usr/bin usr/sbin debian/patches/0000775000000000000000000000000011674345742010634 5ustar debian/patches/remove-unnecessary-libs0000664000000000000000000001064011674335470015336 0ustar Index: unstable/configure.in =================================================================== --- unstable.orig/configure.in 2011-12-21 11:50:05.000000000 +0200 +++ unstable/configure.in 2011-12-21 12:09:26.000000000 +0200 @@ -298,11 +298,6 @@ chmod 755 libtool fi -# Checks for libraries. -AC_CHECK_LIB(pthread,pthread_create) -AC_CHECK_LIB(socket,connect) -AC_CHECK_LIB(nsl,gethostbyname) - # Checks for header files. AC_FUNC_ALLOCA AC_HEADER_STDC Index: unstable/configure =================================================================== --- unstable.orig/configure 2011-12-21 12:09:04.000000000 +0200 +++ unstable/configure 2011-12-21 12:09:59.000000000 +0200 @@ -15628,142 +15628,6 @@ chmod 755 libtool fi -# Checks for libraries. -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5 -$as_echo_n "checking for pthread_create in -lpthread... " >&6; } -if test "${ac_cv_lib_pthread_pthread_create+set}" = set; then : - $as_echo_n "(cached) " >&6 -else - ac_check_lib_save_LIBS=$LIBS -LIBS="-lpthread $LIBS" -cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ - -/* Override any GCC internal prototype to avoid an error. - Use char because int might match the return type of a GCC - builtin and then its argument prototype would still apply. */ -#ifdef __cplusplus -extern "C" -#endif -char pthread_create (); -int -main () -{ -return pthread_create (); - ; - return 0; -} -_ACEOF -if ac_fn_c_try_link "$LINENO"; then : - ac_cv_lib_pthread_pthread_create=yes -else - ac_cv_lib_pthread_pthread_create=no -fi -rm -f core conftest.err conftest.$ac_objext \ - conftest$ac_exeext conftest.$ac_ext -LIBS=$ac_check_lib_save_LIBS -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5 -$as_echo "$ac_cv_lib_pthread_pthread_create" >&6; } -if test "x$ac_cv_lib_pthread_pthread_create" = x""yes; then : - cat >>confdefs.h <<_ACEOF -#define HAVE_LIBPTHREAD 1 -_ACEOF - - LIBS="-lpthread $LIBS" - -fi - -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5 -$as_echo_n "checking for connect in -lsocket... " >&6; } -if test "${ac_cv_lib_socket_connect+set}" = set; then : - $as_echo_n "(cached) " >&6 -else - ac_check_lib_save_LIBS=$LIBS -LIBS="-lsocket $LIBS" -cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ - -/* Override any GCC internal prototype to avoid an error. - Use char because int might match the return type of a GCC - builtin and then its argument prototype would still apply. */ -#ifdef __cplusplus -extern "C" -#endif -char connect (); -int -main () -{ -return connect (); - ; - return 0; -} -_ACEOF -if ac_fn_c_try_link "$LINENO"; then : - ac_cv_lib_socket_connect=yes -else - ac_cv_lib_socket_connect=no -fi -rm -f core conftest.err conftest.$ac_objext \ - conftest$ac_exeext conftest.$ac_ext -LIBS=$ac_check_lib_save_LIBS -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5 -$as_echo "$ac_cv_lib_socket_connect" >&6; } -if test "x$ac_cv_lib_socket_connect" = x""yes; then : - cat >>confdefs.h <<_ACEOF -#define HAVE_LIBSOCKET 1 -_ACEOF - - LIBS="-lsocket $LIBS" - -fi - -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5 -$as_echo_n "checking for gethostbyname in -lnsl... " >&6; } -if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then : - $as_echo_n "(cached) " >&6 -else - ac_check_lib_save_LIBS=$LIBS -LIBS="-lnsl $LIBS" -cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ - -/* Override any GCC internal prototype to avoid an error. - Use char because int might match the return type of a GCC - builtin and then its argument prototype would still apply. */ -#ifdef __cplusplus -extern "C" -#endif -char gethostbyname (); -int -main () -{ -return gethostbyname (); - ; - return 0; -} -_ACEOF -if ac_fn_c_try_link "$LINENO"; then : - ac_cv_lib_nsl_gethostbyname=yes -else - ac_cv_lib_nsl_gethostbyname=no -fi -rm -f core conftest.err conftest.$ac_objext \ - conftest$ac_exeext conftest.$ac_ext -LIBS=$ac_check_lib_save_LIBS -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5 -$as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; } -if test "x$ac_cv_lib_nsl_gethostbyname" = x""yes; then : - cat >>confdefs.h <<_ACEOF -#define HAVE_LIBNSL 1 -_ACEOF - - LIBS="-lnsl $LIBS" - -fi - # Checks for header files. # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works debian/patches/series0000664000000000000000000000003011674335470012037 0ustar remove-unnecessary-libs debian/libxqilla-dev.install0000664000000000000000000000004511602102032013277 0ustar usr/lib/*/libxqilla.so usr/include/*