Re: New Feature ( spliting files from folder into dvds )



Marcelo Politzer Couto <mpolitzer c gmail com> wrote:

> Hello every body, i am trying to implement a program that look into a
> folder and divides its contents into the necessary number of dvds.
> It still have some bugs, but works somehow, the thing is: I would like
> to create brasero sessions with them ( at now they are printed to the
> terminal divided by several "-" ) but I cant find the specifications
> for the xmls ( tried without much success seeing the .bras files ).
>
> Do you guys think it's a good idea ? advices and suggestions are
> welcome.

It does not compile as it does not honor the C syntax:

source='dvdiv.c' object='dvdiv.o' libtool=no \
        DEPDIR=.deps depmode=none /bin/bash ../depcomp \
        cc -DPACKAGE_NAME=\"dvdiv\" -DPACKAGE_TARNAME=\"dvdiv\" 
-DPACKAGE_VERSION=\"0.1\" -DPACKAGE_STRING=\"dvdiv\ 0.1\" 
-DPACKAGE_BUGREPORT=\"mpolitzer c gmail com\" -DPACKAGE=\"dvdiv\" 
-DVERSION=\"0.1\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 
-DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 
-DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_STDLIB_H=1 
-DHAVE_STRING_H=1 -DHAVE_STDLIB_H=1 -DHAVE_MALLOC=1 -DHAVE_STDLIB_H=1 
-DHAVE_REALLOC=1 -DHAVE_MEMSET=1 -I.      -g -c dvdiv.c
"dvdiv.c", line 85: warning: implicit function declaration: size_arguments
"dvdiv.c", line 92: identifier redeclared: size_arguments
        current : function() returning void
        previous: function() returning int : "dvdiv.c", line 85

Next problem: du(1) does not have an option like: --max-depth=1
see: http://www.opengroup.org/onlinepubs/9699919799/utilities/du.html

Wouldn't it be a better idea to think about a way to use the built in find(1)
command from mkisofs?

Jörg

-- 
 EMail:joerg schily isdn cs tu-berlin de (home) Jörg Schilling D-13353 Berlin
       js cs tu-berlin de                (uni)  
       joerg schilling fokus fraunhofer de (work) Blog: http://schily.blogspot.com/
 URL:  http://cdrecord.berlios.de/private/ ftp://ftp.berlios.de/pub/schily


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]