Browse Source

fake: removed fake/libmpeg3

git-svn-id: http://www.rocklinux.org/svn/rock-linux/trunk@1591 c5f82cb5-29bc-0310-9cd0-bff59a50e3bc
rocklinux
fake 21 years ago
parent
commit
c524d958cc
4 changed files with 1 additions and 407 deletions
  1. +1
    -0
      Documentation/Developers/CHANGELOG-RENE
  2. +0
    -130
      package/fake/libmpeg3/libmpeg3.cache
  3. +0
    -68
      package/fake/libmpeg3/libmpeg3.desc
  4. +0
    -209
      package/fake/libmpeg3/makefile.patch

+ 1
- 0
Documentation/Developers/CHANGELOG-RENE

@ -7,6 +7,7 @@
- Juergen Sawinski: fixed rene/bsd-games, misc/directfb and rene/xawtv
- Dimitar Zhekov: kiss documentation permission fix
mc syntax files permission fix
- fake: removed fake/libmpeg3
*) 2003-10-01 (2.0.0-rc1 - 2.0.0-rc2)

+ 0
- 130
package/fake/libmpeg3/libmpeg3.cache

@ -1,130 +0,0 @@
[COPY] --- ROCK-COPYRIGHT-NOTE-BEGIN ---
[COPY]
[COPY] This copyright note is auto-generated by ./scripts/Create-CopyPatch.
[COPY] Please add additional copyright information _after_ the line containing
[COPY] the ROCK-COPYRIGHT-NOTE-END tag. Otherwise it might get removed by
[COPY] the ./scripts/Create-CopyPatch script. Do not edit this copyright text!
[COPY]
[COPY] ROCK Linux: rock-src/package/fake/libmpeg3/libmpeg3.cache
[COPY] ROCK Linux is Copyright (C) 1998 - 2003 Clifford Wolf
[COPY]
[COPY] This program is free software; you can redistribute it and/or modify
[COPY] it under the terms of the GNU General Public License as published by
[COPY] the Free Software Foundation; either version 2 of the License, or
[COPY] (at your option) any later version. A copy of the GNU General Public
[COPY] License can be found at Documentation/COPYING.
[COPY]
[COPY] Many people helped and are helping developing ROCK Linux. Please
[COPY] have a look at http://www.rocklinux.org/ and the Documentation/TEAM
[COPY] file for details.
[COPY]
[COPY] --- ROCK-COPYRIGHT-NOTE-END ---
[TIMESTAMP] 1062993185 Mon Sep 8 05:53:05 2003
[CONFIG-ID] 2.0.0-rc2-x86-pentium-mmx-32-reference-expert
[ROCKVER] 2.0.0-rc2
[LOGS] 5-libmpeg3.err 9-libmpeg3.err
[5-ERROR] Insert: -march=pentium-mmx
[5-ERROR] Copy: --version
[5-ERROR] Append: -s
[5-ERROR] New Command: gcc-3 -O2 -pipe -march=pentium-mmx --version -s
[5-ERROR] gcc-3 (GCC) 3.2.3
[5-ERROR] Copyright (C) 2002 Free Software Foundation, Inc.
[5-ERROR] This is free software; see the source for copying conditions. There is NO
[5-ERROR] warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
[5-ERROR]
[5-ERROR] [ writing debug log to /R.work/src.libmpeg3.1062972127.27532.1038533531/cmd_wrapper.log ]
[5-ERROR] Running main build function 'build_this_package' ...
[5-ERROR] Extracting libmpeg3-1.5.2-src.tar.bz2 (--use-compress-program=bzip2 -xf) ...
[5-ERROR] Changeing into /R.work/src.libmpeg3.1062972127.27532.1038533531/libmpeg3-1.5.2 ...
[5-ERROR] Apply patch /R.work/package/fake/libmpeg3/makefile.patch ...
[5-ERROR] patching file Makefile
[5-ERROR] Creating /usr/<..> if required ...
[5-ERROR] gcc-3 -c `cat obj/c_flags` audio/ac3.c -o obj/audio/ac3.o
[5-ERROR] gcc-3 -c `cat obj/c_flags` audio/dct.c -o obj/audio/dct.o
[5-ERROR] gcc-3 -c `cat obj/c_flags` audio/huffman.c -o obj/audio/huffman.o
[5-ERROR] gcc-3 -c `cat obj/c_flags` audio/layer2.c -o obj/audio/layer2.o
[5-ERROR] gcc-3 -c `cat obj/c_flags` audio/layer3.c -o obj/audio/layer3.o
[5-ERROR] gcc-3 -c `cat obj/c_flags` audio/mpeg3audio.c -o obj/audio/mpeg3audio.o
[5-ERROR] gcc-3 -c `cat obj/c_flags` audio/pcm.c -o obj/audio/pcm.o
[5-ERROR] gcc-3 -c `cat obj/c_flags` audio/synthesizers.c -o obj/audio/synthesizers.o
[5-ERROR] gcc-3 -c `cat obj/c_flags` audio/tables.c -o obj/audio/tables.o
[5-ERROR] gcc-3 -c `cat obj/c_flags` bitstream.c -o obj/bitstream.o
[5-ERROR] gcc-3 -c `cat obj/c_flags` libmpeg3.c -o obj/libmpeg3.o
[5-ERROR] gcc-3 -c `cat obj/c_flags` mpeg3atrack.c -o obj/mpeg3atrack.o
[5-ERROR] gcc-3 -c `cat obj/c_flags` mpeg3css.c -o obj/mpeg3css.o
[5-ERROR] gcc-3 -c `cat obj/c_flags` mpeg3demux.c -o obj/mpeg3demux.o
[5-ERROR] gcc-3 -c `cat obj/c_flags` mpeg3ifo.c -o obj/mpeg3ifo.o
[5-ERROR] gcc-3 -c `cat obj/c_flags` mpeg3io.c -o obj/mpeg3io.o
[5-ERROR] mpeg3io.c: In function `mpeg3io_get_total_bytes':
[5-ERROR] mpeg3io.c:38: storage size of `ostat' isn't known
[5-ERROR] mpeg3io.c: In function `mpeg3io_path_total_bytes':
[5-ERROR] mpeg3io.c:53: storage size of `st' isn't known
[5-ERROR] mpeg3io.c: In function `mpeg3io_open_file':
[5-ERROR] mpeg3io.c:64: warning: assignment makes pointer from integer without a cast
[5-ERROR] mpeg3io.c: In function `mpeg3io_device':
[5-ERROR] mpeg3io.c:194: storage size of `file_st' isn't known
[5-ERROR] mpeg3io.c:194: storage size of `device_st' isn't known
[5-ERROR] make: *** [obj/mpeg3io.o] Error 1
[5-ERROR] --- BUILD ERROR ---
[5-ERROR] Creating file list and doing final adaptions ...
[5-ERROR] Found 7 files for this package.
[5-ERROR] Clear (old) md5sums and cksums ...
[5-ERROR] Calculating package dependencies ...
[5-ERROR] Creating md5sum and cksum files ... done.
[5-ERROR] Creating package description ...
[5-ERROR] Making post-install adaptions.
[9-ERROR] Insert: -march=pentium-mmx
[9-ERROR] Copy: --version
[9-ERROR] Append: -s
[9-ERROR] New Command: gcc-3 -O2 -pipe -march=pentium-mmx --version -s
[9-ERROR] gcc-3 (GCC) 3.2.3
[9-ERROR] Copyright (C) 2002 Free Software Foundation, Inc.
[9-ERROR] This is free software; see the source for copying conditions. There is NO
[9-ERROR] warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
[9-ERROR]
[9-ERROR] [ writing debug log to /R.work/src.libmpeg3.1062993160.23240.2959188/cmd_wrapper.log ]
[9-ERROR] Running main build function 'build_this_package' ...
[9-ERROR] Extracting libmpeg3-1.5.2-src.tar.bz2 (--use-compress-program=bzip2 -xf) ...
[9-ERROR] Changeing into /R.work/src.libmpeg3.1062993160.23240.2959188/libmpeg3-1.5.2 ...
[9-ERROR] Apply patch /R.work/package/fake/libmpeg3/makefile.patch ...
[9-ERROR] patching file Makefile
[9-ERROR] Creating /usr/<..> if required ...
[9-ERROR] gcc-3 -c `cat obj/c_flags` audio/ac3.c -o obj/audio/ac3.o
[9-ERROR] gcc-3 -c `cat obj/c_flags` audio/dct.c -o obj/audio/dct.o
[9-ERROR] gcc-3 -c `cat obj/c_flags` audio/huffman.c -o obj/audio/huffman.o
[9-ERROR] gcc-3 -c `cat obj/c_flags` audio/layer2.c -o obj/audio/layer2.o
[9-ERROR] gcc-3 -c `cat obj/c_flags` audio/layer3.c -o obj/audio/layer3.o
[9-ERROR] gcc-3 -c `cat obj/c_flags` audio/mpeg3audio.c -o obj/audio/mpeg3audio.o
[9-ERROR] gcc-3 -c `cat obj/c_flags` audio/pcm.c -o obj/audio/pcm.o
[9-ERROR] gcc-3 -c `cat obj/c_flags` audio/synthesizers.c -o obj/audio/synthesizers.o
[9-ERROR] gcc-3 -c `cat obj/c_flags` audio/tables.c -o obj/audio/tables.o
[9-ERROR] gcc-3 -c `cat obj/c_flags` bitstream.c -o obj/bitstream.o
[9-ERROR] gcc-3 -c `cat obj/c_flags` libmpeg3.c -o obj/libmpeg3.o
[9-ERROR] gcc-3 -c `cat obj/c_flags` mpeg3atrack.c -o obj/mpeg3atrack.o
[9-ERROR] gcc-3 -c `cat obj/c_flags` mpeg3css.c -o obj/mpeg3css.o
[9-ERROR] gcc-3 -c `cat obj/c_flags` mpeg3demux.c -o obj/mpeg3demux.o
[9-ERROR] gcc-3 -c `cat obj/c_flags` mpeg3ifo.c -o obj/mpeg3ifo.o
[9-ERROR] gcc-3 -c `cat obj/c_flags` mpeg3io.c -o obj/mpeg3io.o
[9-ERROR] mpeg3io.c: In function `mpeg3io_get_total_bytes':
[9-ERROR] mpeg3io.c:38: storage size of `ostat' isn't known
[9-ERROR] mpeg3io.c: In function `mpeg3io_path_total_bytes':
[9-ERROR] mpeg3io.c:53: storage size of `st' isn't known
[9-ERROR] mpeg3io.c: In function `mpeg3io_open_file':
[9-ERROR] mpeg3io.c:64: warning: assignment makes pointer from integer without a cast
[9-ERROR] mpeg3io.c: In function `mpeg3io_device':
[9-ERROR] mpeg3io.c:194: storage size of `file_st' isn't known
[9-ERROR] mpeg3io.c:194: storage size of `device_st' isn't known
[9-ERROR] make: *** [obj/mpeg3io.o] Error 1
[9-ERROR] --- BUILD ERROR ---
[9-ERROR] Creating file list and doing final adaptions ...
[9-ERROR] Found 7 files for this package.
[9-ERROR] Clear (old) md5sums and cksums ...
[9-ERROR] Calculating package dependencies ...
[9-ERROR] Creating md5sum and cksum files ... done.
[9-ERROR] Creating package description ...
[9-ERROR] Making post-install adaptions.

+ 0
- 68
package/fake/libmpeg3/libmpeg3.desc

@ -1,68 +0,0 @@
[COPY] --- ROCK-COPYRIGHT-NOTE-BEGIN ---
[COPY]
[COPY] This copyright note is auto-generated by ./scripts/Create-CopyPatch.
[COPY] Please add additional copyright information _after_ the line containing
[COPY] the ROCK-COPYRIGHT-NOTE-END tag. Otherwise it might get removed by
[COPY] the ./scripts/Create-CopyPatch script. Do not edit this copyright text!
[COPY]
[COPY] ROCK Linux: rock-src/package/fake/libmpeg3/libmpeg3.desc
[COPY] ROCK Linux is Copyright (C) 1998 - 2003 Clifford Wolf
[COPY]
[COPY] This program is free software; you can redistribute it and/or modify
[COPY] it under the terms of the GNU General Public License as published by
[COPY] the Free Software Foundation; either version 2 of the License, or
[COPY] (at your option) any later version. A copy of the GNU General Public
[COPY] License can be found at Documentation/COPYING.
[COPY]
[COPY] Many people helped and are helping developing ROCK Linux. Please
[COPY] have a look at http://www.rocklinux.org/ and the Documentation/TEAM
[COPY] file for details.
[COPY]
[COPY] --- ROCK-COPYRIGHT-NOTE-END ---
[I] Libmpeg3 supports advanced editing and manipulation of MPEG streams
[T] MPEG is normally a last mile distribution format but with libmpeg3 you
[T] can edit it like a production format. Unless you have a need for MPEG
[T] editing and copying, you're better off using a library like FFMPEG.
[T]
[T] Libmpeg3 is primarily a supporting library for Cinelerra. It supports
[T] all of the nonstandard operations Cinelerra needs. Libmpeg3 provides a
[T] uniform front end for a large number of the MPEG formats used in HDTV
[T] broadcasting. It decodes
[T]
[T] MPEG-1 Layer II Audio
[T] MPEG-1 Layer III Audio
[T] MPEG-2 Layer III Audio
[T] MPEG-1 program streams
[T] MPEG-2 program streams
[T] MPEG-2 transport streams
[T] AC3 Audio
[T] MPEG-2 Video
[T] MPEG-1 Video
[T] IFO files
[T] VOB files
[T]
[T] Now the good news. It can read the MPEG exports from Cinelerra.
[T]
[T] A table of contents feature allows it to seek with frame accuracy
[T] regardless of whether the footage has timecode or not, or whether the
[T] timecode is contiguous. Also included are utilities for stream extraction,
[T] format querying, and copying.
[U] http://heroinewarrior.com/libmpeg3.php3
[A] Adam Williams <broadcast@earthling.net>
[M] fake <fake@rapidnetworks.de>
[C] extra/multimedia
[R] + x86
[L] LGPL
[S] Stable
[V] 1.5.2
[P] X -----5---9 738.000
[D] 1910917497 libmpeg3-1.5.2-src.tar.bz2 http://heanet.dl.sourceforge.net/sourceforge/heroines/

+ 0
- 209
package/fake/libmpeg3/makefile.patch

@ -1,209 +0,0 @@
# --- ROCK-COPYRIGHT-NOTE-BEGIN ---
#
# This copyright note is auto-generated by ./scripts/Create-CopyPatch.
# Please add additional copyright information _after_ the line containing
# the ROCK-COPYRIGHT-NOTE-END tag. Otherwise it might get removed by
# the ./scripts/Create-CopyPatch script. Do not edit this copyright text!
#
# ROCK Linux: rock-src/package/fake/libmpeg3/makefile.patch
# ROCK Linux is Copyright (C) 1998 - 2003 Clifford Wolf
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version. A copy of the GNU General Public
# License can be found at Documentation/COPYING.
#
# Many people helped and are helping developing ROCK Linux. Please
# have a look at http://www.rocklinux.org/ and the Documentation/TEAM
# file for details.
#
# --- ROCK-COPYRIGHT-NOTE-END ---
--- ./Makefile.orig 2003-08-10 00:21:59.000000000 +0200
+++ ./Makefile 2003-08-16 22:49:20.000000000 +0200
@@ -1,8 +1,9 @@
CC = gcc
NASM = nasm
USE_MMX = 0
-USE_CSS = 1
+USE_CSS = 0
A52DIR := $(shell expr a52dec* )
+PREFIX = /usr
HAVE_NASM := $(shell if [ -x /usr/bin/nasm -o -x /usr/local/bin/nasm ]; then echo y; else echo n; fi)
@@ -10,45 +11,36 @@
$(error "Nasm is required. Download it from nasm.sourceforge.net.")
endif
+#ifeq ($(origin CFLAGS), environment)
+#HAVE_CFLAGS := yes
+#else
+#HAVE_CFLAGS := no
+#endif
-ifeq ($(origin CFLAGS), environment)
-HAVE_CFLAGS := yes
-else
-HAVE_CFLAGS := no
-endif
-
-
-OBJDIR := $(shell uname --machine)
-
-
+OBJDIR := obj
-
-ifeq ($(OBJDIR), alpha)
+ifeq ($(ARCH), alpha)
USE_MMX = 0
ifneq ($(HAVE_CFLAGS), yes)
- CFLAGS := -O4 -arch ev67 -ieee -accept c99_keywords -gcc_messages
+ CFLAGS += -O4 -ieee
endif
endif
-ifeq ($(OBJDIR), i686)
- USE_MMX = 1
+ifeq ($(ARCH), x86)
+ USE_MMX = 0
ifneq ($(HAVE_CFLAGS), yes)
CFLAGS := -O2 -fomit-frame-pointer -falign-loops=2 -falign-jumps=2 -falign-functions=2 -I/usr/local/include
endif
CFLAGS += -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE
endif
-ifeq ($(OBJDIR), x86_64)
+ifeq ($(ARCH), x86_64)
ifneq ($(HAVE_CFLAGS), yes)
CFLAGS := -O2 -fomit-frame-pointer -I/usr/local/include
endif
CFLAGS += -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE
-
-
endif
-
-
ifeq ($(USE_CSS), 1)
CFLAGS += -DHAVE_CSS
endif
@@ -59,27 +51,11 @@
NASMOBJS = $(OBJDIR)/video/reconmmx.o
endif
-
-
-
-
-
CFLAGS += \
-I. \
-I$(A52DIR)/include \
-I$(A52DIR)/liba52
-#CFLAGS += -g
-
-
-
-
-
-
-
-
-
-
OBJS = \
$(OBJDIR)/audio/ac3.o \
$(OBJDIR)/audio/dct.o \
@@ -113,21 +89,6 @@
$(OBJDIR)/video/vlc.o \
$(OBJDIR)/workarounds.o
-#OBJS = \
-# $(OBJDIR)/audio/ac3.o \
-# $(OBJDIR)/audio/bit_allocation.o \
-# $(OBJDIR)/audio/exponents.o \
-# $(OBJDIR)/audio/header.o \
-# $(OBJDIR)/audio/huffman.o \
-# $(OBJDIR)/audio/layer2.o \
-# $(OBJDIR)/audio/layer3.o \
-# $(OBJDIR)/audio/mantissa.o \
-# $(OBJDIR)/audio/pcm.o \
-# $(OBJDIR)/audio/tables.o \
-
-
-
-
DIRS := \
$(OBJDIR)/audio \
$(OBJDIR)/video
@@ -136,12 +97,10 @@
DIRS += $(A52DIRS)
-
OUTPUT = $(OBJDIR)/libmpeg3.a
-UTILS = $(OBJDIR)/mpeg3dump $(OBJDIR)/mpeg3toc $(OBJDIR)/mpeg3cat
-
-#$(OBJDIR)/mpeg3split
-
+SHARED = $(OBJDIR)/libmpeg3.so
+UTILS = $(OBJDIR)/mpeg3dump $(OBJDIR)/mpeg3toc $(OBJDIR)/mpeg3cat
+ #$(OBJDIR)/mpeg3split
LIBS = -lm -lpthread
@@ -152,13 +111,13 @@
$(shell echo $(OBJS) $(ASMOBJS) $(A52OBJS) $(NASMOBJS) > $(OBJDIR)/objs)
$(shell mkdir -p $(DIRS) )
-all: $(OUTPUT) $(UTILS)
-
+all: $(OUTPUT) $(SHARED) $(UTILS)
$(OUTPUT): $(OBJS) $(ASMOBJS) $(NASMOBJS) $(A52OBJS)
ar rcs $(OUTPUT) `cat $(OBJDIR)/objs`
-
+$(SHARED): $(OBJS) $(ASMOBJS) $(NASMOBJS) $(A52OBJS)
+ $(CC) `cat $(OBJDIR)/c_flags` -shared -o $(SHARED) $(OBJS) $(ASMOBJS) $(NASMOBJS) `ls $(OBJDIR)/a52dec*/liba52/*.o` -Wl,-soname -Wl,libmpeg3.so
$(OBJDIR)/mpeg3dump: $(OUTPUT) mpeg3dump.c
$(CC) `cat $(OBJDIR)/c_flags` -o $(OBJDIR)/mpeg3dump mpeg3dump.c $(OUTPUT) $(LIBS)
@@ -169,8 +128,8 @@
$(OBJDIR)/mpeg3cat: $(OUTPUT) mpeg3cat.c
$(CC) `cat $(OBJDIR)/c_flags` -o $(OBJDIR)/mpeg3cat mpeg3cat.c $(OUTPUT) $(LIBS)
-#$(OBJDIR)/mpeg3split: $(OUTPUT)
-# $(CC) `cat $(OBJDIR)/c_flags` -o $(OBJDIR)/mpeg3split mpeg3split.c $(OUTPUT) $(LIBS)
+$(OBJDIR)/mpeg3split: $(OUTPUT)
+ $(CC) `cat $(OBJDIR)/c_flags` -o $(OBJDIR)/mpeg3split mpeg3split.c $(OUTPUT) $(LIBS)
$(OBJDIR)/mpeg2qt: $(OUTPUT)
$(CC) `cat $(OBJDIR)/c_flags` -o $(OBJDIR)/mpeg2qt mpeg2qt.c \
@@ -184,7 +143,14 @@
-ldl
install:
- cp $(UTILS) /usr/bin
+ install -d $(PREFIX)/bin $(PREFIX)/lib $(PREFIX)/include/audio $(PREFIX)/include/video
+ install -m 755 $(UTILS) $(PREFIX)/bin
+ install $(OUTPUT) $(PREFIX)/lib
+ install $(SHARED) $(PREFIX)/lib
+ install -m 644 *.h $(PREFIX)/include
+ install -m 644 *.inc $(PREFIX)/include
+ install -m 644 audio/*.h $(PREFIX)/include/audio
+ install -m 644 video/*.h $(PREFIX)/include/video
clean:
rm -rf $(OBJDIR)
@@ -245,6 +211,4 @@
$(OBJDIR)/video/vlc.o: video/vlc.c
$(OBJDIR)/workarounds.o: workarounds.c
-
-
include depend.a52

Loading…
Cancel
Save