View Full Version : Openshot
sk8harddiefast
November 4th, 2010, 22:12
Openshot video editor for FreeBSD?
graudeejs
November 5th, 2010, 00:41
Porters Handbook (http://www.freebsd.org/doc/en_US.ISO8859-1/books/porters-handbook/)?
sk8harddiefast
November 5th, 2010, 03:46
That is how to create a port? Sounds interesting. I want to give a try :)
sk8harddiefast
November 6th, 2010, 11:35
If I want to create openshot port, how to find needed dependencies?
graudeejs
November 6th, 2010, 12:32
If I want to create openshot port, how to find needed dependencies?
That is one of the hardest parts of porting perhaps....
many software developers doesn't mention on which software product depends....
read READMEs etc....
as final resort, you can email project developers and ask them to tell what soft needs to be installed in order to compile their software
Zare
November 6th, 2010, 14:06
As a start, you can do ldd on the compiled binary on a Linux system (or wherever that thing is ported to). That'll give you insight into shared libraries that program depends on.
sk8harddiefast
November 7th, 2010, 12:31
They answer me here: https://answers.launchpad.net/openshot/+question/132842 :D
The needed dependencies are this:
x264
ffmpeg
python
python-xdg
python-gtk2
python-glade2
python-pygoocanvas
libgoocanvas3
libgoocanvas-common
python-mlt2
melt
MLT (libmlt, libmlt-data et libmlt++3)
frei0r-plugins
sox
librsvg2-common
libsdl1.2debian-pulseaudio
Now I will give a try :)
sk8harddiefast
November 7th, 2010, 13:22
Where can I found SHA256 to add this line to distinfo?
graudeejs
November 7th, 2010, 13:37
Read the manual :)
http://www.freebsd.org/doc/en_US.ISO8859-1/books/porters-handbook/makefile-distfiles.html#AEN1546
NOTE: if you patch sources:
copy original file:
cp somefile somefile.orig
and in ports dir
$ rm -f files
$ make makepatch
This will create proper patches for all modified files
I remove files dir.... maybe you don't need that, but I think there was problem if there were files in it and you run make makepatch
Also, after make clean run make patch, otherwise if you run make extract, then make new modifications and run rm -f files && make makepatch, you may lose your previous patches...
Well this comes with experience...
ALso I recommend you to use cvs, git, hg, svn, bzr or whatever... it can save you some problems, if you delete some files of your ports accidentally :D
sk8harddiefast
November 8th, 2010, 01:49
Where find SHA256? I cannot find nowhere :(
wblock@
November 8th, 2010, 01:57
Where find SHA256? I cannot find nowhere :(
whereis shows it's in /sbin.
But you don't need to run it yourself (http://www.freebsd.org/doc/en_US.ISO8859-1/books/porters-handbook/porting-checksum.html).
sk8harddiefast
November 8th, 2010, 02:03
Return me this:
sudo make checksum
===> License check disabled, port has not defined LICENSE
=> openshot-1.2.2.tar.gz doesn't seem to exist in /usr/ports/distfiles/.
=> Attempting to fetch from http://launchpadlibrarian.net/56230175/.
openshot-1.2.2.tar.gz 100% of 15 MB 189 kBps 00m00s
=> No SHA256 checksum recorded for openshot-1.2.2.tar.gz.
=> No suitable checksum found for openshot-1.2.2.tar.gz.
*** Error code 1
Stop in /usr/home/emberdaemon/Downloads/openshot.
wblock@
November 8th, 2010, 02:22
A) "checksum" is not the name of the target.
B) sudo is not the same as becoming root with su -.
sk8harddiefast
November 8th, 2010, 02:34
Ok. I became root with su.
"checksum" is not the name of the target.
What this mean?
Following your link: http://www.freebsd.org/doc/en_US.ISO8859-1/books/porters-handbook/porting-checksum.html
Just type make makesum. The ports make rules will automatically generate the file distinfo.
I tried with and without distinfo file.
I am confused :(
graudeejs
November 8th, 2010, 02:38
Return me this:
sudo make checksum
===> License check disabled, port has not defined LICENSE
=> openshot-1.2.2.tar.gz doesn't seem to exist in /usr/ports/distfiles/.
=> Attempting to fetch from http://launchpadlibrarian.net/56230175/.
openshot-1.2.2.tar.gz 100% of 15 MB 189 kBps 00m00s
=> No SHA256 checksum recorded for openshot-1.2.2.tar.gz.
=> No suitable checksum found for openshot-1.2.2.tar.gz.
*** Error code 1
Stop in /usr/home/emberdaemon/Downloads/openshot.
lol
Ok. I became root with su.
What this mean?
Following your link: http://www.freebsd.org/doc/en_US.ISO8859-1/books/porters-handbook/porting-checksum.html
Just type make makesum. The ports make rules will automatically generate the file distinfo.
I tried with and without distinfo file.
I am confused :(
No, you didn't do what's written in handbook make checksum you did make makesum Which is wrong. lol
sk8harddiefast
November 8th, 2010, 02:45
Oops :e Ok. worked :beer Now is fetching openshot and some dependencies like ffmpeg :D I start loving to create a port. But I am still afraid about the Makefile :(
Also a little help here: http://forums.freebsd.org/showthread.php?t=19117
gour
March 4th, 2011, 09:59
Oops :e Ok. worked :beer Now is fetching openshot and some dependencies like ffmpeg :D I start loving to create a port. But I am still afraid about the Makefile :(
Also a little help here: http://forums.freebsd.org/showthread.php?t=19117
Any news about this port?
I'm heading towards Free(PC)BSD, installed it on my laptop 1st, but for the desktop I need either Cinelerra or Openshot...the latter is probably easier target.
ckester
March 4th, 2011, 14:07
Good news! I hope to submit a port of openshot in the next day or two. I have it working, and just need to run a few more tests to make sure I haven't overlooked anything.
Unfortunately, openshot's 3D animation feature requires a newer version of blender than the one in ports. So you won't be able to create any nifty animated title screens. But the infrastructure is all there, and as soon as blender is updated, everything should start working.
Otherwise, the port as I have it is feature complete.
Done. Here's a link to the PR (http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/155265).
It might take a few days for it to be committed, however. If you can't wait, you can grab the sharfile from the PR and install it yourself.
gour
March 4th, 2011, 21:04
Good news! I hope to submit a port of openshot in the next day or two. I have it working, and just need to run a few more tests to make sure I haven't overlooked anything.
:beer:
Unfortunately, openshot's 3D animation feature requires a newer version of blender than the one in ports. So you won't be able to create any nifty animated title screens. But the infrastructure is all there, and as soon as blender is updated, everything should start working.
Yeah, it needs >=2.56, iirc from my Linux install...It does not matter. My desktop is still running Archlinux but I'm investigating if migration to Free(PC)BSD would provide me with all the required tools. ;)
It might take a few days for it to be committed, however. If you can't wait, you can grab the sharfile from the PR and install it yourself.
I can wait, no problem. Thank you very much for working on it!!!
vBulletin® v3.8.7, Copyright ©2000-2012, vBulletin Solutions, Inc.