This commit is contained in:
commit
3ffcf8d529
23
.gitattributes
vendored
Normal file
23
.gitattributes
vendored
Normal file
@ -0,0 +1,23 @@
|
|||||||
|
## Default LFS
|
||||||
|
*.7z filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.bsp filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.bz2 filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.gem filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.gz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.jar filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.lz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.lzma filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.obscpio filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.oxt filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.pdf filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.png filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.rpm filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.tbz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.tbz2 filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.tgz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.ttf filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.txz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.whl filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.xz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.zip filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.zst filter=lfs diff=lfs merge=lfs -text
|
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
|||||||
|
.osc
|
27
cdparanoia-III-alpha9.7.dif
Normal file
27
cdparanoia-III-alpha9.7.dif
Normal file
@ -0,0 +1,27 @@
|
|||||||
|
--- configure.in
|
||||||
|
+++ configure.in
|
||||||
|
@@ -12,24 +12,8 @@
|
||||||
|
AC_CHECK_PROG(AR,ar,ar)
|
||||||
|
AC_CHECK_PROG(INSTALL,install,install)
|
||||||
|
|
||||||
|
-if test -z "$GCC"; then
|
||||||
|
- DEBUG="-g"
|
||||||
|
- OPT="-O"
|
||||||
|
-else
|
||||||
|
- case $host in
|
||||||
|
- i?86-*-linux*)
|
||||||
|
- DEBUG="-g -Wall -fsigned-char"
|
||||||
|
- OPT="-O20 -ffast-math -fsigned-char -finline-functions";;
|
||||||
|
- *)
|
||||||
|
- DEBUG="-g -Wall -fsigned-char"
|
||||||
|
- OPT="-O20 -fsigned-char";;
|
||||||
|
- esac
|
||||||
|
-fi
|
||||||
|
-
|
||||||
|
AC_HEADER_STDC
|
||||||
|
|
||||||
|
-CFLAGS=""
|
||||||
|
-
|
||||||
|
TYPESIZES=""
|
||||||
|
|
||||||
|
AC_CHECK_SIZEOF(short)
|
20
cdparanoia-III-alpha9.8-dt_needed.patch
Normal file
20
cdparanoia-III-alpha9.8-dt_needed.patch
Normal file
@ -0,0 +1,20 @@
|
|||||||
|
--- paranoia/Makefile.in
|
||||||
|
+++ paranoia/Makefile.in
|
||||||
|
@@ -21,7 +21,7 @@
|
||||||
|
OFILES = paranoia.o p_block.o overlap.o gap.o isort.o
|
||||||
|
#TFILES = isort.t gap.t p_block.t paranoia.t
|
||||||
|
|
||||||
|
-LIBS = ../interface/libcdda_interface.a -lm
|
||||||
|
+LIBS = ../interface/libcdda_interface.so -lm
|
||||||
|
export VERSION
|
||||||
|
|
||||||
|
all: lib slib
|
||||||
|
@@ -44,7 +44,7 @@
|
||||||
|
$(RANLIB) libcdda_paranoia.a
|
||||||
|
|
||||||
|
libcdda_paranoia.so: $(OFILES)
|
||||||
|
- $(CC) -fpic -shared -o libcdda_paranoia.so.0.$(VERSION) -Wl,-soname -Wl,libcdda_paranoia.so.0 $(OFILES)
|
||||||
|
+ $(CC) -fpic -shared -o libcdda_paranoia.so.0.$(VERSION) -Wl,-soname -Wl,libcdda_paranoia.so.0 $(OFILES) $(LIBS)
|
||||||
|
[ -e libcdda_paranoia.so.0 ] || ln -s libcdda_paranoia.so.0.$(VERSION) libcdda_paranoia.so.0
|
||||||
|
[ -e libcdda_paranoia.so ] || ln -s libcdda_paranoia.so.0.$(VERSION) libcdda_paranoia.so
|
||||||
|
|
267
cdparanoia-III-alpha9.8-gcc34.patch
Normal file
267
cdparanoia-III-alpha9.8-gcc34.patch
Normal file
@ -0,0 +1,267 @@
|
|||||||
|
--- cdparanoia-III-alpha9.8/interface/scsi_interface.c
|
||||||
|
+++ cdparanoia-III-alpha9.8/interface/scsi_interface.c
|
||||||
|
@@ -288,7 +288,7 @@
|
||||||
|
|
||||||
|
static int mode_sense_atapi(cdrom_drive *d,int size,int page){
|
||||||
|
memcpy(d->sg_buffer,
|
||||||
|
- (char []) {0x5A, /* MODE_SENSE */
|
||||||
|
+ ((char []) {0x5A, /* MODE_SENSE */
|
||||||
|
0x00, /* reserved */
|
||||||
|
0x00, /* page */
|
||||||
|
0, /* reserved */
|
||||||
|
@@ -297,7 +297,7 @@
|
||||||
|
0, /* reserved */
|
||||||
|
0, /* MSB (0) */
|
||||||
|
0, /* sizeof(modesense - SG_OFF) */
|
||||||
|
- 0}, /* reserved */
|
||||||
|
+ 0}), /* reserved */
|
||||||
|
10);
|
||||||
|
|
||||||
|
d->sg_buffer[1]=d->lun<<5;
|
||||||
|
@@ -325,12 +325,12 @@
|
||||||
|
|
||||||
|
static int mode_sense_scsi(cdrom_drive *d,int size,int page){
|
||||||
|
memcpy(d->sg_buffer,
|
||||||
|
- (char []) {0x1A, /* MODE_SENSE */
|
||||||
|
+ ((char []) {0x1A, /* MODE_SENSE */
|
||||||
|
0x00, /* return block descriptor/lun */
|
||||||
|
0x00, /* page */
|
||||||
|
0, /* reserved */
|
||||||
|
0, /* sizeof(modesense - SG_OFF) */
|
||||||
|
- 0}, /* control */
|
||||||
|
+ 0}), /* control */
|
||||||
|
6);
|
||||||
|
|
||||||
|
d->sg_buffer[1]=d->lun<<5;
|
||||||
|
@@ -353,7 +353,7 @@
|
||||||
|
unsigned char *mode = d->sg_buffer + 18;
|
||||||
|
|
||||||
|
memcpy(d->sg_buffer,
|
||||||
|
- (char []) { 0x55, /* MODE_SELECT */
|
||||||
|
+ ((char []) { 0x55, /* MODE_SELECT */
|
||||||
|
0x10, /* no save page */
|
||||||
|
0, /* reserved */
|
||||||
|
0, /* reserved */
|
||||||
|
@@ -372,7 +372,7 @@
|
||||||
|
0, /* Density Code */
|
||||||
|
0, 0, 0, /* # of Blocks */
|
||||||
|
0, /* reserved */
|
||||||
|
- 0, 0, 0},/* Blocklen */
|
||||||
|
+ 0, 0, 0}),/* Blocklen */
|
||||||
|
26);
|
||||||
|
|
||||||
|
d->sg_buffer[1]|=d->lun<<5;
|
||||||
|
@@ -389,7 +389,7 @@
|
||||||
|
unsigned char *mode = d->sg_buffer + 10;
|
||||||
|
|
||||||
|
memcpy(d->sg_buffer,
|
||||||
|
- (char []) { 0x15, /* MODE_SELECT */
|
||||||
|
+ ((char []) { 0x15, /* MODE_SELECT */
|
||||||
|
0x10, /* no save page */
|
||||||
|
0, /* reserved */
|
||||||
|
0, /* reserved */
|
||||||
|
@@ -402,7 +402,7 @@
|
||||||
|
0, /* Density Code */
|
||||||
|
0, 0, 0, /* # of Blocks */
|
||||||
|
0, /* reserved */
|
||||||
|
- 0, 0, 0},/* Blocklen */
|
||||||
|
+ 0, 0, 0}),/* Blocklen */
|
||||||
|
18);
|
||||||
|
|
||||||
|
/* prepare to read cds in the previous mode */
|
||||||
|
@@ -470,7 +470,7 @@
|
||||||
|
len lsb, flags */
|
||||||
|
|
||||||
|
/* read the header first */
|
||||||
|
- memcpy(d->sg_buffer, (char []){ 0x43, 0, 0, 0, 0, 0, 1, 0, 12, 0}, 10);
|
||||||
|
+ memcpy(d->sg_buffer, ((char []){ 0x43, 0, 0, 0, 0, 0, 1, 0, 12, 0}), 10);
|
||||||
|
d->sg_buffer[1]=d->lun<<5;
|
||||||
|
|
||||||
|
if (handle_scsi_cmd (d,10, 0, 12,'\377',1)){
|
||||||
|
@@ -488,7 +488,7 @@
|
||||||
|
}
|
||||||
|
|
||||||
|
for (i = first; i <= last; i++){
|
||||||
|
- memcpy(d->sg_buffer, (char []){ 0x43, 0, 0, 0, 0, 0, 0, 0, 12, 0}, 10);
|
||||||
|
+ memcpy(d->sg_buffer, ((char []){ 0x43, 0, 0, 0, 0, 0, 0, 0, 12, 0}), 10);
|
||||||
|
d->sg_buffer[1]=d->lun<<5;
|
||||||
|
d->sg_buffer[6]=i;
|
||||||
|
|
||||||
|
@@ -509,7 +509,7 @@
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
- memcpy(d->sg_buffer, (char []){ 0x43, 0, 0, 0, 0, 0, 0, 0, 12, 0}, 10);
|
||||||
|
+ memcpy(d->sg_buffer, ((char []){ 0x43, 0, 0, 0, 0, 0, 0, 0, 12, 0}), 10);
|
||||||
|
d->sg_buffer[1]=d->lun<<5;
|
||||||
|
d->sg_buffer[6]=0xAA;
|
||||||
|
|
||||||
|
@@ -541,7 +541,7 @@
|
||||||
|
int i;
|
||||||
|
unsigned tracks;
|
||||||
|
|
||||||
|
- memcpy(d->sg_buffer, (char[]){ 0xe5, 0, 0, 0, 0, 0, 0, 0, 0, 0}, 10);
|
||||||
|
+ memcpy(d->sg_buffer, ((char[]){ 0xe5, 0, 0, 0, 0, 0, 0, 0, 0, 0}), 10);
|
||||||
|
d->sg_buffer[5]=1;
|
||||||
|
d->sg_buffer[8]=255;
|
||||||
|
|
||||||
|
@@ -558,7 +558,7 @@
|
||||||
|
}
|
||||||
|
|
||||||
|
for (i = 0; i < tracks; i++){
|
||||||
|
- memcpy(d->sg_buffer, (char[]){ 0xe5, 0, 0, 0, 0, 0, 0, 0, 0, 0}, 10);
|
||||||
|
+ memcpy(d->sg_buffer, ((char[]){ 0xe5, 0, 0, 0, 0, 0, 0, 0, 0, 0}), 10);
|
||||||
|
d->sg_buffer[5]=i+1;
|
||||||
|
d->sg_buffer[8]=255;
|
||||||
|
|
||||||
|
@@ -604,7 +604,7 @@
|
||||||
|
|
||||||
|
static int i_read_28 (cdrom_drive *d, void *p, long begin, long sectors){
|
||||||
|
int ret;
|
||||||
|
- memcpy(d->sg_buffer,(char []){0x28, 0, 0, 0, 0, 0, 0, 0, 0, 0},10);
|
||||||
|
+ memcpy(d->sg_buffer,((char []){0x28, 0, 0, 0, 0, 0, 0, 0, 0, 0}),10);
|
||||||
|
|
||||||
|
if(d->fua)
|
||||||
|
d->sg_buffer[1]=0x08;
|
||||||
|
@@ -623,7 +623,7 @@
|
||||||
|
|
||||||
|
static int i_read_A8 (cdrom_drive *d, void *p, long begin, long sectors){
|
||||||
|
int ret;
|
||||||
|
- memcpy(d->sg_buffer,(char []){0xA8, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0},12);
|
||||||
|
+ memcpy(d->sg_buffer,((char []){0xA8, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}),12);
|
||||||
|
|
||||||
|
if(d->fua)
|
||||||
|
d->sg_buffer[1]=0x08;
|
||||||
|
@@ -642,7 +642,7 @@
|
||||||
|
|
||||||
|
static int i_read_D4_10 (cdrom_drive *d, void *p, long begin, long sectors){
|
||||||
|
int ret;
|
||||||
|
- memcpy(d->sg_buffer,(char []){0xd4, 0, 0, 0, 0, 0, 0, 0, 0, 0},10);
|
||||||
|
+ memcpy(d->sg_buffer,((char []){0xd4, 0, 0, 0, 0, 0, 0, 0, 0, 0}),10);
|
||||||
|
|
||||||
|
if(d->fua)
|
||||||
|
d->sg_buffer[1]=0x08;
|
||||||
|
@@ -660,7 +660,7 @@
|
||||||
|
|
||||||
|
static int i_read_D4_12 (cdrom_drive *d, void *p, long begin, long sectors){
|
||||||
|
int ret;
|
||||||
|
- memcpy(d->sg_buffer,(char []){0xd4, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0},12);
|
||||||
|
+ memcpy(d->sg_buffer,((char []){0xd4, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}),12);
|
||||||
|
|
||||||
|
if(d->fua)
|
||||||
|
d->sg_buffer[1]=0x08;
|
||||||
|
@@ -678,7 +678,7 @@
|
||||||
|
|
||||||
|
static int i_read_D5 (cdrom_drive *d, void *p, long begin, long sectors){
|
||||||
|
int ret;
|
||||||
|
- memcpy(d->sg_buffer,(char []){0xd5, 0, 0, 0, 0, 0, 0, 0, 0, 0},10);
|
||||||
|
+ memcpy(d->sg_buffer,((char []){0xd5, 0, 0, 0, 0, 0, 0, 0, 0, 0}),10);
|
||||||
|
|
||||||
|
if(d->fua)
|
||||||
|
d->sg_buffer[1]=0x08;
|
||||||
|
@@ -696,7 +696,7 @@
|
||||||
|
|
||||||
|
static int i_read_D8 (cdrom_drive *d, void *p, long begin, long sectors){
|
||||||
|
int ret;
|
||||||
|
- memcpy(d->sg_buffer,(char []){0xd8, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0},12);
|
||||||
|
+ memcpy(d->sg_buffer,((char []){0xd8, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}),12);
|
||||||
|
|
||||||
|
if(d->fua)
|
||||||
|
d->sg_buffer[1]=0x08;
|
||||||
|
@@ -719,7 +719,7 @@
|
||||||
|
return(TR_ILLEGAL);
|
||||||
|
}*/
|
||||||
|
|
||||||
|
- memcpy(d->sg_buffer,(char []){0xbe, 0, 0, 0, 0, 0, 0, 0, 0, 0x10, 0, 0},12);
|
||||||
|
+ memcpy(d->sg_buffer,((char []){0xbe, 0, 0, 0, 0, 0, 0, 0, 0, 0x10, 0, 0}),12);
|
||||||
|
|
||||||
|
d->sg_buffer[3] = (begin >> 16) & 0xFF;
|
||||||
|
d->sg_buffer[4] = (begin >> 8) & 0xFF;
|
||||||
|
@@ -733,7 +733,7 @@
|
||||||
|
|
||||||
|
static int i_read_mmc2 (cdrom_drive *d, void *p, long begin, long sectors){
|
||||||
|
int ret;
|
||||||
|
- memcpy(d->sg_buffer,(char []){0xbe, 0, 0, 0, 0, 0, 0, 0, 0, 0xf8, 0, 0},12);
|
||||||
|
+ memcpy(d->sg_buffer,((char []){0xbe, 0, 0, 0, 0, 0, 0, 0, 0, 0xf8, 0, 0}),12);
|
||||||
|
|
||||||
|
d->sg_buffer[3] = (begin >> 16) & 0xFF;
|
||||||
|
d->sg_buffer[4] = (begin >> 8) & 0xFF;
|
||||||
|
@@ -747,7 +747,7 @@
|
||||||
|
|
||||||
|
static int i_read_mmc3 (cdrom_drive *d, void *p, long begin, long sectors){
|
||||||
|
int ret;
|
||||||
|
- memcpy(d->sg_buffer,(char []){0xbe, 4, 0, 0, 0, 0, 0, 0, 0, 0xf8, 0, 0},12);
|
||||||
|
+ memcpy(d->sg_buffer,((char []){0xbe, 4, 0, 0, 0, 0, 0, 0, 0, 0xf8, 0, 0}),12);
|
||||||
|
|
||||||
|
d->sg_buffer[3] = (begin >> 16) & 0xFF;
|
||||||
|
d->sg_buffer[4] = (begin >> 8) & 0xFF;
|
||||||
|
@@ -782,7 +782,7 @@
|
||||||
|
|
||||||
|
static int i_read_msf (cdrom_drive *d, void *p, long begin, long sectors){
|
||||||
|
int ret;
|
||||||
|
- memcpy(d->sg_buffer,(char []){0xb9, 0, 0, 0, 0, 0, 0, 0, 0, 0x10, 0, 0},12);
|
||||||
|
+ memcpy(d->sg_buffer,((char []){0xb9, 0, 0, 0, 0, 0, 0, 0, 0, 0x10, 0, 0}),12);
|
||||||
|
|
||||||
|
LBA_to_MSF(begin,d->sg_buffer+3,d->sg_buffer+4,d->sg_buffer+5);
|
||||||
|
LBA_to_MSF(begin+sectors,d->sg_buffer+6,d->sg_buffer+7,d->sg_buffer+8);
|
||||||
|
@@ -795,7 +795,7 @@
|
||||||
|
|
||||||
|
static int i_read_msf2 (cdrom_drive *d, void *p, long begin, long sectors){
|
||||||
|
int ret;
|
||||||
|
- memcpy(d->sg_buffer,(char []){0xb9, 0, 0, 0, 0, 0, 0, 0, 0, 0xf8, 0, 0},12);
|
||||||
|
+ memcpy(d->sg_buffer,((char []){0xb9, 0, 0, 0, 0, 0, 0, 0, 0, 0xf8, 0, 0}),12);
|
||||||
|
|
||||||
|
LBA_to_MSF(begin,d->sg_buffer+3,d->sg_buffer+4,d->sg_buffer+5);
|
||||||
|
LBA_to_MSF(begin+sectors,d->sg_buffer+6,d->sg_buffer+7,d->sg_buffer+8);
|
||||||
|
@@ -808,7 +808,7 @@
|
||||||
|
|
||||||
|
static int i_read_msf3 (cdrom_drive *d, void *p, long begin, long sectors){
|
||||||
|
int ret;
|
||||||
|
- memcpy(d->sg_buffer,(char []){0xb9, 4, 0, 0, 0, 0, 0, 0, 0, 0xf8, 0, 0},12);
|
||||||
|
+ memcpy(d->sg_buffer,((char []){0xb9, 4, 0, 0, 0, 0, 0, 0, 0, 0xf8, 0, 0}),12);
|
||||||
|
|
||||||
|
LBA_to_MSF(begin,d->sg_buffer+3,d->sg_buffer+4,d->sg_buffer+5);
|
||||||
|
LBA_to_MSF(begin+sectors,d->sg_buffer+6,d->sg_buffer+7,d->sg_buffer+8);
|
||||||
|
@@ -1381,7 +1381,7 @@
|
||||||
|
|
||||||
|
/* request vendor brand and model */
|
||||||
|
unsigned char *scsi_inquiry(cdrom_drive *d){
|
||||||
|
- memcpy(d->sg_buffer,(char[]){ 0x12,0,0,0,56,0},6);
|
||||||
|
+ memcpy(d->sg_buffer,((char[]){ 0x12,0,0,0,56,0}),6);
|
||||||
|
|
||||||
|
if(handle_scsi_cmd(d,6, 0, 56,'\377',1)) {
|
||||||
|
cderror(d,"008: Unable to identify CDROM model\n");
|
||||||
|
--- cdparanoia-III-alpha9.8/interface/utils.h
|
||||||
|
+++ cdparanoia-III-alpha9.8/interface/utils.h
|
||||||
|
@@ -112,6 +112,7 @@
|
||||||
|
break;
|
||||||
|
case CDDA_MESSAGE_FORGETIT:
|
||||||
|
default:
|
||||||
|
+ break;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
@@ -127,6 +128,7 @@
|
||||||
|
break;
|
||||||
|
case CDDA_MESSAGE_FORGETIT:
|
||||||
|
default:
|
||||||
|
+ break;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
@@ -169,6 +171,7 @@
|
||||||
|
break;
|
||||||
|
case CDDA_MESSAGE_FORGETIT:
|
||||||
|
default:
|
||||||
|
+ break;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
if(malloced)free(buffer);
|
||||||
|
@@ -205,6 +208,7 @@
|
||||||
|
break;
|
||||||
|
case CDDA_MESSAGE_FORGETIT:
|
||||||
|
default:
|
||||||
|
+ break;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
if(malloced)free(buffer);
|
15
cdparanoia-III-alpha9.8-ide_majors.patch
Normal file
15
cdparanoia-III-alpha9.8-ide_majors.patch
Normal file
@ -0,0 +1,15 @@
|
|||||||
|
--- interface/scan_devices.c
|
||||||
|
+++ interface/scan_devices.c
|
||||||
|
@@ -177,6 +177,12 @@
|
||||||
|
case IDE1_MAJOR:
|
||||||
|
case IDE2_MAJOR:
|
||||||
|
case IDE3_MAJOR:
|
||||||
|
+ case IDE4_MAJOR:
|
||||||
|
+ case IDE5_MAJOR:
|
||||||
|
+ case IDE6_MAJOR:
|
||||||
|
+ case IDE7_MAJOR:
|
||||||
|
+ case IDE8_MAJOR:
|
||||||
|
+ case IDE9_MAJOR:
|
||||||
|
/* Yay, ATAPI... */
|
||||||
|
/* Ping for CDROM-ness */
|
||||||
|
|
11
cdparanoia-III-alpha9.8-solve-crash.patch
Normal file
11
cdparanoia-III-alpha9.8-solve-crash.patch
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
--- cdparanoia-III-alpha9.8/interface/scan_devices.c
|
||||||
|
+++ cdparanoia-III-alpha9.8/interface/scan_devices.c
|
||||||
|
@@ -617,7 +617,7 @@
|
||||||
|
|
||||||
|
/* It would seem some TOSHIBA CDROMs gets things wrong */
|
||||||
|
|
||||||
|
- if (!strncmp (p + 8, "TOSHIBA", 7) &&
|
||||||
|
+ if (p && !strncmp (p + 8, "TOSHIBA", 7) &&
|
||||||
|
!strncmp (p + 16, "CD-ROM", 6) &&
|
||||||
|
p[0] == TYPE_DISK) {
|
||||||
|
p[0] = TYPE_ROM;
|
10
cdparanoia-III-alpha9.8-strip.patch
Normal file
10
cdparanoia-III-alpha9.8-strip.patch
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
--- Makefile.in
|
||||||
|
+++ Makefile.in
|
||||||
|
@@ -44,7 +44,6 @@
|
||||||
|
cd interface && $(MAKE) all
|
||||||
|
cd paranoia && $(MAKE) all
|
||||||
|
$(MAKE) cdparanoia CFLAGS="$(OPT)"
|
||||||
|
- strip cdparanoia
|
||||||
|
|
||||||
|
debug:
|
||||||
|
cd interface && $(MAKE) debug
|
3
cdparanoia-III-alpha9.8.src.tgz
Normal file
3
cdparanoia-III-alpha9.8.src.tgz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:1b79fae1aedc692f87d1344410f5c6b666961afccdc78bc5c4c257c450dfa008
|
||||||
|
size 116591
|
156
cdparanoia.changes
Normal file
156
cdparanoia.changes
Normal file
@ -0,0 +1,156 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Oct 27 11:54:33 CEST 2006 - lnussel@suse.de
|
||||||
|
|
||||||
|
- remove resmgr patch
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Jun 12 12:57:47 CEST 2006 - dmueller@suse.de
|
||||||
|
|
||||||
|
- add DT_NEEDED for libcdda_interface to libccda_paranoia (#183849)
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri May 26 20:48:00 CEST 2006 - schwab@suse.de
|
||||||
|
|
||||||
|
- Don't strip binaries.
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue May 23 11:47:16 CEST 2006 - nadvornik@suse.cz
|
||||||
|
|
||||||
|
- check for all IDE major numbers
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Jan 25 21:34:53 CET 2006 - mls@suse.de
|
||||||
|
|
||||||
|
- converted neededforbuild to BuildRequires
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Aug 10 12:26:18 CEST 2005 - nadvornik@suse.cz
|
||||||
|
|
||||||
|
- use RPM_OPT_FLAGS instead of hardcoded CFLAGS [#93874]
|
||||||
|
- fixed compiler warnings
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Feb 07 17:36:41 CET 2005 - nadvornik@suse.cz
|
||||||
|
|
||||||
|
- do not dereference symlinks in resmgr device name [#44912]
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Sep 15 02:33:16 CEST 2004 - ro@suse.de
|
||||||
|
|
||||||
|
- don't use --host for configure
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Jan 28 16:01:13 CET 2004 - schwab@suse.de
|
||||||
|
|
||||||
|
- Fix missing library dependency.
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Sat Jan 17 12:26:35 CET 2004 - meissner@suse.de
|
||||||
|
|
||||||
|
- fixed labels at end of compound statement problem.
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Sun Jan 11 09:22:14 CET 2004 - adrian@suse.de
|
||||||
|
|
||||||
|
- add %run_ldconfig
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon May 19 13:09:04 CEST 2003 - meissner@suse.de
|
||||||
|
|
||||||
|
- remove .a files, they are not packaged.
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Feb 28 17:59:17 CET 2003 - meissner@suse.de
|
||||||
|
|
||||||
|
- Added resmgr support so cdparanoia can read audio CDs on
|
||||||
|
SCSI CD-ROMs (and ide-scsi based IDE CD-ROMs).
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Sep 24 15:48:11 CEST 2002 - nadvornik@suse.cz
|
||||||
|
|
||||||
|
- fixed crash with k3b [#18282]
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Sep 17 17:34:28 CEST 2002 - ro@suse.de
|
||||||
|
|
||||||
|
- removed bogus self-provides
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Apr 25 16:24:10 CEST 2002 - coolo@suse.de
|
||||||
|
|
||||||
|
- use %_libdir
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Jun 13 17:37:58 CEST 2001 - schwab@suse.de
|
||||||
|
|
||||||
|
- Fix stupid file names.
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Apr 3 00:54:32 MEST 2001 - bk@suse.de
|
||||||
|
|
||||||
|
- update to III-alpha9.8
|
||||||
|
- remove of static libs from filelist(shared libs are used by e.g. kde)
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Nov 9 11:01:24 CET 2000 - nadvornik@suse.cz
|
||||||
|
|
||||||
|
- renamed cdparano -> cdparanoia
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Apr 26 15:10:45 MEST 2000 - nadvornik@suse.cz
|
||||||
|
|
||||||
|
- changed Group
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Apr 10 11:00:45 CEST 2000 - nadvornik@suse.cz
|
||||||
|
|
||||||
|
- added BuildRoot
|
||||||
|
- added URL
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Feb 29 16:42:18 CET 2000 - uli@suse.de
|
||||||
|
|
||||||
|
- fixed filelist (this time for real)
|
||||||
|
- now builds with "-O2" instead of "-O20"
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Feb 29 15:21:22 CET 2000 - ro@suse.de
|
||||||
|
|
||||||
|
- fixed filelist
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Jan 17 17:59:18 CET 2000 - ro@suse.de
|
||||||
|
|
||||||
|
- update to III-alpha9.7
|
||||||
|
- man to /usr/share/man
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Sep 13 17:23:57 CEST 1999 - bs@suse.de
|
||||||
|
|
||||||
|
- ran old prepare_spec on spec file to switch to new prepare_spec.
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Sep 3 10:45:58 CEST 1999 - ro@suse.de
|
||||||
|
|
||||||
|
- update to III-alpha9.6
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Jul 9 15:05:59 MEST 1999 - ro@suse.de
|
||||||
|
|
||||||
|
- update to alpha9.5
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Sep 22 11:29:17 MEST 1998 - ro@suse.de
|
||||||
|
|
||||||
|
- update to alpha8 / define _GNU_SOURCE for compiling
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Aug 4 16:54:05 MEST 1998 - ro@suse.de
|
||||||
|
|
||||||
|
- update to alpha7
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Apr 24 12:28:05 MEST 1998 - ro@suse.de
|
||||||
|
|
||||||
|
- build initial package version 03alpha6
|
||||||
|
|
167
cdparanoia.spec
Normal file
167
cdparanoia.spec
Normal file
@ -0,0 +1,167 @@
|
|||||||
|
#
|
||||||
|
# spec file for package cdparanoia (Version IIIalpha9.8)
|
||||||
|
#
|
||||||
|
# Copyright (c) 2006 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||||
|
# This file and all modifications and additions to the pristine
|
||||||
|
# package are under the same license as the package itself.
|
||||||
|
#
|
||||||
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||||
|
#
|
||||||
|
|
||||||
|
# norootforbuild
|
||||||
|
|
||||||
|
Name: cdparanoia
|
||||||
|
Provides: cdparano
|
||||||
|
Obsoletes: cdparano
|
||||||
|
License: GNU General Public License (GPL) - all versions
|
||||||
|
Group: Productivity/Multimedia/CD/Grabbers
|
||||||
|
Autoreqprov: on
|
||||||
|
Version: IIIalpha9.8
|
||||||
|
Release: 577
|
||||||
|
Summary: A Program for Extracting, Verifying, and Fixing Audio Tracks from CDs
|
||||||
|
URL: http://www.xiph.org/paranoia/index.html
|
||||||
|
%define filever III-alpha9.8
|
||||||
|
Source: http://www.xiph.org/paranoia/download/cdparanoia-%{filever}.src.tgz
|
||||||
|
Patch: cdparanoia-III-alpha9.7.dif
|
||||||
|
Patch2: cdparanoia-III-alpha9.8-solve-crash.patch
|
||||||
|
#Patch3:
|
||||||
|
Patch4: cdparanoia-III-alpha9.8-gcc34.patch
|
||||||
|
Patch5: cdparanoia-III-alpha9.8-ide_majors.patch
|
||||||
|
Patch6: cdparanoia-III-alpha9.8-strip.patch
|
||||||
|
Patch7: cdparanoia-III-alpha9.8-dt_needed.patch
|
||||||
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
|
|
||||||
|
%description
|
||||||
|
This CDDA reader distribution ('cdparanoia') reads audio from the
|
||||||
|
CD-ROM directly as data and writes the data to a file or pipe as .wav,
|
||||||
|
.aifc, or raw 16-bit linear PCM.
|
||||||
|
|
||||||
|
This is a beta release. See http://www.xiph.org/paranoia/.
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
Authors:
|
||||||
|
--------
|
||||||
|
Monty <xiphmont@mit.edu>
|
||||||
|
|
||||||
|
%prep
|
||||||
|
%setup -q -n cdparanoia-%{filever}
|
||||||
|
%patch
|
||||||
|
%patch2 -p 1
|
||||||
|
#%patch3 -p 1
|
||||||
|
%patch4 -p 1
|
||||||
|
%patch5
|
||||||
|
%patch6
|
||||||
|
%patch7
|
||||||
|
|
||||||
|
%build
|
||||||
|
cp configure.guess config.guess
|
||||||
|
cp configure.sub config.sub
|
||||||
|
%{?suse_update_config:%{suse_update_config -f}}
|
||||||
|
cp config.guess configure.guess
|
||||||
|
cp config.sub configure.sub
|
||||||
|
autoconf
|
||||||
|
CFLAGS="$RPM_OPT_FLAGS" \
|
||||||
|
./configure \
|
||||||
|
--prefix=/usr \
|
||||||
|
--mandir=%{_mandir} \
|
||||||
|
--libdir=%_libdir
|
||||||
|
make
|
||||||
|
|
||||||
|
%install
|
||||||
|
mkdir -p $RPM_BUILD_ROOT/{%{_mandir}/man1,usr/{bin,include,lib}}
|
||||||
|
make prefix=$RPM_BUILD_ROOT/usr \
|
||||||
|
LIBDIR=$RPM_BUILD_ROOT/%_libdir \
|
||||||
|
MANDIR=$RPM_BUILD_ROOT/%{_mandir} install
|
||||||
|
JAPN_MANDIR=$RPM_BUILD_ROOT/%{_mandir}/ja/man1
|
||||||
|
mkdir -p $JAPN_MANDIR
|
||||||
|
install -m644 cdparanoia.1.jp $JAPN_MANDIR/cdparanoia.1
|
||||||
|
# do not package static libraries.
|
||||||
|
rm $RPM_BUILD_ROOT/%_libdir/libcdda_interface.a
|
||||||
|
rm $RPM_BUILD_ROOT/%_libdir/libcdda_paranoia.a
|
||||||
|
|
||||||
|
%clean
|
||||||
|
rm -rf $RPM_BUILD_ROOT
|
||||||
|
|
||||||
|
%post
|
||||||
|
%run_ldconfig
|
||||||
|
|
||||||
|
%postun
|
||||||
|
%run_ldconfig
|
||||||
|
|
||||||
|
%files
|
||||||
|
%defattr(-,root,root)
|
||||||
|
%doc README FAQ.txt
|
||||||
|
%{_mandir}/man1/*
|
||||||
|
%{_mandir}/ja/man1/*
|
||||||
|
/usr/bin/*
|
||||||
|
/usr/include/*
|
||||||
|
%_libdir/lib*.so*
|
||||||
|
|
||||||
|
%changelog -n cdparanoia
|
||||||
|
* Fri Oct 27 2006 - lnussel@suse.de
|
||||||
|
- remove resmgr patch
|
||||||
|
* Mon Jun 12 2006 - dmueller@suse.de
|
||||||
|
- add DT_NEEDED for libcdda_interface to libccda_paranoia (#183849)
|
||||||
|
* Fri May 26 2006 - schwab@suse.de
|
||||||
|
- Don't strip binaries.
|
||||||
|
* Tue May 23 2006 - nadvornik@suse.cz
|
||||||
|
- check for all IDE major numbers
|
||||||
|
* Wed Jan 25 2006 - mls@suse.de
|
||||||
|
- converted neededforbuild to BuildRequires
|
||||||
|
* Wed Aug 10 2005 - nadvornik@suse.cz
|
||||||
|
- use RPM_OPT_FLAGS instead of hardcoded CFLAGS [#93874]
|
||||||
|
- fixed compiler warnings
|
||||||
|
* Mon Feb 07 2005 - nadvornik@suse.cz
|
||||||
|
- do not dereference symlinks in resmgr device name [#44912]
|
||||||
|
* Wed Sep 15 2004 - ro@suse.de
|
||||||
|
- don't use --host for configure
|
||||||
|
* Wed Jan 28 2004 - schwab@suse.de
|
||||||
|
- Fix missing library dependency.
|
||||||
|
* Sat Jan 17 2004 - meissner@suse.de
|
||||||
|
- fixed labels at end of compound statement problem.
|
||||||
|
* Sun Jan 11 2004 - adrian@suse.de
|
||||||
|
- add %%run_ldconfig
|
||||||
|
* Mon May 19 2003 - meissner@suse.de
|
||||||
|
- remove .a files, they are not packaged.
|
||||||
|
* Fri Feb 28 2003 - meissner@suse.de
|
||||||
|
- Added resmgr support so cdparanoia can read audio CDs on
|
||||||
|
SCSI CD-ROMs (and ide-scsi based IDE CD-ROMs).
|
||||||
|
* Tue Sep 24 2002 - nadvornik@suse.cz
|
||||||
|
- fixed crash with k3b [#18282]
|
||||||
|
* Tue Sep 17 2002 - ro@suse.de
|
||||||
|
- removed bogus self-provides
|
||||||
|
* Thu Apr 25 2002 - coolo@suse.de
|
||||||
|
- use %%_libdir
|
||||||
|
* Wed Jun 13 2001 - schwab@suse.de
|
||||||
|
- Fix stupid file names.
|
||||||
|
* Tue Apr 03 2001 - bk@suse.de
|
||||||
|
- update to III-alpha9.8
|
||||||
|
- remove of static libs from filelist(shared libs are used by e.g. kde)
|
||||||
|
* Thu Nov 09 2000 - nadvornik@suse.cz
|
||||||
|
- renamed cdparano -> cdparanoia
|
||||||
|
* Wed Apr 26 2000 - nadvornik@suse.cz
|
||||||
|
- changed Group
|
||||||
|
* Mon Apr 10 2000 - nadvornik@suse.cz
|
||||||
|
- added BuildRoot
|
||||||
|
- added URL
|
||||||
|
* Tue Feb 29 2000 - uli@suse.de
|
||||||
|
- fixed filelist (this time for real)
|
||||||
|
- now builds with "-O2" instead of "-O20"
|
||||||
|
* Tue Feb 29 2000 - ro@suse.de
|
||||||
|
- fixed filelist
|
||||||
|
* Mon Jan 17 2000 - ro@suse.de
|
||||||
|
- update to III-alpha9.7
|
||||||
|
- man to /usr/share/man
|
||||||
|
* Mon Sep 13 1999 - bs@suse.de
|
||||||
|
- ran old prepare_spec on spec file to switch to new prepare_spec.
|
||||||
|
* Fri Sep 03 1999 - ro@suse.de
|
||||||
|
- update to III-alpha9.6
|
||||||
|
* Fri Jul 09 1999 - ro@suse.de
|
||||||
|
- update to alpha9.5
|
||||||
|
* Tue Sep 22 1998 - ro@suse.de
|
||||||
|
- update to alpha8 / define _GNU_SOURCE for compiling
|
||||||
|
* Tue Aug 04 1998 - ro@suse.de
|
||||||
|
- update to alpha7
|
||||||
|
* Fri Apr 24 1998 - ro@suse.de
|
||||||
|
- build initial package version 03alpha6
|
Loading…
Reference in New Issue
Block a user