--- libmaa-1.1.1.orig/debian/libmaa-dev.docs +++ libmaa-1.1.1/debian/libmaa-dev.docs @@ -0,0 +1,3 @@ +NEWS +README +doc/libmaa.600dpi.ps --- libmaa-1.1.1.orig/debian/changelog +++ libmaa-1.1.1/debian/changelog @@ -0,0 +1,22 @@ +libmaa (1.1.1-1) unstable; urgency=low + + * New upstream release. + + -- Robert Luberda Sat, 07 Mar 2009 11:29:11 +0100 + +libmaa (1.1.0-2) unstable; urgency=low + + * Fixed debian/copyright. + * debian/watch: use the sf redirector (lintian). + * debian/control: fix the following lintian infos: + + `binary-control-field-duplicates-source field "section"'; + + `duplicate-long-description'. + + -- Robert Luberda Mon, 19 Jan 2009 22:42:18 +0100 + +libmaa (1.1.0-1) unstable; urgency=low + + * Initial release (closes: #510035). + * 01-Makefile.patch: distclean shouldn't remove config.h.in. + + -- Robert Luberda Mon, 29 Dec 2008 23:04:01 +0100 --- libmaa-1.1.1.orig/debian/libmaa-dev.install +++ libmaa-1.1.1/debian/libmaa-dev.install @@ -0,0 +1,3 @@ +usr/include/* +usr/lib/lib*.a +usr/lib/lib*.so --- libmaa-1.1.1.orig/debian/libmaa1.install +++ libmaa-1.1.1/debian/libmaa1.install @@ -0,0 +1 @@ +usr/lib/lib*.so.* --- libmaa-1.1.1.orig/debian/libmaa-dev.dirs +++ libmaa-1.1.1/debian/libmaa-dev.dirs @@ -0,0 +1,2 @@ +usr/lib +usr/include --- libmaa-1.1.1.orig/debian/control +++ libmaa-1.1.1/debian/control @@ -0,0 +1,37 @@ +Source: libmaa +Priority: optional +Maintainer: Robert Luberda +Build-Depends: quilt, debhelper (>= 7), autotools-dev, libtool +Standards-Version: 3.8.0 +Section: libs +Homepage: http://sourceforge.net/projects/dict/ + +Package: libmaa-dev +Section: libdevel +Architecture: any +Depends: libmaa1 (= ${binary:Version}) +Description: The Maa programming library, development files + The libmaa library provides many low-level data structures which are + helpful for writing compilers, including hash tables, sets, lists, + debugging support, and memory management. Although libmaa was designed + and implemented as a foundation for the kheperalong, the data structures + are generally applicable to a wide range of programming problems. + . + The memory management routines are especially helpful for improving the + performance of memory-intensive applications. + . + This package contains the static library and headers used to build programs + that use the library. + +Package: libmaa1 +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: The maa programming library + The libmaa library provides many low-level data structures which are + helpful for writing compilers, including hash tables, sets, lists, + debugging support, and memory management. Although libmaa was designed + and implemented as a foundation for the kheperalong, the data structures + are generally applicable to a wide range of programming problems. + . + The memory management routines are especially helpful for improving the + performance of memory-intensive applications. --- libmaa-1.1.1.orig/debian/libmaa1.symbols +++ libmaa-1.1.1/debian/libmaa1.symbols @@ -0,0 +1,227 @@ +libmaa.so.1 libmaa1 #MINVER# + _dbg_register@Base 1.1.0 + _err_programName@Base 1.1.0 + _lst_shutdown@Base 1.1.0 + _pr_shutdown@Base 1.1.0 + _prs_shutdown@Base 1.1.0 + _sl_dump@Base 1.1.0 + _sl_shutdown@Base 1.1.0 + _tim_shutdown@Base 1.1.0 + arg_add@Base 1.1.0 + arg_addn@Base 1.1.0 + arg_argify@Base 1.1.0 + arg_count@Base 1.1.0 + arg_create@Base 1.1.0 + arg_destroy@Base 1.1.0 + arg_finish@Base 1.1.0 + arg_get@Base 1.1.0 + arg_get_vector@Base 1.1.0 + arg_grow@Base 1.1.0 + b26_decode@Base 1.1.0 + b26_encode@Base 1.1.0 + b64_decode@Base 1.1.0 + b64_decode_buf@Base 1.1.0 + b64_encode@Base 1.1.0 + bit_clr@Base 1.1.0 + bit_cnt@Base 1.1.0 + bit_set@Base 1.1.0 + bit_tst@Base 1.1.0 + dbg_destroy@Base 1.1.0 + dbg_list@Base 1.1.0 + dbg_register@Base 1.1.0 + dbg_set@Base 1.1.0 + dbg_set_flag@Base 1.1.0 + dbg_test@Base 1.1.0 + dbg_unset_flag@Base 1.1.0 + err_fatal@Base 1.1.0 + err_fatal_errno@Base 1.1.0 + err_internal@Base 1.1.0 + err_program_name@Base 1.1.0 + err_set_program_name@Base 1.1.0 + err_warning@Base 1.1.0 + facilitynames@Base 1.1.0 + flg_destroy@Base 1.1.0 + flg_list@Base 1.1.0 + flg_name@Base 1.1.0 + flg_register@Base 1.1.0 + flg_set@Base 1.1.0 + flg_test@Base 1.1.0 + hsh_create@Base 1.1.0 + hsh_delete@Base 1.1.0 + hsh_destroy@Base 1.1.0 + hsh_get_position@Base 1.1.0 + hsh_get_stats@Base 1.1.0 + hsh_init_position@Base 1.1.0 + hsh_insert@Base 1.1.0 + hsh_iterate@Base 1.1.0 + hsh_iterate_arg@Base 1.1.0 + hsh_key_strings@Base 1.1.0 + hsh_next_position@Base 1.1.0 + hsh_pointer_compare@Base 1.1.0 + hsh_pointer_hash@Base 1.1.0 + hsh_print_stats@Base 1.1.0 + hsh_readonly@Base 1.1.0 + hsh_retrieve@Base 1.1.0 + hsh_string_compare@Base 1.1.0 + hsh_string_hash@Base 1.1.0 + log_close@Base 1.1.0 + log_error@Base 1.1.0 + log_error_va@Base 1.1.0 + log_file@Base 1.1.0 + log_get_facility@Base 1.1.0 + log_info@Base 1.1.0 + log_info_va@Base 1.1.0 + log_option@Base 1.1.0 + log_set_facility@Base 1.1.0 + log_stream@Base 1.1.0 + log_syslog@Base 1.1.0 + lst_append@Base 1.1.0 + lst_create@Base 1.1.0 + lst_destroy@Base 1.1.0 + lst_dump@Base 1.1.0 + lst_get_position@Base 1.1.0 + lst_init_position@Base 1.1.0 + lst_iterate@Base 1.1.0 + lst_iterate_arg@Base 1.1.0 + lst_last_position@Base 1.1.0 + lst_length@Base 1.1.0 + lst_member@Base 1.1.0 + lst_next_position@Base 1.1.0 + lst_nth_get@Base 1.1.0 + lst_nth_position@Base 1.1.0 + lst_nth_set@Base 1.1.0 + lst_pop@Base 1.1.0 + lst_push@Base 1.1.0 + lst_set_position@Base 1.1.0 + lst_top@Base 1.1.0 + lst_total_allocated@Base 1.1.0 + lst_truncate@Base 1.1.0 + lst_truncate_position@Base 1.1.0 + maa_init@Base 1.1.0 + maa_shutdown@Base 1.1.0 + maa_version@Base 1.1.0 + maa_version_major@Base 1.1.0 + maa_version_minor@Base 1.1.0 + maa_version_teeny@Base 1.1.0 + mem_create_objects@Base 1.1.0 + mem_create_strings@Base 1.1.0 + mem_destroy_objects@Base 1.1.0 + mem_destroy_strings@Base 1.1.0 + mem_finish@Base 1.1.0 + mem_free_object@Base 1.1.0 + mem_get_empty_object@Base 1.1.0 + mem_get_object@Base 1.1.0 + mem_get_object_stats@Base 1.1.0 + mem_get_string_stats@Base 1.1.0 + mem_grow@Base 1.1.0 + mem_print_object_stats@Base 1.1.0 + mem_print_string_stats@Base 1.1.0 + mem_strcpy@Base 1.1.0 + mem_strncpy@Base 1.1.0 + pr_close@Base 1.1.0 + pr_close_nowait@Base 1.1.0 + pr_filter@Base 1.1.0 + pr_open@Base 1.1.0 + pr_readwrite@Base 1.1.0 + pr_spawn@Base 1.1.0 + pr_wait@Base 1.1.0 + prioritynames@Base 1.1.0 + prm_is_prime@Base 1.1.0 + prm_next_prime@Base 1.1.0 + prs_concrete@Base 1.1.0 + prs_register_concrete@Base 1.1.0 + set_add@Base 1.1.0 + set_count@Base 1.1.0 + set_create@Base 1.1.0 + set_del@Base 1.1.0 + set_delete@Base 1.1.0 + set_destroy@Base 1.1.0 + set_diff@Base 1.1.0 + set_equal@Base 1.1.0 + set_get_compare@Base 1.1.0 + set_get_hash@Base 1.1.0 + set_get_position@Base 1.1.0 + set_get_stats@Base 1.1.0 + set_init_position@Base 1.1.0 + set_insert@Base 1.1.0 + set_inter@Base 1.1.0 + set_iterate@Base 1.1.0 + set_iterate_arg@Base 1.1.0 + set_member@Base 1.1.0 + set_next_position@Base 1.1.0 + set_print_stats@Base 1.1.0 + set_readonly@Base 1.1.0 + set_union@Base 1.1.0 + sl_create@Base 1.1.0 + sl_delete@Base 1.1.0 + sl_destroy@Base 1.1.0 + sl_find@Base 1.1.0 + sl_insert@Base 1.1.0 + sl_iterate@Base 1.1.0 + sl_iterate_arg@Base 1.1.0 + src_advance@Base 1.1.0 + src_cpp_line@Base 1.1.0 + src_create@Base 1.1.0 + src_destroy@Base 1.1.0 + src_filename@Base 1.1.0 + src_get@Base 1.1.0 + src_get_stats@Base 1.1.0 + src_length@Base 1.1.0 + src_line@Base 1.1.0 + src_linenumber@Base 1.1.0 + src_new_file@Base 1.1.0 + src_new_line@Base 1.1.0 + src_offset@Base 1.1.0 + src_parse_error@Base 1.1.0 + src_print_error@Base 1.1.0 + src_print_line@Base 1.1.0 + src_print_message@Base 1.1.0 + src_print_stats@Base 1.1.0 + src_source_line@Base 1.1.0 + stk_create@Base 1.1.0 + stk_destroy@Base 1.1.0 + stk_pop@Base 1.1.0 + stk_push@Base 1.1.0 + stk_top@Base 1.1.0 + str_copy@Base 1.1.0 + str_copyn@Base 1.1.0 + str_destroy@Base 1.1.0 + str_exists@Base 1.1.0 + str_find@Base 1.1.0 + str_findn@Base 1.1.0 + str_finish@Base 1.1.0 + str_get_stats@Base 1.1.0 + str_grow@Base 1.1.0 + str_pool_copy@Base 1.1.0 + str_pool_copyn@Base 1.1.0 + str_pool_create@Base 1.1.0 + str_pool_destroy@Base 1.1.0 + str_pool_exists@Base 1.1.0 + str_pool_find@Base 1.1.0 + str_pool_finish@Base 1.1.0 + str_pool_get_position@Base 1.1.0 + str_pool_get_stats@Base 1.1.0 + str_pool_grow@Base 1.1.0 + str_pool_init_position@Base 1.1.0 + str_pool_iterate@Base 1.1.0 + str_pool_iterate_arg@Base 1.1.0 + str_pool_next_position@Base 1.1.0 + str_pool_print_stats@Base 1.1.0 + str_print_stats@Base 1.1.0 + str_unique@Base 1.1.0 + strlcpy_libmaa@Base 1.1.0 + tim_get_real@Base 1.1.0 + tim_get_system@Base 1.1.0 + tim_get_user@Base 1.1.0 + tim_print_timer@Base 1.1.0 + tim_print_timers@Base 1.1.0 + tim_reset@Base 1.1.0 + tim_start@Base 1.1.0 + tim_stop@Base 1.1.0 + txt_soundex2@Base 1.1.0 + txt_soundex@Base 1.1.0 + xcalloc@Base 1.1.0 + xfree@Base 1.1.0 + xmalloc@Base 1.1.0 + xrealloc@Base 1.1.0 + xstrdup@Base 1.1.0 --- libmaa-1.1.1.orig/debian/rules +++ libmaa-1.1.1/debian/rules @@ -0,0 +1,153 @@ +#!/usr/bin/make -f +# +# $Id: rules 8 2008-12-28 22:41:10Z robert $ +# +# Uncomment this to turn on verbose mode. +#export DH_VERBOSE=1 + +# This has to be exported to make some magic below work. +export DH_OPTIONS + +# Package specific stuff. The idea is to try to make the rules +# generic (gradually). + +export DEB_HOST_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE) +export DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE) +ifeq ($(DEB_BUILD_GNU_TYPE), $(DEB_HOST_GNU_TYPE)) + confflags = --build $(DEB_HOST_GNU_TYPE) +else + confflags = --build $(DEB_BUILD_GNU_TYPE) --host $(DEB_HOST_GNU_TYPE) +endif + +CFLAGS=-D_REENTRANT +ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS))) + CFLAGS += -g -Wall -O0 +else + CFLAGS += -g -Wall -O2 +endif + +LDFLAGS = -Wl,-z,defs -Wl,--as-needed +DESTDIR = $(CURDIR)/debian/tmp + +build: autotools patch configure-stamp build-stamp + +configure: autotools patch configure-stamp + + +include /usr/share/quilt/quilt.make + + +autotools: autotools-clean + tar cvzf configs.tgz config.sub config.guess + rm -f config.sub config.guess + ln -s /usr/share/misc/config.sub config.sub + ln -s /usr/share/misc/config.guess config.guess + +autotools-clean: + if [ -f configs.tgz ] ; then \ + set -e ; \ + rm -f config.sub config.guess ; \ + tar xvzf configs.tgz ; \ + rm -f configs.tgz ; \ + fi + + + +configure-stamp: + dh_testdir + + LDFLAGS="$(LDFLAGS)" \ + ./configure --verbose \ + --prefix=/usr \ + $(confflags) + touch "$@" + +build-stamp: + dh_testdir + + $(MAKE) + + rm -f *.a *.o + $(MAKE) + + +# $(MAKE) CFLAGS+='-fPIC -D_REENTRANT' samples + + touch "$@" + +clean: clean-srcs unpatch autotools-clean + +clean-srcs: + dh_testdir + dh_testroot + rm -f configure-stamp build-stamp + + # Add here commands to clean up after the build process. + [ ! -f Makefile ] || $(MAKE) distclean + + rm -f core `find . \( -name '*.orig' -o -name '*.rej' -o -name '*~' \ + -o -name '*.bak' -o -name '#*#' -o -name '.*.orig' -o -name 'config.log' \ + -o -name '.*.rej' -o -name '.SUMS' -o -size 0 \) -print` TAGS + + dh_clean + +install: build + dh_testdir + dh_testroot + dh_prep + dh_installdirs + + # Add here commands to install the package into debian/tmp + $(MAKE) prefix=$(CURDIR)/debian/tmp/usr install + + +# Build architecture-dependent files here. +binary-common: install + dh_testdir + dh_testroot + dh_installchangelogs ChangeLog + dh_installdocs +# dh_installexamples + dh_install +# dh_installmenu +# dh_installdebconf +# dh_installlogrotate +# dh_installemacsen +# dh_installcatalogs +# dh_installpam +# dh_installmime +# dh_installinit +# dh_installman +# dh_installcron +# dh_installinfo +# dh_installwm +# dh_installudev +# dh_undocumented + dh_strip + dh_link + dh_compress + dh_fixperms +# dh_perl +# dh_python + dh_makeshlibs + dh_installdeb + dh_shlibdeps + dh_gencontrol + dh_md5sums + dh_builddeb + +# Build architecture independant packages using the common target. +binary-indep: build install +# (Uncomment this next line if you have such packages.) +# $(MAKE) -f debian/rules DH_OPTIONS=-i binary-common + +# Build architecture dependant packages using the common target. +binary-arch: build install + $(MAKE) -f debian/rules DH_OPTIONS=-a binary-common + +# Any other binary targets build just one binary package at a time. +binary-%: build install + make -f debian/rules binary-common DH_OPTIONS=-p$* + +binary: binary-indep binary-arch +.PHONY: build clean binary-indep binary-arch binary-common binary install autotools autotools-clean clean-srcs --- libmaa-1.1.1.orig/debian/libmaa1.dirs +++ libmaa-1.1.1/debian/libmaa1.dirs @@ -0,0 +1 @@ +usr/lib --- libmaa-1.1.1.orig/debian/libmaa-dev.doc-base +++ libmaa-1.1.1/debian/libmaa-dev.doc-base @@ -0,0 +1,16 @@ +Document: libmaa-dev +Title: Libmaa User's Manual +Author: Rickard E. Faith +Abstract: The libmaa library provides many low-level data structures which are + helpful for writing compilers, including hash tables, sets, lists, + debugging support, and memory management. Although libmaa was designed + and implemented as a foundation for the kheperalong, the data structures + are generally applicable to a wide range of programming problems. + . + The memory management routines are especially helpful for improving the + performance of memory-intensive applications. +Section: Programming/C + +Format: postscript +Files: /usr/share/doc/libmaa-dev/libmaa.600dpi.ps.gz + --- libmaa-1.1.1.orig/debian/compat +++ libmaa-1.1.1/debian/compat @@ -0,0 +1 @@ +7 --- libmaa-1.1.1.orig/debian/libmaa1.docs +++ libmaa-1.1.1/debian/libmaa1.docs @@ -0,0 +1,2 @@ +NEWS +README --- libmaa-1.1.1.orig/debian/copyright +++ libmaa-1.1.1/debian/copyright @@ -0,0 +1,43 @@ +This package was debianized by Robert Luberda on +Sun, 28 Dec 2008 15:38:32 +0100. + +It was downloaded from: + + +Upstream Authors: + + Rickard E. Faith (faith@dict.org) + Aleksey Cheusov (vle@gmx.net) + +Copyright: + + Copyright (C) 1994-2002 Rickard E. Faith (faith@dict.org) + Copyright (C) 1996 Lars Nyland (nyland@cs.unc.edu) + Copyright (C) 2002-2008 Aleksey Cheusov (vle@gmx.net) + Copyright (C) 1988, 89, 90, 91, 92, 93, 94 Free Software Foundation, Inc. + Copyright (C) 2001 Richard Kettlewell (rjk@greenend.org.uk) + Copyright (C) 1989 John Wilkes, Hewlett-Packard Company + +License: + + Almost all source files are licensed either under the terms of the GNU + Library General Public License, or under the terms of the GNU General + Public License; both in version 2 or later. + + The strtol.c strtoul.c, obstack.c, obstack.h files are part of the GNU C + Library and can be redistributed and/or modifed under the terms of the GNU + Library General Public License, version 2 or later. + + The alloca.c is a (mostly) portable public-domain implementation by D A Gwyn. + + The strlcpy.c was written by Richard Kettlewell and is licensed under the + terms of the Berkeley Software Distribution License. + + On Debian systems, the complete text of the above licenses can be found in: + * '/usr/share/common-licenses/GPL' - the GNU General Public License; + * '/usr/share/common-licenses/LGPL' - the GNU Library General Public License; + * '/usr/share/common-licenses/BSD' - the Berkeley Software Distribution + License. + +The Debian packaging is copyright 2008, Robert Luberda and +is licensed under the GPL, see `/usr/share/common-licenses/GPL'. --- libmaa-1.1.1.orig/debian/watch +++ libmaa-1.1.1/debian/watch @@ -0,0 +1,3 @@ +# control file for the uscan(1) tool +version=3 +http://sf.net/dict/libmaa-(.+)\.tar\.gz --- libmaa-1.1.1.orig/debian/patches/01-Makefile.patch +++ libmaa-1.1.1/debian/patches/01-Makefile.patch @@ -0,0 +1,15 @@ +Don't remove config.h.in + +Index: libmaa-1.1.0/Makefile.in +=================================================================== +--- libmaa-1.1.0.orig/Makefile.in 2008-12-28 21:32:42.000000000 +0100 ++++ libmaa-1.1.0/Makefile.in 2008-12-28 21:32:59.000000000 +0100 +@@ -189,7 +189,7 @@ + echo making $@ in $$subdir; \ + (cd $$subdir && $(MAKE) $@) || exit 1; \ + done +- -rm -f config.h config.h.in ++ -rm -f config.h + -rm -f config.cache config.status stamp-h.in stamp-h + -rm -f Makefile arggram2c + -rm -rf autom4te.cache --- libmaa-1.1.1.orig/debian/patches/series +++ libmaa-1.1.1/debian/patches/series @@ -0,0 +1 @@ +01-Makefile.patch