Opened 10 years ago

Closed 10 years ago

Last modified 10 years ago

#40710 closed update (fixed)

gstreamer1, gstreamer1-gst-libav, gstreamer1-gst-plugins-bad, gstreamer1-gst-plugins-base, gstreamer1-gst-plugins-good, gstreamer1-gst-plugins-ugly: update to 1.2

Reported by: d-r@… Owned by: rmstonecipher@…
Priority: Normal Milestone:
Component: ports Version:
Keywords: haspatch Cc: raimue (Rainer Müller), repollox@…, razzfazz (Daniel Becker)
Port: gstreamer1, gstreamer1-gst-libav, gstreamer1-gst-plugins-bad, gstreamer1-gst-plugins-base, gstreamer1-gst-plugins-good, gstreamer1-gst-plugins-ugly

Description

End of September the gstreamer teame released 1.2 stable, cmp. http://gstreamer.freedesktop.org/news/

Let's update MacPorts gstreamer and plugins to that version.

Attachments (4)

gstreamer_1_2_update.patch (11.8 KB) - added by d-r@… 10 years ago.
Updating to 1.2
gstreamer_1_2_update_autogen_removed.patch (11.8 KB) - added by d-r@… 10 years ago.
Update to 1.2 - plugins-bad compiles via configure
gstreamer_1_2_1_update_improved.patch (9.4 KB) - added by d-r@… 10 years ago.
Updating to 1.2.1
gstreamer_1_2_1_update_improved_2.patch (8.8 KB) - added by d-r@… 10 years ago.
Updating to 1.2.1 - explicit gmodule link parameter not required anymore. This was fixed in the 1.2.1 release.

Download all attachments as: .zip

Change History (19)

comment:1 Changed 10 years ago by d-r@…

I'll try to provide the required patches.

comment:2 Changed 10 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: rmstoneciper removed
Milestone: MacPorts Future
Owner: changed from macports-tickets@… to rmstonecipher@…
Port: gstreamer1 gstreamer1-gst-libav gstreamer1-gst-plugins-bad gstreamer1-gst-plugins-base gstreamer1-gst-plugins-good gstreamer1-gst-plugins-ugly added; gstreamer removed
Summary: Upgrade gstreamer and related plugin packages togstreamer1, gstreamer1-gst-libav, gstreamer1-gst-plugins-bad, gstreamer1-gst-plugins-base, gstreamer1-gst-plugins-good, gstreamer1-gst-plugins-ugly: update to 1.2
Type: defectupdate
Version: 2.2.0

The Cc field requires complete email addresses, and the Milestone field is used only when the Component field is base.

Changed 10 years ago by d-r@…

Attachment: gstreamer_1_2_update.patch added

Updating to 1.2

comment:3 Changed 10 years ago by d-r@…

Would be great, if this could be merged soon. Thanks.

comment:4 Changed 10 years ago by raimue (Rainer Müller)

Regarding gstreamer1-gst-plugins-bad:

Does this autogen.sh introduce any dependencies like autoconf or automake? Apparently, this also no longer runs ./configure itself from what I can see. Is this intended? Why is autogen.sh now a required step but wasn't before?

Probably you want to run autogen.sh first and then configure:

use_autoconf yes
autoconf.cmd ./autogen.sh
depends_lib-append port:autoconf

Add corresponding ports to the dependencies if automake/libtool/gettext are required as well.

comment:5 Changed 10 years ago by ryandesign (Ryan Carsten Schmidt)

Keywords: haspatch added

Changed 10 years ago by d-r@…

Update to 1.2 - plugins-bad compiles via configure

comment:6 in reply to:  4 Changed 10 years ago by d-r@…

Replying to raimue@…:

Regarding gstreamer1-gst-plugins-bad:

Does this autogen.sh introduce any dependencies like autoconf or automake? Apparently, this also no longer runs ./configure itself from what I can see. Is this intended? Why is autogen.sh now a required step but wasn't before?

Well spotted, that's a leftover from when I was working with development versions of the bad plugins set - for the release version there's a configure script - I removed the configure.cmd line.

Last edited 10 years ago by d-r@… (previous) (diff)

comment:7 Changed 10 years ago by raimue (Rainer Müller)

I tried to upgrade my gstreamer1* ports today, but ran into a build error on gstreamer1. The relevant part of the log seem to be the following lines:

  CC       libgstreamer_1.0_la-gstelementfactory.lo
In file included from gstdatetime.c:24:
In file included from ./glib-compat-private.h:26:
In file included from /opt/local/include/glib-2.0/glib.h:64:
/opt/local/include/glib-2.0/glib/gmessages.h:199:11: error: use of undeclared identifier 'g_log_domain_gstreamer'
  g_logv (G_LOG_DOMAIN, G_LOG_LEVEL_ERROR, format, args);
          ^
<command line>:4:22: note: expanded from here
#define G_LOG_DOMAIN g_log_domain_gstreamer
                     ^

However, this problem seems to be tracked in #40783 already.

Also I am wondering whether this upgrade changes the compatibility version of the installed dynamic libraries and as such would require a rev-bump of all dependents.

comment:8 Changed 10 years ago by raimue (Rainer Müller)

Cc: raimue@… added

Cc Me!

comment:9 Changed 10 years ago by repollox@…

Cc: repollox@… added

Cc Me!

comment:10 Changed 10 years ago by razzfazz (Daniel Becker)

Cc: razzfazz@… added

Cc Me!

comment:11 in reply to:  7 Changed 10 years ago by d-r@…

Replying to raimue@…:

Also I am wondering whether this upgrade changes the compatibility version of the installed dynamic libraries and as such would require a rev-bump of all dependents.

According to: http://lists.freedesktop.org/archives/gstreamer-devel/2013-September/043124.html

"The stable 1.2.x release series is API and ABI compatible with 1.0.x and any other 1.x release series in the future. "

So, I'd say no rev bump required.

I will update the patch to gstreamer 1.2.1 - which was released a few weeks ago.

Last edited 10 years ago by d-r@… (previous) (diff)

comment:12 Changed 10 years ago by d-r@…

Small script to retrieve and compute the hashes for the next time when we're updating the gst packages: https://gist.github.com/drott/7598539

Changed 10 years ago by d-r@…

Updating to 1.2.1

comment:13 Changed 10 years ago by d-r@…

gstreamer_1_2_1_update_improved.patch​: Patch improved:

  • Tab/Spaces in gstreamer1
  • No longer disabling yadif and mpegtsmux
  • Mirrors for ugly and bad plugins fixed

Changed 10 years ago by d-r@…

Updating to 1.2.1 - explicit gmodule link parameter not required anymore. This was fixed in the 1.2.1 release.

comment:14 Changed 10 years ago by dbevans (David B. Evans)

Resolution: fixed
Status: newclosed

gstreamer1* updated to version 1.2.1 in r113886 including upstream patches recommended in #40732 per email request from maintainer.

comment:15 Changed 10 years ago by d-r@…

Thanks for merging!

Note: See TracTickets for help on using tickets.