Package: liboggplay1
Version: 0.2.1~git20091227-1.2
Severity: normal
Tags: upstream patch

According to my understanding, .pc files should use Requires.private
instead of Requires fields as a matter of course.

While building another package that linked against oggplay, I got
complaints from dpkg-shlibdeps that there were unnecessary
dependencies. Replacing the Requires field with a Requires.private
field in oggplay.pc fixed this.

I also noticed that oggplay-uninstalled.pc is installed, which it
shouldn't be.

Patch attached.
--- liboggplay-0.2.1~git20091227/debian/liboggplay1-dev.install
+++ liboggplay-0.2.1~git20091227/debian/liboggplay1-dev.install
@@ -4 +4 @@
-usr/lib/pkgconfig/*
+usr/lib/pkgconfig/oggplay.pc
--- liboggplay-0.2.1~git20091227.orig/oggplay.pc.in
+++ liboggplay-0.2.1~git20091227/oggplay.pc.in
@@ -5,7 +5,7 @@
 
 Name: oggplay
 Description: Decode from multiple ogg streams synchronously
-Requires: oggz fishsound theora
+Requires.private: oggz fishsound theora
 Version: @VERSION@
 Libs: -L${libdir} -loggplay 
 Libs.private: @OGGZ_LIBS@ @FISHSOUND_LIBS@ @THEORA_LIBS@ @TIGER_LIBS@ @KATE_LIBS@

Reply via email to