gst-plugins-good pkg-config file issues

Bug #1343970 reported by chitra singh
26
This bug affects 4 people
Affects Status Importance Assigned to Milestone
gst-plugins-good1.0 (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

Came across a small bug while trying to build the gst-rtsp-server-1.2.3.
Using Ubuntu 14.04, and gst-plugins installed from the official ubuntu repositories.
While building, it tries to use the gstreamer-plugins-good-1.0.pc pkg-config file (which has pluginsdir missing).
1. If libgstreamer-plugins-good1.0-dev_1.2.4-1~ubuntu1_i386.deb is removed (which removes the .pc file too), the rtsp-server builds fine.
2. Another fix will be to add the pluginsdir in the .pc file (The debian package should be modified ). After reading up a bit more, I came across this in gst-check.m4 "dnl Will set GST_PLUGINS_GOOD_DIR for use in Makefile.am. Note that this will dnl only be set in an uninstalled setup, since -good ships no .pc file and in dnl an installed setup all plugins will be found in GST_PLUGINS_DIR anyway." Hence there shouldn't be a .pc file for gst-plugins-good anyway.

Revision history for this message
Tim Müller (t-i-m-zen) wrote :

Hello, GStreamer developer here.

Could someone please bump up the severity of this ticket ?

What ubuntu is doing here is really broken and simply not okay. It would be great if it could be sorted out quickly. Thanks.

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in gst-plugins-good1.0 (Ubuntu):
status: New → Confirmed
Revision history for this message
Srecko Bozic (bozic-srecko-info) wrote :

Any change to this problem?

I have a problem when compiling with error,

configure: error: no pluginsdir set in GStreamer Good Plugins pkg-config file.

OS: Ubuntu 14.04 x64

ii gstreamer1.0-plugins-base-doc
ii gstreamer1.0-plugins-good:amd64
ii gstreamer1.0-plugins-good-dbg:amd64 1.2.4-1~ubuntu1
ii gstreamer1.0-plugins-good-doc

Revision history for this message
Iain Lane (laney) wrote :

Jim pointed me to this. I'll take a look. We have the pcfile because we move some plugins downstream from -bad to -good, and this includes the gstphotography library. We made it so that the -bad pcfile has Requires on this new one, so that upstream software does not have to be modified. This is a change that was done in good faith really, and I'm sorry it's causing a problem here.

Revision history for this message
Iain Lane (laney) wrote :

I'm adding pluginsdir to it.

The only other solution I can think of is to rename the pcfile to something else.

Revision history for this message
Tim Müller (t-i-m-zen) wrote :

Thanks Iain! That should fix the most pressing issue.

I think it would still be good to rename that pc file to something else though, ideally also indicating in the name that it's ubuntu-specific, so app developers don't think it's upstream and then wonder why things won't compile elsewhere.

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package gst-plugins-good1.0 - 1.4.3-1ubuntu1

---------------
gst-plugins-good1.0 (1.4.3-1ubuntu1) utopic; urgency=low

  * Merge with Debian unstable; remaining changes:
    + Stop installing camerabin2 basecamerabin jpegformat - plugins which have
    moved to -good.
    + Provide gstreamer-plugins-bad-1.0.pc with Requires on
      gstreamer-plugins-good-1.0 - the package we've moved the referenced
      library to. This maintains compatibility with upstream software and
      other distributions.
    + debian/patches/adding-mirsink-and-android-media-over-hybris-support.patch:
      - Adding mirsink and Android media over hybris support, for hardware
        accelerated decode using libstagefright and the hybris compat layer.
    + debian/control.in:
      - Making the hybris plugin as part of a separated package, and i386 and
        armhf only (can only work with android compatible archs)
    + debian/build-deps.in:
      - Adding mirsink/android decoder specific build dependencies for i386 and
        armhf (libplatform-api1-dev and libmedia-dev)
    + Split videoparsers and faad out into their own packages.
    + Disable gl on armhf as it's not useful there.
  * Add 'pluginsdir' variable to our added pcfile for compatibility with some
    external software (LP: #1343970)

gst-plugins-good1.0 (1.4.3-1) unstable; urgency=medium

  * New upstream bugfix release.
 -- Iain Lane <email address hidden> Fri, 26 Sep 2014 12:42:11 +0100

Changed in gst-plugins-good1.0 (Ubuntu):
status: Confirmed → Fix Released
Revision history for this message
Marc Mance (mmance) wrote :

Is this the same bug? I get same error while configuring gnolin 1.4.0 from git.

configure: using GStreamer Base Plugins in /usr/local/lib/gstreamer-1.0
checking for GST_PLUGINS_GOOD... yes
configure: error: no pluginsdir set in GStreamer Good Plugins pkg-config file
  configure failed

Revision history for this message
nh2 (nh2) wrote :

I still have the same problem with gst-rtsp-server 1.2.3 on Ubuntu 14.04.

Revision history for this message
nh2 (nh2) wrote :

And also still, apt-get remove libgstreamer-plugins-good1.0-dev is a workaround.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.