debian/0000755000000000000000000000000012176000143007160 5ustar debian/rules0000755000000000000000000000034212176000133010236 0ustar #!/usr/bin/make -f %: dh $@ --with autoreconf override_dh_auto_build: dh_auto_build $(MAKE) -C $(CURDIR)/doc docs override_dh_strip: dh_strip --dbg-package=libmimetic0-dbg override_dh_compress: dh_compress -Xexamples debian/control0000644000000000000000000000620012176000133010560 0ustar Source: mimetic Maintainer: gregor herrmann Uploaders: tony mancill Section: libs Priority: optional Build-Depends: debhelper (>= 9), dh-autoreconf, doxygen Standards-Version: 3.9.4 Vcs-Browser: http://git.toastfreeware.priv.at/debian/mimetic.git/ Vcs-Git: git://git.toastfreeware.priv.at/debian/mimetic.git Homepage: http://www.codesink.org/mimetic_mime_library.html Package: libmimetic-dev Architecture: any Multi-Arch: same Section: libdevel Depends: ${misc:Depends}, libmimetic0 (= ${binary:Version}) Suggests: libmimetic-doc Description: C++ MIME library (development) mimetic is a MIME library written in C++ designed to be easy to use and integrate but yet fast and efficient. . mimetic has been built around the standard lib. This means that you'll not find yet another string class or list implementation and that you'll feel comfortable in using this library from the very first time. . mimetic doesn't use exceptions but it heavily uses templates so a mostly standard compliant C++ compiler is required. . This package contains the header files. Package: libmimetic-doc Architecture: all Section: doc Depends: ${misc:Depends} Recommends: libmimetic-dev Description: C++ MIME library (documentation) mimetic is a MIME library written in C++ designed to be easy to use and integrate but yet fast and efficient. . mimetic has been built around the standard lib. This means that you'll not find yet another string class or list implementation and that you'll feel comfortable in using this library from the very first time. . mimetic doesn't use exceptions but it heavily uses templates so a mostly standard compliant C++ compiler is required. . This package contains the developers' documentation. Package: libmimetic0 Architecture: any Multi-Arch: same Depends: ${shlibs:Depends}, ${misc:Depends} Pre-Depends: ${misc:Pre-Depends} Description: C++ MIME library (runtime) mimetic is a MIME library written in C++ designed to be easy to use and integrate but yet fast and efficient. . mimetic has been built around the standard lib. This means that you'll not find yet another string class or list implementation and that you'll feel comfortable in using this library from the very first time. . mimetic doesn't use exceptions but it heavily uses templates so a mostly standard compliant C++ compiler is required. . This package contains the libraries. Package: libmimetic0-dbg Architecture: any Multi-Arch: same Section: debug Priority: extra Depends: ${misc:Depends}, libmimetic0 (= ${binary:Version}) Description: C++ MIME library (debug) mimetic is a MIME library written in C++ designed to be easy to use and integrate but yet fast and efficient. . mimetic has been built around the standard lib. This means that you'll not find yet another string class or list implementation and that you'll feel comfortable in using this library from the very first time. . mimetic doesn't use exceptions but it heavily uses templates so a mostly standard compliant C++ compiler is required. . This package contains the debug symbols for libmimetic0. debian/source/0000755000000000000000000000000012176000133010457 5ustar debian/source/format0000644000000000000000000000001412176000133011665 0ustar 3.0 (quilt) debian/changelog0000644000000000000000000002136612176000133011041 0ustar mimetic (0.9.7-4) unstable; urgency=low * Fix upstream URL in debian/{control,copyright,watch}. Thanks to Bart Martens for the bug report. (Closes: #697171) * Add patch to fix build failure with clang. Thanks to Raphael Rigo for the bug report and the patch. (Closes: #718306) * Mark -dbg package as Multi-Arch: same. Thanks to lintian. * Update regexp in debian/watch. Thanks to Bart Martens. * Make doc-base file installation less confusing. * Update years of packaging copyright. * Remove empty maintainer script from source package. debhelper adds them anyway. * Declare compliance with Debian Policy 3.9.4. -- gregor herrmann Tue, 30 Jul 2013 20:03:25 +0200 mimetic (0.9.7-3) unstable; urgency=low * Revert "Move building of -doc package to override_dh_auto_build-indep, and split Build-Depends and Build-Depends-Indep." Fails on half of the buildds which call `debian/rules build' and not `debian/rules build-arch', and then don't find doxygen from Build-Depends-Indep. -- gregor herrmann Fri, 13 Apr 2012 17:44:55 +0200 mimetic (0.9.7-2) unstable; urgency=low * debian/control: update descriptions (they were still referring to the old license); thanks to TANIGUCHI Takaki (closes: #646459). * Update Vcs-* headers. * Add patch to fix build failure with gcc-4.7. (Closes: #667278) * debian/copyright: update to Copyright-Format 1.0. * Update years of packaging copyright. * Bump Standards-Version to 3.9.3 (no changes). * Remove unneeded lintian override. * Set debhelper compatibility level to 9. * Multiarch-ify packages (changes in debian/{control,*.install}). * Use detached symbols in -dbg package. * Move building of -doc package to override_dh_auto_build-indep, and split Build-Depends and Build-Depends-Indep. -- gregor herrmann Fri, 13 Apr 2012 16:20:07 +0200 mimetic (0.9.7-1) unstable; urgency=low * New upstream release. * Update years of packaging copyright. * Remove patch patch const-correctness.patch, applied upstream. * Bump debhelper compat level and build dependency to 8; change order of arguments on debian/rules. * Remove ancient Replaces/Conflicts. * Set Standards-Version to 3.9.2 (no further changes). * Use dh-autoreconf to get rid of ancient libtool; drop autotool_dev; don't clean test/autocutee.mk anymore. Add a lintian override for the libtool warning. -- gregor herrmann Sat, 10 Sep 2011 17:55:47 +0200 mimetic (0.9.6-2) unstable; urgency=low * Add patch const-correctness.patch to fix an error that is triggered by modern gcc versions; thanks to Berthold Stoeger for the bug report and the patch (closes: #583507). * Convert to source format 3.0 (quilt). * Set Standards-Version to 3.8.4 (no changes). * Use the autotools-dev debhelper addon. * debian/copyright: update formatting (DEP5) and years of packaging copyright. -- gregor herrmann Sat, 29 May 2010 16:08:53 +0200 mimetic (0.9.6-1) unstable; urgency=low * New upstream release. * debian/control: - change Section to debug for libmimetic0-dbg - remove Section for libmimetic0 (duplicate) - set Standards-Version to 3.8.1 (no changes) - add ${misc:Depends} * debian/copyright: update years of upstream and packaging copyright; the upstream code is now released under the MIT license; update "headers". * Remove debian/libmimetic-doc.{postinst,prerem}, install-docs doesn't need to be called manually anymore. * Set debhelper compatibility level to 7; adapt debian/{control,compat,rules}. -- gregor herrmann Fri, 15 May 2009 19:12:51 +0200 mimetic (0.9.5-1) unstable; urgency=low * New upstream release. * Remove libtool.patch and quilt framework; upstream has updated libtool/autotools in this release. * Fix typo in debian/mimetic-doc (doc-base definition). -- gregor herrmann Wed, 08 Oct 2008 18:43:06 +0200 mimetic (0.9.4-2) unstable; urgency=low * Add patch libtool.patch to get a newer libtool version (closes: #500317); thanks to Kurt Roeckx for the bug report and the proposed solution. * Add quilt framework (and README.source for compliance with Debian Policy 3.8.0). * debian/rules: - add a clean-stamp target to debian/rules in order to run `make distclean' before unpatching configure and friends - add test/autocutee.mk to dh_clean - remove separate `make distclean' for doc/ directory -- gregor herrmann Mon, 29 Sep 2008 18:01:47 +0200 mimetic (0.9.4-1) unstable; urgency=low * New upstream release. * Drop patch gcc4.3_includes.diff, included upstream. Remove quilt framework. * debian/copyright: update years of upstream copyright. * Remove historic debian/shlibs.local. * Set Standards-Version to 3.8.0 (no changes). -- gregor herrmann Fri, 19 Sep 2008 00:07:03 +0200 mimetic (0.9.3-3) unstable; urgency=low * debian/rules: - create install-stamp target in debian/rules and adjust dependencies accordingly - remove config.{sub,guess} in clean target and copy them over in configure target as a preparation for source format "3.0 (quilt)"; thanks to Raphaƫl Hertzog for the bug report (closes: #482730) * debian/copyright: - change to the new machine-readable format - add stanza about packaging copyright * Convert debian/changelog to UTF-8. * debian/control: change my email address. * Change doc-base section from Apps/Net to Network/Communication. * Set debhelper compatibility level to 6. * Refresh patch gcc4.3_includes.diff and add information to the file. -- gregor herrmann Sat, 24 May 2008 21:54:44 +0200 mimetic (0.9.3-2) unstable; urgency=low * Switch from ${Source-Version} to ${binary:Version} in debian/control to make the package binNMU safe. * Don't ignore result of make distclean. * Add a -dbg package. * Remove useless file debian/compress from source package. * Clean up debian/rules. * Remove unneeded files debian/libmimetic0.dirs and debian/libmimetic-dev.dirs. * Move upstream URL from the description to the new Homepage field. * Change XS-Vcs-* fields to Vcs-*. * Add patch gcc4.3_includes.diff: adds #includes to header files to enable compilation with gcc 4.3 (closes: #454897). * Set Standards-Version to 3.7.3 (no further changes needed). -- gregor herrmann Tue, 11 Dec 2007 03:02:58 +0100 mimetic (0.9.3-1) unstable; urgency=low * New upstream release, compatible with GCC 4.3 (closes: #417434). -- gregor herrmann Tue, 03 Apr 2007 16:49:26 +0200 mimetic (0.9.2-1) unstable; urgency=low * New upstream release. * Fix copy&paste error in comments in libmimetic-doc.{prerm,postinst} scripts. -- gregor herrmann Sun, 21 Jan 2007 21:41:04 +0100 mimetic (0.9.1-2) unstable; urgency=low * Update to Standards-Version: 3.7.2 (no changes required). * Set different short descriptions for the three packages (runtime, development, documentation). * Register documentation with doc-base. * Add Tony Mancill to Uploaders. -- gregor herrmann Fri, 16 Jun 2006 13:16:07 +0200 mimetic (0.9.1-1) unstable; urgency=low * New upstream release. -- gregor herrmann Sun, 16 Apr 2006 14:20:11 +0200 mimetic (0.8.9-7) unstable; urgency=low * Changed package names for -doc and -dev packages on request of ftpmaster. * Cleaned up watch file. -- gregor herrmann Wed, 15 Mar 2006 23:31:56 +0100 mimetic (0.8.9-6) unstable; urgency=low * Initial Debian release (closes: #313088). * Set debhelper compatibility level to 5. -- gregor herrmann Wed, 15 Mar 2006 17:17:56 +0100 mimetic (0.8.9-5) unstable; urgency=low * Added homepage to debian/control. * Split package libmimetic0-dev into libmimetic0-dev and libmimetic-0-dev-doc. -- gregor herrmann Sun, 25 Dec 2005 15:07:01 +0100 mimetic (0.8.9-4) unstable; urgency=low * Clarified copyright statment in debian/copyright. -- gregor herrmann Wed, 31 Aug 2005 17:05:25 +0200 mimetic (0.8.9-3) unstable; urgency=low * Added missing build dependency on doxygen. -- gregor herrmann Mon, 8 Aug 2005 16:33:43 +0200 mimetic (0.8.9-2) unstable; urgency=low * Compiled against libstdc++6. -- gregor herrmann Sun, 7 Aug 2005 23:18:32 +0200 mimetic (0.8.9-1) unstable; urgency=low * Initial release. -- gregor herrmann Sat, 11 Jun 2005 20:27:37 +0200 debian/libmimetic-dev.docs0000644000000000000000000000001312176000133012715 0ustar doc/README debian/libmimetic0.install0000644000000000000000000000003312176000133012741 0ustar usr/lib/*/libmimetic*.so.* debian/compat0000644000000000000000000000000212176000133010355 0ustar 9 debian/libmimetic-doc.docs0000644000000000000000000000001112176000133012702 0ustar doc/html debian/patches/0000755000000000000000000000000012176000133010606 5ustar debian/patches/clang.patch0000644000000000000000000000151712176000133012717 0ustar Description: mimetic fails to build withclang with ../../mimetic/tokenizer.h:143:52: error: member reference base type 'const Container *' is not a structure or union : ItTokenizer(cont.begin(), cont.end()) Origin: vendor Bug-Debian: http://bugs.debian.org/718306 Forwarded: yes, via private mail Author: Raphael Rigo Reviewed-by: gregor herrmann Last-Update: 2013-07-30 --- a/mimetic/tokenizer.h +++ b/mimetic/tokenizer.h @@ -140,7 +140,7 @@ // so "cont" MUST be in scope for all following calls // to next(...). ContTokenizer(const Container* cont) - : ItTokenizer(cont.begin(), cont.end()) + : ItTokenizer(cont->begin(), cont->end()) { } template debian/patches/series0000644000000000000000000000003212176000133012016 0ustar gcc-4.7.patch clang.patch debian/patches/gcc-4.7.patch0000644000000000000000000000304512176000133012673 0ustar Description: mimetic fails to build with gcc-4.7 with: | In file included from datetime.cxx:11:0: | ../../mimetic/tokenizer.h: In instantiation of 'mimetic::ContTokenizer::ContTokenizer(const Container*, const | DelimCont&) [with DelimCont = char [3]; Container = std::basic_string]': | datetime.cxx:266:42: required from here | ../../mimetic/tokenizer.h:150:9: error: 'setDelimList' was not declared in this scope, and no declarations were found by | argument-dependent lookup at the point of instantiation [-fpermissive] | ../../mimetic/tokenizer.h:150:9: note: declarations in dependent base 'mimetic::ItTokenizer<__gnu_cxx::__normal_iterator >, char>' are not found by unqualified lookup | ../../mimetic/tokenizer.h:150:9: note: use 'this->setDelimList' instead | make[5]: *** [datetime.lo] Error 1 . Following gcc's advice by using 'this->setDelimList' seems to work under gcc-4.6 and gcc-4.7. . Cf. also http://gcc.gnu.org/gcc-4.7/porting_to.html -> C++ language issues -> Name lookup changes Origin: vendor Bug-Debian: http://bugs.debian.org/667278 Forwarded: yes, private mail Author: gregor herrmann Last-Update: 2012-04-04 --- a/mimetic/tokenizer.h +++ b/mimetic/tokenizer.h @@ -147,7 +147,7 @@ ContTokenizer(const Container* cont, const DelimCont& delims) : ItTokenizer(cont->begin(), cont->end()) { - setDelimList(delims); + this->setDelimList(delims); } void setSource(const Container* cont) { debian/copyright0000644000000000000000000000352212176000133011114 0ustar Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Name: mimetic Upstream-Contact: Stefano Barbato Source: http://www.codesink.org/mimetic_mime_library.html Files: * Copyright: 2002-2009, Stefano Barbato License: MIT Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: . The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. . THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. Files: debian/* Copyright: 2005-2013, gregor herrmann 2006-2013, tony mancill License: GPL-2+ License: GPL-2+ This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; version 2 dated June, 1991, or (at your option) any later version. . On Debian systems, the complete text of version 2 of the GNU General Public License can be found in `/usr/share/common-licenses/GPL-2'. debian/libmimetic-dev.install0000644000000000000000000000004512176000133013440 0ustar usr/include usr/lib/*/libmimetic*.so debian/libmimetic-doc.doc-base0000644000000000000000000000036612176000133013444 0ustar Document: mimetic-doc Title: mimetic Documentation Abstract: Documentation for the mimetic library Section: Network/Communication Format: HTML Index: /usr/share/doc/libmimetic-doc/html/index.html Files: /usr/share/doc/libmimetic-doc/html/*.html debian/libmimetic-doc.examples0000644000000000000000000000001312176000133013572 0ustar examples/* debian/watch0000644000000000000000000000016312176000133010210 0ustar version=3 http://www.codesink.org/mimetic_mime_library.html .*/mimetic-(\d.*)\.(?:tgz|tbz2|txz|tar\.(?:gz|bz2|xz))