Summary: | x11-toolkits/gtk20: Makefile uses Python 2.7_2,2, causes openshot to fail with erroneous missing libmp3lame claim | ||
---|---|---|---|
Product: | Ports & Packages | Reporter: | freebsd |
Component: | Individual Port(s) | Assignee: | freebsd-gnome (Nobody) <gnome> |
Status: | Closed Overcome By Events | ||
Severity: | Affects Many People | CC: | gnome, mva, python, w.schwarzenfeld |
Priority: | Normal | Keywords: | needs-patch, needs-qa |
Version: | Latest | Flags: | koobs:
maintainer-feedback?
(gnome) |
Hardware: | Any | ||
OS: | Any |
Description
freebsd
2014-09-07 17:02:39 UTC
lang/python just provides symlinks to relevant binaries depending on the what the default version of Python is for the system in question (DEFAULT_VERSIONS, PYTHON_DEFAULT_VERSION) RUN_DEPENDS= python:${PORTSDIR}/lang/python is likely better converted to USES=python[:<version>] The value of version of course should consider gtk20's Python version compatibility, and how the python interpreter is invoked via its scripts. See PEP-394 for more information [1] [1] http://legacy.python.org/dev/peps/pep-0394/ (In reply to Kubilay Kocak from comment #1) > lang/python just provides symlinks to relevant binaries depending on the > what the default version of Python is for the system in question > (DEFAULT_VERSIONS, PYTHON_DEFAULT_VERSION) > > RUN_DEPENDS= python:${PORTSDIR}/lang/python > > is likely better converted to USES=python[:<version>] gtk20 has just a single script (gtk-builder-convert), which is compatible to both, Python 2.x and Python 3.x. This was the reason, why the python meta-port has been used as RUN_DEPENDS and not one of the specific python versions. I am missing the root cause of the problem, though. It looks like something else breaks, if the python meta port is around. Can we get a more detailed description to recreate the problem? The following sequence should cause the error: start openshot (port multimedio/openshot) File/Import Files (or hit the "+" button on the toolbar Click any file (image or video) to select it. Click "+" at bottom of dialog to add it and dismiss the dialog Drag the added file down and drop it on one of the lower timelines (Track1 or Track2). File/Export Video Under "Profile", select "Web" A message will appear saying libmp3lame is missing I just tested it and can't recreate the behaviour. With your description, I selected Web. Target was automatically set to Flickr-HD Video Profile was set automatically to HD 720p 25fps Quality was set automatically to med Clicking "Export Video" does not raise any libmp3lame isse. On Advanced, I checked the audio settings. Audio was set to "ac3". I changed the audio settings to "Audio Codec: libmp3lame" and kept the rest as is: "Sample Rate: 44100", "# of Channels: 2", "Bit rate: 128 kb/s". Still no error, the export works flawlessly. If you run openshot from the console, what is printed on the console, when you try to export your image or video? What are your exact settings? Ugh. I was dead certain this was trivial to reproduce, as I did it consistently. I can no longer reproduce it, and am not certain what's happened in between. I've restored my gtk Makefile to its original and will try to reproduce. The only things I've got in /usr/local/lib and /usr/local/bin built since the bug was filed is gtk2.0 stuff; that was to restore the original behavior. I'll keep trying but probably best to shelve things until I can repeat it. ok, I can now reproduce it: start openshot File/Import Files (or hit the "+" button on the toolbar) Choose a .png file and add it to the project Drag the added file onto track 2 at the beginning. File/Export Video Under "Profile", select "Web" Change Target: to "YouTube-HD" A message will appear saying libmp3lame is missing Nothing appears in the controlling xterm window between selecting "Web" and when the target is changed and the error message appears. The last few lines are simply logging the type of project based on the changes being made: ... state saved on_tlbImportFiles_clicked called with self.GtkToolButton project state modified state saved project state modified state saved on_mnuMakeMovie1_activate called with self.GtkImageMenuItem on_tlbMakeMovie_clicked called with self.GtkImageMenuItem on_cboExportType_changed on_cboUploadServices_changed on_cboProjectType_changed on_cboExportTo_changed on_cboProjectType_changed Is this still relevant? I can't reproduce it anymore, so probably no longer relevant. |