debian/0000755000000000000000000000000012223120537007163 5ustar debian/rules0000755000000000000000000000227412222611342010246 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 %: dh $@ --with=autoreconf override_dh_installchangelogs: dh_installchangelogs NEWS override_dh_autoreconf: dh_autoreconf ./autogen.sh # get-orig-source to drop waf (see: http://bugs.debian.org/654464) upstream_version ?= $(shell dpkg-parsechangelog | sed -rne 's/^Version: ([0-9.]+)([.+]dfsg)?.*$$/\1/p') dfsg_version = $(upstream_version)+dfsg pkg = $(shell dpkg-parsechangelog | sed -ne 's/^Source: //p') get-orig-source: uscan --noconf --force-download --rename --repack --download-current-version --destdir=. tar -xzf $(pkg)_$(upstream_version).orig.tar.gz mv $(pkg)-$(upstream_version) $(pkg)-$(dfsg_version) rm $(pkg)-$(dfsg_version)/waf GZIP="-9fn --rsyncable" tar -czf $(pkg)_$(dfsg_version).orig.tar.gz $(pkg)-$(dfsg_version) rm -rf $(pkg)-$(dfsg_version) debian/libctpl-dev.install0000644000000000000000000000006612222611342012760 0ustar usr/include/* usr/lib/*/lib*.so usr/lib/*/pkgconfig/* debian/copyright0000644000000000000000000000121512222611342011113 0ustar Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Name: CTPL Upstream-Contact: Colomban Wendling Source: http://download.tuxfamily.org/ctpl/releases/ Files: * Copyright: 2009-2011 Colomban Wendling License: GPL-3+ Files: debian/* Copyright: 2010-2011 Jonathan Michalon , 2010-2011 Chow Loong Jin 2011 Evgeni Golov License: GPL-3+ License: GPL-3+ On Debian systems, the complete text of the GNU General Public License version 3 can be found in "/usr/share/common-licenses/GPL-3". debian/ctpl.install0000644000000000000000000000003212222611342011506 0ustar usr/bin/* usr/share/man/* debian/watch0000644000000000000000000000023512222611342010212 0ustar # Compulsory line, this is a version 3 file version=3 opts=dversionmangle=s/\+dfsg\.\d+$// \ http://download.tuxfamily.org/ctpl/releases/ctpl-(.*)\.tar\.gz debian/libctpl-doc.docs0000644000000000000000000000001412222611342012222 0ustar README TODO debian/patches/0000755000000000000000000000000012222727427010624 5ustar debian/patches/series0000644000000000000000000000023312222727427012037 0ustar Fix-testsuite-build-system.patch Fix-some-automake-warnings.patch Move-to-the-parallel-tests-test-harness.patch do-not-warn-about-portability-issues.patch debian/patches/Fix-some-automake-warnings.patch0000644000000000000000000000213312222727427016765 0ustar From: Chow Loong Jin Date: Sun, 23 Jun 2013 04:33:17 +0800 Subject: Fix some automake warnings EXTRA_DIST accepts directories, so just list the testsuite/{success,fail} directories directly. Also add some extra AM_PROG_ checks in configure.ac --- configure.ac | 2 ++ testsuite/Makefile.am | 4 ++-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/configure.ac b/configure.ac index 286babf..5b70def 100644 --- a/configure.ac +++ b/configure.ac @@ -33,9 +33,11 @@ CTPL_LTVERSION="4:1:2" AC_SUBST([CTPL_LTVERSION]) # Checks for programs. +m4_ifdef([AM_PROG_AR], [AM_PROG_AR]) LT_PREREQ([2.2.0]) LT_INIT AC_PROG_CC +AM_PROG_CC_C_O AC_PROG_CC_C99 # check for gtk-doc diff --git a/testsuite/Makefile.am b/testsuite/Makefile.am index 947711d..01d3077 100644 --- a/testsuite/Makefile.am +++ b/testsuite/Makefile.am @@ -7,8 +7,8 @@ EXTRA_SCRIPTS = tests.sh endif -EXTRA_DIST = $(wildcard success/*) \ - $(wildcard fail/*) \ +EXTRA_DIST = success \ + fail \ environ AM_CFLAGS = @GLIB_CFLAGS@ @GIO_CFLAGS@ debian/patches/Move-to-the-parallel-tests-test-harness.patch0000644000000000000000000000241412222727427021322 0ustar From: Chow Loong Jin Date: Sun, 23 Jun 2013 04:36:34 +0800 Subject: Move to the parallel-tests test harness automake 1.12 uses this harness by default, and fails when TESTS_ENVIRONMENT is overridden the way we do it. Since automake1.11.1 supports it via this option, just add it and drop TESTS_ENVIRONMENT, since automake takes care of redirecting the test output now. --- configure.ac | 2 +- testsuite/Makefile.am | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/configure.ac b/configure.ac index 5b70def..eeecce1 100644 --- a/configure.ac +++ b/configure.ac @@ -10,7 +10,7 @@ AC_INIT([CTPL], AC_CONFIG_SRCDIR([src/ctpl.h]) AC_CONFIG_AUX_DIR([build/aux]) AC_CONFIG_MACRO_DIR([build/m4]) -AM_INIT_AUTOMAKE([1.11.1 -Wall -Werror foreign]) +AM_INIT_AUTOMAKE([1.11.1 -Wall -Werror foreign parallel-tests]) AC_CONFIG_HEADERS([config.h]) m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES([yes])]) diff --git a/testsuite/Makefile.am b/testsuite/Makefile.am index 01d3077..d936627 100644 --- a/testsuite/Makefile.am +++ b/testsuite/Makefile.am @@ -23,5 +23,4 @@ float_test_SOURCES = float-test.c read_number_test_SOURCES = read-number-test.c -TESTS_ENVIRONMENT = $(SHELL) >/dev/null TESTS = $(check_PROGRAMS) $(dist_check_SCRIPTS) debian/patches/do-not-warn-about-portability-issues.patch0000644000000000000000000000205312222727427020773 0ustar From: Evgeni Golov Date: Wed, 2 Oct 2013 07:23:31 +0200 Subject: do not warn about portability issues -Wportability was disabled when using silent rules in automake =<1.12. This is no longer the case with automake >= 1.13 and results in a failed build (because of gtk-doc.make). Reverts to automake <= 1.12 behaviour for now, should be droped as soon gtk-doc.make is fixed. More-Info: https://www.flameeyes.eu/autotools-mythbuster/automake/silent.html Bug-Debian: http://bugs.debian.org/724154 --- configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index eeecce1..70fc80b 100644 --- a/configure.ac +++ b/configure.ac @@ -10,7 +10,7 @@ AC_INIT([CTPL], AC_CONFIG_SRCDIR([src/ctpl.h]) AC_CONFIG_AUX_DIR([build/aux]) AC_CONFIG_MACRO_DIR([build/m4]) -AM_INIT_AUTOMAKE([1.11.1 -Wall -Werror foreign parallel-tests]) +AM_INIT_AUTOMAKE([1.11.1 -Wall -Werror -Wno-portability foreign parallel-tests]) AC_CONFIG_HEADERS([config.h]) m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES([yes])]) debian/patches/Fix-testsuite-build-system.patch0000644000000000000000000000212412222727427017040 0ustar From: Colomban Wendling Date: Thu, 11 Aug 2011 05:21:28 +0200 Subject: Fix testsuite build system Origin: commit:864a7e20972c56f1b189fc6d74ad43aa66757205 --- testsuite/Makefile.am | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/testsuite/Makefile.am b/testsuite/Makefile.am index bf26e2f..947711d 100644 --- a/testsuite/Makefile.am +++ b/testsuite/Makefile.am @@ -11,12 +11,13 @@ EXTRA_DIST = $(wildcard success/*) \ $(wildcard fail/*) \ environ -CFLAGS = @GLIB_CFLAGS@ @GIO_CFLAGS@ -LIBADD = ../src/libctpl.la @GLIB_LIBS@ @GIO_LIBS@ -LDADD = ../src/libctpl.la $(check_LTLIBRARIES) @GLIB_LIBS@ @GIO_LIBS@ +AM_CFLAGS = @GLIB_CFLAGS@ @GIO_CFLAGS@ +LDADD = ../src/libctpl.la $(check_LTLIBRARIES) @GLIB_LIBS@ @GIO_LIBS@ libctpl_test_la_SOURCES = ctpl-test-lib.c \ ctpl-test-lib.h +libctpl_test_la_LIBADD = ../src/libctpl.la @GLIB_LIBS@ @GIO_LIBS@ + parsing_tests_SOURCES = parsing-tests.c float_test_SOURCES = float-test.c read_number_test_SOURCES = read-number-test.c debian/gbp.conf0000644000000000000000000000006512222611342010601 0ustar [DEFAULT] debian-branch = master pristine-tar = True debian/changelog0000644000000000000000000000672112223120275011042 0ustar ctpl (0.3.3.dfsg-4) unstable; urgency=low * [b339a9e] do not warn about portability issues (Closes: #724154) * [9660675] use canonical URLs for Vcs-* fields, thanks lintian -- Evgeni Golov Thu, 03 Oct 2013 00:39:55 +0200 ctpl (0.3.3.dfsg-3) unstable; urgency=low * [aea1182] Reexport patches through gbp-pq * [7dade1b] Add patches to fix FTBFS from automake changes (Closes: #713308) * [fb241fb] Bump Standards-Version to 3.9.4 -- Chow Loong Jin Sun, 23 Jun 2013 05:27:23 +0800 ctpl (0.3.3.dfsg-2) unstable; urgency=low [ Jonathan Michalon ] * [81fb579] Bump debian/compat to 9, depend on a debhelper that supports it * [6caf381] Add multiarch support [ Chow Loong Jin ] * [8a3545f] Use +dfsg instead of .dfsg. This fixes the lintian dfsg-version-with-period tag. * [c2f794f] Bump Standards-Version to 3.9.3 - Update debian/copyright Format URL -- Chow Loong Jin Fri, 04 May 2012 00:33:49 +0800 ctpl (0.3.3.dfsg-1) unstable; urgency=low * [de86980] Update my email address * [3ff5691] Implement repacking of tarball to remove waf * [c116c34] Imported Upstream version 0.3.3.dfsg (Closes: #654464) -- Chow Loong Jin Fri, 06 Jan 2012 03:47:23 +0800 ctpl (0.3.3-1) unstable; urgency=low * [1bd2b7a] New upstream release * [1adeb21] Drop all upstreamed patches * [bb3de94] Patch autofoo to fix linker errors of testsuite * [3c3b6a0] Add autoreconf -- Chow Loong Jin Thu, 11 Aug 2011 11:35:44 +0800 ctpl (0.3.2-2) unstable; urgency=low * [817e9c7] No change Standards-Version bump (3.9.1 → 3.9.2) * [2c3bb97] Cherry-pick two crash fixes from upstream -- Chow Loong Jin Thu, 11 Aug 2011 08:28:05 +0800 ctpl (0.3.2-1) unstable; urgency=low [ Jonathan Michalon ] * New upstream release * Add libctpl-doc suggestion in libctpl-dev * Improvments pointed by Chow Loong Jin (thanks!): + Reset debian/libctpl2.symbols' minimum versions of symbols appeared before last SONAME bump to 0.3 + Drop all static libraries (*.a) from package + Fix minimal build-dep version of libglib2.0-dev, from 2.16 to 2.24 because ctpl CLI tool needs gio-2.0 >= 2.24 + Drop libctpl2 dependency of ctpl tool to let dh_shlibdeps find it [ Evgeni Golov ] * Add Chow Loong Jin and myself to Uploaders. * Install upstream's "NEWS" file as changelog in /u/s/doc/. * Set Vcs-* fields for pkg-geany git. * Set pkg-geany as maintainer. * Slightly impove package descriptions. * Install README and TODO in libctpl-doc, don't install NEWS a second time. * Update debian/copyright to DEP5. -- Evgeni Golov Thu, 17 Mar 2011 14:40:59 +0100 ctpl (0.3.1-1) unstable; urgency=low * New upstream release -- Jonathan Michalon Mon, 15 Nov 2010 18:43:42 +0100 ctpl (0.3-1) unstable; urgency=low * New upstream release + This is an ABI / API break, bump soname to libctpl2: - Renamed libctpl1.install to libctpl2.install, modified symbols (created libctpl2.symbols from libctpl1.symbols) - debian/control: Change package names accordingly. + debian/control: bump Standards-Versions to 3.9.1 (no changes needed) -- Jonathan Michalon Sun, 17 Oct 2010 17:19:00 +0200 ctpl (0.2.2-1) unstable; urgency=low * Initial release (Closes: #579509) -- Jonathan Michalon Wed, 26 May 2010 09:28:16 +0000 debian/control0000644000000000000000000000522312223120216010562 0ustar Source: ctpl Priority: optional Maintainer: Geany Packaging Team Uploaders: Jonathan Michalon , Evgeni Golov , Chow Loong Jin Build-Depends: debhelper (>= 9), dh-autoreconf, autotools-dev, libtool (>= 2.2), libglib2.0-dev (>= 2.24), libglib2.0-doc (>= 2.24), gtk-doc-tools (>= 1.9), pkg-config (>= 0.9) Standards-Version: 3.9.4 Section: libs Homepage: http://ctpl.tuxfamily.org/ Vcs-Git: git://anonscm.debian.org/pkg-geany/packages/ctpl.git Vcs-Browser: http://anonscm.debian.org/gitweb/?p=pkg-geany/packages/ctpl.git;a=summary Package: libctpl-dev Section: libdevel Architecture: any Multi-Arch: same Depends: ${misc:Depends}, libglib2.0-dev, libctpl2 (= ${binary:Version}) Suggests: libctpl-doc Description: template engine written in C, development files CTPL is a C template engine library allowing fast and easy computation of templates with precise control over the parsing environment. . CTPL supports a wide range of input types through GIO like in-memory, files, FTP, HTTP and more. . This package contains the header files which are needed for developing CTPL applications. Package: libctpl2 Architecture: any Multi-Arch: same Pre-Depends: ${shlibs:Pre-Depends}, ${misc:Pre-Depends} Depends: ${shlibs:Depends}, ${misc:Depends} Description: template engine written in C CTPL is a C template engine library allowing fast and easy computation of templates with precise control over the parsing environment. . CTPL supports a wide range of input types through GIO like in-memory, files, FTP, HTTP and more. Package: libctpl-doc Section: doc Architecture: all Depends: ${misc:Depends} Recommends: libglib2.0-doc (>= 2.16) Description: template engine written in C, documentation files CTPL is a C template engine library allowing fast and easy computation of templates with precise control over the parsing environment. . CTPL supports a wide range of input types through GIO like in-memory, files, FTP, HTTP and more. . This package contains the documentation for CTPL. Package: ctpl Section: utils Architecture: any Depends: ${shlibs:Depends}, ${misc:Depends}, libctpl2 (= ${binary:Version}) Description: command-line template parsing utility CTPL is a C template engine library allowing fast and easy computation of templates with precise control over the parsing environment. . CTPL supports a wide range of input types through GIO like in-memory, files, FTP, HTTP and more. . This package contains a standalone command-line utility to parse CTPL templates. debian/libctpl2.symbols0000644000000000000000000000743312222611342012315 0ustar libctpl.so.2 libctpl2 #MINVER# ctpl_check_version@Base 0.3 ctpl_environ_add_from_path@Base 0.3 ctpl_environ_add_from_stream@Base 0.3 ctpl_environ_add_from_string@Base 0.3 ctpl_environ_error_quark@Base 0.3 ctpl_environ_foreach@Base 0.3 ctpl_environ_lookup@Base 0.3 ctpl_environ_merge@Base 0.3 ctpl_environ_new@Base 0.3 ctpl_environ_pop@Base 0.3 ctpl_environ_push@Base 0.3 ctpl_environ_push_float@Base 0.3 ctpl_environ_push_int@Base 0.3 ctpl_environ_push_string@Base 0.3 ctpl_environ_ref@Base 0.3 ctpl_environ_unref@Base 0.3 ctpl_eval_bool@Base 0.3 ctpl_eval_error_quark@Base 0.3 ctpl_eval_value@Base 0.3 ctpl_input_stream_eof@Base 0.3 ctpl_input_stream_eof_fast@Base 0.3 ctpl_input_stream_get_c@Base 0.3 ctpl_input_stream_get_line@Base 0.3 ctpl_input_stream_get_line_position@Base 0.3 ctpl_input_stream_get_name@Base 0.3 ctpl_input_stream_get_stream@Base 0.3 ctpl_input_stream_new@Base 0.3 ctpl_input_stream_new_for_gfile@Base 0.3 ctpl_input_stream_new_for_memory@Base 0.3 ctpl_input_stream_new_for_path@Base 0.3 ctpl_input_stream_new_for_uri@Base 0.3 ctpl_input_stream_peek@Base 0.3 ctpl_input_stream_peek_c@Base 0.3 ctpl_input_stream_peek_symbol_full@Base 0.3 ctpl_input_stream_peek_word@Base 0.3 ctpl_input_stream_read@Base 0.3 ctpl_input_stream_read_float@Base 0.3 ctpl_input_stream_read_int@Base 0.3 ctpl_input_stream_read_number@Base 0.3 ctpl_input_stream_read_string_literal@Base 0.3 ctpl_input_stream_read_symbol_full@Base 0.3 ctpl_input_stream_read_word@Base 0.3 ctpl_input_stream_ref@Base 0.3 ctpl_input_stream_set_error@Base 0.3 ctpl_input_stream_skip@Base 0.3 ctpl_input_stream_skip_blank@Base 0.3 ctpl_input_stream_skip_word@Base 0.3 ctpl_input_stream_unref@Base 0.3 ctpl_io_error_quark@Base 0.3 ctpl_lexer_error_quark@Base 0.3 ctpl_lexer_expr_error_quark@Base 0.3 ctpl_lexer_expr_lex@Base 0.3 ctpl_lexer_expr_lex_full@Base 0.3 ctpl_lexer_expr_lex_string@Base 0.3 ctpl_lexer_lex@Base 0.3 ctpl_lexer_lex_path@Base 0.3 ctpl_lexer_lex_string@Base 0.3 ctpl_major_version@Base 0.3 ctpl_micro_version@Base 0.3 ctpl_minor_version@Base 0.3 ctpl_output_stream_get_stream@Base 0.3 ctpl_output_stream_new@Base 0.3 ctpl_output_stream_put_c@Base 0.3 ctpl_output_stream_ref@Base 0.3 ctpl_output_stream_unref@Base 0.3 ctpl_output_stream_write@Base 0.3 ctpl_parser_error_quark@Base 0.3 ctpl_parser_parse@Base 0.3 ctpl_token_expr_free@Base 0.3 ctpl_token_free@Base 0.3 ctpl_value_array_append@Base 0.3 ctpl_value_array_append_float@Base 0.3 ctpl_value_array_append_int@Base 0.3 ctpl_value_array_append_string@Base 0.3 ctpl_value_array_index@Base 0.3 ctpl_value_array_length@Base 0.3 ctpl_value_array_prepend@Base 0.3 ctpl_value_array_prepend_float@Base 0.3 ctpl_value_array_prepend_int@Base 0.3 ctpl_value_array_prepend_string@Base 0.3 ctpl_value_convert@Base 0.3 ctpl_value_copy@Base 0.3 ctpl_value_dup@Base 0.3 ctpl_value_free@Base 0.3 ctpl_value_free_value@Base 0.3 ctpl_value_get_array@Base 0.3 ctpl_value_get_array_float@Base 0.3 ctpl_value_get_array_int@Base 0.3 ctpl_value_get_array_string@Base 0.3 ctpl_value_get_float@Base 0.3 ctpl_value_get_held_type@Base 0.3 ctpl_value_get_int@Base 0.3 ctpl_value_get_string@Base 0.3 ctpl_value_init@Base 0.3 ctpl_value_new@Base 0.3 ctpl_value_new_array@Base 0.3 ctpl_value_new_arrayv@Base 0.3 ctpl_value_new_float@Base 0.3 ctpl_value_new_int@Base 0.3 ctpl_value_new_string@Base 0.3 ctpl_value_set_array@Base 0.3 ctpl_value_set_array_float@Base 0.3 ctpl_value_set_array_floatv@Base 0.3 ctpl_value_set_array_int@Base 0.3 ctpl_value_set_array_intv@Base 0.3 ctpl_value_set_array_string@Base 0.3 ctpl_value_set_array_stringv@Base 0.3 ctpl_value_set_arrayv@Base 0.3 ctpl_value_set_float@Base 0.3 ctpl_value_set_int@Base 0.3 ctpl_value_set_string@Base 0.3 ctpl_value_to_string@Base 0.3 ctpl_value_type_get_name@Base 0.3 debian/libctpl-doc.links0000644000000000000000000000017212222611342012417 0ustar /usr/share/gtk-doc/html/ctpl /usr/share/doc/libctpl-doc/html /usr/share/gtk-doc/html/ctpl /usr/share/doc/libctpl-doc/ctpl debian/libctpl-doc.install0000644000000000000000000000003112222611342012737 0ustar /usr/share/gtk-doc/html debian/libctpl-doc.doc-base0000644000000000000000000000046612222611342012762 0ustar Document: ctpl Title: Ctpl Manual Author: Colomban "Ban" Wendling Abstract: This manual describes what ctpl is and how it can be used to parse CTPL templates. Section: Programming/C Format: HTML Index: /usr/share/gtk-doc/html/ctpl/index.html Files: /usr/share/gtk-doc/html/ctpl/*.html debian/source/0000755000000000000000000000000012222611342010461 5ustar debian/source/format0000644000000000000000000000001412222611342011667 0ustar 3.0 (quilt) debian/libctpl2.install0000644000000000000000000000002412222611342012260 0ustar usr/lib/*/lib*.so.* debian/compat0000644000000000000000000000000212222611342010357 0ustar 9