- Fix growisofs error: close session failed when burning 25GB blu-ray disc

- While here: sort and wrap BIN_FILES, remove useless OPTIONS_DEFAULT=DOCS
- Canonicalize Makefile header, add LICENSE (GPLv2), and bump PORTREVISION
- Kill bogus EOL whitespace in port description text and reformat it a bit

PR:		198991
Obtained from:	https://bugs.launchpad.net/ubuntu/+source/dvd+rw-tools/+bug/1113679/
Details:	http://lists.alioth.debian.org/pipermail/debburn-devel/2013-June/000924.html
This commit is contained in:
Alexey Dokuchaev 2015-04-10 11:20:16 +00:00
parent de9d6e180d
commit 30d3359187
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=383719
3 changed files with 21 additions and 7 deletions

View file

@ -1,8 +1,9 @@
# Created by: chuck@pkix.net
# Created by: Charles Swiger <chuck@pkix.net>
# $FreeBSD$
PORTNAME= dvd+rw-tools
PORTVERSION= 7.1
PORTREVISION= 1
CATEGORIES= sysutils
MASTER_SITES= http://www.pkix.net/mirror/fy.chalmers.se/ \
http://fy.chalmers.se/~appro/linux/DVD+RW/tools/
@ -10,6 +11,8 @@ MASTER_SITES= http://www.pkix.net/mirror/fy.chalmers.se/ \
MAINTAINER= ports@FreeBSD.org
COMMENT= DVD burning software
LICENSE= GPLv2
BUILD_DEPENDS= cdrecord:${PORTSDIR}/sysutils/cdrtools
RUN_DEPENDS= cdrecord:${PORTSDIR}/sysutils/cdrtools
# On some systems, among them one 900044 i386, the do-build-invoked
@ -21,13 +24,13 @@ RUN_DEPENDS= cdrecord:${PORTSDIR}/sysutils/cdrtools
# until the problem is analyzed and fixed - and please comment the fix here.
USES= gmake
BIN_FILES= growisofs dvd+rw-format dvd+rw-booktype dvd+rw-mediainfo dvd-ram-control
BIN_FILES= dvd+rw-booktype dvd+rw-format dvd+rw-mediainfo \
dvd-ram-control growisofs
PLIST_FILES= ${BIN_FILES:S|^|bin/|} \
man/man1/growisofs.1.gz
PORTDOCS= index.html
OPTIONS_DEFINE= DOCS
OPTIONS_DEFAULT=DOCS
post-patch:
@${REINPLACE_CMD} -e 's/-O2//' ${WRKSRC}/Makefile.m4

View file

@ -0,0 +1,11 @@
--- growisofs_mmc.cpp.orig 2008-03-04 17:47:49 UTC
+++ growisofs_mmc.cpp
@@ -756,6 +756,8 @@ static void bd_r_format (Scsi_Command &c
wait_for_unit (cmd);
+ bdr_plus_pow = 1;
+
cmd[0] = 0x35; // FLUSH CACHE
cmd[9] = 0;
cmd.transport();

View file

@ -6,9 +6,9 @@ appending of data to ISO9660 volumes residing on random-access media such as
DVD+RW, DVD-RAM, plain files, hard disk partitions. In the course of
development general purpose DVD recording support was implemented, and as of
now growisofs supports not only random-access media, but even mastering of
multi-session DVD media such as DVD+R and DVD-R/-RW. In addition growisofs
multi-session DVD media such as DVD+R and DVD-R/-RW. In addition growisofs
supports first-/single-session recording of arbitrary pre-mastered image
(formatted as UDF, ISO9660 or any other file system, if formatted at all) to
all supported DVD media types.
(formatted as UDF, ISO9660, or any other file system, if formatted at all)
to all supported DVD media types.
WWW: http://fy.chalmers.se/~appro/linux/DVD+RW/