Source: fossil
Version: 1:1.33-3
Severity: wishlist
Tags: patch

Dear Maintainer,

Currently, the fossil package in Debian doesn't complile in the Tcl
integration and doesn't allow one to use TH1 in doc pages.

Please, compile these useful features in one of the next versions. They
are disabled by default in fossil config, so adding them doesn't lead
to security problems.

I'm attaching a patch which does this. It contains one non-obvious bit
caused by some peculiarity in Debian Tcl packaging (one has to use
DEB_HOST_MULTIARCH variable to get to tclConfig.sh).

-- System Information:
Debian Release: 8.2
  APT prefers proposed-updates
  APT policy: (500, 'proposed-updates'), (500, 'stable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.16.0-4-amd64 (SMP w/8 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

-- no debconf information
diff -Nru fossil-1.33/debian/changelog fossil-1.33/debian/changelog
--- fossil-1.33/debian/changelog	2015-07-12 02:37:27.000000000 +0300
+++ fossil-1.33/debian/changelog	2015-12-15 19:36:49.000000000 +0300
@@ -1,3 +1,11 @@
+fossil (1:1.33-3.1) unstable; urgency=medium
+
+  * enable TH1 for embedded documentation pages
+  * enable TH1 hooks for commands and web pages
+  * enable Tcl integration
+
+ -- Sergei Golovan <[email protected]>  Tue, 15 Dec 2015 19:18:50 +0300
+
 fossil (1:1.33-3) unstable; urgency=medium
 
   * enable line editing via build dependency on libreadline-dev
diff -Nru fossil-1.33/debian/control fossil-1.33/debian/control
--- fossil-1.33/debian/control	2015-07-12 02:36:27.000000000 +0300
+++ fossil-1.33/debian/control	2015-12-15 19:46:24.000000000 +0300
@@ -10,6 +10,7 @@
 	       libsqlite3-dev,
 	       sqlite3,
 	       tcl | tcl8.5 | tclsh,
+	       tcl-dev | tcl8.5-dev,
 	       zlib1g-dev | libz-dev,
 	       libssl-dev
 Vcs-Browser: http://fossil-scm.org
@@ -17,7 +18,7 @@
 
 Package: fossil
 Architecture: any
-Depends: ${shlibs:Depends}, ${misc:Depends}
+Depends: libtcl, ${shlibs:Depends}, ${misc:Depends}
 Suggests: gnupg | gnupg2
 Description: DSCM with built-in wiki, http interface and server, tickets database
  Fossil is an easy-to-use Distributed Source Control Management system
diff -Nru fossil-1.33/debian/rules fossil-1.33/debian/rules
--- fossil-1.33/debian/rules	2015-07-10 13:20:25.000000000 +0300
+++ fossil-1.33/debian/rules	2015-12-15 19:54:41.000000000 +0300
@@ -1,9 +1,15 @@
 #!/usr/bin/make -f
+
+include /usr/share/dpkg/architecture.mk
+
 %:
 	dh $@ --parallel --with autotools-dev
 
 override_dh_auto_configure:
-	dh_auto_configure -- --disable-internal-sqlite --json
+	dh_auto_configure -- --disable-internal-sqlite --json \
+			     --with-th1-docs --with-th1-hooks \
+			     --with-tcl=/usr/lib/$(DEB_HOST_MULTIARCH) \
+			     --with-tcl-stubs
 
 # From src/main.mk:
 #

Reply via email to