Author: tille
Date: 2009-01-09 11:02:56 +0000 (Fri, 09 Jan 2009)
New Revision: 2933

Added:
   trunk/packages/dicomscope/trunk/debian/postinst
Modified:
   trunk/packages/dicomscope/trunk/debian/control
   trunk/packages/dicomscope/trunk/debian/rules
Log:
Fix some lintian errors/warnings: Make tcl scripts executable, call ldconfig in 
postinst (I have no idea why dh_makeshlibs fails in doing this and I guess the 
remaining lintian problem is related to this), debhelper version >= 5


Modified: trunk/packages/dicomscope/trunk/debian/control
===================================================================
--- trunk/packages/dicomscope/trunk/debian/control      2009-01-09 09:16:48 UTC 
(rev 2932)
+++ trunk/packages/dicomscope/trunk/debian/control      2009-01-09 11:02:56 UTC 
(rev 2933)
@@ -4,7 +4,7 @@
 DM-Upload-Allowed: yes
 Uploaders: Mathieu Malaterre <[email protected]>
 Priority: extra
-Build-Depends: debhelper (>= 4), cmake, libdcmtk1-dev, sun-java6-jdk | 
sun-java5-jdk | openjdk-6-jdk,
+Build-Depends: debhelper (>= 5), cmake, libdcmtk1-dev, openjdk-6-jdk | 
sun-java6-jdk | sun-java5-jdk,
  libssl-dev, libxml2-dev, tofrodos, quilt
 Standards-Version: 3.8.0
 Vcs-Browser: 
http://svn.debian.org/wsvn/debian-med/trunk/packages/dicomscope/trunk/?rev=0&sc=0
@@ -14,7 +14,7 @@
 Package: dicomscope
 Architecture: any
 Depends: ${shlibs:Depends}, ${misc:Depends}, tk8.3 | tk8.4, libdcmtk1, 
libssl0.9.8,
- libxml2, sun-java5-jre | sun-java6-jre | java2-runtime
+ libxml2, openjdk-6-jdk | sun-java5-jre | sun-java6-jre | java2-runtime 
 Description: The OFFIS DICOM Viewer
  DICOMscope is a free DICOM viewer which can display uncompressed,
  monochrome DICOM images from all modalities and which supports

Added: trunk/packages/dicomscope/trunk/debian/postinst
===================================================================
--- trunk/packages/dicomscope/trunk/debian/postinst                             
(rev 0)
+++ trunk/packages/dicomscope/trunk/debian/postinst     2009-01-09 11:02:56 UTC 
(rev 2933)
@@ -0,0 +1,12 @@
+#!/bin/sh
+set -e
+
+# This should be added by dh_makeshlibs but something seems to go wrong
+# here.  So adding the code needed manually for the moment
+if [ "$1" = "configure" ]; then
+        ldconfig
+fi
+
+#DEBHELPER#
+
+exit 0

Modified: trunk/packages/dicomscope/trunk/debian/rules
===================================================================
--- trunk/packages/dicomscope/trunk/debian/rules        2009-01-09 09:16:48 UTC 
(rev 2932)
+++ trunk/packages/dicomscope/trunk/debian/rules        2009-01-09 11:02:56 UTC 
(rev 2933)
@@ -84,6 +84,7 @@
 
        # Add here commands to install the package into debian/tmp
        $(MAKE) -C debian/build DESTDIR=$(TARGET) install
+       chmod 755 $(TARGET)/usr/share/dicomscope/tcl/*
 
 
 get-orig-source:
@@ -106,8 +107,9 @@
        dh_strip
        dh_compress
        dh_fixperms
+       dh_makeshlibs
+       dh_shlibdeps # -LlibjInterface -l/usr/lib
        dh_installdeb
-       dh_shlibdeps
        dh_gencontrol
        dh_md5sums
        dh_builddeb


_______________________________________________
debian-med-commit mailing list
[email protected]
http://lists.alioth.debian.org/mailman/listinfo/debian-med-commit

Reply via email to