- Trim header
- Use USE_PKGCONFIG
- Use OptionsNG for additional options (FFMPEG, FREI0R and NUMPY)
FFMEG is multimedia/gstreamer-ffmpeg, for additional codecs
FREI0R is graphics/frei0r-plugins-gavl, for support of video effects (PiTiVi uses scaleOtilt filter)
NUMPY is math/py-numpy, for autoalign feature
Now, python files are stored into PYTHON_SITELIBDIR.
Build logs on RedPorts: http://redports.org/buildarchive/20121005153505-33948/
Fix: Patch attached with submission follows:
Over to maintainer (via the GNATS Auto Assign Tool)
What is the reason behind the moving of the python files to the
python_sitelibdir location? I rather see that this gets done via upstream.
On Thu, 18 Oct 2012 12:30:11 +0200
Koop Mast <firstname.lastname@example.org> wrote:
> What is the reason behind the moving of the python files to the
> python_sitelibdir location? I rather see that this gets done via upstream.
I made an another patch, where Python files are in $LOCALBASE/lib/pitivi-$PORTVERSION. I open bug  (#686588) to change location.
Another bug (#686586) is also opened  for translation, which doesn't work under FreeBSD.
New location for Python files was rejected by upstream, so new patch which keeps old path.
Is this PR still relevant?
(In reply to Carlo Strub from comment #5)
It is not. The original package is far away from this version.
Closing this pr would be wise in my opinion.
Maintainer timeout, back to the pool.
This requires a new set of patches, the upstream is at 0.97 now.
(In reply to Vladimir Krstulja from comment #7)
- Pitivi 0.97.x depends of Gtk+ >= 3.20 and GStreamer 1.8.2
- Pitivi 0.98 depends of Gtk+ >= 3.20 and GStreamer 1.10.2
Currently we have (in ports tree) Gtk+ 3.18 and GStreamer 1.8.0. So the next update will come from the GNOME repository (I think).
Any advance here?
Created attachment 189742 [details]
Created attachment 189743 [details]
Compiles fine, but
Traceback (most recent call last):
File "/usr/local/bin/pitivi", line 155, in <module>
File "/usr/local/bin/pitivi", line 65, in _add_pitivi_path
print(_("Could not import 'gi'. "
NameError: global name '_' is not defined
this is any path "thing", but I did not find it.
(In reply to w.schwarzenfeld from comment #12)
Your previous patches are completely wrong. Pitivi is written in Python3.
So you need also GObject Introspection (Python3 bindings, pygobject3) and especially Gtk3 and GStreamer (with the 1.0 API ports).
Required dependencies are:
- Gettext, intltool, meson
- Numpy (python3 version)
- Matplotlib (python3 version)
- Cairo (python3 version)
- SQLite3 (python3 version)
- gstreamer1-editing-services (and others GStreamer plugins, but this port is mandatory)
- py-gstreamer1 (python3 version)
And last but not least, your encoding system must be defined with UTF-8 (Gtk3 and GObject Introspection bindings work only with this encoding).
(In reply to Olivier Duchateau from comment #13)
If UTF-8 is not your default encoding system, Pitivi crashes.
I gave it up for the moment. I run into problems with FLAVOR.
A patch to update multimedia/pitivi to 0.99 is under review here:
A commit references this bug:
Date: Tue Dec 11 20:31:03 UTC 2018
New revision: 487255
Update pitivi to 0.999
* Forcably load numpy as soon as possible so the required gcc library can
get pulled in. This fixes the problem of not being able to find numpy at all.
Submitted by: woodsb02@ (0.99 version + numpy patch),
Olivier Duchateau (earlier version),
Greg V (0.999 update)
Differential Revision: https://reviews.freebsd.org/D17042