[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#691155: unblock: fsl/4.1.9-7



Package: release.debian.org
Severity: normal
User: release.debian.org@packages.debian.org
Usertags: unblock

Please unblock package fsl

It fixes http://bugs.debian.org/689166 (prevent regeneration of
TclIndex). The full source diff is attached. It basically removes the
postinst script that performed the regeneration. All other changes are
necessary to prevent failure due to the removal of the postinst script.
Full source diff to 4.1.9-6 is attached.

unblock fsl/4.1.9-7

-- System Information:
Debian Release: wheezy/sid
Architecture: i386 (i686)

Kernel: Linux 3.2.0-2-686-pae (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
diff --git a/debian/changelog b/debian/changelog
index 72fd4f8..3b037a8 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,11 @@
+fsl (4.1.9-7) unstable; urgency=low
+
+  * Stop regenerating tclIndex during postinst. This is no longer necessary
+    since libfslio and its TCL scripts are built from the FSL source package
+    -- which is since 4.1.1 or four years (Closes: #689166).
+
+ -- Michael Hanke <mih@debian.org>  Thu, 06 Sep 2012 09:10:33 +0200
+
 fsl (4.1.9-6) unstable; urgency=low
 
   * Declare a conflict to pre-4.1.9-5 fsl4.1-doc packages. Otherwise,
diff --git a/debian/fsl-4.1.postinst b/debian/fsl-4.1.postinst
deleted file mode 100644
index 70cd86c..0000000
--- a/debian/fsl-4.1.postinst
+++ /dev/null
@@ -1,27 +0,0 @@
-#!/bin/sh
-# postinst script for FSL
-# This script is used to regenerate the tclIndex file after placing a link to
-# fslio.tcl in the main tcl path of FSL.
-
-set -e
-
-case "$1" in
-	configure)
-		( cd /usr/share/fsl/4.1/tcl && echo 'auto_mkindex . *.tcl' | tclsh )
-	;;
-
-	abort-upgrade|abort-remove|abort-deconfigure)
-	#nothing
-	;;
-
-	*)
-		echo "postinst called with unknown argument \`$1'" >&2
-		exit 1
-	;;
-esac
-
-#DEBHELPER#
-
-exit 0
-
-
diff --git a/debian/rules b/debian/rules
index 6cde284..7ca22e6 100755
--- a/debian/rules
+++ b/debian/rules
@@ -76,7 +76,7 @@ controlfiles:
 			> debian/$$(basename $$f) ; \
 	done
 	# renamed files that need to have a version-specific name
-	for suffix in 1 desktop dirs install links lintian-overrides manpages menu postinst docs; do \
+	for suffix in 1 desktop dirs install links lintian-overrides manpages menu docs; do \
 		for prefix in fsl fsl-doc nudge; do \
 		[ -f debian/$$prefix.$$suffix ] &&  \
 			mv debian/$$prefix.$$suffix debian/$$prefix-$(FSLMAJORVERSION).$$suffix || true ; \
@@ -95,7 +95,7 @@ cleancontrolfiles:
 	done
 	rm -f debian/fsl.preinst
 	# versioned files
-	rm -f debian/{fsl,fsl-doc,nudge}-$(FSLMAJORVERSION).{1,desktop,dirs,install,links,lintian-overrides,manpages,menu,postinst,preinst,docs}
+	rm -f debian/{fsl,fsl-doc,nudge}-$(FSLMAJORVERSION).{1,desktop,dirs,install,links,lintian-overrides,manpages,menu,preinst,docs}
 
 # build and install extra
 biextra-%:
diff --git a/debian/templates/fsl.postinst b/debian/templates/fsl.postinst
deleted file mode 100644
index ca112a6..0000000
--- a/debian/templates/fsl.postinst
+++ /dev/null
@@ -1,27 +0,0 @@
-#!/bin/sh
-# postinst script for FSL
-# This script is used to regenerate the tclIndex file after placing a link to
-# fslio.tcl in the main tcl path of FSL.
-
-set -e
-
-case "$1" in
-	configure)
-		( cd /usr/share/fsl/#FSLMVERSION#/tcl && echo 'auto_mkindex . *.tcl' | tclsh )
-	;;
-
-	abort-upgrade|abort-remove|abort-deconfigure)
-	#nothing
-	;;
-
-	*)
-		echo "postinst called with unknown argument \`$1'" >&2
-		exit 1
-	;;
-esac
-
-#DEBHELPER#
-
-exit 0
-
-

Reply to: