Package: libofx
Severity: minor
Tags: patch

The files /usr/lib/libofx.a and /usr/lib/libofx.la are packaged into the
package libofx2. According to Debian policy and according to the [1]Debian
Library Packaging Guide they should preferrably packaged into the
-dev-Package.

1. 
http://www.netfort.gr.jp/~dancer/column/libpkg-guide/libpkg-guide.html#shldevpackagecontents

Why?

I noticed this issue to be a problem when I tried to backport libofx for
Debian Sarge in order to backport my own package depending on libofx. I
had no problem to backport libofx to sarge, but when I tried to install
my new backported libofx the following problem occured: The package
libofx2c102 0.8.0-3.sarge1 (my backport) conflicts with the package
libofx1 0.7.0-7 in having the files mentioned above in common. Purging
libofx1 in favor of libofx2c102 would cause all depending packages to be
removed, thus this is no option (as I didn't plan to backport packages
which my packages do not depend on... :-P).

In fact it should be possible to install a library multiple times with
different SONAMEs (at least this is the idea behind having the SONAME in
the package name).

Could you please package the mentioned files into the -dev package?
The attached patch will do the job. :)

Yours
  Micha

-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.8-2-686
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
diff -urN libofx-0.8.0-3/debian/rules libofx-0.8.0/debian/rules
--- libofx-0.8.0-3/debian/rules 2005-09-07 01:54:51.993201936 +0200
+++ libofx-0.8.0/debian/rules   2005-09-07 01:53:49.614684912 +0200
@@ -72,6 +72,8 @@
 
        dh_movefiles -plibofx-dev \
                usr/lib/*.so \
+               usr/lib/*.a \
+               usr/lib/*.la \
                usr/include
        -mv 
debian/tmp/usr/share/doc/libofx2/{implementation_notes.txt,totest.txt} 
debian/libofx-dev/usr/share/doc/libofx-dev
        cp -rp doc/html debian/libofx-dev/usr/share/doc/libofx-dev

Reply via email to