Skip to contentSkip to conversation

dvdauthor : new package

PATCH New Steve Kenton 2 participants 2 messages Jan 13, 2015 – Jan 14, 2015

lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 dvdauthor : new package

DVDAuthor is a set of tools to help you author the file and directory structure of a DVD-Video disc, including programmatic commands for implementing interactive behaviour. It is driven by command lines and XML control files, though there are other programs that provide GUI-based front ends if you prefer

Note - Despite lack of a version bump the two line gentoo patch to src/spuunmux.c against "stock" dvdauthor-0.7.1

    if (setjmp(png_ptr->jmpbuf))
    if (setjmp(png_jmpbuf(png_ptr)))
# to allow use of libpng15/16 is already applied to downloadable
# dvdauthor-0.7.1.tar.gz

http://dvdauthor.sourceforge.net

Signed-off-by Stephen M. Kenton <[email protected]>
---
Build tested with both uClibc and glibc against last nights snapshot

package/Config.in +1 -0
diff -pruN buildroot.ori/package/Config.in buildroot/package/Config.in
@@ -6,6 +6,7 @@ menu "Audio and video applications"
 	source "package/alsa-utils/Config.in"
 	source "package/aumix/Config.in"
 	source "package/bellagio/Config.in"
+	source "package/dvdauthor/Config.in"
 	source "package/espeak/Config.in"
 	source "package/faad2/Config.in"
 	source "package/ffmpeg/Config.in"
package/dvdauthor/Config.in +19 -0
diff -pruN buildroot.ori/package/dvdauthor/Config.in buildroot/package/dvdauthor/Config.in
@@ -0,0 +1,19 @@
+config BR2_PACKAGE_DVDAUTHOR
+	bool "dvdauthor"
+	select BR2_PACKAGE_LIBXML2
+	select BR2_PACKAGE_FREETYPE
+	select BR2_PACKAGE_LIBPNG
+	select BR2_PACKAGE_LIBDVDREAD
+	depends on BR2_LARGEFILE && !BR2_PREFER_STATIC_LIBS # libdvdread
+	help
+	  DVDAuthor is a set of tools to help you author the file and directory
+	  structure of a DVD-Video disc, including programmatic commands for
+	  implementing interactive behaviour. It is driven by command lines and
+	  XML control files, though there are other programs that provide
+	  GUI-based front ends if you prefer
+	
+	  http://dvdauthor.sourceforge.net
+
+comment "dvdauthor needs a toolchain w/ dynamic library, largefile"
+	depends on !BR2_LARGEFILE || BR2_PREFER_STATIC_LIBS
+
package/dvdauthor/dvdauthor.mk +16 -0
diff -pruN buildroot.ori/package/dvdauthor/dvdauthor.mk buildroot/package/dvdauthor/dvdauthor.mk
@@ -0,0 +1,16 @@
+###############################################################################
+#
+# dvdauthor
+#
+###############################################################################
+
+DVDAUTHOR_VERSION = 0.7.1
+DVDAUTHOR_SITE = http://sourceforge.net/projects/dvdauthor/files/dvdauthor/$(DVDAUTHOR_VERSION)
+DVDAUTHOR_DEPENDENCIES = host-pkgconf libxml2 freetype libpng libdvdread
+DVDAUTHOR_LICENSE = GPLv2
+DVDAUTHOR_LICENSE_FILES = COPYING
+DVDAUTHOR_CONF_ENV = \
+	ac_cv_prog_FREETYPECONFIG=$(STAGING_DIR)/usr/bin/freetype-config \
+	ac_cv_path_XML2_CONFIG=$(STAGING_DIR)/usr/bin/xml2-config
+
+$(eval $(autotools-package))
#1 lore raw

PATCH v2 1/1 dvdauthor : new package

Dear Steve Kenton,

Quoted 8 lines · Steve Kenton

DVDAuthor is a set of tools to help you author the file and directory structure of a DVD-Video disc, including programmatic commands for implementing interactive behaviour. It is driven by command lines and XML control files, though there are other programs that provide GUI-based front ends if you prefer

Note - Despite lack of a version bump the two line gentoo patch to src/spuunmux.c against "stock" dvdauthor-0.7.1

Quoted 8 lines
    if (setjmp(png_ptr->jmpbuf))
    if (setjmp(png_jmpbuf(png_ptr)))
# to allow use of libpng15/16 is already applied to downloadable
# dvdauthor-0.7.1.tar.gz

http://dvdauthor.sourceforge.net

Signed-off-by Stephen M. Kenton <[email protected]>

Thanks, applied, after doing a number of changes:

[Thomas:
- Make the libdvdread dependency optional: it is only needed for the dvdunauthor program, which can be disabled using a configure option. So a separate Config.in option was added for dvdunauthor.
- Adjust license to GPLv2+, as can be seen in the source code itself.
- Add optional dependency on fontconfig and imagemagick. Make sure we don't pick up a host installed GraphicsMagick (which is different from ImageMagick!)
- Add a hash file.]

Thanks!

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com