<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.webkit.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4.1"
          urlbase="https://bugs.webkit.org/"
          
          maintainer="admin@webkit.org"
>

    <bug>
          <bug_id>145887</bug_id>
          
          <creation_ts>2015-06-11 11:15:58 -0700</creation_ts>
          <short_desc>[CMake] [GStreamer] [GTK] Detection of GStreamer libraries not working as expected</short_desc>
          <delta_ts>2015-06-11 12:37:08 -0700</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>WebKitGTK</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>DUPLICATE</resolution>
          <dup_id>145682</dup_id>
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Carlos Alberto Lopez Perez">clopez</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>cgarcia</cc>
    
    <cc>mcatanzaro</cc>
    
    <cc>pnormand</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1101332</commentid>
    <comment_count>0</comment_count>
    <who name="Carlos Alberto Lopez Perez">clopez</who>
    <bug_when>2015-06-11 11:15:58 -0700</bug_when>
    <thetext>On a new Debian system, without using the internal jhbuild, after installing the build deps via Tools/gtk/install-dependencies, I get:

$ Tools/Scripts/build-webkit --gtk --release --cmakeargs=&apos;-DENABLE_ACCELERATED_2D_CANVAS=OFF -DENABLE_MEDIA_STREAM=OFF&apos;
[....]
-- Found GnuTLS: /usr/lib/i386-linux-gnu/libgnutls.so (found suitable version &quot;3.3.8&quot;, minimum required is &quot;3.0.0&quot;) 
-- checking for module &apos;gstreamer-1.0 &gt;= 1.0.3&apos;
--   package &apos;gstreamer-1.0 &gt;= 1.0.3&apos; not found
-- checking for module &apos;gstreamer-base-1.0 &gt;= 1.0.3&apos;
--   package &apos;gstreamer-base-1.0 &gt;= 1.0.3&apos; not found
-- checking for module &apos;gstreamer-app-1.0 &gt;= 1.0.3&apos;
--   package &apos;gstreamer-app-1.0 &gt;= 1.0.3&apos; not found
-- checking for module &apos;gstreamer-audio-1.0 &gt;= 1.0.3&apos;
--   package &apos;gstreamer-audio-1.0 &gt;= 1.0.3&apos; not found
-- checking for module &apos;gstreamer-fft-1.0 &gt;= 1.0.3&apos;
--   package &apos;gstreamer-fft-1.0 &gt;= 1.0.3&apos; not found
-- checking for module &apos;gstreamer-gl-1.0&gt;=1.5.0&apos;
--   package &apos;gstreamer-gl-1.0&gt;=1.5.0&apos; not found
-- checking for module &apos;gstreamer-mpegts-1.0&gt;=1.4.0&apos;
--   package &apos;gstreamer-mpegts-1.0&gt;=1.4.0&apos; not found
-- checking for module &apos;gstreamer-pbutils-1.0 &gt;= 1.0.3&apos;
--   package &apos;gstreamer-pbutils-1.0 &gt;= 1.0.3&apos; not found
-- checking for module &apos;gstreamer-tag-1.0 &gt;= 1.0.3&apos;
--   package &apos;gstreamer-tag-1.0 &gt;= 1.0.3&apos; not found
-- checking for module &apos;gstreamer-video-1.0 &gt;= 1.0.3&apos;
--   package &apos;gstreamer-video-1.0 &gt;= 1.0.3&apos; not found
-- Found GStreamer: GSTREAMER_INCLUDE_DIRS;GSTREAMER_LIBRARIES;GSTREAMER_VERSION;GSTREAMER_BASE_INCLUDE_DIRS;GSTREAMER_BASE_LIBRARIES;GSTREAMER_APP_INCLUDE_DIRS;GSTREAMER_APP_LIBRARIES;GSTREAMER_PBUTILS_INCLUDE_DIRS;GSTREAMER_PBUTILS_LIBRARIES;GSTREAMER_VIDEO_INCLUDE_DIRS;GSTREAMER_VIDEO_LIBRARIES;GSTREAMER_MPEGTS_INCLUDE_DIRS;GSTREAMER_MPEGTS_LIBRARIES;GSTREAMER_TAG_INCLUDE_DIRS;GSTREAMER_TAG_LIBRARIES;GSTREAMER_GL_INCLUDE_DIRS;GSTREAMER_GL_LIBRARIES;GSTREAMER_AUDIO_INCLUDE_DIRS;GSTREAMER_AUDIO_LIBRARIES;GSTREAMER_FFT_INCLUDE_DIRS;GSTREAMER_FFT_LIBRARIES (Required is at least version &quot;1.0.3&quot;) 
[....]
-- Enabled features:
--  ENABLE_ACCELERATED_2D_CANVAS ............ OFF
--  ENABLE_CREDENTIAL_STORAGE                 ON
--  ENABLE_DRAG_SUPPORT ..................... ON
--  ENABLE_GEOLOCATION                        ON
--  ENABLE_GLES2 ............................ OFF
--  ENABLE_GTKDOC                             OFF
--  ENABLE_ICONDATABASE ..................... ON
--  ENABLE_INTROSPECTION                      ON
--  ENABLE_JIT .............................. ON
--  ENABLE_MEMORY_SAMPLER                     ON
--  ENABLE_MINIBROWSER ...................... ON
--  ENABLE_OPENGL                             ON
--  ENABLE_PLUGIN_PROCESS_GTK2 .............. ON
--  ENABLE_SPELLCHECK                         ON
--  ENABLE_TOUCH_EVENTS ..................... ON
--  ENABLE_VIDEO                              ON
--  ENABLE_WAYLAND_TARGET ................... ON
--  ENABLE_WEB_AUDIO                          ON
--  ENABLE_X11_TARGET ....................... ON
--  USE_LIBHYPHEN                             ON
--  USE_LIBNOTIFY ........................... ON
--  USE_SYSTEM_MALLOC                         OFF
CMake Error: The following variables are used in this project, but they are set to NOTFOUND.
Please set them or make sure they are set and tested correctly in the CMake files:
GSTREAMER_APP_LIBRARIES (ADVANCED)
    linked by target &quot;WebCore&quot; in directory /home/igalia/clopez/webkit/Source/WebCore
    linked by target &quot;WebCorePlatformGTK&quot; in directory /home/igalia/clopez/webkit/Source/WebCore
    linked by target &quot;WebCorePlatformGTK2&quot; in directory /home/igalia/clopez/webkit/Source/WebCore
GSTREAMER_AUDIO_LIBRARIES (ADVANCED)
    linked by target &quot;WebCore&quot; in directory /home/igalia/clopez/webkit/Source/WebCore
    linked by target &quot;WebCorePlatformGTK&quot; in directory /home/igalia/clopez/webkit/Source/WebCore
    linked by target &quot;WebCorePlatformGTK2&quot; in directory /home/igalia/clopez/webkit/Source/WebCore
GSTREAMER_BASE_LIBRARIES (ADVANCED)
    linked by target &quot;WebCore&quot; in directory /home/igalia/clopez/webkit/Source/WebCore
    linked by target &quot;WebCorePlatformGTK&quot; in directory /home/igalia/clopez/webkit/Source/WebCore
    linked by target &quot;WebCorePlatformGTK2&quot; in directory /home/igalia/clopez/webkit/Source/WebCore
GSTREAMER_FFT_LIBRARIES (ADVANCED)
    linked by target &quot;WebCore&quot; in directory /home/igalia/clopez/webkit/Source/WebCore
    linked by target &quot;WebCorePlatformGTK&quot; in directory /home/igalia/clopez/webkit/Source/WebCore
    linked by target &quot;WebCorePlatformGTK2&quot; in directory /home/igalia/clopez/webkit/Source/WebCore
GSTREAMER_LIBRARIES (ADVANCED)
    linked by target &quot;WebCore&quot; in directory /home/igalia/clopez/webkit/Source/WebCore
    linked by target &quot;WebCorePlatformGTK&quot; in directory /home/igalia/clopez/webkit/Source/WebCore
    linked by target &quot;WebCorePlatformGTK2&quot; in directory /home/igalia/clopez/webkit/Source/WebCore
GSTREAMER_PBUTILS_LIBRARIES (ADVANCED)
    linked by target &quot;WebCore&quot; in directory /home/igalia/clopez/webkit/Source/WebCore
    linked by target &quot;WebCorePlatformGTK&quot; in directory /home/igalia/clopez/webkit/Source/WebCore
    linked by target &quot;WebCorePlatformGTK2&quot; in directory /home/igalia/clopez/webkit/Source/WebCore
GSTREAMER_TAG_LIBRARIES (ADVANCED)
    linked by target &quot;WebCore&quot; in directory /home/igalia/clopez/webkit/Source/WebCore
    linked by target &quot;WebCorePlatformGTK&quot; in directory /home/igalia/clopez/webkit/Source/WebCore
    linked by target &quot;WebCorePlatformGTK2&quot; in directory /home/igalia/clopez/webkit/Source/WebCore
GSTREAMER_VIDEO_LIBRARIES (ADVANCED)
    linked by target &quot;WebCore&quot; in directory /home/igalia/clopez/webkit/Source/WebCore
    linked by target &quot;WebCorePlatformGTK&quot; in directory /home/igalia/clopez/webkit/Source/WebCore
    linked by target &quot;WebCorePlatformGTK2&quot; in directory /home/igalia/clopez/webkit/Source/WebCore

-- Configuring incomplete, errors occurred!
See also &quot;/home/igalia/clopez/webkit/WebKitBuild/Release/CMakeFiles/CMakeOutput.log&quot;.
See also &quot;/home/igalia/clopez/webkit/WebKitBuild/Release/CMakeFiles/CMakeError.log&quot;.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1101334</commentid>
    <comment_count>1</comment_count>
    <who name="Carlos Alberto Lopez Perez">clopez</who>
    <bug_when>2015-06-11 11:17:55 -0700</bug_when>
    <thetext>The problem gets fixed after running:

$ sudo apt-get install libgstreamer1.0-dev libgstreamer-plugins-base1.0-dev

So, I&apos;m not sure if we need to add that libraries to the script Tools/gtk/install-dependencies or improve the CMake error checking for this libraries.

Opinions?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1101357</commentid>
    <comment_count>2</comment_count>
    <who name="Michael Catanzaro">mcatanzaro</who>
    <bug_when>2015-06-11 12:37:08 -0700</bug_when>
    <thetext>(In reply to comment #1)
&gt; So, I&apos;m not sure if we need to add that libraries to the script
&gt; Tools/gtk/install-dependencies or improve the CMake error checking for this
&gt; libraries.

Hm, I don&apos;t think install-dependencies needs to install anything that&apos;s provided by jhbuild.

Fixing the error message is bug #145682

*** This bug has been marked as a duplicate of bug 145682 ***</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>