tovid: new package
PATCH v4 1/1 tovid: new package
The tovid suite, also known simply as tovid, is a collection of shell and Python scripts for creating DVDs and (S)VCDs. It is pronounced "to vid" (because it converts to video disc formats).
---
V4 added comments and fixed nits, changed to:
TOVID_SETUP_TYPE = distutils
$(eval $(python-package))
V3 delete hash file since download is from SVN
package/Config.in | 1 + package/tovid/0001-manpage.patch | 26 ++++++++++++++++++++++++++ package/tovid/Config.in | 31 +++++++++++++++++++++++++++++++ package/tovid/tovid.mk | 15 +++++++++++++++ 4 files changed, 73 insertions(+) create mode 100644 package/tovid/0001-manpage.patch create mode 100644 package/tovid/Config.in create mode 100644 package/tovid/tovid.mk
package/Config.in +1 -0
@@ -33,6 +33,7 @@ menu "Audio and video applications" source "package/pulseaudio/Config.in" source "package/sox/Config.in" source "package/tidsp-binaries/Config.in" + source "package/tovid/Config.in" source "package/tstools/Config.in" source "package/twolame/Config.in" source "package/upmpdcli/Config.in"
package/tovid/0001-manpage.patch new file +26 -0
@@ -0,0 +1,26 @@ +setup.py: disable man page to kill txt2tags SVN checkout dependency + +Signed-off-by: Steve Kenton <[email protected]> + +--- tovid-3534/setup.py.ori 2015-02-20 22:08:18.590122839 -0600 ++++ tovid-3534/setup.py 2015-02-20 22:06:05.290120282 -0600 +@@ -186,7 +186,7 @@ class BuildTovidInit (Command): + + # Build tovid-init with regular 'build' command + build.sub_commands.append(('build_tovid_init', None)) +-build.sub_commands.append(('build_docs', None)) ++#build.sub_commands.append(('build_docs', None)) + + # The actual setup + setup( +@@ -244,8 +244,8 @@ setup( + 'src/tovid.ini', + ]), + # Manual page +- ('share/man/man1', +- ['docs/man/tovid.1']), ++# ('share/man/man1', ++# ['docs/man/tovid.1']), + # Desktop shortcut + ('share/applications', + ['tovidgui.desktop',
package/tovid/Config.in new file +31 -0
@@ -0,0 +1,31 @@ +config BR2_PACKAGE_TOVID + bool "tovid" + depends on BR2_USE_MMU # fork() + depends on BR2_TOOLCHAIN_HAS_THREADS + depends on BR2_INET_IPV6 # ffmpeg + depends on BR2_INSTALL_LIBSTDCPP + depends on BR2_USE_WCHAR + depends on BR2_LARGEFILE + select BR2_PACKAGE_BUSYBOX_SHOW_OTHERS # procps_ng + select BR2_PACKAGE_DVDAUTHOR + select BR2_PACKAGE_DVDRW_TOOLS + select BR2_PACKAGE_FFMPEG + select BR2_PACKAGE_IMAGEMAGICK + select BR2_PACKAGE_JPEG + select BR2_PACKAGE_MJPEGTOOLS + select BR2_PACKAGE_MPLAYER + select BR2_PACKAGE_PROCPS_NG # pgrep and pkill + select BR2_PACKAGE_PYTHON # this is the only build time dependency + select BR2_PACKAGE_SOX + help + The tovid suite, also known simply as tovid, is a collection of shell + and Python scripts for creating DVDs and (S)VCDs. It is pronounced + "to vid" (because it converts to video disc formats). + + http://tovid.wikia.com/wiki/Installing_tovid + +comment "tovid needs a toolchain w/ threads, ipv6, C++, wchar, largefile" + depends on BR2_USE_MMU + depends on !BR2_TOOLCHAIN_HAS_THREADS \ + || !BR2_INET_IPV6 || !BR2_INSTALL_LIBSTDCPP \ + || !BR2_USE_WCHAR || !BR2_LARGEFILE
package/tovid/tovid.mk new file +15 -0
@@ -0,0 +1,15 @@ +################################################################################ +# +# tovid +# +################################################################################ + +TOVID_SITE = http://tovid.googlecode.com/svn/trunk/tovid +TOVID_SITE_METHOD = svn +TOVID_VERSION = 3534 +TOVID_LICENSE = GPLv2 +TOVID_LICENSE_FILES = COPYING +TOVID_DEPENDENCIES = python +TOVID_SETUP_TYPE = distutils + +$(eval $(python-package))
Signature · 1 line
2.1.0
PATCH v4 1/1 tovid: new package
Dear Steve Kenton,
Quoted 5 lines · Steve Kenton
The tovid suite, also known simply as tovid, is a collection of shell and Python scripts for creating DVDs and (S)VCDs. It is pronounced "to vid" (because it converts to video disc formats).
Signed-off-by Steve Kenton <[email protected]>
Thanks! I think we're almost there! A few remaining comments below.
Quoted 19 lines
package/tovid/0001-manpage.patch new file +13
-0@@ -0,0 +1,26 @@ +setup.py: disable man page to kill txt2tags SVN checkout dependency + +Signed-off-by: Steve Kenton <[email protected]> + +--- tovid-3534/setup.py.ori 2015-02-20 22:08:18.590122839 -0600 ++++ tovid-3534/setup.py 2015-02-20 22:06:05.290120282 -0600 +@@ -186,7 +186,7 @@ class BuildTovidInit (Command): + + # Build tovid-init with regular 'build' command + build.sub_commands.append(('build_tovid_init', None)) +-build.sub_commands.append(('build_docs', None)) ++#build.sub_commands.append(('build_docs', None)) +
package/tovid/0001-manpage.patch line 23
Quoted 10 lines
package/tovid/0001-manpage.patch new file +10
-0+ # The actual setup + setup( +@@ -244,8 +244,8 @@ setup( + 'src/tovid.ini', + ]), + # Manual page +- ('share/man/man1', +- ['docs/man/tovid.1']), ++# ('share/man/man1', ++# ['docs/man/tovid.1']),
Could you simply remove the lines instead of commenting them?
Quoted 14 lines
package/tovid/Config.in new file +8
-0@@ -0,0 +1,31 @@ +config BR2_PACKAGE_TOVID + bool "tovid" + depends on BR2_USE_MMU # fork() + depends on BR2_TOOLCHAIN_HAS_THREADS + depends on BR2_INET_IPV6 # ffmpeg + depends on BR2_INSTALL_LIBSTDCPP + depends on BR2_USE_WCHAR + depends on BR2_LARGEFILE
package/tovid/Config.in line 18
Quoted 10 lines
package/tovid/Config.in new file +10
-0+ select BR2_PACKAGE_BUSYBOX_SHOW_OTHERS # procps_ng + select BR2_PACKAGE_DVDAUTHOR + select BR2_PACKAGE_DVDRW_TOOLS + select BR2_PACKAGE_FFMPEG + select BR2_PACKAGE_IMAGEMAGICK + select BR2_PACKAGE_JPEG + select BR2_PACKAGE_MJPEGTOOLS + select BR2_PACKAGE_MPLAYER + select BR2_PACKAGE_PROCPS_NG # pgrep and pkill + select BR2_PACKAGE_PYTHON # this is the only build time dependency
From what I've seen, tovid works with both Python and Python 3. So I think we should adopt the strategy of for example package/iotop/Config.in: use a depends on. So, I think we should see:
+config BR2_PACKAGE_TOVID
+ bool "tovid"
+ depends on BR2_USE_MMU # fork()
+ depends on BR2_TOOLCHAIN_HAS_THREADS
+ depends on BR2_INET_IPV6 # ffmpeg
+ depends on BR2_INSTALL_LIBSTDCPP
+ depends on BR2_USE_WCHAR
+ depends on BR2_LARGEFILE
+ depends on BR2_PACKAGE_PYTHON || BR2_PACKAGE_PYTHON3
+ # The below dependencies are runtime dependencies only
+ select BR2_PACKAGE_BUSYBOX_SHOW_OTHERS # procps_ng
+ select BR2_PACKAGE_DVDAUTHOR
+ select BR2_PACKAGE_DVDRW_TOOLS
+ select BR2_PACKAGE_FFMPEG
+ select BR2_PACKAGE_IMAGEMAGICK
+ select BR2_PACKAGE_JPEG
+ select BR2_PACKAGE_MJPEGTOOLS
+ select BR2_PACKAGE_MPLAYER
+ select BR2_PACKAGE_PROCPS_NG # pgrep and pkill
+ select BR2_PACKAGE_SOX
package/tovid/Config.in line 31
Quoted 12 lines
package/tovid/Config.in new file +12
-0+ help + The tovid suite, also known simply as tovid, is a collection of shell + and Python scripts for creating DVDs and (S)VCDs. It is pronounced + "to vid" (because it converts to video disc formats). + + http://tovid.wikia.com/wiki/Installing_tovid + +comment "tovid needs a toolchain w/ threads, ipv6, C++, wchar, largefile" + depends on BR2_USE_MMU + depends on !BR2_TOOLCHAIN_HAS_THREADS \ + || !BR2_INET_IPV6 || !BR2_INSTALL_LIBSTDCPP \ + || !BR2_USE_WCHAR || !BR2_LARGEFILE
And here an additional comment:
comment "tovid depends on python or python3"
depends on !BR2_PACKAGE_PYTHON && !BR2_PACKAGE_PYTHON3
Can you test if tovid effectively works with Python 3 ?
Quoted 8 lines
package/tovid/tovid.mk new file +2
-0@@ -0,0 +1,15 @@ +################################################################################ +#
package/tovid/tovid.mk line 12
Quoted 10 lines
package/tovid/tovid.mk new file +10
-0+# tovid +# +################################################################################ + +TOVID_SITE = http://tovid.googlecode.com/svn/trunk/tovid +TOVID_SITE_METHOD = svn +TOVID_VERSION = 3534 +TOVID_LICENSE = GPLv2 +TOVID_LICENSE_FILES = COPYING +TOVID_DEPENDENCIES = python
This is not needed, as python-package takes care of adding either 'python' or 'python3' to the dependencies, as needed.
Quoted 3 lines
package/tovid/tovid.mk new file +3
-0+TOVID_SETUP_TYPE = distutils + +$(eval $(python-package))
Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons Embedded Linux, Kernel and Android engineering http://free-electrons.com
PATCH v4 1/1 tovid: new package
Quoted 2 lines · Thomas Petazzoni
Can you test if tovid effectively works with Python 3 ?
It's stated specifically in the change log for version 0.35
Steve
Version history / Release notes / Changelog:
tovid 0.35
See the full changelogs http://tovid.wikia.com/wiki/Tovid_changelog
Highlights:
Support for avconv from libav.org (FFmpeg fork).
Removed mencoder dependency, and transcode is now optional, as ffmpeg will be used instead for seeking.
Added Python 3 support (support for python 2.4/2.5 dropped from titleset-wizard).
Add -encode-only option so that the tovid gui can also be used as an encoding only GUI. This allows 'batch' encoding by selecting multiple files. Fix for ffmpeg bug (some versions) when generating silence from /dev/zero.
GUI now supports vertical resolution of 600 pixels (some laptops/netbooks)
movied libcairo stuff to its own branch so it is no longer a suggested dependancy.
GUI no longer chokes on loading some problematic options - it will ignore them and popup a copyable message showing the options in question. GUI and titleset-wizard positions now synced so the GUI loads in place of the wizard and vice versa.
More consistent menu title and video titles style behavior.
Added *-font-deco (-title-font-deco and -titles-font-deco), to support all former "makemenu" options.
Cleanup of alignment of text and images, so there are fewer surprises.
Decreased verbosity of screen output.
Fix for broken showcase image display when doing -static faded menus.
Updated -quick-menu so it works with recent ffmpeg versions.
Fix for recent ffmpeg not parsing 'ffmpeg -h' fully. (caused bug in -loop 0 vs. -loop_input for slideshows)
Many other bug fixes and updates for changed backend options (notably ffmpeg).