[Pkg-lyx-devel] svn commit: r513 - in /lyx/branches/lyx-1.6/debian: changelog control lyx-common.postinst lyx-common.postrm rules

pelle at users.alioth.debian.org pelle at users.alioth.debian.org
Wed Jul 23 20:58:53 UTC 2008


Author: pelle
Date: Wed Jul 23 20:58:53 2008
New Revision: 513

URL: http://svn.debian.org/wsvn/pkg-lyx/?sc=1&rev=513
Log:
Use dh_installtex update ls-R files from maintainer scripts. Will do
it faster than plain texhash.

Modified:
    lyx/branches/lyx-1.6/debian/changelog
    lyx/branches/lyx-1.6/debian/control
    lyx/branches/lyx-1.6/debian/lyx-common.postinst
    lyx/branches/lyx-1.6/debian/lyx-common.postrm
    lyx/branches/lyx-1.6/debian/rules

Modified: lyx/branches/lyx-1.6/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-lyx/lyx/branches/lyx-1.6/debian/changelog?rev=513&op=diff
==============================================================================
--- lyx/branches/lyx-1.6/debian/changelog (original)
+++ lyx/branches/lyx-1.6/debian/changelog Wed Jul 23 20:58:53 2008
@@ -10,6 +10,8 @@
   * Use new features in debhelper v7 to shorten debian/rules.
   * Misc improvements to debian/rules.
   * Point to new lyx icon in png format from /usr/share/icons.
+  * Use dh_installtex update ls-R files from maintainer scripts. Will do
+    it faster than plain texhash.
 
  -- Sven Hoexter <sven at timegate.de>  Sun, 20 Jul 2008 16:28:52 +0200
 

Modified: lyx/branches/lyx-1.6/debian/control
URL: http://svn.debian.org/wsvn/pkg-lyx/lyx/branches/lyx-1.6/debian/control?rev=513&op=diff
==============================================================================
--- lyx/branches/lyx-1.6/debian/control (original)
+++ lyx/branches/lyx-1.6/debian/control Wed Jul 23 20:58:53 2008
@@ -13,7 +13,7 @@
  autotools-dev, libqt4-dev, libboost-dev (>= 1.34.1),
  libboost-filesystem-dev, libboost-signals-dev,
  libboost-iostreams-dev, libboost-regex-dev, libboost-test-dev,
- pkg-config
+ pkg-config, tex-common
 
 Package: lyx
 Architecture: any
@@ -46,7 +46,7 @@
 
 Package: lyx-common
 Architecture: all
-Depends: ${python:Depends}, texlive-latex-base
+Depends: ${misc:Depends}, ${python:Depends}, texlive-latex-base
 Recommends: lyx
 Conflicts: latex-beamer (<= 3.06.dfsg.1-0.1)
 Description: Architecture-independent files for LyX

Modified: lyx/branches/lyx-1.6/debian/lyx-common.postinst
URL: http://svn.debian.org/wsvn/pkg-lyx/lyx/branches/lyx-1.6/debian/lyx-common.postinst?rev=513&op=diff
==============================================================================
--- lyx/branches/lyx-1.6/debian/lyx-common.postinst (original)
+++ lyx/branches/lyx-1.6/debian/lyx-common.postinst Wed Jul 23 20:58:53 2008
@@ -1,8 +1,4 @@
 #!/bin/sh -e
-
-if [ "$1" = configure ] && [ -x "`which texhash 2>/dev/null`" ]; then
-	texhash
-fi
 
 rm -f /usr/share/lyx/lyxrc.defaults
 rm -f /usr/share/lyx/packages.lst

Modified: lyx/branches/lyx-1.6/debian/lyx-common.postrm
URL: http://svn.debian.org/wsvn/pkg-lyx/lyx/branches/lyx-1.6/debian/lyx-common.postrm?rev=513&op=diff
==============================================================================
--- lyx/branches/lyx-1.6/debian/lyx-common.postrm (original)
+++ lyx/branches/lyx-1.6/debian/lyx-common.postrm Wed Jul 23 20:58:53 2008
@@ -1,11 +1,6 @@
 #!/bin/sh -e
 
 case "$1" in
-    remove)
-	if [ -x "`which texhash 2>/dev/null`" ]; then
-	    texhash
-	fi
-	;;
     purge)
 	if [ -f /etc/lyxrc ]; then
 	    rm -f /etc/lyxrc

Modified: lyx/branches/lyx-1.6/debian/rules
URL: http://svn.debian.org/wsvn/pkg-lyx/lyx/branches/lyx-1.6/debian/rules?rev=513&op=diff
==============================================================================
--- lyx/branches/lyx-1.6/debian/rules (original)
+++ lyx/branches/lyx-1.6/debian/rules Wed Jul 23 20:58:53 2008
@@ -97,6 +97,7 @@
 		debian/lyx/usr/share/icons/hicolor/48x48/apps/lyx.png
 
 	dh_pysupport /usr/share/lyx
+	dh_installtex -plyx-common
 
 # now run the rest of the debhelper commands
 	dh install --after dh_install




More information about the Pkg-lyx-devel mailing list