Remove toolame, nothing uses it any more.

audio/twolame is a supposed to be a maintained fork,
multimedia/transcode already uses it.

ok sthen@ fcambus@
This commit is contained in:
jca 2017-04-18 17:02:08 +00:00
parent acde68e254
commit f99c6d8676
10 changed files with 5 additions and 151 deletions

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.382 2017/03/27 08:12:03 fcambus Exp $
# $OpenBSD: Makefile,v 1.383 2017/04/18 17:02:08 jca Exp $
SUBDIR =
SUBDIR += abcde
@ -248,7 +248,6 @@
SUBDIR += teknap
SUBDIR += tempest
SUBDIR += timidity
SUBDIR += toolame
SUBDIR += tracker
SUBDIR += tremor
SUBDIR += tremor-tools

View File

@ -1,34 +0,0 @@
# $OpenBSD: Makefile,v 1.8 2013/03/10 22:55:06 espie Exp $
COMMENT= optimized mpeg 1/2 layer 2 audio encoder
DISTNAME= toolame-02l
PKGNAME= toolame-0.2l
REVISION= 1
CATEGORIES= audio
HOMEPAGE= http://www.eftel.com/~mikecheng/planckenergy/
# GPL
PERMIT_PACKAGE_CDROM= Yes
WANTLIB= c m
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=toolame/}
EXTRACT_SUFX= .tgz
USE_GMAKE= Yes
NO_TEST= Yes
DOC_FILES= FUTURE HISTORY README
ALL_TARGET= toolame
do-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/toolame
.for file in ${DOC_FILES}
${INSTALL_DATA} ${WRKSRC}/${file} ${PREFIX}/share/doc/toolame
.endfor
${INSTALL_PROGRAM} ${WRKBUILD}/toolame ${PREFIX}/bin
.include <bsd.port.mk>

View File

@ -1,2 +0,0 @@
SHA256 (toolame-02l.tgz) = O5XNJQS86sSqsvygO7O1l00dRLWv3Y60zA8ImVIb/8Q=
SIZE (toolame-02l.tgz) = 127493

View File

@ -1,20 +0,0 @@
$OpenBSD: patch-Makefile,v 1.1.1.1 2004/07/11 08:11:38 sturm Exp $
--- Makefile.orig 2004-04-21 22:47:14.000000000 -0700
+++ Makefile 2004-04-21 22:51:11.000000000 -0700
@@ -1,5 +1,5 @@
-CC = gcc
+#CC = gcc
c_sources = \
common.c \
@@ -56,7 +56,8 @@ WARNINGS2 = -Wstrict-prototypes -Wmissin
NEW_02L_FIXES = -DNEWENCODE -DNEWATAN
-CC_SWITCHES = $(OPTIM) $(REQUIRED) $(ARCH) $(PG) $(TWEAKS) $(WARNINGS) $(NEW_02L_FIXES)
+#CC_SWITCHES = $(OPTIM) $(REQUIRED) $(ARCH) $(PG) $(TWEAKS) $(WARNINGS) $(NEW_02L_FIXES)
+CC_SWITCHES = $(CFLAGS) $(REQUIRED)
PGM = toolame

View File

@ -1,52 +0,0 @@
$OpenBSD: patch-psycho_3_c,v 1.1.1.1 2004/07/11 08:11:38 sturm Exp $
--- psycho_3.c.orig 2003-03-01 01:34:52.000000000 -0800
+++ psycho_3.c 2004-04-21 22:41:50.000000000 -0700
@@ -131,10 +131,10 @@ void psycho_3_fft(FLOAT sample[BLKSIZE],
int i;
static int init = 0;
static FLOAT *window;
+ register const FLOAT sqrt_8_over_3 = pow (8.0 / 3.0, 0.5);
if (!init) { /* calculate window function for the Fourier transform */
window = (FLOAT *) mem_alloc (sizeof (DFFT), "window");
- register FLOAT sqrt_8_over_3 = pow (8.0 / 3.0, 0.5);
for (i = 0; i < BLKSIZE; i++) {
window[i] = sqrt_8_over_3 * 0.5 * (1 - cos (2.0 * PI * i / (BLKSIZE))) / BLKSIZE;
}
@@ -340,6 +340,7 @@ void psycho_3_threshold(FLOAT *LTg, int
int i,j,k;
FLOAT LTtm[SUBSIZE];
FLOAT LTnm[SUBSIZE];
+ FLOAT av,dz,vf;
for (i=0;i<SUBSIZE;i++) {
LTtm[i] = DBMIN;
@@ -353,10 +354,9 @@ void psycho_3_threshold(FLOAT *LTg, int
if (tonelabel[k]==TONE) {
for (j=0;j<SUBSIZE;j++) {
/* figure out how it masks the levels around it */
- FLOAT dz = bark[freq_subset[j]] - bark[k];
+ dz = bark[freq_subset[j]] - bark[k];
if (dz >= -3.0 && dz < 8.0) {
- FLOAT vf;
- FLOAT av = -1.525 - 0.275 * bark[k] - 4.5 + Xtm[k];
+ av = -1.525 - 0.275 * bark[k] - 4.5 + Xtm[k];
/* masking function for lower & upper slopes */
if (dz < -1)
vf = 17 * (dz + 1) - (0.4 * Xtm[k] + 6);
@@ -434,6 +434,7 @@ void psycho_3_smr(double *LTmin, double
void psycho_3_init(options *glopts) {
int i;
int cbase = 0; /* current base index for the bark range calculation */
+ FLOAT sfreq = (FLOAT) s_freq[header->version][header->sampling_frequency] * 1000;
fft_buf = (D1408 *) mem_alloc ((long) sizeof (D1408) * 2, "fft_buf");
@@ -441,7 +442,6 @@ void psycho_3_init(options *glopts) {
psycho_3_init_add_db();
/* For each spectral line calculate the bark and the ATH (in dB) */
- FLOAT sfreq = (FLOAT) s_freq[header->version][header->sampling_frequency] * 1000;
for (i=1;i<HBLKSIZE; i++) {
FLOAT freq = i * sfreq/BLKSIZE;
bark[i] = freq2bark(freq);

View File

@ -1,23 +0,0 @@
$OpenBSD: patch-psycho_4_c,v 1.1.1.1 2004/07/11 08:11:38 sturm Exp $
--- psycho_4.c.orig 2003-03-01 16:50:26.000000000 -0800
+++ psycho_4.c 2004-04-21 22:41:50.000000000 -0700
@@ -330,6 +330,8 @@ void psycho_4 (short int *buffer, short
void psycho_4_init (double sfreq, options *glopts)
{
int i, j;
+ int partition_count; /* keep a count of the partitions */
+ int cbase; /* current base index for the bark range calculation */
/* Allocate memory for all the static variables */
psycho_4_allocmem();
@@ -365,8 +367,8 @@ void psycho_4_init (double sfreq, option
Starting from line 0, all lines within 0.33 of the starting
bark are added to the same partition. When a line is greater
by 0.33 of a bark, start a new partition. */
- int partition_count = 0; /* keep a count of the partitions */
- int cbase = 0; /* current base index for the bark range calculation */
+ partition_count = 0;
+ cbase = 0;
for (i=0;i<HBLKSIZE;i++) {
if ((bark[i] - bark[cbase]) > 0.33) { /* 1/3 critical band? */
/* this frequency line is too different from the starting line,

View File

@ -1,9 +0,0 @@
[ excerpt from developer's README ]
tooLAME is an optimized Mpeg Audio 1/2 Layer 2 encoder based heavily
on:
- the ISO dist10 code
- improvement to algorithms as part of the LAME project
(www.sulaco.org/mp3)
- work by myself and other contributors

View File

@ -1,6 +0,0 @@
@comment $OpenBSD: PLIST,v 1.2 2004/08/09 11:50:26 espie Exp $
bin/toolame
share/doc/toolame/
share/doc/toolame/FUTURE
share/doc/toolame/HISTORY
share/doc/toolame/README

View File

@ -1,11 +1,11 @@
# $OpenBSD: Makefile,v 1.465 2017/04/17 19:49:39 naddy Exp $
# $OpenBSD: Makefile,v 1.466 2017/04/18 17:02:08 jca Exp $
COMMENT = exceptions to pkg_add rules
CATEGORIES = devel databases
DISTFILES =
# API.rev
PKGNAME = quirks-2.310
PKGNAME = quirks-2.311
PKG_ARCH = *
MAINTAINER = Marc Espie <espie@openbsd.org>

View File

@ -1,7 +1,7 @@
#! /usr/bin/perl
# ex:ts=8 sw=4:
# $OpenBSD: Quirks.pm,v 1.477 2017/04/17 19:49:39 naddy Exp $
# $OpenBSD: Quirks.pm,v 1.478 2017/04/18 17:02:08 jca Exp $
#
# Copyright (c) 2009 Marc Espie <espie@openbsd.org>
#
@ -954,6 +954,7 @@ my $obsolete_reason = {
'pinpoint' => 3,
'anjuta' => 3,
'libneural' => 5,
'toolame' => 5,
};
# reasons for obsolete packages