Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 285779 - ebuild request for tragtor (GUI for ffmpeg)
Summary: ebuild request for tragtor (GUI for ffmpeg)
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High enhancement with 2 votes (vote)
Assignee: Default Assignee for New Packages
Depends on:
Reported: 2009-09-20 21:36 UTC by Christian Pontesegger
Modified: 2013-05-29 20:14 UTC (History)
6 users (show)

See Also:
Package list:
Runtime testing required: ---

tragtor-0.8.6.ebuild (tragtor-0.8.6.ebuild,903 bytes, text/plain)
2009-10-09 04:59 UTC, Denilson Sá Maia
ebuild tragator-0.8.34 (tragtor-0.8.34.ebuild,911 bytes, text/plain)
2011-05-12 14:56 UTC, Andreas Mielke
Better Ebuild for tragtor-0.8.34 (tragtor-0.8.34.ebuild,946 bytes, text/plain)
2011-05-17 11:05 UTC, Thomas
tragtor-0.8.67 ebuild (tragtor-0.8.67.ebuild,1.04 KB, text/plain)
2013-05-29 20:13 UTC, Jason Lamb

Note You need to log in before you can comment on or make changes to this bug.
Description Christian Pontesegger 2009-09-20 21:36:15 UTC
I'd like to request an ebuild for a nice graphical frontent to FFmpeg: traGtor.
Find it at

There is an archive which contains some python code which simply needs to be unpacked.

Reproducible: Always
Comment 1 Denilson Sá Maia 2009-10-09 04:59:18 UTC
Created attachment 206494 [details]

I've written a simple ebuild. Some important points:

* No license is specified, because the author does not mention any license (neither in the site, nor in the tarball).
* The tarball itself is already an image of what files should be installed in what places. Actually, you can run tragtor from any directory and it will work. The application is self-contained in just one directory.
* There are 3 *.py files. One is the main program, and the other two are language files. I'm not sure if they should be pre-compiled as .pyc (I guess they shouldn't).

This ebuild works for me on amd64, and should also work on any other arch.
Tested with Python-2.6.
The .deb file requires at least Python-2.5.
Not tested with Python-2.4, maybe it works, maybe it doesn't.
Comment 2 Christian Pontesegger 2009-10-11 20:57:36 UTC
(In reply to comment #1)
> Created an attachment (id=206494) [details]
> tragtor-0.8.6.ebuild

Thanks a lot, works perfectly on x86 with Python 2.6.2
Comment 3 Andreas Mielke 2011-05-12 14:56:50 UTC
Created attachment 272945 [details]
ebuild tragator-0.8.34

Version changed to 0.8.34. Download source changed.
Comment 4 Thomas 2011-05-17 11:05:32 UTC
Created attachment 273645 [details]
Better Ebuild for tragtor-0.8.34

I modified the ebuild a bit, here is a diff:

@@ -1,29 +1,28 @@
-# Copyright 1999-2009 Gentoo Foundation
+# Copyright 1999-2011 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Header: $
 inherit eutils python
 DESCRIPTION="traGtor is a graphical user interface (GUI) for ffmpeg"
 KEYWORDS="~amd64 ~x86"
-	media-video/ffmpeg
+	virtual/ffmpeg
-src_unpack() {
-	mkdir ${P}
-	cd ${P}
-	unpack ${A}
+src_prepare() {
 	# Set English as the default language
+	# Maybe we could better handle this with LINGUAS?
 	sed -i 's/\(_DEFAULT_SETTINGS = {"language":"\)de\("}\)/\1en\2/' usr/share/tragtor/
 	# Deleting shipped *.pyc files
Comment 5 Jason Lamb 2013-05-29 20:13:56 UTC
Created attachment 349596 [details]
tragtor-0.8.67 ebuild

Since trying to run tragtor on a system with python3 eselected as the main interpreter, fails with a

"ImportError: No module named gobject" error

I added a sed edit line from the Archlinux PKGBUILD, to this ebuild to edit the /usr/bin/tragtor shell script from the tarball, from doing an exec python, to doing an exec python2.

Now emerging tragtor using this ebuild allows the program to run correctly, on my system with python3 selected as the system interpreter.

I also renamed it to the current version of 0.8.67