Remove Mac OS 9 project files
authorstopiccot <alexey.petruchik@gmail.com>
Wed, 20 May 2015 17:37:37 +0000 (20:37 +0300)
committerRalph Giles <giles@mozilla.com>
Thu, 21 May 2015 02:26:10 +0000 (19:26 -0700)
Signed-off-by: Ralph Giles <giles@thaumas.net>
13 files changed:
README
macos/compat/strdup.c [deleted file]
macos/compat/sys/types.h [deleted file]
macos/decoder_example.mcp [deleted file]
macos/encoder_example.mcp [deleted file]
macos/libvorbis.mcp [deleted file]
macos/libvorbis.mcp.exp [deleted file]
macos/libvorbisenc.mcp [deleted file]
macos/libvorbisenc.mcp.exp [deleted file]
macos/libvorbisfile.mcp [deleted file]
macos/libvorbisfile.mcp.exp [deleted file]
macos/vorbis.mcp [deleted file]
todo.txt [deleted file]

diff --git a/README b/README
index 343be9a..d4abf56 100644 (file)
--- a/README
+++ b/README
@@ -58,8 +58,6 @@ Directory:
 ./examples     Example code illustrating programmatic use of libvorbis, 
                libvorbisfile and libvorbisenc
 
-./mac          Codewarrior project files and build tweaks for MacOS.
-
 ./macosx       Project files for MacOS X.
 
 ./win32                Win32 projects files and build automation
@@ -113,22 +111,5 @@ after normal configuring:
   make dist
   rpm -ta libvorbis-<version>.tar.gz
 
-BUILDING ON MACOS 9:
-
-Vorbis on MacOS 9 is built using Metroworks CodeWarrior.  To build it, 
-first verify that the Ogg libraries are already built following the
-instructions in the Ogg module README.  Open vorbis/mac/libvorbis.mcp,
-switch to the "Targets" pane, select everything, and make the project.
-Do the same thing to build libvorbisenc.mcp, and libvorbisfile.mcp (in
-that order).  In vorbis/mac/Output you will now have both debug and final
-versions of Vorbis shared libraries to link your projects against.
-
-To build a project using Ogg Vorbis, add access paths to your
-CodeWarrior project for the ogg/include, ogg/mac/Output,
-vorbis/include, and vorbis/mac/Output folders.  Be sure that
-"interpret DOS and Unix paths" is turned on in your project; it can
-be found in the "access paths" pane in your project settings.  Now
-simply add the shared libraries you need to your project (OggLib and
-VorbisLib at least) and #include "ogg/ogg.h" and "vorbis/codec.h"
-wherever you need to access Ogg and Vorbis functionality.
+
 
diff --git a/macos/compat/strdup.c b/macos/compat/strdup.c
deleted file mode 100644 (file)
index 294e2d0..0000000
+++ /dev/null
@@ -1,21 +0,0 @@
-#include <ogg/os_types.h>
-#include <sys/types.h>
-#include <string.h>
-#include <stdlib.h>
-
-char *strdup(const char *inStr)
-{
-        char *outStr = NULL;
-        
-        if (inStr == NULL) {
-                return NULL;
-        }
-        
-        outStr = _ogg_malloc(strlen(inStr) + 1);
-        
-        if (outStr != NULL) {
-                strcpy(outStr, inStr);
-        }
-        
-        return outStr;
-}
diff --git a/macos/compat/sys/types.h b/macos/compat/sys/types.h
deleted file mode 100644 (file)
index 4ef7abd..0000000
+++ /dev/null
@@ -1 +0,0 @@
-#ifndef __SYS_TYPES_H__\r#define __SYS_TYPES_H__ 1\r\r#include <MacTypes.h>\r#include <alloca.h>\r#include <string.h>\r\rtypedef short                int16_t;\rtypedef long                int32_t;\rtypedef long long        int64_t;\r\r#define vorbis_size32_t long\r\r\r#if defined(__cplusplus)\rextern "C" {\r#endif\r\r#pragma options align=power\r\rchar *strdup(const char *inStr);\r\r#pragma options align=reset\r\r#if defined(__cplusplus)\r}\r#endif\r\r#endif /* __SYS_TYPES_H__ */\r
\ No newline at end of file
diff --git a/macos/decoder_example.mcp b/macos/decoder_example.mcp
deleted file mode 100644 (file)
index a6c57f7..0000000
Binary files a/macos/decoder_example.mcp and /dev/null differ
diff --git a/macos/encoder_example.mcp b/macos/encoder_example.mcp
deleted file mode 100644 (file)
index bb6eb88..0000000
Binary files a/macos/encoder_example.mcp and /dev/null differ
diff --git a/macos/libvorbis.mcp b/macos/libvorbis.mcp
deleted file mode 100644 (file)
index f5de195..0000000
Binary files a/macos/libvorbis.mcp and /dev/null differ
diff --git a/macos/libvorbis.mcp.exp b/macos/libvorbis.mcp.exp
deleted file mode 100644 (file)
index ec14087..0000000
+++ /dev/null
@@ -1,45 +0,0 @@
-### From "vorbis/codec.h"
-
-# Vorbis PRIMITIVES: general
-
-vorbis_info_init
-vorbis_info_clear
-vorbis_info_blocksize
-vorbis_comment_init
-vorbis_comment_add
-vorbis_comment_add_tag
-vorbis_comment_query
-vorbis_comment_query_count
-vorbis_comment_clear
-
-vorbis_block_init
-vorbis_block_clear
-vorbis_dsp_clear
-vorbis_granule_time
-
-# Vorbis PRIMITIVES: analysis/DSP layer
-
-vorbis_analysis_init
-vorbis_commentheader_out
-vorbis_analysis_headerout
-vorbis_analysis_buffer
-vorbis_analysis_wrote
-vorbis_analysis_blockout
-vorbis_analysis
-vorbis_bitrate_addblock
-vorbis_bitrate_flushpacket
-
-# Vorbis PRIMITIVES: synthesis layer
-
-vorbis_synthesis_headerin
-vorbis_synthesis_init
-vorbis_synthesis_restart
-vorbis_synthesis
-vorbis_synthesis_trackonly
-vorbis_synthesis_blockin
-vorbis_synthesis_pcmout
-vorbis_synthesis_lapout
-vorbis_synthesis_read
-vorbis_packet_blocksize
-vorbis_synthesis_halfrate
-vorbis_synthesis_halfrate_p
diff --git a/macos/libvorbisenc.mcp b/macos/libvorbisenc.mcp
deleted file mode 100755 (executable)
index bc61f85..0000000
Binary files a/macos/libvorbisenc.mcp and /dev/null differ
diff --git a/macos/libvorbisenc.mcp.exp b/macos/libvorbisenc.mcp.exp
deleted file mode 100755 (executable)
index d71a21d..0000000
+++ /dev/null
@@ -1,8 +0,0 @@
-### From "vorbis/vorbisenc.h"
-
-vorbis_encode_init
-vorbis_encode_setup_managed
-vorbis_encode_setup_vbr
-vorbis_encode_init_vbr
-vorbis_encode_setup_init
-vorbis_encode_ctl
diff --git a/macos/libvorbisfile.mcp b/macos/libvorbisfile.mcp
deleted file mode 100755 (executable)
index 17ff6a7..0000000
Binary files a/macos/libvorbisfile.mcp and /dev/null differ
diff --git a/macos/libvorbisfile.mcp.exp b/macos/libvorbisfile.mcp.exp
deleted file mode 100755 (executable)
index 92412f0..0000000
+++ /dev/null
@@ -1,45 +0,0 @@
-### From "vorbis/vorbisfile.h"
-
-ov_clear
-ov_open
-ov_open_callbacks
-
-ov_test
-ov_test_callbacks
-ov_test_open
-
-ov_bitrate
-ov_bitrate_instant
-ov_streams
-ov_seekable
-ov_serialnumber
-
-ov_raw_total
-ov_pcm_total
-ov_time_total
-
-ov_raw_seek
-ov_pcm_seek
-ov_pcm_seek_page
-ov_time_seek
-ov_time_seek_page
-
-ov_raw_seek_lap
-ov_pcm_seek_lap
-ov_pcm_seek_page_lap
-ov_time_seek_lap
-ov_time_seek_page_lap
-
-ov_raw_tell
-ov_pcm_tell
-ov_time_tell
-
-ov_info
-ov_comment
-
-ov_read
-ov_read_float
-
-ov_crosslap
-ov_halfrate
-ov_halfrate_p
\ No newline at end of file
diff --git a/macos/vorbis.mcp b/macos/vorbis.mcp
deleted file mode 100644 (file)
index 6ce308b..0000000
Binary files a/macos/vorbis.mcp and /dev/null differ
diff --git a/todo.txt b/todo.txt
deleted file mode 100644 (file)
index b0e1f93..0000000
--- a/todo.txt
+++ /dev/null
@@ -1,22 +0,0 @@
-Open project list for further development:
-
-libvorbis:
-
-Meaningful error code returns
-
-still some padding at EOS
-
-Option for brute-forcing vq search on maptype 2 (helps on undertrained
-sets).
-
-encoder switch interface for binary compat through changes; ioctl()-like?
-
-API changes: 
-  break up some of the more monolithic calls (eg, allow access
-       to MDCT domain data, additional low level framing capability)
-  convenience calls for text comments
-
-other:
-
-command line suite
-'crashme'