dvdrw-tools: new package
PATCH 1/1 dvdrw-tools: new package
The dvd+rw-tools are used to master Blu-ray Disc and DVD Disc media, both +RW/+R and -RW/-R. Note the +RW in the name is a historical artifact. This package contains the widely used growisofs program.
---
Thank you for all your kind feedback. I have made
all the changes you suggested. I even understood
most of them :-) so I guess I'm learning how to
fish. I also removed the LARGEFILE references to
mirror the changes going into tip.
However, the line:
$(TARGET_MAKE_ENV) $(MAKE) $(TARGET_CONFIGURE_OPTS) -C $(@D)
is still monkey see, monkey copy/paste so treat accordingly
I'm still trying
to get CDRTOOLS worked up for submission but it's going to be a while. I'll deal with that interaction if/when it's acceptable for inclusion.
package/Config.in | 1 + package/dvdrw-tools/0001-limits.h.patch | 19 ++++++++++++ package/dvdrw-tools/Config.in | 54 +++++++++++++++++++++++++++++++++ package/dvdrw-tools/dvdrw-tools.hash | 3 ++ package/dvdrw-tools/dvdrw-tools.mk | 32 +++++++++++++++++++ 5 files changed, 109 insertions(+) create mode 100644 package/dvdrw-tools/0001-limits.h.patch create mode 100644 package/dvdrw-tools/Config.in create mode 100644 package/dvdrw-tools/dvdrw-tools.hash create mode 100644 package/dvdrw-tools/dvdrw-tools.mk
package/Config.in +1 -0
@@ -7,6 +7,7 @@ menu "Audio and video applications" source "package/aumix/Config.in" source "package/bellagio/Config.in" source "package/dvdauthor/Config.in" + source "package/dvdrw-tools/Config.in" source "package/espeak/Config.in" source "package/faad2/Config.in" source "package/ffmpeg/Config.in"
package/dvdrw-tools/0001-limits.h.patch new file +19 -0
@@ -0,0 +1,19 @@ +diff -pruN dvd+rw-tools-7.1.ori/transport.hxx dvd+rw-tools-7.1/transport.hxx +--- dvd+rw-tools-7.1.ori/transport.hxx 2008-03-01 04:34:43.000000000 -0600 ++++ dvd+rw-tools-7.1/transport.hxx 2015-01-18 15:47:24.245863631 -0600 +@@ -9,6 +9,7 @@ + #if defined(__unix) || defined(__unix__) + #include <stdio.h> + #include <stdlib.h> ++#include <limits.h> + #include <unistd.h> + #include <string.h> + #include <sys/types.h> +@@ -40,6 +41,7 @@ inline long getmsecs() + #include <stddef.h> + #include <stdio.h> + #include <stdlib.h> ++#include <limits.h> + #define ssize_t LONG_PTR + #define off64_t __int64 +
package/dvdrw-tools/Config.in new file +54 -0
54 lines not on this page · raw message
package/dvdrw-tools/dvdrw-tools.hash new file +3 -0
@@ -0,0 +1,3 @@ +# Locally computed using sha256sum +sha256 f8d60f822e914128bcbc5f64fbe3ed131cbff9045dca7e12c5b77b26edde72ca dvd+rw-tools-7.1.tar.gz +
package/dvdrw-tools/dvdrw-tools.mk new file +32 -0
@@ -0,0 +1,32 @@ +################################################################################ +# +# dvdrw-tools +# +################################################################################ + +DVDRW_TOOLS_VERSION = 7.1 +DVDRW_TOOLS_SOURCE = dvd+rw-tools-$(DVDRW_TOOLS_VERSION).tar.gz +DVDRW_TOOLS_SITE = http://fy.chalmers.se/~appro/linux/DVD+RW/tools +DVDRW_TOOLS_LICENSE = GPLv2 +DVDRW_TOOLS_LICENSE_FILES = LICENSE + +define DVDRW_TOOLS_BUILD_CMDS + $(TARGET_MAKE_ENV) $(MAKE) $(TARGET_CONFIGURE_OPTS) -C $(@D) +endef + +ifeq ($(BR2_PACKAGE_DVDRW_TOOLS_CDRKIT_BACKEND),y) + DVDRW_TOOLS_BACKEND = genisoimage +else ifeq ($(BR2_PACKAGE_DVDRW_TOOLS_XORRISO_BACKEND),y) + DVDRW_TOOLS_BACKEND = xorrisofs +endif + +define DVDRW_TOOLS_INSTALL_TARGET_CMDS + $(INSTALL) -m 0755 -D $(@D)/dvd-ram-control $(TARGET_DIR)/usr/bin/dvd-ram-control + $(INSTALL) -m 0755 -D $(@D)/dvd+rw-booktype $(TARGET_DIR)/usr/bin/dvd+rw-booktype + $(INSTALL) -m 0755 -D $(@D)/dvd+rw-format $(TARGET_DIR)/usr/bin/dvd+rw-format + $(INSTALL) -m 0755 -D $(@D)/dvd+rw-mediainfo $(TARGET_DIR)/usr/bin/dvd+rw-mediainfo + $(INSTALL) -m 0755 -D $(@D)/growisofs $(TARGET_DIR)/usr/bin/growisofs + ln -s -f /usr/bin/$(DVDRW_TOOLS_BACKEND) $(TARGET_DIR)/usr/bin/mkisofs +endef + +$(eval $(generic-package))
Signature · 1 line
2.1.0
PATCH 1/1 dvdrw-tools: new package
The dvd+rw-tools are used to master Blu-ray Disc and DVD Disc media, both +RW/+R and -RW/-R. The +RW in the name is a historical artifact. This package contains the widely used growisofs program.
--- package/Config.in | 1 + package/dvdrw-tools/0001-limits.h.patch | 19 ++++++++++++ package/dvdrw-tools/Config.in | 54 +++++++++++++++++++++++++++++++++ package/dvdrw-tools/dvdrw-tools.hash | 3 ++ package/dvdrw-tools/dvdrw-tools.mk | 32 +++++++++++++++++++ 5 files changed, 109 insertions(+) create mode 100644 package/dvdrw-tools/0001-limits.h.patch create mode 100644 package/dvdrw-tools/Config.in create mode 100644 package/dvdrw-tools/dvdrw-tools.hash create mode 100644 package/dvdrw-tools/dvdrw-tools.mk
package/Config.in +1 -0
@@ -7,6 +7,7 @@ menu "Audio and video applications" source "package/aumix/Config.in" source "package/bellagio/Config.in" source "package/dvdauthor/Config.in" + source "package/dvdrw-tools/Config.in" source "package/espeak/Config.in" source "package/faad2/Config.in" source "package/ffmpeg/Config.in"
package/dvdrw-tools/0001-limits.h.patch new file +19 -0
@@ -0,0 +1,19 @@ +diff -pruN dvd+rw-tools-7.1.ori/transport.hxx dvd+rw-tools-7.1/transport.hxx +--- dvd+rw-tools-7.1.ori/transport.hxx 2008-03-01 04:34:43.000000000 -0600 ++++ dvd+rw-tools-7.1/transport.hxx 2015-01-18 15:47:24.245863631 -0600 +@@ -9,6 +9,7 @@ + #if defined(__unix) || defined(__unix__) + #include <stdio.h> + #include <stdlib.h> ++#include <limits.h> + #include <unistd.h> + #include <string.h> + #include <sys/types.h> +@@ -40,6 +41,7 @@ inline long getmsecs() + #include <stddef.h> + #include <stdio.h> + #include <stdlib.h> ++#include <limits.h> + #define ssize_t LONG_PTR + #define off64_t __int64 +
package/dvdrw-tools/Config.in new file +54 -0
54 lines not on this page · raw message
package/dvdrw-tools/dvdrw-tools.hash new file +3 -0
@@ -0,0 +1,3 @@ +# Locally computed using sha256sum +sha256 f8d60f822e914128bcbc5f64fbe3ed131cbff9045dca7e12c5b77b26edde72ca dvd+rw-tools-7.1.tar.gz +
package/dvdrw-tools/dvdrw-tools.mk new file +32 -0
@@ -0,0 +1,32 @@ +################################################################################ +# +# dvdrw-tools +# +################################################################################ + +DVDRW_TOOLS_VERSION = 7.1 +DVDRW_TOOLS_SOURCE = dvd+rw-tools-$(DVDRW_TOOLS_VERSION).tar.gz +DVDRW_TOOLS_SITE = http://fy.chalmers.se/~appro/linux/DVD+RW/tools +DVDRW_TOOLS_LICENSE = GPLv2 +DVDRW_TOOLS_LICENSE_FILES = LICENSE + +define DVDRW_TOOLS_BUILD_CMDS + $(TARGET_MAKE_ENV) $(MAKE) $(TARGET_CONFIGURE_OPTS) -C $(@D) +endef + +ifeq ($(BR2_PACKAGE_DVDRW_TOOLS_CDRKIT_BACKEND),y) + DVDRW_TOOLS_BACKEND = genisoimage +else ifeq ($(BR2_PACKAGE_DVDRW_TOOLS_XORRISO_BACKEND),y) + DVDRW_TOOLS_BACKEND = xorrisofs +endif + +define DVDRW_TOOLS_INSTALL_TARGET_CMDS + $(INSTALL) -m 0755 -D $(@D)/dvd-ram-control $(TARGET_DIR)/usr/bin/dvd-ram-control + $(INSTALL) -m 0755 -D $(@D)/dvd+rw-booktype $(TARGET_DIR)/usr/bin/dvd+rw-booktype + $(INSTALL) -m 0755 -D $(@D)/dvd+rw-format $(TARGET_DIR)/usr/bin/dvd+rw-format + $(INSTALL) -m 0755 -D $(@D)/dvd+rw-mediainfo $(TARGET_DIR)/usr/bin/dvd+rw-mediainfo + $(INSTALL) -m 0755 -D $(@D)/growisofs $(TARGET_DIR)/usr/bin/growisofs + ln -s -f /usr/bin/$(DVDRW_TOOLS_BACKEND) $(TARGET_DIR)/usr/bin/mkisofs +endef + +$(eval $(generic-package))
Signature · 1 line
2.1.0
PATCH 1/1 dvdrw-tools: new package
In reply to Steve KentonDear Steve Kenton,
Quoted 5 lines · Steve Kenton
The dvd+rw-tools are used to master Blu-ray Disc and DVD Disc media, both +RW/+R and -RW/-R. Note the +RW in the name is a historical artifact. This package contains the widely used growisofs program.
Quoted 7 lines
Signed-off-by Steve Kenton <[email protected]>---
Thank you for all your kind feedback. I have made
all the changes you suggested. I even understood
most of them :-) so I guess I'm learning how to
fish. I also removed the LARGEFILE references to
mirror the changes going into tip.
Why? Largefile support has not been changed so far. Don't confuse patches that have been sent to the list with patches that have been merged.
Quoted 3 lines
However, the line:
$(TARGET_MAKE_ENV) $(MAKE) $(TARGET_CONFIGURE_OPTS) -C $(@D)is still monkey see, monkey copy/paste so treat accordingly
Well, do a build for ARM, and make sure the executable files produced by dvdrw-tools are properly built for ARM.
package/dvdrw-tools/0001-limits.h.patch
Quoted 5 lines
package/dvdrw-tools/0001-limits.h.patch new file +0
-0
This patch still needs a description + Signed-off-by line. See my previous review.
Quoted 14 lines
package/dvdrw-tools/dvdrw-tools.mk new file +8
-0@@ -0,0 +1,32 @@ +################################################################################ +# +# dvdrw-tools +# +################################################################################ + +DVDRW_TOOLS_VERSION = 7.1 +DVDRW_TOOLS_SOURCE = dvd+rw-tools-$(DVDRW_TOOLS_VERSION).tar.gz
package/dvdrw-tools/dvdrw-tools.mk line 18
Quoted 10 lines
package/dvdrw-tools/dvdrw-tools.mk new file +10
-0+DVDRW_TOOLS_SITE = http://fy.chalmers.se/~appro/linux/DVD+RW/tools +DVDRW_TOOLS_LICENSE = GPLv2 +DVDRW_TOOLS_LICENSE_FILES = LICENSE + +define DVDRW_TOOLS_BUILD_CMDS + $(TARGET_MAKE_ENV) $(MAKE) $(TARGET_CONFIGURE_OPTS) -C $(@D) +endef + +ifeq ($(BR2_PACKAGE_DVDRW_TOOLS_CDRKIT_BACKEND),y) + DVDRW_TOOLS_BACKEND = genisoimage
Nitpick: don't indent.
package/dvdrw-tools/dvdrw-tools.mk line 20
Quoted 2 lines
package/dvdrw-tools/dvdrw-tools.mk new file +2
-0+else ifeq ($(BR2_PACKAGE_DVDRW_TOOLS_XORRISO_BACKEND),y) + DVDRW_TOOLS_BACKEND = xorrisofs
Ditto.
package/dvdrw-tools/dvdrw-tools.mk line 32
Quoted 12 lines
package/dvdrw-tools/dvdrw-tools.mk new file +12
-0+endif + +define DVDRW_TOOLS_INSTALL_TARGET_CMDS + $(INSTALL) -m 0755 -D $(@D)/dvd-ram-control $(TARGET_DIR)/usr/bin/dvd-ram-control + $(INSTALL) -m 0755 -D $(@D)/dvd+rw-booktype $(TARGET_DIR)/usr/bin/dvd+rw-booktype + $(INSTALL) -m 0755 -D $(@D)/dvd+rw-format $(TARGET_DIR)/usr/bin/dvd+rw-format + $(INSTALL) -m 0755 -D $(@D)/dvd+rw-mediainfo $(TARGET_DIR)/usr/bin/dvd+rw-mediainfo + $(INSTALL) -m 0755 -D $(@D)/growisofs $(TARGET_DIR)/usr/bin/growisofs + ln -s -f /usr/bin/$(DVDRW_TOOLS_BACKEND) $(TARGET_DIR)/usr/bin/mkisofs +endef + +$(eval $(generic-package))
So besides the largefile stuff, and the missing patch description, I think we're almost good to go.
Thanks,
Thomas
Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons Embedded Linux, Kernel and Android engineering http://free-electrons.com