Package: libinih-dev
Version: 53-1+b1
Severity: minor
Tags: patch
X-Debbugs-Cc: stephanlach...@protonmail.com

Please add the patch mentioned in the upstream Readme to add the version
to the pkg-config file. See [1] or the attachment for the patch.

Regards,
Stephan

[1]
https://github.com/benhoyt/inih/commit/98dafacc768788cc76fb77979eb01e9a0a0e4637

-- System Information:
Debian Release: bullseye/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 5.10.0-3-amd64 (SMP w/8 CPU threads)
Kernel taint flags: TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8),
LANGUAGE=en_US:en
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages libinih-dev depends on:
ii  libinih1       53-1+b1
ii  libinireader0  53-1+b1

libinih-dev recommends no packages.

libinih-dev suggests no packages.


*** /tmp/inih/debian/patches/0008-add-pkg-config-version.patch
--- a/meson.build
+++ b/meson.build
@@ -1,6 +1,7 @@
 project('inih',
     ['c'],
     license : 'BSD-3-Clause',
+    version : '53'
 )

 #### options ####
@@ -64,7 +65,8 @@
     include_directories : inc_inih,
     c_args : arg_static,
     install : distro_install,
-    soversion : '1'
+    soversion : '1',
+    version : meson.project_version(),
 )

 if distro_install
@@ -92,7 +94,8 @@
         include_directories : inc_INIReader,
         dependencies : inih_dep,
         install : distro_install,
-        soversion : '0'
+        soversion : '0',
+        version : meson.project_version(),
     )
--- a/meson.build
+++ b/meson.build
@@ -1,6 +1,7 @@
 project('inih',
     ['c'],
     license : 'BSD-3-Clause',
+    version : '53'
 )
 
 #### options ####
@@ -64,7 +65,8 @@
     include_directories : inc_inih,
     c_args : arg_static,
     install : distro_install,
-    soversion : '1'
+    soversion : '1',
+    version : meson.project_version(),
 )
 
 if distro_install
@@ -92,7 +94,8 @@
         include_directories : inc_INIReader,
         dependencies : inih_dep,
         install : distro_install,
-        soversion : '0'
+        soversion : '0',
+        version : meson.project_version(),
     )
 
     if distro_install

Reply via email to