Overview
Request 6268 (accepted)
update to 1.2.1
fixes build
- Created by bmwiedemann 20 days ago
- In state accepted
-
Package maintainer:
pbleser
vobcopy.changes
Changed
x
1
2
-------------------------------------------------------------------
3
+Fri Apr 11 06:51:28 UTC 2025 - Bernhard M. Wiedemann <packmanbmw@lsmod.de>
4
+
5
+- update to 1.2.1
6
+
7
+-------------------------------------------------------------------
8
Sat Dec 20 16:17:24 UTC 2014 - seife+obs@b1-systems.com
9
10
- fix license tag to allow build to succeed on openSUSE > 13.2
11
vobcopy.spec
Changed
29
1
2
Summary(de): Vobcopy kopiert DVD .vob Dateien auf die Festplatte
3
License: GPL-2.0+
4
Group: Productivity/Multimedia/Video/Editors and Convertors
5
-URL: http://vobcopy.org/
6
-Version: 1.2.0
7
+URL: https://github.com/barak/vobcopy
8
+Version: 1.2.1
9
Release: 2
10
-Source0: vobcopy-%{version}.tar.bz2
11
+Source0: https://github.com/barak/vobcopy/archive/refs/tags/%{version}.tar.gz#/vobcopy-%{version}.tar.gz
12
BuildRoot: %{_tmppath}/%{name}-root
13
+BuildRequires: autoconf
14
+BuildRequires: automake
15
BuildRequires: glibc-devel
16
BuildRequires: gcc
17
#BuildRequires: libdvdread3 >= 0.9.7
18
19
20
%build
21
export CFLAGS="${RPM_OPT_FLAGS}"
22
-
23
-./configure.sh \
24
+autoreconf -fi
25
+./configure \
26
--prefix="%{_prefix}" \
27
--bindir="%{_bindir}" \
28
--mandir="%{_mandir}" \
29
vobcopy-1.2.0.tar.bz2/Makefile
Deleted
73
1
2
-
3
-#This is the makefile for vobcopy, mainly written by rosenauer. These things
4
-#below here are variable definitions. They get substituted in the (CC) and
5
-#stuff places.
6
-DESTDIR =
7
-CC ?= gcc
8
-#PREFIX += /usr/local
9
-#BINDIR = ${PREFIX}/bin
10
-#MANDIR = ${PREFIX}/man
11
-PREFIX += /usr/local
12
-BINDIR = ${PREFIX}/bin
13
-MANDIR = ${PREFIX}/man
14
-DOCDIR = ${PREFIX}/share/doc/vobcopy
15
-LFS = -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE
16
-CFLAGS += -I/usr/local//include
17
-LDFLAGS += -ldvdread -L/usr/local//lib
18
-
19
-#This specifies the conversion from .c to .o
20
-.c.o:
21
- $(CC) $(LFS) $(CFLAGS) -c $<
22
-
23
-#Here is implicitly said that for vobcopy to be made *.o has to be made first
24
-#make is kinda intelligent in that aspect.
25
-vobcopy: vobcopy.o dvd.o
26
- $(CC) -o vobcopy vobcopy.o dvd.o ${LDFLAGS}
27
-
28
-disable_lfs:
29
- $(CC) $(CFLAGS) -c vobcopy.c
30
- $(CC) $(CFLAGS) -c dvd.c
31
- $(CC) -o vobcopy vobcopy.o dvd.o -ldvdread
32
-
33
-debug:
34
- $(CC) -c vobcopy.c -Wall -ggdb -pedantic $(CFLAGS) $(LFS)
35
- $(CC) -c dvd.c -Wall -ggdb -pedantic $(CFLAGS) $(LFS)
36
- $(CC) -o vobcopy vobcopy.o dvd.o -ldvdread
37
-
38
-deb:
39
-
40
- echo "this here is really really experimental..."
41
- dpkg-buildpackage -rfakeroot -us -uc -tc
42
-
43
-
44
-clean :
45
- rm -f vobcopy vobcopy.o dvd.o
46
-
47
-distclean :
48
- rm -f vobcopy.o dvd.o *~
49
-
50
-install:
51
-# mkdir -p $(MANDIR)/man1
52
-# cp vobcopy $(BINDIR)/vobcopy
53
-# cp vobcopy.1 $(MANDIR)/man1/vobcopy.1
54
- install -d -m 755 $(DESTDIR)/$(BINDIR)
55
- install -d -m 755 $(DESTDIR)/$(MANDIR)/man1
56
- install -d -m 755 $(DESTDIR)/$(MANDIR)/de/man1
57
- install -d -m 755 $(DESTDIR)/$(DOCDIR)
58
- install -m 755 vobcopy $(DESTDIR)/$(BINDIR)/vobcopy
59
- install -m 644 vobcopy.1 $(DESTDIR)/$(MANDIR)/man1/vobcopy.1
60
- install -m 644 vobcopy.1.de $(DESTDIR)/$(MANDIR)/de/man1/vobcopy.1
61
- install -m 644 COPYING Changelog README Release-Notes TODO $(DESTDIR)/$(DOCDIR)
62
-
63
-uninstall:
64
- rm -f $(DESTDIR)/$(BINDIR)/vobcopy
65
- rm -f $(DESTDIR)/$(MANDIR)/man1/vobcopy.1
66
- rm -f $(DESTDIR)/$(MANDIR)/de/man1/vobcopy.1
67
- rm -f $(DESTDIR)/$(DOCDIR)/{COPYING,Changelog,README,Release-Notes,TODO}
68
- rmdir --parents $(DESTDIR)/$(BINDIR) 2>/dev/null
69
- rmdir --parents $(DESTDIR)/$(MANDIR)/man1 2>/dev/null
70
- rmdir --parents $(DESTDIR)/$(MANDIR)/de/man1 2>/dev/null
71
- rmdir --parents $(DESTDIR)/$(DOCDIR) 2>/dev/null
72
-
73
vobcopy-1.2.0.tar.bz2/configure.sh
Deleted
251
1
2
-#!/bin/sh
3
-#hope this thing works across all systems, otherwise mail me please:
4
-#robos@muon.de
5
-
6
-
7
-echo "THIS CONFIGURE SCRIPT IS STILL HIGHLY EXPERIMENTAL!
8
-If you think you found a bug, please mail me, thanks! robos@muon.de"
9
-
10
-#This is the makefile generator for vobcopy,
11
-#The original makefile was written by rosenauer. These things
12
-#below here are variable definitions. They get substituted in the (CC) and
13
-#stuff places.
14
-
15
-
16
-#args check *new*
17
-#declare -i i=0
18
-if $# != 0
19
-then
20
- while $# != 0
21
- do
22
-
23
- if "$1" != "${1#--prefix=}" ; then
24
- prefix="${1#--prefix=}"
25
- prefix_provided=true
26
- echo "prefix = $prefix"
27
- fi
28
-
29
- if "$1" != "${1#--bindir=}" ; then
30
- bindir="${1#--bindir=}"
31
- bindir_provided=true
32
- echo "bindir here: $bindir"
33
- fi
34
-
35
- if "$1" != "${1#--mandir=}" ; then
36
- mandir="${1#--mandir=}"
37
- mandir_provided=true
38
- echo "with mandir here: $mandir"
39
- fi
40
-
41
- if "$1" != "${1#--docdir=}" ; then
42
- docdir="${1#--docdir=}"
43
- docdir_provided=true
44
- echo "with docdir here: $docdir"
45
- fi
46
-
47
- if "$1" != "${1#--with-lfs}" ; then
48
- echo "with large-file support"
49
- LFS="LFS = -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE"
50
- lfs_provided=true
51
- fi
52
-
53
- if "$1" != "${1#--with-dvdread-libs=}" ; then
54
- libs_dir="${1#--with-dvdread-libs=}"
55
- libs_dir_provided=true
56
- echo "with dvdread-libs here: $libs_dir"
57
- fi
58
-
59
- if "$1" != "${1%help}" ; then
60
- echo "--prefix=PREFIX install architecture-independent files in PREFIX /usr/local"
61
- echo "--bindir=DIR user executables in DIR PREFIX/bin"
62
- echo "--mandir=DIR man documentation in DIR PREFIX/bin"
63
- echo "--docdir=DIR package documentation in DIR PREFIX/share/doc/vobcopy"
64
- echo "--with-dvdread-libs=DIR directory where dvdread lib (dvd_reader.h) is installed"
65
- echo "--with-lfs Enable large File System support"
66
- exit 1
67
- fi
68
- shift 1
69
- done
70
-fi
71
-
72
-if -z $prefix_provided
73
-then
74
- prefix=/usr/local
75
-fi
76
-
77
-if -z $mandir_provided
78
-then
79
- mandir=\${PREFIX}/man
80
-fi
81
-
82
-if -z $docdir_provided
83
-then
84
- docdir=\${PREFIX}/share/doc/vobcopy
85
-fi
86
-
87
-if -z $bindir_provided
88
-then
89
- bindir=\${PREFIX}/bin
90
-fi
91
-
92
-
93
-#see if libdvdread is installed
94
-if -z $libs_dir_provided
95
-then
96
-
97
- if ! -e /usr/local/include/dvdread ; then
98
- if ! -e /usr/include/dvdread ; then #muss hier das then hin??
99
- echo "Do you have libdvdread installed? I (the script) can't
100
-find it"
101
- echo "You probably need the libdvdread-devel package or something similar installed. If you already have:"
102
- echo "Please provide the path to dvdreader.h after
103
-./configure --with-dvdread-libs="
104
- echo "And please mail me the location so that I can fix the
105
-makefile to robos@muon.de, thanks!"
106
- exit 1
107
- else
108
- echo "libdvdread found"
109
- libs_dir=/usr/
110
-# libs_dir=/usr/include
111
- fi
112
- else
113
- echo "libdvdread found"
114
- libs_dir=/usr/local/
115
-# libs_dir=/usr/local/include
116
- fi
117
-else
118
-# Remove the following if...fi if the program complains about non-existing
119
-# headers when they really are there...
120
- if ! -e $libs_dir/include/dvdread ; then
121
- echo "You specified that libdvdread is installed at $libs_dir. However"
122
- echo "I (the script) am unable to find the header files at"
123
- echo "$libs_dir/include/dvdread."
124
- echo "If they really are there, edit the configure.sh and remove"
125
- echo "this check."
126
- exit 1
127
- fi
128
-fi
129
-
130
-
131
-#I hope this is a test to see if the system is largefile ready
132
-if -z $lfs_provided
133
-then
134
- if grep "ftello64" /usr/include/stdio.h >/dev/null 2>&1
135
- then
136
- echo "largefile support found"
137
- LFS="LFS = -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE"
138
- else
139
- echo "no large-file support found (by me, the stupid script)"
140
- echo "large file support is necessary if you want to output files
141
- larger than 2GB"
142
- echo "please append --with-lfs to ./configure, else lfs is disabled"
143
- LFS="LFS ="
144
- fi
145
-fi
146
-
147
-
148
-#FreeBSD needs libgnugetopt (kern.osreldate < 500041)
149
-#if `uname -s` = FreeBSD -a \
150
-# `sysctl -n kern.osreldate 2> /dev/null` -lt 500041 ; then
151
-if `uname -s` = FreeBSD ; then
152
- if `sysctl -n kern.osreldate 2> /dev/null` -lt 500041 ; then
153
- LDFLAGS="LDFLAGS += -ldvdread -L/usr/local/lib -lgnugetopt"
154
- else
155
- LDFLAGS="LDFLAGS += -ldvdread -L$libs_dir/lib"
156
- fi
157
-elif `uname -m` = x86_64 ; then #for ia64/AMD64 libraries
158
- LDFLAGS="LDFLAGS += -ldvdread -L$libs_dir/lib64"
159
-else
160
- LDFLAGS="LDFLAGS += -ldvdread -L$libs_dir/lib"
161
-fi
162
-
163
-#Solaris 9 needs -lrt
164
-if `uname -a | grep "SunOS solaris 5.9" ` ; then
165
- LDFLAGS="+LDFLAGS += -ldvdread -lrt -L/usr//lib"
166
-fi
167
-
168
-
169
-
170
-#see if a Makefile is present - and kill it ;-)
171
-if -e ./Makefile ; then
172
- rm -f ./Makefile
173
-fi
174
-
175
-#write the Makefile
176
-touch Makefile
177
-
178
-echo "
179
-#This is the makefile for vobcopy, mainly written by rosenauer. These things
180
-#below here are variable definitions. They get substituted in the (CC) and
181
-#stuff places.
182
-DESTDIR =
183
-CC ?= gcc
184
-#PREFIX += /usr/local
185
-#BINDIR = \${PREFIX}/bin
186
-#MANDIR = \${PREFIX}/man
187
-PREFIX += $prefix
188
-BINDIR = $bindir
189
-MANDIR = $mandir
190
-DOCDIR = $docdir
191
-$LFS
192
-CFLAGS += -I$libs_dir/include
193
-$LDFLAGS
194
-
195
-#This specifies the conversion from .c to .o
196
-.c.o:
197
- \$(CC) \$(LFS) \$(CFLAGS) -c \$<
198
-
199
-#Here is implicitly said that for vobcopy to be made *.o has to be made first
200
-#make is kinda intelligent in that aspect.
201
-vobcopy: vobcopy.o dvd.o
202
- \$(CC) -o vobcopy vobcopy.o dvd.o \${LDFLAGS}
203
-
204
-disable_lfs:
205
- \$(CC) \$(CFLAGS) -c vobcopy.c
206
- \$(CC) \$(CFLAGS) -c dvd.c
207
- \$(CC) -o vobcopy vobcopy.o dvd.o -ldvdread
208
-
209
-debug:
210
- \$(CC) -c vobcopy.c -Wall -ggdb -pedantic \$(CFLAGS) \$(LFS)
211
- \$(CC) -c dvd.c -Wall -ggdb -pedantic \$(CFLAGS) \$(LFS)
212
- \$(CC) -o vobcopy vobcopy.o dvd.o -ldvdread
213
-
214
-deb:
215
-
216
- echo \"this here is really really experimental...\"
217
- dpkg-buildpackage -rfakeroot -us -uc -tc
218
-
219
-
220
-clean :
221
- rm -f vobcopy vobcopy.o dvd.o
222
-
223
-distclean :
224
- rm -f vobcopy.o dvd.o *~
225
-
226
-install:
227
-# mkdir -p \$(MANDIR)/man1
228
-# cp vobcopy \$(BINDIR)/vobcopy
229
-# cp vobcopy.1 \$(MANDIR)/man1/vobcopy.1
230
- install -d -m 755 \$(DESTDIR)/\$(BINDIR)
231
- install -d -m 755 \$(DESTDIR)/\$(MANDIR)/man1
232
- install -d -m 755 \$(DESTDIR)/\$(MANDIR)/de/man1
233
- install -d -m 755 \$(DESTDIR)/\$(DOCDIR)
234
- install -m 755 vobcopy \$(DESTDIR)/\$(BINDIR)/vobcopy
235
- install -m 644 vobcopy.1 \$(DESTDIR)/\$(MANDIR)/man1/vobcopy.1
236
- install -m 644 vobcopy.1.de \$(DESTDIR)/\$(MANDIR)/de/man1/vobcopy.1
237
- install -m 644 COPYING Changelog README Release-Notes TODO \$(DESTDIR)/\$(DOCDIR)
238
-
239
-uninstall:
240
- rm -f \$(DESTDIR)/\$(BINDIR)/vobcopy
241
- rm -f \$(DESTDIR)/\$(MANDIR)/man1/vobcopy.1
242
- rm -f \$(DESTDIR)/\$(MANDIR)/de/man1/vobcopy.1
243
- rm -f \$(DESTDIR)/\$(DOCDIR)/{COPYING,Changelog,README,Release-Notes,TODO}
244
- rmdir --parents \$(DESTDIR)/\$(BINDIR) 2>/dev/null
245
- rmdir --parents \$(DESTDIR)/\$(MANDIR)/man1 2>/dev/null
246
- rmdir --parents \$(DESTDIR)/\$(MANDIR)/de/man1 2>/dev/null
247
- rmdir --parents \$(DESTDIR)/\$(DOCDIR) 2>/dev/null
248
-" > Makefile
249
-
250
-echo "Next thing type \"make\" and then \"make install\""
251
vobcopy-1.2.0.tar.bz2/vobcopy.pot
Deleted
875
1
2
-# SOME DESCRIPTIVE TITLE.
3
-# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
4
-# This file is distributed under the same license as the PACKAGE package.
5
-# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
6
-#
7
-#, fuzzy
8
-msgid ""
9
-msgstr ""
10
-"Project-Id-Version: PACKAGE VERSION\n"
11
-"Report-Msgid-Bugs-To: \n"
12
-"POT-Creation-Date: 2008-03-31 23:48+0200\n"
13
-"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
14
-"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
15
-"Language-Team: LANGUAGE <LL@li.org>\n"
16
-"MIME-Version: 1.0\n"
17
-"Content-Type: text/plain; charset=CHARSET\n"
18
-"Content-Transfer-Encoding: 8bit\n"
19
-
20
-#: vobcopy.c:189
21
-#, c-format
22
-msgid "Error The thing behind -a has to be a number! \n"
23
-msgstr ""
24
-
25
-#: vobcopy.c:196
26
-#, c-format
27
-msgid "Hint Um, you set angle to 0, try 1 instead ;-)\n"
28
-msgstr ""
29
-
30
-#: vobcopy.c:204
31
-#, c-format
32
-msgid "Error The thing behind -b has to be a number! \n"
33
-msgstr ""
34
-
35
-#: vobcopy.c:211 vobcopy.c:234 vobcopy.c:265 vobcopy.c:287
36
-#, c-format
37
-msgid "Error Wrong suffix behind -b, only b,k,m or g \n"
38
-msgstr ""
39
-
40
-#: vobcopy.c:248
41
-#, c-format
42
-msgid "Error The thing behind -c has to be a number! \n"
43
-msgstr ""
44
-
45
-#: vobcopy.c:258
46
-#, c-format
47
-msgid "Error The thing behind -e has to be a number! \n"
48
-msgstr ""
49
-
50
-#: vobcopy.c:310
51
-#, c-format
52
-msgid "Error Erm, the number comes behind -n ... \n"
53
-msgstr ""
54
-
55
-#: vobcopy.c:313
56
-#, c-format
57
-msgid ""
58
-"Hint You use -i. Normally this is not necessary, vobcopy finds the input "
59
-"dir by itself. This option is only there if vobcopy makes trouble.\n"
60
-msgstr ""
61
-
62
-#: vobcopy.c:314
63
-#, c-format
64
-msgid ""
65
-"Hint If vobcopy makes trouble, please mail me so that I can fix this "
66
-"(robos@muon.de). Thanks\n"
67
-msgstr ""
68
-
69
-#: vobcopy.c:318
70
-#, c-format
71
-msgid ""
72
-"Error Please don't use -i /dev/something in this version, only the next "
73
-"version will support this again.\n"
74
-msgstr ""
75
-
76
-#: vobcopy.c:319
77
-#, c-format
78
-msgid ""
79
-"Hint Please use the mount point instead (/cdrom, /dvd, /mnt/dvd or "
80
-"something)\n"
81
-msgstr ""
82
-
83
-#: vobcopy.c:340
84
-#, c-format
85
-msgid "Error The thing behind -n has to be a number! \n"
86
-msgstr ""
87
-
88
-#: vobcopy.c:350 vobcopy.c:382
89
-#, c-format
90
-msgid "Hint Erm, the number comes behind -n ... \n"
91
-msgstr ""
92
-
93
-#: vobcopy.c:376
94
-#, c-format
95
-msgid "Error Please specify output dirs in this order: -o -1 -2 -3 -4 \n"
96
-msgstr ""
97
-
98
-#: vobcopy.c:410
99
-#, c-format
100
-msgid "Error The thing behind -F has to be a number! \n"
101
-msgstr ""
102
-
103
-#: vobcopy.c:416
104
-#, c-format
105
-msgid ""
106
-"Hint The largest value for -F is %d at the moment - used that one...\n"
107
-msgstr ""
108
-
109
-#: vobcopy.c:427
110
-#, c-format
111
-msgid "Error The thing behind -w has to be a number! \n"
112
-msgstr ""
113
-
114
-#: vobcopy.c:433
115
-#, c-format
116
-msgid "Hint Negative minutes aren't allowed - disabling watchdog.\n"
117
-msgstr ""
118
-
119
-#: vobcopy.c:479 vobcopy.c:493
120
-#, c-format
121
-msgid "Error Wrong option.\n"
122
-msgstr ""
123
-
124
-#: vobcopy.c:486
125
-#, c-format
126
-msgid "Error %s was compiled without support for long options.\n"
127
-msgstr ""
128
-
129
-#: vobcopy.c:499 vobcopy.c:2022
130
-#, c-format
131
-msgid "Vobcopy "
132
-msgstr ""
133
-
134
-#: vobcopy.c:500
135
-#, c-format
136
-msgid ""
137
-"Hint All lines starting with \"libdvdread:\" are not from vobcopy but from "
138
-"the libdvdread-library\n"
139
-msgstr ""
140
-
141
-#: vobcopy.c:511
142
-#, c-format
143
-msgid ""
144
-"\n"
145
-"Error Hmm, the path length of your current directory is really large "
146
-"(>255)\n"
147
-msgstr ""
148
-
149
-#: vobcopy.c:512
150
-#, c-format
151
-msgid "Hint Change to a path with shorter path length pleeeease ;-)\n"
152
-msgstr ""
153
-
154
-#: vobcopy.c:526
155
-#, c-format
156
-msgid "Hint Quiet mode - All messages will now end up in %s\n"
157
-msgstr ""
158
-
159
-#: vobcopy.c:575
160
-#, c-format
161
-msgid "Info Uhu, super-verbose\n"
162
-msgstr ""
163
-
164
-#: vobcopy.c:615
165
-#, c-format
166
-msgid "Info The log-file is written to %s\n"
167
-msgstr ""
168
-
169
-#: vobcopy.c:616
170
-#, c-format
171
-msgid ""
172
-"Hint Make sure that vobcopy doesn't have to ask questions (like "
173
-"overwriting of old files), these questions end up in the log file so you "
174
-"don't see them...\n"
175
-msgstr ""
176
-
177
-#: vobcopy.c:617
178
-#, c-format
179
-msgid ""
180
-"Hint If you don't like that position, use -L /path/to/logfile/ instead of -"
181
-"v -v\n"
182
-msgstr ""
183
-
184
-#: vobcopy.c:633
185
-#, c-format
186
-msgid "--------------------------------------------------------------------------------\n"
187
-msgstr ""
188
-
189
-#: vobcopy.c:634
190
-#, c-format
191
-msgid "Info Called: %s\n"
192
-msgstr ""
193
-
194
-#: vobcopy.c:640
195
-#, c-format
196
-msgid ""
197
-"\n"
198
-"Error There can be only one: either -m or -n...'\n"
199
-msgstr ""
200
-
201
-#: vobcopy.c:653
202
-#, c-format
203
-msgid ""
204
-"\n"
205
-"Error Bloody path to long '%s'\n"
206
-msgstr ""
207
-
208
-#: vobcopy.c:665
209
-#, c-format
210
-msgid "Error Could not get the device which belongs to the given path!\n"
211
-msgstr ""
212
-
213
-#: vobcopy.c:678
214
-#, c-format
215
-msgid "Error Could not get the device and path! Maybe not mounted the dvd?\n"
216
-msgstr ""
217
-
218
-#: vobcopy.c:688
219
-#, c-format
220
-msgid ""
221
-"\n"
222
-"Info Path to dvd: %s\n"
223
-msgstr ""
224
-
225
-#: vobcopy.c:692
226
-#, c-format
227
-msgid ""
228
-"\n"
229
-"Error Path thingy didn't work '%s'\n"
230
-msgstr ""
231
-
232
-#: vobcopy.c:693
233
-#, c-format
234
-msgid "Error Try something like -i /cdrom, /dvd or /mnt/dvd \n"
235
-msgstr ""
236
-
237
-#: vobcopy.c:695
238
-#, c-format
239
-msgid ""
240
-"Hint By the way, you have %i cdroms|dvds mounted, that probably caused the "
241
-"problem\n"
242
-msgstr ""
243
-
244
-#: vobcopy.c:706
245
-#, c-format
246
-msgid "Info Name of the dvd: %s\n"
247
-msgstr ""
248
-
249
-#: vobcopy.c:722
250
-#, c-format
251
-msgid "Error Can't open VMG info.\n"
252
-msgstr ""
253
-
254
-#: vobcopy.c:754
255
-#, c-format
256
-msgid "Info There are %d titles on this DVD.\n"
257
-msgstr ""
258
-
259
-#: vobcopy.c:758
260
-#, c-format
261
-msgid "Error Invalid title %d.\n"
262
-msgstr ""
263
-
264
-#: vobcopy.c:769
265
-#, c-format
266
-msgid "Info There are %i chapters on the dvd.\n"
267
-msgstr ""
268
-
269
-#: vobcopy.c:770
270
-#, c-format
271
-msgid "Info Most chapters has title %i with %d chapters.\n"
272
-msgstr ""
273
-
274
-#: vobcopy.c:775 vobcopy.c:818
275
-#, c-format
276
-msgid "Info All titles:\n"
277
-msgstr ""
278
-
279
-#: vobcopy.c:780
280
-#, c-format
281
-msgid "Info Title %i has %d chapters.\n"
282
-msgstr ""
283
-
284
-#: vobcopy.c:783
285
-#, c-format
286
-msgid "Info Title %i has %d chapter.\n"
287
-msgstr ""
288
-
289
-#: vobcopy.c:793
290
-#, c-format
291
-msgid "Error Invalid chapter %d\n"
292
-msgstr ""
293
-
294
-#: vobcopy.c:807
295
-#, c-format
296
-msgid ""
297
-"\n"
298
-"Info There are %d angles on this dvd.\n"
299
-msgstr ""
300
-
301
-#: vobcopy.c:810
302
-#, c-format
303
-msgid "Error Invalid angle %d\n"
304
-msgstr ""
305
-
306
-#: vobcopy.c:823
307
-#, c-format
308
-msgid "Info Title %i has %d angles.\n"
309
-msgstr ""
310
-
311
-#: vobcopy.c:826
312
-#, c-format
313
-msgid "Info Title %i has %d angle.\n"
314
-msgstr ""
315
-
316
-#: vobcopy.c:844
317
-#, c-format
318
-msgid ""
319
-"\n"
320
-"Error Something went wrong during the size detection of the"
321
-msgstr ""
322
-
323
-#: vobcopy.c:845
324
-#, c-format
325
-msgid ""
326
-"\n"
327
-"Error vobs, size check at the end won't work (probably), but I continue "
328
-"anyway\n"
329
-"\n"
330
-msgstr ""
331
-
332
-#: vobcopy.c:874
333
-#, c-format
334
-msgid ""
335
-"\n"
336
-"Info Setting watchdog timer to %d minutes\n"
337
-msgstr ""
338
-
339
-#: vobcopy.c:884 vobcopy.c:1364 vobcopy.c:1444 vobcopy.c:1514
340
-#, c-format
341
-msgid ""
342
-"\n"
343
-"Info DVD-name: %s\n"
344
-msgstr ""
345
-
346
-#: vobcopy.c:885 vobcopy.c:1445
347
-#, c-format
348
-msgid "Info Disk free: %.0f MB\n"
349
-msgstr ""
350
-
351
-#: vobcopy.c:886 vobcopy.c:1447
352
-#, c-format
353
-msgid "Info Vobs size: %.0f MB\n"
354
-msgstr ""
355
-
356
-#: vobcopy.c:911
357
-#, c-format
358
-msgid "Info Writing files to this dir: %s\n"
359
-msgstr ""
360
-
361
-#: vobcopy.c:924
362
-#, c-format
363
-msgid ""
364
-"Error Hmm, weird, the dir video_ts|VIDEO_TS on the dvd couldn't be opened\n"
365
-msgstr ""
366
-
367
-#: vobcopy.c:925
368
-#, c-format
369
-msgid "Error The dir to be opened was: %s\n"
370
-msgstr ""
371
-
372
-#: vobcopy.c:926
373
-#, c-format
374
-msgid "Hint Please mail me what your vobcopy call plus -v -v spits out\n"
375
-msgstr ""
376
-
377
-#: vobcopy.c:1001
378
-#, c-format
379
-msgid ""
380
-"\n"
381
-"Hint File on dvd ends in \";?\" (%s)\n"
382
-msgstr ""
383
-
384
-#: vobcopy.c:1009
385
-#, c-format
386
-msgid "Info Writing to %s \n"
387
-msgstr ""
388
-
389
-#: vobcopy.c:1014
390
-#, c-format
391
-msgid ""
392
-"\n"
393
-"Error File '%s' already exists, overwrite, skip or quit? "
394
-msgstr ""
395
-
396
-#: vobcopy.c:1026 vobcopy.c:1071 vobcopy.c:1097 vobcopy.c:1610 vobcopy.c:1661
397
-#: vobcopy.c:1677 vobcopy.c:1707
398
-#, c-format
399
-msgid ""
400
-"\n"
401
-"Error Error opening file %s\n"
402
-msgstr ""
403
-
404
-#: vobcopy.c:1027 vobcopy.c:1072 vobcopy.c:1098 vobcopy.c:1141 vobcopy.c:1176
405
-#: vobcopy.c:1611 vobcopy.c:1750
406
-#, c-format
407
-msgid "Error Error: %s\n"
408
-msgstr ""
409
-
410
-#: vobcopy.c:1048
411
-#, c-format
412
-msgid ""
413
-"\n"
414
-"Hint Please choose overwrite, skip, or quit the next time ;-)\n"
415
-msgstr ""
416
-
417
-#: vobcopy.c:1059 vobcopy.c:1599
418
-#, c-format
419
-msgid ""
420
-"\n"
421
-"Error File '%s' already exists, overwrite or quit? \n"
422
-msgstr ""
423
-
424
-#: vobcopy.c:1088
425
-#, c-format
426
-msgid ""
427
-"\n"
428
-"Hint Please choose overwrite or quit the next time ;-)\n"
429
-msgstr ""
430
-
431
-#: vobcopy.c:1140 vobcopy.c:1175 vobcopy.c:1287
432
-#, c-format
433
-msgid ""
434
-"\n"
435
-"Error Error writing to %s \n"
436
-msgstr ""
437
-
438
-#: vobcopy.c:1146 vobcopy.c:1181
439
-#, c-format
440
-msgid "%4.0fkB of %4.0fkB written\r"
441
-msgstr ""
442
-
443
-#: vobcopy.c:1149 vobcopy.c:1184 vobcopy.c:1317 vobcopy.c:1720
444
-#, c-format
445
-msgid "\n"
446
-msgstr ""
447
-
448
-#: vobcopy.c:1154 vobcopy.c:1189 vobcopy.c:1322 vobcopy.c:1773
449
-#, c-format
450
-msgid ""
451
-"\n"
452
-"Error error writing to %s \n"
453
-msgstr ""
454
-
455
-#: vobcopy.c:1155 vobcopy.c:1190 vobcopy.c:1323 vobcopy.c:1774 vobcopy.c:2144
456
-#, c-format
457
-msgid "Error error: %s\n"
458
-msgstr ""
459
-
460
-#: vobcopy.c:1237
461
-#, c-format
462
-msgid "Info Can't stat() %s.\n"
463
-msgstr ""
464
-
465
-#: vobcopy.c:1243
466
-#, c-format
467
-msgid "Info Vob %d %d (%s) has a size of %lli\n"
468
-msgstr ""
469
-
470
-#: vobcopy.c:1257
471
-#, c-format
472
-msgid "Info Start of %s at %d blocks \n"
473
-msgstr ""
474
-
475
-#: vobcopy.c:1279
476
-#, c-format
477
-msgid "Warn Had to skip %d blocks! "
478
-msgstr ""
479
-
480
-#: vobcopy.c:1288
481
-#, c-format
482
-msgid "Error Error: %s, errno: %d \n"
483
-msgstr ""
484
-
485
-#: vobcopy.c:1301 vobcopy.c:1311
486
-#, c-format
487
-msgid "%4.0fMB of %4.0fMB written "
488
-msgstr ""
489
-
490
-#: vobcopy.c:1304
491
-#, c-format
492
-msgid "( %3.1f %% ) \r"
493
-msgstr ""
494
-
495
-#: vobcopy.c:1314
496
-#, c-format
497
-msgid "( 100.0%% ) \r"
498
-msgstr ""
499
-
500
-#: vobcopy.c:1340
501
-#, c-format
502
-msgid ""
503
-"Error Not enough free space on the destination dir. Please choose another "
504
-"one or -f\n"
505
-msgstr ""
506
-
507
-#: vobcopy.c:1341
508
-#, c-format
509
-msgid "Error or dirs behind -1, -2 ... are NOT allowed with -m!\n"
510
-msgstr ""
511
-
512
-#: vobcopy.c:1356
513
-#, c-format
514
-msgid "Info Using Title: %i\n"
515
-msgstr ""
516
-
517
-#: vobcopy.c:1357
518
-#, c-format
519
-msgid "Info Title has %d chapters and %d angles\n"
520
-msgstr ""
521
-
522
-#: vobcopy.c:1358
523
-#, c-format
524
-msgid "Info Using Chapter: %i\n"
525
-msgstr ""
526
-
527
-#: vobcopy.c:1359
528
-#, c-format
529
-msgid "Info Using Angle: %i\n"
530
-msgstr ""
531
-
532
-#: vobcopy.c:1365
533
-#, c-format
534
-msgid "Info Disk free: %f MB\n"
535
-msgstr ""
536
-
537
-#: vobcopy.c:1366
538
-#, c-format
539
-msgid "Info Vobs size: %f MB\n"
540
-msgstr ""
541
-
542
-#: vobcopy.c:1381
543
-#, c-format
544
-msgid "Error Can't open the title %d info file.\n"
545
-msgstr ""
546
-
547
-#: vobcopy.c:1408
548
-#, c-format
549
-msgid "Error Can't open title VOBS (VTS_%02d_1.VOB).\n"
550
-msgstr ""
551
-
552
-#: vobcopy.c:1425
553
-#, c-format
554
-msgid "Info Vob_size was 0\n"
555
-msgstr ""
556
-
557
-#: vobcopy.c:1432
558
-#, c-format
559
-msgid ""
560
-"\n"
561
-"Info Difference between vobsize read from cd and size returned from "
562
-"libdvdread:\n"
563
-msgstr ""
564
-
565
-#: vobcopy.c:1437
566
-#, c-format
567
-msgid ""
568
-"Info Vob_size (stat) = %lu\n"
569
-"Info libdvdsize = %lu\n"
570
-msgstr ""
571
-
572
-#: vobcopy.c:1461
573
-#, c-format
574
-msgid ""
575
-"\n"
576
-"Info Disk free: %.0f MB"
577
-msgstr ""
578
-
579
-#: vobcopy.c:1462
580
-#, c-format
581
-msgid ""
582
-"\n"
583
-"Info Vobs size: %.0f MB"
584
-msgstr ""
585
-
586
-#: vobcopy.c:1464
587
-#, c-format
588
-msgid ""
589
-"\n"
590
-"Error Hmm, better change to a dir with enough space left or call with -f "
591
-"(force) \n"
592
-msgstr ""
593
-
594
-#: vobcopy.c:1468 vobcopy.c:1469
595
-#, c-format
596
-msgid "Error Hmm, statfs (statvfs) seems not to work on that directory. \n"
597
-msgstr ""
598
-
599
-#: vobcopy.c:1470
600
-#, c-format
601
-msgid ""
602
-"Hint Nevertheless, do you want vobcopy to continue y or do you want to "
603
-"check for \n"
604
-msgstr ""
605
-
606
-#: vobcopy.c:1471
607
-#, c-format
608
-msgid "Hint enough space first q?\n"
609
-msgstr ""
610
-
611
-#: vobcopy.c:1481
612
-#, c-format
613
-msgid "Info y pressed - force write\n"
614
-msgstr ""
615
-
616
-#: vobcopy.c:1487
617
-#, c-format
618
-msgid "Info n/q pressed\n"
619
-msgstr ""
620
-
621
-#: vobcopy.c:1493
622
-#, c-format
623
-msgid "Error Please choose y to continue or n to quit\n"
624
-msgstr ""
625
-
626
-#: vobcopy.c:1518
627
-#, c-format
628
-msgid ""
629
-"\n"
630
-"Info Your-name for the dvd: %s\n"
631
-msgstr ""
632
-
633
-#: vobcopy.c:1534
634
-#, c-format
635
-msgid "Info Free space for -o dir: %.0f\n"
636
-msgstr ""
637
-
638
-#: vobcopy.c:1563
639
-#, c-format
640
-msgid "Info Free space for -%i dir: %.0f\n"
641
-msgstr ""
642
-
643
-#: vobcopy.c:1579
644
-#, c-format
645
-msgid "Info Taken max_filesize_in_blocks(2GB version): %.0f\n"
646
-msgstr ""
647
-
648
-#: vobcopy.c:1587
649
-#, c-format
650
-msgid "Info Taken max_filesize_in_blocks(lfs version): %.0f\n"
651
-msgstr ""
652
-
653
-#: vobcopy.c:1627
654
-#, c-format
655
-msgid ""
656
-"\n"
657
-"Hint please choose overwrite or quit the next time ;-)\n"
658
-msgstr ""
659
-
660
-#: vobcopy.c:1643
661
-#, c-format
662
-msgid "Error Seems your platter is full...\n"
663
-msgstr ""
664
-
665
-#: vobcopy.c:1646
666
-#, c-format
667
-msgid ""
668
-"\n"
669
-"Error File '%s' already exists, overwrite, append, quit? \n"
670
-msgstr ""
671
-
672
-#: vobcopy.c:1683
673
-#, c-format
674
-msgid "Info User chose append\n"
675
-msgstr ""
676
-
677
-#: vobcopy.c:1694
678
-#, c-format
679
-msgid ""
680
-"\n"
681
-"Hint Please choose overwrite, append, quit the next time ;-)\n"
682
-msgstr ""
683
-
684
-#: vobcopy.c:1746
685
-#, c-format
686
-msgid ""
687
-"\n"
688
-"Error Write() error\n"
689
-msgstr ""
690
-
691
-#: vobcopy.c:1762
692
-#, c-format
693
-msgid "%4.0fMB of %4.0fMB written (%.0f %%)\r"
694
-msgstr ""
695
-
696
-#: vobcopy.c:1778
697
-#, c-format
698
-msgid "%4.0fMB of %4.0fMB written ( 100.0 %%)\r"
699
-msgstr ""
700
-
701
-#: vobcopy.c:1786
702
-#, c-format
703
-msgid "Info max_filesize_in_blocks %8.0f \n"
704
-msgstr ""
705
-
706
-#: vobcopy.c:1787
707
-#, c-format
708
-msgid "Info offset at the end %8.0f \n"
709
-msgstr ""
710
-
711
-#: vobcopy.c:1788
712
-#, c-format
713
-msgid "Info file_size_in_blocks %8.0f \n"
714
-msgstr ""
715
-
716
-#: vobcopy.c:1803
717
-#, c-format
718
-msgid ""
719
-"\n"
720
-"Error File size (%.0f) of %s differs largely from that on dvd, therefore "
721
-"keeps it's .partial\n"
722
-msgstr ""
723
-
724
-#: vobcopy.c:1827
725
-#, c-format
726
-msgid "Info Single file size (of copied file %s ) %.0f\n"
727
-msgstr ""
728
-
729
-#: vobcopy.c:1828
730
-#, c-format
731
-msgid "Info Cumulated size %.0f\n"
732
-msgstr ""
733
-
734
-#: vobcopy.c:1832
735
-#, c-format
736
-msgid "Info Successfully copied file %s\n"
737
-msgstr ""
738
-
739
-#: vobcopy.c:1839
740
-#, c-format
741
-msgid "Info # of separate files: %i\n"
742
-msgstr ""
743
-
744
-#: vobcopy.c:1849
745
-#, c-format
746
-msgid ""
747
-"\n"
748
-"Info Copying finished! Let's see if the sizes match (roughly)\n"
749
-msgstr ""
750
-
751
-#: vobcopy.c:1850
752
-#, c-format
753
-msgid "Info Combined size of title-vobs: %.0f (%.0f MB)\n"
754
-msgstr ""
755
-
756
-#: vobcopy.c:1851
757
-#, c-format
758
-msgid "Info Copied size (size on disk): %.0f (%.0f MB)\n"
759
-msgstr ""
760
-
761
-#: vobcopy.c:1855
762
-#, c-format
763
-msgid "Error Hmm, the sizes differ by more than %d\n"
764
-msgstr ""
765
-
766
-#: vobcopy.c:1856
767
-#, c-format
768
-msgid "Hint Take a look with MPlayer if the output is ok\n"
769
-msgstr ""
770
-
771
-#: vobcopy.c:1860
772
-#, c-format
773
-msgid "Info Everything seems to be fine, the sizes match pretty good ;-)\n"
774
-msgstr ""
775
-
776
-#: vobcopy.c:1861
777
-#, c-format
778
-msgid "Hint Have a lot of fun!\n"
779
-msgstr ""
780
-
781
-#: vobcopy.c:1910 vobcopy.c:1954
782
-#, c-format
783
-msgid "Info Used the linux statfs\n"
784
-msgstr ""
785
-
786
-#: vobcopy.c:1914 vobcopy.c:1958
787
-#, c-format
788
-msgid "Info Used statvfs\n"
789
-msgstr ""
790
-
791
-#: vobcopy.c:1928
792
-#, c-format
793
-msgid "Info In freespace_getter:for %s : %.0f free\n"
794
-msgstr ""
795
-
796
-#: vobcopy.c:1929
797
-#, c-format
798
-msgid "Info In freespace_getter:bavail %ld * bsize %ld = above\n"
799
-msgstr ""
800
-
801
-#: vobcopy.c:1972
802
-#, c-format
803
-msgid "Info In usedspace_getter:for %s : %.0f used\n"
804
-msgstr ""
805
-
806
-#: vobcopy.c:1973
807
-#, c-format
808
-msgid "Info In usedspace_getter:part1 %ld, part2 %ld\n"
809
-msgstr ""
810
-
811
-#: vobcopy.c:2012
812
-#, c-format
813
-msgid ""
814
-"\n"
815
-"Info Outputting to %s"
816
-msgstr ""
817
-
818
-#: vobcopy.c:2044
819
-#, c-format
820
-msgid "-l (large-file support for files > 2GB) \n"
821
-msgstr ""
822
-
823
-#: vobcopy.c:2075
824
-#, c-format
825
-msgid "Error Could not remove old filename: %s \n"
826
-msgstr ""
827
-
828
-#: vobcopy.c:2076
829
-#, c-format
830
-msgid "Hint This: %s is a hardlink to %s. Dunno what to do... \n"
831
-msgstr ""
832
-
833
-#: vobcopy.c:2085
834
-#, c-format
835
-msgid "Error File %s already exists! Gonna name the new one %s.dupe \n"
836
-msgstr ""
837
-
838
-#: vobcopy.c:2117
839
-#, c-format
840
-msgid "Error The directory %s already exists!\n"
841
-msgstr ""
842
-
843
-#: vobcopy.c:2118
844
-#, c-format
845
-msgid "Hint You can either continue writing to it or you can quit: "
846
-msgstr ""
847
-
848
-#: vobcopy.c:2136
849
-#, c-format
850
-msgid ""
851
-"\n"
852
-"Hint please choose continue or quit the next time ;-)\n"
853
-msgstr ""
854
-
855
-#: vobcopy.c:2143
856
-#, c-format
857
-msgid ""
858
-"Error Creating of directory %s\n"
859
-" failed! \n"
860
-msgstr ""
861
-
862
-#: vobcopy.c:2168
863
-#, c-format
864
-msgid ""
865
-"\n"
866
-"Info Timer expired - shooting myself in the head.\n"
867
-msgstr ""
868
-
869
-#: vobcopy.c:2174
870
-#, c-format
871
-msgid ""
872
-"\n"
873
-"Info Terminate signal received, exiting.\n"
874
-msgstr ""
875
vobcopy-1.2.1.tar.gz/.gitignore
Added
68
1
2
+*.o
3
+/.deps/
4
+/ABOUT-NLS
5
+/aclocal.m4
6
+/autom4te.cache/
7
+/compile
8
+/config.guess
9
+/config.h
10
+/config.h.in
11
+/config.log
12
+/config.rpath
13
+/config.status
14
+/config.sub
15
+/configure
16
+/depcomp
17
+/install-sh
18
+/intl/
19
+/m4/codeset.m4
20
+/m4/fcntl-o.m4
21
+/m4/gettext.m4
22
+/m4/glibc2.m4
23
+/m4/glibc21.m4
24
+/m4/iconv.m4
25
+/m4/intdiv0.m4
26
+/m4/intl.m4
27
+/m4/intldir.m4
28
+/m4/intlmacosx.m4
29
+/m4/intmax.m4
30
+/m4/inttypes-pri.m4
31
+/m4/inttypes_h.m4
32
+/m4/lcmessage.m4
33
+/m4/lib-ld.m4
34
+/m4/lib-link.m4
35
+/m4/lib-prefix.m4
36
+/m4/lock.m4
37
+/m4/longlong.m4
38
+/m4/nls.m4
39
+/m4/po.m4
40
+/m4/printf-posix.m4
41
+/m4/progtest.m4
42
+/m4/size_max.m4
43
+/m4/stdint_h.m4
44
+/m4/threadlib.m4
45
+/m4/uintmax_t.m4
46
+/m4/visibility.m4
47
+/m4/wchar_t.m4
48
+/m4/wint_t.m4
49
+/m4/xsize.m4
50
+/missing
51
+/po/Makefile.in.in
52
+/po/Makevars.template
53
+/po/POTFILES
54
+/po/Rules-quot
55
+/po/boldquot.sed
56
+/po/en@boldquot.header
57
+/po/en@quot.header
58
+/po/insert-header.sin
59
+/po/quot.sed
60
+/po/remove-potcdate.sed
61
+/po/remove-potcdate.sin
62
+/po/stamp-po
63
+/po/vobcopy.pot
64
+/stamp-h1
65
+/vobcopy
66
+Makefile
67
+Makefile.in
68
vobcopy-1.2.1.tar.gz/ChangeLog
Added
8
1
2
+2012-01-26 gettextize <bug-gnu-gettext@gnu.org>
3
+
4
+ * Makefile.am (SUBDIRS): New variable.
5
+ (ACLOCAL_AMFLAGS): New variable.
6
+ (EXTRA_DIST): Add config.rpath, m4/ChangeLog.
7
+ * configure.ac (AC_CONFIG_FILES): Add po/Makefile.in.
8
vobcopy-1.2.1.tar.gz/Makefile.am
Added
26
1
2
+ACLOCAL_AMFLAGS = -I m4
3
+SUBDIRS = po
4
+
5
+bin_PROGRAMS = vobcopy
6
+
7
+vobcopy_SOURCES = dvd.c vobcopy.c dvd.h vobcopy.h
8
+
9
+dist_man_MANS = vobcopy.1
10
+man1dedir = $(mandir)/de/man1
11
+man1de_DATA = intl/de/vobcopy.1
12
+
13
+EXTRA_DIST = m4/ChangeLog vobcopy.mo vobcopy.pot vobcopy.spec vobcopy.1.de
14
+
15
+dist_doc_DATA = alternative_programs.txt Changelog README Release-Notes TODO COPYING
16
+
17
+intl/de/vobcopy.1: vobcopy.1.de
18
+ $(MKDIR_P) intl/de
19
+ ln $< $@
20
+
21
+MOSTLYCLEANFILES = intl/de/vobcopy.1
22
+
23
+mostlyclean-local:
24
+ -rmdir intl/de
25
+ -rmdir intl
26
vobcopy-1.2.1.tar.gz/configure.ac
Added
46
1
2
+# Process this file with autoconf to produce a configure script.
3
+
4
+# header
5
+AC_PREREQ(2.69)
6
+AC_INIT(vobcopy,1.2.0,Robos <robos@muon.de>,vobcopy,http://vobcopy.org)
7
+AC_CONFIG_SRCDIR(vobcopy.c)
8
+AC_CONFIG_MACRO_DIR(m4)
9
+AC_CONFIG_HEADERS(config.h)
10
+
11
+# Enable automake
12
+AM_INIT_AUTOMAKE(foreign -Wall)
13
+
14
+# Internationalization support
15
+AM_GNU_GETTEXT(external)
16
+AM_GNU_GETTEXT_VERSION(0.20)
17
+
18
+# Checks for programs.
19
+AC_PROG_CC
20
+AX_CFLAGS_WARN_ALL
21
+AC_PROG_LN_S
22
+AC_PROG_MKDIR_P
23
+
24
+# Checks for libraries.
25
+AC_SEARCH_LIBS(DVDOpen, dvdread,,AC_MSG_ERROR(libdvdread not found))
26
+
27
+# Checks for header files.
28
+AC_CHECK_HEADERS(fcntl.h libintl.h features.h locale.h mntent.h stdint.h stdlib.h string.h sys/ioctl.h sys/mount.h sys/param.h sys/statfs.h sys/statvfs.h sys/vfs.h termios.h unistd.h getopt.h sys/mnttab.h assert.h dirent.h)
29
+
30
+# Checks for typedefs, structures, and compiler characteristics.
31
+AC_HEADER_STDBOOL
32
+AC_TYPE_OFF_T
33
+AC_TYPE_SIZE_T
34
+AC_TYPE_SSIZE_T
35
+
36
+# Checks for library functions.
37
+AC_FUNC_FSEEKO
38
+AC_SYS_LARGEFILE
39
+AC_FUNC_GETMNTENT
40
+AC_FUNC_MALLOC
41
+AC_CHECK_FUNCS(alarm fdatasync getcwd getmntent getmntinfo memset mkdir setlocale strcasecmp strerror strpbrk strstr getopt_long)
42
+
43
+# trailer
44
+AC_CONFIG_FILES(Makefile po/Makefile.in)
45
+AC_OUTPUT
46
vobcopy-1.2.0.tar.bz2/dvd.c -> vobcopy-1.2.1.tar.gz/dvd.c
Changed
110
1
2
3
#if ( !defined( __sun ) )
4
FILE *tmp_streamin;
5
+ FILE *tmp_streamin_fuseiso;
6
char tmp_bufferin MAX_STRING ;
7
char tmp_path 256 ;
8
int l = 0;
9
10
11
#if (defined(__linux__))
12
struct mntent* lmount_entry;
13
+ struct mntent* lmount_entry_fuseiso;
14
+
15
#endif
16
17
#if ( defined( __sun ) )
18
19
}
20
}
21
endmntent(tmp_streamin);
22
+
23
+ if (strcmp(lmount_entry->mnt_fsname, "fuseiso") == 0) {
24
+ fprintf ( stderr, "Info Fuseiso detected. I'm looking for the iso file\n");
25
+ // The directory is mounted by fuseiso. Here we try get the name & path of the ISO
26
+ char *homedir;
27
+ if ((homedir = getenv("HOME")) == NULL) {
28
+ // TODO
29
+ //homedir = getpwuid(getuid())->pw_dir;
30
+ }
31
+
32
+ if ((tmp_streamin_fuseiso = setmntent(strcat(homedir,"/.mtab.fuseiso"), "r"))){
33
+ while ((lmount_entry_fuseiso = getmntent(tmp_streamin_fuseiso))){
34
+ if (strcmp(lmount_entry_fuseiso->mnt_dir, path) == 0){
35
+ /* Found the mount point */
36
+ fprintf ( stderr, "Info Device %s mounted on %s\n", lmount_entry_fuseiso->mnt_fsname, lmount_entry_fuseiso->mnt_dir);
37
+ strcpy(device, lmount_entry_fuseiso->mnt_fsname);
38
+ mounted = TRUE;
39
+ break;
40
+ }
41
+ }
42
+ endmntent(tmp_streamin_fuseiso);
43
+ }
44
+ }
45
+
46
if (mounted)
47
{
48
/* device was set from /etc/mtab, no need to further check
49
50
path_to_vobs1278,
51
path_to_vobs2278,
52
path_to_vobs3278;
53
- char stat_path278;
54
+ char stat_path300;
55
int subvob;
56
FILE *tmp_streamin1;
57
struct stat buf;
58
59
/*
60
* extract the size of the files on dvd using stat
61
*/
62
- sprintf( stat_path, "%s_1.vob", path_to_vobs );
63
+ snprintf( stat_path, sizeof(stat_path), "%s_1.vob", path_to_vobs );
64
65
if( ( tmp_streamin1 = fopen( stat_path, "r" ) ) != NULL ) /*check if this path is correct*/
66
{
67
68
{
69
/* adjust path for next subvob */
70
subvob++;
71
- sprintf( stat_path, "%s_%d.vob", path_to_vobs, subvob );
72
+ snprintf( stat_path, sizeof(stat_path), "%s_%d.vob", path_to_vobs, subvob );
73
74
vob_size += buf.st_size;
75
}
76
return ( off_t ) vob_size;
77
}
78
79
- sprintf( stat_path, "%s_1.VOB", path_to_vobs1 );
80
+ snprintf( stat_path, sizeof(stat_path), "%s_1.VOB", path_to_vobs1 );
81
if( ( tmp_streamin1 = fopen( stat_path, "r" ) ) != NULL ) /*check if this path is correct */
82
{
83
fclose ( tmp_streamin1 );
84
85
{
86
/* adjust path for next subvob */
87
subvob++;
88
- sprintf( stat_path, "%s_%d.VOB", path_to_vobs1, subvob );
89
+ snprintf( stat_path, sizeof(stat_path), "%s_%d.VOB", path_to_vobs1, subvob );
90
91
vob_size += buf.st_size;
92
}
93
return ( off_t ) vob_size;
94
}
95
96
- sprintf( stat_path, "%s_1.VOB", path_to_vobs2 );
97
+ snprintf( stat_path, sizeof(stat_path), "%s_1.VOB", path_to_vobs2 );
98
if( ( tmp_streamin1 = fopen( stat_path, "r" ) ) != NULL ) /*check if this path is correct */
99
{
100
fclose ( tmp_streamin1 );
101
102
{
103
/* adjust path for next subvob */
104
subvob++;
105
- sprintf( stat_path, "%s_%d.vob", path_to_vobs3, subvob );
106
+ snprintf( stat_path, sizeof(stat_path), "%s_%d.vob", path_to_vobs3, subvob );
107
vob_size += buf.st_size;
108
}
109
return ( off_t ) vob_size;
110
vobcopy-1.2.1.tar.gz/m4
Added
2
1
+(directory)
2
vobcopy-1.2.1.tar.gz/m4/ChangeLog
Added
12
1
2
+2012-01-26 gettextize <bug-gnu-gettext@gnu.org>
3
+
4
+ * gettext.m4: New file, from gettext-0.18.1.
5
+ * iconv.m4: New file, from gettext-0.18.1.
6
+ * lib-ld.m4: New file, from gettext-0.18.1.
7
+ * lib-link.m4: New file, from gettext-0.18.1.
8
+ * lib-prefix.m4: New file, from gettext-0.18.1.
9
+ * nls.m4: New file, from gettext-0.18.1.
10
+ * po.m4: New file, from gettext-0.18.1.
11
+ * progtest.m4: New file, from gettext-0.18.1.
12
vobcopy-1.2.1.tar.gz/po
Added
2
1
+(directory)
2
vobcopy-1.2.1.tar.gz/po/Makevars
Added
43
1
2
+# Makefile variables for PO directory in any package using GNU gettext.
3
+
4
+# Usually the message domain is the same as the package name.
5
+DOMAIN = $(PACKAGE)
6
+
7
+# These two variables depend on the location of this directory.
8
+subdir = po
9
+top_builddir = ..
10
+
11
+# These options get passed to xgettext.
12
+XGETTEXT_OPTIONS = --keyword=_ --keyword=N_
13
+
14
+# This is the copyright holder that gets inserted into the header of the
15
+# $(DOMAIN).pot file. Set this to the copyright holder of the surrounding
16
+# package. (Note that the msgstr strings, extracted from the package's
17
+# sources, belong to the copyright holder of the package.) Translators are
18
+# expected to transfer the copyright for their translations to this person
19
+# or entity, or to disclaim their copyright. The empty string stands for
20
+# the public domain; in this case the translators are expected to disclaim
21
+# their copyright.
22
+COPYRIGHT_HOLDER = Free Software Foundation, Inc.
23
+
24
+# This is the email address or URL to which the translators shall report
25
+# bugs in the untranslated strings:
26
+# - Strings which are not entire sentences, see the maintainer guidelines
27
+# in the GNU gettext documentation, section 'Preparing Strings'.
28
+# - Strings which use unclear terms or require additional context to be
29
+# understood.
30
+# - Strings which make invalid assumptions about notation of date, time or
31
+# money.
32
+# - Pluralisation problems.
33
+# - Incorrect English spelling.
34
+# - Incorrect formatting.
35
+# It can be your email address, or a mailing list address where translators
36
+# can write to without being subscribed, or the URL of a web page through
37
+# which the translators can contact you.
38
+MSGID_BUGS_ADDRESS =
39
+
40
+# This is the list of locale categories, beyond LC_MESSAGES, for which the
41
+# message catalogs shall be used. It is usually empty.
42
+EXTRA_LOCALE_CATEGORIES =
43
vobcopy-1.2.1.tar.gz/po/POTFILES.in
Added
5
1
2
+# List of source files which contain translatable strings.
3
+dvd.c
4
+vobcopy.c
5
vobcopy-1.2.0.tar.bz2/vobcopy.1 -> vobcopy-1.2.1.tar.gz/vobcopy.1
Changed
129
1
2
.SH NAME
3
vobcopy \- copy (rip) files from a dvd to the harddisk
4
.SH SYNOPSIS
5
-.B vobcopy -b
6
+.B vobcopy \-b
7
.I sizebkmg
8
-.B -e
9
+.B \-e
10
.I sizebkmg
11
-.B -f -F
12
+.B \-f \-F
13
.I fast_factor
14
-.B -h -i
15
+.B \-h \-i
16
.I input-dir
17
-.B -l -m -M-n
18
+.B \-l \-m \-M\-n
19
.I title-number
20
-.B -o
21
+.B \-o
22
.I output-dir
23
-.B -q -O
24
+.B \-q \-O
25
.I single_file(s)_to_rip
26
-.B -t
27
+.B \-t
28
.I name
29
-.B -v -v -x -I -V -L
30
+.B \-v \-v \-x \-I \-V \-L
31
.I logfile-path
32
-.B -1
33
+.B \-1
34
.I aux_output_dir1
35
-.B -2
36
+.B \-2
37
.I aux_output_dir2
38
-.B -3
39
+.B \-3
40
.I aux_output_dir3
41
-.B -4
42
+.B \-4
43
.I aux_output_dir4
44
.B
45
.SH DESCRIPTION
46
47
without any options will copy the title with the most chapters into files of
48
2GB size into the current working directory.
49
.SH OPTIONS
50
-.IP "-b, --begin SIZEbkmg"
51
-begins to copy from the specified offset-size. Modifiers like b for 512-bytes, k for kilo-bytes, m for mega- and g for giga-bytes can be appended to the number. Example: vobcopy -b 500m will start to copy from 500MB onward till the end.
52
-.IP "-e, --end SIZEbkmg"
53
-similar to -b, this options lets you specify some size to stop before the end.
54
-.IP "-f, --force"
55
+.IP "\-b, \-\-begin SIZEbkmg"
56
+begins to copy from the specified offset-size. Modifiers like b for 512-bytes, k for kilo-bytes, m for mega- and g for giga-bytes can be appended to the number. Example: vobcopy \-b 500m will start to copy from 500MB onward till the end.
57
+.IP "\-e, \-\-end SIZEbkmg"
58
+similar to \-b, this options lets you specify some size to stop before the end.
59
+.IP "\-f, \-\-force"
60
force the output to the specified directory even if vobcopy thinks there is not
61
enough free space
62
-.IP "-F, --fast fast_factor"
63
+.IP "\-F, \-\-fast fast_factor"
64
speed up the copying (experimental). fast_factor is in the range 1 to 64
65
-.IP "-h, --help"
66
+.IP "\-h, \-\-help"
67
print the command line options available
68
-.IP "-i, --input-dir INPUT-DIR"
69
+.IP "\-i, \-\-input\-dir INPUT-DIR"
70
provide vobcopy with the path to the mounted dvd drive
71
-.IP "-l, --large-file"
72
+.IP "\-l, \-\-large\-file"
73
write data into one file (needs large file support (LFS))
74
-.IP "-M, --longest"
75
+.IP "\-M, \-\-longest"
76
choose the title with the longest playing time. With some DVDs this gets the main title better than the most chapter method, with others it's worse.
77
-.IP "-m, --mirror"
78
+.IP "\-m, \-\-mirror"
79
mirrors the whole dvd to harddisk. It will create a directory named after the dvd and copy the ifo, bup and vob files there. The title-vobs are decrypted during this.
80
-.IP "-n, --title-number TITLE-NUMBER"
81
+.IP "\-n, \-\-title\-number TITLE-NUMBER"
82
specify which title vobcopy shall copy (default is title with most chapters). On the dvd, vts_01_x.vob specify the first title (mostly this is the main feature).
83
-.IP "-o, --output-dir OUTPUT-DIR"
84
-specify the output-directory of the data. "stdout" or "-" redirect to stdout. Useful for pipeing it to /dev/null ;-) If you forget to pipe it to some place, your terminal will get garbled, so remember that typing "reset" and then Enter will rescue you.
85
-.IP "-q, --quiet"
86
+.IP "\-o, \-\-output\-dir OUTPUT-DIR"
87
+specify the output-directory of the data. "stdout" or "\-" redirect to stdout. Useful for pipeing it to /dev/null ;-) If you forget to pipe it to some place, your terminal will get garbled, so remember that typing "reset" and then Enter will rescue you.
88
+.IP "\-q, \-\-quiet"
89
all info- and error-messages of vobcopy will end up in the current directory in vobcopy.bla instead of stderr
90
-.IP "-O, --onefile single_file(s)_to_rip"
91
+.IP "\-O, \-\-onefile single_file(s)_to_rip"
92
specify which single file(s) to rip. Parts of names can be given and all
93
files which include the part will be copied. Files can be listed with comma
94
-separation. Example: -O video_ts.vob,bup will copy the single file video_ts.vob and all files containing bup
95
-.IP "-t, --name NAME"
96
-you can give the file a name if you don't like the one from dvd. -t hallo will result in hallo.vob. (stdout or "-" are deprecated now)
97
+separation. Example: \-O video_ts.vob,bup will copy the single file video_ts.vob and all files containing bup
98
+.IP "\-t, \-\-name NAME"
99
+you can give the file a name if you don't like the one from dvd. \-t hallo will result in hallo.vob. (stdout or "\-" are deprecated now)
100
If you want to give it names like "Huh I like this movie", do it in quotation marks.
101
-.IP "-v, --verbose"
102
+.IP "\-v, \-\-verbose"
103
prints more information about whats going on (more verbose).
104
-.IP "-v -v"
105
+.IP "\-v \-v"
106
prints the information given on command line into a log-file in the current directory for
107
inclusion into a bugreport.
108
-.IP "-x"
109
+.IP "\-x"
110
overwrite all existing files without further questions.
111
-.IP "-L LOGFILE-PATH"
112
+.IP "\-L LOGFILE-PATH"
113
tells vobcopy where to put the logfile instead of the default.
114
-.IP "-I, --info"
115
+.IP "\-I, \-\-info"
116
prints information about the titles, chapters and angles on the dvd.
117
-.IP "-V, --version"
118
+.IP "\-V, \-\-version"
119
prints version number.
120
-.IP "-1, --1st_alt_output_dir AUXILIARY-OUTPUT-DIR1"
121
-if the data doesn't fit on the first output-directory (specified behind -o)
122
-writing will continue here (and after -2 there and -3 and -4) -> the files will be split according to the remaining free space (try specifying the path _directly_ behind -1, _no_ space in between if you have troubles, this might be even necessary at -o...)
123
+.IP "\-1, \-\-1st_alt_output_dir AUXILIARY-OUTPUT-DIR1"
124
+if the data doesn't fit on the first output-directory (specified behind \-o)
125
+writing will continue here (and after \-2 there and \-3 and \-4) -> the files will be split according to the remaining free space (try specifying the path _directly_ behind \-1, _no_ space in between if you have troubles, this might be even necessary at \-o...)
126
.SH BUGS
127
Vobcopy is still under development. So expect some.
128
There *might* be problems for users who's system is not large-file ready. If so, please get back to me.
129
vobcopy-1.2.0.tar.bz2/vobcopy.1.de -> vobcopy-1.2.1.tar.gz/vobcopy.1.de
Changed
152
1
2
.SH NAME
3
vobcopy \- kopiert (rippt) Dateien von einer (Video-) DVD auf die Festplatte
4
.SH SYNTAX
5
-.B vobcopy -b
6
+.B vobcopy \-b
7
.I Größebkmg
8
-.B -e
9
+.B \-e
10
.I Größebkmg
11
-.B -f -F
12
+.B \-f \-F
13
.I Beschleunigungsfaktor
14
-.B -h -i
15
+.B \-h \-i
16
.I Eingabeverzeichnis
17
-.B -l -m -m-n
18
+.B \-l \-m \-m\-n
19
.I Titel-Nummer
20
-.B -o
21
+.B \-o
22
.I Ausgabeverzeichnis
23
-.B -q -O
24
+.B \-q \-O
25
.I einzelne zu kopierende Datei
26
-.B -t
27
+.B \-t
28
.I Name
29
-.B -v -v -x -I -V -L
30
+.B \-v \-v \-x \-I \-V \-L
31
.I Logdatei-Pfad
32
-.B -1
33
+.B \-1
34
.I zusätzliches Ausgabeverzeichnis 1
35
-.B -2
36
+.B \-2
37
.I zusätzliches Ausgabeverzeichnis 2
38
-.B -3
39
+.B \-3
40
.I zusätzliches Ausgabeverzeichnis 3
41
-.B -4
42
+.B \-4
43
.I zusätzliches Ausgabeverzeichnis 4
44
.B
45
.SH Beschreibung
46
47
Beim Aufruf ohne jegliche Optionen wird der Titel mit den meisten Kapiteln in Dateien
48
von 2GB Größe in das aktuelle Verzeichnis kopiert.
49
.SH OPTIONEN
50
-.IP "-b, --begin GRÖSSEbkmg"
51
+.IP "\-b, \-\-begin GRÖSSEbkmg"
52
beginnt den Kopiervorgang erst ab der angegebenen Adresse. Die Größe
53
der Adresse kann mit den Abkürzungen b für 512-Byte-Blöcke, k für Kilobytes,
54
m für Mega- und g für Gigabytes angegeben werden.
55
-Beispiel: vobcopy -b 500m beginnt bei 500MB nach dem Anfang der Datei
56
+Beispiel: vobcopy \-b 500m beginnt bei 500MB nach dem Anfang der Datei
57
bis zum Ende zu kopieren.
58
-.IP "-e, --end GRÖSSEbkmg"
59
-ähnlich wie -b gibt diese Option eine Größe vor dem Ende der Datei an,
60
+.IP "\-e, \-\-end GRÖSSEbkmg"
61
+ähnlich wie \-b gibt diese Option eine Größe vor dem Ende der Datei an,
62
an der der Kopiervorgang stoppt.
63
-.IP "-f, --force"
64
+.IP "\-f, \-\-force"
65
erzwingt die Ausgabe in das angegebene Verzeichnis, auch wenn vobcopy denkt,
66
dass dort ist nicht genügend freier Platz vorhanden ist.
67
-.IP "-F, --fast Beschleunigungsfaktor"
68
+.IP "\-F, \-\-fast Beschleunigungsfaktor"
69
beschleunigt das Kopieren um einen Faktor (experimentell).
70
Der Beschleunigungsfaktor kann 1 bis 64 betragen
71
-.IP "-h, --help"
72
+.IP "\-h, \-\-help"
73
Gibt die verfügbaren Optionen aus
74
-.IP "-i, --input-dir EINGABE-VERZEICHNIS"
75
+.IP "\-i, \-\-input\-dir EINGABE-VERZEICHNIS"
76
gibt das Eingabeverzeichnis an (das Verzeichnis, auf das die DVD
77
gemountet ist).
78
-.IP "-l, --large-file"
79
+.IP "\-l, \-\-large\-file"
80
schreibt alle Daten in eine große Datei ( > 2GB, benötigt Unterstützung für große Dateien (LFS))
81
-.IP "-M, --longest"
82
+.IP "\-M, \-\-longest"
83
wählt den Titel mit der längsten Spielzeit. Bei manchen DVDs wird der Hauptfilm besser gefunden als mit der Methode der meisten Kapitel, bei manchen schlechter.
84
-.IP "-m, --mirror"
85
+.IP "\-m, \-\-mirror"
86
Spiegelt die gesamte DVD auf die Festplatte. Es wird ein Unterverzeichnis mit dem
87
DVD-Namen erzeugt und die gesamte Dateistruktur des Videoteils wird darunter
88
kopiert.
89
-.IP "-n, --title-number TITEL-NUMMER"
90
+.IP "\-n, \-\-title\-number TITEL-NUMMER"
91
gibt an, welcher Titel kopiert werden soll. Auf der
92
DVD heißt der erste Titel vts_01_x.vob (meist der Hauptfilm).
93
-.IP "-o, --output-dir AUSGABE-VERZEICHNIS"
94
-gibt das Ausgabeverzeichnis für die Kopien an. Der Wert "stdout" oder "-"
95
+.IP "\-o, \-\-output\-dir AUSGABE-VERZEICHNIS"
96
+gibt das Ausgabeverzeichnis für die Kopien an. Der Wert "stdout" oder "\-"
97
gibt auf der Standardausgabe aus. Nützlich für die Ausgabe nach /dev/null ;-)
98
Tipp: Wenn du vergisst umzuleiten, wird dein Terminal überflutet werden,
99
in diesem Fall tippe "reset" und Enter, um das Terminal zu retten.
100
-.IP "-q, --quiet"
101
+.IP "\-q, \-\-quiet"
102
alle Informations- und Fehlerausschriften von vobcopy werden in die Datei
103
vobcopy.bla im aktuellen Verzeichnis anstatt in die Standardfehlerausgabe geschrieben
104
-.IP "-O, --onefile single_file(s)_to_rip"
105
+.IP "\-O, \-\-onefile single_file(s)_to_rip"
106
gibt (eine) einzelne Datei(en) für das Kopieren an. Teile von Namen können
107
angegeben werden und alle Dateien, die die Namensteile enthalten, werden
108
kopiert. Dateinamen können als mit Komma getrennte Liste angegeben werden.
109
-Beispiel: -O video_ts.vob,bup kopiert die Datei video_ts.vob und alle Dateien,
110
+Beispiel: \-O video_ts.vob,bup kopiert die Datei video_ts.vob und alle Dateien,
111
deren Namen bup enthält.
112
-.IP "-t, --name NAME"
113
+.IP "\-t, \-\-name NAME"
114
Damit kann man der Ausgabedatei einen eigenen Namen geben, wenn einem der von
115
-der DVD nicht gefällt. -t hallo erzeugt also ein hallo.vob. (stdout oder "-" sind nun
116
+der DVD nicht gefällt. \-t hallo erzeugt also ein hallo.vob. (stdout oder "\-" sind nun
117
nicht mehr unterstützt) Wenn du Namen mit Leerzeichen wie "Huh ich mag den Film"
118
angeben willst, schließe den Namen in Anführungszeichen ein.
119
-.IP "-v, --verbose"
120
+.IP "\-v, \-\-verbose"
121
schreibt noch mehr Informationen aus.
122
-.IP "-v -v"
123
+.IP "\-v \-v"
124
schreibt die Ausschriften in eine Logdatei im aktuellen Verzeichis um einen Fehlerreport
125
zu erzeugen.
126
-.IP "-x"
127
+.IP "\-x"
128
überschreibt alle existierenden Dateien ohne weitere Rückfragen.
129
-.IP "-L LOGDATEI-PFAD"
130
+.IP "\-L LOGDATEI-PFAD"
131
weist vobcopy an die Logdatei statt in den Standardpfad in den LOGDATEI-PFAD zu legen.
132
-.IP "-I, --info"
133
+.IP "\-I, \-\-info"
134
gibt Informationen über die Titel, Kapitel und Teile der DVD aus.
135
-.IP "-V, --version"
136
+.IP "\-V, \-\-version"
137
gibt die Versionsnummer von vobcopy aus.
138
-.IP "-1, --1st_alt_output_dir AUXILIARY-OUTPUT-DIR1"
139
+.IP "\-1, \-\-1st_alt_output_dir AUXILIARY-OUTPUT-DIR1"
140
Wenn die DVD einfach nicht in das erste Ausgabeverzeichnis passen will
141
-(mit -o angegeben), geht die Ausgabe in das hier angegebene Verzeichnis
142
+(mit \-o angegeben), geht die Ausgabe in das hier angegebene Verzeichnis
143
(und die folgenden 2ten, 3ten und 4ten) weiter -> die Dateien werden geteilt,
144
je nachdem wie viel Platz in jedem der Verzeichnisse noch blieb.
145
-Gib den Pfad _direkt_ hinter "-1" an, _kein_ Leerzeichen dazwischen lassen,
146
-wenn Probleme auftreten, möglicherweise ist das auch bei -o nötig...)
147
+Gib den Pfad _direkt_ hinter "\-1" an, _kein_ Leerzeichen dazwischen lassen,
148
+wenn Probleme auftreten, möglicherweise ist das auch bei \-o nötig...)
149
.SH FEHLER
150
Vobcopy ist weiterhin unter Entwicklung, also können noch einige Neuerungen
151
erwarten werden.
152
vobcopy-1.2.0.tar.bz2/vobcopy.c -> vobcopy-1.2.1.tar.gz/vobcopy.c
Changed
365
1
2
break;
3
}
4
/* sscanf( optarg, "%lli", &temp_var ); */
5
- seek_start = abs( temp_var / 2048 );
6
- if( seek_start < 0 )
7
- seek_start = 0;
8
+ seek_start = temp_var / 2048;
9
cut_flag = TRUE;
10
break;
11
12
13
break;
14
}
15
16
- stop_before_end = abs( temp_var / 2048 );
17
- if( stop_before_end < 0 )
18
- stop_before_end = 0;
19
+ stop_before_end = temp_var / 2048;
20
cut_flag = TRUE;
21
break;
22
23
24
provided_input_dir_flag = TRUE;
25
break;
26
27
-#if defined( HAS_LARGEFILE ) || defined( MAC_LARGEFILE )
28
case'l': /*large file output*/
29
max_filesize_in_blocks = 8388608; /*16 GB /2048 (block) */
30
/* 2^63 / 2048 (not exactly) */
31
large_file_flag = TRUE;
32
break;
33
-#endif
34
35
case'm':/*mirrors the dvd to harddrive completly*/
36
mirror_flag = TRUE;
37
38
i = 0;
39
break;
40
case'V': /*version number output */
41
- printf( "Vobcopy "VERSION" - GPL Copyright (c) 2001 - 2009 robos@muon.de\n" );
42
+ printf( "Vobcopy "PACKAGE_VERSION" - GPL Copyright (c) 2001 - 2009 robos@muon.de\n" );
43
exit( 0 );
44
break;
45
46
47
}
48
}
49
50
- fprintf( stderr, _("Vobcopy "VERSION" - GPL Copyright (c) 2001 - 2009 robos@muon.de\n") );
51
+ fprintf( stderr, _("Vobcopy "PACKAGE_VERSION" - GPL Copyright (c) 2001 - 2009 robos@muon.de\n") );
52
fprintf( stderr, _("Hint All lines starting with \"libdvdread:\" are not from vobcopy but from the libdvdread-library\n") );
53
54
/*get the current working directory*/
55
56
57
if( strlen( logfile_path ) < 3 )
58
strcpy( logfile_path, pwd );
59
- strcpy( logfile_name, "vobcopy_" );
60
- strcat( logfile_name, VERSION );
61
+ strcpy( logfile_name, PACKAGE_TARNAME"_" );
62
+ strcat( logfile_name, PACKAGE_VERSION );
63
strcat( logfile_name, ".log" );
64
strcat( logfile_path, logfile_name );
65
if ( ( temp = open ( logfile_path , O_RDWR | O_CREAT | O_EXCL, 0666 ) ) == -1 )
66
67
68
if( longest_title_flag ) /*no title specified (-n ) */
69
{
70
- titleid = get_longest_title( &dvd );
71
+ titleid = get_longest_title( dvd );
72
fprintf( stderr, _("Info longest title %d.\n"), titleid );
73
}
74
75
76
}
77
else
78
{
79
- if( strstr( d_name, ";?" ) )
80
- {
81
- fprintf( stderr, _("\nHint File on dvd ends in \";?\" (%s)\n"), d_name );
82
- strncat( output_file, d_name, strlen( d_name ) - 2 );
83
+ if( strstr( d_name, ";" ) )
84
+ {
85
+ char * pch;
86
+ int position_from_end;
87
+ pch = strrchr(d_name, ';');
88
+ position_from_end = strlen( d_name ) - (pch - d_name);
89
+ if ( position_from_end < 4 ) {
90
+ fprintf( stderr, _("\nHint File on dvd ends in \";?\" (%s)\n"), d_name );
91
+ strncat( output_file, d_name, strlen( d_name ) - position_from_end );
92
+ }
93
}
94
else
95
{
96
97
}
98
/* progress indicator */
99
tmp_i = i;
100
- fprintf( stderr, _("%4.0fkB of %4.0fkB written\r"),
101
+ fprintf( stderr, _("%4.0fkB of %4.0fkB written"),
102
( tmp_i+1 )*( DVD_VIDEO_LB_LEN/1024 ), tmp_file_size/1024 );
103
+ fprintf( stderr, "\r" );
104
}
105
fprintf( stderr, _("\n"));
106
if( !stdout_flag )
107
108
}
109
/* progress indicator */
110
tmp_i = i;
111
- fprintf( stderr, _("%4.0fkB of %4.0fkB written\r"),
112
+ fprintf( stderr, _("%4.0fkB of %4.0fkB written"),
113
( tmp_i+1 )*( DVD_VIDEO_LB_LEN/1024 ), tmp_file_size/1024 );
114
+ fprintf( stderr, "\r");
115
}
116
fprintf( stderr, _("\n"));
117
if( !stdout_flag )
118
119
120
for( a = 1; a < subvob; a++ )
121
{
122
- if( strstr( input_file, ";?" ) )
123
- input_file strlen( input_file ) - 7 = ( a + 48 );
124
+ if( strstr( input_file, ";" ) )
125
+ {
126
+ char * pch;
127
+ int position_from_end;
128
+ pch = strrchr( input_file, ';' );
129
+ position_from_end = strlen( input_file ) - ( pch - input_file );
130
+ if ( position_from_end < 4 )
131
+ input_file strlen( input_file ) - 5 - position_from_end = ( a + 48 );
132
+ }
133
else
134
input_file strlen( input_file ) - 5 = ( a + 48 );
135
136
137
138
culm_single_vob_size += buf.st_size;
139
if( verbosity_level > 1 )
140
- fprintf( stderr, _("Info Vob %d %d (%s) has a size of %lli\n"), title_nr, subvob, input_file, buf.st_size );
141
+ fprintf( stderr,
142
+ _("Info Vob %d %d (%s) has a size of %llu\n"),
143
+ title_nr, subvob, input_file, (long long unsigned)buf.st_size );
144
}
145
146
start = ( culm_single_vob_size / DVD_VIDEO_LB_LEN );
147
148
fprintf( stderr, _("Info Start of %s at %d blocks \n"), output_file, start );
149
file_block_count = block_count;
150
starttime = time(NULL);
151
- for( i = start; ( i - start ) * DVD_VIDEO_LB_LEN < file_size; i += file_block_count)
152
+ for( i = start + seek_start*2048/DVD_VIDEO_LB_LEN; ( i - start ) * DVD_VIDEO_LB_LEN < file_size - stop_before_end*2048 ; i += file_block_count)
153
{
154
int tries = 0, skipped_blocks = 0;
155
/* Only read and write as many blocks as there are left in the file */
156
- if ( ( i - start + file_block_count ) * DVD_VIDEO_LB_LEN > file_size )
157
+ if ( ( i - start + file_block_count ) * DVD_VIDEO_LB_LEN > file_size - stop_before_end*2048 )
158
{
159
- file_block_count = ( file_size / DVD_VIDEO_LB_LEN ) - ( i - start );
160
+ file_block_count = ( (file_size - stop_before_end*2048 )/ DVD_VIDEO_LB_LEN ) - ( i - start );
161
}
162
163
/* DVDReadBlocks( dvd_file, i, 1, bufferin );this has to be wrong with the 1 there...*/
164
165
tmp_i = ( i-start );
166
167
percent = ( ( ( ( tmp_i+1 )*DVD_VIDEO_LB_LEN )*100 )/tmp_file_size );
168
- fprintf( stderr, _("\r%4.0fMB of %4.0fMB written "),
169
+ fprintf( stderr, "\r");
170
+ fprintf( stderr, _("%4.0fMB of %4.0fMB written "),
171
( ( tmp_i+1 )*DVD_VIDEO_LB_LEN )/( 1024*1024 ),
172
( tmp_file_size+2048 )/( 1024*1024 ) );
173
fprintf( stderr, _("( %3.1f %% ) "), percent );
174
175
}
176
/*this is just so that at the end it actually says 100.0% all the time... */
177
/*TODO: if it is correct to always assume it's 100% is a good question.... */
178
-/* fprintf( stderr, _("\r%4.0fMB of %4.0fMB written "),
179
+/* fprintf( stderr, "\r");
180
+ fprintf( stderr, _("%4.0fMB of %4.0fMB written "),
181
( ( tmp_i+1 )*DVD_VIDEO_LB_LEN )/( 1024*1024 ),
182
( tmp_file_size+2048 )/( 1024*1024 ) );
183
fprintf( stderr, _("( 100.0%% ) ") );
184
185
fprintf( stderr, _("Info Disk free: %f MB\n"), (double) (pwd_free / ( 1024.0*1024.0 )) );
186
fprintf( stderr, _("Info Vobs size: %f MB\n"), (double) vob_size / ( 1024.0*1024.0 ) );
187
ifoClose( vmg_file );
188
- DVDCloseFile( dvd_file );
189
+ if(dvd_file) DVDCloseFile( dvd_file );
190
DVDClose( dvd );
191
/*hope all are closed now...*/
192
exit( 0 );
193
194
195
strcat( name, ".partial" );
196
197
-#if defined( HAS_LARGEFILE )
198
- if( open( name, O_RDONLY|O_LARGEFILE ) >= 0 )
199
-#else
200
if( open( name, O_RDONLY ) >= 0 )
201
-#endif
202
{
203
if ( get_free_space( name, verbosity_level ) < 2097152 )
204
/* it might come here when the platter is full after a -f */
205
206
}
207
if( op == 'o' || op == 'x' )
208
{
209
-#if defined( HAS_LARGEFILE )
210
- if( ( streamout = open( name, O_WRONLY | O_TRUNC | O_LARGEFILE ) ) < 0 )
211
-#else
212
if( ( streamout = open( name, O_WRONLY | O_TRUNC ) ) < 0 )
213
-#endif
214
{
215
fprintf( stderr, _("\nError Error opening file %s\n"), name );
216
exit ( 1 );
217
218
}
219
else if( op == 'a' )
220
{
221
-#if defined( HAS_LARGEFILE )
222
- if( ( streamout = open( name, O_WRONLY | O_APPEND | O_LARGEFILE ) ) < 0 )
223
-#else
224
if( ( streamout = open( name, O_WRONLY | O_APPEND ) ) < 0 )
225
-#endif
226
{
227
fprintf( stderr, _("\nError Error opening file %s\n"), name );
228
exit ( 1 );
229
230
else
231
{
232
/*assign the stream */
233
-#if defined( HAS_LARGEFILE )
234
- if( ( streamout = open( name, O_WRONLY | O_CREAT | O_LARGEFILE, 0644 ) ) < 0 )
235
-#else
236
if( ( streamout = open( name, O_WRONLY | O_CREAT, 0644 ) ) < 0 )
237
-#endif
238
{
239
fprintf( stderr, _("\nError Error opening file %s\n"), name );
240
exit ( 1 );
241
242
}
243
244
if( verbosity_level >= 1 && skipped_blocks > 0 )
245
- fprintf( stderr, _("Warn Had to skip (couldn't read) %d blocks (before block %d)! \n "), skipped_blocks, offset );
246
+ fprintf( stderr,
247
+ _("Warn Had to skip (couldn't read) %d blocks (before block %llu)! \n "),
248
+ skipped_blocks,
249
+ (long long unsigned)offset );
250
251
/*TODO: this skipping here writes too few bytes to the output */
252
253
254
255
void usage( char *program_name )
256
{
257
- fprintf( stderr, _("Vobcopy "VERSION" - GPL Copyright (c) 2001 - 2009 robos@muon.de\n") );
258
+ fprintf( stderr, _("Vobcopy "PACKAGE_VERSION" - GPL Copyright (c) 2001 - 2009 robos@muon.de\n") );
259
fprintf( stderr, _("\nUsage: %s \n"), program_name );
260
fprintf( stderr, _("if you want the main feature (title with most chapters) you don't need _any_ options!\n") );
261
fprintf( stderr, _("Options:\n") );
262
263
fprintf( stderr, _("-w <watchdog-minutes>\n" ) );
264
fprintf( stderr, _("-x (overwrite all)\n" ) );
265
fprintf( stderr, _("-F <fast-factor:1..64>\n") );
266
-
267
-#if defined( HAS_LARGEFILE ) || defined ( MAC_LARGEFILE )
268
fprintf( stderr, _("-l (large-file support for files > 2GB) \n") );
269
-#endif
270
exit( 1 );
271
}
272
273
274
}
275
276
/*
277
+ * Get the width in characters of the terminal window, or defaults to 80.
278
+ */
279
+int get_term_width() {
280
+ struct winsize ws;
281
+ if (ioctl(1, TIOCGWINSZ, &ws) >= 0)
282
+ return ws.ws_col;
283
+ else
284
+ return 80;
285
+}
286
+
287
+
288
+/*
289
* Check the time determine whether a new progress line should be output (once per second)
290
*/
291
292
int progressUpdate(int starttime, int cur, int tot, int force)
293
{
294
static int progress_time = 0;
295
+ if (tot < 1)
296
+ return 0;
297
298
if (progress_time == 0 || progress_time != time(NULL) || force)
299
{
300
- int barLen, barChar, numChars, timeSoFar, minsLeft, secsLeft, ctr, cols;
301
+ int barLen, numChars, timeSoFar, minsLeft, secsLeft, ctr, cols;
302
float percentComplete, percentLeft, timePerPercent;
303
int curtime, timeLeft;
304
- struct winsize ws;
305
306
- ioctl(0, TIOCGWINSZ, &ws);
307
- cols = ws.ws_col - 1;
308
+ cols = get_term_width();
309
310
progress_time = time(NULL);
311
curtime = time(NULL);
312
313
/* calc it this way so it's easy to change later */
314
/* 2 for brackets, 1 for space, 5 for percent complete, 1 for space, 6 for time left, 1 for space */
315
barLen = cols - 2 - 1 - 5 - 1 - 6 - 1;
316
- barChar = tot / barLen;
317
percentComplete = (float)((float)cur / (float)tot * 100.0);
318
percentLeft = 100 - percentComplete;
319
- numChars = cur / barChar;
320
+ // numChars = floor(barLen * ((double)cur / (double)tot));
321
+ numChars = (long)cur * (long)barLen / (long)tot;
322
323
/* guess remaining time */
324
timeSoFar = curtime - starttime;
325
326
minsLeft = (int)(timeLeft / 60);
327
secsLeft = (int)(timeLeft % 60);
328
329
- printf("");
330
- for (ctr = 0; ctr < numChars-1; ctr++) {
331
- printf("=");
332
+ if (barLen > 0) {
333
+ printf("");
334
+ for (ctr = 0; ctr < numChars-1; ctr++) {
335
+ printf("=");
336
+ }
337
+ printf("|");
338
+ for (ctr = numChars + (numChars < 1); ctr < barLen; ctr++) {
339
+ printf(" ");
340
+ }
341
+ printf(" ");
342
}
343
- printf("|");
344
- for (ctr = numChars; ctr < barLen; ctr++) {
345
- printf(" ");
346
- }
347
- printf(" ");
348
printf("%5.1f%% %02d:%02d ", percentComplete, minsLeft, secsLeft);
349
fflush(stdout);
350
}
351
352
return strncpy(dest, src, n-1);
353
}
354
355
-#if defined(__APPLE__) && defined(__GNUC__) || defined(OpenBSD)
356
-int fdatasync( int value )
357
-{
358
- return 0;
359
-}
360
-#endif
361
-
362
363
/*
364
* Check the time determine whether a new progress line should be output (once per second)
365
vobcopy-1.2.0.tar.bz2/vobcopy.h -> vobcopy-1.2.1.tar.gz/vobcopy.h
Changed
304
1
2
-#define VERSION "1.2.0"
3
-
4
-#if defined( __gettext__ )
5
-#include <locale.h>
6
-#include <libintl.h>
7
-#define _(Text) gettext(Text)
8
-#else
9
-#define _(Text) Text
10
+#ifdef HAVE_CONFIG_H
11
+#include "config.h"
12
#endif
13
14
#define DVDCSS_VERBOSE 1
15
16
#define MAX_STRING 81
17
#define MAX_DIFFER 2000
18
19
+#ifdef ENABLE_NLS
20
+#define _(Text) gettext(Text)
21
+#else
22
+#define _(Text) Text
23
+#endif
24
+
25
+#ifdef HAVE_LOCALE_H
26
+#include <locale.h>
27
+#endif
28
+
29
+#ifdef HAVE_LIBINTL_H
30
+#include <libintl.h>
31
+#endif
32
+
33
+#ifdef HAVE_FEATURES_H
34
+#include <features.h>
35
+#endif
36
+
37
#include <stdio.h>
38
+
39
+#ifdef HAVE_STDLIB_H
40
#include <stdlib.h>
41
+#endif
42
+
43
+#ifdef HAVE_STRINGS_H
44
+#include <strings.h>
45
+#endif
46
+
47
#include <string.h>
48
#include <ctype.h>
49
+
50
+#ifdef HAVE_SYS_TYPES_H
51
#include <sys/types.h>
52
+#endif
53
+
54
+#ifdef HAVE_SYS_IOCTL_H
55
#include <sys/ioctl.h>
56
+#endif
57
+
58
+#ifdef HAVE_SYS_STAT_H
59
#include <sys/stat.h>
60
+#endif
61
+
62
#include <fcntl.h>
63
+
64
+#ifdef HAVE_UNISTD_H
65
#include <unistd.h>
66
+#endif
67
+
68
#include <dirent.h> /*for readdir*/
69
#include <errno.h>
70
#include <signal.h>
71
#include <time.h>
72
-#include <sys/ioctl.h>
73
+
74
+#ifdef HAVE_TERMIOS_H
75
#include <termios.h>
76
+#endif
77
78
-#if ( defined( __unix__ ) || defined( unix )) && !defined( USG )
79
+#ifdef HAVE_SYS_PARAM_H
80
#include <sys/param.h>
81
#endif
82
83
-#if defined( __GNUC__ ) && \
84
- !( defined( sun ) )
85
+#ifdef HAVE_GETOPT_H
86
#include <getopt.h>
87
#endif
88
89
-/* FreeBSD 4.10 and OpenBSD 3.2 has not <stdint.h> */
90
-/* by some bugreport:*/
91
-#if !( defined( BSD ) && ( BSD >= 199306 ) ) && !defined( sun ) || defined(OpenBSD)
92
+#ifdef HAVE_STDINT_H
93
#include <stdint.h>
94
#endif
95
96
-/* I'm trying to have all supported OSes definitions clearly separated here */
97
-/* The appearance could probably be made more readable -- lb */
98
-
99
-/* ////////// Solaris ////////// */
100
-#if defined( __sun )
101
-
102
+#ifdef HAVE_STDLIB_H
103
#include <stdlib.h>
104
-#include <sys/mnttab.h>
105
-#include <sys/statvfs.h>
106
-
107
-typedef enum { FALSE=0, TRUE=1 } bool;
108
-
109
-# if ( _FILE_OFFSET_BITS == 64 )
110
-#define HAS_LARGEFILE 1
111
-# endif
112
-
113
-#define off_t off64_t
114
-
115
-#else /* Solaris */
116
-
117
-/*#define off_t __off64_t THIS HERE BREAKS OSX 10.5 */
118
-
119
-/* ////////// *BSD ////////// */
120
-#if ( defined( BSD ) && ( BSD >= 199306 ) )
121
-
122
-#if !defined( __NetBSD__ ) || \
123
- ( defined( __NetBSD__) && ( __NetBSD_Version__ < 200040000 ) )
124
-#include <sys/mount.h>
125
-#define USE_STATFS 1
126
#endif
127
128
-#if defined(__FreeBSD__)
129
-#define USE_STATFS_FOR_DEV
130
-#include <sys/statvfs.h>
131
-#else
132
-#include <sys/statvfs.h>
133
+#ifdef HAVE_SYS_MOUNT_H
134
+#include <sys/mount.h>
135
#endif
136
137
-# if defined(NetBSD) || defined (OpenBSD)
138
-
139
-#include <sys/param.h>
140
-
141
+#ifdef HAVE_GETMNTINFO
142
#define USE_GETMNTINFO
143
-
144
-# if ( __NetBSD_Version__ < 200040000 )
145
-
146
-#include <sys/mount.h>
147
-#define USE_STATFS_FOR_DEV
148
-#define GETMNTINFO_USES_STATFS
149
-
150
-# else
151
-#include <sys/statvfs.h>
152
-#define USE_STATVFS_FOR_DEV
153
-#define GETMNTINFO_USES_STATVFS
154
-
155
-# endif
156
#endif
157
158
-#if defined(__FreeBSD__)
159
-#define USE_STATFS_FOR_DEV
160
-#include <sys/statvfs.h>
161
+#ifndef HAVE_STDBOOL_H
162
+typedef enum { FALSE=0, TRUE=1 } bool;
163
#else
164
-#include <sys/vfs.h>
165
+#include <stdbool.h>
166
+#define TRUE true
167
+#define FALSE false
168
#endif
169
170
-# if !defined(OpenBSD)
171
-#define HAS_LARGEFILE 1
172
+#ifdef HAVE_SYS_MNTTAB_H
173
+#include <sys/mnttab.h>
174
#endif
175
176
-typedef enum { FALSE=0, TRUE=1 } bool;
177
-
178
-#else /* *BSD */
179
-
180
-/* ////////// Darwin / OS X ////////// */
181
-#if defined ( __APPLE__ )
182
-
183
-/* ////////// Darwin ////////// */
184
-# if defined( __GNUC__ )
185
-
186
-#include <sys/param.h>
187
-#include <sys/mount.h>
188
-
189
-#include <sys/statvfs.h>
190
-/*can't be both! Should be STATVFS IMHO */
191
-/*#define USE_STATFS 1
192
-#define USE_STATVFS 1
193
-#define HAS_LARGEFILE 1 */
194
-#define GETMNTINFO_USES_STATFS 1
195
-#define USE_GETMNTINFO 1
196
-
197
-#define FALSE 0
198
-#define TRUE 1
199
-typedef int bool;
200
-
201
-# endif
202
-
203
-/* ////////// OS X ////////// */
204
-# if defined( __MACH__ )
205
-/* mac osx 10.5 does not seem to like this one here */
206
-/*#include <unistd.h>
207
-#include <sys/vfs.h>
208
-#include <sys/statvfs.h> */
209
-#define MAC_LARGEFILE 1
210
-
211
-# endif
212
-
213
-#else /* Darwin / OS X */
214
-
215
-/* ////////// GNU/Linux ////////// */
216
-#if ( defined( __linux__ ) )
217
-
218
-#include <mntent.h>
219
-#include <sys/vfs.h>
220
+#ifdef HAVE_SYS_STATFS_H
221
#include <sys/statfs.h>
222
+#endif
223
224
-#define USE_STATFS 1
225
-#define HAVE_GETOPT_LONG 1
226
-#define HAS_LARGEFILE 1
227
-
228
- typedef enum { FALSE=0, TRUE=1 } bool;
229
-
230
-#elif defined( __GLIBC__ )
231
-
232
-#include <mntent.h>
233
+#ifdef HAVE_SYS_VFS_H
234
#include <sys/vfs.h>
235
-#include <sys/statvfs.h>
236
-
237
-#define HAVE_GETOPT_LONG 1
238
-#define HAS_LARGEFILE 1
239
-
240
- typedef enum { FALSE=0, TRUE=1 } bool;
241
-
242
-#else
243
-
244
-/* ////////// For other cases ////////// */
245
-
246
-typedef enum { FALSE=0, TRUE=1 } bool;
247
-
248
-#if defined( __USE_FILE_OFFSET64 )
249
-# define HAS_LARGEFILE 1
250
+#define USE_STATFS
251
+/* #define USE_STATFS_FOR_DEV */
252
#endif
253
+
254
+#ifdef HAVE_SYS_STATVFS_H
255
+#include <sys/statvfs.h>
256
+#ifndef USE_STATFS
257
+#define USE_STATVFS
258
+#ifndef USE_STATFS_FOR_DEV
259
+#define USE_STATVFS_FOR_DEV
260
#endif
261
#endif
262
#endif
263
-#endif
264
-
265
-
266
-/* OS/2 */
267
-#if defined(__EMX__)
268
-#define __off64_t __int64_t
269
-#include <sys/vfs.h>
270
-#include <sys/statfs.h>
271
-#define USE_STATFS 1
272
-#endif
273
-
274
275
+#ifdef HAVE_MNTENT_H
276
+#include <mntent.h>
277
+#endif
278
279
+#ifdef HAVE_GETMNTINFO
280
+#define USE_GETMNTINFO
281
+#define GETMNTINFO_USES_STATFS
282
+#endif
283
284
#include <dvdread/dvd_reader.h>
285
286
/*for/from play_title.c*/
287
+#ifdef HAVE_ASSERT_H
288
#include <assert.h>
289
-/* #include "config.h" */
290
+#endif
291
+
292
#include <dvdread/ifo_types.h>
293
#include <dvdread/ifo_read.h>
294
/* #include <dvdread/dvd_udf.h> */
295
296
int check_progress( void ); /* this can be removed because the one below supersedes it */
297
int progressUpdate( int starttime, int cur, int tot, int force );
298
299
-#if defined(__APPLE__) && defined(__GNUC__)
300
-int fdatasync( int value );
301
+#ifndef HAVE_FDATASYNC
302
+#define fdatasync(fd) 0
303
#endif
304
Refresh
No build results available
Refresh
No rpmlint results available
Login required, please
login
or
signup
in order to comment
Request History
bmwiedemann created request 20 days ago
update to 1.2.1
fixes build
olh accepted request 18 days ago