Opened 3 years ago

Last modified 3 years ago

#44813 new submission

py-gst-python needs updating to gstreamer1

Reported by: dmcorry@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc: rmstonecipher@…, elelay (Eric Le Lay), petrrr, springermac (Jonathan Springer)
Port: py-gst-python

Description

I tried to build Gstreamer's python bindings, but the latest port only uses Python2.7 at the latest and Gstreamer 0.10. I made a portfile for Python3.4 and Gstreamer 1.2.1, and it built correctly.

I tried to make a more generic portfile using PortGroup and the python.versions variable, but since get-python doesn't use setup.py, I couldn't figure out how to have it go straight to configure. I don't know much about creating portfiles, so I'll have to defer to someone else for that one.

Attachments (5)

Portfile (1.8 KB) - added by dmcorry@… 3 years ago.
py34-gst-python
Portfile.2 (1.9 KB) - added by springermac (Jonathan Springer) 3 years ago.
py-gst1-python
Portfile.3 (1.9 KB) - added by springermac (Jonathan Springer) 3 years ago.
py-gst010-python
Portfile.4 (1.9 KB) - added by springermac (Jonathan Springer) 3 years ago.
py26-gst-python
Portfile.5 (1.9 KB) - added by springermac (Jonathan Springer) 3 years ago.
py27-gst-python

Download all attachments as: .zip

Change History (18)

Changed 3 years ago by dmcorry@…

py34-gst-python

comment:1 Changed 3 years ago by mf2k (Frank Schima)

  • Cc rmstonecipher@… added
  • Port py34-gst-python added; py-gst-python removed
  • Type changed from update to submission
  • Version 2.3.1 deleted

It would be preferable to unify the py26-gst-python and py27-gst-python ports and add py34 if possible.

comment:2 Changed 3 years ago by elelay (Eric Le Lay)

Hi, I use pygobject3 gstreamer bindings for trunk/dports/python/quodlibet. It doesn't use gst-python but directly the gobject bindings.

What would it be for ?

Last edited 3 years ago by elelay (Eric Le Lay) (previous) (diff)

comment:3 Changed 3 years ago by elelay (Eric Le Lay)

  • Cc elelay@… added

Cc Me!

comment:4 Changed 3 years ago by petrrr

  • Cc petr@… added

Cc Me!

comment:5 Changed 3 years ago by springermac (Jonathan Springer)

  • Cc springermac@… added

Cc Me!

comment:6 Changed 3 years ago by springermac (Jonathan Springer)

What about splitting to py-gst010-python and py-gst1-python? See the attached portfiles py-gst010-python, py-gst1-python, py26-gst-python, and py27-gst-python.

Changed 3 years ago by springermac (Jonathan Springer)

py-gst1-python

Changed 3 years ago by springermac (Jonathan Springer)

py-gst010-python

Changed 3 years ago by springermac (Jonathan Springer)

py26-gst-python

Changed 3 years ago by springermac (Jonathan Springer)

py27-gst-python

comment:7 Changed 3 years ago by petrrr

Is there any good reason that we need both versions in ports?

The following ports seem to depend on py27-gst-python:

  • gourmet
  • gstlal
  • gstlal-burst
  • gstlal-calibration
  • gstlal-inspiral
  • gstlal-ugly
  • lscsoft-deps

I found no dependencies on py26-gst-python. would these ports work with gstreamer1 as well?

comment:8 Changed 3 years ago by springermac (Jonathan Springer)

Gstreamer 0.10 and Gstreamer 1.0 are API incompatible and as such py-gst010-python and py-gst1-python would be. Also the python bindings for Gstreamer 0.10 don't support python 3.

py26-gst-python and py27-gst-python would be replaced by py-gst010-python which would only have python 2.7 support and py-gst1-python would be a new port with python 2.7 and 3.4 support.

comment:9 Changed 3 years ago by petrrr

  • Port py-gst-python added; py34-gst-python removed
  • Type changed from submission to update

comment:10 Changed 3 years ago by mf2k (Frank Schima)

Why did you change this? There is no port named "py-gst-python" to be updated.

comment:11 Changed 3 years ago by petrrr

  • Type changed from update to submission

Your right! I was confused by the title and assumed this would go to a single unified portfile.

comment:12 Changed 3 years ago by mf2k (Frank Schima)

Well it definitely should go that route. It would be a new port in either event.

comment:13 Changed 3 years ago by springermac (Jonathan Springer)

Note: See TracTickets for help on using tickets.