Package: latex-ucs
Version: 20041017-3
Severity: serious
Tags: patch
latex-ucs requires files in /usr/share/unidata to build, and
build-depends on console-data for this. These files are very large, and
moved to unicode-data recently, so latex-ucs now fails to build. (Very
few packages seem to have been affected by this; latex-ucs is the only
one I've found so far.)
Also, unicode-data just ships UnicodeData.txt, not any versioned files,
so I adjusted debian/rules and debian/update-latex-ucs to cope with
this. This does mean that the dependencies have to be just
"unicode-data", not "unicode-data | console-data (<< 2:1.0-1)" as I'd
originally hoped.
A patch to fix this bug is attached. If you could fix this in Ubuntu
edgy as well, I'd appreciate it, as I think I'm going to pull in
unicode-data there to save space in the base system.
Thanks,
--
Colin Watson [EMAIL PROTECTED]
diff -u latex-ucs-20041017/debian/control latex-ucs-20041017/debian/control
--- latex-ucs-20041017/debian/control
+++ latex-ucs-20041017/debian/control
@@ -2,7 +2,7 @@
Section: tex
Priority: optional
Maintainer: Martin Pitt <[EMAIL PROTECTED]>
-Build-Depends-Indep: cdbs, debhelper (>> 4.0.0), console-data
+Build-Depends-Indep: cdbs, debhelper (>> 4.0.0), unicode-data
Standards-Version: 3.6.1
Package: latex-ucs
@@ -37,7 +37,7 @@
Package: latex-ucs-dev
Section: libdevel
Architecture: all
-Depends: latex-ucs, console-data
+Depends: latex-ucs, unicode-data
Recommends: latex-ucs-doc
Description: configuration source files for latex-ucs
latex-ucs provides support for using UTF-8 as input encoding in LaTeX
diff -u latex-ucs-20041017/debian/rules latex-ucs-20041017/debian/rules
--- latex-ucs-20041017/debian/rules
+++ latex-ucs-20041017/debian/rules
@@ -20,7 +20,7 @@
# automatically generate def files, don't use the ones from
# the orig.tar.gz because we may patch the config files
- ./makeunidef.pl --no-comments -t debian/tmp/data -d
/usr/share/unidata/UnicodeData-4*.txt debian/tmp/config/*.ucf.gz
+ ./makeunidef.pl --no-comments -t debian/tmp/data -d
/usr/share/unidata/UnicodeData.txt debian/tmp/config/*.ucf.gz
# create manpages; filenames in PODs are adapted to the names
# of the installed programs
diff -u latex-ucs-20041017/debian/update-latex-ucs
latex-ucs-20041017/debian/update-latex-ucs
--- latex-ucs-20041017/debian/update-latex-ucs
+++ latex-ucs-20041017/debian/update-latex-ucs
@@ -61,7 +61,7 @@
mkdir $DATADIR
echo Generating the data directory from $CFGDIR sources...
/usr/share/latex-ucs-dev/makeunidef.pl -t $DATADIR $COMMENTS \
- -d /usr/share/unidata/UnicodeData-4*.txt $CFGDIR/*.ucf $CFGDIR/*.ucf.gz
+ -d /usr/share/unidata/UnicodeData.txt $CFGDIR/*.ucf $CFGDIR/*.ucf.gz
# rehash LaTeX
diff -u latex-ucs-20041017/debian/latex-ucs-dev.README.Debian
latex-ucs-20041017/debian/latex-ucs-dev.README.Debian
--- latex-ucs-20041017/debian/latex-ucs-dev.README.Debian
+++ latex-ucs-20041017/debian/latex-ucs-dev.README.Debian
@@ -12,7 +12,8 @@
included POD documentation and the file INSTALL in
/usr/share/doc/latex-ucs/ how to call it. This script needs a recent
version of UnicodeData.txt from www.unicode.org which is already
-provided by the package console-data and can be used for this purpose.
+provided by the package unicode-data (formerly console-data) and can
+be used for this purpose.
For convenience there is a wrapper script update-latex-ucs that calls
makeunidef.pl with the correct parameters. See update-latex-ucs(8) for