By default, Bugzilla does not search the list of RESOLVED bugs.
You can force it to do so by putting the upper-case word ALL in front of your search query, e.g.: ALL tdelibs
We recommend searching for bugs this way, as you may discover that your bug has already been resolved and fixed in a later release.

Bug 3130

Summary: kmplayer: missing library paths causing build failure
Product: TDE Reporter: aneejit1
Component: non-core programsAssignee: Timothy Pearson <kb9vqf>
Status: RESOLVED FIXED    
Severity: normal CC: bugwatch, michele.calgaro, slavek.banko
Priority: P5    
Version: R14.0.x [Trinity]   
Hardware: Other   
OS: Linux   
Compiler Version: TDE Version String:
Application Version: Application Name:
Bug Depends on:    
Bug Blocks: 3085    
Attachments: Patch for kmplayer to include missing library directories

Description aneejit1 2020-06-09 00:06:06 CDT
Created attachment 2973 [details]
Patch for kmplayer to include missing library directories

The "link_directories" statement in src/CMakeLists.txt is missing the library path variables for cairo, expat, xine, nspr, dbus, dbus-tqt, gstreamer, X11, XTest, GTK, glib and dbus-glib. This causes linking failures.

This issue was found to occur in the 14.0.8 release. The patch has been applied to a cloned copy of the repository version and has built successfully.
Comment 1 Slávek Banko 2020-06-10 11:37:44 CDT
After a successful pull-request in 'libr', you can proceed in the same way with the patch in this bug report.
Comment 2 Michele Calgaro 2020-06-26 03:38:16 CDT
Solved by PR https://mirror.git.trinitydesktop.org/gitea/TDE/kmplayer/pulls/5.
Thanks for the good work.
Comment 3 Michele Calgaro 2020-06-26 03:38:39 CDT
Comment on attachment 2973 [details]
Patch for kmplayer to include missing library directories

>diff -urN kmplayer-trinity-14.0.8-orig/src/CMakeLists.txt kmplayer-trinity-14.0.8/src/CMakeLists.txt
>--- kmplayer-trinity-14.0.8-orig/src/CMakeLists.txt	2020-04-11 00:07:21.000000000 +0100
>+++ kmplayer-trinity-14.0.8/src/CMakeLists.txt	2020-06-07 03:35:23.779494529 +0100
>@@ -25,6 +25,21 @@
> link_directories(
>   ${TQT_LIBRARY_DIRS}
>   ${TDE_LIB_DIR}
>+  ${CAIRO_LIBRARY_DIRS}
>+  ${EXPAT_LIBRARY_DIRS}
>+  ${XINE_LIBRARY_DIRS}
>+  ${NSPR_LIBRARY_DIRS}
>+  ${DBUS_LIBRARY_DIRS}
>+  ${DBUS-TQT_LIBRARY_DIRS}
>+  ${GSTREAMER_LIBRARY_DIRS}
>+  ${GSTREAMER_VIDEO_LIBRARY_DIRS}
>+  ${GSTREAMER_PLUGIN_LIBRARY_DIRS}
>+  ${X11_LIBRARY_DIR}
>+  ${X11_XTest_LIBRARY_PATH}
>+  ${GDK2_LIBRARY_DIRS}
>+  ${GTK2_LIBRARY_DIRS}
>+  ${GLIB2_LIBRARY_DIRS}
>+  ${DBUS-GLIB_LIBRARY_DIRS}
> )
> 
>