Skip to Content.
Sympa Menu

sm-commit - [SM-Commit] GIT changes to master grimoire by Daniel Goller (9ebc30f2e569370088194b64daaf896a56040672)

sm-commit AT lists.ibiblio.org

Subject: Source Mage code commit list

List archive

Chronological Thread  
  • From: Daniel Goller <scm AT mail.sourcemage.org>
  • To: sm-commit AT lists.ibiblio.org
  • Subject: [SM-Commit] GIT changes to master grimoire by Daniel Goller (9ebc30f2e569370088194b64daaf896a56040672)
  • Date: Sat, 24 Jun 2006 17:02:46 -0500

GIT changes to master grimoire by Daniel Goller <morfic AT sourcemage.org>:

video-libs/libdvdread/HISTORY | 3 +
video-libs/libdvdread/PRE_BUILD | 8 +++-
video-libs/libdvdread/libdvdread-0.9.6-udfsymbols.patch | 21 +++++++++++
video/dvdbackup/0.1.1-debian-FPE.patch | 11 ++++++
video/dvdbackup/BUILD | 4 ++
video/dvdbackup/DEPENDS | 2 +
video/dvdbackup/DETAILS | 16 ++++++++
video/dvdbackup/HISTORY | 3 +
video/dvdbackup/INSTALL | 1
video/dvdbackup/PRE_BUILD | 5 ++
video/dvdbackup/dvdbackup-0.1.1-dvdread.patch | 12 ++++++
video/dvdbackup/dvdbackup-0.1.1-mkdir.patch | 29
++++++++++++++++
12 files changed, 114 insertions(+), 1 deletion(-)

New commits:
commit 9ebc30f2e569370088194b64daaf896a56040672
Merge: ddf5aeb0790322b6cf8e0b1ad33d9c4f6c005680
7b7897ac09f3212bdf1def6a07db33e0778618de
Author: Daniel Goller <morfic AT sourcemage.org>
Commit: Daniel Goller <morfic AT sourcemage.org>

Merge branch 'master' of ssh://dgoller AT scm.sourcemage.org/smgl/grimoire

commit ddf5aeb0790322b6cf8e0b1ad33d9c4f6c005680
Author: Daniel Goller <morfic AT sourcemage.org>
Commit: Daniel Goller <morfic AT sourcemage.org>

Initial commit of spell for dvdbackup.

commit c3032c40ccbcf58d71a6f920e39152ed7034607f
Author: Daniel Goller <morfic AT sourcemage.org>
Commit: Daniel Goller <morfic AT sourcemage.org>

Add patch to prperly expose UDF* symbols.

diff --git a/video-libs/libdvdread/HISTORY b/video-libs/libdvdread/HISTORY
index e7603df..4c0395d 100644
--- a/video-libs/libdvdread/HISTORY
+++ b/video-libs/libdvdread/HISTORY
@@ -1,3 +1,6 @@
+2006-06-24 Daniel Goller <morfic AT sourcemage.org>
+ * PRE_BUILD: patch to properly expose UDF* symbols
+
2006-05-03 Arwed v. Merkatz <v.merkatz AT gmx.net>
* DETAILS: updated to 0.9.6

diff --git a/video-libs/libdvdread/PRE_BUILD b/video-libs/libdvdread/PRE_BUILD
index 4c6bc05..3a46513 100755
--- a/video-libs/libdvdread/PRE_BUILD
+++ b/video-libs/libdvdread/PRE_BUILD
@@ -1,3 +1,9 @@
default_pre_build &&
cd $SOURCE_DIRECTORY &&
-patch -p0 < $SCRIPT_DIRECTORY/ifo_types.h.patch
+patch -p0 < $SCRIPT_DIRECTORY/ifo_types.h.patch &&
+patch -p1 < $SCRIPT_DIRECTORY/libdvdread-0.9.6-udfsymbols.patch &&
+
+# let's recreate the magic after patching Makefile.am
+autoconf &&
+aclocal &&
+automake
diff --git a/video-libs/libdvdread/libdvdread-0.9.6-udfsymbols.patch
b/video-libs/libdvdread/libdvdread-0.9.6-udfsymbols.patch
new file mode 100644
index 0000000..2fbd3a7
--- /dev/null
+++ b/video-libs/libdvdread/libdvdread-0.9.6-udfsymbols.patch
@@ -0,0 +1,21 @@
+Index: libdvdread-0.9.5/dvdread/Makefile.am
+===================================================================
+--- libdvdread-0.9.5.orig/dvdread/Makefile.am
++++ libdvdread-0.9.5/dvdread/Makefile.am
+@@ -2,13 +2,13 @@ INCLUDES = -I$(top_srcdir) @CSS_CFLAGS@
+
+ lib_LTLIBRARIES = libdvdread.la
+ libdvdread_la_SOURCES = dvd_input.c dvd_reader.c dvd_udf.c ifo_read.c \
+- ifo_print.c nav_read.c nav_print.c bswap.h dvd_udf.h dvd_input.h \
++ ifo_print.c nav_read.c nav_print.c bswap.h dvd_input.h \
+ dvdread_internal.h cmd_print.c \
+ md5.c md5.h
+ libdvdread_la_LIBADD = @DL_LIBS@ @CSS_LIBS@
+-libdvdread_la_LDFLAGS = -version-info 5:0:2 -export-symbols-regex
"(DVD.*|ifo.*|nav.*|cmd.*)"
++libdvdread_la_LDFLAGS = -version-info 5:0:2 -export-symbols-regex
"(DVD.*|UDF.*|ifo.*|nav.*|cmd.*)"
+
+ pkgincludedir = $(includedir)/dvdread
+
+-pkginclude_HEADERS = dvd_reader.h ifo_types.h ifo_read.h \
++pkginclude_HEADERS = dvd_reader.h ifo_types.h ifo_read.h dvd_udf.h \
+ ifo_print.h nav_types.h nav_read.h nav_print.h cmd_print.h
diff --git a/video/dvdbackup/0.1.1-debian-FPE.patch
b/video/dvdbackup/0.1.1-debian-FPE.patch
new file mode 100644
index 0000000..0f1b9a3
--- /dev/null
+++ b/video/dvdbackup/0.1.1-debian-FPE.patch
@@ -0,0 +1,11 @@
+--- src/dvdbackup.c.orig 2002-08-05 02:08:39.000000000 -0400
++++ src/dvdbackup.c 2004-04-09 02:17:35.382913520 -0400
+@@ -782,7 +782,7 @@
+ to consider the second one a feature title we are doing two checks
(biggest + biggest - second) /second == 1
+ and biggest%second * 3 < biggest */
+
+- if ( CheckSizeArray(size_size_array, 0, 1) == 1 ) {
++ if ( title_sets > 1 && CheckSizeArray(size_size_array, 0, 1) == 1 ) {
+ /* We have a dual DVD with two feature films - now lets see
if they have the same amount of chapters*/
+
+ chapters_1 = 0;
diff --git a/video/dvdbackup/BUILD b/video/dvdbackup/BUILD
new file mode 100755
index 0000000..76eacaa
--- /dev/null
+++ b/video/dvdbackup/BUILD
@@ -0,0 +1,4 @@
+gcc -o dvdbackup \
+-I/usr/include/dvdread/ \
+ -ldvdread src/dvdbackup.c
+
diff --git a/video/dvdbackup/DEPENDS b/video/dvdbackup/DEPENDS
new file mode 100755
index 0000000..640c1d0
--- /dev/null
+++ b/video/dvdbackup/DEPENDS
@@ -0,0 +1,2 @@
+depends libdvdread
+
diff --git a/video/dvdbackup/DETAILS b/video/dvdbackup/DETAILS
new file mode 100755
index 0000000..178265d
--- /dev/null
+++ b/video/dvdbackup/DETAILS
@@ -0,0 +1,16 @@
+ SPELL=dvdbackup
+ VERSION=0.1.1
+ SOURCE=$SPELL-$VERSION.tar.gz
+ SOURCE_URL[0]=http://dvd-create.sourceforge.net/$SOURCE
+SOURCE_DIRECTORY=$BUILD_DIRECTORY/$SPELL
+
SOURCE_HASH=sha512:3f3c60d1dea7a45ddbc4d7db0ebdbb046b07716b32e34f052378ae3737d15b4eeb8d8d5a85775a1bb7e6f0aef92d3abe2c52f36526aea21b7184b9ac8d5275c9
+ WEB_SITE=http://dvd-create.sourceforge.net/
+ ENTERED=20060617
+ UPDATED=20060617
+ LICENSE[0]=GPL
+ BUILD_API=2
+ KEYWORDS="dvd video backup"
+ SHORT=""
+cat << EOF
+Allows backing up of content from DVD to hard disk.
+EOF
diff --git a/video/dvdbackup/HISTORY b/video/dvdbackup/HISTORY
new file mode 100644
index 0000000..6668cb2
--- /dev/null
+++ b/video/dvdbackup/HISTORY
@@ -0,0 +1,3 @@
+2006-06-17 Daniel Goller <morfic AT sourcemage.org>
+ * DETAILS, DEPENDS: Initial Spell v 0.1.1
+
diff --git a/video/dvdbackup/INSTALL b/video/dvdbackup/INSTALL
new file mode 100755
index 0000000..c10116b
--- /dev/null
+++ b/video/dvdbackup/INSTALL
@@ -0,0 +1 @@
+install -m 755 dvdbackup /usr/bin
diff --git a/video/dvdbackup/PRE_BUILD b/video/dvdbackup/PRE_BUILD
new file mode 100755
index 0000000..efb4a21
--- /dev/null
+++ b/video/dvdbackup/PRE_BUILD
@@ -0,0 +1,5 @@
+default_pre_build &&
+cd $SOURCE_DIRECTORY &&
+patch -p0 < $SCRIPT_DIRECTORY/0.1.1-debian-FPE.patch &&
+patch -p0 < $SCRIPT_DIRECTORY/dvdbackup-0.1.1-mkdir.patch &&
+patch -p0 < $SCRIPT_DIRECTORY/dvdbackup-0.1.1-dvdread.patch
diff --git a/video/dvdbackup/dvdbackup-0.1.1-dvdread.patch
b/video/dvdbackup/dvdbackup-0.1.1-dvdread.patch
new file mode 100644
index 0000000..863e2a2
--- /dev/null
+++ b/video/dvdbackup/dvdbackup-0.1.1-dvdread.patch
@@ -0,0 +1,12 @@
+Index: dvdbackup/src/dvdbackup.c
+===================================================================
+--- src/dvdbackup.c
++++ src/dvdbackup.c
+@@ -30,6 +30,7 @@
+ #include <unistd.h>
+ #include <string.h>
+ #include <limits.h>
++#include <stdint.h>
+ #include <dvdread/dvd_reader.h>
+ #include <dvdread/ifo_read.h>
+ #include <dvdread/ifo_print.h>
diff --git a/video/dvdbackup/dvdbackup-0.1.1-mkdir.patch
b/video/dvdbackup/dvdbackup-0.1.1-mkdir.patch
new file mode 100644
index 0000000..0b16285
--- /dev/null
+++ b/video/dvdbackup/dvdbackup-0.1.1-mkdir.patch
@@ -0,0 +1,29 @@
+--- src/dvdbackup.c.orig 2005-07-01 00:12:36.000000000 -0700
++++ src/dvdbackup.c 2005-07-01 00:12:52.000000000 -0700
+@@ -2506,7 +2506,7 @@
+ fprintf(stderr,"The target directory is not valid, it
may be a ordinary file\n");
+ }
+ } else {
+- if (mkdir(targetname, S_IRUSR | S_IWUSR | S_IXUSR) != 0) {
++ if (mkdir(targetname, 0777) != 0) {
+ fprintf(stderr,"Faild creating target directory\n");
+ perror("");
+ DVDClose(_dvd);
+@@ -2522,7 +2522,7 @@
+ fprintf(stderr,"The title directory is not valid, it
may be a ordinary file\n");
+ }
+ } else {
+- if (mkdir(targetname, S_IRUSR | S_IWUSR | S_IXUSR) != 0) {
++ if (mkdir(targetname, 0777) != 0) {
+ fprintf(stderr,"Faild creating title directory\n");
+ perror("");
+ DVDClose(_dvd);
+@@ -2537,7 +2537,7 @@
+ fprintf(stderr,"The VIDEO_TS directory is not valid,
it may be a ordinary file\n");
+ }
+ } else {
+- if (mkdir(targetname, S_IRUSR | S_IWUSR | S_IXUSR) != 0) {
++ if (mkdir(targetname, 0777) != 0) {
+ fprintf(stderr,"Faild creating VIDEO_TS directory\n");
+ perror("");
+ DVDClose(_dvd);




Archive powered by MHonArc 2.6.24.

Top of Page