import tkdvd 4.0.4

TkDVD is a GUI to dvd+rw-tools and cdrecord. It allows burnning CDs and
DVDs easily.

Features:

    * View the current command line that will be used to burn the CD/DVD
    * Burn CD/DVD from iso images
    * Create ISO images from files and CD/DVD
    * CD/DVD Copy
    * Can overburn CD/DVD
    * Support multi session CD/DVD
    * Add/delete/exclude file/directories and show current used space
    * Can keep directory structure
    * Options to choose iso9660 filesystem extension (like Joliet or
      RockRidge extensions)
    * Prevent burning if used space > DVD+R/RW capacity
    * Show output of growisofs/mkisofs to view burned % and estimated
      remaining time

submitted by Vlad Glagolev <stelzy at gmail.com> (MAINTAINER)
This commit is contained in:
jasper 2006-12-23 10:26:57 +00:00
parent 3d03b10ec3
commit c97a854fcb
9 changed files with 157 additions and 0 deletions

44
sysutils/tkdvd/Makefile Normal file
View File

@ -0,0 +1,44 @@
# $OpenBSD: Makefile,v 1.1.1.1 2006/12/23 10:26:57 jasper Exp $
COMMENT= "gui to dvd+rw-tools and cdrecord"
DISTNAME= tkdvd-4.0.4
CATEGORIES= sysutils
HOMEPAGE= http://regis.damongeot.free.fr/tkdvd/
MAINTAINER= Vlad Glagolev <stelzy@gmail.com>
# GPL
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
MASTER_SITES= ${HOMEPAGE:=dl/}
WRKDIST= ${WRKDIR}/tkdvd
CONFIGURE_STYLE= simple
CONFIGURE_ARGS= --prefix="${LOCALBASE}/bin"
BUILD_DEPENDS= :tcl->=8.4:lang/tcl/8.4
RUN_DEPENDS= ::sysutils/cdrtools \
::sysutils/dvd+rw-tools \
:tk->=8.4:x11/tk/8.4
pre-configure:
@perl -pi -e 's,!!LOCALBASE!!,${LOCALBASE},' \
${WRKSRC}/{configure,install.tcl,TkDVD.sh}
do-build:
@cd ${WRKDIST} && ${MAKE_PROGRAM}
do-install:
${INSTALL_SCRIPT} ${WRKSRC}/tkdvd-install.sh ${PREFIX}/bin/tkdvd
${INSTALL_DATA_DIR} ${PREFIX}/share/icons/tkdvd
${INSTALL_DATA} ${WRKSRC}/icons/*.png ${PREFIX}/share/icons/tkdvd
${INSTALL_DATA_DIR} ${PREFIX}/share/tkdvd
${INSTALL_DATA} ${WRKSRC}/FAQ ${PREFIX}/share/tkdvd
.include <bsd.port.mk>

4
sysutils/tkdvd/distinfo Normal file
View File

@ -0,0 +1,4 @@
MD5 (tkdvd-4.0.4.tar.gz) = 7bbc675a4be625e762aa8e07cf44738f
RMD160 (tkdvd-4.0.4.tar.gz) = 1173b803736aaa944c3aa5893114a3788d326727
SHA1 (tkdvd-4.0.4.tar.gz) = febad34f6a0fb7fc1554f6a3e0bbe568e22e338c
SIZE (tkdvd-4.0.4.tar.gz) = 67190

View File

@ -0,0 +1,20 @@
$OpenBSD: patch-TkDVD_sh,v 1.1.1.1 2006/12/23 10:26:57 jasper Exp $
--- TkDVD.sh.orig Sun Nov 12 13:25:23 2006
+++ TkDVD.sh Mon Dec 18 19:54:04 2006
@@ -1,6 +1,6 @@
#!/bin/sh
# the next line restarts using wish \
-exec wish "$0" "$@"
+exec !!LOCALBASE!!/bin/wish8.4 "$0" "$@"
# Copyright 2003 Regis Damongeot
@@ -25,7 +25,7 @@ wm geometry . 700x550
wm protocol . WM_DELETE_WINDOW { save_options; destroy . }
set burn_type "burn_dvd"
set v_create_iso "no"
-set burning_device "/dev/sr0"
+set burning_device "/dev/rc0c"
#used when creating ISO to save CD/DVD device
set temp_burning_device ""
set burn_command "growisofs"

View File

@ -0,0 +1,11 @@
$OpenBSD: patch-configure,v 1.1.1.1 2006/12/23 10:26:57 jasper Exp $
--- configure.orig Thu Nov 3 20:09:58 2005
+++ configure Mon Dec 18 19:40:31 2006
@@ -1,6 +1,6 @@
#!/bin/sh
# the next line restarts using wish \
-exec tclsh "$0" "$@"
+exec /usr/local/bin/tclsh8.4 "$0" "$@"
# Copyright 2003 Regis Damongeot

View File

@ -0,0 +1,11 @@
$OpenBSD: patch-install_tcl,v 1.1.1.1 2006/12/23 10:26:57 jasper Exp $
--- install.tcl.orig Thu Nov 3 20:09:57 2005
+++ install.tcl Mon Dec 18 19:40:31 2006
@@ -1,6 +1,6 @@
#!/bin/sh
# the next line restarts using wish \
-exec tclsh "$0" "$@"
+exec /usr/local/bin/tclsh8.4 "$0" "$@"
# Copyright 2003 Regis Damongeot

View File

@ -0,0 +1,20 @@
$OpenBSD: patch-src-other_procedures_tcl,v 1.1.1.1 2006/12/23 10:26:57 jasper Exp $
--- src/other_procedures.tcl.orig Sat Aug 5 20:54:23 2006
+++ src/other_procedures.tcl Mon Dec 4 17:27:40 2006
@@ -180,13 +180,13 @@ proc launch {burn_type burn_opt} {
}
} elseif { $burn_type == "create_iso" } {
# burn_opt contains destination file for ISO image
- if {[catch {open "|dd if=$burning_device of=$burn_opt |& cat"} input]} {
+ if {[catch {open "|dd bs=2048 if=$burning_device of=$burn_opt |& cat"} input]} {
#one blank line to increase readability
- .output_window.f_main.log insert end "dd if=$burning_device of=$burn_opt\n\n"
+ .output_window.f_main.log insert end "dd bs=2048 if=$burning_device of=$burn_opt\n\n"
} else {
fileevent $input readable log_proc
#one blank line to increase readability
- .output_window.f_main.log insert end "dd if=$burning_device of=$burn_opt\n\n"
+ .output_window.f_main.log insert end "dd bs=2048 if=$burning_device of=$burn_opt\n\n"
}
} elseif { $burn_type == "erase_dvd" } {
# $burn_opt= "" or "force" or "blank"

View File

@ -0,0 +1,19 @@
$OpenBSD: patch-src-save_load_options_tcl,v 1.1.1.1 2006/12/23 10:26:57 jasper Exp $
--- src/save_load_options.tcl.orig Sun Nov 12 13:15:05 2006
+++ src/save_load_options.tcl Mon Dec 18 19:54:05 2006
@@ -31,7 +31,7 @@ proc save_options {} {
if {![string compare -length 3 $burning_device "/dev"]} {
puts $config_file "burning_device = $burning_device"
} else {
- puts $config_file "burning_device = /dev/sr0"
+ puts $config_file "burning_device = /dev/rcd0c"
}
close $config_file
}
@@ -117,4 +117,4 @@ proc update_version_config_file { old_ve
} else {
#no special change for later versions so we load option classically
}
-}
\ No newline at end of file
+}

18
sysutils/tkdvd/pkg/DESCR Normal file
View File

@ -0,0 +1,18 @@
TkDVD is a GUI to dvd+rw-tools and cdrecord. It allows burnning CDs and
DVDs easily.
Features:
* View the current command line that will be used to burn the CD/DVD
* Burn CD/DVD from iso images
* Create ISO images from files and CD/DVD
* CD/DVD Copy
* Can overburn CD/DVD
* Support multi session CD/DVD
* Add/delete/exclude file/directories and show current used space
* Can keep directory structure
* Options to choose iso9660 filesystem extension (like Joliet or
RockRidge extensions)
* Prevent burning if used space > DVD+R/RW capacity
* Show output of growisofs/mkisofs to view burned % and estimated
remaining time

10
sysutils/tkdvd/pkg/PLIST Normal file
View File

@ -0,0 +1,10 @@
@comment $OpenBSD: PLIST,v 1.1.1.1 2006/12/23 10:26:57 jasper Exp $
bin/tkdvd
share/icons/
share/icons/tkdvd/
share/icons/tkdvd/tkdvd-2-32.png
share/icons/tkdvd/tkdvd-2-48.png
share/icons/tkdvd/tkdvd-32.png
share/icons/tkdvd/tkdvd-48.png
share/tkdvd/
share/tkdvd/FAQ