pkgsrc-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
pkg/48369: sysutils/k3b cannot rip audio tracks
>Number: 48369
>Category: pkg
>Synopsis: sysutils/k3b cannot rip audio tracks
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: pkg-manager
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Thu Nov 07 06:30:00 +0000 2013
>Originator: Nat Sloss
>Release: pkgsrc-2013Q2
>Organization:
>Environment:
NetBSD beast 6.1.1_PATCH NetBSD 6.1.1_PATCH (PCIPAE) #13: Sat Nov 2 18:07:05
EST 2013 build@test:/usr/src/sys/arch/i386/compile/obj/PCIPAE i386
>Description:
If you attempt to rip audio tracks from an audio cd it does not work and a
message appears saying that libcdparanoia cannot be found.
The problem arises because it is hard coded to load libcdda_*.so.0 where as the
versions available in pkgsrc 2003Q2 are libcdda*.so.1
>How-To-Repeat:
Refer to above
>Fix:
Apply this patch:
--- /dev/null 2013-11-07 16:48:24.000000000 +1100
+++ pkgsrc/sysutils/k3b/patches/patch-libk3b_tools_k3bcdparanoialib.cpp
2013-11-07 16:35:51.000000000 +1100
@@ -0,0 +1,41 @@
+$NetBSD$
+
+--- libk3b/tools/k3bcdparanoialib.cpp.orig 2011-01-15 20:47:29.000000000
+0000
++++ libk3b/tools/k3bcdparanoialib.cpp
+@@ -69,7 +69,7 @@ typedef short int int16_t;
+ #define LIBCDIO_PARANOIA "cdio_paranoia.dll"
+ #else
+ #define LIBCDIO_CDDA "libcdio_cdda.so"
+-#define LIBCDIO_PARANOIA "libcdio_paranoia.so.0"
++#define LIBCDIO_PARANOIA "libcdio_paranoia.so"
+ #endif
+
+ static bool s_haveLibCdio = false;
+@@ -532,11 +532,11 @@ K3b::CdparanoiaLib* K3b::CdparanoiaLib::
+ if( s_libInterface == 0 ) {
+ s_haveLibCdio = false;
+ #ifndef Q_OS_WIN32
+- s_libInterface = dlopen( "libcdda_interface.so.0",
RTLD_NOW|RTLD_GLOBAL );
++ s_libInterface = dlopen( "libcdda_interface.so", RTLD_NOW|RTLD_GLOBAL
);
+
+ // try the redhat & Co. location
+ if( s_libInterface == 0 )
+- s_libInterface = dlopen( "cdda/libcdda_interface.so.0",
RTLD_NOW|RTLD_GLOBAL );
++ s_libInterface = dlopen( "cdda/libcdda_interface.so",
RTLD_NOW|RTLD_GLOBAL );
+ #endif
+ // try the new cdio lib
+ if( s_libInterface == 0 ) {
+@@ -550,11 +550,11 @@ K3b::CdparanoiaLib* K3b::CdparanoiaLib::
+ }
+
+ #ifndef Q_OS_WIN32
+- s_libParanoia = dlopen( "libcdda_paranoia.so.0", RTLD_NOW );
++ s_libParanoia = dlopen( "libcdda_paranoia.so", RTLD_NOW );
+
+ // try the redhat & Co. location
+ if( s_libParanoia == 0 )
+- s_libParanoia = dlopen( "cdda/libcdda_paranoia.so.0", RTLD_NOW );
++ s_libParanoia = dlopen( "cdda/libcdda_paranoia.so", RTLD_NOW );
+ #endif
+ // try the new cdio lib
+ if( s_haveLibCdio && s_libParanoia == 0 )
Regards,
Nat
Home |
Main Index |
Thread Index |
Old Index