Package: lifelines
Version: 3.0.40-1
Priority: important
Tags: patch

The lifelines packages contains all the files under /usr/share/lifelines/ 
that the package lifelines-reports also provides thus making installation 
of both packages impossible. If you unpack the .deb file and check its 
contents you will see the following:

lifelines
`-- usr
(...)
    |-- sbin
    `-- share
        |-- doc
        |   `-- lifelines
(...)
        |-- lifelines
        |   |-- 2ppage.ll
        |   |-- 4gen1.ll
        |   |-- 6gen1.ll
        |   |-- 8gen1.ll
        |   |-- BW_descendants.ll
        |   |-- CREDIT
        |   |-- README

(...)

The same .ll files are provided in lifelines-reports. Attached is a patch 
that should fix this issue, it also provides other reports (provided in 
subdirectories) into the lifelines-report package.

BTW, shouldn't lifelines "Recommend:" lifelines-reports?

Regards

Javier
--- rules.orig  2005-02-06 10:37:12.000000000 +0100
+++ rules       2005-02-06 10:41:51.000000000 +0100
@@ -116,8 +116,12 @@
        cp $(CURDIR)/debian/add-ons/llines $(DESTDIR)/usr/bin/llines 
        chmod 755 $(DESTDIR)/usr/bin/llines 
        chmod 755 $(DESTDIR)/usr/share/lifelines/gen_index
-       cp reports/*.ll `pwd`/debian/lifelines-reports/usr/share/lifelines
-       chmod 644 `pwd`/debian/lifelines-reports/usr/share/lifelines/*.ll
+       # Copy all the contents of the reports directory to the
+       # lifelines-report package
+       rm -rf $(DESTDIR)/usr/share/lifelines/
+       cp -a reports/* `pwd`/debian/lifelines-reports/usr/share/lifelines
+       find `pwd`/debian/lifelines-reports/usr/share/lifelines/ -type f \
+               -exec chmod 644 {} \;
        cp $(CURDIR)/.linesrc $(CURDIR)/linesrc
 
        # Icon for menus

Attachment: signature.asc
Description: Digital signature

Reply via email to