debian/0000775000000000000000000000000012260721271007170 5ustar debian/rules0000775000000000000000000000604012260721214010245 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 # These are used for cross-compiling and for saving the configure script # from having to guess our platform (since we know it already) DEB_HOST_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE) DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE) ifneq ($(DEB_HOST_GNU_TYPE),$(DEB_BUILD_GNU_TYPE)) CROSS= --build $(DEB_BUILD_GNU_TYPE) --host $(DEB_HOST_GNU_TYPE) else CROSS= --build $(DEB_BUILD_GNU_TYPE) endif DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH) DEB_HOST_ARCH_BITS ?= $(shell dpkg-architecture -qDEB_HOST_ARCH_BITS) ifeq ($(DEB_HOST_ARCH_BITS),64) ENABLE_64BIT = --enable-64bit endif configure: configure-stamp configure-stamp: dh_testdir dh_autoreconf # Configure with ANTLR remote debugger enabled mkdir build-dbg ( cd build-dbg; \ ../configure $(CROSS) --prefix=/usr --libdir=\$${prefix}/lib/$(DEB_HOST_MULTIARCH) \ --enable-debuginfo --disable-abiflags --enable-antlrdebug $(ENABLE_64BIT); \ ln -s ../include ) # Configure with ANTLR remote debugger disabled mkdir build-nodbg ( cd build-nodbg; \ ../configure $(CROSS) --prefix=/usr --libdir=\$${prefix}/lib/$(DEB_HOST_MULTIARCH) \ --enable-debuginfo --disable-abiflags --disable-antlrdebug $(ENABLE_64BIT); \ ln -s ../include ) touch configure-stamp build: build-stamp build-stamp: configure-stamp dh_testdir # Add here commands to compile the package. ( cd build-dbg; $(MAKE) ) ( cd build-nodbg; $(MAKE) ) touch $@ clean: dh_testdir dh_testroot rm -f configure-stamp build-stamp # Add here commands to clean up after the build process. rm -rf build-dbg debian/tmp-dbg rm -rf build-nodbg dh_autoreconf_clean dh_clean install: build dh_testdir dh_testroot dh_prep dh_installdirs # Add here commands to install the package into debian/tmp ( cd build-dbg; $(MAKE) DESTDIR=$(CURDIR)/debian/tmp-dbg install ) ( cd build-nodbg; $(MAKE) DESTDIR=$(CURDIR)/debian/tmp install ) cp debian/tmp-dbg/usr/lib/$(DEB_HOST_MULTIARCH)/libantlr3c.a \ debian/tmp/usr/lib/$(DEB_HOST_MULTIARCH)/libantlr3c_antlrdbg.a # Build architecture-independent files here. binary-indep: install # Nothing to do here. # Build architecture-dependent files here. binary-arch: install dh_testdir dh_testroot dh_installchangelogs ChangeLog dh_lintian dh_installdocs dh_install --sourcedir=debian/tmp -Nlibantlr3c-antlrdbg-3.2-0 dh_install --sourcedir=debian/tmp-dbg -plibantlr3c-antlrdbg-3.2-0 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/libantlr3c-antlrdbg-3.2-0.lintian-overrides0000664000000000000000000000011711410663064017035 0ustar libantlr3c-antlrdbg-3.2-0: package-name-doesnt-match-sonames libantlr3c-3.2-0 debian/libantlr3c-antlrdbg-3.2-0.shlibs0000664000000000000000000000007611410662653014672 0ustar libantlr3c-3.2 0 libantlr3c-3.2-0 | libantlr3c-antlrdbg-3.2-0 debian/libantlr3c-antlrdbg-3.2-0.install0000664000000000000000000000002411575363400015045 0ustar usr/lib/*/lib*.so.* debian/changelog0000664000000000000000000000432312260721251011042 0ustar libantlr3c (3.2-2ubuntu1) 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 Wed, 01 Jan 2014 00:07:27 -0500 libantlr3c (3.2-2build1) precise; urgency=low * No-change rebuild against current pkgbinarymangler to fix broken md5sums. (see LP #875466) -- Martin Pitt Wed, 29 Feb 2012 08:40:05 +0100 libantlr3c (3.2-2) unstable; urgency=low * Multiarch conversion. * debian/control: + Bump Standards-Version to 3.9.2 (no changes). + Bump debhelper build-dep to >= 8.1.3 for multiarch. + Add Pre-Depends: ${misc:Pre-Depends} to libantlr3c{,-antlrdbg}-3.2-0. + Tag libantlr3c{,-antlrdbg}-3.2-0 with Multi-Arch: same. * debian/rules: + Set multiarch path for both builds. + Adapt paths where needed. + Change dh_install invocation. * debian/*.install: + Adapt for multiarch. * debian/copyright: + Remove reference to /usr/share/common-licenses/BSD; the full text of the license is included in the copyright file already. -- Julien BLACHE Mon, 13 Jun 2011 12:32:29 +0200 libantlr3c (3.2-1) unstable; urgency=low * New upstream release, with revised packaging. * Move to source format 3.0 (quilt). * debian/control: + Bump Standards-Version to 3.8.4 (no changes). + Add ${misc:Depends}. + Add Build-dep on dpkg-dev (>= 1.15.4) for DEB_HOST_ARCH_BITS support in dpkg-architecture. + Adapt package names for the new packaging (using version in soname). * debian/rules: + Use DEB_HOST_ARCH_BITS from dpkg-architecture instead of debian/check64.c to check for a 64bit arch. * debian/patches/debian_soname.patch: + Added; define a proper soname for Debian. * debian/patches/fix_configure_warning.patch: + Added; fix misuse of AC_INCLUDES_DEFAULT leading to a warning during execution of the configure script. -- Julien BLACHE Thu, 24 Jun 2010 18:20:03 +0200 libantlr3c (3.1.3-1) unstable; urgency=low * Initial release (closes: #494263). -- Julien BLACHE Sat, 30 May 2009 17:34:32 +0200 debian/libantlr3c-3.2-0.shlibs0000664000000000000000000000007611410662750013075 0ustar libantlr3c-3.2 0 libantlr3c-3.2-0 | libantlr3c-antlrdbg-3.2-0 debian/libantlr3c-dev.README.Debian0000664000000000000000000000062311410663001014032 0ustar libantlr3c for Debian --------------------- This package contains the development files needed to build parsers generated by ANTLR v3 in the C language. The static libraries come in two flavours, libantlr3c_antlrdbg.a and libantlr3c.a; the former has the ANTLR debugger enabled, the latter has it disabled (and is the default). -- Julien BLACHE Sat, 30 May 2009 17:45:04 +0200 debian/compat0000664000000000000000000000000211410657276010377 0ustar 7 debian/copyright0000664000000000000000000000565611575357557011163 0ustar This package was debianized by Julien BLACHE on Sat, 30 May 2009 13:16:04 +0200. It was downloaded from Upstream Author: Jim Idle Copyright: Copyright (C) 2005-2009 Jim Idle, Temporal Wave LLC License: Copyright (c) 2005-2009 Jim Idle, Temporal Wave LLC http://www.temporal-wave.com http://www.linkedin.com/in/jimidle All rights reserved. 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. The name of the author may not 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. The files include/antlr3convertutf.h and src/antlr3convertutf.c are Copyright (C) 2001-2004 Unicode, Inc. and distributed under the following license: Disclaimer This source code is provided as is by Unicode, Inc. No claims are made as to fitness for any particular purpose. No warranties of any kind are expressed or implied. The recipient agrees to determine applicability of information provided. If this file has been purchased on magnetic or optical media from Unicode, Inc., the sole remedy for any claim will be exchange of defective media within 90 days of receipt. Limitations on Rights to Redistribute This Code Unicode, Inc. hereby grants the right to freely use the information supplied in this file in the creation of products supporting the Unicode Standard, and to make copies of this file in any form for internal or external distribution as long as this notice remains attached. The Debian packaging is: Copyright (C) 2009-2010 Julien BLACHE and is licensed under the GPL version 3, see `/usr/share/common-licenses/GPL-3'. debian/source/0000775000000000000000000000000011410664124010467 5ustar debian/source/format0000664000000000000000000000001411410664124011675 0ustar 3.0 (quilt) debian/libantlr3c-dev.docs0000664000000000000000000000000711410657276012661 0ustar README debian/control0000664000000000000000000000407712260721266010607 0ustar Source: libantlr3c Section: libs Priority: optional Maintainer: Ubuntu Developers XSBC-Original-Maintainer: Julien BLACHE Standards-Version: 3.9.2 Build-Depends: debhelper (>= 8.1.3), dpkg-dev (>= 1.15.4), dh-autoreconf Homepage: http://www.antlr.org/wiki/display/ANTLR3/ANTLR3+Code+Generation+-+C Package: libantlr3c-dev Section: libdevel Architecture: any Depends: libantlr3c-3.2-0 (= ${binary:Version}) | libantlr3c-antlrdbg-3.2-0 (= ${binary:Version}), ${misc:Depends} Description: ANTLR v3 parser generator C runtime [development files] ANTLR, ANother Tool for Language Recognition, is a language tool that provides a framework for constructing recognizers, compilers, and translators from grammatical descriptions. . This package contains the development files needed to build your applications using parsers generated by ANTLR in the C language. Package: libantlr3c-3.2-0 Section: libs Architecture: any Multi-Arch: same Pre-Depends: ${misc:Pre-Depends} Depends: ${shlibs:Depends}, ${misc:Depends} Description: ANTLR v3 parser generator C runtime ANTLR, ANother Tool for Language Recognition, is a language tool that provides a framework for constructing recognizers, compilers, and translators from grammatical descriptions. . This package contains the C runtime needed for parsers generated by ANTLR v3 in the C language, with the ANTLR debugger disabled. Install libantlr3c0-antlrdbg if you want to use the ANTLR debugger. Package: libantlr3c-antlrdbg-3.2-0 Section: libs Architecture: any Multi-Arch: same Pre-Depends: ${misc:Pre-Depends} Depends: ${shlibs:Depends}, ${misc:Depends} Conflicts: libantlr3c-3.2-0 Provides: libantlr3c-3.2-0 Description: ANTLR v3 parser generator C runtime with ANTLR debugger ANTLR, ANother Tool for Language Recognition, is a language tool that provides a framework for constructing recognizers, compilers, and translators from grammatical descriptions. . This package contains the C runtime needed for parsers generated by ANTLR v3 in the C language, with the ANTLR debugger enabled. debian/libantlr3c-dev.install0000664000000000000000000000006111575363433013400 0ustar usr/include/* usr/lib/*/lib*.a usr/lib/*/lib*.so debian/patches/0000775000000000000000000000000011410665566010631 5ustar debian/patches/debian_soname.patch0000664000000000000000000000221111410665332014421 0ustar Description: set a proper soname Upstream doesn't version the ANTLR 3 C runtime (uses -avoid-version!). Use -release X.Y -version-info 0:0:0 for the Debian packages. Author: Julien BLACHE Index: libantlr3c-3.2/Makefile.am =================================================================== --- libantlr3c-3.2.orig/Makefile.am 2010-06-24 16:16:00.000000000 +0200 +++ libantlr3c-3.2/Makefile.am 2010-06-24 16:16:13.000000000 +0200 @@ -65,7 +65,7 @@ include/antlr3treeparser.h \ antlr3config.h -libantlr3c_la_LDFLAGS = -avoid-version +libantlr3c_la_LDFLAGS = -release 3.2 -version-info 0:0:0 INCLUDES = -Iinclude Index: libantlr3c-3.2/Makefile.in =================================================================== --- libantlr3c-3.2.orig/Makefile.in 2010-06-24 16:15:22.000000000 +0200 +++ libantlr3c-3.2/Makefile.in 2010-06-24 16:15:58.000000000 +0200 @@ -272,7 +272,7 @@ include/antlr3treeparser.h \ antlr3config.h -libantlr3c_la_LDFLAGS = -avoid-version +libantlr3c_la_LDFLAGS = -release 3.2 -version-info 0:0:0 INCLUDES = -Iinclude EXTRA_DIST = \ vsrulefiles/antlr3lexerandparser.rules \ debian/patches/series0000664000000000000000000000006011410665020012023 0ustar debian_soname.patch fix_configure_warning.patch debian/patches/fix_configure_warning.patch0000664000000000000000000000173411410665566016233 0ustar Description: fix a warning in configure script Kill AC_INCLUDES_DEFAULT() which is misused here and causes a warning during execution of the configure script. Author: Julien BLACHE Index: libantlr3c-3.2/configure =================================================================== --- libantlr3c-3.2.orig/configure 2010-06-24 16:22:24.000000000 +0200 +++ libantlr3c-3.2/configure 2010-06-24 16:22:30.000000000 +0200 @@ -19704,7 +19704,7 @@ # Checks for libraries. # Checks for header files. -$ac_includes_default + Index: libantlr3c-3.2/configure.ac =================================================================== --- libantlr3c-3.2.orig/configure.ac 2010-06-24 16:22:13.000000000 +0200 +++ libantlr3c-3.2/configure.ac 2010-06-24 16:22:20.000000000 +0200 @@ -148,7 +148,6 @@ # Checks for libraries. # Checks for header files. -AC_INCLUDES_DEFAULT() AC_HEADER_RESOLV AC_CHECK_HEADERS([sys/malloc.h malloc.h], [], [], [[#ifdef HAVE_SYS_MALLOC_H debian/libantlr3c-3.2-0.install0000664000000000000000000000002411575363364013263 0ustar usr/lib/*/lib*.so.*