--- hubbub-0.0.1.orig/debian/rules
+++ hubbub-0.0.1/debian/rules
@@ -0,0 +1,42 @@
+#!/usr/bin/make -f
+
+build: build-stamp
+build-stamp:
+	dh_testdir
+	$(MAKE) COMPONENT_TYPE=lib-shared PREFIX=/usr
+	touch $@
+
+clean:
+	dh_testdir
+	dh_testroot
+	rm -f build-stamp
+	$(MAKE) COMPONENT_TYPE=lib-shared clean
+	dh_clean
+
+install: build
+	dh_testdir
+	dh_testroot
+	dh_prep
+	dh_installdirs
+	$(MAKE) COMPONENT_TYPE=lib-shared DESTDIR=$$(pwd)/debian/tmp PREFIX=/usr install
+
+binary-indep:
+
+binary-arch: build install
+	dh_testdir -a
+	dh_testroot -a
+	dh_installchangelogs -a
+	dh_installdocs -a
+	dh_install -a
+	dh_strip -a --dbg-package=libhubbub0-dbg
+	dh_makeshlibs -a
+	dh_installdeb -a
+	dh_shlibdeps -a
+	dh_compress -a
+	dh_fixperms -a
+	dh_gencontrol -a
+	dh_md5sums -a
+	dh_builddeb -a
+
+binary: binary-arch
+.PHONY: build clean binary-indep binary-arch binary install
--- hubbub-0.0.1.orig/debian/changelog
+++ hubbub-0.0.1/debian/changelog
@@ -0,0 +1,14 @@
+hubbub (0.0.1-1.1) unstable; urgency=low
+
+  * Non-maintainer upload.
+  * Fix "FTBFS with GCC 4.4: 'cptr' may be used uninitialized" by applying
+    patch from peter green (closes: #539543).
+
+ -- gregor herrmann <gregoa@debian.org>  Fri, 25 Dec 2009 19:56:29 +0100
+
+hubbub (0.0.1-1) unstable; urgency=low
+
+  * Initial release
+
+ -- Daniel Silverstone <dsilvers@debian.org>  Mon, 20 Jul 2009 13:16:38 +0200
+
--- hubbub-0.0.1.orig/debian/watch
+++ hubbub-0.0.1/debian/watch
@@ -0,0 +1,3 @@
+version=3
+http://www.netsurf-browser.org/projects/hubbub/ \
+   \.\./releases/hubbub-([\d\.]*)-src.tar.gz
--- hubbub-0.0.1.orig/debian/libhubbub0.install
+++ hubbub-0.0.1/debian/libhubbub0.install
@@ -0,0 +1 @@
+/usr/lib/libhubbub*.so.*
--- hubbub-0.0.1.orig/debian/libhubbub0.symbols
+++ hubbub-0.0.1/debian/libhubbub0.symbols
@@ -0,0 +1,85 @@
+libhubbub.so.0 libhubbub0 #MINVER#
+ aa_insert_into_foster_parent@Base 0.0.1
+ adjust_foreign_attributes@Base 0.0.1
+ adjust_mathml_attributes@Base 0.0.1
+ adjust_svg_attributes@Base 0.0.1
+ adjust_svg_tagname@Base 0.0.1
+ append_text@Base 0.0.1
+ clear_active_formatting_list_to_marker@Base 0.0.1
+ close_implied_end_tags@Base 0.0.1
+ current_node@Base 0.0.1
+ current_table@Base 0.0.1
+ element_in_scope@Base 0.0.1
+ element_stack_pop@Base 0.0.1
+ element_stack_pop_until@Base 0.0.1
+ element_stack_push@Base 0.0.1
+ element_stack_remove@Base 0.0.1
+ element_type_from_name@Base 0.0.1
+ formatting_list_append@Base 0.0.1
+ formatting_list_insert@Base 0.0.1
+ formatting_list_remove@Base 0.0.1
+ formatting_list_replace@Base 0.0.1
+ handle_after_after_body@Base 0.0.1
+ handle_after_after_frameset@Base 0.0.1
+ handle_after_body@Base 0.0.1
+ handle_after_frameset@Base 0.0.1
+ handle_after_head@Base 0.0.1
+ handle_before_head@Base 0.0.1
+ handle_before_html@Base 0.0.1
+ handle_generic_rcdata@Base 0.0.1
+ handle_in_body@Base 0.0.1
+ handle_in_caption@Base 0.0.1
+ handle_in_cell@Base 0.0.1
+ handle_in_column_group@Base 0.0.1
+ handle_in_foreign_content@Base 0.0.1
+ handle_in_frameset@Base 0.0.1
+ handle_in_head@Base 0.0.1
+ handle_in_head_noscript@Base 0.0.1
+ handle_in_row@Base 0.0.1
+ handle_in_select@Base 0.0.1
+ handle_in_select_in_table@Base 0.0.1
+ handle_in_table@Base 0.0.1
+ handle_in_table_body@Base 0.0.1
+ handle_initial@Base 0.0.1
+ hubbub_charset_extract@Base 0.0.1
+ hubbub_charset_fix_charset@Base 0.0.1
+ hubbub_charset_parse_content@Base 0.0.1
+ hubbub_dict_create@Base 0.0.1
+ hubbub_dict_destroy@Base 0.0.1
+ hubbub_dict_insert@Base 0.0.1
+ hubbub_dict_search_step@Base 0.0.1
+ hubbub_entities_create@Base 0.0.1
+ hubbub_entities_destroy@Base 0.0.1
+ hubbub_entities_search_step@Base 0.0.1
+ hubbub_error_to_string@Base 0.0.1
+ hubbub_finalise@Base 0.0.1
+ hubbub_initialise@Base 0.0.1
+ hubbub_parser_completed@Base 0.0.1
+ hubbub_parser_create@Base 0.0.1
+ hubbub_parser_destroy@Base 0.0.1
+ hubbub_parser_parse_chunk@Base 0.0.1
+ hubbub_parser_read_charset@Base 0.0.1
+ hubbub_parser_setopt@Base 0.0.1
+ hubbub_string_match@Base 0.0.1
+ hubbub_string_match_ci@Base 0.0.1
+ hubbub_tokeniser_create@Base 0.0.1
+ hubbub_tokeniser_destroy@Base 0.0.1
+ hubbub_tokeniser_run@Base 0.0.1
+ hubbub_tokeniser_setopt@Base 0.0.1
+ hubbub_treebuilder_create@Base 0.0.1
+ hubbub_treebuilder_destroy@Base 0.0.1
+ hubbub_treebuilder_setopt@Base 0.0.1
+ hubbub_treebuilder_token_handler@Base 0.0.1
+ insert_element@Base 0.0.1
+ is_formatting_element@Base 0.0.1
+ is_phrasing_element@Base 0.0.1
+ is_scoping_element@Base 0.0.1
+ is_special_element@Base 0.0.1
+ parse_generic_rcdata@Base 0.0.1
+ prev_node@Base 0.0.1
+ process_characters_expect_whitespace@Base 0.0.1
+ process_comment_append@Base 0.0.1
+ public_doctypes@Base 0.0.1
+ reconstruct_active_formatting_list@Base 0.0.1
+ remove_node_from_dom@Base 0.0.1
+ reset_insertion_mode@Base 0.0.1
--- hubbub-0.0.1.orig/debian/control
+++ hubbub-0.0.1/debian/control
@@ -0,0 +1,42 @@
+Source: hubbub
+Section: libs
+Priority: optional
+Maintainer: Debian/Ubuntu NetSurf Package Team <deb@netsurf-browser.org>
+Uploaders: Daniel Silverstone <dsilvers@debian.org>, Vincent Sanders <vince@debian.org>
+Standards-Version: 3.8.2.0
+Build-Depends: debhelper (>= 7), libparserutils0-dev, pkg-config
+
+Package: libhubbub0
+Architecture: any
+Depends: ${shlibs:Depends}
+Description: HTML5 Parser
+ Hubbub is a flexible HTML parser. It aims to comply with the HTML5
+ specification.
+ .
+ Hubbub provides a SAX-like event interface to allow the host app
+ to produce a document model in whatever format it requires.
+ 
+Package: libhubbub0-dev
+Architecture: any
+Provides: libhubbub-dev
+Conflicts: libhubbub-dev
+Section: libdevel
+Depends: libhubbub0 (= ${binary:Version}), libparserutils0-dev
+Description: HTML5 Parser - Development
+ Hubbub is a flexible HTML parser. It aims to comply with the HTML5
+ specification.
+ .
+ This package includes the headers and symlinks needed to build software
+ against libhubbub.
+
+Package: libhubbub0-dbg
+Architecture: any
+Depends: libhubbub0 (= ${binary:Version})
+Section: debug
+Priority: extra
+Description: HTML5 Parser - Debug symbols
+ Hubbub is a flexible HTML parser. It aims to comply with the HTML5
+ specification.
+ .
+ This package includes the debugging symbols for libhubbub0.
+ 
--- hubbub-0.0.1.orig/debian/libhubbub0-dev.install
+++ hubbub-0.0.1/debian/libhubbub0-dev.install
@@ -0,0 +1,3 @@
+/usr/lib/pkgconfig/*
+/usr/lib/libhubbub*.so
+/usr/include/hubbub/*
--- hubbub-0.0.1.orig/debian/copyright
+++ hubbub-0.0.1/debian/copyright
@@ -0,0 +1,24 @@
+This is the pre-packaged .deb format version of the Hubbub
+library. It was packaged by the Debian/Ubuntu NetSurf Package Team
+<deb@netsurf-browser.org> from sources originally published on
+http://www.netsurf-browser.org/.
+
+Copyright (C) 2007 J-M Bell
+
+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.
--- hubbub-0.0.1.orig/debian/compat
+++ hubbub-0.0.1/debian/compat
@@ -0,0 +1 @@
+7
