* [Buildroot] [PATCH v4 1/1] tovid: new package
@ 2015-03-18 18:00 Steve Kenton
2015-03-20 22:13 ` Thomas Petazzoni
0 siblings, 1 reply; 3+ messages in thread
From: Steve Kenton @ 2015-03-18 18:00 UTC (permalink / raw)
To: buildroot
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 <skenton@ou.edu>
---
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
diff --git a/package/Config.in b/package/Config.in
index 96e373a..44ccfe4 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -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"
diff --git a/package/tovid/0001-manpage.patch b/package/tovid/0001-manpage.patch
new file mode 100644
index 0000000..4f73831
--- /dev/null
+++ b/package/tovid/0001-manpage.patch
@@ -0,0 +1,26 @@
+setup.py: disable man page to kill txt2tags SVN checkout dependency
+
+Signed-off-by: Steve Kenton <skenton@ou.edu>
+
+--- 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',
diff --git a/package/tovid/Config.in b/package/tovid/Config.in
new file mode 100644
index 0000000..bb80c99
--- /dev/null
+++ b/package/tovid/Config.in
@@ -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
diff --git a/package/tovid/tovid.mk b/package/tovid/tovid.mk
new file mode 100644
index 0000000..259dd90
--- /dev/null
+++ b/package/tovid/tovid.mk
@@ -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))
--
2.1.0
^ permalink raw reply related [flat|nested] 3+ messages in thread* [Buildroot] [PATCH v4 1/1] tovid: new package
2015-03-18 18:00 [Buildroot] [PATCH v4 1/1] tovid: new package Steve Kenton
@ 2015-03-20 22:13 ` Thomas Petazzoni
2015-03-21 19:17 ` Steve Kenton
0 siblings, 1 reply; 3+ messages in thread
From: Thomas Petazzoni @ 2015-03-20 22:13 UTC (permalink / raw)
To: buildroot
Dear Steve Kenton,
On Wed, 18 Mar 2015 13:00:12 -0500, Steve Kenton wrote:
> 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 <skenton@ou.edu>
Thanks! I think we're almost there! A few remaining comments below.
> diff --git a/package/tovid/0001-manpage.patch b/package/tovid/0001-manpage.patch
> new file mode 100644
> index 0000000..4f73831
> --- /dev/null
> +++ b/package/tovid/0001-manpage.patch
> @@ -0,0 +1,26 @@
> +setup.py: disable man page to kill txt2tags SVN checkout dependency
> +
> +Signed-off-by: Steve Kenton <skenton@ou.edu>
> +
> +--- 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']),
Could you simply remove the lines instead of commenting them?
> diff --git a/package/tovid/Config.in b/package/tovid/Config.in
> new file mode 100644
> index 0000000..bb80c99
> --- /dev/null
> +++ b/package/tovid/Config.in
> @@ -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
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
> + 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 ?
> diff --git a/package/tovid/tovid.mk b/package/tovid/tovid.mk
> new file mode 100644
> index 0000000..259dd90
> --- /dev/null
> +++ b/package/tovid/tovid.mk
> @@ -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
This is not needed, as python-package takes care of adding either
'python' or 'python3' to the dependencies, as needed.
> +TOVID_SETUP_TYPE = distutils
> +
> +$(eval $(python-package))
--
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
^ permalink raw reply [flat|nested] 3+ messages in thread* [Buildroot] [PATCH v4 1/1] tovid: new package
2015-03-20 22:13 ` Thomas Petazzoni
@ 2015-03-21 19:17 ` Steve Kenton
0 siblings, 0 replies; 3+ messages in thread
From: Steve Kenton @ 2015-03-21 19:17 UTC (permalink / raw)
To: buildroot
On 03/20/2015 05:13 PM, Thomas Petazzoni wrote:
>
> 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).
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2015-03-21 19:17 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-03-18 18:00 [Buildroot] [PATCH v4 1/1] tovid: new package Steve Kenton
2015-03-20 22:13 ` Thomas Petazzoni
2015-03-21 19:17 ` Steve Kenton
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox