From b9800ec5885ad88adfe8f7416582bbfcdb04e84f Mon Sep 17 00:00:00 2001 From: Martin Wilke Date: Sat, 5 Mar 2011 11:37:07 +0000 Subject: OpenShot Video Editor is a program designed to create videos on Linux. It can easily combine multiple video clips, audio clips, and images into a single project, and then export the video into many common video formats. OpenShot is a non-linear video editor, which means any frame of video can be accessed at any time, and thus the video clips can be layered, mixed, and arranged in very creative ways. All video clip edits (trimming, cutting, etc...) are non-destructive, meaning that the original video clips are never modified. WWW: http://www.openshot.org/ PR: ports/155265 Submitted by: Charlie Kester --- multimedia/openshot/files/patch-setup.py | 42 ++++++++++++++++++++++++++++++++ 1 file changed, 42 insertions(+) create mode 100644 multimedia/openshot/files/patch-setup.py (limited to 'multimedia/openshot/files/patch-setup.py') diff --git a/multimedia/openshot/files/patch-setup.py b/multimedia/openshot/files/patch-setup.py new file mode 100644 index 000000000000..637829c0e50f --- /dev/null +++ b/multimedia/openshot/files/patch-setup.py @@ -0,0 +1,42 @@ +--- ./setup.py.orig 2011-02-04 12:07:09.000000000 -0800 ++++ ./setup.py 2011-03-04 04:57:02.000000000 -0800 +@@ -40,10 +40,10 @@ + # XDG desktop mime types cache + ('share/mime/packages',['xdg/openshot.xml']), + # launcher (mime.types) +- ('lib/mime/packages',['xdg/openshot']), ++ #('lib/mime/packages',['xdg/openshot']), + # man-page ("man 1 openshot") +- ('share/man/man1',['docs/openshot.1']), +- ('share/man/man1',['docs/openshot-render.1']), ++ ('man/man1',['docs/openshot.1']), ++ ('man/man1',['docs/openshot-render.1']), + ] + + # Add all the translations +@@ -70,7 +70,7 @@ + + FAILED = 'Failed to update.\n' + +-if ROOT and dist != None: ++if ROOT and sys.argv[1] == "install" and dist != None: + #update the XDG Shared MIME-Info database cache + try: + sys.stdout.write('Updating the Shared MIME-Info database cache.\n') +@@ -79,11 +79,11 @@ + sys.stderr.write(FAILED) + + #update the mime.types database +- try: +- sys.stdout.write('Updating the mime.types database\n') +- subprocess.call("update-mime") +- except: +- sys.stderr.write(FAILED) ++ #try: ++ # sys.stdout.write('Updating the mime.types database\n') ++ # subprocess.call("update-mime") ++ #except: ++ # sys.stderr.write(FAILED) + + # update the XDG .desktop file database + try: -- cgit v1.2.3