summaryrefslogtreecommitdiff
path: root/data/cwidget/debian
diff options
context:
space:
mode:
Diffstat (limited to 'data/cwidget/debian')
-rw-r--r--data/cwidget/debian/changelog402
-rw-r--r--data/cwidget/debian/compat1
-rw-r--r--data/cwidget/debian/control94
-rw-r--r--data/cwidget/debian/copyright5
-rw-r--r--data/cwidget/debian/gbp.conf3
-rw-r--r--data/cwidget/debian/libcwidget-dev.docs1
-rw-r--r--data/cwidget/debian/libcwidget-dev.install5
-rw-r--r--data/cwidget/debian/libcwidget-doc.doc-base12
-rw-r--r--data/cwidget/debian/libcwidget-doc.docs1
-rw-r--r--data/cwidget/debian/libcwidget-doc.links2
-rw-r--r--data/cwidget/debian/libcwidget3v5.install2
-rw-r--r--data/cwidget/debian/patches/series1
-rwxr-xr-xdata/cwidget/debian/rules38
-rw-r--r--data/cwidget/debian/source/format1
-rw-r--r--data/cwidget/debian/tests/compile-example-testcwidget27
-rw-r--r--data/cwidget/debian/tests/control2
16 files changed, 597 insertions, 0 deletions
diff --git a/data/cwidget/debian/changelog b/data/cwidget/debian/changelog
new file mode 100644
index 000000000..187b15997
--- /dev/null
+++ b/data/cwidget/debian/changelog
@@ -0,0 +1,402 @@
+cwidget (0.5.17-4) unstable; urgency=medium
+
+ * Acknowledge NMU.
+ * Fix failure with autopkgtest when using g++ 5 (Closes: #795177).
+ Thanks Martin Pitt.
+
+ -- Manuel A. Fernandez Montecelo <mafm@debian.org> Thu, 13 Aug 2015 14:13:04 +0100
+
+cwidget (0.5.17-3.1) unstable; urgency=medium
+
+ * Non-maintainer upload.
+ * Rename libcwidget3 to libcwidget3v5, libcwidget3 to libcwidget3v5,
+ follow-up for the libstdc++6 ABI transition. Addresses: #794594.
+ * Add Conflicts/Replaces for the old packages.
+
+ -- Matthias Klose <doko@debian.org> Tue, 04 Aug 2015 20:46:19 +0200
+
+cwidget (0.5.17-3) unstable; urgency=low
+
+ * Changes to build with GCC-5 and in C++11 mode (Closes: #792681).
+ Thanks Matthias Klose. Prompted by:
+ - transition to GCC-5 as default compiler in Debian unstable;
+ - failure to compile cwidget without -std=c++11 with
+ this new version;
+ - there is a change in the ABI of libstdc++ w.r.t. GCC < 5, in
+ std::string, std::list and other parts (sigc++-2.0 is a dependency of
+ cwidget and uses std::list in the API)
+ * Quell lintian warning xs-testsuite-header-in-debian-control by
+ removing XS- prefix in debian/control
+ * Revamp options passed to the compiler, among others some obsolete
+ compiler flags that tried to address a problem with old versions of
+ the compiler, but that were actually not enabled since long ago
+ * Do not install jquery.js and link it from documentation directories in
+ another place where it cropped up
+ * Update Build-Depends-Indep on perlmagick to libimage-magick-perl
+ (Closes: #789224). Thanks Martin Michlmayr.
+
+ -- Manuel A. Fernandez Montecelo <mafm@debian.org> Fri, 31 Jul 2015 01:10:21 +0100
+
+cwidget (0.5.17-2) unstable; urgency=medium
+
+ [ Jérémy Bobbio ]
+ * Add a patch to have Doxygen not write timestamps in the generated
+ documentation to allow package builds to be reproducible. (Closes:
+ #762666)
+
+ [ Manuel A. Fernandez Montecelo ]
+ * Bump Standards-Version to 3.9.6 (no changes needed)
+ * Change priority of source package to 'optional' (from 'extra'), and
+ remove the override of priority 'important' for the binary package
+ libcwidget3
+
+ -- Manuel A. Fernandez Montecelo <mafm@debian.org> Sun, 28 Sep 2014 16:03:09 +0100
+
+cwidget (0.5.17-1) unstable; urgency=medium
+
+ * New upstream release
+ - Incorporated changes of last NMUs
+ - Remove -1.9 from some of the autotools commands, run instead the
+ latest/default versions of the system (1.9 is quite old by now)
+ * debian/source/format: move from "1.0" to "3.0 (quilt)"
+ * debian/compat: level 9
+ - Multi-Arch enabled now
+ * Add tests for autopkgtest
+
+ -- Manuel A. Fernandez Montecelo <mafm@debian.org> Sat, 22 Feb 2014 00:21:23 +0000
+
+cwidget (0.5.16-5) unstable; urgency=medium
+
+ * Bump Standards-Version to 3.9.5 (no changes needed)
+ * Use dh-autoreconf instead of autotools-dev for better new-port
+ coverage. Thanks Colin Watson for the report and the patch (I applied
+ it by hand and slightly modified since it didn't apply cleanly).
+ (Closes: #732539)
+ * Quell lintian warnings:
+ - embedded-javascript-library: add Depends on libjs-jquery in the -doc
+ package, and create a symbolic link instead of install the local copy
+ of the file "jquery.min.js"
+ - "binary-control-field-duplicates-source": remove duplicate Priority
+ field from most of the binary packages
+ - missing-debian-source-format: add "1.0" to "debian/source/format"
+ for the time being
+ - vcs-field-not-canonical
+ - no-upstream-changelog: upstream's NEWS is the changelog
+ * In -doc package, downgrade browser from Recommends to Suggests
+ * VCS changed from 'cwidget/debian/.git' to 'cwidget/cwidget.git'
+
+ -- Manuel A. Fernandez Montecelo <mafm@debian.org> Fri, 21 Feb 2014 18:02:04 +0000
+
+cwidget (0.5.16-4) unstable; urgency=medium
+
+ * New maintainer (Closes: #738893)
+ * Incorporate changes from all previous NMUs
+
+ -- Manuel A. Fernandez Montecelo <mafm@debian.org> Sat, 15 Feb 2014 16:45:15 +0000
+
+cwidget (0.5.16-3.5) unstable; urgency=low
+
+ * Non-maintainer upload.
+ * Support cross-building (thanks, Eleanor Chen; closes: #721357).
+ * Use the autotools-dev dh addon to update config.guess/config.sub for
+ arm64 (closes: #725913).
+
+ -- Colin Watson <cjwatson@debian.org> Thu, 14 Nov 2013 10:02:05 +0000
+
+cwidget (0.5.16-3.4) unstable; urgency=low
+
+ * Non-maintainer upload.
+
+ [ New translations ]
+ * Japanese, thanks to Kenshi Muto. (Closes: #675739)
+ * Chinese (China), thanks to Never Min.
+ * Russian, thanks to Yuri Kozlov. (Closes: #676247)
+ * Thai, thanks to Theppitak Karoonboonyanan. (Closes: 676905)
+ * Brazilian, thanks to Adriano Rafael Gomes. (Closes: 676989)
+ * Croatian, thanks to Tomislav Krznar.
+ * All remaining translations from aptitude.
+
+ -- David Prévot <taffit@debian.org> Sun, 17 Jun 2012 15:26:05 -0400
+
+cwidget (0.5.16-3.3) unstable; urgency=low
+
+ * Non-maintainer upload.
+ * Actually display translated strings: cherry-pick c65cae upstream, and use
+ libcwidget3 as domain name in src/cwidget/generic/util/i18n.h and
+ po/Makevars; install usr/share/locale files. (Closes: #559738)
+ * Cursor displayed in proper place for wide-char prompt, thanks to Daniel
+ Hartwig. (Closes: #316939)
+ * Pressing 'delete' in search/tree limit dialog delete previous entry
+ thanks to Samuel Fogh. (Closes: #493320)
+
+ [ New translations ]
+ * German, thanks to Sven Joachim. (Closes: #561147)
+ * Spanish, thanks to Omar Campagne. (Closes: #655849)
+ * French, thanks to Julien Patriarca. (Closes: #655689)
+ * Polish, thanks to Michał Kułach. (Closes: #660944)
+ * Danish, thanks to Joe Hansen. (Closes: #671762)
+ * Czech, thanks to Michal Šimůnek. (Closes: #673141)
+
+ -- David Prévot <taffit@debian.org> Sat, 02 Jun 2012 20:33:52 -0400
+
+cwidget (0.5.16-3.2) unstable; urgency=low
+
+ * Non maintainer upload.
+ * Build using hardened build flags. Closes: #656024.
+ * Fix build failure with GCC-4.7. Closes: #667147.
+
+ -- Matthias Klose <doko@debian.org> Mon, 16 Apr 2012 19:40:07 +0200
+
+cwidget (0.5.16-3.1) unstable; urgency=low
+
+ * Non-maintainer upload.
+ * Don't ship .la files (Closes: #621184).
+
+ -- Luk Claes <luk@debian.org> Sat, 11 Jun 2011 16:31:11 +0200
+
+cwidget (0.5.16-3) unstable; urgency=low
+
+ * Disable strict aliasing to prevent g++ from erroring out in the build.
+ "Fixing" it this way is a horrible hack, but the error message is
+ entirely incomprehensible, I can't figure out which code, if any, is
+ at fault here, and my attempts to fix it by phrasing the code
+ differently have failed. (Closes: #561157, #526674)
+
+ * Add misc:Depends entries on the Depends lines.
+
+ -- Daniel Burrows <dburrows@debian.org> Sun, 17 Jan 2010 14:22:37 -0800
+
+cwidget (0.5.16-2) unstable; urgency=low
+
+ * Try a less subtle approach to fixing the threading test cases on hppa.
+ (Closes: #557982)
+
+ -- Daniel Burrows <dburrows@debian.org> Mon, 30 Nov 2009 15:10:53 -0800
+
+cwidget (0.5.16-1) unstable; urgency=low
+
+ * New upstream version.
+
+ -- Daniel Burrows <dburrows@debian.org> Sun, 29 Nov 2009 18:45:42 -0800
+
+cwidget (0.5.15-1) unstable; urgency=low
+
+ * New upstream version.
+
+ + Hopefully fixes the FTBFS on hppa (Closes: #546171).
+
+ -- Daniel Burrows <dburrows@debian.org> Sun, 29 Nov 2009 12:50:15 -0800
+
+cwidget (0.5.14-1) unstable; urgency=low
+
+ * New upstream version.
+
+ + Fix a divide-by-zero in the column fragment code. (Closes: #556185)
+
+ -- Daniel Burrows <dburrows@debian.org> Tue, 17 Nov 2009 12:33:11 -0800
+
+cwidget (0.5.13-1) unstable; urgency=low
+
+ * New upstream version.
+
+ * Move libcwidget3-dbg into the "debug" section as per the new archive
+ layout.
+
+ * Remove doc/ikiwiki/.ikiwiki in "clean".
+
+ * Add perlmagick to Build-Depends-Indep. (Closes: #497877)
+
+ -- Daniel Burrows <dburrows@debian.org> Sat, 05 Sep 2009 09:46:41 -0700
+
+cwidget (0.5.12-4) unstable; urgency=low
+
+ * Backport a fix for a nasty deadlock that was causing aptitude to
+ freeze up after running dpkg. (Closes: #511708)
+
+ -- Daniel Burrows <dburrows@debian.org> Tue, 27 Jan 2009 23:18:01 -0800
+
+cwidget (0.5.12-3) unstable; urgency=low
+
+ * Fix the string truncation fix so that it doesn't enter an infinite
+ loop and use up all the available memory when the output string is
+ empty.
+
+ -- Daniel Burrows <dburrows@debian.org> Sat, 06 Sep 2008 16:22:07 -0700
+
+cwidget (0.5.12-2) unstable; urgency=low
+
+ * Backport a fix for a string truncation bug from HEAD (Closes: #496119).
+
+ * Fix the URL to the packaging VCS (Closes: #492584).
+
+ -- Daniel Burrows <dburrows@debian.org> Sun, 31 Aug 2008 22:01:53 -0700
+
+cwidget (0.5.12-1) unstable; urgency=low
+
+ * New upstream version.
+
+ -- Daniel Burrows <dburrows@debian.org> Sat, 28 Jun 2008 08:58:24 -0700
+
+cwidget (0.5.11-1) unstable; urgency=low
+
+ * New upstream version; really fixes the backspacing problem.
+
+ -- Daniel Burrows <dburrows@debian.org> Sat, 12 Apr 2008 08:03:45 -0700
+
+cwidget (0.5.10-1) unstable; urgency=low
+
+ * New upstream version.
+
+ - Treat KEY_DC, KEY_BACKSPACE, and character 127 as equivalent in
+ key_matches(). (Closes: #452651)
+
+ -- Daniel Burrows <dburrows@debian.org> Fri, 11 Apr 2008 22:13:27 -0700
+
+cwidget (0.5.9-1) unstable; urgency=low
+
+ * New upstream version.
+
+ - Compiles with libsigc++ version 2.2.
+
+ -- Daniel Burrows <dburrows@debian.org> Fri, 21 Mar 2008 17:03:00 -0700
+
+cwidget (0.5.8-2) unstable; urgency=low
+
+ * Upload to unstable.
+
+ * Build-depend on ikiwiki (>= 1.34) for goodstuff. (Closes: #471997)
+
+ * Eliminate the last few missing #includes (in the test cases,
+ Closes: #461682)
+
+ Note that in order to build or use cwidget with g++-4.3, you will need a
+ version of libsigc++ that supports g++-4.3 (>= 2.0.18-1).
+
+ * Put the documentation in Programming/C++, not the nonexistant
+ section Apps/Programming.
+
+ -- Daniel Burrows <dburrows@debian.org> Fri, 21 Mar 2008 14:51:07 -0700
+
+cwidget (0.5.8-1) experimental; urgency=low
+
+ * New upstream version.
+ - ABI change due to the changes below.
+ - Remove all references to hash_map; use std::map instead.
+ - Fix all compilation errors with g++ 4.3. (Closes: #461682)
+
+ -- Daniel Burrows <dburrows@debian.org> Sun, 20 Jan 2008 09:37:11 -0800
+
+cwidget (0.5.7-1) experimental; urgency=low
+
+ * New Upstream Version.
+
+ * ABI change again; create libcwidget2* packages.
+
+ * Fix several threading errors in handling input, particularly when
+ cwidget was temporarily suspended and then resumed.
+
+ (Closes: #461342) and possibly more, but I'll have to ask the
+ reporters.
+
+ * If a byte sequence read from stdin can't be decoded in the current
+ locale, beep at the user instead of throwing a fatal
+ exception. (Closes: #460722)
+
+ -- Daniel Burrows <dburrows@debian.org> Sat, 19 Jan 2008 10:26:00 -0800
+
+cwidget (0.5.6.1-3) unstable; urgency=low
+
+ * Apply patch from Michael Daenzer to support building with
+ dpkg-buildpackage -j (Closes: #456678).
+
+ * ikiwiki now depends only on what the core engine needs, and so some of
+ the plugins that cwidget users are no longer available in a build
+ environment without explicitly installing them.
+
+ Add libhtml-scrubber-perl to Build-Depends (Closes: #458654).
+
+ -- Daniel Burrows <dburrows@debian.org> Sun, 06 Jan 2008 08:58:49 -0800
+
+cwidget (0.5.6.1-2) unstable; urgency=low
+
+ * Rename debian/libcwidget0.install to debian/libcwidget1.install so the
+ library actually gets installed.
+
+ -- Daniel Burrows <dburrows@debian.org> Sat, 15 Dec 2007 22:24:48 -0800
+
+cwidget (0.5.6.1-1) unstable; urgency=low
+
+ * New upstream version.
+
+ * Rename libcwidget0 and libcwidget0-dbg to libcwidget1 and
+ libcwidget1-dbg.
+
+ * Declare libcwidget-doc to be in section doc, to make lintian happy.
+
+ * No longer conflict/provide/replace libcwidget-dbg; those relationships
+ were added because libcwidget0-dbg fully replaced libcwidget-dbg, but
+ libcwidget1-dbg is not related to libcwidget-dbg.
+
+ -- Daniel Burrows <dburrows@debian.org> Sat, 15 Dec 2007 18:46:50 -0800
+
+cwidget (0.5.6-1) unstable; urgency=low
+
+ * New upstream version.
+
+ * ABI change; the SONAME is now libcwidget.so.1.
+
+ * If stdin is closed, abort the main loop with an exception instead
+ of spinning forever. (Closes: #451770)
+
+ * Add a missing #include <stdarg.h>; fixes building on stable and on
+ some other platforms. (Closes: #452979)
+
+ * Add a build dependency on cppunit so 'make check' does something
+ useful.
+
+ * Add a build dependency on ikiwiki so we can build all the
+ documentation.
+
+ -- Daniel Burrows <dburrows@debian.org> Sat, 15 Dec 2007 18:07:37 -0800
+
+cwidget (0.5.5-4) unstable; urgency=low
+
+ * Fix a related but different bug in Makefile.am. (Closes: #451400)
+
+ -- Daniel Burrows <dburrows@debian.org> Sat, 24 Nov 2007 21:35:51 -0800
+
+cwidget (0.5.5-3) unstable; urgency=low
+
+ * Actually fix Makefile.in. (Closes: #451400)
+
+ * Add Homepage and VCS-* fields to the control file.
+
+ -- Daniel Burrows <dburrows@debian.org> Sat, 24 Nov 2007 08:21:57 -0800
+
+cwidget (0.5.5-2) unstable; urgency=low
+
+ * Do a quick fix for a Makefile bug (a better fix is already present in
+ the upstream repository). (Closes: #451400)
+
+ * Rename the debug package from libcwidget-dbg to libcwidget0-dbg, since
+ obviously once the soname changes we'll need a separate debug package.
+
+ -- Daniel Burrows <dburrows@debian.org> Mon, 19 Nov 2007 21:08:10 -0800
+
+cwidget (0.5.5-1) unstable; urgency=low
+
+ * New upstream release.
+
+ -- Daniel Burrows <dburrows@debian.org> Thu, 15 Nov 2007 21:23:56 -0800
+
+cwidget (0.5.4-1) unstable; urgency=low
+
+ * New upstream release.
+
+ -- Daniel Burrows <dburrows@debian.org> Mon, 12 Nov 2007 17:15:18 -0800
+
+cwidget (0.5.3-1) unstable; urgency=low
+
+ * Initial release.
+
+ -- Daniel Burrows <dburrows@debian.org> Fri, 09 Nov 2007 07:02:45 -0800
diff --git a/data/cwidget/debian/compat b/data/cwidget/debian/compat
new file mode 100644
index 000000000..ec635144f
--- /dev/null
+++ b/data/cwidget/debian/compat
@@ -0,0 +1 @@
+9
diff --git a/data/cwidget/debian/control b/data/cwidget/debian/control
new file mode 100644
index 000000000..7928c5cb9
--- /dev/null
+++ b/data/cwidget/debian/control
@@ -0,0 +1,94 @@
+Source: cwidget
+Priority: optional
+Section: libs
+Homepage: http://cwidget.alioth.debian.org
+Vcs-Git: git://anonscm.debian.org/cwidget/cwidget.git
+Vcs-Browser: http://anonscm.debian.org/gitweb/?p=cwidget/cwidget.git
+Maintainer: Manuel A. Fernandez Montecelo <mafm@debian.org>
+Build-Depends: debhelper (>= 9~),
+ g++ (>= 4:5.2),
+ dh-autoreconf,
+ gettext,
+ libcppunit-dev (>= 1.13.2-2.1),
+ libncursesw5-dev,
+ libsigc++-2.0-dev
+Build-Depends-Indep: doxygen,
+ ikiwiki (>= 1.34),
+ libhtml-scrubber-perl,
+ libimage-magick-perl
+Standards-Version: 3.9.6
+Testsuite: autopkgtest
+
+Package: libcwidget3v5
+Architecture: any
+Multi-Arch: same
+Pre-Depends: ${misc:Pre-Depends}
+Depends: ${misc:Depends},
+ ${shlibs:Depends}
+Suggests: libcwidget-dev
+Conflicts: libcwidget3
+Replaces: libcwidget3
+Description: high-level terminal interface library for C++ (runtime files)
+ libcwidget is a modern user interface library modeled on GTK+ and Qt,
+ but using curses as its display layer and with widgets that are
+ tailored to a terminal environment.
+ .
+ This package contains the files that are required to run programs
+ compiled against libcwidget.
+
+Package: libcwidget3v5-dbg
+Section: debug
+Priority: extra
+Architecture: any
+Multi-Arch: same
+Depends: ${misc:Depends},
+ libcwidget3v5 (= ${binary:Version})
+Suggests: libcwidget-dev
+Conflicts: libcwidget3-dbg
+Replaces: libcwidget3-dbg
+Description: high-level terminal interface library for C++ (debugging files)
+ libcwidget is a modern user interface library modeled on GTK+ and Qt,
+ but using curses as its display layer and with widgets that are
+ tailored to a terminal environment.
+ .
+ This package contains debugging symbols for libcwidget-dbg. It is
+ only needed if you want to generate useful backtraces for programs
+ using cwidget.
+
+Package: libcwidget-dev
+Section: libdevel
+Architecture: any
+Multi-Arch: same
+Depends: ${misc:Depends},
+ libcwidget3v5 (= ${binary:Version}),
+ libsigc++-2.0-dev,
+ libncursesw5-dev,
+ pkg-config
+Suggests: libcwidget-doc
+Description: high-level terminal interface library for C++ (development files)
+ libcwidget is a modern user interface library modeled on GTK+ and Qt,
+ but using curses as its display layer and with widgets that are
+ tailored to a terminal environment.
+ .
+ This package contains files that are needed to write or compile
+ software that uses libcwidget.
+ .
+ WARNING: this is a newly created library whose development is closely
+ tied to the development of aptitude. Its API may be incomplete and
+ is likely to change considerably version-over-version! You may want
+ to avoid cwidget for stable projects.
+
+Package: libcwidget-doc
+Section: doc
+Architecture: all
+Multi-Arch: foreign
+Depends: ${misc:Depends},
+ libjs-jquery
+Suggests: libcwidget-dev,
+ iceweasel | www-browser
+Description: high-level terminal interface library for C++ (documentation)
+ libcwidget is a modern user interface library modeled on GTK+ and Qt,
+ but using curses as its display layer and with widgets that are
+ tailored to a terminal environment.
+ .
+ This package contains documentation for libcwidget, in HTML format.
diff --git a/data/cwidget/debian/copyright b/data/cwidget/debian/copyright
new file mode 100644
index 000000000..850616e03
--- /dev/null
+++ b/data/cwidget/debian/copyright
@@ -0,0 +1,5 @@
+Copyright 1999-2007 Daniel Burrows <dburrows@debian.org>
+
+The upstream Web site for cwidget is http://cwidget.alioth.debian.org
+
+License: GPL (/usr/share/common-licenses/GPL)
diff --git a/data/cwidget/debian/gbp.conf b/data/cwidget/debian/gbp.conf
new file mode 100644
index 000000000..69ef158e5
--- /dev/null
+++ b/data/cwidget/debian/gbp.conf
@@ -0,0 +1,3 @@
+[DEFAULT]
+builder = pdebuild --debbuildopts "-i\.git -I.git"
+pristine-tar = True
diff --git a/data/cwidget/debian/libcwidget-dev.docs b/data/cwidget/debian/libcwidget-dev.docs
new file mode 100644
index 000000000..100b93820
--- /dev/null
+++ b/data/cwidget/debian/libcwidget-dev.docs
@@ -0,0 +1 @@
+README \ No newline at end of file
diff --git a/data/cwidget/debian/libcwidget-dev.install b/data/cwidget/debian/libcwidget-dev.install
new file mode 100644
index 000000000..e72f0bac9
--- /dev/null
+++ b/data/cwidget/debian/libcwidget-dev.install
@@ -0,0 +1,5 @@
+usr/include/cwidget
+usr/lib/*/libcwidget.so
+usr/lib/*/libcwidget.a
+usr/lib/*/pkgconfig
+usr/lib/*/cwidget
diff --git a/data/cwidget/debian/libcwidget-doc.doc-base b/data/cwidget/debian/libcwidget-doc.doc-base
new file mode 100644
index 000000000..6dbff17e5
--- /dev/null
+++ b/data/cwidget/debian/libcwidget-doc.doc-base
@@ -0,0 +1,12 @@
+Document: cwidget-doc
+Title: CWidget API Documentation
+Author: Daniel Burrows
+Abstract: This documentation, autogenerated by doxygen, describes
+ the programming interface to the CWidget UI library. CWidget is
+ a high-level C++ library for programs that provide a terminal-based
+ user interface.
+Section: Programming/C++
+
+Format: HTML
+Index: /usr/share/doc/libcwidget-doc/html/index.html
+Files: /usr/share/doc/libcwidget-doc/html/*.html
diff --git a/data/cwidget/debian/libcwidget-doc.docs b/data/cwidget/debian/libcwidget-doc.docs
new file mode 100644
index 000000000..0bd3136cd
--- /dev/null
+++ b/data/cwidget/debian/libcwidget-doc.docs
@@ -0,0 +1 @@
+doc/html
diff --git a/data/cwidget/debian/libcwidget-doc.links b/data/cwidget/debian/libcwidget-doc.links
new file mode 100644
index 000000000..98c26b11b
--- /dev/null
+++ b/data/cwidget/debian/libcwidget-doc.links
@@ -0,0 +1,2 @@
+usr/share/javascript/jquery/jquery.min.js usr/share/doc/libcwidget-doc/html/ikiwiki/jquery.min.js
+usr/share/javascript/jquery/jquery.js usr/share/doc/libcwidget-doc/html/documentation/api/jquery.js
diff --git a/data/cwidget/debian/libcwidget3v5.install b/data/cwidget/debian/libcwidget3v5.install
new file mode 100644
index 000000000..75a620dc3
--- /dev/null
+++ b/data/cwidget/debian/libcwidget3v5.install
@@ -0,0 +1,2 @@
+usr/lib/*/libcwidget.so.*
+usr/share/locale
diff --git a/data/cwidget/debian/patches/series b/data/cwidget/debian/patches/series
new file mode 100644
index 000000000..ab3c544f4
--- /dev/null
+++ b/data/cwidget/debian/patches/series
@@ -0,0 +1 @@
+do-not-write-timestamps-in-documentation
diff --git a/data/cwidget/debian/rules b/data/cwidget/debian/rules
new file mode 100755
index 000000000..44fc573e0
--- /dev/null
+++ b/data/cwidget/debian/rules
@@ -0,0 +1,38 @@
+#!/usr/bin/make -f
+
+#export DH_VERBOSE=1
+
+
+export DEB_CXXFLAGS_MAINT_APPEND := -pipe -Wall -std=c++11
+export DEB_LDFLAGS_MAINT_APPEND := -Wl,--as-needed
+
+
+%:
+ dh $@ --with autoreconf --parallel
+
+override_dh_auto_configure:
+ dh_auto_configure -- --disable-werror $(CROSS_CONFIGURE_OPTIONS)
+
+override_dh_auto_clean:
+ -rm -rf doc/ikiwiki/.ikiwiki
+ dh_auto_clean
+
+# Build indep overrides
+override_dh_auto_build-indep:
+ $(MAKE) -C doc doc
+
+override_dh_auto_test-indep:
+ # No tests needed for docs
+
+override_dh_auto_install-indep:
+ $(MAKE) -C doc install
+ dh_install -i -Xjquery.min.js -Xjquery.js
+
+override_dh_installchangelogs:
+ dh_installchangelogs -- NEWS
+
+override_dh_installexamples:
+ dh_installexamples -plibcwidget-dev src/cwidget/testcwidget.cc
+
+override_dh_strip:
+ dh_strip -a --dbg-package=libcwidget3v5-dbg
diff --git a/data/cwidget/debian/source/format b/data/cwidget/debian/source/format
new file mode 100644
index 000000000..163aaf8d8
--- /dev/null
+++ b/data/cwidget/debian/source/format
@@ -0,0 +1 @@
+3.0 (quilt)
diff --git a/data/cwidget/debian/tests/compile-example-testcwidget b/data/cwidget/debian/tests/compile-example-testcwidget
new file mode 100644
index 000000000..a1a5692de
--- /dev/null
+++ b/data/cwidget/debian/tests/compile-example-testcwidget
@@ -0,0 +1,27 @@
+#!/bin/sh
+
+# Author: Manuel A. Fernandez Montecelo <mafm@debian.org>
+#
+# autopkgtest check: Build and run a program against the library, to verify that
+# the headers and pkg-config file are installed correctly
+
+
+set -e
+
+WORKDIR=$(mktemp -d)
+trap "rm -rf $WORKDIR" 0 INT QUIT ABRT PIPE TERM
+cd $WORKDIR
+
+SRCFILE=testcwidget.cc
+SRCFILEGZ=testcwidget.cc.gz
+BINFILE=testcwidget
+
+gunzip -c /usr/share/doc/libcwidget-dev/examples/$SRCFILEGZ > $SRCFILE
+
+g++ -o $BINFILE $SRCFILE -std=c++11 `pkg-config --cflags --libs cwidget` -I /usr/include/cwidget
+echo "build: OK"
+
+[ -x $BINFILE ]
+# interactive, cannot invoke and close from command line
+#./$BINFILE
+echo "run: OK"
diff --git a/data/cwidget/debian/tests/control b/data/cwidget/debian/tests/control
new file mode 100644
index 000000000..14cc57793
--- /dev/null
+++ b/data/cwidget/debian/tests/control
@@ -0,0 +1,2 @@
+Tests: compile-example-testcwidget
+Depends: libcwidget-dev, build-essential