From: Luk C. <in...@us...> - 2004-01-06 20:22:18
|
> PS: I attach the patch for the debian/ stuff to this mail. I still have two warnings with lintian (plus the lack of manpage): > > W: lcd4linux:non-dev-pkg-with-shlib-symlink usr/lib/liblcd4linux.so.0.9.11 usr/lib/liblcd4linux.so > W: lcd4linux: missing-debconf-dependency The first warning is about the package split, but I don't think it is necessary at the moment. The second warning is already handled by calling dh_installdebconf in debian/rules. > ------------------------------------------------------------------------ > > diff -urN /tmp/lcd4linux/debian/control lcd4linux/debian/control > --- /tmp/lcd4linux/debian/control 2004-01-06 19:57:16.000000000 +0100 > +++ lcd4linux/debian/control 2004-01-06 19:54:03.000000000 +0100 > @@ -2,7 +2,7 @@ > Section: utils > Priority: extra > Maintainer: Samuel Mimram <sam...@en...> > -Build-Depends: debhelper (>= 4.0.0), debconf > +Build-Depends: debhelper (>= 4.0.0), debconf, xlibs-dev +Build-Depends: debhelper (>= 4.0.0), xlibs-dev > Standards-Version: 3.6.0 Architecture: any -Depends: ${shlibs:Depends} +Depends: xlibs, {shlibs:Depends} Description: Display informations on an external liquid crystal display > Package: lcd4linux > diff -urN /tmp/lcd4linux/debian/dirs lcd4linux/debian/dirs > --- /tmp/lcd4linux/debian/dirs 2004-01-06 19:57:16.000000000 +0100 > +++ lcd4linux/debian/dirs 2004-01-06 19:32:47.000000000 +0100 > @@ -1,2 +1,4 @@ > usr/bin > usr/lib > +etc > +etc/init.d > diff -urN /tmp/lcd4linux/debian/postinst lcd4linux/debian/postinst > --- /tmp/lcd4linux/debian/postinst 1970-01-01 01:00:00.000000000 +0100 > +++ lcd4linux/debian/postinst 2004-01-06 19:35:30.000000000 +0100 > @@ -0,0 +1,5 @@ > +#!/bin/sh -e > + > +. /usr/share/debconf/confmodule > + > +#DEBHELPER# > diff -urN /tmp/lcd4linux/debian/rules lcd4linux/debian/rules > --- /tmp/lcd4linux/debian/rules 2004-01-06 19:57:16.000000000 +0100 > +++ lcd4linux/debian/rules 2004-01-06 19:34:08.000000000 +0100 > @@ -42,7 +42,8 @@ > dh_testroot > > rm -f build-stamp > - $(MAKE) distclean > + -$(MAKE) distclean > + rm -f config.log not necessary (rm -f config.log) > > dh_clean > > @@ -84,7 +85,7 @@ > dh_fixperms > # dh_perl > # dh_python -# dh_perl -# dh_python > -# dh_makeshlibs > + dh_makeshlibs > dh_installdeb > dh_shlibdeps > dh_gencontrol the other commented calls should also be removed the line where etc/init.d is created with mkdir should be removed > diff -urN /tmp/lcd4linux/debian/templates lcd4linux/debian/templates > --- /tmp/lcd4linux/debian/templates 2004-01-06 19:57:16.000000000 +0100 > +++ lcd4linux/debian/templates 2004-01-06 19:32:18.000000000 +0100 > @@ -1,6 +1,6 @@ > Template: lcd4linux/conf > Type: note > -Description: Your must configure lcd4linux > +Description: You must configure lcd4linux > By default, lcd4linux is not configured. You MUST configure it by editing > the /etc/lcd4linux.conf file, which holds all configuration. > . > diff -urN /tmp/lcd4linux/debian/watch lcd4linux/debian/watch > --- /tmp/lcd4linux/debian/watch 1970-01-01 01:00:00.000000000 +0100 > +++ lcd4linux/debian/watch 2004-01-06 19:36:19.000000000 +0100 > @@ -0,0 +1,3 @@ > +version=2 > +http://prdownloads.sourceforge.net/lcd4linux/lcd4linux-(.*[0-9])\.tgz > +debian uupdate +http://prdownloads.sourceforge.net/lcd4linux/lcd4linux-(.*[0-9])\.tgz debian uupdate So on 1 line!!! Cheers Luk |