diff options
author | Jeremy Olexa <darkside@gentoo.org> | 2011-03-27 04:18:06 +0000 |
---|---|---|
committer | Jeremy Olexa <darkside@gentoo.org> | 2011-03-27 04:18:06 +0000 |
commit | 41857114ffbf0d96437fcae2e2de4090d442caaf (patch) | |
tree | d78eb357478ef1f6eab89ea00c6cddff1fcc4d89 /app-cdr | |
parent | Version bump. (diff) | |
download | historical-41857114ffbf0d96437fcae2e2de4090d442caaf.tar.gz historical-41857114ffbf0d96437fcae2e2de4090d442caaf.tar.bz2 historical-41857114ffbf0d96437fcae2e2de4090d442caaf.zip |
app-cdr/pxlinux removal, bug 337628
Diffstat (limited to 'app-cdr')
-rw-r--r-- | app-cdr/pxlinux/ChangeLog | 23 | ||||
-rw-r--r-- | app-cdr/pxlinux/Manifest | 15 | ||||
-rw-r--r-- | app-cdr/pxlinux/files/pxlinux-0.0.4-cleanups.patch | 267 | ||||
-rw-r--r-- | app-cdr/pxlinux/metadata.xml | 5 | ||||
-rw-r--r-- | app-cdr/pxlinux/pxlinux-0.0.4-r1.ebuild | 36 |
5 files changed, 0 insertions, 346 deletions
diff --git a/app-cdr/pxlinux/ChangeLog b/app-cdr/pxlinux/ChangeLog deleted file mode 100644 index 455136caa7da..000000000000 --- a/app-cdr/pxlinux/ChangeLog +++ /dev/null @@ -1,23 +0,0 @@ -# ChangeLog for app-cdr/pxlinux -# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-cdr/pxlinux/ChangeLog,v 1.7 2007/02/21 20:19:30 peper Exp $ - - 21 Feb 2007; Piotr Jaroszyński <peper@gentoo.org> ChangeLog: - Transition to Manifest2. - - 30 Jan 2006; Robin H. Johnson <robbat2@gentoo.org> Manifest: - Manifest fix. - - 29 Jan 2006; Marcus D. Hanwell <cryos@gentoo.org> pxlinux-0.0.4-r1.ebuild: - Dependency update: media-gfx/gnuplot -> sci-visualization/gnuplot. - -*pxlinux-0.0.4-r1 (10 Sep 2005) - - 10 Sep 2005; Mike Frysinger <vapier@gentoo.org> - +files/pxlinux-0.0.4-cleanups.patch, +pxlinux-0.0.4-r1.ebuild: - Cleanup the code a bit and fix segfaults #105432 by Thomas Maguin. - -*pxlinux-0.0.4 (06 Jun 2005) - - 06 Jun 2005; Mike Frysinger <vapier@gentoo.org> : - Initial import. Ebuild submitted by me. diff --git a/app-cdr/pxlinux/Manifest b/app-cdr/pxlinux/Manifest deleted file mode 100644 index d294fdc6f212..000000000000 --- a/app-cdr/pxlinux/Manifest +++ /dev/null @@ -1,15 +0,0 @@ ------BEGIN PGP SIGNED MESSAGE----- -Hash: SHA1 - -AUX pxlinux-0.0.4-cleanups.patch 6865 RMD160 b7dc3bbf9e9dfb08dfa4e93614858a577be0fa68 SHA1 a6c4387e25ea4b0df48eae2a8314537c5a101aec SHA256 6629e7fcbe563c21843036f6dca1cf6c782b9600f42ac1f8ef65481ca92b6406 -DIST pxlinux-0.0.4.tar.gz 153725 RMD160 aa4c74c886a33937444dad1c05be598b456ed099 SHA1 4437fac5ae655b964f1eb08f0ae1b817eae65595 SHA256 2bd34ae8c46414afffe8876afc1c562ce7a371cc53e3335fe129442d0aca3997 -EBUILD pxlinux-0.0.4-r1.ebuild 889 RMD160 b0ff980823b6d7ec8aa204083fbfe6fbba6f24e5 SHA1 68e559f82ab53f285a77ee00f4ed1fc9c6fb5c98 SHA256 5aa8d9f454ecd6516165c4bae2c0f3055c883b84f7a6df3ac9f75a6c7c1f3827 -MISC ChangeLog 864 RMD160 b68b8af49b2382e792e5929488f788440ba93efa SHA1 ad07988f8550d97d79cd81b6a5dccbaf0426167d SHA256 820cf57536603be8573b1337e53171b6e360e9aee5bf2f86b3d3c62c916c4c63 -MISC metadata.xml 166 RMD160 02ca0a5d9279c1b52c3887f5a1f52f3feb002af9 SHA1 b9fccc7c24aa717c30efef068fd544a692f264f6 SHA256 ce62d1e5b04e01d03a732ee6d33b3d500810de8e55af4a527c970e5b475735d8 ------BEGIN PGP SIGNATURE----- -Version: GnuPG v2.0.7 (GNU/Linux) - -iD8DBQFIQNUgj9hvisErhMIRAnG2AJwJG0Y15DAIX79uDppv78owh1ZrfwCfQs8U -9lXYbIyyDT5PL3jhduEYRTU= -=Wbyc ------END PGP SIGNATURE----- diff --git a/app-cdr/pxlinux/files/pxlinux-0.0.4-cleanups.patch b/app-cdr/pxlinux/files/pxlinux-0.0.4-cleanups.patch deleted file mode 100644 index 7d372e719016..000000000000 --- a/app-cdr/pxlinux/files/pxlinux-0.0.4-cleanups.patch +++ /dev/null @@ -1,267 +0,0 @@ -Remove unused variables/functions and fix misc warnings - ---- pxlinux/jitterbeta.cpp -+++ pxlinux/jitterbeta.cpp -@@ -364,15 +364,13 @@ - - Scsi_Command cmd; - -- int err; -- - if (!cmd.associate(drive)) - fprintf (stderr,"%s: unable to open: ",drive), - perror (NULL), - exit (1); - - for (int i=0;i<16;i++) { -- int j = read_one_ecc_block(drive, pBuffer, lba); -+ read_one_ecc_block(drive, pBuffer, lba); - //if (j == COMMAND_FAILED) i=16; - lba += 16; - } -@@ -394,7 +394,7 @@ - { - int capacity; - char *drive; -- int** result_map; -+ int* result_map; - int *speed; - int interval; - -@@ -427,7 +426,7 @@ - int jitter, k; - unsigned int value; - int produce_map = 0; -- void* pBuffer = malloc(32768); -+ char* pBuffer[32768]; - - - if (!capacity) read_capacity(drive, &capacity); -@@ -445,17 +445,15 @@ - // ReleaseSemaphore(hSemaphore, 1, NULL); - //} - -- if (result_map) { -- *result_map = (int*)calloc(sizeof(int), capacity+1); -- (*result_map)[0] = capacity; -+ result_map = (int*)calloc(sizeof(int), capacity+1); -+ result_map[0] = capacity; - produce_map = 1; -- } - - for (k = 0;k<capacity;k=k+interval) { - plextor_jitterbeta_do_16_ecc_blocks(drive, pBuffer, k*16*16, &jitter, &beta); - - value = (beta) << 16 | (jitter & 0xFFFF); -- if (produce_map) (*result_map)[k+1] = value; -+ if (produce_map) result_map[k+1] = value; - - //printf("\r(%5.1f%%) LBA: %06X jitter: %4d, beta: %4d", (float)k*100/capacity, - // k*16*16, jitter, (int)beta); -@@ -476,7 +475,6 @@ - - - plextor_end_pi(drive); -- delete pBuffer; - return 1; - - } ---- pxlinux/pif.cpp -+++ pxlinux/pif.cpp -@@ -346,7 +346,7 @@ - //memset( &srbExec, 0, sizeof(SRB_ExecSCSICmd) ); - - for (int i=0;i<8;i++) { -- int j = read_one_ecc_block(drive, pBuffer, lba); -+ read_one_ecc_block(drive, pBuffer, lba); - //if (j == COMMAND_FAILED) i = 8; - lba += 16; - } -@@ -366,7 +366,7 @@ - { - int capacity; - char *drive; -- int** result_map; -+ int* result_map; - int *speed; - int interval; - -@@ -391,11 +392,10 @@ - //printf("%d",speed); - - -- void* pBuffer = malloc(32768); -+ char* pBuffer[32768]; - long capacity_in_bytes; - - int scan_start_time; -- int scan_end_time; - int last_update; - int produce_map = 0; - -@@ -414,11 +414,9 @@ - printf("#disc capacity: %d sectors = %d ECC blocks\n\n", capacity, capacity >> 4); - capacity >>= 7; - -- if (result_map) { -- *result_map = (int*)calloc(sizeof(int), capacity+1); -- (*result_map)[0] = capacity; -+ result_map = (int*)calloc(sizeof(int), capacity+1); -+ result_map[0] = capacity; - produce_map = 1; -- } - - //if (virtual_file) { - // *virtual_file++ = capacity; -@@ -442,7 +440,7 @@ - for (k = 0;k<capacity;k=k+interval) { - plextor_pif_do_one_ecc_block(drive, pBuffer, k*16*8, ¤t_error_count); - total_error_count += current_error_count; -- if (produce_map) (*result_map)[k+1] = current_error_count; -+ if (produce_map) result_map[k+1] = current_error_count; - if (max_error_count < current_error_count) max_error_count = current_error_count; - if (current_error_count > 4) broken_count++; - -@@ -472,7 +470,7 @@ - //} - - total_error_count = 0; -- for (k=0;k<capacity;total_error_count+=(*result_map)[k+++1]); -+ for (k=0;k<capacity;total_error_count+=result_map[k+++1]); - - //if (!silent) { - printf("#\r#total error count : %8d \n", total_error_count); -@@ -486,7 +487,5 @@ - - //if (!silent) printf("duration : %d seconds\n", (scan_end_time - scan_start_time) / 1000); - -- delete pBuffer; -- - return 1; - } ---- pxlinux/pisum8.cpp -+++ pxlinux/pisum8.cpp -@@ -347,7 +347,7 @@ - //memset( &srbExec, 0, sizeof(SRB_ExecSCSICmd) ); - - for (int i=0;i<8;i++) { -- int j = read_one_ecc_block(drive, pBuffer, lba); -+ read_one_ecc_block(drive, pBuffer, lba); - //if (j == COMMAND_FAILED) i = 8; - lba += 16; - } -@@ -367,7 +367,7 @@ - { - int capacity; - char *drive; -- int** result_map; -+ int* result_map; - int *speed; - int interval; - -@@ -393,11 +394,10 @@ - //printf("%d",speed); - - -- void* pBuffer = malloc(32768); -+ char* pBuffer[32768]; - long capacity_in_bytes; - - int scan_start_time; -- int scan_end_time; - int last_update; - int produce_map = 0; - // int m; -@@ -417,11 +417,9 @@ - printf("#disc capacity: %d sectors = %d ECC blocks\n\n", capacity, capacity >> 4); - capacity >>= 7; - -- if (result_map) { -- *result_map = (int*)calloc(sizeof(int), capacity+1); -- (*result_map)[0] = capacity; -+ result_map = (int*)calloc(sizeof(int), capacity+1); -+ result_map[0] = capacity; - produce_map = 1; -- } - - //if (virtual_file) { - // *virtual_file++ = capacity; -@@ -444,7 +442,7 @@ - for (k = 0;k<capacity;k=k+interval) { - plextor_pisum8_do_eight_ecc_blocks(drive, pBuffer, k*16*8, ¤t_error_count); - total_error_count += current_error_count; -- if (produce_map) (*result_map)[k+1] = current_error_count; -+ if (produce_map) result_map[k+1] = current_error_count; - if (max_error_count < current_error_count) max_error_count = current_error_count; - if (current_error_count > 280) broken_count++; - -@@ -474,7 +472,7 @@ - //} - - total_error_count = 0; -- for (k=0;k<capacity;total_error_count+=(*result_map)[k+++1]); -+ for (k=0;k<capacity;total_error_count+=result_map[k+++1]); - - //if (!silent) { - printf("#\r#total error count : %8d \n", total_error_count); -@@ -488,7 +489,5 @@ - - //if (!silent) printf("duration : %d seconds\n", (scan_end_time - scan_start_time) / 1000); - -- delete pBuffer; -- - return 1; - } ---- pxlinux/ta.cpp -+++ pxlinux/ta.cpp -@@ -68,7 +68,6 @@ - { - int* dest[] = { dest_land, dest_pit }; - -- int size = swap2(response_data); - int count = swap2(response_data+2); - response_data+=28; - -@@ -94,7 +93,7 @@ - - for (int k=0;k<2;k++) { - j1=0; j2=0; local_max = 0; -- for (int i=40;i<330;i++) { -+ for (i=40;i<330;i++) { - if (src[k][i-1] <= src[k][i] && src[k][i+1] <= src[k][i] && src[k][i] > 20 && src[k][i] > local_max) { - peaks[k][j1] = i; - local_max = src[k][i]; -@@ -144,13 +143,9 @@ - { - - Scsi_Command cmd; -- unsigned char header[40],inq[128],*page2A=NULL; -- char cmdname[64]; - // int i,j,ntracks,err,dvd_dash=0,dvd_plus=0, - // plus_mediaid_printed=0,page2A_printed=0,dvd_ram_spare=0; -- unsigned short profile,dvd_0E=0,dvd_10=0,dvd_11=0,dvd_0A=0,dvd_C0=0; - //char data [65536]; //= {0x00,0x00,0,0,0,0,0,0}; -- char *pDest; - int layers; - - ---- pxlinux/transport.hxx -+++ pxlinux/transport.hxx -@@ -1271,6 +1271,8 @@ - #error "Unsupported OS" - #endif - -+#if 0 -+ - #define DUMP_EVENTS 0 - static int handle_events (Scsi_Command &cmd) - { unsigned char event[8]; -@@ -1599,6 +1601,8 @@ - } - #undef FEATURE21_BROKEN - -+#endif -+ - #undef ERRCODE - #undef CREAM_ON_ERRNO - #undef CREAM_ON_ERRNO_NAKED diff --git a/app-cdr/pxlinux/metadata.xml b/app-cdr/pxlinux/metadata.xml deleted file mode 100644 index 3ca6ae763b34..000000000000 --- a/app-cdr/pxlinux/metadata.xml +++ /dev/null @@ -1,5 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> -<herd>media-optical</herd> -</pkgmetadata> diff --git a/app-cdr/pxlinux/pxlinux-0.0.4-r1.ebuild b/app-cdr/pxlinux/pxlinux-0.0.4-r1.ebuild deleted file mode 100644 index 06ffa2528b63..000000000000 --- a/app-cdr/pxlinux/pxlinux-0.0.4-r1.ebuild +++ /dev/null @@ -1,36 +0,0 @@ -# Copyright 1999-2006 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-cdr/pxlinux/pxlinux-0.0.4-r1.ebuild,v 1.2 2006/01/29 19:50:58 cryos Exp $ - -inherit eutils - -DESCRIPTION="PlexTools-like app for Plextor drives in linux" -HOMEPAGE="http://www-user.tu-chemnitz.de/~noe/Plextor/" -SRC_URI="http://www-user.tu-chemnitz.de/~noe/Plextor/${P}.tar.gz" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~amd64 ~ppc ~x86" -IUSE="gnuplot" - -RDEPEND="gnuplot? ( dev-lang/python sci-visualization/gnuplot )" - -S=${WORKDIR}/${PN} - -src_unpack() { - unpack ${A} - cd "${S}" - epatch "${FILESDIR}"/${P}-cleanups.patch - rm -f Makefile -} - -src_compile() { - emake ta pif pisum8 jitterbeta || die "compile failed" -} - -src_install() { - dobin ta pif pisum8 jitterbeta || die "dobin failed" - use gnuplot && dobin *.py - dodoc CHANGELOG - dohtml -r doc_html/* -} |