[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#829327: marked as done (libmp3lame-dev: please install a pkg-config file)



Your message dated Tue, 20 Sep 2022 12:22:33 +0000
with message-id <E1oacGn-003eh5-Mf@fasolo.debian.org>
and subject line Bug#829326: fixed in lame 3.100-4
has caused the Debian Bug report #829326,
regarding libmp3lame-dev: please install a pkg-config 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 owner@bugs.debian.org
immediately.)


-- 
829326: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=829326
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: libmp3lame-dev
Severity: wishlist
Tags: upstream patch

Hello.
Please generate and install a pkg-config file for user convenience.
A patch applying to 3.99.5+repack1-9 is attached.
This has been an upstream feature request for a while, and should be
forwarded to https://sourceforge.net/p/lame/feature-requests/42/.
Thanks.
diff --git a/debian/libmp3lame-dev.install b/debian/libmp3lame-dev.install
index f349901..72ae5a0 100644
--- a/debian/libmp3lame-dev.install
+++ b/debian/libmp3lame-dev.install
@@ -1,3 +1,4 @@
 usr/include
 usr/lib/*/*.a
 usr/lib/*/*.so
+usr/lib/*/pkgconfig/*.pc
diff --git a/debian/patches/pkg-config.diff b/debian/patches/pkg-config.diff
new file mode 100644
index 0000000..b913f8a
--- /dev/null
+++ b/debian/patches/pkg-config.diff
@@ -0,0 +1,49 @@
+Description: Generate and install a pkg-config file for user convenience.
+ This has been an upstream feature request for a while, and should be
+ forwarded to https://sourceforge.net/p/lame/feature-requests/42/.
+Author: Nicolas Boulenguez <nicolas@debian.org>
+
+--- a/configure.in
++++ b/configure.in
+@@ -1151,6 +1151,8 @@
+ 
+ AC_SUBST(CONFIG_DEFS)
+ 
+-AC_CONFIG_FILES([Makefile libmp3lame/Makefile libmp3lame/i386/Makefile libmp3lame/vector/Makefile frontend/Makefile mpglib/Makefile doc/Makefile doc/html/Makefile doc/man/Makefile include/Makefile Dll/Makefile misc/Makefile dshow/Makefile ACM/Makefile ACM/ADbg/Makefile ACM/ddk/Makefile ACM/tinyxml/Makefile lame.spec mac/Makefile macosx/Makefile macosx/English.lproj/Makefile macosx/LAME.xcodeproj/Makefile vc_solution/Makefile])
++AC_CONFIG_FILES([Makefile libmp3lame/Makefile libmp3lame/i386/Makefile libmp3lame/vector/Makefile frontend/Makefile mpglib/Makefile doc/Makefile doc/html/Makefile doc/man/Makefile include/Makefile Dll/Makefile misc/Makefile dshow/Makefile ACM/Makefile ACM/ADbg/Makefile ACM/ddk/Makefile ACM/tinyxml/Makefile lame.spec mac/Makefile macosx/Makefile macosx/English.lproj/Makefile macosx/LAME.xcodeproj/Makefile vc_solution/Makefile
++libmp3lame/mp3lame.pc
++])
+ 
+ AC_OUTPUT
+--- a/libmp3lame/Makefile.am
++++ b/libmp3lame/Makefile.am
+@@ -30,6 +30,7 @@
+ 
+ EXTRA_DIST = \
+ 	lame.rc \
++	mp3lame.pc.in \
+ 	vbrquantize.h \
+ 	logoe.ico
+ 
+@@ -99,3 +100,8 @@
+ #$(OBJECTS): libtool
+ #libtool: $(LIBTOOL_DEPS)
+ #	$(SHELL) $(top_builddir)/config.status --recheck
++
++pkgconfigdir = $(libdir)/pkgconfig
++pkgconfig_DATA = mp3lame.pc
++
++DISTCLEANFILES = $(pkgconfig_DATA)
+--- /dev/null
++++ b/libmp3lame/mp3lame.pc.in
+@@ -0,0 +1,10 @@
++prefix=@prefix@
++exec_prefix=@exec_prefix@
++libdir=@libdir@
++includedir=@includedir@
++
++Name: @PACKAGE_NAME@
++Description: MP3 decoding library
++Version: @PACKAGE_VERSION@
++Libs: -L${libdir} -lmp3lame
++Cflags: -I${includedir}/lame
diff --git a/debian/patches/series b/debian/patches/series
index 6fc5e03..f046522 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -7,3 +7,4 @@ force_align_arg_pointer.patch
 0001-Add-check-for-invalid-input-sample-rate.patch
 bits_per_sample.patch
 int_resample_ratio.patch
+pkg-config.diff

--- End Message ---
--- Begin Message ---
Source: lame
Source-Version: 3.100-4
Done: Benjamin Drung <bdrung@debian.org>

We believe that the bug you reported is fixed in the latest version of
lame, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 829326@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Benjamin Drung <bdrung@debian.org> (supplier of updated lame package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Tue, 20 Sep 2022 13:52:56 +0200
Source: lame
Built-For-Profiles: noudeb
Architecture: source
Version: 3.100-4
Distribution: unstable
Urgency: medium
Maintainer: Debian Multimedia Maintainers <debian-multimedia@lists.debian.org>
Changed-By: Benjamin Drung <bdrung@debian.org>
Closes: 829326
Changes:
 lame (3.100-4) unstable; urgency=medium
 .
   * Team upload.
 .
   [ Debian Janitor ]
   * Set upstream metadata fields: Archive, Repository.
   * Apply multi-arch hints. + lame-doc: Add Multi-Arch: foreign.
   * Update standards version to 4.5.1, no changes needed.
   * Avoid explicitly specifying -Wl,--as-needed linker flag.
 .
   [ Nicolas Boulenguez ]
   * Generate and install a pkg-config file for user convenience
     (Closes: #829326)
 .
   [ Benjamin Drung ]
   * Update standards version to 4.6.1, no changes needed.
   * Switch to debhelper 13
Checksums-Sha1:
 cd0befefe7cf2767be8836a0b328fecf4bd4f5b5 2143 lame_3.100-4.dsc
 359558a1ba18121c17455ded5e19e09b30c5f893 13232 lame_3.100-4.debian.tar.xz
 145f55c97a1ddee2baebfbbaa4a5f962cbc9c3b7 6921 lame_3.100-4_source.buildinfo
Checksums-Sha256:
 3026530b9b4b87be753926df1c192253a7ac848f47bdd0261cb319cc6f66422e 2143 lame_3.100-4.dsc
 95a8220cf070a3d54036bd2607f7cd351fde47be4fcb9791a55d362c153c7329 13232 lame_3.100-4.debian.tar.xz
 36cc2f7a6920077e1784347a57726e6cb0629dd843d3e6e3fdba5058b0346fdb 6921 lame_3.100-4_source.buildinfo
Files:
 0cd84f74069dcd701fd4db8c43e96f11 2143 sound optional lame_3.100-4.dsc
 88d7eabd3c61bb4db05139383c18dd34 13232 sound optional lame_3.100-4.debian.tar.xz
 653612a199fb1a7d639779f696a1ec0e 6921 sound optional lame_3.100-4_source.buildinfo

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEpi0s+9ULm1vzYNVLFZ61xO/Id0wFAmMprMAACgkQFZ61xO/I
d0zY4A//UxA4ubEx+ARIAOaTEQxFqev5x8KUM3xV1wdsqpGGoo2RwEXXxCj9+ScW
nxmnTY9t1qvoUEg6/0r+YzGFyscFnduhwHij9Y0YeEhkohZwtEPPPbzJk4H2u8T1
MrsqNVmPxYYyX0+U9f5aZX2kehY47WpafN/LSQcYWOEWnR3fpzy0aUzhxREmkY3d
ZNCyzo3YrjMI7l0jxrkuospc5ywzEnje5flBIMHBwxMOtdgQwGf61QxUna7sVAb6
aJZ4eKX18e1Q1fxcLFKWa8wWRkFJP94Hcuy9ulPyzJjYe2gCaOIFmEBwo62oWukc
G5bqZ2hGRLkYg3KbuswOd8lMSE/HyntMTIw9FGTqeOzHum8V9g3NQSwqEBsAOmp0
uw+/dCQ0CQHBeG4+nZuvYKbMaquKr84kUipD39C7kGcHlgMHl1EFHlOFrfc8JhHR
zdartZBWpctH+1tLk0jRXowfui3xn95ii+1ako8XE1AvTHp8dkNA2BZmVr16n+G2
qt7wXRx0htA4EJTD29vurCL38ZEk/BjlUZ5ZBaTU8qP0HvpeeceWPWKJtIcm7Kjn
7SVvFR4AyAm3jZ3GEvKGHIfv/mnAuOniGtSeTX34FrN0PXY4Ip8xA9zCqm/QB3Wg
meaH3exicWDlAmm+BXIuFdCMnVtqve90+zy1UzCL1It1K9vWx1s=
=KIsi
-----END PGP SIGNATURE-----

--- End Message ---

Reply to: