diff --git a/debian/changelog b/debian/changelog index 06f676e..11b02f2 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,10 @@ +libraw1394 (0.9.0-3) unstable; urgency=low + + * Move to debhelper V3. + * Add debconf support. + + -- Andreas Bombe Thu, 28 Jun 2001 14:01:37 +0200 + libraw1394 (0.9.0-2) unstable; urgency=low * Fix postinst of shared library package so that it does not fail over diff --git a/debian/control b/debian/control index e6721e2..94dd66b 100644 --- a/debian/control +++ b/debian/control @@ -2,8 +2,8 @@ Source: libraw1394 Section: libs Priority: optional Maintainer: Andreas Bombe -Standards-Version: 3.5.4.0 -Build-Depends: debhelper +Standards-Version: 3.5.6.0 +Build-Depends: debhelper (>= 3.0.0) Package: libraw1394-dev Architecture: any @@ -23,7 +23,7 @@ Description: library for direct access to IEEE 1394 bus - development files Package: libraw1394-5 Architecture: any Section: libs -Depends: ${shlibs:Depends}${makedev-depend} +Depends: debconf, makedev (>= 2.3.1-49), ${shlibs:Depends} Description: library for direct access to IEEE 1394 bus (aka FireWire) libraw1394 is the only supported interface to the kernel side raw1394 of the Linux IEEE-1394 subsystem, which provides direct access to the diff --git a/debian/libraw1394-potato.postinst.in b/debian/libraw1394-potato.postinst.in deleted file mode 100644 index db512d7..0000000 --- a/debian/libraw1394-potato.postinst.in +++ /dev/null @@ -1,46 +0,0 @@ -#!/bin/sh -e - -if [ "$1" = "configure" ]; then - ldconfig - - if [ ! -c /dev/raw1394 ]; then - cat <$@ +# maintainer files for the so package (of the name $(libraw)) +somaint = postinst config templates + build: build-stamp build-stamp: dh_testdir - ./configure --prefix=/usr --mandir=\$${prefix}/share/man --infodir=\$${prefix}/share/info + ./configure --prefix=/usr --mandir=\$${prefix}/share/man $(MAKE) touch build-stamp -clean: autoclean-files +clean: dh_testdir dh_testroot - rm -f build-stamp + rm -f build-stamp $(somaint:%=debian/$(libraw).%) -$(MAKE) distclean dh_clean - xargs >autoclean-files \ - debian/$(libraw).postinst \ - debian/$(libraw).substvars + dh_movefiles -plibraw1394-dev \ + usr/lib \ + usr/bin \ + usr/include/libraw1394 \ + usr/share/aclocal/libraw1394.m4 - if [ "$(potato-build)" = "yes" ]; then \ - cp debian/libraw1394-potato.postinst.in \ - debian/$(libraw).postinst; \ - echo "makedev-depend=" >>debian/$(libraw).substvars; \ - else \ - cp debian/libraw1394.postinst.in \ - debian/$(libraw).postinst; \ - echo "makedev-depend=, makedev (>= 2.3.1-49)" \ - >>debian/$(libraw).substvars; \ - fi - - dh_installmanpages -plibraw1394-dev + dh_installman dh_installdocs dh_installchangelogs + dh_installdebconf dh_strip dh_compress dh_fixperms dh_makeshlibs -V dh_installdeb - dh_shlibdeps -ldebian/$(libraw)/usr/lib + LD_PRELOAD='' dh_shlibdeps -v -ldebian/$(libraw)/usr/lib dh_gencontrol dh_md5sums dh_builddeb diff --git a/doc/libraw1394.sgml b/doc/libraw1394.sgml index 7c7033f..1f7e78e 100644 --- a/doc/libraw1394.sgml +++ b/doc/libraw1394.sgml @@ -893,6 +893,73 @@ struct raw1394_portinfo { + + + + raw1394_get_(local_id|irm_id|nodecount) + 3 + + + + raw1394_get_local_id + raw1394_get_irm_id + raw1394_get_nodecount + return basic information about the bus + + + + + + nodeid_t raw1394_get_local_id + raw1394handle_t handle + + + nodeid_t raw1394_get_irm_id + raw1394handle_t handle + + + int raw1394_get_nodecount + raw1394handle_t handle + + + + + + Arguments + + + + handle + + handle associated with a 1394 bus + + + + + + + Description + + + These functions return information about the 1394 bus the handle is + associated with. The values that can be queried through these + functions can change with every bus reset. + + + + + Return Value + + + raw1394_get_local_id() returns the node ID of the + local node (i.e. the hardware the driver is controlling directly). + raw1394_get_irm_id() returns the node ID of the + node that has become isochronous resource manager. + raw1394_get_nodecount returns the number of nodes + currently on the bus (including the local node). + + +