Your message dated Wed, 21 Jun 2023 23:58:00 +0530
with message-id <[email protected]>
and subject line Re: libvdk2-dev: Please add a .pc file
has caused the Debian Bug report #1035341,
regarding libvdk2-dev: Please add a .pc file
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
1035341: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1035341
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: libvdk2-dev
Version: 2.4.0-5.6
Severity: normal
Tags: patch
Forwarded: https://sourceforge.net/p/vdkbuilder/bugs/20/
X-Debbugs-Cc: [email protected]
Dear Michael,
At the moment vdk2 does not vendor a .pc file and instead managed lib
and cflag info via a vdk-config-2 file. This is broken for cross-build
use as it has pkg-config invocations without triplet and hence this
causes cross-build issues.
Simple solution is to use a pkg-config file for getting all necessary
cflags and libs, which also improves the build experience for everyone.
Upstream is inactive for around a decade and so it'd be nice if this
could be taken up in the debian package (the change is in no way large
or disruptive).
I've attached a patch to get the .pc file installed with libvdk2-dev,
please consider applying.
Best,
Nilesh
-- System Information:
Debian Release: bookworm/sid
APT prefers testing-security
APT policy: (500, 'testing-security'), (500, 'testing')
Architecture: amd64 (x86_64)
Kernel: Linux 6.1.0-2-amd64 (SMP w/8 CPU threads; PREEMPT)
Kernel taint flags: TAINT_WARN
Locale: LANG=en_IN, LC_CTYPE=en_IN (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
Versions of packages libvdk2-dev depends on:
ii libgtk2.0-dev 2.24.33-2
ii libvdk2-2c2 2.4.0-5.6
libvdk2-dev recommends no packages.
Versions of packages libvdk2-dev suggests:
pn doxygen <none>
pn libvdk2-doc <none>
-- no debconf information
>From ec8f2dd20a1942d75fc61b2ec0a3ecb7d227a8c5 Mon Sep 17 00:00:00 2001
From: Nilesh Patra <[email protected]>
Date: Mon, 1 May 2023 11:46:05 +0000
Subject: [PATCH] Add .pc file to the package for better cross-build support
---
debian/libvdk2-dev.dirs | 1 +
debian/libvdk2.pc | 13 +++++++++++++
debian/rules | 1 +
3 files changed, 15 insertions(+)
create mode 100644 debian/libvdk2.pc
diff --git a/debian/libvdk2-dev.dirs b/debian/libvdk2-dev.dirs
index e772481..f7412ea 100644
--- a/debian/libvdk2-dev.dirs
+++ b/debian/libvdk2-dev.dirs
@@ -1 +1,2 @@
usr/bin
+usr/lib/pkgconfig
diff --git a/debian/libvdk2.pc b/debian/libvdk2.pc
new file mode 100644
index 0000000..8aabae1
--- /dev/null
+++ b/debian/libvdk2.pc
@@ -0,0 +1,13 @@
+prefix=/usr
+exec_prefix=${prefix}
+libdir=${prefix}/lib/
+includedir=${prefix}/include
+pkglibdir=${libdir}/vdk
+
+Name: libvdk2
+Description: Visual Development Kit C++ library version 2
+Requires: gtk+-x11-2.0 gtk+-x11-2.0
+Version: 2.4.0
+Libs: -L${libdir} -lvdk2 -lpthread
+Libs.private: -lpthread
+Cflags: -I${includedir}/vdk2
diff --git a/debian/rules b/debian/rules
index b995da7..5b27888 100755
--- a/debian/rules
+++ b/debian/rules
@@ -138,6 +138,7 @@ libvdk2-dev: build
# Add here commands to install the files from debian/libvdk2-2c2
dh_movefiles -plibvdk2-dev --sourcedir=debian/libvdk2-2c2
cp vdk-config-2 debian/libvdk2-dev/usr/bin
+ cp debian/libvdk2.pc debian/libvdk2-dev/usr/lib/pkgconfig
# start copying the examples
# here we do something not very clean, but it is working
--
2.40.0
--- End Message ---
--- Begin Message ---
Version: 2.4.0-5.7
On Tue, 13 Jun 2023 00:04:00 +0530 (IST) Nilesh Patra <[email protected]>
wrote:
> If I see no reaction on this bug report for a week or so, I'll NMU the same.
I've done a NMU. closing.
--
Best,
Nilesh
signature.asc
Description: PGP signature
--- End Message ---