--- witty-3.3.5+dfsg.orig/debian/README.Debian
+++ witty-3.3.5+dfsg/debian/README.Debian
@@ -0,0 +1,319 @@
+PACKAGES
+
+In the Wt 2.x package series, you had to install all the development libraries
+or none of them. In the Wt 3.x packages, libraries are split in several 
+packages:
+
+ * libwt-common (configuration files)
+ * libwt-dev (core development libraries and include files)
+ * libwthttp-dev (HTTP connector, the application is the web server)
+ * libwtfcgi-dev (FastCGI connector, the  application will be served through 
+   a web server such as Apache)
+ * libwtext-dev (additional widgets using ExtJS 2.0)
+ * libwtdbo-dev (Wt::Dbo ORM)
+ * libwtdbosqlite-dev (Wt::Dbo sqlite3 backend)
+ * libwtdbopostgres-dev (Wt::Dbo PostgreSQL backend)
+
+
+
+STATIC/SHARED LIBRARIES
+
+For Wt 2.x, the Debian packages installed only shared libraries. 
+
+Since Wt 3.x, the -dev packages install shared and static libraries.
+
+
+
+EXAMPLES
+
+Running the examples
+====================
+
+The examples are available in binary and source form in the witty-examples
+package and are installed in source and binary form to /usr/lib/Wt/examples.
+
+For instance, to run the bobsmith example:
+
+$ cd /usr/lib/Wt/examples/bobsmith
+$ ./bobsmith.wt --docroot . --http-addr 0.0.0.0 --http-port 8080
+
+Additionally, a wrapper script is provided so that you can run examples 
+specifying any parameter. They will be started in port 8080:
+
+$ /usr/lib/Wt/examples/bobsmith/bobsmith
+
+
+Building the examples
+=====================
+
+First of all, make sure you have installed *all* the -dev packages and also
+the witty-examples package, which contains the source. 
+
+Keep in mind different examples depend on different -dev packages. If 
+you want to build all the examples, you will need *all* the development 
+packages and libqt4-dev (for the wtwithqt bridge)
+
+To build the examples, create a build directory and call CMake like this:
+
+$ cmake -DWT_SOURCE_DIR=/usr/lib/Wt \
+        -DEXAMPLES_CONNECTOR="wt;wthttp" \
+        -DCMAKE_BUILD_TYPE=Release \
+        /usr/lib/Wt/examples
+$ make
+
+Then go to /usr/lib/Wt/examples and enter the directory of the 
+example you want to run. When running the example, set the docroot to "." 
+
+For instance, if you compiled the examples in /home/user/dev/wtexamples, you would do:
+
+$ mkdir /home/user/dev/wtexamples
+$ cd /home/user/dev/wtexamples
+$ cmake -DWT_SOURCE_DIR=/usr/lib/Wt \
+        -DEXAMPLES_CONNECTOR="wt;wthttp" \
+        -DCMAKE_BUILD_TYPE=Release \
+        /usr/lib/Wt/examples
+$ make
+$ cd /usr/lib/Wt/examples/gitmodel
+$ /home/user/dev/wtexamples/gitmodel/gitview.wt \
+           --http-port 8080 \
+           --http-addr 0.0.0.0 \
+           --docroot .
+
+Important:
+
+* The wt-homepage example will not run properly unless you download
+  ExtJS 2.0 and extract it the proper place. See 
+  /usr/share/doc/libwt-doc/reference/html/group__ext.html#_details to find
+  out where to download ExtJS 2.0 from.
+
+* Take a look at the console output, particularly to the 404 errors: those 
+  are files which the webapp did not find (resources, icons, etc) 
+
+* The wtwithqt example needs Qt 4.x to run
+
+
+
+TESTS
+
+To build the tests, call CMake like this:
+
+$ cmake -DWT_SOURCE_DIR=/usr/share/doc/libwt-doc \ 
+      -DCMAKE_BUILD_TYPE=Release /usr/share/doc/libwt-doc/test/
+$ make
+
+
+
+HOW TO START/STOP WT WEBAPPS
+
+Let's start with some facts:
+- the Wt webapp needs to be launched somehow
+- in the general case (production), it will be started automatically
+- wtfcgi requires a /var/run/wt directory, wthttp does not
+
+
+Case 1: wthttp webapp
+=====================
+
+There are three subcases here:
+
+
+1.1 wthttp webapp started by init/upstart
+-----------------------------------------
+
+Create an init script or upstart job to start the webapp.
+
+You do not need to create /var/run/wt
+
+It is recommended that the init script or upstart job starts the 
+webapp as the www-data user and group.
+
+
+
+1.2 wthttp webapp started by inetd
+----------------------------------
+
+Inetd starts services on demand. 
+
+You do not need to write any script.
+
+When the requests are spaced enough in time, no active instance of your webapp 
+will be running, therefore there is a small loading delay. You should take 
+this into account. 
+
+The delay is smaller for statically-compiled webapps, because there is no need 
+to look for dynamic libraries and resolve symbols on load.
+
+
+
+1.3 HTTP server forwarding to wthttp webapp
+-------------------------------------------
+
+This is like case 2.1
+
+
+
+Case 2: wtfcgi webapp
+=====================
+
+There are two subcases here, although the second one is very uncommon
+
+
+2.1 wtfcgi webapp started by a web server
+-----------------------------------------
+
+You will need to write an init script. See below for the explanation.
+
+This init script must create /var/run/wt and set the proper permissions. 
+The recommended settings are making www-data owner of that directory (both 
+user and group).
+
+Make sure /var/run/wt is ready when the web server is started, otherwise 
+there might be a race condition (the webserver receives a request and starts 
+your wtfcgi webapp but /var/run/wt does not exist yet, therefore wtfcgi fails).
+To avoid that:
+- If using an init script, it should be run before or at the same time as the 
+  web server. For instance, Apache 2 is S91.
+- If using an upstart job, set the dependency on your web server
+
+Why is an init script required for creating /var/run/wt? Because only root can 
+write to /var/run
+
+But I can create /var/run/wt and it will be there forever! No, it will not. 
+The Filesystem Hierarchy Standard mandates that /var/run be entirely cleaned on boot.
+
+
+
+2.2 wtfcgi webapp started by cgi-fcgi
+-------------------------------------
+
+Unless your hosting server has a very strange policy, this scenario should 
+never happen in production environments.
+
+The cgi-fcgi tool makes possible to start FastCGI applications from the 
+command line. See the mention of the 'cgi-fcgi' tool in
+http://www.fastcgi.com/mod_fastcgi/docs/mod_fastcgi.html#FastCgiExternalServer
+
+This case is almost the same as 2.1. The only difference is you will need to 
+make /var/run/wt available before cgi-fcgi (that would be in turn run by some 
+other script your host provider mandates) starts the wtfcgi webapp.
+
+
+
+
+APPENDIX A Init script sample for wthttp webapp (case 1.1)
+
+
+#!/bin/sh
+
+### BEGIN INIT INFO
+# Provides:          mywebapp
+# Required-Start:    $remote_fs $syslog $network $named $time
+# Required-Stop:     $remote_fs $syslog $network
+# Default-Start:     2 3 4 5
+# Default-Stop:      0 1 6
+# Short-Description: Start mywebapp at boot time
+# Description:       Enable service provided by mywebapp.
+### END INIT INFO
+
+# /etc/init.d/mywebapp
+#
+# Written by Pau Garcia i Quiles <pgquiles@elpauer.org>
+
+set -e
+
+if [ ! -f /etc/elpauer/mywebapp.conf ] ; then
+    exit 0
+fi
+
+DAEMON=/opt/elpauer/mywebapp/bin/mywebapp.wt
+NAME=mywebapp.wt
+
+test -x $DAEMON || exit 0
+. /lib/lsb/init-functions
+
+case "$1" in
+  start)
+    log_begin_msg "Starting MyWebApp server: $NAME"
+    [ -d /var/run/mywebapp ] || mkdir -p /var/run/mywebapp
+    start-stop-daemon --background -m --pidfile /var/run/mywebapp/mywebapp.pid --exec $DAEMON -c www-data:www-data --start -- --docroot /opt/elpauer/mywebapp/share --http-addr 0.0.0.0 --http-port 80 && log_end_msg 0 || log_end_msg 1
+    ;;
+  stop)
+    log_begin_msg "Stopping MyWebApp server: $NAME"
+    start-stop-daemon --stop --pidfile /var/run/mywebapp/mywebapp.pid --oknodo --exec $DAEMON && log_end_msg 0 || log_end_msg 1
+    rm -f /var/run/mywebapp/mywebapp.pid
+    ;;
+  restart)
+    $0 stop
+    $0 start
+    ;;
+  reload|force-reload)
+    log_begin_msg "Reloading $NAME configuration files"
+    start-stop-daemon --stop --pidfile/var/run/mywebapp/mywebapp.pid --signal 1 --exec $DAEMON && log_end_msg 0 || log_end_msg 1
+    ;;
+  *)
+    log_success_msg "Usage: /etc/init.d/$NAME {start|stop|restart|reload}"
+    exit 1
+    ;;
+esac
+
+exit 0
+
+
+
+
+APPENDIX B Init script sample for wtfcgi webapp
+
+
+#!/bin/sh
+
+### BEGIN INIT INFO
+# Provides:          mywebapp
+# Required-Start:    $remote_fs $syslog $network $named $time
+# Required-Stop:     $remote_fs $syslog $network
+# Default-Start:     2 3 4 5
+# Default-Stop:      0 1 6
+# X-Start-Before:    apache2
+# Short-Description: Start mywebapp at boot time
+# Description:       Enable service provided by mywebapp.
+### END INIT INFO
+
+# /etc/init.d/mywebapp
+#
+# Written by Pau Garcia i Quiles <pgquiles@elpauer.org>
+
+set -e
+
+if [ ! -f /etc/elpauer/mywebapp.conf ] ; then
+    exit 0
+fi
+
+DAEMON=/opt/elpauer/mywebapp/bin/mywebapp.fcgi
+NAME=mywebapp.fcgi
+
+test -x $DAEMON || exit 0
+. /lib/lsb/init-functions
+
+case "$1" in
+  start)
+    log_begin_msg "Creating /var/run/wt required by MyWebApp: $NAME"
+    [ -d /var/run/wt ] || mkdir -p /var/run/wt
+    ;;
+  stop)
+    log_begin_msg "Removing /var/run/wt required by MyWebApp: $NAME"
+    ;;
+  restart)
+    $0 stop
+    $0 start
+    ;;
+  *)
+    log_success_msg "Usage: /etc/init.d/$NAME {start|stop|restart}"
+    exit 1
+    ;;
+esac
+
+exit 0
+
+
+APPENDIX C Upstart job
+
+No sample provided, see http://upstart.ubuntu.com/cookbook/#run-a-job-as-a-different-user
--- witty-3.3.5+dfsg.orig/debian/README.source
+++ witty-3.3.5+dfsg/debian/README.source
@@ -0,0 +1,48 @@
+Repackaged source
+=================
+
+This version of Wt was downloaded as a big tarball from the Wt SourceForge site 
+and repackaged as using uscan:
+
+$ uscan --force-download --repack --verbose --watchfile debian/watch
+
+
+jQuery and jPlayer
+==================
+
+Upstream's original tarball include jQuery and jPlayer.
+
+The Debian package does NOT use them: jQuery and jPlayer are replaced by the 
+Debian versions, which is the reason witty depends/build-depens on 
+libjs-jquery and libjs-jquery-jplayer.
+
+
+dpatch
+======
+
+This package uses dpatch(1) to manage all modifications to the upstream source.
+Changes are stored in the source package as dpatch format diffs, and applied 
+from debian/patches at build-time.
+
+To get the fully patched source after unpacking the source package, cd to the 
+root level of the source package and run:
+
+	dpatch apply-all
+
+To add new patches, first apply all existing patches, and then run:
+
+	dpatch-edit-patch <patchname>
+
+Dpatch opens a new shell in a copy of the source tree. Edit the files 
+appropriately and then exit the shell, and dpatch will generate a file called 
+debian/patches/<patchname>. To have new patches applied automatically during 
+build and with dpatch apply-all, add <patchname> to debian/patches/00list.
+
+To reverse all patching, run:
+
+	dpatch deapply-all
+
+  -- Pau Garcia i Quiles <pgquiles@elpauer.org>, Tue, 09 December 2008
+
+(this text is original by Jonathan Wiltshire <debian@jwiltshire.org.uk>, 
+ Wed, 26 November 2008, for the webcpp package)
--- witty-3.3.5+dfsg.orig/debian/TODO
+++ witty-3.3.5+dfsg/debian/TODO
@@ -0,0 +1,14 @@
+- Use unoconv to convert the .odt to PDF and XHTML
+  It has to build-depend on unoconv and openoffice.org-writer, and it will
+  fail because it will block on the registration screen and no socket will
+  be opened, see http://www.oooforum.org/forum/viewtopic.phtml?t=33536 for a
+  possible solution (although complex!)
+
+   /usr/lib/openoffice/basis3.2/share/registry/data/org/openoffice/Setup.xcu
+
+   ...
+   <prop oor:name="ooSetupInstCompleted">
+      <value>false</value> --> CHANGE TO true
+   </prop>
+   ...
+
--- witty-3.3.5+dfsg.orig/debian/changelog
+++ witty-3.3.5+dfsg/debian/changelog
@@ -0,0 +1,616 @@
+witty (3.3.5+dfsg-1.1ubuntu1) yakkety; urgency=medium
+
+  * Merge with Debian; remaining changes:
+    - Drop hardcoded dependency on libmysqlclient18. The macro expansions
+      correctly pick up libmysqlclient20 so this is not required, and we
+      need to drop it for the MySQL 5.7 transition.
+
+ -- Gianfranco Costamagna <locutusofborg@debian.org>  Mon, 03 Oct 2016 11:03:07 +0200
+
+witty (3.3.5+dfsg-1.1) unstable; urgency=medium
+
+  * Non-maintainer upload.
+
+  [ Klaus Neuschwander ]
+  * Fix the packaging to build with dpkg-buildpackage -A
+    (Closes: #805962)
+
+  [ Chris Lamb ]
+  * Drop hardening-wrapper dependency (Closes: #836663)
+
+ -- Gianfranco Costamagna <locutusofborg@debian.org>  Mon, 03 Oct 2016 09:47:19 +0200
+
+witty (3.3.5+dfsg-1ubuntu2) yakkety; urgency=medium
+
+  * Drop build dependency on hardening-wrapper. Addresses: #836663.
+
+ -- Matthias Klose <doko@ubuntu.com>  Wed, 28 Sep 2016 03:43:12 +0200
+
+witty (3.3.5+dfsg-1ubuntu1) yakkety; urgency=medium
+
+  * Merge with Debian; remaining changes:
+    - Drop hardcoded dependency on libmysqlclient18. The macro expansions
+      correctly pick up libmysqlclient20 so this is not required, and we
+      need to drop it for the MySQL 5.7 transition.
+
+ -- Matthias Klose <doko@ubuntu.com>  Wed, 24 Aug 2016 10:27:27 +0200
+
+witty (3.3.5+dfsg-1) unstable; urgency=medium
+
+  * New upstream version
+  * Drop patch 10_fix_unkown_typo (applied upstream)
+  * Drop patch 13_boost1.58 (applied upstream)
+  * Drop patch 0001-Fix-FTBFS-on-arm64-due-to-char-meaning-unsigned-char 
+    (fixed upstream)
+  * Update location of Dbo tutorial per upstream change
+  * Replace dh_clean -k with dh_prep
+  * Update compat to 9 because the above change requires debhelper 9
+
+ -- Pau Garcia i Quiles <pgquiles@elpauer.org>  Wed, 13 Jan 2016 23:31:59 +0100
+
+witty (3.3.4+dfsg-6ubuntu3) yakkety; urgency=medium
+
+  * No-change rebuild for boost soname change.
+
+ -- Matthias Klose <doko@ubuntu.com>  Thu, 04 Aug 2016 21:51:22 +0000
+
+witty (3.3.4+dfsg-6ubuntu2) yakkety; urgency=medium
+
+  * No-change rebuild for boost soname change.
+
+ -- Matthias Klose <doko@ubuntu.com>  Sun, 24 Apr 2016 15:53:20 +0000
+
+witty (3.3.4+dfsg-6ubuntu1) xenial; urgency=medium
+
+  * Drop hardcoded dependency on libmysqlclient18. The macro expansions
+    correctly pick up libmysqlclient20 so this is not required, and we
+    need to drop it for the MySQL 5.7 transition.
+
+ -- Robie Basak <robie.basak@ubuntu.com>  Fri, 15 Apr 2016 14:28:34 +0000
+
+witty (3.3.4+dfsg-6build1) xenial; urgency=medium
+
+  * Rebuild against libmysqlclient20.
+
+ -- Robie Basak <robie.basak@ubuntu.com>  Tue, 05 Apr 2016 13:05:03 +0000
+
+witty (3.3.4+dfsg-6) unstable; urgency=medium
+
+  * Fix "hardcodes dependency on libglew1.10": do not hardcode libglew but 
+    let shlibs take care of it (Closes: #804837)
+  * Do the same for libhpdf and libgraphicsmagick runtimes
+
+ -- Pau Garcia i Quiles <pgquiles@elpauer.org>  Thu, 12 Nov 2015 13:04:28 +0100
+
+witty (3.3.4+dfsg-5) unstable; urgency=medium
+
+  * The GraphicsMagick packagers changed the binary package name
+    (libgraphicsmagick3 => libgraphicsmagick-q16-3) because upstream
+    broke ABI. Implement the change. Closes: #800432
+
+ -- Pau Garcia i Quiles <pgquiles@elpauer.org>  Tue, 29 Sep 2015 22:30:07 +0200
+
+witty (3.3.4+dfsg-4build1) unstable; urgency=medium
+
+  * Rebuild to take the new version of jQuery. Closes: #798332
+
+ -- Pau Garcia i Quiles <pgquiles@elpauer.org>  Fri, 25 Sep 2015 13:12:16 +0200
+
+witty (3.3.4+dfsg-4) unstable; urgency=medium
+
+  * Use Breaks instead of Conflicts to prevent coinstallation with the old,
+    non-split packages (pre-2010!). Thanks to Steve Langasek for reporting.
+  * Add VcsWatch pseudoheaders. Thanks to Barry Warsaw for reporting.
+  * Update overrides with a few more images under /usr/lib/Wt/examples
+
+ -- Pau Garcia i Quiles <pgquiles@elpauer.org>  Mon, 14 Sep 2015 20:47:40 +0200
+
+witty (3.3.4+dfsg-3) unstable; urgency=medium
+
+  * Add patch 13_boost1.58 by Matthias Klose to fix compilation with
+    Boost 1.58.0. Closes: #797220 
+
+ -- Pau Garcia i Quiles <pgquiles@elpauer.org>  Sat, 29 Aug 2015 22:09:37 +0200
+
+witty (3.3.4+dfsg-2) unstable; urgency=medium
+
+  * Add patch 0001-Fix-FTBFS-on-arm64-due-to-char-meaning-unsigned-char.
+    Closes: #791417
+
+ -- Pau Garcia i Quiles <pgquiles@elpauer.org>  Tue, 14 Jul 2015 19:47:47 +0200
+
+witty (3.3.4+dfsg-1) unstable; urgency=medium
+
+  * New upstream version
+  * Upgrade to standards 3.9.6.0 (no changes required)
+  * Detect UglifyJS < 2.x and > 2.x and provide different arguments to the
+    minifier (required to support older Ubuntus)
+
+ -- Pau Garcia i Quiles <pgquiles@elpauer.org>  Mon, 6 Apr 2015 01:08:52 +0200
+
+witty (3.3.3+dfsg-4.1) unstable; urgency=medium
+
+  * Non-maintainer upload.
+  * Adapt uglifyjs parameters to new uglifyjs version (Closes: #769215).
+
+ -- Andreas Stührk <andy@hammerhartes.de>  Sun, 23 Nov 2014 00:37:25 +0100
+
+witty (3.3.3+dfsg-4) unstable; urgency=medium
+
+  * Fix FTBFS due to Doxygen 1.8.8-3 leaving a stale doxygen_sqlite3.db.
+    Closes: #758896
+
+ -- Pau Garcia i Quiles <pgquiles@elpauer.org>  Sat, 23 Aug 2014 13:49:34 +0200
+
+witty (3.3.3+dfsg-3) unstable; urgency=medium
+
+  [Peter Michael Green]
+  * Fix minifier detection logic in debian/rules. Closes: #754662
+  * Change dependencies in debian/rules to use list of architectures where
+    nodejs is available rathe than incomplete list of architectures where
+    it is available.
+
+  [Pau Garcia i Quiles]
+  * Fix patch 12_install_wtconfig (wrong endif condition, although did no
+    harm)
+  * Fix target dependencies in debian/rules to (hopefully) make paralell
+    builds reliable.
+
+ -- Pau Garcia i Quiles <pgquiles@elpauer.org>  Sat, 16 Aug 2014 18:18:42 +0200
+
+witty (3.3.3+dfsg-2) unstable; urgency=medium
+
+  * Use yui-compressor where uglifyjs is not available. Closes: #754662
+  * Remove unused patches 02_freetype, 03_fontawesome and 04_fix_crashes 
+    (applied upstream in 3.3.3)
+  * Add patch 12_install_wtconfig. Closes: #725183 (also, submitted
+    upstream)
+  * Enable parallel build. Closes: #739436
+  * Add read-only relocation linker flag
+
+ -- Pau Garcia i Quiles <pgquiles@elpauer.org>  Fri, 08 Aug 2014 12:38:45 +0200
+
+witty (3.3.3+dfsg-1) unstable; urgency=medium
+
+  * New upstream release
+  * Document lintian overrides
+  * Some tuning and improvements to get-orig-source.sh
+
+ -- Pau Garcia i Quiles <pgquiles@elpauer.org>  Mon, 16 Jun 2014 11:10:05 +0200
+
+witty (3.3.2+dfsg-1) UNRELEASED; urgency=medium
+
+  * New upstream version
+  * Repack upstream tarball. Over the years, too many cruft had accumulated.
+  * Update patch 08_boost_random (only used in the Ubuntu 10.04 backport)
+  * Add patch 02_freetype to enable advanced font rendering (submitted upstream)
+  * Add patch 03_fontawesome to use system Font Awesome 4 instead of 
+    upstream-bundled FontAwesome 3.2.1 (submitted upstream)
+  * Add dependency on libglew, required for server-side WebGL processing
+  * Add dependency on uglifyjs to regenerate all the .min.js
+  * Simplify the rules file, now that most of the clean-up is done on
+    repackaging rather than on build
+  * Add patch 10_fix_unkown_typo to fix a few typos (submitted upstream)
+  * Add patch 11_fix_privacy_breach_logo to avoid fetching pictures from 
+    SourceForge and GitHub (won't submit upstream, as it is DFSG-specific)
+
+
+ -- Pau Garcia i Quiles <pgquiles@elpauer.org>  Sun, 16 Mar 2014 22:13:01 +0100
+
+witty (3.3.1-1) unstable; urgency=low
+
+  * New upstream version
+  * Remove patch 02_find_libmysqlclient (applied upstream)
+  * Remove patch 03_docroot_approot_subfolders (applied upstream)
+  * Add Google Prettify license to copyright
+  * Add Font Awesome 3.2.1 to copyright. It is not possible to use the
+    Debian system-wide version (4.0) because they are apparently
+    incompatible. I am working with upstream on this.
+  * Remove copyright 20_hurd_locking_style from copyright, as it is no
+    longer included
+
+ -- Pau Garcia i Quiles <pgquiles@elpauer.org>  Sat, 26 Oct 2013 22:16:25 +0200
+
+witty (3.3.0-2) unstable; urgency=low
+
+  * Fix wrong dependency of libwtdbomysql-dev on libwtdbofirebird35
+    (Closes: #715127)
+
+ -- Pau Garcia i Quiles <pgquiles@elpauer.org>  Mon, 15 Jul 2013 22:05:03 +0200
+
+witty (3.3.0-1) unstable; urgency=low
+
+  * New upstream version
+  * Update patch 05_examples_cmake_dependencies
+  * Install the Wt::Payment headers, which were missing
+  * Add libwtdbomysql packages with the MySQL/MariaDB backend
+  * Add patch 02_find_libmysqlclient so that libmysqlclient is found
+  * Remove unneeded libpq-dev dependency in libwtdbopostgresql-dev
+  * Remove DM-Upload-Allowed, as it is now obsolete
+
+ -- Pau Garcia i Quiles <pgquiles@elpauer.org>  Fri, 12 Apr 2013 16:57:50 +0200
+
+witty (3.2.3-1) UNRELEASED; urgency=low
+
+  * New upstream version
+
+ -- Pau Garcia i Quiles <pgquiles@elpauer.org>  Mon, 19 Nov 2012 07:49:23 +0100
+
+witty (3.2.2-p1-1) unstable; urgency=low
+
+  * New upstream patch release
+  * Update watch file
+  * Add unminified jquery.js for DFSG compliance (it's not used)
+
+ -- Pau Garcia i Quiles <pgquiles@elpauer.org>  Sat, 11 Aug 2012 12:17:52 +0200
+
+witty (3.2.2-1) UNRELEASED; urgency=low
+
+  * New upstream version
+  * Remove patch 09_oauth_example_missing_o (applied upstream)
+
+ -- Pau Garcia i Quiles <pgquiles@elpauer.org>  Tue, 24 Jul 2012 19:17:53 +0200
+
+witty (3.2.1-2) unstable; urgency=low
+
+  * Add skins to jPlayer (WAudio/WVideo) now that jquery-jplayer-bluemonday
+    has been accepted in the archive
+
+ -- Pau Garcia i Quiles <pgquiles@elpauer.org>  Sat, 26 May 2012 11:15:21 +0100
+
+witty (3.2.1-1) unstable; urgency=low
+
+  * New upstream version
+  * New packages: libwttest, libwtfirebird
+  * Fix libwt-dbg dependencies
+  * Bump to standards 3.9.3.1 (no changes required)
+  * Add patch 08_boost_random (Closes: #653807)
+  * Add patch 09_oauth_fix_missing_o
+  * Add a few headers which do not start with 'W' to libwt-dev.install 
+    (Closes: #668295)
+  * Depend on libjs-jquery-jplayer to  provide jPlayer, instead of using 
+    upstream's bundled version
+  * Fix rules: build-resources was being executed twice
+  * Add note about jQuery and jPlayer to README.source
+
+ -- Pau Garcia i Quiles <pgquiles@elpauer.org>  Sat, 24 Mar 2012 01:53:38 +0100
+
+witty (3.1.11-1) UNRELEASED; urgency=low
+
+  * New upstream version (Closes: #642674)
+  * Drop swfobject-2.2 from dfsg-compliance directory, as Wt no longer uses 
+    SWFObject. The dependency on yui-compressor is no longer needed either.
+  * Drop patch 02_GraphicsMagick_1.2.2 (applied upstream)
+  * Drop patch 03_install_dbotutorial6_example (applied upstream)
+  * Remove leftovers from Wt 3.1.9 packaging
+  * Do not install FindWt.cmake to CMake's own module dir (Closes: #635982)
+  * Add information regarding /var/run/wt to README.Debian (Closes: #616712)
+  * Add build-arch and build-indep targets, although they are only a stub
+    for now
+  * Register examples apidox with doc-base
+  * Add base64.h under zlib license to copyright file
+
+ -- Pau Garcia i Quiles <pgquiles@elpauer.org>  Sat, 24 Sep 2011 14:43:30 +0200
+
+witty (3.1.10-1) unstable; urgency=low
+
+  * New upstream version
+  * Drop patch 03_wt_example_wrappers (applied upstream)
+  * Drop patch 08_boostfilesystem3.dpatch (solved upstream with a similar
+    patch)
+  * Removed libwt-dev dependency on libboost-program-options-dev (it's not
+    necessary, according to upstream)
+  * Fix description-synopsis-starts-with-article lintian warnings
+  * Bump standards to 3.9.2.0 (no changes required)
+
+ -- Pau Garcia i Quiles <pgquiles@elpauer.org>  Fri, 08 Jul 2011 23:17:48 +0200
+
+witty (3.1.9-1) unstable; urgency=low
+
+  * New upstream release
+  * This release includes wt-sdj.odt (the PDF is not generated from the
+    .odt, see TODO for an explanation) (Closes: #613574)
+  * Update patch 01_debug_postfix. Upstream tried apply/improve my former patch
+    by adding the DEBUG_LIB_POSTFIX CMake variable, but messed up
+  * Merge patches 05_examples_check_dependencies and
+    05_examples_link_dependencies for easier maintenance
+  * Remove patch 09_wtdbosqlite3_needs_threads (applied upstream)
+  * Use jquery from Debian package instead of bundled version (add
+    build-dependency on libjs-jquery)
+
+ -- Pau Garcia i Quiles <pgquiles@elpauer.org>  Sat, 09 Apr 2011 19:20:58 +0200
+
+witty (3.1.8-2) unstable; urgency=low
+
+  * Clean-up rules
+  * Apply patch 07_tests_cmake_dependencies again
+  * Build with hardening flags
+
+ -- Pau Garcia i Quiles <pgquiles@elpauer.org>  Sat, 19 Feb 2011 01:45:46 +0100
+
+witty (3.1.8-1) unstable; urgency=low
+
+  * New upstream version
+  * Install resources in /usr/share/Wt
+  * Add new package witty-examples and remove the examples and resources
+    from libwt-doc
+  * Add new patch 03_wt_example_wrappers from winstng (submitted upstream)
+  * Remove dependency on libgd2
+
+ -- Pau Garcia i Quiles <pgquiles@elpauer.org>  Tue, 08 Feb 2011 19:35:16 +0100
+
+witty (3.1.7a-1) UNRELEASED; urgency=low
+
+  * New upstream patch release which fixes a critical problem in
+    Javascript
+
+ -- Pau Garcia i Quiles <pgquiles@elpauer.org>  Wed, 01 Dec 2010 14:31:53 +0100
+
+witty (3.1.7-1) UNRELEASED; urgency=low
+
+  * New upstream release
+  * Build resources/WtSoundManager.swf from the provided source code
+    src/flash/WtSoundManager.as, using the mtasc command line suggested
+    in the source code. Thanks to Simon McVittie for
+    reporting and providing fix. (Closes: #591209)
+  * Provide the source code for SWFObject 2.2 in
+    debian/dfsg-compliance/swfobject-2.2.js, and build resources/swfobject.js
+    by compressing that with yui-compressor. . Thanks to Simon McVittie for
+    reporting and providing fix.
+  * Drop patches 02_fix_soversioning, 06_install_SyncLock_header and 
+    09_wtdbosqlite3_needs_threads (applied upstream)
+  * witty-dev also installs the Wt::Dbo backends. It made little sense to
+    install libwtdbo-dev but not the backends, given that the backends are
+    not dlopen'ed but explicitly linked
+
+ -- Pau Garcia i Quiles <pgquiles@elpauer.org>  Sun, 28 Nov 2010 13:52:18 +0100
+
+witty (3.1.6-1) UNRELEASED; urgency=low
+
+  * New upstream version
+  * Drop patch 06_fix_shebang (applied upstream)
+  * Drop patch 08_cmake_ifmatches (applied upstream)
+  * Combine patches 07_tests_cmake_link_dependencies and 
+    07_tests_cmake_check_dependencies, for easier maintenance
+  * Update patches 02_fix_soversioning and submit upstream
+  * Update 05_examples_cmake_check_dependencies to make sure dependencies 
+    for all examples are found. Update 05_examples_cmake_link_dependencies too
+  * Add patch 06_install_SyncLock_header
+
+ -- Pau Garcia i Quiles <pgquiles@elpauer.org>  Mon, 01 Nov 2010 00:14:35 +0100
+
+witty (3.1.5-1) UNRELEASED; urgency=low
+
+  * Remove patch 02_install_wtdbo_headers (applied upstream)
+  * Add patch 02_fix_soversioning to fix soversioning
+  * Add patch 06_fix_shebang to add shebang to make lintian happy
+  * Add patch 08_cmake_ifmatches to make sure examples are buildable when
+    using the wthttp connector
+  * Update patch 09_wtdbosqlite3_needs_threads 
+    to support old versions of CMake, so that backporting to Lenny is possible
+  * Add build dependency on libhpdf-dev and runtime dependency on
+    libhpdf-2.10 (required for WPdfImage)
+  * Add build dependency on libgraphicsmagick1-dev and runtime dependency on
+    libgraphicsmagick3 (required for WRasterImage)
+  * Build-depend source-highlight >= 2.5, which was the first version to
+    support SQL
+  * Install the Postgres backend for Wt::Dbo if installing binary package
+    'witty' (in the Wt 2.x series, installing 'witty' installed every
+    library you needed)
+  * Add lots of lintian overrides to avoid conflicts-with-version. When
+    renaming and splitting a package into multiple packages,
+    conflicts-with-version gives a false positive.
+  * Build WtSoundManager.swf from source (Closes: #591209)
+  * Update README.Debian with some more information on how to build the
+    examples
+  * Add symlinks to the 'resources' directory in some examples' directories 
+    (needed because of the use of Wt::setCssTheme)
+  * Standard is now 3.9.1.0 (no changes needed)
+  * Add 'DM-Upload-Allowed: yes', preparing for Debian Maintainership
+
+ -- Pau Garcia i Quiles <pgquiles@elpauer.org>  Wed, 22 Sep 2010 13:26:05 +0200
+
+witty (3.1.2-3) testing; urgency=low
+
+  * Build resources/WtSoundManager.swf from the provided source code
+    src/flash/WtSoundManager.as, using the mtasc command line suggested
+    in the source code (Closes: #591209). Thanks to Simon McVittie for
+    reporting.
+  * Provide the source code for SWFObject 2.2 in
+    debian/dfsg-compliance/swfobject-2.2.js, and build resources/swfobject.js
+    by compressing that with yui-compressor
+
+ -- Pau Garcia i Quiles <pgquiles@elpauer.org>  Sun, 28 Nov 2010 13:44:45 +0100
+
+witty (3.1.2-2) unstable; urgency=low
+
+  * Add patch by Mike Teehan to install Wt::Dbo headers
+
+ -- Pau Garcia i Quiles <pgquiles@elpauer.org>  Fri, 09 Apr 2010 14:02:28 +0200
+
+witty (3.1.2-1) unstable; urgency=low
+
+  * New upstream release
+  * Add build-dependency on libpq-dev, for Wt::Dbo PostgreSQL backend
+  * Update copyright file to add JQuery and Sizzle.js
+  * Explicitly set source format to 1.0 until Launchpad PPAs support source 
+    format 3.0 for Ubuntu releases prior to Lucid or I stop supporting Jaunty 
+    and Karmic in my PPA
+
+ -- Pau Garcia i Quiles <pgquiles@elpauer.org>  Sat, 27 Mar 2010 00:28:13 +0100
+
+witty (3.1.1a-1) UNRELEASED; urgency=low
+
+  * New upstream release
+  * Remove MiniXML from 'copyright', add RapidXML
+  * Add libwt-common package, containing the wt_config.xml file to make it
+    possible to coinstall several versions of the runtime libraries
+  * Bump standards to 3.8.4.0 (no changes needed)
+  * Update build-depends from Boost 1.35.0 to 1.36.0, as did upstream
+  * Bump soversion: wt 20, wtext 13, wtdbo/wtdbosqlite 2
+  * Update patch 05_examples_cmake_link_dependencies
+  * Drop patch 08_wt_config_in_builddir (fixed upstream)
+  * Update patch 09_wtdbosqlite3_needs_threads
+  * Drop patch 10_fix_zlib_use_definition_in_wconfig (fixed upstream)
+  * Drop patch 11_use_system_sqlite3 (fixed upstream)
+  * Update watch file to cope with patch releases such as 3.1.1a (with a
+    letter at the end)
+
+ -- Pau Garcia i Quiles <pgquiles@elpauer.org>  Thu, 18 Feb 2010 09:58:06 +0100
+
+witty (3.1.0a-1) unstable; urgency=low
+
+  * New upstream release
+  * New ORM library: Wt::Dbo
+  * Rename binary packages (witty -> libwt) and provide transition plan as
+    http://wiki.debian.org/Renaming_a_Package, method A recommends. Use
+    "Replaces/Conflics (<< 3.1.0a~)" instead of << 3.1.0a so that backports 
+    work fine.
+  * Build static libraries in addition to dynamic libraries
+  * Split witty-dev into several packages, one for each library: libwt-dev, 
+    libwthttp-dev, libwtfcgi-dev, libwtdbo-dev, libwtext-dev, etc and
+    properly soversion package names
+  * Update README.Debian to with the static libraries and the split
+    packaging information
+  * Register Wt::Dbo tutorial in doc-base and update the Wt tutorial
+    location
+  * Add asciidoc and source-highlight to build-dependencies to generate the 
+    Wt::Dbo tutorial
+  * As dh_strip is unable to extract debug information from the static
+    libraries if CMAKE_BUILD_TYPE=RelWithDebInfo, tell CMake to use 
+    CMAKE_BUILD_TYPE=Release for the static build
+  * Suggest libboost-test-dev for libwt-doc, as it's required for the tests
+  * Make libmysql++-dev a suggestion for libwt-doc (for the Hangman DB
+    example) instead of a build-depends
+  * Drop patches
+    - 03_build_with_gcc44 (fixed upstream)
+    - 04_if_variablename_instead_of_variablevalue (fixed upstream)
+    - 06_hangman_build_with_mysqlpp3 (fixed upstream)
+    - 07_link_to_threads_library (fixed upstream)
+  * Update patch 05_examples_cmake_check_dependencies to properly check for 
+    dependencies when building the examples from /usr/share/doc/libwt-doc
+  * Add patch 05_examples_cmake_link_dependencies to properly link examples
+    from /usr/share/doc/libwt-doc when not building Wt.
+  * Add patch 07_tests_cmake_check_dependencies to properly check for 
+    dependencies when building the tests from /usr/share/doc/libwt-doc
+  * Add patch 07_tests_cmake_link_dependencies to properly link dependencies 
+    when building the tests from /usr/share/doc/libwt-doc.
+  * Add patch 08_wt_config_in_builddir to generate files in the build
+    directory instead of the source directory (submitted & applied upstream)
+  * Add patch 09_wtdbosqlite3_needs_threads to fix linkage with pthreads 
+    library (submitted & applied upstream)
+  * Add patch 10_fix_zlib_use_definition_in_wconfig to remove the 
+    WTHTTP_WITH_ZLIB definition from /usr/include/WConfig.h because it was 
+    wrong (always undefined) and it was internal (submitted & applied upstream)
+  * Add patch 11_use_system_sqlite3 to use Debian's Sqlite3 package instead
+    of the bundled version (submitted & applied upstream)
+  * Update copyright: 
+    - Add Pieter Libin to upstream authors
+    - Remove Orbited library, as it has been replaced by Wt's own
+      implementation in Wt 3.0
+  * Change section (web -> libdevel) to make lintian happy. Wt belongs to
+    either of them, anyway.
+
+ -- Pau Garcia i Quiles <pgquiles@elpauer.org>  Tue, 29 Dec 2009 16:53:11 +0100
+
+witty (2.2.4-3) unstable; urgency=low
+
+  * Build-depend on default Boost version in Debian. Bump shlibs as we were
+    building against Boost 1.38.0 and this means we will now build against
+    1.40.0
+  * Fix building some examples from /usr/share/doc/witty-doc/examples, see
+    http://thread.gmane.org/gmane.comp.web.witty.general/3356. Wt's own CMake
+    modules (WtFindXXX.txt) are now installed to /usr/share/doc/witty-doc,
+    just for this purpose.
+  * Make witty-dev depend on libboost-dev packages, libssl-dev, etc. Otherwise, 
+    the user would need to install the manually or it would be impossible to 
+    build applications
+  * Register docs using doc-base and make witty-doc recommend doc-base
+  * Bump standards to 3.8.3.0
+
+ -- Pau Garcia i Quiles <pgquiles@elpauer.org>  Sun, 11 Oct 2009 14:40:49 +0200
+
+witty (2.2.4-2) unstable; urgency=low
+
+  * Update shlibs
+
+ -- Pau Garcia i Quiles <pgquiles@elpauer.org>  Sun, 24 May 2009 23:17:57 +0200
+
+witty (2.2.4-1) unstable; urgency=low
+
+  * New upstream release 
+  * Fix bug #524109 (/etc/wt/wt_config.xml being ignored)
+  * Build against Boost 1.38.0 to fix bug #527803 (FTBFS with Boost 1.35.0)
+  * Add missing includes to fix bug #526664 (FTBFS with gcc 4.4, patch
+    03_build_with_gcc44.dpatch )
+  * Move the -dbg package to the debug section
+  * Recommend installing TinyMCE
+  * Point to GPL-2 instead of just "GPL", which now refers to GPL-3
+  * Fix wrong IF in hello-widgetset example (patch
+    04_cmake_if_variablename_instead_of_variablevalue.dpatch )
+
+ -- Pau Garcia i Quiles <pgquiles@elpauer.org>  Fri, 24 Apr 2009 17:22:33 +0200
+
+witty (2.2.3-1) unstable; urgency=low
+
+  * New upstream release
+  * Do not run 'ldconfig' in the 'postinst' script as this is automatically
+    done by dh_makeshlibs
+  * Remove patch 02_fix_soversion (this was needed in 2.2.2 because upstream
+    forgot to bump soversion)
+  * Add "Copyright" wherever debian/changelog contained "(C)" to make
+    lintian happy
+
+ -- Pau Garcia i Quiles <pgquiles@elpauer.org>  Wed, 28 Jan 2009 11:19:12 +0100
+
+witty (2.2.2-1) unstable; urgency=low
+
+  * New upstream release
+  * Add information about dpatch
+  * Fix typo in the 'remove' section of the postinst script ('lconfig' ->
+    'ldconfig')
+  * Install FindWt in /usr/share/cmake-2.6/Modules, as CMake 2.6 is 
+    what Debian Sid carries these days
+
+ -- Pau Garcia i Quiles <pgquiles@elpauer.org>  Sun, 07 Dec 2008 16:46:39 +0100
+
+witty (2.2.1-1) unstable; urgency=low
+
+  * New upstream release
+
+ -- Pau Garcia i Quiles <pgquiles@elpauer.org>  Tue, 04 Nov 2008 00:31:11 +0100
+
+witty (2.2.0-1) unstable; urgency=low
+
+  * New upstream release 
+  * Modify .install files as needed by the new soversions
+  * Copyright: Amended my notes in the copyright file: MXML is under LGPL2 
+    and the license included in the copyright file was LGPL2 but for some 
+    reason, my notes said it was under GPL2
+  * Copyright: specify witty/src/web/random_device.cpp license and copyright
+  * Copyright: removed rsh license from copyright as rsh is no longer used in 
+    Wt 2.2
+  * Copyright: add license and copyright for the 'history' function in 
+    src/web/skeleton/Wt.js
+  * Copyright: add license and copyright for the 'arrayRemove' function in
+    src/web/skeleton/Wt.js
+  * Copyright: specify witty/cmake/FindWt.cmake license and copyright
+
+ -- Pau Garcia i Quiles <pgquiles@elpauer.org>  Fri, 12 Sep 2008 22:16:30 +0200
+
+witty (2.1.5-1) unstable; urgency=low
+
+  * New upstream version
+  * Dropping patch to install headers in /usr/include/Wt instead of
+    /usr/include (02_install_headers_to_include_Wt.dpatch) due to
+    inclusion in upstream
+  * witty-dev now suggests installing libqt4-dev, as the wtwithqt 
+    example/library need Qt4
+
+ -- Pau Garcia i Quiles <pgquiles@elpauer.org>  Sun, 10 Aug 2008 10:37:28 +0100
+
+witty (2.1.4-1) unstable; urgency=low
+
+  * Initial release (Closes: #473096)
+
+ -- Pau Garcia i Quiles <pgquiles@elpauer.org>  Thu, 24 Jul 2008 01:42:28 +0100
--- witty-3.3.5+dfsg.orig/debian/compat
+++ witty-3.3.5+dfsg/debian/compat
@@ -0,0 +1 @@
+9
--- witty-3.3.5+dfsg.orig/debian/control
+++ witty-3.3.5+dfsg/debian/control
@@ -0,0 +1,464 @@
+Source: witty
+Priority: extra
+Maintainer: Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com>
+XSBC-Original-Maintainer: Pau Garcia i Quiles <pgquiles@elpauer.org>
+Build-Depends: debhelper (>= 9), dpatch, libfcgi-dev, zlib1g-dev,
+ libboost-dev (>= 1.36.0), cmake,
+ libboost-date-time-dev (>= 1.36.0), libboost-filesystem-dev (>= 1.36.0), 
+ libboost-signals-dev (>= 1.36.0),libboost-regex-dev (>= 1.36.0),
+ libboost-program-options-dev (>= 1.36.0), libboost-thread-dev (>= 1.36.0), 
+ libboost-random-dev (>= 1.36.0), libssl-dev, libsqlite3-dev, libpq-dev, 
+ doxygen, graphviz, asciidoc, source-highlight (>= 2.5-1~ ), libhpdf-dev, 
+ mtasc, libgraphicsmagick1-dev, lsb-release, libjs-jquery,
+ libpango1.0-dev, python-pygments, firebird2.5-dev, libjs-jquery-jplayer, 
+ jquery-jplayer-bluemonday, libmysqlclient-dev, fonts-font-awesome,
+ libglew-dev (>= 1.10), libqt4-dev, 
+ yui-compressor [!amd64 !armel !armhf !i386 !kfreebsd-amd64 !kfreebsd-i386 !mipsel],
+ node-uglify [amd64 armel armhf i386 kfreebsd-amd64 kfreebsd-i386 mipsel]
+Standards-Version: 3.9.6.1
+Section: libdevel
+Vcs-Git: git://anonscm.debian.org/pkg-witty/pkg-witty.git
+Vcs-Browser: http://anonscm.debian.org/cgit/pkg-witty/pkg-witty.git/
+Homepage: http://www.webtoolkit.eu/
+
+Package: libwt-common
+Replaces: witty (<< 3.1.0a-1~), libwt19
+Breaks: witty (<< 3.1.0a-1~), libwt19
+Architecture: all
+Depends: ${shlibs:Depends}, ${cli:Depends}, ${misc:Depends},
+ libjs-jquery-jplayer, jquery-jplayer-bluemonday, fonts-font-awesome
+Recommends: libwt39 (= ${binary:Version})
+Description: C++ library and application server for web applications [common]
+ Wt (pronounced 'witty') is a C++ library and application server for
+ developing and deploying web applications. The API is widget-centric
+ and offers complete abstraction of any web-specific application details.
+ .
+ This package contains only the Wt common files, such as config files, etc
+
+Package: libwt39
+Provides: witty
+Replaces: witty (<< 3.1.0a-1~), libwt19
+Breaks: witty (<< 3.1.0a-1~), libwt19
+Architecture: any
+Depends: ${shlibs:Depends}, ${cli:Depends}, ${misc:Depends}, 
+ libwt-common (>= 3.1.0a-1~)
+Recommends: tinymce (>= 3.0.7),
+ libwthttp39 (= ${binary:Version}) | libwtfcgi39 (= ${binary:Version}) |
+ libwttest9 (= ${binary:Version})
+Description: C++ library and application server for web applications [runtime]
+ Wt (pronounced 'witty') is a C++ library and application server for
+ developing and deploying web applications. The API is widget-centric
+ and offers complete abstraction of any web-specific application details.
+ .
+ This package contains the Wt core library but you still need to install
+ a connector, either the HTTP connector (libwthttp), the FastCGI 
+ connector (libwtfcgi) or the test connector (libwttest).
+
+Package: libwt-dev
+Provides: witty-dev
+Replaces: witty-dev (<< 3.1.0a-1~)
+Breaks: witty-dev (<< 3.1.0a-1~)
+Architecture: any
+Depends: ${shlibs:Depends}, ${cli:Depends}, ${misc:Depends},
+ libwt39 (= ${binary:Version}),
+ libboost-dev (>= 1.36.0), libboost-date-time-dev (>= 1.36.0),
+ libssl-dev, libfcgi-dev, libboost-filesystem-dev (>= 1.36.0),
+ libboost-regex-dev (>=1.36.0),
+ libboost-signals-dev (>= 1.36.0), libboost-thread-dev (>= 1.36.0)
+Recommends: libwthttp-dev (= ${binary:Version}) | libwtfcgi-dev (= ${binary:Version}) |
+ libwttest-dev (= ${binary:Version})
+Description: C++ library and application server for web applications [development]
+ Wt (pronounced 'witty') is a C++ library and application server for
+ developing and deploying web applications. The API is widget-centric
+ and offers complete abstraction of any web-specific application details.
+ .
+ This package contains the development files for the Wt core library but you 
+ still need to install a connector, either the HTTP connector (libwthttp-dev), 
+ the FastCGI connector (libwtfcgi-dev) or the test connector (libwttest-dev).
+
+Package: libwthttp39
+Provides: witty
+Replaces: witty (<< 3.1.0a-1~)
+Breaks: witty (<< 3.1.0a-1~)
+Architecture: any
+Depends: ${shlibs:Depends}, ${cli:Depends}, ${misc:Depends}, 
+ libwt39 (= ${binary:Version})
+Description: HTTP(S) connector library for Wt [runtime]
+ Wt (pronounced 'witty') is a C++ library and application server for
+ developing and deploying web applications. The API is widget-centric
+ and offers complete abstraction of any web-specific application details.
+ .
+ This package contains the Wt embedded HTTP server connector
+ library.
+
+Package: libwthttp-dev
+Provides: witty-dev
+Replaces: witty-dev (<< 3.1.0a-1~)
+Breaks: witty-dev (<< 3.1.0a-1~)
+Architecture: any
+Depends: ${shlibs:Depends}, ${cli:Depends}, ${misc:Depends},
+ libwthttp39 (= ${binary:Version}), libwt-dev (= ${binary:Version})
+Description: HTTP(S) connector library for Wt [development]
+ Wt (pronounced 'witty') is a C++ library and application server for
+ developing and deploying web applications. The API is widget-centric
+ and offers complete abstraction of any web-specific application details.
+ .
+ This package contains the development files for the Wt embedded HTTP server 
+ connector library.
+
+Package: libwtfcgi39
+Provides: witty
+Replaces: witty (<< 3.1.0a-1~)
+Breaks: witty (<< 3.1.0a-1~)
+Architecture: any
+Depends: ${shlibs:Depends}, ${cli:Depends}, ${misc:Depends},
+ libwt39 (= ${binary:Version})
+Description: FastCGI connector library for Wt [runtime]
+ Wt (pronounced 'witty') is a C++ library and application server for
+ developing and deploying web applications. The API is widget-centric
+ and offers complete abstraction of any web-specific application details.
+ .
+ This package contains the Wt FastCGI connector library.
+
+Package: libwtfcgi-dev
+Provides: witty-dev
+Replaces: witty-dev (<< 3.1.0a-1~)
+Breaks: witty-dev (<< 3.1.0a-1~)
+Architecture: any
+Depends: ${shlibs:Depends}, ${cli:Depends}, ${misc:Depends},
+ libwtfcgi39 (= ${binary:Version}), libwt-dev (= ${binary:Version})
+Description: FastCGI connector library for Wt [development]
+ Wt (pronounced 'witty') is a C++ library and application server for
+ developing and deploying web applications. The API is widget-centric
+ and offers complete abstraction of any web-specific application details.
+ .
+ This package contains the development files for the Wt FastCGI connector 
+ library.
+
+Package: libwttest9
+Provides: witty
+Replaces: witty (<< 3.1.0a-1~), libwt19
+Breaks: witty (<< 3.1.0a-1~), libwt19
+Architecture: any
+Depends: ${shlibs:Depends}, ${cli:Depends}, ${misc:Depends}, 
+ libwt39 (>= 3.1.0a-1~)
+Description: test connector library for Wt [runtime]
+ Wt (pronounced 'witty') is a C++ library and application server for
+ developing and deploying web applications. The API is widget-centric
+ and offers complete abstraction of any web-specific application details.
+ .
+ This package contains the Wt test connector library.
+
+Package: libwttest-dev
+Provides: witty-dev
+Replaces: witty-dev (<< 3.1.0a-1~)
+Breaks: witty-dev (<< 3.1.0a-1~)
+Architecture: any
+Depends: ${shlibs:Depends}, ${cli:Depends}, ${misc:Depends},
+ libwttest9 (= ${binary:Version}), libwt-dev (=${binary:Version})
+Recommends: libwthttp-dev (= ${binary:Version}) | libwtfcgi-dev (= ${binary:Version}) |
+ libwttest-dev (= ${binary:Version})
+Description: test connector library for Wt [development]
+ Wt (pronounced 'witty') is a C++ library and application server for
+ developing and deploying web applications. The API is widget-centric
+ and offers complete abstraction of any web-specific application details.
+ .
+ This package contains the development files for the Wt test connector
+ library.
+
+Package: libwtext39
+Provides: witty
+Replaces: witty (<< 3.1.0a-1~)
+Breaks: witty (<< 3.1.0a-1~)
+Architecture: any
+Depends: ${shlibs:Depends}, ${cli:Depends}, ${misc:Depends},
+ libwt39 (= ${binary:Version})
+Recommends: libwthttp39 (= ${binary:Version}) | libwtfcgi39 (= ${binary:Version}) |
+ libwttest9 (= ${binary:Version})
+Description: additional widgets for Wt, based on ExtJS 2.0.x [runtime]
+ Wt (pronounced 'witty') is a C++ library and application server for
+ developing and deploying web applications. The API is widget-centric
+ and offers complete abstraction of any web-specific application details.
+ .
+ This package contains the Wt ExtJS adapter library.
+
+Package: libwtext-dev
+Provides: witty-dev
+Replaces: witty-dev (<< 3.1.0a-1~)
+Breaks: witty-dev (<< 3.1.0a-1~)
+Architecture: any
+Depends: ${shlibs:Depends}, ${cli:Depends}, ${misc:Depends},
+ libwtext39 (= ${binary:Version}), libwt-dev (= ${binary:Version})
+Recommends: libwthttp-dev (= ${binary:Version}) | libwtfcgi-dev (= ${binary:Version}) |
+ libwttest-dev (= ${binary:Version})
+Description: additional widgets for Wt, based on ExtJS 2.0.x [development]
+ Wt (pronounced 'witty') is a C++ library and application server for
+ developing and deploying web applications. The API is widget-centric
+ and offers complete abstraction of any web-specific application details.
+ .
+ This package contains the development files for the Wt ExtJS adapter library.
+
+Package: libwtdbo39
+Provides: witty-dev
+Breaks: witty-dev (<< 3.1.0a-1~)
+Architecture: any
+Depends: ${shlibs:Depends}, ${cli:Depends}, ${misc:Depends},
+ libwt39 (= ${binary:Version})
+Recommends:
+ libwthttp39 (= ${binary:Version}) | libwtfcgi39 (= ${binary:Version}) |
+ libwttest9 (= ${binary:Version})
+Description: Wt::Dbo ORM library for Wt [runtime]
+ Wt (pronounced 'witty') is a C++ library and application server for
+ developing and deploying web applications. The API is widget-centric
+ and offers complete abstraction of any web-specific application details.
+ .
+ This package contains the Wt::Dbo Object-Relational Mapping library.
+
+Package: libwtdbo-dev
+Provides: witty-dev
+Breaks: witty-dev (<< 3.1.0a-1~)
+Architecture: any
+Depends: ${shlibs:Depends}, ${cli:Depends}, ${misc:Depends},
+ libwtdbo39 (= ${binary:Version}), libwt-dev (= ${binary:Version})
+Recommends: libwthttp-dev (= ${binary:Version}) | libwtfcgi-dev (= ${binary:Version}) |
+ libwttest-dev (= ${binary:Version})
+Description: Wt::Dbo ORM library for Wt [development]
+ Wt (pronounced 'witty') is a C++ library and application server for
+ developing and deploying web applications. The API is widget-centric
+ and offers complete abstraction of any web-specific application details.
+ .
+ This package contains the development files for the Wt::Dbo Object-Relational 
+ Mapping library.
+
+Package: libwtdbosqlite39
+Provides: witty-dev
+Breaks: witty-dev (<< 3.1.0a-1~)
+Architecture: any
+Depends: ${shlibs:Depends}, ${cli:Depends}, ${misc:Depends},
+ libwtdbo39 (= ${binary:Version})
+Recommends: libwthttp39 (= ${binary:Version}) | libwtfcgi39 (= ${binary:Version}) |
+ libwttest9 (= ${binary:Version})
+Description: sqlite3 backend for Wt::Dbo [runtime]
+ Wt (pronounced 'witty') is a C++ library and application server for
+ developing and deploying web applications. The API is widget-centric
+ and offers complete abstraction of any web-specific application details.
+ .
+ This package contains the Sqlite3 backend for Wt::Dbo.
+
+Package: libwtdbosqlite-dev
+Provides: witty-dev
+Breaks: witty-dev (<< 3.1.0a-1~)
+Architecture: any
+Depends: ${shlibs:Depends}, ${cli:Depends}, ${misc:Depends},
+ libwtdbosqlite39 (= ${binary:Version}), libwtdbo-dev (= ${binary:Version})
+Recommends: libwthttp-dev (= ${binary:Version}) | libwtfcgi-dev (= ${binary:Version}) |
+ libwttest-dev (= ${binary:Version})
+Description: sqlite3 backend for Wt::Dbo [development]
+ Wt (pronounced 'witty') is a C++ library and application server for
+ developing and deploying web applications. The API is widget-centric
+ and offers complete abstraction of any web-specific application details.
+ .
+ This package contains the development files for the Sqlite3 backend 
+ for Wt::Dbo.
+
+Package: libwtdbopostgres39
+Provides: witty-dev
+Breaks: witty-dev (<< 3.1.0a-1~)
+Architecture: any
+Depends: ${shlibs:Depends}, ${cli:Depends}, ${misc:Depends},
+ libwtdbo39 (= ${binary:Version}), libpq5
+Recommends: libwthttp39 (= ${binary:Version}) | libwtfcgi39 (= ${binary:Version}) |
+ libwttest9 (= ${binary:Version})
+Description: PostgreSQL backend for Wt::Dbo [runtime]
+ Wt (pronounced 'witty') is a C++ library and application server for
+ developing and deploying web applications. The API is widget-centric
+ and offers complete abstraction of any web-specific application details.
+ .
+ This package contains the PostgreSQL backend for Wt::Dbo.
+
+Package: libwtdbopostgres-dev
+Provides: witty-dev
+Breaks: witty-dev (<< 3.1.0a-1~)
+Architecture: any
+Depends: ${shlibs:Depends}, ${cli:Depends}, ${misc:Depends},
+ libwtdbopostgres39 (= ${binary:Version}), libwtdbo-dev (= ${binary:Version})
+Recommends: libwthttp-dev (= ${binary:Version}) | libwtfcgi-dev (= ${binary:Version}) |
+ libwttest-dev (= ${binary:Version})
+Description: PostgreSQL backend for Wt::Dbo [development]
+ Wt (pronounced 'witty') is a C++ library and application server for
+ developing and deploying web applications. The API is widget-centric
+ and offers complete abstraction of any web-specific application details.
+ .
+ This package contains the development files for the PostgreSQL backend 
+ for Wt::Dbo.
+
+Package: libwtdbofirebird39
+Provides: witty-dev
+Breaks: witty-dev (<< 3.1.0a-1~)
+Architecture: any
+Depends: ${shlibs:Depends}, ${cli:Depends}, ${misc:Depends},
+ libwtdbo39 (= ${binary:Version})
+Recommends: libwthttp39 (= ${binary:Version}) | libwtfcgi39 (= ${binary:Version}) |
+ libwttest9 (= ${binary:Version})
+Description: Firebird backend for Wt::Dbo [runtime]
+ Wt (pronounced 'witty') is a C++ library and application server for
+ developing and deploying web applications. The API is widget-centric
+ and offers complete abstraction of any web-specific application details.
+ .
+ This package contains the Firebird backend for Wt::Dbo.
+
+Package: libwtdbofirebird-dev
+Provides: witty-dev
+Breaks: witty-dev (<< 3.1.0a-1~)
+Architecture: any
+Depends: ${shlibs:Depends}, ${cli:Depends}, ${misc:Depends},
+ libwtdbofirebird39 (= ${binary:Version}), libwtdbo-dev (= ${binary:Version})
+Recommends: libwthttp-dev (= ${binary:Version}) | libwtfcgi-dev (= ${binary:Version}) |
+ libwttest-dev (= ${binary:Version})
+Description: Firebird backend for Wt::Dbo [development]
+ Wt (pronounced 'witty') is a C++ library and application server for
+ developing and deploying web applications. The API is widget-centric
+ and offers complete abstraction of any web-specific application details.
+ .
+ This package contains the development files for the Firebird backend 
+ for Wt::Dbo.
+
+Package: libwtdbomysql39
+Provides: witty-dev
+Breaks: witty-dev (<< 3.1.0a-1~)
+Architecture: any
+Depends: ${shlibs:Depends}, ${cli:Depends}, ${misc:Depends},
+ libwtdbo39 (= ${binary:Version})
+Recommends: libwthttp39 (= ${binary:Version}) | libwtfcgi39 (= ${binary:Version}) |
+ libwttest9 (= ${binary:Version})
+Description: MySQL/MariaDB backend for Wt::Dbo [runtime]
+ Wt (pronounced 'witty') is a C++ library and application server for
+ developing and deploying web applications. The API is widget-centric
+ and offers complete abstraction of any web-specific application details.
+ .
+ This package contains the MySQL/MariaDB backend for Wt::Dbo.
+
+Package: libwtdbomysql-dev
+Provides: witty-dev
+Breaks: witty-dev (<< 3.1.0a-1~)
+Architecture: any
+Depends: ${shlibs:Depends}, ${cli:Depends}, ${misc:Depends},
+ libwtdbomysql39 (= ${binary:Version}), libwtdbo-dev (=
+ ${binary:Version})
+Recommends: libwthttp-dev (= ${binary:Version}) | libwtfcgi-dev (= ${binary:Version}) |
+ libwttest-dev (= ${binary:Version})
+Description: MySQL/MariaDB backend for Wt::Dbo [development]
+ Wt (pronounced 'witty') is a C++ library and application server for
+ developing and deploying web applications. The API is widget-centric
+ and offers complete abstraction of any web-specific application details.
+ .
+ This package contains the development files for the MySQL/MariaDB backend 
+ for Wt::Dbo.
+
+Package: libwt-dbg
+Provides: witty-dbg
+Replaces: witty-dbg (<< 3.1.0a-1~)
+Breaks: witty-dbg (<< 3.1.0a-1~)
+Architecture: any
+Section: debug
+Depends: ${misc:Depends}, libwt39 (= ${binary:Version}), 
+ libwthttp39 (= ${binary:Version}) | libwtfcgi39 (= ${binary:Version}) |
+ libwttest9 (= ${binary:Version}), libwtext39 (= ${binary:Version}),
+ libwtdbo39 (= ${binary:Version}), libwtdbosqlite39 (= ${binary:Version})
+Description: C++ library and application server for web applications [debug]
+ Wt (pronounced 'witty') is a C++ library and application server for
+ developing and deploying web applications. The API is widget-centric
+ and offers complete abstraction of any web-specific application details.
+ .
+ This package contains debugging files used to investigate problems with
+ binaries included in the Wt packages.
+
+Package: libwt-doc
+Section: doc
+Provides: witty-doc
+Replaces: witty-doc (<< 3.1.0a-1~)
+Breaks: witty-doc (<< 3.1.0a-1~)
+Architecture: all
+Depends: ${misc:Depends}
+Suggests: libwt-dev (= ${binary:Version}),
+ libwthttp-dev (= ${binary:Version}) | libwtfcgi-dev (= ${binary:Version}) |
+ libwttest-dev (=${binary:Version}), libwtext-dev (= ${binary:Version}), 
+ libwtdbo-dev (= ${binary:Version}), libboost-test-dev (>= 1.36.0), libmysql++-dev, witty-examples
+Recommends: doc-base
+Description: C++ library and application server for web applications [doc]
+ Wt (pronounced 'witty') is a C++ library and application server for
+ developing and deploying web applications. The API is widget-centric
+ and offers complete abstraction of any web-specific application details.
+ .
+ This package contains the API documentation and tutorials.
+
+Package: witty-examples
+Architecture: any
+Depends: ${shlibs:Depends}, ${misc:Depends}, libwthttp39, libwtext39,
+ libwtdbosqlite39, libboost-program-options-dev, libqt4-dev
+Suggests: libwt-doc, witty-dev
+Description: C++ library for webapps [examples]
+ Wt (pronounced 'witty') is a C++ library and application server for
+ developing and deploying web applications. The API is widget-centric
+ and offers complete abstraction of any web-specific application details.
+ .
+ This package installs the examples in binary and source form to the
+ /usr/lib/Wt/examples directory.
+
+Package: witty
+Architecture: all
+Depends: ${misc:Depends}, libwt39, libwthttp39 | libwtfcgi39 | libwttest9, 
+ libwtext39, libwtdbo39, libwtdbosqlite39, libwtdbopostgres39, 
+ libwtdbofirebird39, witty-examples
+Description: C++ library for webapps [runtime] (transition package)
+ Wt (pronounced 'witty') is a C++ library and application server for
+ developing and deploying web applications. The API is widget-centric
+ and offers complete abstraction of any web-specific application details.
+ .
+ This package installs the Witty libraries
+ .
+ This is a dummy transition package and can be safely removed.
+
+Package: witty-dbg
+Architecture: all
+Section: debug
+Depends: ${misc:Depends}, libwt-dbg
+Description: C++ library for webapps [debug] (transition package)
+ Wt (pronounced 'witty') is a C++ library and application server for
+ developing and deploying web applications. The API is widget-centric
+ and offers complete abstraction of any web-specific application details.
+ .
+ This package installs debugging files used to investigate problems with
+ binaries included in the Wt packages.
+ .
+ This is a dummy transition package and can be safely removed.
+
+Package: witty-dev
+Architecture: all
+Depends: ${shlibs:Depends}, ${cli:Depends}, ${misc:Depends},
+ libwt-dev, libwthttp-dev | libwtfcgi-dev | libwttest-dev, libwtext-dev, 
+ libwtdbo-dev, libwtdbosqlite-dev, libwtdbopostgres-dev, libwtdbofirebird-dev
+Description: C++ library for webapps [devel] (transition package)
+ Wt (pronounced 'witty') is a C++ library and application server for
+ developing and deploying web applications. The API is widget-centric
+ and offers complete abstraction of any web-specific application details.
+ .
+ This package installs development files for building software that uses the
+ Wt libraries.
+ .
+ This is a dummy transition package and can be safely removed. 
+
+Package: witty-doc
+Section: doc
+Architecture: all
+Depends: ${misc:Depends}, libwt-doc
+Suggests: witty-dev
+Recommends: doc-base
+Description: C++ library for webapps [doc] (transition package)
+ Wt (pronounced 'witty') is a C++ library and application server for
+ developing and deploying web applications. The API is widget-centric
+ and offers complete abstraction of any web-specific application details.
+ .
+ This package installs the documentation and examples.
+ .
+ This is a dummy transition package and can be safely removed.
--- witty-3.3.5+dfsg.orig/debian/copyright
+++ witty-3.3.5+dfsg/debian/copyright
@@ -0,0 +1,305 @@
+This package was debianized by Pau Garcia i Quiles <pgquiles@elpauer.org> on
+Sat, 05 Jul 2008 10:37:30 +0100.
+
+It was downloaded from http://www.webtoolkit.eu/
+
+Upstream Author: Koen Deforche (koen@emweb.be), Wim Dumon (wim@emweb.be),
+Pieter Libin (pieter@emweb.be)
+
+Copyright: 2005-2014, Koen Deforche, Wim Dumon
+
+License:
+
+   This package is dual licensed under the GPLv2 and a commercial license
+
+   * GPLv2
+
+   In addition to the license terms of the GNU General Public License,
+   Version 2, as copied below, Emweb bvba gives permission to link the
+   code of its release of Wt with the OpenSSL project's "OpenSSL" library
+   (or with modified versions of it that use the same license as the
+   "OpenSSL" library), and distribute the linked executables. You must
+   obey the GNU General Public License in all respects for all of the
+   code used other than "OpenSSL". If you modify this file, you may
+   extend this exception to your version of the file, but you are not
+   obligated to do so. If you do not wish to do so, delete this exception
+   statement from your version.
+
+   Wt is licensed under the GNU GPL Version 2. Other versions of the GPL do
+   not apply.
+
+   This package is distributed in the hope that it will be useful,
+   but WITHOUT ANY WARRANTY; without even the implied warranty of
+   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+   GNU General Public License for more details.
+
+   You should have received a copy of the GNU General Public License
+   along with this package; if not, write to the Free Software
+   Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301 USA
+
+   On Debian systems, the complete text of the GNU General
+   Public License version 2 can be found in `/usr/share/common-licenses/GPL-2'.
+
+   In addition to the license terms of the GNU General Public License,
+   Version 2, as copied below, Emweb bvba gives permission to link the
+   code of its release of Wt with the OpenSSL project's "OpenSSL" library
+   (or with modified versions of it that use the same license as the
+   "OpenSSL" library), and distribute the linked executables. You must
+   obey the GNU General Public License in all respects for all of the
+   code used other than "OpenSSL". If you modify this file, you may
+   extend this exception to your version of the file, but you are not
+   obligated to do so. If you do not wish to do so, delete this exception
+   statement from your version."
+
+   * Commercial
+
+   Developer-based Commercial License Terms
+
+   Each developer which uses the Wt API requires a Commercial License during
+   the entire development and maintenance period of the web application. The
+   Developer-based Commercial Licenses are valid for the duration of one year,
+   and for any released version of Wt.
+
+   There are no additional charges for distribution of the application, and the
+   license allows the developer to work on an unlimited number of products.
+
+   The license may not be passed on between developers, unless permission is
+   granted by Emweb.
+
+   Commercial licensed developers have access to the public community-driven
+   mailing list for their support questions. A commercial license does not
+   include guaranteed responses from Emweb's Wt developers, nor training. For
+   support contracts, please consult our support offerings.
+
+   Project-based Commercial License Terms
+
+   As an alternative to the Developer-based Commercial License, a License may
+   be purchased on a per-project basis. This License allows the usage of Wt by
+   as many developers as necessary to complete a single pre-defined project.
+
+   There are usually no additional charges for distribution of the application.
+
+   Support options are usually negotiated together with the license. This
+   guarantees, if required, personalized high-priority support in addition to
+   the public, community-driven mailing lists.
+
+
+Wt also includes in its tarball several other licenses for third party
+components:
+
+   * The 'libwt/src/http' directory is copyright (c) 2003-2006 
+     Christopher M. Kohlhoff and copyright (c) 2008-2010 Emweb bvba and is under 
+     the Boost license:
+
+   Boost Software License - Version 1.0 - August 17th, 2003
+
+   Permission is hereby granted, free of charge, to any person or organization
+   obtaining a copy of the software and accompanying documentation covered by
+   this license (the "Software") to use, reproduce, display, distribute,
+   execute, and transmit the Software, and to prepare derivative works of the
+   Software, and to permit third-parties to whom the Software is furnished to
+   do so, all subject to the following:
+
+   The copyright notices in the Software and this entire statement, including
+   the above license grant, this restriction and the following disclaimer,
+   must be included in all copies of the Software, in whole or in part, and
+   all derivative works of the Software, unless such copies or derivative
+   works are solely in the form of machine-executable object code generated by
+   a source language processor.
+
+   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, TITLE AND NON-INFRINGEMENT. IN NO EVENT
+   SHALL THE COPYRIGHT HOLDERS OR ANYONE DISTRIBUTING THE SOFTWARE BE LIABLE
+   FOR ANY DAMAGES OR OTHER LIABILITY, WHETHER IN CONTRACT, TORT OR OTHERWISE,
+   ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
+   DEALINGS IN THE SOFTWARE.
+
+
+   * The 'libwt/src/threadpool' directory is copyright (c) 2005-2007
+     Philipp Henkel and is under the Boost license (see above)
+
+
+   * The 'libwt/src/web/randomdevice.cpp' file is copyright (c) 2000 Jens
+     Maurer and is under the Boost license (see above)
+
+
+   * The WtWithQt example is under a MIT license:
+
+   Copyright (C) 2008 Emweb bvba, Kessel-Lo, Belgium.
+
+   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.
+
+
+   * The src/Wt/Dbo/backend/amalgamation contains the sqlite 3.6.20 library in
+     its amalgamated form
+
+   Copyright (C) 2000-2009, D. Richard Hipp <drh@hwaci.com>
+
+   The author disclaims all copyright. The library is in the public domain.
+
+
+   * The src/rapidxml directory contains the RapidXML library and is licensed
+     under the MIT license and the Boost Software License 1.0
+
+    Boost Software License - Version 1.0 - August 17th, 2003
+
+    Copyright (c) 2006, 2007 Marcin Kalicinski
+
+    Permission is hereby granted, free of charge, to any person or organization
+    obtaining a copy of the software and accompanying documentation covered by
+    this license (the "Software") to use, reproduce, display, distribute,
+    execute, and transmit the Software, and to prepare derivative works of the
+    Software, and to permit third-parties to whom the Software is furnished to
+    do so, all subject to the following:
+
+    The copyright notices in the Software and this entire statement, including
+    the above license grant, this restriction and the following disclaimer,
+    must be included in all copies of the Software, in whole or in part, and
+    all derivative works of the Software, unless such copies or derivative
+    works are solely in the form of machine-executable object code generated by
+    a source language processor.
+
+    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, TITLE AND NON-INFRINGEMENT. IN NO EVENT
+    SHALL THE COPYRIGHT HOLDERS OR ANYONE DISTRIBUTING THE SOFTWARE BE LIABLE
+    FOR ANY DAMAGES OR OTHER LIABILITY, WHETHER IN CONTRACT, TORT OR OTHERWISE,
+    ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
+    DEALINGS IN THE SOFTWARE.
+
+    MIT License
+
+    Copyright (c) 2006, 2007 Marcin Kalicinski
+
+    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.
+
+
+   * src/web/skeleton/jquery.min.js is a minified version of the JQuery library 
+     together with the Sizzle.js library.
+     
+     JQuery is released under the MIT or GPL Version 2 licenses and the original 
+     copyright (c) belongs to The JQuery Project
+
+     Sizze.js is released under the MIT, BSD and GPL Version 2 licenses and the 
+     original copyright belongs to The Dojo Foundation
+
+   * The 'history' function in libwt/src/web/skeleton/Wt.js is a simplified
+     version of code developed by Yahoo under the BSD license. Original 
+     copyright (c) 2008, Yahoo! Inc. All rights reserved. Code licensed under 
+     the BSD License: http://developer.yahoo.com/yui/license.html
+
+   Software License Agreement (BSD License)
+   Copyright (c) 2008, Yahoo! Inc.
+   All rights reserved.
+
+   Redistribution and use of this software in source and binary forms, with or
+   without modification, are permitted provided that the following conditions
+   are met:
+
+      * Redistributions of source code must retain the above copyright notice,
+        this list of conditions and the
+        following disclaimer.
+      * Redistributions in binary form must reproduce the above copyright
+        notice, this list of conditions and the following disclaimer in the
+        documentation and/or other materials provided with the distribution.
+      * Neither the name of Yahoo! Inc. nor the names of its contributors may
+        be used to endorse or promote products derived from this software
+        without specific prior written permission of Yahoo! Inc.
+
+   THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+   AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+   IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+   ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+   LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
+   CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
+   SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
+   INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
+   CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
+   ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
+   POSSIBILITY OF SUCH DAMAGE.
+
+
+   * The 'arrayRemove' function in libwt/src/web/skeleton/Wt.js is copyright 
+     (c) John Resig and is distributed under the MIT license (see above)
+
+
+   * The cmake/FindWt.cmake file is copyright (c) 2007-2008 Pau Garcia i
+     Quiles, with modifications by Emweb bvba, and is distributed under the
+     BSD license (see above)
+
+
+   * The src/web/base64.h file is copyright (C) 2002 Ryan Petrie 
+     (ryanpetrie@netscape.net) and released under the zlib license:
+
+  This software is provided 'as-is', without any express or implied
+  warranty.  In no event will the authors be held liable for any damages
+  arising from the use of this software.
+
+  Permission is granted to anyone to use this software for any purpose,
+  including commercial applications, and to alter it and redistribute it
+  freely, subject to the following restrictions:
+
+  1. The origin of this software must not be misrepresented; you must not
+     claim that you wrote the original software. If you use this software
+     in a product, an acknowledgment in the product documentation would be
+     appreciated but is not required.
+  2. Altered source versions must be plainly marked as such, and must not be
+     misrepresented as being the original software.
+  3. This notice may not be removed or altered from any source distribution.
+
+
+   * The examples/codereview/prettify/prettify.js file is copyright (c) 2006
+     Google Inc and is under the Apache 2.0 License.
+
+   On Debian systems, the complete text of the Apache License version 2.0 can 
+   be found in `/usr/share/common-licenses/Apache-2.0'
+
+
+   * The resources/font-awesome directory contains Font Awesome 3.2.1. Some
+   parts are under the SIL OFL 1.1, others under the CC BY 3.0 license:
+
+   The Font Awesome font is licensed under the SIL OFL 1.1:
+     http://scripts.sil.org/OFL
+
+   Font Awesome CSS, LESS, and SASS files are licensed under the MIT License:
+     http://opensource.org/licenses/mit-license.html
+
+
+The Debian packaging is Copyright (C) 2008-2014, Pau Garcia i Quiles 
+<pgquiles@elpauer.org> and is licensed under the GPL, see above.
--- witty-3.3.5+dfsg.orig/debian/get-orig-source.sh
+++ witty-3.3.5+dfsg/debian/get-orig-source.sh
@@ -0,0 +1,42 @@
+#!/bin/sh
+
+set -ex
+
+UPSTREAM_VERSION=$2
+ORIG_TARBALL=$3
+
+REAL_TARBALL=`readlink -f ${ORIG_TARBALL}`
+
+WORKING_DIR=`dirname ${ORIG_TARBALL}`
+
+ORIG_TARBALL_DFSG=`echo ${ORIG_TARBALL} | sed -e "s/\(${UPSTREAM_VERSION}\)\(\.orig\)/\1+dfsg\2/g"`
+ORIG_TARBALL_DIR=`echo ${ORIG_TARBALL_DFSG} | sed -e "s/_\(${UPSTREAM_VERSION}\)/-\1/g" -e "s/\.tar\.gz//g"`
+ORIG_TARBALL_DIR_STRIP=`basename ${ORIG_TARBALL_DIR}`
+
+mkdir -p ${ORIG_TARBALL_DIR}
+tar --directory=${ORIG_TARBALL_DIR} --strip 1 -xzf ${REAL_TARBALL} || exit 1 
+rm -f ${ORIG_TARBALL} ${REAL_TARBALL}
+
+cd ${ORIG_TARBALL_DIR}
+
+rm -rf src/3rdparty/glew*
+rm -rf resources/jPlayer
+rm -rf resources/font-awesome
+rm -f src/web/skeleton/jquery.js
+rm -f src/web/skeleton/jquery.min.js
+rm -f src/web/skeleton/Boot.min.js
+rm -f src/web/skeleton/Wt.min.js
+rm -f resources/WtSoundManager.swf
+rm -f doc/reference/wt.qch
+rm -rf doc/reference/html
+rm -rf doc/examples/html
+rm -f doc/tutorial/wt.html
+rm -f doc/tutorial/dbo.html
+rm -f doc/tutorial/auth.html
+rm -rf doc/tutorial/asciidoc.js
+rm -f src/js/*.min.js
+rm -f ./examples/codeview/prettify/prettify.min.js
+
+GZIP=-9 tar --remove-files -czf ${ORIG_TARBALL_DFSG} ${ORIG_TARBALL_DIR} || exit 1
+
+exit 0
--- witty-3.3.5+dfsg.orig/debian/libwt-common.install
+++ witty-3.3.5+dfsg/debian/libwt-common.install
@@ -0,0 +1,2 @@
+etc/wt/wt_config.xml
+usr/share/Wt
--- witty-3.3.5+dfsg.orig/debian/libwt-common.lintian-overrides
+++ witty-3.3.5+dfsg/debian/libwt-common.lintian-overrides
@@ -0,0 +1,9 @@
+libwt-common: conflicts-with-version witty (<< 3.1.0a-1~)
+#libwt-common: duplicate-font-file usr/share/Wt/resources/font-awesome/font/fontawesome-webfont.ttf also in fonts-font-awesome
+#libwt-common: duplicate-font-file usr/share/Wt/resources/font-awesome/font/FontAwesome.otf also in fonts-font-awesome
+
+# Symlinks are not broken, they are provided by another package (proper depends in place)
+libwt-common: package-contains-broken-symlink usr/share/Wt/resources/font-awesome ../../fonts-font-awesome
+libwt-common: package-contains-broken-symlink usr/share/Wt/resources/jPlayer/Jplayer.swf ../../../javascript/jquery-jplayer/Jplayer.swf
+libwt-common: package-contains-broken-symlink usr/share/Wt/resources/jPlayer/skin ../../../javascript/jquery-jplayer/skins/blue.monday
+libwt-common: package-contains-broken-symlink usr/share/Wt/resources/tiny_mce ../../tinymce/www
--- witty-3.3.5+dfsg.orig/debian/libwt-dbg.lintian-overrides
+++ witty-3.3.5+dfsg/debian/libwt-dbg.lintian-overrides
@@ -0,0 +1 @@
+libwt-dbg: conflicts-with-version witty-dbg (<< 3.1.0a-1~)
--- witty-3.3.5+dfsg.orig/debian/libwt-dev.install
+++ witty-3.3.5+dfsg/debian/libwt-dev.install
@@ -0,0 +1,12 @@
+usr/lib/libwt.a
+usr/lib/libwt.so
+usr/include/Wt/Auth/*
+usr/include/Wt/Chart/*
+usr/include/Wt/Http/*
+usr/include/Wt/Json/*
+usr/include/Wt/Mail/*
+usr/include/Wt/Payment/*
+usr/include/Wt/Render/*
+usr/include/Wt/W*
+#usr/include/Wt/SyncLock
+usr/include/Wt/Utils
--- witty-3.3.5+dfsg.orig/debian/libwt-dev.lintian-overrides
+++ witty-3.3.5+dfsg/debian/libwt-dev.lintian-overrides
@@ -0,0 +1 @@
+libwt-dev: conflicts-with-version witty-dev (<< 3.1.0a-1~)
--- witty-3.3.5+dfsg.orig/debian/libwt-doc.doc-base.auth
+++ witty-3.3.5+dfsg/debian/libwt-doc.doc-base.auth
@@ -0,0 +1,13 @@
+Document: hands-on-wt-auth
+Title: A hands-on introduction to Wt::Auth
+Author: Koen Deforche
+Abstract: In this tutorial, we use an example as a hands-on introduction to the
+ Wt::Auth module, which provides authentication features for Wt webapps.
+Section: Web Development
+
+Format: html
+Index: /usr/share/doc/libwt-doc/tutorial/auth.html
+Files: /usr/share/doc/libwt-doc/tutorial/auth.html
+
+Format: text
+Files: /usr/share/doc/libwt-doc/tutorial/auth.doc
--- witty-3.3.5+dfsg.orig/debian/libwt-doc.doc-base.dbo
+++ witty-3.3.5+dfsg/debian/libwt-doc.doc-base.dbo
@@ -0,0 +1,14 @@
+Document: hands-on-wt-dbo
+Title: A hands-on introduction to Wt::Dbo
+Author: Koen Deforche
+Abstract: Wt::Dbo is an object-relational mapping library distributed with Wt.
+ This is an introductory tutorial that shows how to develop 
+ a simple blogging CMS
+Section: Web Development
+
+Format: html
+Index: /usr/share/doc/libwt-doc/tutorial/dbo.html
+Files: /usr/share/doc/libwt-doc/tutorial/dbo.html
+
+Format: text
+Files: /usr/share/doc/libwt-doc/tutorial/dbo.doc
--- witty-3.3.5+dfsg.orig/debian/libwt-doc.doc-base.dbotutorial
+++ witty-3.3.5+dfsg/debian/libwt-doc.doc-base.dbotutorial
@@ -0,0 +1,10 @@
+Document: libwt-dbo-tutorial
+Title: A gentle introduction to the Wt::Dbo ORM for use with Wt
+Author: Koen Deforche, Wim Dumon
+Abstract: This is an introductory tutorial that shows how to develop 
+ web applications using the Wt::Dbo ORM and Wt libraries.
+Section: Web Development
+
+Format: html
+Index: /usr/share/doc/libwt-doc/tutorial/dbo.html
+Files: /usr/share/doc/libwt-doc/tutorial/dbo.html
--- witty-3.3.5+dfsg.orig/debian/libwt-doc.doc-base.reference
+++ witty-3.3.5+dfsg/debian/libwt-doc.doc-base.reference
@@ -0,0 +1,10 @@
+Document: libwt-reference
+Title: Wt online documentation
+Author: Emweb bvba
+Abstract: This set of documents provides help for developing applications
+ using the Wt libraries and application server.
+Section: Web Development
+
+Format: html
+Index: /usr/share/doc/libwt-doc/reference/html/index.html
+Files: /usr/share/doc/libwt-doc/reference/html/*.html
--- witty-3.3.5+dfsg.orig/debian/libwt-doc.doc-base.tutorial
+++ witty-3.3.5+dfsg/debian/libwt-doc.doc-base.tutorial
@@ -0,0 +1,13 @@
+Document: hands-on-wt
+Title: A hands-on introduction to Wt
+Author: Pieter Libin, Koen Deforche, Wim Dumon
+Abstract: This is an introductory tutorial that shows how to develop 
+ web applications using the Wt libraries and application server.
+Section: Web Development
+
+Format: html
+Index: /usr/share/doc/libwt-doc/tutorial/wt.html
+Files: /usr/share/doc/libwt-doc/tutorial/wt.html
+
+Format: text
+Files: /usr/share/doc/libwt-doc/tutorial/wt.doc
--- witty-3.3.5+dfsg.orig/debian/libwt-doc.docs
+++ witty-3.3.5+dfsg/debian/libwt-doc.docs
@@ -0,0 +1 @@
+debian/README.Debian
--- witty-3.3.5+dfsg.orig/debian/libwt-doc.install
+++ witty-3.3.5+dfsg/debian/libwt-doc.install
@@ -0,0 +1 @@
+usr/share/doc/libwt-doc/*
--- witty-3.3.5+dfsg.orig/debian/libwt-doc.lintian-overrides
+++ witty-3.3.5+dfsg/debian/libwt-doc.lintian-overrides
@@ -0,0 +1,4 @@
+libwt-doc: conflicts-with-version witty-doc (<< 3.1.0a-1~)
+
+# Debian bug #736360 and https://lists.debian.org/debian-mentors/2012/11/msg00310.html
+libwt-doc: embedded-javascript-library usr/share/doc/libwt-doc/reference/html/jquery.js please use libjs-jquery
--- witty-3.3.5+dfsg.orig/debian/libwt39.install
+++ witty-3.3.5+dfsg/debian/libwt39.install
@@ -0,0 +1,2 @@
+usr/lib/libwt.so.39
+usr/lib/libwt.so.3.3.5
--- witty-3.3.5+dfsg.orig/debian/libwt39.lintian-overrides
+++ witty-3.3.5+dfsg/debian/libwt39.lintian-overrides
@@ -0,0 +1,10 @@
+libwt39: conflicts-with-version witty (<< 3.1.0a-1~)
+
+# Providing symbols for C++ is a mess, ain't doing that
+libwt39: no-symbols-control-file usr/lib/libwt.so.3.3.3
+
+# False dependency, received transitively
+libwt39: virtual-package-depends-without-real-package-depends depends: libgl1
+
+# Typo is in a comment in an XML file, unimportant
+libwt39: spelling-error-in-binary usr/lib/libwt.so.3.3.3 seperated separated
--- witty-3.3.5+dfsg.orig/debian/libwtdbo-dev.install
+++ witty-3.3.5+dfsg/debian/libwtdbo-dev.install
@@ -0,0 +1,3 @@
+usr/lib/libwtdbo.a
+usr/lib/libwtdbo.so
+usr/include/Wt/Dbo/*
--- witty-3.3.5+dfsg.orig/debian/libwtdbo-dev.lintian-overrides
+++ witty-3.3.5+dfsg/debian/libwtdbo-dev.lintian-overrides
@@ -0,0 +1 @@
+libwtdbo-dev: conflicts-with-version witty-dev (<< 3.1.0a-1~)
--- witty-3.3.5+dfsg.orig/debian/libwtdbo39.install
+++ witty-3.3.5+dfsg/debian/libwtdbo39.install
@@ -0,0 +1,2 @@
+usr/lib/libwtdbo.so.39
+usr/lib/libwtdbo.so.3.3.5
--- witty-3.3.5+dfsg.orig/debian/libwtdbo39.lintian-overrides
+++ witty-3.3.5+dfsg/debian/libwtdbo39.lintian-overrides
@@ -0,0 +1,4 @@
+libwtdbo39: conflicts-with-version witty-dev (<< 3.1.0a-1~)
+
+# Providing symbols for C++ is a mess, ain't doing that
+libwtdbo39: no-symbols-control-file usr/lib/libwtdbo.so.3.3.3
--- witty-3.3.5+dfsg.orig/debian/libwtdbofirebird-dev.install
+++ witty-3.3.5+dfsg/debian/libwtdbofirebird-dev.install
@@ -0,0 +1,2 @@
+usr/lib/libwtdbofirebird.a
+usr/lib/libwtdbofirebird.so
--- witty-3.3.5+dfsg.orig/debian/libwtdbofirebird-dev.lintian-overrides
+++ witty-3.3.5+dfsg/debian/libwtdbofirebird-dev.lintian-overrides
@@ -0,0 +1 @@
+libwtdbofirebird-dev: conflicts-with-version witty-dev (<< 3.1.0a-1~)
--- witty-3.3.5+dfsg.orig/debian/libwtdbofirebird39.install
+++ witty-3.3.5+dfsg/debian/libwtdbofirebird39.install
@@ -0,0 +1,2 @@
+usr/lib/libwtdbofirebird.so.39
+usr/lib/libwtdbofirebird.so.3.3.5
--- witty-3.3.5+dfsg.orig/debian/libwtdbofirebird39.lintian-overrides
+++ witty-3.3.5+dfsg/debian/libwtdbofirebird39.lintian-overrides
@@ -0,0 +1,4 @@
+libwtdbofirebird39: conflicts-with-version witty-dev (<< 3.1.0a-1~)
+
+# Providing symbols for C++ is a mess, ain't doing that
+libwtdbofirebird39: no-symbols-control-file usr/lib/libwtdbofirebird.so.3.3.3
--- witty-3.3.5+dfsg.orig/debian/libwtdbomysql-dev.install
+++ witty-3.3.5+dfsg/debian/libwtdbomysql-dev.install
@@ -0,0 +1,2 @@
+usr/lib/libwtdbomysql.a
+usr/lib/libwtdbomysql.so
--- witty-3.3.5+dfsg.orig/debian/libwtdbomysql-dev.lintian-overrides
+++ witty-3.3.5+dfsg/debian/libwtdbomysql-dev.lintian-overrides
@@ -0,0 +1 @@
+libwtdbomysql-dev: conflicts-with-version witty-dev (<< 3.1.0a-1~)
--- witty-3.3.5+dfsg.orig/debian/libwtdbomysql39.install
+++ witty-3.3.5+dfsg/debian/libwtdbomysql39.install
@@ -0,0 +1,2 @@
+usr/lib/libwtdbomysql.so.39
+usr/lib/libwtdbomysql.so.3.3.5
--- witty-3.3.5+dfsg.orig/debian/libwtdbomysql39.lintian-overrides
+++ witty-3.3.5+dfsg/debian/libwtdbomysql39.lintian-overrides
@@ -0,0 +1,4 @@
+libwtdbomysql39: conflicts-with-version witty-dev (<< 3.1.0a-1~)
+
+# Providing symbols for C++ is a mess, ain't doing that
+libwtdbomysql39: no-symbols-control-file usr/lib/libwtdbomysql.so.3.3.3
--- witty-3.3.5+dfsg.orig/debian/libwtdbopostgres-dev.install
+++ witty-3.3.5+dfsg/debian/libwtdbopostgres-dev.install
@@ -0,0 +1,2 @@
+usr/lib/libwtdbopostgres.a
+usr/lib/libwtdbopostgres.so
--- witty-3.3.5+dfsg.orig/debian/libwtdbopostgres-dev.lintian-overrides
+++ witty-3.3.5+dfsg/debian/libwtdbopostgres-dev.lintian-overrides
@@ -0,0 +1 @@
+libwtdbopostgres-dev: conflicts-with-version witty-dev (<< 3.1.0a-1~)
--- witty-3.3.5+dfsg.orig/debian/libwtdbopostgres39.install
+++ witty-3.3.5+dfsg/debian/libwtdbopostgres39.install
@@ -0,0 +1,2 @@
+usr/lib/libwtdbopostgres.so.39
+usr/lib/libwtdbopostgres.so.3.3.5
--- witty-3.3.5+dfsg.orig/debian/libwtdbopostgres39.lintian-overrides
+++ witty-3.3.5+dfsg/debian/libwtdbopostgres39.lintian-overrides
@@ -0,0 +1,4 @@
+libwtdbopostgres39: conflicts-with-version witty-dev (<< 3.1.0a-1~)
+
+# Providing symbols for C++ is a mess, ain't doing that
+libwtdbopostgres39: no-symbols-control-file usr/lib/libwtdbopostgres.so.3.3.3
--- witty-3.3.5+dfsg.orig/debian/libwtdbosqlite-dev.install
+++ witty-3.3.5+dfsg/debian/libwtdbosqlite-dev.install
@@ -0,0 +1,2 @@
+usr/lib/libwtdbosqlite3.a
+usr/lib/libwtdbosqlite3.so
--- witty-3.3.5+dfsg.orig/debian/libwtdbosqlite-dev.lintian-overrides
+++ witty-3.3.5+dfsg/debian/libwtdbosqlite-dev.lintian-overrides
@@ -0,0 +1 @@
+libwtdbosqlite-dev: conflicts-with-version witty-dev (<< 3.1.0a-1~)
--- witty-3.3.5+dfsg.orig/debian/libwtdbosqlite39.install
+++ witty-3.3.5+dfsg/debian/libwtdbosqlite39.install
@@ -0,0 +1,2 @@
+usr/lib/libwtdbosqlite3.so.39
+usr/lib/libwtdbosqlite3.so.3.3.5
--- witty-3.3.5+dfsg.orig/debian/libwtdbosqlite39.lintian-overrides
+++ witty-3.3.5+dfsg/debian/libwtdbosqlite39.lintian-overrides
@@ -0,0 +1,7 @@
+# Provide nice name for package and follow same naming patter as for the other Wt::DBO packages
+libwtdbosqlite39: package-name-doesnt-match-sonames libwtdbosqlite3-39
+
+libwtdbosqlite39: conflicts-with-version witty-dev (<< 3.1.0a-1~)
+
+# Providing symbols for C++ is a mess, ain't doing that
+libwtdbosqlite39: no-symbols-control-file usr/lib/libwtdbosqlite3.so.3.3.3
--- witty-3.3.5+dfsg.orig/debian/libwtext-dev.install
+++ witty-3.3.5+dfsg/debian/libwtext-dev.install
@@ -0,0 +1,3 @@
+usr/lib/libwtext.a
+usr/lib/libwtext.so
+usr/include/Wt/Ext/*
--- witty-3.3.5+dfsg.orig/debian/libwtext-dev.lintian-overrides
+++ witty-3.3.5+dfsg/debian/libwtext-dev.lintian-overrides
@@ -0,0 +1 @@
+libwtext-dev: conflicts-with-version witty-dev (<< 3.1.0a-1~)
--- witty-3.3.5+dfsg.orig/debian/libwtext39.install
+++ witty-3.3.5+dfsg/debian/libwtext39.install
@@ -0,0 +1,2 @@
+usr/lib/libwtext.so.39
+usr/lib/libwtext.so.3.3.5
--- witty-3.3.5+dfsg.orig/debian/libwtext39.lintian-overrides
+++ witty-3.3.5+dfsg/debian/libwtext39.lintian-overrides
@@ -0,0 +1,4 @@
+libwtext39: conflicts-with-version witty (<< 3.1.0a-1~)
+
+# Providing symbols for C++ is a mess, ain't doing that
+libwtext39: no-symbols-control-file usr/lib/libwtext.so.3.3.3
--- witty-3.3.5+dfsg.orig/debian/libwtfcgi-dev.install
+++ witty-3.3.5+dfsg/debian/libwtfcgi-dev.install
@@ -0,0 +1,2 @@
+usr/lib/libwtfcgi.a
+usr/lib/libwtfcgi.so
--- witty-3.3.5+dfsg.orig/debian/libwtfcgi-dev.lintian-overrides
+++ witty-3.3.5+dfsg/debian/libwtfcgi-dev.lintian-overrides
@@ -0,0 +1 @@
+libwtfcgi-dev: conflicts-with-version witty-dev (<< 3.1.0a-1~)
--- witty-3.3.5+dfsg.orig/debian/libwtfcgi39.install
+++ witty-3.3.5+dfsg/debian/libwtfcgi39.install
@@ -0,0 +1,2 @@
+usr/lib/libwtfcgi.so.39
+usr/lib/libwtfcgi.so.3.3.5
--- witty-3.3.5+dfsg.orig/debian/libwtfcgi39.lintian-overrides
+++ witty-3.3.5+dfsg/debian/libwtfcgi39.lintian-overrides
@@ -0,0 +1,4 @@
+libwtfcgi39: conflicts-with-version witty (<< 3.1.0a-1~)
+
+# Providing symbols for C++ is a mess, ain't doing that
+libwtfcgi39: no-symbols-control-file usr/lib/libwtfcgi.so.3.3.3
--- witty-3.3.5+dfsg.orig/debian/libwthttp-dev.install
+++ witty-3.3.5+dfsg/debian/libwthttp-dev.install
@@ -0,0 +1,2 @@
+usr/lib/libwthttp.a
+usr/lib/libwthttp.so
--- witty-3.3.5+dfsg.orig/debian/libwthttp-dev.lintian-overrides
+++ witty-3.3.5+dfsg/debian/libwthttp-dev.lintian-overrides
@@ -0,0 +1 @@
+libwthttp-dev: conflicts-with-version witty-dev (<< 3.1.0a-1~)
--- witty-3.3.5+dfsg.orig/debian/libwthttp39.install
+++ witty-3.3.5+dfsg/debian/libwthttp39.install
@@ -0,0 +1,2 @@
+usr/lib/libwthttp.so.39
+usr/lib/libwthttp.so.3.3.5
--- witty-3.3.5+dfsg.orig/debian/libwthttp39.lintian-overrides
+++ witty-3.3.5+dfsg/debian/libwthttp39.lintian-overrides
@@ -0,0 +1,4 @@
+libwthttp39: conflicts-with-version witty (<< 3.1.0a-1~)
+
+# Providing symbols for C++ is a mess, ain't doing that
+libwthttp39: no-symbols-control-file usr/lib/libwthttp.so.3.3.3
--- witty-3.3.5+dfsg.orig/debian/libwttest-dev.install
+++ witty-3.3.5+dfsg/debian/libwttest-dev.install
@@ -0,0 +1,3 @@
+usr/lib/libwttest.a
+usr/lib/libwttest.so
+usr/include/Wt/Test/*
--- witty-3.3.5+dfsg.orig/debian/libwttest-dev.lintian-overrides
+++ witty-3.3.5+dfsg/debian/libwttest-dev.lintian-overrides
@@ -0,0 +1 @@
+libwttest-dev: conflicts-with-version witty-dev (<< 3.1.0a-1~)
--- witty-3.3.5+dfsg.orig/debian/libwttest9.install
+++ witty-3.3.5+dfsg/debian/libwttest9.install
@@ -0,0 +1,2 @@
+usr/lib/libwttest.so.9
+usr/lib/libwttest.so.3.3.5
--- witty-3.3.5+dfsg.orig/debian/libwttest9.lintian-overrides
+++ witty-3.3.5+dfsg/debian/libwttest9.lintian-overrides
@@ -0,0 +1,4 @@
+libwttest9: conflicts-with-version witty (<< 3.1.0a-1~)
+
+# Providing symbols for C++ is a mess, ain't doing that
+libwttest9: no-symbols-control-file usr/lib/libwttest.so.3.3.3
--- witty-3.3.5+dfsg.orig/debian/patches/00list
+++ witty-3.3.5+dfsg/debian/patches/00list
@@ -0,0 +1,4 @@
+01_no_debug_postfix.dpatch
+09_lfs_support.dpatch
+11_fix_privacy_breach_logo.dpatch
+12_install_wtconfig.dpatch
--- witty-3.3.5+dfsg.orig/debian/patches/01_no_debug_postfix.dpatch
+++ witty-3.3.5+dfsg/debian/patches/01_no_debug_postfix.dpatch
@@ -0,0 +1,230 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## 01_no_debug_postfix.dpatch by Pau Garcia i Quiles <pgquiles@elpauer.org>
+##
+## All lines beginning with `## DP:' are a description of the patch.
+## DP: Do not add a debug postfix, as we get the debug libraries by applying 
+## DP: dh_strip. As we want to generate a -dbg package, we need to build Witty 
+## DP: with CMAKE_BUILD_TYPE=Debug. The CMakeLists.txt files are telling CMake 
+## DP: to append a 'd' (a-la Visual C++) to the debug libraries but we don't 
+## DP: need (or want, either) to have that suffix. Sadly, 
+## DP: -DVARIABLE:TYPE=VALUE won't overrides SET_TARGET_PROPERTIES, therefore 
+## DP: making necessary to patch the CMakeLists.txt project files.
+
+@DPATCH@
+
+diff -rupd witty-3.3.4+dfsg.orig/src/CMakeLists.txt witty-3.3.4+dfsg/src/CMakeLists.txt
+--- witty-3.3.4+dfsg.orig/src/CMakeLists.txt	2015-03-03 13:24:58.000000000 +0100
++++ witty-3.3.4+dfsg/src/CMakeLists.txt	2015-04-07 19:49:47.655286000 +0200
+@@ -464,8 +464,16 @@ IF(ENABLE_LIBWTTEST)
+   PROPERTIES
+     VERSION ${VERSION_SERIES}.${VERSION_MAJOR}.${VERSION_MINOR}
+     SOVERSION ${WTTEST_SOVERSION}
+-    DEBUG_POSTFIX ${DEBUG_LIB_POSTFIX}
+   )
++
++  IF(DEBUG_LIB_POSTFIX)
++    SET_TARGET_PROPERTIES(
++      wttest
++    PROPERTIES
++      DEBUG_POSTFIX ${DEBUG_LIB_POSTFIX}
++    )
++  ENDIF(DEBUG_LIB_POSTFIX)
++
+ ELSE(ENABLE_LIBWTTEST)
+   MESSAGE("** Not building libwttest")
+ ENDIF(ENABLE_LIBWTTEST)
+@@ -544,9 +552,16 @@ PROPERTIES
+   POST_INSTALL_SCRIPT ${WT_BINARY_DIR}/WtInstall.cmake
+   VERSION ${VERSION_SERIES}.${VERSION_MAJOR}.${VERSION_MINOR}
+   SOVERSION ${WT_SOVERSION}
+-  DEBUG_POSTFIX ${DEBUG_LIB_POSTFIX}
+ )
+ 
++IF(DEBUG_LIB_POSTFIX)
++  SET_TARGET_PROPERTIES(
++    wt
++  PROPERTIES
++    DEBUG_POSTFIX ${DEBUG_LIB_POSTFIX}
++  )
++ENDIF(DEBUG_LIB_POSTFIX)
++
+ IF(MSVC)
+   SET_TARGET_PROPERTIES(wt PROPERTIES COMPILE_FLAGS "${BUILD_PARALLEL} /wd4251 /wd4275 /wd4355 /wd4800 /wd4996 /wd4101 /wd4267")
+   TARGET_LINK_LIBRARIES(wt winmm)
+diff -rupd witty-3.3.4+dfsg.orig/src/fcgi/CMakeLists.txt witty-3.3.4+dfsg/src/fcgi/CMakeLists.txt
+--- witty-3.3.4+dfsg.orig/src/fcgi/CMakeLists.txt	2013-08-08 20:43:18.000000000 +0200
++++ witty-3.3.4+dfsg/src/fcgi/CMakeLists.txt	2015-04-07 19:46:59.995286000 +0200
+@@ -24,8 +24,15 @@ IF(CONNECTOR_FCGI)
+     PROPERTIES
+       VERSION ${VERSION_SERIES}.${VERSION_MAJOR}.${VERSION_MINOR}
+       SOVERSION ${WTFCGI_SOVERSION}
++    )
++
++  IF(DEBUG_LIB_POSTFIX)
++    SET_TARGET_PROPERTIES(
++      wtfcgi
++    PROPERTIES
+       DEBUG_POSTFIX ${DEBUG_LIB_POSTFIX}
+     )
++  ENDIF(DEBUG_LIB_POSTFIX)
+ 
+     INSTALL(TARGETS wtfcgi
+       RUNTIME DESTINATION bin
+diff -rupd witty-3.3.4+dfsg.orig/src/http/CMakeLists.txt witty-3.3.4+dfsg/src/http/CMakeLists.txt
+--- witty-3.3.4+dfsg.orig/src/http/CMakeLists.txt	2014-07-29 10:48:07.000000000 +0200
++++ witty-3.3.4+dfsg/src/http/CMakeLists.txt	2015-04-07 19:46:59.995286000 +0200
+@@ -108,9 +108,16 @@ IF(CONNECTOR_HTTP)
+   PROPERTIES
+     VERSION ${VERSION_SERIES}.${VERSION_MAJOR}.${VERSION_MINOR}
+     SOVERSION ${WTHTTP_SOVERSION}
+-    DEBUG_POSTFIX ${DEBUG_LIB_POSTFIX}
+   )
+ 
++  IF(DEBUG_LIB_POSTFIX)
++    SET_TARGET_PROPERTIES(
++      wthttp
++    PROPERTIES
++      DEBUG_POSTFIX ${DEBUG_LIB_POSTFIX}
++    )
++  ENDIF(DEBUG_LIB_POSTFIX)
++
+   IF(MSVC)
+     SET_TARGET_PROPERTIES(
+         wthttp
+diff -rupd witty-3.3.4+dfsg.orig/src/isapi/CMakeLists.txt witty-3.3.4+dfsg/src/isapi/CMakeLists.txt
+--- witty-3.3.4+dfsg.orig/src/isapi/CMakeLists.txt	2014-01-29 20:01:28.000000000 +0100
++++ witty-3.3.4+dfsg/src/isapi/CMakeLists.txt	2015-04-07 19:53:22.103286000 +0200
+@@ -24,8 +24,16 @@ IF(CONNECTOR_ISAPI)
+     PROPERTIES
+       VERSION ${VERSION_SERIES}.${VERSION_MAJOR}.${VERSION_MINOR}
+       SOVERSION ${WTISAPI_SOVERSION}
+-      DEBUG_POSTFIX "d"
+     )
++
++    IF(DEBUG_LIB_POSTFIX)
++      SET_TARGET_PROPERTIES(
++        wtisapi
++        PROPERTIES
++        DEBUG_POSTFIX ${DEBUG_LIB_POSTFIX}
++      )
++    ENDIF(DEBUG_LIB_POSTFIX)
++
+     IF(MSVC)
+       SET_TARGET_PROPERTIES(
+           wtisapi
+@@ -44,4 +52,3 @@ IF(CONNECTOR_ISAPI)
+ ELSE(CONNECTOR_ISAPI)
+   MESSAGE("** Disabling ISAPI.")
+ ENDIF(CONNECTOR_ISAPI)
+-
+diff -rupd witty-3.3.4+dfsg.orig/src/Wt/Dbo/backend/CMakeLists.txt witty-3.3.4+dfsg/src/Wt/Dbo/backend/CMakeLists.txt
+--- witty-3.3.4+dfsg.orig/src/Wt/Dbo/backend/CMakeLists.txt	2014-03-21 13:36:34.000000000 +0100
++++ witty-3.3.4+dfsg/src/Wt/Dbo/backend/CMakeLists.txt	2015-04-07 19:46:59.995286000 +0200
+@@ -71,9 +71,16 @@ IF(ENABLE_SQLITE)
+   PROPERTIES
+     VERSION ${VERSION_SERIES}.${VERSION_MAJOR}.${VERSION_MINOR}
+     SOVERSION ${WTDBOSQLITE3_SOVERSION} 
+-    DEBUG_POSTFIX ${DEBUG_LIB_POSTFIX}
+     )
+ 
++  IF(DEBUG_LIB_POSTFIX)
++    SET_TARGET_PROPERTIES(
++      wtdbosqlite3
++    PROPERTIES
++      DEBUG_POSTFIX ${DEBUG_LIB_POSTFIX}
++    )
++  ENDIF(DEBUG_LIB_POSTFIX)
++
+   IF(MSVC)
+     SET_TARGET_PROPERTIES(
+       wtdbosqlite3
+@@ -123,9 +130,16 @@ IF(ENABLE_POSTGRES AND POSTGRES_FOUND)
+   PROPERTIES
+     VERSION ${VERSION_SERIES}.${VERSION_MAJOR}.${VERSION_MINOR}
+     SOVERSION ${WTDBOPOSTGRES_SOVERSION}
+-    DEBUG_POSTFIX ${DEBUG_LIB_POSTFIX}
+   )
+ 
++  IF(DEBUG_LIB_POSTFIX)
++    SET_TARGET_PROPERTIES(
++      wtdbopostgres
++    PROPERTIES
++      DEBUG_POSTFIX ${DEBUG_LIB_POSTFIX}
++    )
++  ENDIF(DEBUG_LIB_POSTFIX)
++
+   INSTALL_FILES(/include/Wt/Dbo/backend "^Postgres$")
+   INSTALL_FILES(/include/Wt/Dbo/backend "^.*Postgres.*h$")
+ ELSE(ENABLE_POSTGRES AND POSTGRES_FOUND)
+@@ -204,9 +218,16 @@ IF(ENABLE_FIREBIRD AND FIREBIRD_FOUND)
+   PROPERTIES
+     VERSION ${VERSION_SERIES}.${VERSION_MAJOR}.${VERSION_MINOR}
+     SOVERSION ${WTDBOFIREBIRD_SOVERSION}
+-    DEBUG_POSTFIX ${DEBUG_LIB_POSTFIX}
+   )
+ 
++  IF(DEBUG_LIB_POSTFIX)
++    SET_TARGET_PROPERTIES(
++      wtdbofirebird
++    PROPERTIES
++      DEBUG_POSTFIX ${DEBUG_LIB_POSTFIX}
++    )
++  ENDIF(DEBUG_LIB_POSTFIX)
++
+   INSTALL_FILES(/include/Wt/Dbo/backend "^Firebird$")
+   INSTALL_FILES(/include/Wt/Dbo/backend "^.*Firebird.*h$")
+ ELSE(ENABLE_FIREBIRD AND FIREBIRD_FOUND)
+@@ -254,7 +275,6 @@ IF(ENABLE_MYSQL AND MYSQL_FOUND)
+   PROPERTIES
+     VERSION ${VERSION_SERIES}.${VERSION_MAJOR}.${VERSION_MINOR}
+     SOVERSION ${WTDBOMYSQL_SOVERSION}
+-    DEBUG_POSTFIX ${DEBUG_LIB_POSTFIX}
+   )
+   INSTALL_FILES(/include/Wt/Dbo/backend "^MySQL$")
+   INSTALL_FILES(/include/Wt/Dbo/backend "^.*MySQL.*h$")
+diff -rupd witty-3.3.4+dfsg.orig/src/Wt/Dbo/CMakeLists.txt witty-3.3.4+dfsg/src/Wt/Dbo/CMakeLists.txt
+--- witty-3.3.4+dfsg.orig/src/Wt/Dbo/CMakeLists.txt	2014-08-11 09:37:43.000000000 +0200
++++ witty-3.3.4+dfsg/src/Wt/Dbo/CMakeLists.txt	2015-04-07 19:52:15.407286000 +0200
+@@ -55,7 +55,6 @@ IF(ENABLE_LIBWTDBO)
+   PROPERTIES
+     VERSION ${VERSION_SERIES}.${VERSION_MAJOR}.${VERSION_MINOR}
+     SOVERSION ${WTDBO_SOVERSION}
+-    DEBUG_POSTFIX ${DEBUG_LIB_POSTFIX}
+   )
+   IF(MSVC)
+     SET_TARGET_PROPERTIES(
+@@ -65,6 +64,14 @@ IF(ENABLE_LIBWTDBO)
+     )
+   ENDIF(MSVC)
+ 
++ IF(DEBUG_LIB_POSTFIX)
++   SET_TARGET_PROPERTIES(
++     wtdbo
++   PROPERTIES
++     DEBUG_POSTFIX ${DEBUG_LIB_POSTFIX}
++   )
++ ENDIF(DEBUG_LIB_POSTFIX)
++
+   SUBDIRS(backend)
+ 
+   INSTALL_FILES(/include/Wt/Dbo "^[^.]+\\.h$")
+diff -rupd witty-3.3.4+dfsg.orig/src/Wt/Ext/CMakeLists.txt witty-3.3.4+dfsg/src/Wt/Ext/CMakeLists.txt
+--- witty-3.3.4+dfsg.orig/src/Wt/Ext/CMakeLists.txt	2011-03-21 14:04:35.000000000 +0100
++++ witty-3.3.4+dfsg/src/Wt/Ext/CMakeLists.txt	2015-04-07 19:46:59.995286000 +0200
+@@ -52,8 +52,15 @@ SET_TARGET_PROPERTIES(
+ PROPERTIES
+   VERSION ${VERSION_SERIES}.${VERSION_MAJOR}.${VERSION_MINOR}
+   SOVERSION ${WTEXT_SOVERSION}
+-  DEBUG_POSTFIX ${DEBUG_LIB_POSTFIX}
+ )
+ 
++IF(DEBUG_LIB_POSTFIX)
++  SET_TARGET_PROPERTIES(
++    wtext
++  PROPERTIES
++    DEBUG_POSTFIX ${DEBUG_LIB_POSTFIX}
++  )
++ENDIF(DEBUG_LIB_POSTFIX)
++
+ INSTALL_FILES(/include/Wt/Ext "^[^.]..+[^Ch~]$")
+ INSTALL_FILES(/include/Wt/Ext ExtDllDefs.h)
--- witty-3.3.5+dfsg.orig/debian/patches/05_examples_cmake_dependencies.dpatch
+++ witty-3.3.5+dfsg/debian/patches/05_examples_cmake_dependencies.dpatch
@@ -0,0 +1,567 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## 05_examples_cmake_dependencies.dpatch by  <pgquiles@elpauer.org>
+##
+## All lines beginning with `## DP:' are a description of the patch.
+## DP: Fixes to make example buildable out of Wt source tree
+###
+## TODO Add support for these examples:
+##      codereview, qrlogin, feature/auth1, feature/broadcast, 
+##      feature/dbo, feature/mediaplayer, feature/miniwebgl,
+##      feature/multiple_servers, oauth
+
+diff -rupd witty-3.3.4+dfsg.orig/cmake/WtFindBoost-vintage.txt witty-3.3.4+dfsg/cmake/WtFindBoost-vintage.txt
+--- witty-3.3.4+dfsg.orig/cmake/WtFindBoost-vintage.txt	2012-04-12 09:26:48.000000000 +0200
++++ witty-3.3.4+dfsg/cmake/WtFindBoost-vintage.txt	2015-04-07 00:41:20.623286000 +0200
+@@ -29,7 +29,7 @@ FIND_PATH(BOOST_INCLUDE_DIRS
+     ${BOOST_PREFIX}/include/${BOOST_VERSION}
+     ${BOOST_PREFIX}/include/boost-${BOOST_VERSION}
+     ${BOOST_PREFIX}
+-  NO_DEFAULT_PATH
++#  NO_DEFAULT_PATH
+ )
+ 
+ #SET (BOOST_LIB_DIRS "${BOOST_PREFIX}/lib ${BOOST_PREFIX}/lib64")
+@@ -114,7 +114,7 @@ ELSE(MSVC)
+       boost_regex
+     PATHS
+       ${BOOST_LIB_DIRS}
+-    NO_DEFAULT_PATH
++#    NO_DEFAULT_PATH
+   )
+ 
+   FIND_LIBRARY(BOOST_PO_LIB
+@@ -130,7 +130,7 @@ ELSE(MSVC)
+       boost_program_options
+     PATHS
+       ${BOOST_LIB_DIRS}
+-    NO_DEFAULT_PATH
++#    NO_DEFAULT_PATH
+   )
+ 
+   FIND_LIBRARY(BOOST_DT_LIB
+@@ -146,7 +146,7 @@ ELSE(MSVC)
+       boost_date_time
+     PATHS
+       ${BOOST_LIB_DIRS}
+-    NO_DEFAULT_PATH
++#    NO_DEFAULT_PATH
+   )
+ 
+   FIND_LIBRARY(BOOST_SIGNALS_LIB
+@@ -162,7 +162,7 @@ ELSE(MSVC)
+       boost_signals
+     PATHS
+       ${BOOST_LIB_DIRS}
+-    NO_DEFAULT_PATH
++#    NO_DEFAULT_PATH
+   )
+ 
+   FIND_LIBRARY(BOOST_SYSTEM_LIB
+@@ -178,7 +178,7 @@ ELSE(MSVC)
+       boost_system
+     PATHS
+       ${BOOST_LIB_DIRS}
+-    NO_DEFAULT_PATH
++#    NO_DEFAULT_PATH
+   )
+ 
+   FIND_LIBRARY(BOOST_FS_LIB
+@@ -194,7 +194,7 @@ ELSE(MSVC)
+       boost_filesystem
+     PATHS
+       ${BOOST_LIB_DIRS}
+-    NO_DEFAULT_PATH
++#    NO_DEFAULT_PATH
+   )
+ 
+   ENDIF (USE_BOOST_FRAMEWORK)
+diff -rupd witty-3.3.4+dfsg.orig/examples/blog/CMakeLists.txt witty-3.3.4+dfsg/examples/blog/CMakeLists.txt
+--- witty-3.3.4+dfsg.orig/examples/blog/CMakeLists.txt	2011-11-07 15:28:20.000000000 +0100
++++ witty-3.3.4+dfsg/examples/blog/CMakeLists.txt	2015-04-07 00:41:20.627286000 +0200
+@@ -23,7 +23,7 @@ WT_ADD_EXAMPLE(blog.wt
+   blog.C
+ )
+ 
+-TARGET_LINK_LIBRARIES(blog.wt wtdbo wtdbosqlite3)
++TARGET_LINK_LIBRARIES(blog.wt ${SSL_LIBRARIES} ${BOOST_WT_LIBRARIES} ${BOOST_WTHTTP_LIBRARIES} ${ZLIB_LIBRARIES} ${ASIO_LIBRARIES} wtdbo wtdbosqlite3)
+ 
+ # Test whether crypt(3) is provided by libc. If it's not, check if
+ # libcrypt exists and if it provides crypt(3).
+diff -rupd witty-3.3.4+dfsg.orig/examples/charts/CMakeLists.txt witty-3.3.4+dfsg/examples/charts/CMakeLists.txt
+--- witty-3.3.4+dfsg.orig/examples/charts/CMakeLists.txt	2010-10-16 16:54:31.000000000 +0200
++++ witty-3.3.4+dfsg/examples/charts/CMakeLists.txt	2015-04-07 00:41:20.627286000 +0200
+@@ -12,5 +12,5 @@ WT_ADD_EXAMPLE(charts.wt
+ # e.g. INCLUDE_DIRECTORIES(/usr/local/include)
+ # instead of the following:
+ #
+-INCLUDE_DIRECTORIES(${WT_SOURCE_DIR}/src)
+-
++INCLUDE_DIRECTORIES(${WT_INCLUDE_DIR})
++TARGET_LINK_LIBRARIES(charts.wt wtext ${SSL_LIBRARIES} ${BOOST_WT_LIBRARIES} ${BOOST_WTHTTP_LIBRARIES} ${ZLIB_LIBRARIES} ${ASIO_LIBRARIES})
+diff -rupd witty-3.3.4+dfsg.orig/examples/CMakeLists.txt witty-3.3.4+dfsg/examples/CMakeLists.txt
+--- witty-3.3.4+dfsg.orig/examples/CMakeLists.txt	2015-01-15 13:13:52.000000000 +0100
++++ witty-3.3.4+dfsg/examples/CMakeLists.txt	2015-04-07 17:31:41.119286000 +0200
+@@ -27,8 +27,6 @@
+ #   debug libhpdfd optimized libhpdf # only required for if you write pdfs
+ # )
+ 
+-IF("${CMAKE_CURRENT_LIST_DIR}" STREQUAL "${CMAKE_SOURCE_DIR}")
+-  IF(WIN32)
+     # preamble to make this a toplevel CMakeLists.txt for Windows, intended
+     # for being used 
+     CMAKE_MINIMUM_REQUIRED(VERSION 2.4)
+@@ -51,8 +49,6 @@ IF("${CMAKE_CURRENT_LIST_DIR}" STREQUAL
+     # We ship libharu as DLL. Compiling/linking against libharu DLL requires
+     # this definition to be set.
+     ADD_DEFINITIONS(-DHPDF_DLL)
+-  ENDIF(WIN32)
+-ENDIF("${CMAKE_CURRENT_LIST_DIR}" STREQUAL "${CMAKE_SOURCE_DIR}")
+   
+ 
+ # Normal example CMakeLists.txt starts here
+diff -rupd witty-3.3.4+dfsg.orig/examples/codeview/CMakeLists.txt witty-3.3.4+dfsg/examples/codeview/CMakeLists.txt
+--- witty-3.3.4+dfsg.orig/examples/codeview/CMakeLists.txt	2011-05-19 16:48:56.000000000 +0200
++++ witty-3.3.4+dfsg/examples/codeview/CMakeLists.txt	2015-04-07 00:41:20.627286000 +0200
+@@ -10,7 +10,7 @@ ELSE(NOT MULTI_THREADED_BUILD)
+    CoderApplication.C CodeSession.C CoderWidget.C ObserverWidget.C
+  )
+ 
+- TARGET_LINK_LIBRARIES(codingview.wt ${BOOST_THREAD_LIB})
++ TARGET_LINK_LIBRARIES(codingview.wt ${BOOST_THREAD_LIB} ${BOOST_SIGNALS_LIB})
+ 
+ INCLUDE_DIRECTORIES(${WT_SOURCE_DIR}/src)
+ 
+diff -rupd witty-3.3.4+dfsg.orig/examples/composer/CMakeLists.txt witty-3.3.4+dfsg/examples/composer/CMakeLists.txt
+--- witty-3.3.4+dfsg.orig/examples/composer/CMakeLists.txt	2011-05-19 16:48:56.000000000 +0200
++++ witty-3.3.4+dfsg/examples/composer/CMakeLists.txt	2015-04-07 00:41:20.627286000 +0200
+@@ -18,10 +18,11 @@ WT_ADD_EXAMPLE(composer.wt
+ # instead of the following:
+ #
+ INCLUDE_DIRECTORIES(
+-  ${WT_SOURCE_DIR}/src
++  ${WT_INCLUDE_DIR}
+   ${WT_SOURCE_DIR}/examples/treelist
+ )
+ 
+ ADD_DEPENDENCIES(composer.wt wt ${EXAMPLES_CONNECTOR})
++TARGET_LINK_LIBRARIES(composer.wt ${SSL_LIBRARIES} ${BOOST_WT_LIBRARIES} ${BOOST_WTHTTP_LIBRARIES} ${ZLIB_LIBRARIES} ${ASIO_LIBRARIES})
+ 
+ ENDIF(NOT WT_NO_STD_WSTRING)
+diff -rupd witty-3.3.4+dfsg.orig/examples/dialog/CMakeLists.txt witty-3.3.4+dfsg/examples/dialog/CMakeLists.txt
+--- witty-3.3.4+dfsg.orig/examples/dialog/CMakeLists.txt	2010-10-16 16:54:31.000000000 +0200
++++ witty-3.3.4+dfsg/examples/dialog/CMakeLists.txt	2015-04-07 00:41:20.627286000 +0200
+@@ -3,6 +3,7 @@ WT_ADD_EXAMPLE(dialog.wt
+   DialogExample.C
+ )
+ 
+-INCLUDE_DIRECTORIES(${WT_SOURCE_DIR}/src)
++INCLUDE_DIRECTORIES(${WT_INCLUDE_DIR})
+ 
+ ADD_DEPENDENCIES(dialog.wt wt ${EXAMPLES_CONNECTOR})
++TARGET_LINK_LIBRARIES(dialog.wt ${SSL_LIBRARIES} ${BOOST_WT_LIBRARIES} ${BOOST_WTHTTP_LIBRARIES} ${ZLIB_LIBRARIES} ${ASIO_LIBRARIES})
+diff -rupd witty-3.3.4+dfsg.orig/examples/dragdrop/CMakeLists.txt witty-3.3.4+dfsg/examples/dragdrop/CMakeLists.txt
+--- witty-3.3.4+dfsg.orig/examples/dragdrop/CMakeLists.txt	2010-10-16 16:54:31.000000000 +0200
++++ witty-3.3.4+dfsg/examples/dragdrop/CMakeLists.txt	2015-04-07 00:41:20.627286000 +0200
+@@ -10,6 +10,7 @@ WT_ADD_EXAMPLE(dragdrop.wt
+ # e.g. INCLUDE_DIRECTORIES(/usr/local/include)
+ # instead of the following:
+ #
+-INCLUDE_DIRECTORIES(${WT_SOURCE_DIR}/src)
++INCLUDE_DIRECTORIES(${WT_INCLUDE_DIR})
+ 
+ ADD_DEPENDENCIES(dragdrop.wt wt ${EXAMPLES_CONNECTOR})
++TARGET_LINK_LIBRARIES(dragdrop.wt ${SSL_LIBRARIES} ${BOOST_WT_LIBRARIES} ${BOOST_WTHTTP_LIBRARIES} ${ZLIB_LIBRARIES} ${ASIO_LIBRARIES})
+diff -rupd witty-3.3.4+dfsg.orig/examples/feature/auth1/CMakeLists.txt witty-3.3.4+dfsg/examples/feature/auth1/CMakeLists.txt
+--- witty-3.3.4+dfsg.orig/examples/feature/auth1/CMakeLists.txt	2011-11-10 09:10:16.000000000 +0100
++++ witty-3.3.4+dfsg/examples/feature/auth1/CMakeLists.txt	2015-04-07 00:41:20.627286000 +0200
+@@ -4,6 +4,6 @@ WT_ADD_EXAMPLE(auth1.wt
+ 	model/User.C
+ )
+ 
+-TARGET_LINK_LIBRARIES(auth1.wt wtdbo wtdbosqlite3)
++TARGET_LINK_LIBRARIES(auth1.wt wtdbo wtdbosqlite3 ${BOOST_SIGNALS_LIB} ${BOOST_SYSTEM_LIB})
+ 
+ INCLUDE_DIRECTORIES(${WT_SOURCE_DIR}/src)
+diff -rupd witty-3.3.4+dfsg.orig/examples/feature/broadcast/CMakeLists.txt witty-3.3.4+dfsg/examples/feature/broadcast/CMakeLists.txt
+--- witty-3.3.4+dfsg.orig/examples/feature/broadcast/CMakeLists.txt	2011-07-19 16:52:16.000000000 +0200
++++ witty-3.3.4+dfsg/examples/feature/broadcast/CMakeLists.txt	2015-04-07 00:41:20.627286000 +0200
+@@ -4,6 +4,8 @@ ELSE(NOT MULTI_THREADED_BUILD)
+ 
+   WT_ADD_EXAMPLE(broadcast.wt BroadCast.C)
+ 
++  TARGET_LINK_LIBRARIES(broadcast.wt ${BOOST_THREAD_LIB} ${BOOST_SIGNALS_LIB})
++
+   #
+   # If you have Wt installed somehwere, you should use the
+   # installed Wt header files for your own Wt projects.
+diff -rupd witty-3.3.4+dfsg.orig/examples/feature/oauth/CMakeLists.txt witty-3.3.4+dfsg/examples/feature/oauth/CMakeLists.txt
+--- witty-3.3.4+dfsg.orig/examples/feature/oauth/CMakeLists.txt	2012-05-23 20:54:01.000000000 +0200
++++ witty-3.3.4+dfsg/examples/feature/oauth/CMakeLists.txt	2015-04-07 00:41:20.627286000 +0200
+@@ -2,6 +2,6 @@ WT_ADD_EXAMPLE(oauth.wt
+         OAuth.C
+ )
+ 
+-TARGET_LINK_LIBRARIES(oauth.wt)
++TARGET_LINK_LIBRARIES(oauth.wt ${BOOST_SIGNALS_LIB} ${BOOST_SYSTEM_LIB})
+ 
+ INCLUDE_DIRECTORIES(${WT_SOURCE_DIR}/src)
+diff -rupd witty-3.3.4+dfsg.orig/examples/feature/serverpush/CMakeLists.txt witty-3.3.4+dfsg/examples/feature/serverpush/CMakeLists.txt
+--- witty-3.3.4+dfsg.orig/examples/feature/serverpush/CMakeLists.txt	2010-10-16 16:54:31.000000000 +0200
++++ witty-3.3.4+dfsg/examples/feature/serverpush/CMakeLists.txt	2015-04-07 00:41:20.627286000 +0200
+@@ -10,6 +10,7 @@ ELSE(NOT MULTI_THREADED_BUILD)
+   # e.g. INCLUDE_DIRECTORIES(/usr/local/include)
+   # instead of the following:
+   #
+-  INCLUDE_DIRECTORIES(${WT_SOURCE_DIR}/src)
++  INCLUDE_DIRECTORIES(${WT_INCLUDE_DIR})
++  TARGET_LINK_LIBRARIES(serverpush.wt ${BOOST_THREAD_LIB} ${BOOST_SIGNALS_LIB})
+ 
+ ENDIF(NOT MULTI_THREADED_BUILD)
+diff -rupd witty-3.3.4+dfsg.orig/examples/feature/socketnotifier/CMakeLists.txt witty-3.3.4+dfsg/examples/feature/socketnotifier/CMakeLists.txt
+--- witty-3.3.4+dfsg.orig/examples/feature/socketnotifier/CMakeLists.txt	2010-10-16 16:54:31.000000000 +0200
++++ witty-3.3.4+dfsg/examples/feature/socketnotifier/CMakeLists.txt	2015-04-07 00:41:20.627286000 +0200
+@@ -14,7 +14,8 @@ ELSE(NOT MULTI_THREADED_BUILD)
+     # e.g. INCLUDE_DIRECTORIES(/usr/local/include)
+     # instead of the following:
+     #
+-    INCLUDE_DIRECTORIES(${WT_SOURCE_DIR}/src)
++    INCLUDE_DIRECTORIES(${WT_INCLUDE_DIR})
++    TARGET_LINK_LIBRARIES(socketnotifier.wt ${BOOST_SIGNALS_LIB})
+   ENDIF (MINGW)
+ 
+ ENDIF(NOT MULTI_THREADED_BUILD)
+diff -rupd witty-3.3.4+dfsg.orig/examples/feature/suggestionpopup/CMakeLists.txt witty-3.3.4+dfsg/examples/feature/suggestionpopup/CMakeLists.txt
+--- witty-3.3.4+dfsg.orig/examples/feature/suggestionpopup/CMakeLists.txt	2011-06-27 11:22:06.000000000 +0200
++++ witty-3.3.4+dfsg/examples/feature/suggestionpopup/CMakeLists.txt	2015-04-07 00:41:20.627286000 +0200
+@@ -8,6 +8,7 @@ WT_ADD_EXAMPLE(suggestionpopup.wt Sugges
+ # e.g. INCLUDE_DIRECTORIES(/usr/local/include)
+ # instead of the following:
+ #
+-INCLUDE_DIRECTORIES(${WT_SOURCE_DIR}/src)
++INCLUDE_DIRECTORIES(${WT_INCLUDE_DIR})
++TARGET_LINK_LIBRARIES(suggestionpopup.wt ${BOOST_SIGNALS_LIB})
+ 
+ ENDIF(NOT WT_NO_STD_WSTRING)
+diff -rupd witty-3.3.4+dfsg.orig/examples/feature/video/CMakeLists.txt witty-3.3.4+dfsg/examples/feature/video/CMakeLists.txt
+--- witty-3.3.4+dfsg.orig/examples/feature/video/CMakeLists.txt	2011-08-03 09:22:51.000000000 +0200
++++ witty-3.3.4+dfsg/examples/feature/video/CMakeLists.txt	2015-04-07 00:41:20.631286000 +0200
+@@ -6,4 +6,4 @@ WT_ADD_EXAMPLE(video.wt video.C)
+ # e.g. INCLUDE_DIRECTORIES(/usr/local/include)
+ # instead of the following:
+ #
+-INCLUDE_DIRECTORIES(${WT_SOURCE_DIR}/src)
++INCLUDE_DIRECTORIES(${WT_INCLUDE_DIR})
+diff -rupd witty-3.3.4+dfsg.orig/examples/feature/widgetset/CMakeLists.txt witty-3.3.4+dfsg/examples/feature/widgetset/CMakeLists.txt
+--- witty-3.3.4+dfsg.orig/examples/feature/widgetset/CMakeLists.txt	2011-04-05 15:20:05.000000000 +0200
++++ witty-3.3.4+dfsg/examples/feature/widgetset/CMakeLists.txt	2015-04-07 00:41:20.631286000 +0200
+@@ -8,7 +8,8 @@ IF (EXAMPLES_CONNECTOR MATCHES "wthttp")
+   # e.g. INCLUDE_DIRECTORIES(/usr/local/include)
+   # instead of the following:
+   #
+-  INCLUDE_DIRECTORIES(${WT_SOURCE_DIR}/src)
++  INCLUDE_DIRECTORIES(${WT_INCLUDE_DIR})
++  TARGET_LINK_LIBRARIES(hellowidgetset.wt ${SSL_LIBRARIES} ${BOOST_WT_LIBRARIES} ${BOOST_WTHTTP_LIBRARIES} ${ZLIB_LIBRARIES} ${ASIO_LIBRARIES})
+ 
+ ELSE (EXAMPLES_CONNECTOR MATCHES "wthttp")
+ 
+diff -rupd witty-3.3.4+dfsg.orig/examples/filetreetable/CMakeLists.txt witty-3.3.4+dfsg/examples/filetreetable/CMakeLists.txt
+--- witty-3.3.4+dfsg.orig/examples/filetreetable/CMakeLists.txt	2010-10-29 15:27:49.000000000 +0200
++++ witty-3.3.4+dfsg/examples/filetreetable/CMakeLists.txt	2015-04-07 00:41:20.631286000 +0200
+@@ -9,10 +9,10 @@ ELSE(NOT WIN32 AND NOT BOOST_FS_LIB)
+   )
+ 
+   TARGET_LINK_LIBRARIES(filetreetable.wt
+-    ${BOOST_FS_LIB}
++    ${BOOST_FS_LIB} ${SSL_LIBRARIES} ${BOOST_WT_LIBRARIES} ${BOOST_WTHTTP_LIBRARIES} ${ZLIB_LIBRARIES} ${ASIO_LIBRARIES}
+   )
+ 
+-  INCLUDE_DIRECTORIES(${WT_SOURCE_DIR}/src)
++  INCLUDE_DIRECTORIES(${WT_INCLUDE_DIR})
+ 
+   ADD_DEPENDENCIES(filetreetable.wt wt ${EXAMPLES_CONNECTOR})
+ 
+diff -rupd witty-3.3.4+dfsg.orig/examples/form/CMakeLists.txt witty-3.3.4+dfsg/examples/form/CMakeLists.txt
+--- witty-3.3.4+dfsg.orig/examples/form/CMakeLists.txt	2011-05-19 16:48:56.000000000 +0200
++++ witty-3.3.4+dfsg/examples/form/CMakeLists.txt	2015-04-07 00:41:20.631286000 +0200
+@@ -2,8 +2,9 @@ IF(NOT WT_NO_STD_WSTRING)
+ 
+ WT_ADD_EXAMPLE(formexample.wt Form.C FormExample.C)
+ 
+-INCLUDE_DIRECTORIES(${WT_SOURCE_DIR}/src)
++INCLUDE_DIRECTORIES(${WT_INCLUDE_DIR})
+ 
+ ADD_DEPENDENCIES(formexample.wt wt ${EXAMPLES_CONNECTOR})
++TARGET_LINK_LIBRARIES(formexample.wt ${SSL_LIBRARIES} ${BOOST_WT_LIBRARIES} ${BOOST_WTHTTP_LIBRARIES} ${ZLIB_LIBRARIES} ${ASIO_LIBRARIES})
+ 
+ ENDIF(NOT WT_NO_STD_WSTRING)
+diff -rupd witty-3.3.4+dfsg.orig/examples/gitmodel/CMakeLists.txt witty-3.3.4+dfsg/examples/gitmodel/CMakeLists.txt
+--- witty-3.3.4+dfsg.orig/examples/gitmodel/CMakeLists.txt	2010-10-29 15:27:49.000000000 +0200
++++ witty-3.3.4+dfsg/examples/gitmodel/CMakeLists.txt	2015-04-07 00:41:20.631286000 +0200
+@@ -7,7 +7,7 @@ IF(BOOST_FS_LIB)
+     ../wt-homepage/SourceView.C
+     GitView.C
+   )
+-  TARGET_LINK_LIBRARIES(gitview.wt ${BOOST_FS_LIB})
++  TARGET_LINK_LIBRARIES(gitview.wt ${BOOST_FS_LIB} ${BOOST_SIGNALS_LIB} ${BOOST_SYSTEM_LIB})
+ 
+   INCLUDE_DIRECTORIES(
+     ${WT_SOURCE_DIR}/src
+diff -rupd witty-3.3.4+dfsg.orig/examples/hangman/CMakeLists.txt witty-3.3.4+dfsg/examples/hangman/CMakeLists.txt
+--- witty-3.3.4+dfsg.orig/examples/hangman/CMakeLists.txt	2011-11-15 08:49:29.000000000 +0100
++++ witty-3.3.4+dfsg/examples/hangman/CMakeLists.txt	2015-04-07 00:41:20.631286000 +0200
+@@ -10,7 +10,7 @@ WT_ADD_EXAMPLE(hangman.wt
+   HighScoresWidget.C
+   Dictionary.C
+ )
+-TARGET_LINK_LIBRARIES(hangman.wt wtdbo wtdbosqlite3)
++TARGET_LINK_LIBRARIES(hangman.wt wtdbo wtdbosqlite3 ${SSL_LIBRARIES} ${BOOST_WT_LIBRARIES} ${BOOST_WTHTTP_LIBRARIES} ${ZLIB_LIBRARIES} ${ASIO_LIBRARIES})
+ 
+ # Test whether crypt(3) is provided by libc. If it's not, check if
+ # libcrypt exists and if it provides crypt(3).
+@@ -27,4 +27,4 @@ IF(CRYPT_LIB_EXISTS)
+   TARGET_LINK_LIBRARIES(hangman.wt crypt)
+ ENDIF(CRYPT_LIB_EXISTS)
+ 
+-INCLUDE_DIRECTORIES(${WT_SOURCE_DIR}/src)
++INCLUDE_DIRECTORIES(${WT_INCLUDE_DIR})
+diff -rupd witty-3.3.4+dfsg.orig/examples/hello/CMakeLists.txt witty-3.3.4+dfsg/examples/hello/CMakeLists.txt
+--- witty-3.3.4+dfsg.orig/examples/hello/CMakeLists.txt	2010-10-16 16:54:31.000000000 +0200
++++ witty-3.3.4+dfsg/examples/hello/CMakeLists.txt	2015-04-07 00:41:20.631286000 +0200
+@@ -15,4 +15,5 @@ WT_ADD_EXAMPLE(hello.wt hello.C)
+ # e.g. INCLUDE_DIRECTORIES(/usr/local/include)
+ # instead of the following:
+ #
+-INCLUDE_DIRECTORIES(${WT_SOURCE_DIR}/src)
++INCLUDE_DIRECTORIES(${WT_INCLUDE_DIR})
++TARGET_LINK_LIBRARIES(hello.wt ${SSL_LIBRARIES} ${BOOST_WT_LIBRARIES} ${BOOST_WTHTTP_LIBRARIES} ${ZLIB_LIBRARIES} ${ASIO_LIBRARIES})
+diff -rupd witty-3.3.4+dfsg.orig/examples/javascript/CMakeLists.txt witty-3.3.4+dfsg/examples/javascript/CMakeLists.txt
+--- witty-3.3.4+dfsg.orig/examples/javascript/CMakeLists.txt	2010-10-16 16:54:31.000000000 +0200
++++ witty-3.3.4+dfsg/examples/javascript/CMakeLists.txt	2015-04-07 00:41:20.631286000 +0200
+@@ -4,6 +4,7 @@ WT_ADD_EXAMPLE(javascript.wt
+   Popup.C
+ )
+ 
+-INCLUDE_DIRECTORIES(${WT_SOURCE_DIR}/src)
++INCLUDE_DIRECTORIES(${WT_INCLUDE_DIR})
+ 
+ ADD_DEPENDENCIES(javascript.wt wt ${EXAMPLES_CONNECTOR})
++TARGET_LINK_LIBRARIES(javascript.wt ${SSL_LIBRARIES} ${BOOST_WT_LIBRARIES} ${BOOST_WTHTTP_LIBRARIES} ${ZLIB_LIBRARIES} ${ASIO_LIBRARIES})
+diff -rupd witty-3.3.4+dfsg.orig/examples/mandelbrot/CMakeLists.txt witty-3.3.4+dfsg/examples/mandelbrot/CMakeLists.txt
+--- witty-3.3.4+dfsg.orig/examples/mandelbrot/CMakeLists.txt	2013-11-29 17:28:07.000000000 +0100
++++ witty-3.3.4+dfsg/examples/mandelbrot/CMakeLists.txt	2015-04-07 00:41:20.631286000 +0200
+@@ -6,10 +6,11 @@ ELSE(NOT WT_HAS_WRASTERIMAGE)
+ 
+   INCLUDE_DIRECTORIES(
+     ${GD_INCLUDE_DIRS}
+-    ${WT_SOURCE_DIR}/src
++    ${WT_INCLUDE_DIR}
+   )
+ 
+   ADD_DEPENDENCIES(mandelbrot.wt wt ${EXAMPLES_CONNECTOR})
++  TARGET_LINK_LIBRARIES(mandelbrot.wt ${SSL_LIBRARIES} ${BOOST_WT_LIBRARIES} ${BOOST_WTHTTP_LIBRARIES} ${ZLIB_LIBRARIES} ${ASIO_LIBRARIES} ${GD_LIBRARIES})
+ 
+ ENDIF(NOT WT_HAS_WRASTERIMAGE)
+ 
+diff -rupd witty-3.3.4+dfsg.orig/examples/mission/CMakeLists.txt witty-3.3.4+dfsg/examples/mission/CMakeLists.txt
+--- witty-3.3.4+dfsg.orig/examples/mission/CMakeLists.txt	2010-10-16 16:54:31.000000000 +0200
++++ witty-3.3.4+dfsg/examples/mission/CMakeLists.txt	2015-04-07 00:41:20.631286000 +0200
+@@ -7,7 +7,8 @@ WT_ADD_EXAMPLE(impossible.wt impossible.
+ # instead of the following:
+ #
+ INCLUDE_DIRECTORIES(
+-  ${WT_SOURCE_DIR}/src
++  ${WT_INCLUDE_DIR}
+ )
+ 
+ ADD_DEPENDENCIES(impossible.wt wt ${EXAMPLES_CONNECTOR})
++TARGET_LINK_LIBRARIES(impossible.wt ${SSL_LIBRARIES} ${BOOST_WT_LIBRARIES} ${BOOST_WTHTTP_LIBRARIES} ${ZLIB_LIBRARIES} ${ASIO_LIBRARIES})
+diff -rupd witty-3.3.4+dfsg.orig/examples/painting/CMakeLists.txt witty-3.3.4+dfsg/examples/painting/CMakeLists.txt
+--- witty-3.3.4+dfsg.orig/examples/painting/CMakeLists.txt	2010-10-16 16:54:31.000000000 +0200
++++ witty-3.3.4+dfsg/examples/painting/CMakeLists.txt	2015-04-07 00:41:20.631286000 +0200
+@@ -8,5 +8,5 @@ WT_ADD_EXAMPLE(paintexample.wt
+ # e.g. INCLUDE_DIRECTORIES(/usr/local/include)
+ # instead of the following:
+ #
+-INCLUDE_DIRECTORIES(${WT_SOURCE_DIR}/src)
+-
++INCLUDE_DIRECTORIES(${WT_INCLUDE_DIR})
++TARGET_LINK_LIBRARIES(paintexample.wt ${SSL_LIBRARIES} ${BOOST_WT_LIBRARIES} ${BOOST_WTHTTP_LIBRARIES} ${ZLIB_LIBRARIES} ${ASIO_LIBRARIES})
+diff -rupd witty-3.3.4+dfsg.orig/examples/planner/CMakeLists.txt witty-3.3.4+dfsg/examples/planner/CMakeLists.txt
+--- witty-3.3.4+dfsg.orig/examples/planner/CMakeLists.txt	2010-10-16 16:54:31.000000000 +0200
++++ witty-3.3.4+dfsg/examples/planner/CMakeLists.txt	2015-04-07 00:41:20.631286000 +0200
+@@ -20,5 +20,5 @@ TARGET_LINK_LIBRARIES(planner.wt wtdbo w
+ # e.g. INCLUDE_DIRECTORIES(/usr/local/include)
+ # instead of the following:
+ #
+-INCLUDE_DIRECTORIES(${WT_SOURCE_DIR}/src)
+-
++INCLUDE_DIRECTORIES(${WT_INCLUDE_DIR})
++TARGET_LINK_LIBRARIES(planner.wt ${SSL_LIBRARIES} ${BOOST_WT_LIBRARIES} ${BOOST_WTHTTP_LIBRARIES} ${ZLIB_LIBRARIES} ${ASIO_LIBRARIES})
+diff -rupd witty-3.3.4+dfsg.orig/examples/qrlogin/CMakeLists.txt witty-3.3.4+dfsg/examples/qrlogin/CMakeLists.txt
+--- witty-3.3.4+dfsg.orig/examples/qrlogin/CMakeLists.txt	2012-01-12 11:11:36.000000000 +0100
++++ witty-3.3.4+dfsg/examples/qrlogin/CMakeLists.txt	2015-04-07 00:41:20.631286000 +0200
+@@ -7,6 +7,6 @@ WT_ADD_EXAMPLE(qrlogin.wt
+ 	model/User.C
+ )
+ 
+-TARGET_LINK_LIBRARIES(qrlogin.wt wtdbo wtdbosqlite3)
++TARGET_LINK_LIBRARIES(qrlogin.wt wtdbo wtdbosqlite3 ${BOOST_SIGNALS_LIB} ${BOOST_SYSTEM_LIB})
+ 
+ INCLUDE_DIRECTORIES(${WT_SOURCE_DIR}/src)
+diff -rupd witty-3.3.4+dfsg.orig/examples/simplechat/CMakeLists.txt witty-3.3.4+dfsg/examples/simplechat/CMakeLists.txt
+--- witty-3.3.4+dfsg.orig/examples/simplechat/CMakeLists.txt	2010-12-16 12:19:39.000000000 +0100
++++ witty-3.3.4+dfsg/examples/simplechat/CMakeLists.txt	2015-04-07 00:41:20.631286000 +0200
+@@ -2,6 +2,7 @@ IF(NOT MULTI_THREADED_BUILD)
+   MESSAGE(STATUS "** Not building simplechat example: requires a multi-threaded build.")
+ ELSE(NOT MULTI_THREADED_BUILD)
+ 
++ FIND_PACKAGE(Threads REQUIRED)
+  ADD_DEFINITIONS(-DTHREADED)
+ 
+  WT_ADD_EXAMPLE(simplechat.wt
+@@ -11,7 +12,7 @@ ELSE(NOT MULTI_THREADED_BUILD)
+    SimpleChatServer.C
+ )
+ 
+- TARGET_LINK_LIBRARIES(simplechat.wt ${BOOST_THREAD_LIB})
++ TARGET_LINK_LIBRARIES(simplechat.wt ${BOOST_WT_THREAD_LIBRARY} ${SSL_LIBRARIES} ${BOOST_WT_LIBRARIES} ${BOOST_WTHTTP_LIBRARIES} ${ZLIB_LIBRARIES} ${ASIO_LIBRARIES} ${CMAKE_THREAD_LIBS_INIT})
+ 
+  #
+  # If you have Wt installed somehwere, you should use the
+@@ -19,7 +20,7 @@ ELSE(NOT MULTI_THREADED_BUILD)
+  # e.g. INCLUDE_DIRECTORIES(/usr/local/include)
+  # instead of the following:
+  #
+- INCLUDE_DIRECTORIES(${WT_SOURCE_DIR}/src)
++ INCLUDE_DIRECTORIES(${WT_SOURCE_DIR})
+ 
+ ENDIF(NOT MULTI_THREADED_BUILD)
+ 
+diff -rupd witty-3.3.4+dfsg.orig/examples/style/CMakeLists.txt witty-3.3.4+dfsg/examples/style/CMakeLists.txt
+--- witty-3.3.4+dfsg.orig/examples/style/CMakeLists.txt	2013-11-29 17:28:07.000000000 +0100
++++ witty-3.3.4+dfsg/examples/style/CMakeLists.txt	2015-04-07 00:41:20.631286000 +0200
+@@ -7,10 +7,11 @@ ELSE(NOT WT_HAS_WRASTERIMAGE)
+   WT_ADD_EXAMPLE(styleexample.wt CornerImage.C RoundedWidget.C StyleExample.C)
+ 
+   INCLUDE_DIRECTORIES(
+-   ${WT_SOURCE_DIR}/src
++   ${WT_INCLUDE_DIR}
+   )
+ 
+   ADD_DEPENDENCIES(styleexample.wt wt ${EXAMPLES_CONNECTOR})
++  TARGET_LINK_LIBRARIES(styleexample.wt ${SSL_LIBRARIES} ${BOOST_WT_LIBRARIES} ${BOOST_WTHTTP_LIBRARIES} ${ZLIB_LIBRARIES} ${ASIO_LIBRARIES} ${GD_LIBRARIES})
+ 
+ ENDIF(NOT WT_HAS_WRASTERIMAGE)
+ 
+diff -rupd witty-3.3.4+dfsg.orig/examples/treelist/CMakeLists.txt witty-3.3.4+dfsg/examples/treelist/CMakeLists.txt
+--- witty-3.3.4+dfsg.orig/examples/treelist/CMakeLists.txt	2010-10-16 16:54:31.000000000 +0200
++++ witty-3.3.4+dfsg/examples/treelist/CMakeLists.txt	2015-04-07 00:41:20.631286000 +0200
+@@ -1,8 +1,8 @@
+ WT_ADD_EXAMPLE(demotreelist.wt DemoTreeList.C IconPair.C TreeNode.C)
+ 
+ INCLUDE_DIRECTORIES(
+-  ${WT_SOURCE_DIR}/src
++  ${WT_INCLUDE_DIR}
+ )
+ 
+ ADD_DEPENDENCIES(demotreelist.wt wt ${EXAMPLES_CONNECTOR})
+-
++TARGET_LINK_LIBRARIES(demotreelist.wt ${SSL_LIBRARIES} ${BOOST_WT_LIBRARIES} ${BOOST_WTHTTP_LIBRARIES} ${ZLIB_LIBRARIES} ${ASIO_LIBRARIES})
+diff -rupd witty-3.3.4+dfsg.orig/examples/treeview/CMakeLists.txt witty-3.3.4+dfsg/examples/treeview/CMakeLists.txt
+--- witty-3.3.4+dfsg.orig/examples/treeview/CMakeLists.txt	2010-10-16 16:54:31.000000000 +0200
++++ witty-3.3.4+dfsg/examples/treeview/CMakeLists.txt	2015-04-07 00:41:20.631286000 +0200
+@@ -4,8 +4,8 @@ WT_ADD_EXAMPLE(treeviewexample.wt
+ )
+ 
+ INCLUDE_DIRECTORIES(
+-  ${WT_SOURCE_DIR}/src
++  ${WT_INCLUDE_DIR}
+ )
+ 
+ ADD_DEPENDENCIES(treeviewexample.wt wt ${EXAMPLES_CONNECTOR})
+-
++TARGET_LINK_LIBRARIES(treeviewexample.wt ${SSL_LIBRARIES} ${BOOST_WT_LIBRARIES} ${BOOST_WTHTTP_LIBRARIES} ${ZLIB_LIBRARIES} ${ASIO_LIBRARIES})
+diff -rupd witty-3.3.4+dfsg.orig/examples/treeview-dragdrop/CMakeLists.txt witty-3.3.4+dfsg/examples/treeview-dragdrop/CMakeLists.txt
+--- witty-3.3.4+dfsg.orig/examples/treeview-dragdrop/CMakeLists.txt	2010-10-16 16:54:31.000000000 +0200
++++ witty-3.3.4+dfsg/examples/treeview-dragdrop/CMakeLists.txt	2015-04-07 00:41:20.631286000 +0200
+@@ -5,8 +5,8 @@ WT_ADD_EXAMPLE(treeviewdragdrop.wt
+ )
+ 
+ INCLUDE_DIRECTORIES(
+-  ${WT_SOURCE_DIR}/src
++  ${WT_INCLUDE_DIR}
+ )
+ 
+ ADD_DEPENDENCIES(treeviewdragdrop.wt wt ${EXAMPLES_CONNECTOR})
+-
++TARGET_LINK_LIBRARIES(treeviewdragdrop.wt ${SSL_LIBRARIES} ${BOOST_WT_LIBRARIES} ${BOOST_WTHTTP_LIBRARIES} ${ZLIB_LIBRARIES} ${ASIO_LIBRARIES})
+diff -rupd witty-3.3.4+dfsg.orig/examples/webgl/CMakeLists.txt witty-3.3.4+dfsg/examples/webgl/CMakeLists.txt
+--- witty-3.3.4+dfsg.orig/examples/webgl/CMakeLists.txt	2010-11-12 11:00:43.000000000 +0100
++++ witty-3.3.4+dfsg/examples/webgl/CMakeLists.txt	2015-04-07 00:41:20.631286000 +0200
+@@ -8,11 +8,11 @@
+ # build a DLL with the proper symbols exported.
+ #
+ WT_ADD_EXAMPLE(webgl.wt teapot.C readObj.C PaintWidget.C)
+-
++TARGET_LINK_LIBRARIES(webgl.wt ${SSL_LIBRARIES} ${BOOST_WT_LIBRARIES} ${BOOST_WTHTTP_LIBRARIES} ${ZLIB_LIBRARIES} ${ASIO_LIBRARIES} )
+ #
+ # If you have Wt installed somehwere, you should use the
+ # installed Wt header files for your own Wt projects.
+ # e.g. INCLUDE_DIRECTORIES(/usr/local/include)
+ # instead of the following:
+ #
+-INCLUDE_DIRECTORIES(${WT_SOURCE_DIR}/src)
++INCLUDE_DIRECTORIES(${WT_INCLUDE_DIR})
+diff -rupd witty-3.3.4+dfsg.orig/examples/wt-homepage/CMakeLists.txt witty-3.3.4+dfsg/examples/wt-homepage/CMakeLists.txt
+--- witty-3.3.4+dfsg.orig/examples/wt-homepage/CMakeLists.txt	2011-11-07 15:28:20.000000000 +0100
++++ witty-3.3.4+dfsg/examples/wt-homepage/CMakeLists.txt	2015-04-07 00:41:20.631286000 +0200
+@@ -34,7 +34,7 @@ ENDIF(WT_EMWEB_BUILD)
+ 
+ WT_ADD_EXAMPLE(Home.wt ${SRC})
+ 
+-TARGET_LINK_LIBRARIES(Home.wt wtdbo wtdbosqlite3 ${BOOST_FS_LIB})
++TARGET_LINK_LIBRARIES(Home.wt ${SSL_LIBRARIES} ${BOOST_WT_LIBRARIES} ${BOOST_WTHTTP_LIBRARIES} ${ZLIB_LIBRARIES} ${ASIO_LIBRARIES} wtdbo wtdbosqlite3 ${BOOST_FS_LIB})
+ 
+ # Test whether crypt(3) is provided by libc. If it's not, check if
+ # libcrypt exists and if it provides crypt(3).
+@@ -52,7 +52,7 @@ IF(CRYPT_LIB_EXISTS)
+ ENDIF(CRYPT_LIB_EXISTS)
+ 
+ INCLUDE_DIRECTORIES(
+-  ${WT_SOURCE_DIR}/src
++  ${WT_INCLUDE_DIR}
+   ${WT_SOURCE_DIR}/examples/blog
+   )
+ 
+diff -rupd witty-3.3.4+dfsg.orig/examples/wtwithqt/CMakeLists.txt witty-3.3.4+dfsg/examples/wtwithqt/CMakeLists.txt
+--- witty-3.3.4+dfsg.orig/examples/wtwithqt/CMakeLists.txt	2010-10-16 16:54:31.000000000 +0200
++++ witty-3.3.4+dfsg/examples/wtwithqt/CMakeLists.txt	2015-04-07 00:41:20.631286000 +0200
+@@ -32,7 +32,7 @@ ELSE (NOT BUILD_WTWITHQT)
+ 
+   TARGET_LINK_LIBRARIES(helloqt.wt
+     wtwithqt
+-    ${QT_LIBRARIES}
++    ${QT_LIBRARIES} ${SSL_LIBRARIES} ${BOOST_WT_LIBRARIES} ${BOOST_WTHTTP_LIBRARIES} ${ZLIB_LIBRARIES} ${ASIO_LIBRARIES} ${QT_QTCORE_LIBRARIES}
+   )
+ 
+   #
+@@ -42,7 +42,7 @@ ELSE (NOT BUILD_WTWITHQT)
+   # instead of the following:
+   #
+   INCLUDE_DIRECTORIES(
+-    ${WT_SOURCE_DIR}/src
++    ${WT_INCLUDE_DIR}
+     ${CMAKE_CURRENT_SOURCE_DIR}/lib
+     ${QT_QTCORE_INCLUDE_DIR} ${QT_INCLUDE_DIR}
+   )
+diff -rupd witty-3.3.4+dfsg.orig/examples/wtwithqt/lib/CMakeLists.txt witty-3.3.4+dfsg/examples/wtwithqt/lib/CMakeLists.txt
+--- witty-3.3.4+dfsg.orig/examples/wtwithqt/lib/CMakeLists.txt	2010-10-16 16:54:31.000000000 +0200
++++ witty-3.3.4+dfsg/examples/wtwithqt/lib/CMakeLists.txt	2015-04-07 00:41:20.635286000 +0200
+@@ -15,6 +15,6 @@ ADD_LIBRARY(wtwithqt STATIC
+ # instead of the following:
+ #
+ INCLUDE_DIRECTORIES(
+-  ${WT_SOURCE_DIR}/src/wt
++  ${WT_INCLUDE_DIR}
+   ${QT_QTCORE_INCLUDE_DIR} ${QT_INCLUDE_DIR}
+ )
--- witty-3.3.5+dfsg.orig/debian/patches/06_do_not_fetch_octocat.dpatch
+++ witty-3.3.5+dfsg/debian/patches/06_do_not_fetch_octocat.dpatch
@@ -0,0 +1,31 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## 06_do_not_fetch_octocat.dpatch by Pau Garcia i Quiles <pgquiles@elpauer.org>
+##
+## All lines beginning with `## DP:' are a description of the patch.
+## DP: Do not fetch GitHub's octocat. It violates DFSG guidelines and 
+## DP: it doesn't really add anything to the website.
+
+@DPATCH@
+
+diff -rupd witty-3.3.2+dfsg.orig/examples/wt-homepage/jwt-home.xml witty-3.3.2+dfsg/examples/wt-homepage/jwt-home.xml
+--- witty-3.3.2+dfsg.orig/examples/wt-homepage/jwt-home.xml	2014-02-12 12:59:42.000000000 +0100
++++ witty-3.3.2+dfsg/examples/wt-homepage/jwt-home.xml	2014-04-22 23:17:35.224105000 +0200
+@@ -587,7 +587,6 @@ href="http://www.webtoolkit.eu/jwt/lates
+ 
+ <h4>Git repository</h4>
+ 
+-<a href="https://github.com/kdeforche/jwt"><img style="display: block; width: 80px; float: right" src="https://github.com/github/media/blob/master/octocats/octocat.png?raw=true"></img></a>
+ <p>If you want to keep track of the latest changes, or participate in
+ JWt development, you may want to work from
+ the <a href="https://github.com/kdeforche/jwt">github
+diff -rupd witty-3.3.2+dfsg.orig/examples/wt-homepage/wt-home.xml witty-3.3.2+dfsg/examples/wt-homepage/wt-home.xml
+--- witty-3.3.2+dfsg.orig/examples/wt-homepage/wt-home.xml	2014-02-12 12:59:42.000000000 +0100
++++ witty-3.3.2+dfsg/examples/wt-homepage/wt-home.xml	2014-04-22 23:17:43.824105000 +0200
+@@ -1058,7 +1058,6 @@ installation instructions</a>.
+ 
+ <h4>Git repository</h4>
+ 
+-<a href="https://github.com/kdeforche/wt"><img style="display: block; width: 80px; float: right" src="https://github.com/github/media/blob/master/octocats/octocat.png?raw=true"></img></a>
+ <p>If you want to keep track of the latest changes, or participate in
+ Wt development, you may want to work from
+ the <a href="https://github.com/kdeforche/wt">github
--- witty-3.3.5+dfsg.orig/debian/patches/07_tests_cmake_dependencies.dpatch
+++ witty-3.3.5+dfsg/debian/patches/07_tests_cmake_dependencies.dpatch
@@ -0,0 +1,79 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## 07_tests_cmake_check_dependencies.dpatch by  <pgquiles@elpauer.org>
+##
+## All lines beginning with `## DP:' are a description of the patch.
+## DP: Fix CMake checks and linkage for tests
+
+@DPATCH@
+
+diff -rupdN witty-3.3.4+dfsg.orig/test/CMakeLists.txt witty-3.3.4+dfsg/test/CMakeLists.txt
+--- witty-3.3.4+dfsg.orig/test/CMakeLists.txt	2014-11-17 11:55:38.000000000 +0100
++++ witty-3.3.4+dfsg/test/CMakeLists.txt	2015-04-07 19:26:37.951286000 +0200
+@@ -1,3 +1,56 @@
++cmake_minimum_required(VERSION 2.4)
++
++IF(NOT MULTI_THREADED)
++  OPTION(MULTI_THREADED "Build multi-threaded httpd deamon (if possible)" ON)
++ENDIF(NOT MULTI_THREADED)
++
++INCLUDE( ${WT_SOURCE_DIR}/cmake/WtFindBoost.txt )
++INCLUDE(FindThreads)
++
++#IF(NOT BOOST_WT_FOUND)
++#  MESSAGE("** Error finding Wt required library: ")
++#  MESSAGE("** Could not find a boost installation in " ${BOOST_DIR} ".")
++#  MESSAGE("** It may be necessary to set appropriate values for the")
++#  MESSAGE("   variables BOOST_DIR, BOOST_COMPILER, and BOOST_VERSION")
++#  MESSAGE(FATAL_ERROR "** Wt requires the following C++ boost libraries:
++#  boost_date_time, boost_regex, and boost_program_options, boost_signals,
++#  and optionally boost_thread")
++#ENDIF(NOT BOOST_WT_FOUND)
++
++IF(BOOST_WT_MT_FOUND)
++  IF(MULTI_THREADED)
++    ADD_DEFINITIONS(-DTHREADED -D_REENTRANT -DBOOST_SPIRIT_THREADSAFE)
++    MESSAGE("** Enabling multi threading.")
++  ELSE(MULTI_THREADED)
++    MESSAGE("** Disabling multi threading.")
++    ADD_DEFINITIONS(-DBOOST_DISABLE_THREADS)
++  ENDIF(MULTI_THREADED)
++ELSE(BOOST_WT_MT_FOUND)
++  MESSAGE("** Disabling multi threading.")
++  ADD_DEFINITIONS(-DBOOST_DISABLE_THREADS)
++ENDIF(BOOST_WT_MT_FOUND)
++
++# Boost is used nearly everywhere, so we can put these here
++INCLUDE_DIRECTORIES(${BOOST_INCLUDE_DIRS})
++LINK_DIRECTORIES(${BOOST_LIB_DIRS})
++IF(WIN32)
++  IF(BOOST_DYNAMIC)
++    ADD_DEFINITIONS(-DBOOST_ALL_DYN_LINK)
++  ENDIF(BOOST_DYNAMIC)
++ENDIF(WIN32)
++
++IF(BOOST_WT_MT_FOUND)
++  IF(MULTI_THREADED)
++    ADD_DEFINITIONS(-DWT_THREADED -D_REENTRANT -DBOOST_SPIRIT_THREADSAFE)
++  ELSE(MULTI_THREADED)
++    ADD_DEFINITIONS(-DBOOST_DISABLE_THREADS)
++  ENDIF(MULTI_THREADED)
++ELSE(BOOST_WT_MT_FOUND)
++  ADD_DEFINITIONS(-DBOOST_DISABLE_THREADS)
++ENDIF(BOOST_WT_MT_FOUND)
++
++ADD_DEFINITIONS(-DWT_DEPRECATED_3_0_0)
++
+ IF(ENABLE_LIBWTTEST)
+   SET(TEST_SOURCES
+     test.C
+@@ -43,6 +96,10 @@ IF(ENABLE_LIBWTTEST)
+ 
+   TARGET_LINK_LIBRARIES(test wt wttest ${BOOST_FS_LIB})
+ 
++  IF( UNIX )
++    TARGET_LINK_LIBRARIES( test dl )
++  ENDIF( UNIX )
++
+   IF(ENABLE_LIBWTDBO)
+     # Test all dbo backends
+     SET(DBO_TEST_SOURCES
--- witty-3.3.5+dfsg.orig/debian/patches/08_boost_random.dpatch
+++ witty-3.3.5+dfsg/debian/patches/08_boost_random.dpatch
@@ -0,0 +1,249 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## 08_boost_random.dpatch by  <pgquiles@elpauer.org>
+##
+## All lines beginning with `## DP:' are a description of the patch.
+## DP: Upstream random_device.cpp does not build with newer version of Boost
+## DP: This patch provides a slightly modified version for Boost >= 1.48,
+## DP: while keeping the original version for Boost < 1.48
+
+@DPATCH@
+
+diff -rupd wt-3.3.2.orig/src/web/random_device.cpp wt-3.3.2/src/web/random_device.cpp
+--- wt-3.3.2.orig/src/web/random_device.cpp	2014-02-25 23:12:04.000000000 +0100
++++ wt-3.3.2/src/web/random_device.cpp	2014-03-18 22:03:07.716491000 +0100
+@@ -26,6 +26,9 @@
+ #endif
+ #endif
+ 
++#include <boost/version.hpp>
++#if (BOOST_VERSION < 104800)
++
+ #include <boost/lexical_cast.hpp>
+ #include <boost/nondet_random.hpp>
+ #include <string>
+@@ -182,4 +185,225 @@ unsigned int boost::random_device::opera
+   return pimpl->next();
+ }
+ 
++#else /* boost version greater than 1.48*/
++
++/* boost random_device.cpp implementation
++ *
++ * Copyright Jens Maurer 2000
++ * Copyright Steven Watanabe 2010-2011
++ * Distributed under the Boost Software License, Version 1.0. (See
++ * accompanying file LICENSE_1_0.txt or copy at
++ * http://www.boost.org/LICENSE_1_0.txt)
++ *
++ * $Id: random_device.cpp 71018 2011-04-05 21:27:52Z steven_watanabe $
++ *
++ */
++
++#define BOOST_RANDOM_SOURCE
++
++#include <boost/random/random_device.hpp>
++#include <boost/config.hpp>
++#include <boost/assert.hpp>
++#include <boost/detail/workaround.hpp>
++#include <string>
++
++#if !defined(BOOST_NO_INCLASS_MEMBER_INITIALIZATION) && !BOOST_WORKAROUND(BOOST_MSVC, BOOST_TESTED_AT(1600))
++//  A definition is required even for integral static constants
++const bool boost::random::random_device::has_fixed_range;
++#endif
++
++
++#if defined(BOOST_WINDOWS)
++
++#include <windows.h>
++#include <wincrypt.h>
++#include <stdexcept>  // std::invalid_argument
++
++#define BOOST_AUTO_LINK_NOMANGLE
++#define BOOST_LIB_NAME "Advapi32"
++#include <boost/config/auto_link.hpp>
++
++#ifdef __MINGW32__
++
++extern "C" {
++
++// mingw's wincrypt.h appears to be missing some things
++WINADVAPI
++BOOL
++WINAPI
++CryptEnumProvidersA(
++    DWORD dwIndex,
++    DWORD *pdwReserved,
++    DWORD dwFlags,
++    DWORD *pdwProvType,
++    LPSTR szProvName,
++    DWORD *pcbProvName
++    );
++
++}
++
++ #endif
++
++namespace {
++
++const char * const default_token = MS_DEF_PROV_A;
++
++}
++
++class boost::random::random_device::impl
++{
++public:
++  impl(const std::string & token) : provider(token) {
++    char buffer[80];
++    DWORD type;
++    DWORD len;
++
++    // Find the type of the provider
++    for(DWORD i = 0; ; ++i) {
++      len = sizeof(buffer);
++      if(!CryptEnumProvidersA(i, NULL, 0, &type, buffer, &len)) {
++        error("Could not find provider name");
++      }
++      if(buffer == provider) {
++        break;
++      }
++    }
++
++    if(!CryptAcquireContextA(&hProv, NULL, provider.c_str(), type,
++        CRYPT_VERIFYCONTEXT | CRYPT_SILENT)) {
++      error("Could not acquire CSP context");
++    }
++  }
++
++  ~impl() {
++    if(!CryptReleaseContext(hProv, 0)) error("Could not release CSP context");
++  }
++
++  unsigned int next() {
++    unsigned int result;
++
++    if(!CryptGenRandom(hProv, sizeof(result),
++        static_cast<BYTE*>(static_cast<void*>(&result)))) {
++      error("error while reading");
++    }
++
++    return result;
++  }
++
++private:
++  void error(const std::string & msg) {
++    char buf[80];
++    DWORD num = FormatMessageA(
++      FORMAT_MESSAGE_FROM_SYSTEM | FORMAT_MESSAGE_IGNORE_INSERTS,
++      NULL,
++      GetLastError(),
++      0,
++      buf,
++      sizeof(buf),
++      NULL);
++
++    throw std::invalid_argument("boost::random_device: " + msg + 
++                                " Cryptopraphic Service Provider " + provider + 
++                                ": " + std::string(&buf[0], &buf[0] + num));
++  }
++  const std::string provider;
++  HCRYPTPROV hProv;
++};
++
++#else
++
++namespace {
++// the default is the unlimited capacity device, using some secure hash
++// try "/dev/random" for blocking when the entropy pool has drained
++const char * const default_token = "/dev/urandom";
++}
++
++/*
++ * This uses the POSIX interface for unbuffered reading.
++ * Using buffered std::istream would consume entropy which may
++ * not actually be used.  Entropy is a precious good we avoid
++ * wasting.
++ */
++
++#if defined(__GNUC__) && defined(_CXXRT_STD_NAME)
++// I have severe difficulty to get the POSIX includes to work with
++// -fhonor-std and Dietmar Kuhl's standard C++ library.  Hack around that
++// problem for now.
++extern "C" {
++static const int O_RDONLY = 0;
++extern int open(const char *__file, int __oflag, ...);
++extern int read(int __fd, __ptr_t __buf, size_t __nbytes);
++extern int close(int __fd);
++}
++#else
++#include <sys/types.h>
++#include <sys/stat.h>
++#include <fcntl.h>    // open
++#include <unistd.h>   // read, close
+ #endif
++
++#include <errno.h>    // errno
++#include <string.h>   // strerror
++#include <stdexcept>  // std::invalid_argument
++
++class boost::random::random_device::impl
++{
++public:
++  impl(const std::string & token) : path(token) {
++    fd = open(token.c_str(), O_RDONLY);
++    if(fd < 0)
++      error("cannot open");
++  }
++
++  ~impl() { if(close(fd) < 0) error("could not close"); }
++
++  unsigned int next() {
++    unsigned int result;
++    long sz = read(fd, reinterpret_cast<char *>(&result), sizeof(result));
++    if(sz == -1)
++      error("error while reading");
++    else if(sz != sizeof(result)) {
++      errno = 0;
++      error("EOF while reading");
++    }
++    return result;
++  }
++
++private:
++  void error(const std::string & msg) {
++    throw std::invalid_argument("boost::random_device: " + msg + 
++                                " random-number pseudo-device " + path + 
++                                ": " + strerror(errno));
++  }
++  const std::string path;
++  int fd;
++};
++
++#endif // BOOST_WINDOWS
++
++BOOST_RANDOM_DECL boost::random::random_device::random_device()
++  : pimpl(new impl(default_token))
++{}
++
++BOOST_RANDOM_DECL boost::random::random_device::random_device(const std::string& token)
++  : pimpl(new impl(token))
++{}
++
++BOOST_RANDOM_DECL boost::random_device::~random_device()
++{
++  delete pimpl;
++}
++
++BOOST_RANDOM_DECL double boost::random_device::entropy() const
++{
++  return 10;
++}
++
++BOOST_RANDOM_DECL unsigned int boost::random_device::operator()()
++{
++  return pimpl->next();
++}
++
++#endif // BOOST_VERSION < 104800
++
++#endif // WT_NO_BOOST_RANDOM
--- witty-3.3.5+dfsg.orig/debian/patches/09_lfs_support.dpatch
+++ witty-3.3.5+dfsg/debian/patches/09_lfs_support.dpatch
@@ -0,0 +1,140 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## 09_lfs_support.dpatch by Pau Garcia i Quiles <pgquiles@elpauer.org>
+##
+## All lines beginning with `## DP:' are a description of the patch.
+## DP: Check for large-file support and enable it when available
+
+@DPATCH@
+
+diff -rupdN witty-3.3.2+dfsg.orig/cmake/CheckLargeFileSupport.cmake witty-3.3.2+dfsg/cmake/CheckLargeFileSupport.cmake
+--- witty-3.3.2+dfsg.orig/cmake/CheckLargeFileSupport.cmake	1970-01-01 01:00:00.000000000 +0100
++++ witty-3.3.2+dfsg/cmake/CheckLargeFileSupport.cmake	2014-06-16 01:23:49.475330564 +0200
+@@ -0,0 +1,62 @@
++# - Define macro to check large file support
++#
++#  check_large_file_support()
++#
++#  This macro sets the following variables:
++#  _LARGE_FILES
++#  _LARGEFILE_SOURCE
++#  _FILE_OFFSET_BITS 64  
++#
++#  However, it is YOUR job to make sure these defines are set in a cmakedefine so they
++#  end up in a config.h file that is included in your source if necessary!
++
++get_filename_component(_selfdir_CheckLargeFileSupport "${CMAKE_CURRENT_LIST_FILE}" PATH)
++
++macro(CHECK_LARGE_FILE_SUPPORT)
++        # On most platforms it is probably overkill to first test the flags for 64-bit off_t,
++        # and then separately fseeko. However, in the future we might have 128-bit filesystems
++        # (ZFS), so it might be dangerous to indiscriminately set e.g. _FILE_OFFSET_BITS=64.
++
++        message(STATUS "Checking for 64-bit off_t")
++
++	# First check without any special flags
++        try_compile(FILE64_OK "${CMAKE_BINARY_DIR}"    
++                    "${_selfdir_CheckLargeFileSupport}/TestFileOffsetBits.c"
++                      COMPILE_DEFINITIONS "-Werror")
++        if(FILE64_OK)
++	    message(STATUS "Checking for 64-bit off_t - present")			
++      	endif(FILE64_OK)
++
++        if(NOT FILE64_OK)	
++	    # Test with _FILE_OFFSET_BITS=64
++            try_compile(FILE64_OK "${CMAKE_BINARY_DIR}"
++                        "${_selfdir_CheckLargeFileSupport}/TestFileOffsetBits.c"
++                        COMPILE_DEFINITIONS "-D_FILE_OFFSET_BITS=64" )
++            if(FILE64_OK)
++	        message(STATUS "Checking for 64-bit off_t - present with _FILE_OFFSET_BITS=64")
++                set(_FILE_OFFSET_BITS 64)
++            endif(FILE64_OK)
++        endif(NOT FILE64_OK)    
++
++        if(NOT FILE64_OK)
++            # Test with _LARGE_FILES
++            try_compile(FILE64_OK "${CMAKE_BINARY_DIR}"
++                        "${_selfdir_CheckLargeFileSupport}/TestFileOffsetBits.c"
++                        COMPILE_DEFINITIONS "-D_LARGE_FILES" )
++            if(FILE64_OK)
++                message(STATUS "Checking for 64-bit off_t - present with _LARGE_FILES")
++                set(_LARGE_FILES 1)
++            endif(FILE64_OK)
++        endif(NOT FILE64_OK)
++	
++        if(NOT FILE64_OK)
++            # Test with _LARGEFILE_SOURCE
++            try_compile(FILE64_OK "${CMAKE_BINARY_DIR}"
++                        "${_selfdir_CheckLargeFileSupport}/TestFileOffsetBits.c"
++                        COMPILE_DEFINITIONS "-D_LARGEFILE_SOURCE" )
++            if(FILE64_OK)
++                message(STATUS "Checking for 64-bit off_t - present with _LARGEFILE_SOURCE")
++      		      	       set(_LARGEFILE_SOURCE 1)
++            endif(FILE64_OK)
++        endif(NOT FILE64_OK)
++endmacro(CHECK_LARGE_FILE_SUPPORT)
+diff -rupdN witty-3.3.2+dfsg.orig/cmake/TestFileOffsetBits.c witty-3.3.2+dfsg/cmake/TestFileOffsetBits.c
+--- witty-3.3.2+dfsg.orig/cmake/TestFileOffsetBits.c	1970-01-01 01:00:00.000000000 +0100
++++ witty-3.3.2+dfsg/cmake/TestFileOffsetBits.c	2014-06-16 01:23:49.475330564 +0200
+@@ -0,0 +1,10 @@
++#include <sys/types.h>
++
++int main(int argc, char **argv)
++{
++  /* Cause a compile-time error if off_t is smaller than 64 bits */
++#define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
++  int off_t_is_large[ (LARGE_OFF_T % 2147483629 == 721 && LARGE_OFF_T % 2147483647 == 1) ? 1 : -1 ];  
++  return 0;
++}
++
+diff -rupdN witty-3.3.2+dfsg.orig/CMakeLists.txt witty-3.3.2+dfsg/CMakeLists.txt
+--- witty-3.3.2+dfsg.orig/CMakeLists.txt	2014-02-25 23:12:04.000000000 +0100
++++ witty-3.3.2+dfsg/CMakeLists.txt	2014-06-16 01:26:21.055324142 +0200
+@@ -324,6 +324,7 @@ INCLUDE(cmake/WtFindHaru.txt)
+ INCLUDE(cmake/WtFindGm.txt)
+ INCLUDE(cmake/WtFindGL.txt)
+ INCLUDE(cmake/WtFindSkia.txt)
++INCLUDE(cmake/CheckLargeFileSupport.cmake)
+ 
+ IF (ENABLE_PANGO)
+   INCLUDE(cmake/WtFindPangoFt2.txt)
+@@ -573,6 +574,21 @@ IF(ENABLE_OPENGL AND GL_FOUND AND WT_HAS
+   SET(HAVE_GL TRUE)
+ ENDIF(ENABLE_OPENGL AND GL_FOUND AND WT_HAS_WRASTERIMAGE)
+ 
++check_large_file_support()
++
++if(_FILE_OFFSET_BITS)
++  add_definitions(-D_FILE_OFFSET_BITS=${_FILE_OFFSET_BITS})
++endif(_FILE_OFFSET_BITS)
++
++if(_LARGE_FILES)
++  add_definitions(-D_LARGE_FILES=${_LARGE_FILES})
++endif(_LARGE_FILES)
++
++if(_LARGEFILE_SOURCE)
++  add_definitions(-D_LARGEFILE_SOURCE=${_LARGEFILE_SOURCE})
++endif(_LARGEFILE_SOURCE)
++
++
+ # Compile time constants & make sure our build finds it
+ FILE(MAKE_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/Wt)
+ SET(WCONFIG_H_PATH ${CMAKE_CURRENT_BINARY_DIR}/Wt/WConfig.h)
+diff -rupdN witty-3.3.2+dfsg.orig/WConfig.h.in witty-3.3.2+dfsg/WConfig.h.in
+--- witty-3.3.2+dfsg.orig/WConfig.h.in	2014-02-25 23:12:04.000000000 +0100
++++ witty-3.3.2+dfsg/WConfig.h.in	2014-06-16 01:23:49.475330564 +0200
+@@ -44,6 +44,15 @@
+ #cmakedefine WT_USE_BOOST_SIGNALS
+ #cmakedefine WT_USE_BOOST_SIGNALS2
+ 
++/* Number of bits in a file offset, on hosts where this is settable. */
++#cmakedefine _FILE_OFFSET_BITS @_FILE_OFFSET_BITS@
++
++/* Define to 1 to make fseeko visible on some hosts (e.g. glibc 2.2). */
++#cmakedefine _LARGEFILE_SOURCE @_LARGEFILE_SOURCE@
++
++/* Define for large files, on AIX-style hosts. */
++#cmakedefine _LARGE_FILES @_LARGE_FILES@
++
+ // our win32: WIN32 (gcc) or _WIN32 (MSC)
+ #if defined(WIN32) || defined(_WIN32)
+ #define WT_WIN32 1
--- witty-3.3.5+dfsg.orig/debian/patches/11_fix_privacy_breach_logo.dpatch
+++ witty-3.3.5+dfsg/debian/patches/11_fix_privacy_breach_logo.dpatch
@@ -0,0 +1,67 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## 11_fix_privacy_breach_logo.dpatch by Pau Garcia i Quiles <pgquiles@elpauer.org>
+##
+## All lines beginning with `## DP:' are a description of the patch.
+## DP: Do not download SourceForge and GitHub logos from the Internet
+
+@DPATCH@
+
+diff --git a/examples/wt-homepage/jwt-home.xml b/examples/wt-homepage/jwt-home.xml
+index 5f727ff..91ea062 100644
+--- a/examples/wt-homepage/jwt-home.xml
++++ b/examples/wt-homepage/jwt-home.xml
+@@ -587,7 +587,6 @@ href="http://www.webtoolkit.eu/jwt/latest/doc/userguide/userguide.html#getting-s
+ 
+ <h4>Git repository</h4>
+ 
+-<a href="https://github.com/kdeforche/jwt"><img style="display: block; width: 80px; float: right" src="https://github.com/github/media/blob/master/octocats/octocat.png?raw=true"></img></a>
+ <p>If you want to keep track of the latest changes, or participate in
+ JWt development, you may want to work from
+ the <a href="https://github.com/kdeforche/jwt">github
+diff --git a/examples/wt-homepage/wt-home.xml b/examples/wt-homepage/wt-home.xml
+index abacd27..3ff9d28 100644
+--- a/examples/wt-homepage/wt-home.xml
++++ b/examples/wt-homepage/wt-home.xml
+@@ -1070,7 +1070,6 @@ installation instructions</a>.
+ 
+ <h4>Git repository</h4>
+ 
+-<a href="https://github.com/kdeforche/wt"><img style="display: block; width: 80px; float: right" src="https://github.com/github/media/blob/master/octocats/octocat.png?raw=true"></img></a>
+ <p>If you want to keep track of the latest changes, or participate in
+ Wt development, you may want to work from
+ the <a href="https://github.com/kdeforche/wt">github
+@@ -1196,8 +1195,8 @@ The Chinese translation of the homepage was provided by Zhimin Song.
+ 
+ <h4>Sourceforge</h4>
+ 
+-<a href="http://sourceforge.net"><img src="http://sflogo.sourceforge.net/sflogo.php?group_id=153710&amp;type=1" style="vertical-align:middle" width="88" height="31" border="0" alt="SourceForge.net Logo" /></a>
+-The Wt project is hosted at sourceforge <a href="http://sourceforge.net/projects/witty/">here</a>.
++<p>The Wt project is hosted at sourceforge <a
++href="http://sourceforge.net/projects/witty/">here</a>.</p>
+   </message>
+   <message id="home.other-language">
+ 
+diff --git a/examples/wt-homepage/wt-home_cn.xml b/examples/wt-homepage/wt-home_cn.xml
+index c4a4671..6c4ab12 100644
+--- a/examples/wt-homepage/wt-home_cn.xml
++++ b/examples/wt-homepage/wt-home_cn.xml
+@@ -913,7 +913,6 @@ Wt网站的中文翻译工作由中央民族大学宋志民协助完成。
+ 
+ <h4>Sourceforge</h4>
+ 
+-<a href="http://sourceforge.net"><img src="http://sflogo.sourceforge.net/sflogo.php?group_id=153710&amp;type=1" style="vertical-align:middle" width="88" height="31" border="0" alt="SourceForge.net Logo" /></a>
+ Wt在Sourceforge的主页请点击<a href="http://sourceforge.net/projects/witty/">此处</a>。
+   </message>
+   <message id="home.other-language">
+diff --git a/examples/wt-homepage/wt-home_ru.xml b/examples/wt-homepage/wt-home_ru.xml
+index 5dcfebc..40ed056 100644
+--- a/examples/wt-homepage/wt-home_ru.xml
++++ b/examples/wt-homepage/wt-home_ru.xml
+@@ -1212,7 +1212,6 @@ href="http://redmine.webtoolkit.eu/projects/wt/wiki">Вики Wt</a>, содер
+ 
+ <h4>Sourceforge</h4>
+ 
+-<a href="http://sourceforge.net"><img src="http://sflogo.sourceforge.net/sflogo.php?group_id=153710&amp;type=1" style="vertical-align:middle" width="88" height="31" border="0" alt="SourceForge.net Logo" /></a>
+ Проект Wt размещён на sourceforge <a href="http://sourceforge.net/projects/witty/">здесь</a>.
+   </message>
+   <message id="home.other-language">
--- witty-3.3.5+dfsg.orig/debian/patches/12_install_wtconfig.dpatch
+++ witty-3.3.5+dfsg/debian/patches/12_install_wtconfig.dpatch
@@ -0,0 +1,36 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## 12_install_wtconfig.dpatch by Pau Garcia i Quiles <pgquiles@elpauer.org>
+##
+## All lines beginning with `## DP:' are a description of the patch.
+## DP: Build used to fail if Wt was installed on the system because it
+## DP: is able to tell whether wt_config.xml is being installed to the final
+## DP: location or to a staging area.
+## DP: This patch introduces a new OPTION to force install it
+## DP: It's useful even during Wt development or when building to the final location, 
+## DP: to make sure wt_config.xml is overwritten in the final location
+
+@DPATCH@
+
+diff -rupd witty-3.3.3+dfsg.orig/CMakeLists.txt witty-3.3.3+dfsg/CMakeLists.txt
+--- witty-3.3.3+dfsg.orig/CMakeLists.txt	2014-05-13 09:23:42.000000000 +0200
++++ witty-3.3.3+dfsg/CMakeLists.txt	2014-08-09 12:49:14.977279370 +0200
+@@ -95,6 +95,7 @@ OPTION(BUILD_EXAMPLES "Build examples" O
+ OPTION(INSTALL_EXAMPLES "Install examples (binaries and source)" OFF)
+ OPTION(INSTALL_RESOURCES "Install resources directory" ON)
+ OPTION(INSTALL_FINDWT_CMAKE_FILE "Install FindWt.cmake in systemwide cmake dir (in addition to CMAKE_INSTALL_PREFIX/cmake)" OFF)
++OPTION(FORCE_INSTALL_WTCONFIG "Install the wt_config.xml file, even if it already exists" OFF)
+ OPTION(ENABLE_SSL "Enable cryptography functions, using OpenSSL" ON)
+ OPTION(ENABLE_HARU "Enable Haru Free PDF Library, which is used to provide support for painting to PDF (WPdfImage)" ON)
+ OPTION(ENABLE_PANGO "Enable Pango Library, which is used for improved font support (WPdfImage and WRasterImage)" ON)
+@@ -550,9 +551,9 @@ IF(INSTALL_EXAMPLES)
+       ${CMAKE_INSTALL_PREFIX}/${EXAMPLES_DESTINATION} PATTERN "examples/*")
+ ENDIF(INSTALL_EXAMPLES)
+ 
+-IF(NOT EXISTS ${CONFIGDIR}/wt_config.xml)
++IF(FORCE_INSTALL_WTCONFIG OR NOT EXISTS ${DESTDIR}${CONFIGDIR}/wt_config.xml)
+   INSTALL(FILES ${WT_BINARY_DIR}/wt_config.xml DESTINATION ${CONFIGDIR})
+-ENDIF (NOT EXISTS ${CONFIGDIR}/wt_config.xml)
++ENDIF(FORCE_INSTALL_WTCONFIG OR NOT EXISTS ${DESTDIR}${CONFIGDIR}/wt_config.xml)
+ 
+ IF(ENABLE_HARU AND HARU_FOUND)
+   SET(HAVE_HARU ON)
--- witty-3.3.5+dfsg.orig/debian/rules
+++ witty-3.3.5+dfsg/debian/rules
@@ -0,0 +1,284 @@
+#!/usr/bin/make -f
+# -*- makefile -*-
+# debian.rules file for Wt
+# Copyright 2008-2015 by Pau Garcia i Quiles <pgquiles@elpauer.org>
+# Based on the dh-make-generated rules file
+
+include /usr/share/dpatch/dpatch.make
+
+version=3.3.5
+major=3
+
+# Default g++ in Ubuntu Maverick is broken (LP #647597)
+WORKAROUND_CXX=g++
+WORKAROUND_CC=gcc
+DISTRO=$(shell lsb_release -sc)
+ifeq (maverick, $(DISTRO))
+  WORKAROUND_CXX=g++-4.5
+  WORKAROUND_CC=gcc-4.5
+endif
+
+### Hardening
+
+export DEB_BUILD_MAINT_OPTIONS=hardening=+all,-pie
+
+# Workaround needed due to bug in CMake
+# http://wiki.debian.org/Hardening
+#CPPFLAGS:=$(shell dpkg-buildflags --get CPPFLAGS)
+#CFLAGS:=$(shell dpkg-buildflags --get CFLAGS) $(CPPFLAGS)
+#CXXFLAGS:=$(shell dpkg-buildflags --get CXXFLAGS) $(CPPFLAGS)
+LDFLAGS:=$(shell dpkg-buildflags --get LDFLAGS)
+
+DPKG_EXPORT_BUILDFLAGS = 1
+include /usr/share/dpkg/buildflags.mk
+CFLAGS+=$(CPPFLAGS)
+CXXFLAGS+=$(CPPFLAGS)
+#LDFLAGS+=$(LDFLAGS)
+
+### End hardening
+
+
+### JavaScript minifier
+
+# Use UglifyJS (what upstream uses) where available,
+# yui-compressor (what upstream used in the past) where there is no UglifyJS
+
+MINIFIER=$(shell which uglifyjs)
+ifneq ($(MINIFIER),)
+  IS_UGLIFY2=$(shell grep -E '"version": "2\.[0-9]+\.[0-9]+"' /usr/lib/nodejs/uglify-js/package.json)
+  ifeq ($(IS_UGLIFY2),)
+    # Legacy: uglifyjs < 2.x
+    MINIFIER_FLAGS=-c --no-seqs -nc    
+  else
+    # uglifyjs >= 2.x
+    MINIFIER_FLAGS=-c sequences=false
+  endif
+else
+  MINIFIER=/usr/bin/yui-compressor
+  MINIFIER_FLAGS=--nomunge
+endif
+
+### End JavaScript minifier
+
+
+### Parallel build
+ifneq (,$(filter noopt,$(DEB_BUILD_OPTIONS)))
+  CFLAGS += -O0
+else
+  CFLAGS += -O2
+endif
+
+ifneq (,$(filter parallel=%,$(DEB_BUILD_OPTIONS)))
+  NUMJOBS = $(patsubst parallel=%,%,$(filter parallel=%,$(DEB_BUILD_OPTIONS)))
+  MAKEFLAGS += -j$(NUMJOBS)
+endif
+### End parallel build
+
+CMAKEVERSION:=$(shell cmake --version | grep -o -P \(\\d\\.\\d\) | tr -d '\n')
+
+build-static/Makefile: build-resources patch-stamp
+	dh_testdir
+	mkdir -p build-static
+	cd build-static && cmake .. -DCMAKE_INSTALL_PREFIX:PATH=/usr \
+                                -DCMAKE_C_FLAGS="$(CFLAGS)" -DCMAKE_CXX_FLAGS="$(CXXFLAGS)" \
+                                -DSTATIC_LIBRARY_FLAGS="-Wl,--no-undefined -Wl,--as-needed -Wl,-z,relro" \
+                                -DCMAKE_MODULE_LINKER_FLAGS="-Wl,--no-undefined -Wl,--as-needed -Wl,-z,relro" \
+                                -DDEBUG_LIB_POSTFIX="" \
+                                -DCMAKE_CXX_COMPILER=$(WORKAROUND_CXX) \
+                                -DCMAKE_CC_COMPILER=$(WORKAROUND_CC) \
+				-DWT_CPP_11_MODE=-std=c++0x \
+				-DUSE_SYSTEM_SQLITE3:BOOL=ON \
+				-DUSE_SYSTEM_GLEW:BOOL=ON \
+				-DCONFIGDIR:PATH=/etc/wt/ \
+				-DBUILD_TESTS:BOOL=OFF \
+				-DCMAKE_VERBOSE_MAKEFILE:BOOL=1 \
+				-DCONNECTOR_FCGI:BOOL=ON \
+				-DSHARED_LIBS:BOOL=OFF \
+				-DMULTI_THREADED:BOOL=ON \
+				-DWT_CMAKE_FINDER_INSTALL_DIR:PATH=/share/cmake-$(CMAKEVERSION)/Modules \
+				-DWT_WRASTERIMAGE_IMPLEMENTATION=GraphicsMagick \
+				-DCMAKE_BUILD_TYPE:STRING=Release \
+				-DCMAKE_SKIP_RPATH:BOOL=ON \
+				-DBUILD_EXAMPLES:BOOL=OFF \
+				-DENABLE_EXT:BOOL=ON \
+				-DENABLE_LIBWTTEST:BOOL=ON \
+				-DENABLE_LIBWTDBO:BOOL=ON \
+				-DINSTALL_EXAMPLES:BOOL=OFF \
+				-DINSTALL_FINDWT_CMAKE_FILE:BOOL=OFF \
+				-DWEBUSER:STRING=www-data \
+				-DWEBGROUP:STRING=www-data
+
+build-shared/Makefile: build-resources patch-stamp
+	mkdir -p build-shared
+	cd build-shared && cmake .. -DCMAKE_INSTALL_PREFIX:PATH=/usr \
+                                -DCMAKE_C_FLAGS="$(CFLAGS)" -DCMAKE_CXX_FLAGS="$(CXXFLAGS)" \
+                                -DCMAKE_SHARED_LINKER_FLAGS="-Wl,--no-undefined -Wl,--as-needed -Wl,-z,relro" \
+                                -DCMAKE_MODULE_LINKER_FLAGS="-Wl,--no-undefined -Wl,--as-needed -Wl,-z,relro" \
+                                -DCMAKE_EXE_LINKER_FLAGS="-Wl,--no-undefined -Wl,--as-needed -Wl,-z,relro" \
+                                -DDEBUG_LIB_POSTFIX="" \
+                                -DCMAKE_CXX_COMPILER=$(WORKAROUND_CXX) \
+                                -DCMAKE_CC_COMPILER=$(WORKAROUND_CC) \
+				-DWT_CPP_11_MODE=-std=c++0x \
+				-DUSE_SYSTEM_SQLITE3:BOOL=ON \
+				-DUSE_SYSTEM_GLEW:BOOL=ON \
+				-DCONFIGDIR:PATH=/etc/wt/ \
+				-DBUILD_TESTS:BOOL=OFF \
+				-DCMAKE_VERBOSE_MAKEFILE:BOOL=1 \
+				-DCONNECTOR_FCGI:BOOL=ON \
+				-DSHARED_LIBS:BOOL=ON \
+				-DMULTI_THREADED:BOOL=ON \
+				-DWT_CMAKE_FINDER_INSTALL_DIR:PATH=/share/cmake-$(CMAKEVERSION)/Modules \
+				-DWT_WRASTERIMAGE_IMPLEMENTATION=GraphicsMagick \
+				-DCMAKE_BUILD_TYPE:STRING=RelWithDebInfo \
+				-DCMAKE_SKIP_RPATH:BOOL=ON \
+				-DBUILD_EXAMPLES:BOOL=ON \
+				-DENABLE_EXT:BOOL=ON \
+				-DENABLE_LIBWTTEST:BOOL=ON \
+				-DENABLE_LIBWTDBO:BOOL=ON \
+				-DINSTALL_EXAMPLES:BOOL=ON \
+				-DINSTALL_FINDWT_CMAKE_FILE:BOOL=OFF \
+				-DFORCE_INSTALL_WTCONFIG:BOOL=ON \
+				-DWEBUSER:STRING=www-data \
+				-DWEBGROUP:STRING=www-data
+
+build: build-stamp
+
+build-arch: build
+
+build-indep: build
+
+build-stamp: build-static/Makefile build-shared/Makefile
+	dh_testdir
+	cd build-static && $(MAKE) $(MAKEFLAGS)
+	cd build-shared && $(MAKE) $(MAKEFLAGS) && $(MAKE) $(MAKEFLAGS) doc
+
+	# Delete Doxygen helper files
+	find . -name *.map -delete
+	find . -name *.md5 -delete
+
+	touch $@
+
+build-resources:
+	cp /usr/share/asciidoc/javascripts/asciidoc.js doc/tutorial/
+	(cd src/js; for I in *.js; do $(MINIFIER) $(MINIFIER_FLAGS) $$I > `basename $$I .js`.min.js; done)
+	cd src/web/skeleton && $(MINIFIER) $(MINIFIER_FLAGS) Boot.js > Boot.min.js
+	cd src/web/skeleton && $(MINIFIER) $(MINIFIER_FLAGS) Wt.js > Wt.min.js
+	mtasc -main -swf resources/WtSoundManager.swf \
+		src/flash/WtSoundManager.as -version 8 -header 16:16:30
+	ln -s /usr/share/javascript/jquery/jquery.min.js src/web/skeleton/
+	mkdir -p resources/jPlayer
+	ln -s /usr/share/javascript/jquery/jquery.min.js resources/jPlayer/
+	ln -s /usr/share/javascript/jquery-jplayer/Jplayer.swf resources/jPlayer/
+	ln -s /usr/share/javascript/jquery-jplayer/jquery.jplayer.min.js resources/jPlayer
+	ln -s /usr/share/javascript/jquery-jplayer/skins/blue.monday resources/jPlayer/skin
+	ln -s /usr/share/fonts-font-awesome resources/font-awesome
+	ln -s /usr/share/tinymce/www resources/tiny_mce
+	touch $@
+
+get-orig-source:
+	$(CURDIR)/debian/get-orig-source.sh
+	
+clean: unpatch
+	rm -rf build-static
+	rm -rf build-shared
+#	rm -f src/web/skeleton/jquery.min.js
+#	rm -rf resources/jPlayer
+#	rm -f resources/WtSoundManager.swf
+#	rm -rf resources/font-awesome
+#	rm -f doc/wt.qch
+#	rm -rf doc/html
+	dh_clean
+
+install: build
+	dh_testdir
+	dh_testroot
+	dh_prep 
+	dh_installdirs
+
+	# Commands to install the package into debian/tmp
+	cd build-static && $(MAKE) $(MAKEFLAGS) install DESTDIR=$(CURDIR)/debian/tmp/
+	cd build-shared && $(MAKE) $(MAKEFLAGS) install DESTDIR=$(CURDIR)/debian/tmp/
+
+	mkdir -p $(CURDIR)/debian/tmp/usr/share/doc/libwt-doc/
+	mkdir -p $(CURDIR)/debian/tmp/usr/share/doc/witty-examples/
+
+	cp -R $(CURDIR)/doc/* $(CURDIR)/debian/tmp/usr/share/doc/libwt-doc/
+	mv $(CURDIR)/debian/tmp/usr/share/doc/libwt-doc/examples/html $(CURDIR)/debian/tmp/usr/share/doc/witty-examples/
+	rm -rf $(CURDIR)/debian/tmp/usr/share/doc/libwt-doc/examples
+
+	cp -R $(CURDIR)/cmake $(CURDIR)/debian/tmp/usr/lib/Wt/
+	cp -R $(CURDIR)/test $(CURDIR)/debian/tmp/usr/lib/Wt/
+	chmod -x $(CURDIR)/debian/tmp/usr/lib/Wt/cmake/FindWt.cmake
+	chmod -x $(CURDIR)/debian/tmp/usr/lib/Wt/cmake/WtFindFirebirdSql.txt
+	chmod -x $(CURDIR)/debian/tmp/usr/lib/Wt/examples/widgetgallery/docroot/pics/sintel_trailer.jpg
+	#mv $(CURDIR)/debian/tmp/usr/lib/Wt/examples/widgetgallery/docroot/* $(CURDIR)/debian/tmp/usr/lib/Wt/examples/widgetgallery/
+	chmod -x $(CURDIR)/debian/tmp/usr/lib/Wt/examples/feature/video/sintel_trailer.jpg
+	chmod -x $(CURDIR)/debian/tmp/usr/lib/Wt/examples/codeview/prettify/prettify.css
+	(cd $(CURDIR)/debian/tmp/usr/lib/Wt/examples/; for I in `find . -mindepth 1 -maxdepth 1 -type d`; do (cd $$I; ln -s /usr/share/Wt/resources); done)
+	(cd $(CURDIR)/debian/tmp/usr/lib/Wt/examples/feature; for I in `find . -mindepth 1 -maxdepth 1 -type d`; do (cd $$I; ln -s /usr/share/Wt/resources); done)
+	(cd $(CURDIR)/debian/tmp/usr/lib/Wt/examples/widgetgallery; rm resources; cd docroot; ln -s /usr/share/Wt/resources)
+	rm -f $(CURDIR)/debian/tmp/usr/share/Wt/resources/themes/default/stripes/generate.sh
+	rm -f $(CURDIR)/debian/tmp/usr/share/Wt/resources/themes/default/no-stripes/generate.sh
+	rm -f $(CURDIR)/debian/tmp/usr/share/Wt/resources/themes/polished/stripes/generate.sh
+	rm -f $(CURDIR)/debian/tmp/usr/share/Wt/resources/themes/polished/no-stripes/generate.sh
+	rm -f $(CURDIR)/debian/tmp/usr/lib/Wt/examples/run-example.cmake
+	rm -f $(CURDIR)/debian/tmp/usr/lib/Wt/examples/run-example.bat
+	chmod 644 debian/tmp/usr/share/Wt/resources/WtSoundManager.swf
+
+#	rm $(CURDIR)/debian/tmp/usr/share/cmake-$(CMAKEVERSION)/Modules/FindWt.cmake
+
+	cp $(CURDIR)/ReleaseNotes.html $(CURDIR)/debian/tmp/usr/share/doc/libwt-doc/
+
+	# Fix examples and tests to make them buildable standalone
+	patch -p1 -d debian/tmp/usr/lib/Wt < debian/patches/05_examples_cmake_dependencies.dpatch
+	patch -p1 -d debian/tmp/usr/lib/Wt < debian/patches/07_tests_cmake_dependencies.dpatch
+
+	rm $(CURDIR)/debian/tmp/usr/lib/Wt/examples/wtwithqt/LICENSE
+	rm $(CURDIR)/debian/tmp/usr/lib/Wt/examples/wtwithqt/lib/LICENSE
+
+# Build architecture-independent files here.
+binary-indep: install
+	dh_testdir -i
+	dh_testroot -i
+	dh_installchangelogs -i Changelog
+	dh_installdocs -i
+	dh_installexamples -i
+	dh_install -i --sourcedir=debian/tmp/
+	dh_install -i --sourcedir=debian/tmp/
+	dh_installman -i
+	dh_lintian -i
+	dh_link -i
+	dh_strip -i --dbg-package=libwt-dbg
+	dh_compress -i -Xwt.doc -Xauth.doc -Xdbo.doc -XDoxyfile -X.html -X.C -X.h -X.txt -X.map -X.xml -X.js -X.csv -XWQApplication -X.qch -A
+	dh_makeshlibs -i -V
+	dh_shlibdeps -i -- -S$(CURDIR)/debian/tmp/usr/lib/
+	dh_fixperms -i
+	dh_installdeb -i
+	dh_gencontrol -i
+	dh_md5sums -i
+	dh_builddeb -i
+
+# Build architecture-dependent files here.
+binary-arch: install
+	dh_testdir -a
+	dh_testroot -a
+	dh_installchangelogs -a Changelog
+	dh_installdocs -a
+	dh_installexamples -a
+	dh_install -a --sourcedir=debian/tmp/
+	dh_install -a --sourcedir=debian/tmp/
+	dh_installman -a
+	dh_lintian -a
+	dh_link -a
+	dh_strip -a --dbg-package=libwt-dbg
+	dh_compress -a -Xwt.doc -Xauth.doc -Xdbo.doc -XDoxyfile -X.html -X.C -X.h -X.txt -X.map -X.xml -X.js -X.csv -XWQApplication -X.qch -A
+	dh_makeshlibs -a -V
+	dh_shlibdeps -a -- -S$(CURDIR)/debian/tmp/usr/lib/
+	dh_fixperms -a
+	dh_installdeb -a
+	dh_gencontrol -a
+	dh_md5sums -a
+	dh_builddeb -a
+
+binary: binary-indep binary-arch
+.PHONY: build clean binary-indep binary-arch binary install configure
--- witty-3.3.5+dfsg.orig/debian/source/format
+++ witty-3.3.5+dfsg/debian/source/format
@@ -0,0 +1 @@
+1.0
--- witty-3.3.5+dfsg.orig/debian/source/lintian-overrides
+++ witty-3.3.5+dfsg/debian/source/lintian-overrides
@@ -0,0 +1,9 @@
+witty source: dbg-package-missing-depends witty-dbg
+
+# Still build-depending on hardening-wrapper for older Ubuntu and Debian
+# backports
+witty source: build-depends-on-obsolete-package build-depends: hardening-wrapper => use dpkg-buildflags instead
+
+# dpatch still provides features that Quilt does not provide (such as
+# scripting) and also source format 3.0 is not available on older Ubuntus
+witty source: build-depends-on-obsolete-package build-depends: dpatch
--- witty-3.3.5+dfsg.orig/debian/watch
+++ witty-3.3.5+dfsg/debian/watch
@@ -0,0 +1,4 @@
+version=3
+opts="filenamemangle=s/(?:.*?)?v?(\d\.\d\.\d[-a-z0-9]*)\.tar\.gz/wt-$1.tar.gz/g,uversionmangle=s/-rc/~rc/g,dversionmangle=s/\+dfsg$//" \
+  https://github.com/kdeforche/wt/releases (?:.*?/)?v?(\d[\d.]*)\.tar\.gz \
+  debian /bin/sh debian/get-orig-source.sh
--- witty-3.3.5+dfsg.orig/debian/witty-examples.doc-base.reference
+++ witty-3.3.5+dfsg/debian/witty-examples.doc-base.reference
@@ -0,0 +1,9 @@
+Document: libwt-examples-reference
+Title: Wt examples online documentation
+Author: Emweb bvba
+Abstract: This set of documents provides help for the examples bundled with Wt
+Section: Web Development
+
+Format: html
+Index: /usr/share/doc/witty-examples/html/index.html
+Files: /usr/share/doc/witty-examples/html/*.html
--- witty-3.3.5+dfsg.orig/debian/witty-examples.install
+++ witty-3.3.5+dfsg/debian/witty-examples.install
@@ -0,0 +1,2 @@
+usr/lib/Wt
+usr/share/doc/witty-examples
--- witty-3.3.5+dfsg.orig/debian/witty-examples.lintian-overrides
+++ witty-3.3.5+dfsg/debian/witty-examples.lintian-overrides
@@ -0,0 +1,225 @@
+# /usr/lib seems the only proper place for examples. Qt packages are also doing that.
+witty-examples: image-file-in-usr-lib usr/lib/Wt/examples/blog/css/comment.png
+witty-examples: image-file-in-usr-lib usr/lib/Wt/examples/blog/css/comment_edit.png
+witty-examples: image-file-in-usr-lib usr/lib/Wt/examples/blog/css/rss.png
+witty-examples: image-file-in-usr-lib usr/lib/Wt/examples/chart3D/cross.png
+witty-examples: image-file-in-usr-lib usr/lib/Wt/examples/chart3D/diamond.png
+witty-examples: image-file-in-usr-lib usr/lib/Wt/examples/composer/icons/paperclip.png
+witty-examples: image-file-in-usr-lib usr/lib/Wt/examples/dragdrop/icons/blue-pill-small.png
+witty-examples: image-file-in-usr-lib usr/lib/Wt/examples/dragdrop/icons/blue-pill.jpg
+witty-examples: image-file-in-usr-lib usr/lib/Wt/examples/dragdrop/icons/red-pill-small.png
+witty-examples: image-file-in-usr-lib usr/lib/Wt/examples/dragdrop/icons/red-pill.jpg
+witty-examples: image-file-in-usr-lib usr/lib/Wt/examples/feature/auth2/css/oauth-google.png
+witty-examples: image-file-in-usr-lib usr/lib/Wt/examples/feature/video/sintel_trailer.jpg
+witty-examples: image-file-in-usr-lib usr/lib/Wt/examples/filetreetable/icons/document.png
+witty-examples: image-file-in-usr-lib usr/lib/Wt/examples/filetreetable/icons/yellow-folder-closed.png
+witty-examples: image-file-in-usr-lib usr/lib/Wt/examples/filetreetable/icons/yellow-folder-open.png
+witty-examples: image-file-in-usr-lib usr/lib/Wt/examples/form/icons/invalid.png
+witty-examples: image-file-in-usr-lib usr/lib/Wt/examples/gitmodel/icons/git-blob.png
+witty-examples: image-file-in-usr-lib usr/lib/Wt/examples/gitmodel/icons/git-tree.png
+witty-examples: image-file-in-usr-lib usr/lib/Wt/examples/simplechat/icons/maximize.png
+witty-examples: image-file-in-usr-lib usr/lib/Wt/examples/simplechat/icons/minimize.png
+witty-examples: image-file-in-usr-lib usr/lib/Wt/examples/treelist/icons/document.png
+witty-examples: image-file-in-usr-lib usr/lib/Wt/examples/treelist/icons/line-last.gif
+witty-examples: image-file-in-usr-lib usr/lib/Wt/examples/treelist/icons/line-middle.gif
+witty-examples: image-file-in-usr-lib usr/lib/Wt/examples/treelist/icons/line-trunk.gif
+witty-examples: image-file-in-usr-lib usr/lib/Wt/examples/treelist/icons/nav-minus-line-last.gif
+witty-examples: image-file-in-usr-lib usr/lib/Wt/examples/treelist/icons/nav-minus-line-middle.gif
+witty-examples: image-file-in-usr-lib usr/lib/Wt/examples/treelist/icons/nav-plus-line-last.gif
+witty-examples: image-file-in-usr-lib usr/lib/Wt/examples/treelist/icons/nav-plus-line-middle.gif
+witty-examples: image-file-in-usr-lib usr/lib/Wt/examples/treelist/icons/yellow-folder-closed.png
+witty-examples: image-file-in-usr-lib usr/lib/Wt/examples/treelist/icons/yellow-folder-open.png
+witty-examples: image-file-in-usr-lib usr/lib/Wt/examples/treeview-dragdrop/icons/file.gif
+witty-examples: image-file-in-usr-lib usr/lib/Wt/examples/treeview-dragdrop/icons/folder.gif
+witty-examples: image-file-in-usr-lib usr/lib/Wt/examples/treeview/icons/cloudy01.png
+witty-examples: image-file-in-usr-lib usr/lib/Wt/examples/treeview/icons/flag_be.png
+witty-examples: image-file-in-usr-lib usr/lib/Wt/examples/treeview/icons/flag_fr.png
+witty-examples: image-file-in-usr-lib usr/lib/Wt/examples/treeview/icons/flag_ma.png
+witty-examples: image-file-in-usr-lib usr/lib/Wt/examples/treeview/icons/flag_sp.png
+witty-examples: image-file-in-usr-lib usr/lib/Wt/examples/treeview/icons/rain.png
+witty-examples: image-file-in-usr-lib usr/lib/Wt/examples/treeview/icons/snow.png
+witty-examples: image-file-in-usr-lib usr/lib/Wt/examples/treeview/icons/storm.png
+witty-examples: image-file-in-usr-lib usr/lib/Wt/examples/treeview/icons/sun01.png
+witty-examples: image-file-in-usr-lib usr/lib/Wt/examples/treeview/icons/w_cloud.png
+witty-examples: image-file-in-usr-lib usr/lib/Wt/examples/webgl/nowebgl.png
+witty-examples: image-file-in-usr-lib usr/lib/Wt/examples/webgl/texture.jpg
+witty-examples: image-file-in-usr-lib usr/lib/Wt/examples/widgetgallery/docroot/icons/Papa.png
+witty-examples: image-file-in-usr-lib usr/lib/Wt/examples/widgetgallery/docroot/icons/Pennant_One.png
+witty-examples: image-file-in-usr-lib usr/lib/Wt/examples/widgetgallery/docroot/icons/blue-pill-small.png
+witty-examples: image-file-in-usr-lib usr/lib/Wt/examples/widgetgallery/docroot/icons/blue-pill.jpg
+witty-examples: image-file-in-usr-lib usr/lib/Wt/examples/widgetgallery/docroot/icons/cloudy01.png
+witty-examples: image-file-in-usr-lib usr/lib/Wt/examples/widgetgallery/docroot/icons/emweb.jpg
+witty-examples: image-file-in-usr-lib usr/lib/Wt/examples/widgetgallery/docroot/icons/flag_be.png
+witty-examples: image-file-in-usr-lib usr/lib/Wt/examples/widgetgallery/docroot/icons/flag_fr.png
+witty-examples: image-file-in-usr-lib usr/lib/Wt/examples/widgetgallery/docroot/icons/flag_ma.png
+witty-examples: image-file-in-usr-lib usr/lib/Wt/examples/widgetgallery/docroot/icons/flag_sp.png
+witty-examples: image-file-in-usr-lib usr/lib/Wt/examples/widgetgallery/docroot/icons/git-blob.png
+witty-examples: image-file-in-usr-lib usr/lib/Wt/examples/widgetgallery/docroot/icons/git-tree.png
+witty-examples: image-file-in-usr-lib usr/lib/Wt/examples/widgetgallery/docroot/icons/house.png
+witty-examples: image-file-in-usr-lib usr/lib/Wt/examples/widgetgallery/docroot/icons/rain.png
+witty-examples: image-file-in-usr-lib usr/lib/Wt/examples/widgetgallery/docroot/icons/red-pill-small.png
+witty-examples: image-file-in-usr-lib usr/lib/Wt/examples/widgetgallery/docroot/icons/red-pill.jpg
+witty-examples: image-file-in-usr-lib usr/lib/Wt/examples/widgetgallery/docroot/icons/snow.png
+witty-examples: image-file-in-usr-lib usr/lib/Wt/examples/widgetgallery/docroot/icons/storm.png
+witty-examples: image-file-in-usr-lib usr/lib/Wt/examples/widgetgallery/docroot/icons/sun01.png
+witty-examples: image-file-in-usr-lib usr/lib/Wt/examples/widgetgallery/docroot/icons/w_cloud.png
+witty-examples: image-file-in-usr-lib usr/lib/Wt/examples/widgetgallery/docroot/icons/wt_powered.jpg
+witty-examples: image-file-in-usr-lib usr/lib/Wt/examples/widgetgallery/docroot/icons/yellow-folder-closed.png
+witty-examples: image-file-in-usr-lib usr/lib/Wt/examples/widgetgallery/docroot/icons/yellow-folder-open.png
+witty-examples: image-file-in-usr-lib usr/lib/Wt/examples/widgetgallery/docroot/pics/WPainter.png
+witty-examples: image-file-in-usr-lib usr/lib/Wt/examples/widgetgallery/docroot/pics/categoricalChartScreenshot.png
+witty-examples: image-file-in-usr-lib usr/lib/Wt/examples/widgetgallery/docroot/pics/emweb_small.jpg
+witty-examples: image-file-in-usr-lib usr/lib/Wt/examples/widgetgallery/docroot/pics/list-models.png
+witty-examples: image-file-in-usr-lib usr/lib/Wt/examples/widgetgallery/docroot/pics/model-view.png
+witty-examples: image-file-in-usr-lib usr/lib/Wt/examples/widgetgallery/docroot/pics/modelview.png
+witty-examples: image-file-in-usr-lib usr/lib/Wt/examples/widgetgallery/docroot/pics/numericalChartScreenshot.png
+witty-examples: image-file-in-usr-lib usr/lib/Wt/examples/widgetgallery/docroot/pics/sintel_trailer.jpg
+witty-examples: image-file-in-usr-lib usr/lib/Wt/examples/widgetgallery/docroot/pics/table-models.png
+witty-examples: image-file-in-usr-lib usr/lib/Wt/examples/widgetgallery/docroot/pics/tree-models.png
+witty-examples: image-file-in-usr-lib usr/lib/Wt/examples/widgetgallery/icons/Papa.png
+witty-examples: image-file-in-usr-lib usr/lib/Wt/examples/widgetgallery/icons/Pennant_One.png
+witty-examples: image-file-in-usr-lib usr/lib/Wt/examples/widgetgallery/icons/blue-pill-small.png
+witty-examples: image-file-in-usr-lib usr/lib/Wt/examples/widgetgallery/icons/blue-pill.jpg
+witty-examples: image-file-in-usr-lib usr/lib/Wt/examples/widgetgallery/icons/cloudy01.png
+witty-examples: image-file-in-usr-lib usr/lib/Wt/examples/widgetgallery/icons/emweb.jpg
+witty-examples: image-file-in-usr-lib usr/lib/Wt/examples/widgetgallery/icons/flag_be.png
+witty-examples: image-file-in-usr-lib usr/lib/Wt/examples/widgetgallery/icons/flag_fr.png
+witty-examples: image-file-in-usr-lib usr/lib/Wt/examples/widgetgallery/icons/flag_ma.png
+witty-examples: image-file-in-usr-lib usr/lib/Wt/examples/widgetgallery/icons/flag_sp.png
+witty-examples: image-file-in-usr-lib usr/lib/Wt/examples/widgetgallery/icons/house.png
+witty-examples: image-file-in-usr-lib usr/lib/Wt/examples/widgetgallery/icons/rain.png
+witty-examples: image-file-in-usr-lib usr/lib/Wt/examples/widgetgallery/icons/red-pill-small.png
+witty-examples: image-file-in-usr-lib usr/lib/Wt/examples/widgetgallery/icons/red-pill.jpg
+witty-examples: image-file-in-usr-lib usr/lib/Wt/examples/widgetgallery/icons/snow.png
+witty-examples: image-file-in-usr-lib usr/lib/Wt/examples/widgetgallery/icons/storm.png
+witty-examples: image-file-in-usr-lib usr/lib/Wt/examples/widgetgallery/icons/sun01.png
+witty-examples: image-file-in-usr-lib usr/lib/Wt/examples/widgetgallery/icons/w_cloud.png
+witty-examples: image-file-in-usr-lib usr/lib/Wt/examples/widgetgallery/icons/wt_powered.jpg
+witty-examples: image-file-in-usr-lib usr/lib/Wt/examples/widgetgallery/icons/yellow-folder-closed.png
+witty-examples: image-file-in-usr-lib usr/lib/Wt/examples/widgetgallery/icons/yellow-folder-open.png
+witty-examples: image-file-in-usr-lib usr/lib/Wt/examples/widgetgallery/pics/emweb_small.jpg
+witty-examples: image-file-in-usr-lib usr/lib/Wt/examples/widgetgallery/pics/sintel_trailer.jpg
+witty-examples: image-file-in-usr-lib usr/lib/Wt/examples/wt-homepage/css/jwt/emweb_large.jpg
+witty-examples: image-file-in-usr-lib usr/lib/Wt/examples/wt-homepage/css/jwt/emweb_powered.jpg
+witty-examples: image-file-in-usr-lib usr/lib/Wt/examples/wt-homepage/css/jwt/emweb_small.jpg
+witty-examples: image-file-in-usr-lib usr/lib/Wt/examples/wt-homepage/css/jwt/main_page_banner_small.jpg
+witty-examples: image-file-in-usr-lib usr/lib/Wt/examples/wt-homepage/css/jwt/main_page_banner_small2.jpg
+witty-examples: image-file-in-usr-lib usr/lib/Wt/examples/wt-homepage/css/jwt/old_wt_banner.jpg
+witty-examples: image-file-in-usr-lib usr/lib/Wt/examples/wt-homepage/css/jwt/wt_banner.jpg
+witty-examples: image-file-in-usr-lib usr/lib/Wt/examples/wt-homepage/css/jwt/wt_banner_right.jpg
+witty-examples: image-file-in-usr-lib usr/lib/Wt/examples/wt-homepage/css/wt/emweb_large.jpg
+witty-examples: image-file-in-usr-lib usr/lib/Wt/examples/wt-homepage/css/wt/emweb_powered.jpg
+witty-examples: image-file-in-usr-lib usr/lib/Wt/examples/wt-homepage/css/wt/emweb_small.jpg
+witty-examples: image-file-in-usr-lib usr/lib/Wt/examples/wt-homepage/css/wt/main_page_banner.jpg
+witty-examples: image-file-in-usr-lib usr/lib/Wt/examples/wt-homepage/css/wt/main_page_banner_small.jpg
+witty-examples: image-file-in-usr-lib usr/lib/Wt/examples/wt-homepage/css/wt/main_page_banner_small2.jpg
+witty-examples: image-file-in-usr-lib usr/lib/Wt/examples/wt-homepage/css/wt/uiloog.jpg
+witty-examples: image-file-in-usr-lib usr/lib/Wt/examples/wt-homepage/css/wt/wt_banner.jpg
+witty-examples: image-file-in-usr-lib usr/lib/Wt/examples/wt-homepage/css/wt/wt_banner_right.jpg
+witty-examples: image-file-in-usr-lib usr/lib/Wt/examples/wt-homepage/css/wt/wt_powered.jpg
+witty-examples: image-file-in-usr-lib usr/lib/Wt/examples/wt-homepage/icons/clojure-logo.png
+witty-examples: image-file-in-usr-lib usr/lib/Wt/examples/wt-homepage/icons/cpp-logo.jpg
+witty-examples: image-file-in-usr-lib usr/lib/Wt/examples/wt-homepage/icons/cppclass.png
+witty-examples: image-file-in-usr-lib usr/lib/Wt/examples/wt-homepage/icons/document.png
+witty-examples: image-file-in-usr-lib usr/lib/Wt/examples/wt-homepage/icons/green-play.png
+witty-examples: image-file-in-usr-lib usr/lib/Wt/examples/wt-homepage/icons/invalid.png
+witty-examples: image-file-in-usr-lib usr/lib/Wt/examples/wt-homepage/icons/java-logo.png
+witty-examples: image-file-in-usr-lib usr/lib/Wt/examples/wt-homepage/icons/javaclass.png
+witty-examples: image-file-in-usr-lib usr/lib/Wt/examples/wt-homepage/icons/orange-play.png
+witty-examples: image-file-in-usr-lib usr/lib/Wt/examples/wt-homepage/icons/package-folder-open.png
+witty-examples: image-file-in-usr-lib usr/lib/Wt/examples/wt-homepage/icons/package.png
+witty-examples: image-file-in-usr-lib usr/lib/Wt/examples/wt-homepage/icons/rss.png
+witty-examples: image-file-in-usr-lib usr/lib/Wt/examples/wt-homepage/icons/ruby-logo-R.png
+witty-examples: image-file-in-usr-lib usr/lib/Wt/examples/wt-homepage/icons/yellow-folder-closed.png
+witty-examples: image-file-in-usr-lib usr/lib/Wt/examples/wt-homepage/icons/yellow-folder-open.png
+witty-examples: image-file-in-usr-lib usr/lib/Wt/examples/wt-homepage/icons/jython-logo.png
+witty-examples: image-file-in-usr-lib usr/lib/Wt/examples/blog/css/oauth-google.png
+witty-examples: image-file-in-usr-lib usr/lib/Wt/examples/feature/auth1/css/oauth-facebook.png
+witty-examples: image-file-in-usr-lib usr/lib/Wt/examples/feature/auth2/css/oauth-facebook.png
+witty-examples: image-file-in-usr-lib usr/lib/Wt/examples/feature/auth1/css/oauth-google.png
+witty-examples: image-file-in-usr-lib usr/lib/Wt/examples/feature/mediaplayer/sintel_trailer.jpg
+witty-examples: image-file-in-usr-lib usr/lib/Wt/examples/feature/oauth/css/oauth-google.png
+witty-examples: image-file-in-usr-lib usr/lib/Wt/examples/hangman/css/oauth-google.png
+witty-examples: image-file-in-usr-lib usr/lib/Wt/examples/hangman/icons/hangman0.jpg
+witty-examples: image-file-in-usr-lib usr/lib/Wt/examples/hangman/icons/hangman1.jpg
+witty-examples: image-file-in-usr-lib usr/lib/Wt/examples/hangman/icons/hangman2.jpg
+witty-examples: image-file-in-usr-lib usr/lib/Wt/examples/hangman/icons/hangman3.jpg
+witty-examples: image-file-in-usr-lib usr/lib/Wt/examples/hangman/icons/hangman4.jpg
+witty-examples: image-file-in-usr-lib usr/lib/Wt/examples/hangman/icons/hangman5.jpg
+witty-examples: image-file-in-usr-lib usr/lib/Wt/examples/hangman/icons/hangman6.jpg
+witty-examples: image-file-in-usr-lib usr/lib/Wt/examples/hangman/icons/hangman7.jpg
+witty-examples: image-file-in-usr-lib usr/lib/Wt/examples/hangman/icons/hangman8.jpg
+witty-examples: image-file-in-usr-lib usr/lib/Wt/examples/hangman/icons/hangman9.jpg
+witty-examples: image-file-in-usr-lib usr/lib/Wt/examples/hangman/icons/hangmanhurray.jpg
+witty-examples: image-file-in-usr-lib usr/lib/Wt/examples/qrlogin/css/QRcode.png
+witty-examples: image-file-in-usr-lib usr/lib/Wt/examples/qrlogin/css/oauth-google.png
+witty-examples: image-file-in-usr-lib usr/lib/Wt/examples/wt-homepage/css/jwt/tab_b.gif
+witty-examples: image-file-in-usr-lib usr/lib/Wt/examples/wt-homepage/css/jwt/tab_l.gif
+witty-examples: image-file-in-usr-lib usr/lib/Wt/examples/wt-homepage/css/jwt/tab_r.gif
+witty-examples: image-file-in-usr-lib usr/lib/Wt/examples/wt-homepage/css/wt/tab_b.gif
+witty-examples: image-file-in-usr-lib usr/lib/Wt/examples/wt-homepage/css/wt/tab_l.gif
+witty-examples: image-file-in-usr-lib usr/lib/Wt/examples/wt-homepage/css/wt/tab_r.gif
+witty-examples: arch-dep-package-has-big-usr-share
+
+# Symlink is not broken but target is provided by another package (proper depends in place)
+witty-examples: package-contains-broken-symlink usr/lib/Wt/examples/blog/resources ../../../../share/Wt/resources
+witty-examples: package-contains-broken-symlink usr/lib/Wt/examples/charts/resources ../../../../share/Wt/resources
+witty-examples: package-contains-broken-symlink usr/lib/Wt/examples/chart3D/resources ../../../../share/Wt/resources
+witty-examples: package-contains-broken-symlink usr/lib/Wt/examples/codeview/resources ../../../../share/Wt/resources
+witty-examples: package-contains-broken-symlink usr/lib/Wt/examples/composer/resources ../../../../share/Wt/resources
+witty-examples: package-contains-broken-symlink usr/lib/Wt/examples/dialog/resources ../../../../share/Wt/resources
+witty-examples: package-contains-broken-symlink usr/lib/Wt/examples/dragdrop/resources ../../../../share/Wt/resources
+witty-examples: package-contains-broken-symlink usr/lib/Wt/examples/feature/auth1/resources ../../../../../share/Wt/resources
+witty-examples: package-contains-broken-symlink usr/lib/Wt/examples/feature/auth2/resources ../../../../../share/Wt/resources
+witty-examples: package-contains-broken-symlink usr/lib/Wt/examples/feature/broadcast/resources ../../../../../share/Wt/resources
+witty-examples: package-contains-broken-symlink usr/lib/Wt/examples/feature/client-ssl-auth/resources ../../../../../share/Wt/resources
+witty-examples: package-contains-broken-symlink usr/lib/Wt/examples/feature/dbo/resources ../../../../../share/Wt/resources
+witty-examples: package-contains-broken-symlink usr/lib/Wt/examples/feature/locale/resources ../../../../../share/Wt/resources
+witty-examples: package-contains-broken-symlink usr/lib/Wt/examples/feature/mediaplayer/resources ../../../../../share/Wt/resources
+witty-examples: package-contains-broken-symlink usr/lib/Wt/examples/feature/miniwebgl/resources ../../../../../share/Wt/resources
+witty-examples: package-contains-broken-symlink usr/lib/Wt/examples/feature/multiple_servers/resources ../../../../../share/Wt/resources
+witty-examples: package-contains-broken-symlink usr/lib/Wt/examples/feature/oauth/resources ../../../../../share/Wt/resources
+witty-examples: package-contains-broken-symlink usr/lib/Wt/examples/feature/paypal/resources ../../../../../share/Wt/resources
+witty-examples: package-contains-broken-symlink usr/lib/Wt/examples/feature/resources ../../../../share/Wt/resources
+witty-examples: package-contains-broken-symlink usr/lib/Wt/examples/feature/serverpush/resources ../../../../../share/Wt/resources
+witty-examples: package-contains-broken-symlink usr/lib/Wt/examples/feature/socketnotifier/resources ../../../../../share/Wt/resources
+witty-examples: package-contains-broken-symlink usr/lib/Wt/examples/feature/suggestionpopup/resources ../../../../../share/Wt/resources
+witty-examples: package-contains-broken-symlink usr/lib/Wt/examples/feature/video/resources ../../../../../share/Wt/resources
+witty-examples: package-contains-broken-symlink usr/lib/Wt/examples/feature/widgetset/resources ../../../../../share/Wt/resources
+witty-examples: package-contains-broken-symlink usr/lib/Wt/examples/filetreetable/resources ../../../../share/Wt/resources
+witty-examples: package-contains-broken-symlink usr/lib/Wt/examples/form/resources ../../../../share/Wt/resources
+witty-examples: package-contains-broken-symlink usr/lib/Wt/examples/gitmodel/resources ../../../../share/Wt/resources
+witty-examples: package-contains-broken-symlink usr/lib/Wt/examples/hangman/resources ../../../../share/Wt/resources
+witty-examples: package-contains-broken-symlink usr/lib/Wt/examples/hello/resources ../../../../share/Wt/resources
+witty-examples: package-contains-broken-symlink usr/lib/Wt/examples/javascript/resources ../../../../share/Wt/resources
+witty-examples: package-contains-broken-symlink usr/lib/Wt/examples/mandelbrot/resources ../../../../share/Wt/resources
+witty-examples: package-contains-broken-symlink usr/lib/Wt/examples/mission/resources ../../../../share/Wt/resources
+witty-examples: package-contains-broken-symlink usr/lib/Wt/examples/onethread/resources ../../../../share/Wt/resources
+witty-examples: package-contains-broken-symlink usr/lib/Wt/examples/painting/resources ../../../../share/Wt/resources
+witty-examples: package-contains-broken-symlink usr/lib/Wt/examples/planner/resources ../../../../share/Wt/resources
+witty-examples: package-contains-broken-symlink usr/lib/Wt/examples/qrlogin/resources ../../../../share/Wt/resources
+witty-examples: package-contains-broken-symlink usr/lib/Wt/examples/simplechat/resources ../../../../share/Wt/resources
+witty-examples: package-contains-broken-symlink usr/lib/Wt/examples/style/resources ../../../../share/Wt/resources
+witty-examples: package-contains-broken-symlink usr/lib/Wt/examples/treelist/resources ../../../../share/Wt/resources
+witty-examples: package-contains-broken-symlink usr/lib/Wt/examples/treeview-dragdrop/resources ../../../../share/Wt/resources
+witty-examples: package-contains-broken-symlink usr/lib/Wt/examples/treeview/resources ../../../../share/Wt/resources
+witty-examples: package-contains-broken-symlink usr/lib/Wt/examples/webgl/resources ../../../../share/Wt/resources
+witty-examples: package-contains-broken-symlink usr/lib/Wt/examples/widgetgallery/resources ../../../../share/Wt/resources
+witty-examples: package-contains-broken-symlink usr/lib/Wt/examples/wt-homepage/resources ../../../../share/Wt/resources
+witty-examples: package-contains-broken-symlink usr/lib/Wt/examples/widgetgallery/docroot/resources ../../../../../share/Wt/resources
+witty-examples: package-contains-broken-symlink usr/lib/Wt/examples/wtwithqt/resources ../../../../share/Wt/resources
+
+# Debian bug #736360 and https://lists.debian.org/debian-mentors/2012/11/msg00310.html
+witty-examples: embedded-javascript-library usr/share/doc/witty-examples/html/jquery.js
+
+# Actual URL is http://localhost/wt/examples/simplechat/chat.js?div=chat and chat.js is dynamically generated by Wt
+# Lintian is confusing http://localhost with http://www.webtoolkit.eu
+witty-examples: privacy-breach-generic usr/lib/Wt/examples/wt-homepage/wt-home_cn.xml www.webtoolkit.eu/wt/examples/simplechat/chat.js?div=chat
+witty-examples: privacy-breach-generic usr/lib/Wt/examples/wt-homepage/wt-home_cn.xml http://www.webtoolkit.eu/wt/examples/simplechat/chat.js?div=chat
+witty-examples: privacy-breach-generic usr/lib/Wt/examples/wt-homepage/wt-home_ru.xml www.webtoolkit.eu/wt/examples/simplechat/chat.js?div=chat
+witty-examples: privacy-breach-generic usr/lib/Wt/examples/wt-homepage/wt-home_ru.xml http://www.webtoolkit.eu/wt/examples/simplechat/chat.js?div=chat
+witty-examples: privacy-breach-generic usr/lib/Wt/examples/wt-homepage/wt-home.xml www.webtoolkit.eu/wt/examples/simplechat/chat.js?div=chat
+
+# These examples apparently do not contain any fortifiable syscall, thus the false positive
+witty-examples: hardening-no-fortify-functions usr/lib/Wt/examples/gitmodel/gitview.wt
+witty-examples: hardening-no-fortify-functions usr/lib/Wt/examples/feature/socketnotifier/socketnotifier.wt
