Browse Source

Benjamin Schieder:


			
			
				rocklinux
			
			
		
Benjamin Schieder 20 years ago
parent
commit
6b5374a86e
3 changed files with 141 additions and 0 deletions
  1. +86
    -0
      package/blindcoder/mpgtx/gcc34.patch
  2. +43
    -0
      package/blindcoder/mpgtx/mpgtx.desc
  3. +12
    -0
      package/blindcoder/mpgtx/prefix.patch

+ 86
- 0
package/blindcoder/mpgtx/gcc34.patch

@ -0,0 +1,86 @@
diff -pruN mpgtx-1.3/mpeg.cxx mpgtx-1.3_new/mpeg.cxx
--- mpgtx-1.3/mpeg.cxx 2002-08-30 18:03:12.000000000 +0200
+++ mpgtx-1.3_new/mpeg.cxx 2005-01-12 17:01:47.085003784 +0100
@@ -1537,7 +1537,7 @@ void mpeg::SecsToHMS(char* HMS, float du
// find next 0x 00 00 01 xx sequence, returns offset or -1 on err
#ifndef _WIN32
#ifndef _MACOSX
-inline
+//inline
#endif
#endif
@@ -1568,7 +1568,7 @@ off_t mpeg::FindNextMarker(off_t from){
// change mark to xx
#ifndef _WIN32
#ifndef _MACOSX
-inline
+//inline
#endif
#endif
@@ -1596,7 +1596,7 @@ off_t mpeg::FindNextMarker(off_t from, m
// find next 0X00 00 01 mark
#ifndef _WIN32
#ifndef _MACOSX
-inline
+//inline
#endif
#endif
@@ -1631,7 +1631,7 @@ off_t mpeg::FindNextMarker(off_t from, m
// same as above but optimized for backward search
#ifndef _WIN32
#ifndef _MACOSX
-inline
+//inline
#endif
#endif
@@ -1656,7 +1656,7 @@ off_t mpeg::bdFindNextMarker(off_t from,
#ifndef _WIN32
#ifndef _MACOSX
-inline
+//inline
#endif
#endif
@@ -2619,7 +2619,7 @@ transport::transport()
PMT_PIDs(0),
n_PMT_PIDs(0),
read_pmts(0)
-{};
+{}
transport::~transport() {
BTRACK;
@@ -2791,4 +2791,4 @@ while (p != -1)
}
-}
\ No newline at end of file
+}
diff -pruN mpgtx-1.3/mpeg.hh mpgtx-1.3_new/mpeg.hh
--- mpgtx-1.3/mpeg.hh 2002-08-30 18:03:12.000000000 +0200
+++ mpgtx-1.3_new/mpeg.hh 2005-01-12 16:59:17.195790408 +0100
@@ -113,6 +113,7 @@ class transport
class mpeg
{
friend class mpegSystemOut;
+ friend class mpegVideoOut;
friend class demuxer;
protected:
// disallow basic constructors
diff -pruN mpgtx-1.3/mpegOut.cxx mpgtx-1.3_new/mpegOut.cxx
--- mpgtx-1.3/mpegOut.cxx 2002-08-30 18:03:12.000000000 +0200
+++ mpgtx-1.3_new/mpegOut.cxx 2005-01-12 17:00:10.654663424 +0100
@@ -7,6 +7,7 @@
************************************************************/
+#include "mpeg.hh"
#include "mpegOut.hh"
#include "common.hh"
#include <stdio.h>

+ 43
- 0
package/blindcoder/mpgtx/mpgtx.desc

@ -0,0 +1,43 @@
[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/blindcoder/mpgtx/mpgtx.desc
[COPY] ROCK Linux is Copyright (C) 1998 - 2005 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] A command line MPEG audio/video toolbox.
[T] mpgtx (an MPEG ToolboX) allows you to manipulate ID3 tags, split, join,
[T] demultiplex, and fetch detailed information about a variety of MPEG files. It
[T] was designed to do little, but do it well, and to provide the end user with an
[T] austere yet powerful commandline interface. It replaces &amp;quot;mpgcut&amp;quot;.
[U] http://mpgtx.sourceforge.net/
[A] laureck <alaureck@users.sourceforge.net>
[M] Benjamin Schieder <blindcoder@scavenger.homeip.net>
[C] extra/multimedia
[L] GPL
[S] Beta
[V] 0.7b
[P] X -----5---9 800.000
[D] 47893087 mpgtx-1.3.tgz http://dl.sourceforge.net/sourceforge/mpgtx/

+ 12
- 0
package/blindcoder/mpgtx/prefix.patch

@ -0,0 +1,12 @@
diff -pruN mpgtx-1.3/configure mpgtx-1.3_new/configure
--- mpgtx-1.3/configure 2002-08-30 18:03:12.000000000 +0200
+++ mpgtx-1.3_new/configure 2005-01-02 17:15:22.188347080 +0100
@@ -75,7 +75,7 @@ do
-no-LFS | --no-LFS | -no-lfs | --no-lfs) LFS="no";;
-stat | -static | --stat | --static) static="yes";;
-par | -parachute | --par | --parachute) parachute="yes";;
- -prefix=* | --prefix=*) prefix=`echo "$option" | sed 's/[-_a-zA-Z0-9]*=//'` ;;
+ -prefix=* | --prefix=*) prefix=`echo "$option" | sed 's/[-_a-zA-Z0-9]*=//'` ; manprefix=$prefix ;;
-dist | dist | --distrib | -distrib) rm -f Makefile && cat << EOF >makefile && exit 0;;
# Dummy Makefile, please run ./configure
default:

Loading…
Cancel
Save