[SCM] Render HTML and CSS content with tk branch, debian, updated. 2d507aec745f67809c8539bb31ee7cdbf053b6de

Ole Streicher debian at liska.ath.cx
Tue Feb 21 09:40:11 UTC 2012


The following commit has been merged in the debian branch:
commit 9a471154092d27be20c5cd041f189bd1777998a0
Author: Ole Streicher <debian at liska.ath.cx>
Date:   Tue Feb 21 10:31:22 2012 +0100

    Add download script and adjust version numbering

diff --git a/debian/changelog b/debian/changelog
index e1cb803..f63aa93 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,4 +1,4 @@
-tk-html3 (0.16-1) unstable; urgency=low
+tk-html3 (3.0+fossil2080303-1) unstable; urgency=low
 
   * Initial release. (Closes: #659344)
 
diff --git a/debian/get-orig-source.sh b/debian/get-orig-source.sh
new file mode 100644
index 0000000..717636c
--- /dev/null
+++ b/debian/get-orig-source.sh
@@ -0,0 +1,35 @@
+#!/bin/sh
+
+#
+# Download tkHTML from its fossil repository. This reqires that we know 
+# the patch ID and have a session cookie.
+#
+
+#
+# Fossil uuid and corresponding date. The date goes only into the version 
+# number. Since the development is rather slow, there putting year-month-day
+# here is more than enough.
+#
+UUID=b992a146316ef5c829a445f86257a44f52fa50e0
+DATE="20080303"
+
+SID=$(echo ${UUID} | cut -c-16)
+INCOMING_TAR=tkHTML-${SID}.tar.gz
+
+#
+# The session cookie was created with a browser using "login" and logging in
+# as anonymous.
+#
+SESSION_COOKIE_NAME="fossil-ec6e60882bf46696"
+SESSION_COOKIE_CONTENT="06b18caac9aff9015003789307f94f568710ae7b%2F2455978.88206901%2Fanonymous"
+SESSION_COOKIE="${SESSION_COOKIE_NAME}=${SESSION_COOKIE_CONTENT}"
+
+wget --no-cookies --header "Cookie: ${SESSION_COOKIE}" -O ${INCOMING_TAR} "http://tkhtml.tcl.tk/fossil/tarball/tkHTML-${SID}.tar.gz?uuid=${UUID}"
+
+VERSION=$(tar xOf ${INCOMING_TAR} --wildcards \*/configure.in |\
+          grep ^AC_INIT | cut -d, -f2 | cut -d\) -f1)
+VERSION=$(echo ${VERSION} | tr -d \[\])
+
+DEBIAN_ORIG_TAR=tkhtml_${VERSION}+fossil${DATE}.orig.tar.gz
+
+ln -sf ${INCOMING_TAR} ${DEBIAN_ORIG_TAR}

-- 
Render HTML and CSS content with tk



More information about the debian-science-commits mailing list