Hi Colin,
Colin King (gmail) <colin.i.king@gmail.com> ezt írta (időpont: 2023.
nov. 16., Cs, 17:46):
Hi Balint,
Since libtypec installs include files and libs to the standard
locations actually there is no need to set those paths.
I think I would use the following patch:
--- a/libtypec.pc.in
+++ b/libtypec.pc.in
@@ -1,12 +1,9 @@
prefix=/usr
exec_prefix=/usr
-libdir=${exec_prefix}/lib/x86_64-linux-gnu
-includedir=${prefix}/
Name: libtypec
Description: USB-Type C and USB Power Delivery class devices
Version: 0.4.0
Requires:
-Libs: -L${libdir} -llibtypec
-Cflags: -I${includedir}
+Libs: -llibtypec
I think this patch application did not work out as intended, please
check the patched file.
The symbols file's first line is also still off and now the symbos
have debian package revisions.
Those are issues automatically detected by Lintian. I suggest running
lintian on the built binary packages' .changes file or populating the
packaging repository on Salsa where CI runs include lintian and many
other checks.