diff options
author | Baptiste Daroussin <bapt@FreeBSD.org> | 2016-11-05 21:36:22 +0000 |
---|---|---|
committer | Baptiste Daroussin <bapt@FreeBSD.org> | 2016-11-05 21:36:22 +0000 |
commit | c0c434f576bce6af35b99555fdff7973e3ac0cdf (patch) | |
tree | fc8dac681ff69785f96ed4dd0acce68ed6ae8619 | |
parent | 7dbc2342f9d6705418068a5e20bc8d9a88aea0e3 (diff) | |
download | ports-c0c434f576bce6af35b99555fdff7973e3ac0cdf.tar.gz ports-c0c434f576bce6af35b99555fdff7973e3ac0cdf.zip |
Notes
-rw-r--r-- | MOVED | 1 | ||||
-rw-r--r-- | multimedia/Makefile | 1 | ||||
-rw-r--r-- | multimedia/libmovtar/Makefile | 40 | ||||
-rw-r--r-- | multimedia/libmovtar/distinfo | 2 | ||||
-rw-r--r-- | multimedia/libmovtar/files/patch-movtar_play.c | 87 | ||||
-rw-r--r-- | multimedia/libmovtar/files/patch-movtar_yuv422.c | 10 | ||||
-rw-r--r-- | multimedia/libmovtar/files/patch-rtjpeg_RTjpeg.c | 11 | ||||
-rw-r--r-- | multimedia/libmovtar/pkg-descr | 19 | ||||
-rw-r--r-- | multimedia/libmovtar/pkg-plist | 12 |
9 files changed, 1 insertions, 182 deletions
@@ -8792,3 +8792,4 @@ devel/ruby-langscan||2016-11-01|Has expired: Broken will all supported versions math/octave-forge-dicom||2016-11-01|Has expired: Broken for more than 6 months graphics/linux-c6-libGLU|graphics/linux-c6-dri|2016-11-04|Unused graphics/linux-c7-libGLU|graphics/linux-c7-dri|2016-11-04|Unused +multimedia/libmovtar||2016-11-05|Not used anymore, abandonware diff --git a/multimedia/Makefile b/multimedia/Makefile index 1abc6ddf94b7..1af4eb476088 100644 --- a/multimedia/Makefile +++ b/multimedia/Makefile @@ -193,7 +193,6 @@ SUBDIR += libmatroska SUBDIR += libmediaart SUBDIR += libmediainfo - SUBDIR += libmovtar SUBDIR += libmpeg2 SUBDIR += libmpeg3 SUBDIR += libmtp diff --git a/multimedia/libmovtar/Makefile b/multimedia/libmovtar/Makefile deleted file mode 100644 index a3cb0457475b..000000000000 --- a/multimedia/libmovtar/Makefile +++ /dev/null @@ -1,40 +0,0 @@ -# Created by: Mario Sergio Fujikawa Ferreira <lioux@FreeBSD.org> -# $FreeBSD$ - -PORTNAME= libmovtar -PORTVERSION= 0.1.3 -PORTREVISION= 13 -CATEGORIES= multimedia -MASTER_SITES= SF/mjpeg/OldFiles - -MAINTAINER= ports@FreeBSD.org -COMMENT= Supports reading/writing of MJPEG video in YUV 4:2:2 JPEG - -USE_SDL= sdl -USE_GNOME= glib12 -USES= gmake jpeg -GNU_CONFIGURE= yes -CONFIGURE_ARGS= --with-m4data-prefix=${PREFIX}/share - -.include <bsd.port.pre.mk> - -post-patch: -# Add library patch when using -ljpeg -# Use proper locations when using -ljpeg-mmx - @${REINPLACE_CMD} -E \ - -e 's|^(LIBS="-ljpeg )|\1 -L${LOCALBASE}/lib|' \ - -e 's|(LIBS -ljpeg)"|\1 -L${LOCALBASE}/lib"|' \ - -e 's|^(LIBS="-L) (\$$JPEGDIR) \$$DEFAULT_JPEGDIR_L|\1\2/lib|' \ - -e 's|-I (\$$JPEGDIR) \$$DEFAULT_JPEGDIR_I|-I\1/include|' \ - ${CONFIGURE_WRKSRC}/${CONFIGURE_SCRIPT} -# Resolve name collision with jpeg-8 - @${REINPLACE_CMD} -e 's|jpeg_mem_src|local_jpeg_mem_src|' \ - ${WRKSRC}/movtar_play.c -.if ${ARCH} != "i386" -# emms opcode should be noop in non-i386 non-MMX ARCH - @${REINPLACE_CMD} -E \ - -e 's|^.*"emms".*$$||' \ - ${WRKSRC}/movtar_play.c -.endif - -.include <bsd.port.post.mk> diff --git a/multimedia/libmovtar/distinfo b/multimedia/libmovtar/distinfo deleted file mode 100644 index f6523dd48b49..000000000000 --- a/multimedia/libmovtar/distinfo +++ /dev/null @@ -1,2 +0,0 @@ -SHA256 (libmovtar-0.1.3.tar.gz) = 61bbd5c415db9f4d5fd6e02603ecbbd085fc534c4cded6fd406d8dcfca7cdc2f -SIZE (libmovtar-0.1.3.tar.gz) = 185845 diff --git a/multimedia/libmovtar/files/patch-movtar_play.c b/multimedia/libmovtar/files/patch-movtar_play.c deleted file mode 100644 index 4f98ef1e2d82..000000000000 --- a/multimedia/libmovtar/files/patch-movtar_play.c +++ /dev/null @@ -1,87 +0,0 @@ ---- movtar_play.c.orig 2001-07-13 21:38:03 UTC -+++ movtar_play.c -@@ -12,7 +12,7 @@ - #include <SDL/SDL.h> - #include <SDL/SDL_timer.h> - --#ifndef IRIX -+#if !defined(IRIX) && !defined(__FreeBSD__) - #define JPEG_INTERNALS - #include <jinclude.h> - #endif -@@ -135,15 +135,15 @@ jpeg_mem_src_reset (j_decompress_ptr cin - - /* end of data source manager */ - --#ifndef IRIX -+#if !defined(IRIX) && !defined(__FreeBSD__) - /* Colorspace conversion */ - /* RGB, 32 bits, 8bits each: (Junk), R, G, B */ - #if defined(__GNUC__) - #define int64 unsigned long long - #endif --static const int64 te0 = 0x0080008000800080; // -128 << 2 --static const int64 te1 = 0xe9fa7168e9fa7168; // for cb --static const int64 te2 = 0x59bad24d59bad24d; // for cr -+static const int64 te0 = 0x0080008000800080ULL; // -128 << 2 -+static const int64 te1 = 0xe9fa7168e9fa7168ULL; // for cb -+static const int64 te2 = 0x59bad24d59bad24dULL; // for cr - - METHODDEF(void) - ycc_rgb32_convert_mmx (j_decompress_ptr cinfo, -@@ -263,9 +263,9 @@ ycc_rgb32_convert_mmx (j_decompress_ptr - asm ("emms"); - } - --static int64 rb16mask = 0x00f800f800f800f8; // just red and blue remain --static int64 rb16mult = 0x2000000820000008; // mult/Add factor (see intel appnote 553) --static int64 g16mask = 0x0000f8000000f800; // just green remains -+static int64 rb16mask = 0x00f800f800f800f8ULL; // just red and blue remain -+static int64 rb16mult = 0x2000000820000008ULL; // mult/Add factor (see intel appnote 553) -+static int64 g16mask = 0x0000f8000000f800ULL; // just green remains - static int64 rgb16offset = 6; // shift right after the whole stuff - static const int64 shiftmask = 0xffff; // shift right after the whole stuff - -@@ -556,7 +556,7 @@ void inline readpicfrommem(void *inbuffe - jpeg_mem_src_reset(&cinfo, size); - jpeg_read_header(&cinfo, TRUE); - --#ifndef IRIX -+#if !defined(IRIX) && !defined(__FreeBSD__) - cinfo.dct_method = JDCT_IFAST; - cinfo.out_color_space = JCS_RGB; - #else -@@ -568,20 +568,20 @@ void inline readpicfrommem(void *inbuffe - switch (screen->format->BytesPerPixel) - { - case 4: --#ifndef IRIX -+#if !defined(IRIX) && !defined(__FreeBSD__) - //printf("Choosing MMX color convert\n"); - cconvert = cinfo.cconvert; - //cconvert->color_convert = ycc_rgb32_convert_mmx; - #else -- fprintf(stderr, "32 bits per pixel can't be decoded by libjpeg on IRIX !\n"); -+ fprintf(stderr, "32 bits per pixel can't be decoded by libjpeg on IRIX or FreeBSD !\n"); - #endif - break; - case 2: --#ifndef IRIX -+#if !defined(IRIX) && !defined(__FreeBSD__) - cconvert = cinfo.cconvert; - cconvert->color_convert = ycc_rgb16_convert_mmx; - #else -- fprintf(stderr, "15/16 bits per pixel can't be decoded by libjpeg on IRIX!"); -+ fprintf(stderr, "15/16 bits per pixel can't be decoded by libjpeg on IRIX or FreeBSD !"); - #endif - break; - default: break; -@@ -795,7 +795,7 @@ int main(int argc,char** argv) - - dump_pixel_format(screen->format); - --#ifdef IRIX -+#if defined(IRIX) || defined(__FreeBSD__) - fprintf(stderr, "Screen parameters haven't been determined yet !\n"); - #else - calc_rgb16_params(screen->format); diff --git a/multimedia/libmovtar/files/patch-movtar_yuv422.c b/multimedia/libmovtar/files/patch-movtar_yuv422.c deleted file mode 100644 index e30a3f7159d2..000000000000 --- a/multimedia/libmovtar/files/patch-movtar_yuv422.c +++ /dev/null @@ -1,10 +0,0 @@ ---- movtar_yuv422.c.orig 2007-12-12 22:28:38.000000000 +0100 -+++ movtar_yuv422.c 2007-12-12 22:29:00.000000000 +0100 -@@ -32,6 +32,7 @@ - */ - - #include <stdio.h> -+#include <stdlib.h> - #include <jpeglib.h> - - #define MAXPIXELS (1024*1024) /* Maximum size of final image */ diff --git a/multimedia/libmovtar/files/patch-rtjpeg_RTjpeg.c b/multimedia/libmovtar/files/patch-rtjpeg_RTjpeg.c deleted file mode 100644 index f6fdb2b55c56..000000000000 --- a/multimedia/libmovtar/files/patch-rtjpeg_RTjpeg.c +++ /dev/null @@ -1,11 +0,0 @@ ---- rtjpeg/RTjpeg.c.orig 2007-12-12 22:20:39.000000000 +0100 -+++ rtjpeg/RTjpeg.c 2007-12-12 22:21:15.000000000 +0100 -@@ -129,7 +129,7 @@ - register int ci, co=1, tmp; - register __s16 ZZvalue; - -- (__u8)strm[0]=(__u8)(data[RTjpeg_ZZ[0]]>254) ? 254:((data[RTjpeg_ZZ[0]]<0)?0:data[RTjpeg_ZZ[0]]); -+ strm[0]=(__u8)(data[RTjpeg_ZZ[0]]>254) ? 254:((data[RTjpeg_ZZ[0]]<0)?0:data[RTjpeg_ZZ[0]]); - - for(ci=1; ci<=bt8; ci++) - { diff --git a/multimedia/libmovtar/pkg-descr b/multimedia/libmovtar/pkg-descr deleted file mode 100644 index a23b07e963e7..000000000000 --- a/multimedia/libmovtar/pkg-descr +++ /dev/null @@ -1,19 +0,0 @@ -[ excerpt from developer's README ] - -libmovtar ---------- - -has been implemented according to the quicktime4linux API - -It supports reading and writing (read/write mode has been prepared, -but is not implemented yet) of MJPEG video in YUV 4:2:2 JPEG with -mono/stereo, 8/16-bit, any sample rate sound. - -It supports indexing files (always done when writing a new file, -old (or manually created) movtar files without index are indexed -internally during the opening process). - -You can freely jump forwards and backwards between the frames in -an opened file. - -WWW: http://sourceforge.net/projects/mjpeg/ diff --git a/multimedia/libmovtar/pkg-plist b/multimedia/libmovtar/pkg-plist deleted file mode 100644 index 37684badf08c..000000000000 --- a/multimedia/libmovtar/pkg-plist +++ /dev/null @@ -1,12 +0,0 @@ -bin/movtar-config -bin/movtar_index -bin/movtar_play -bin/movtar_setinfo -bin/movtar_split -bin/movtar_unify -bin/movtar_yuv422 -bin/pnm2rtj -bin/rtjshow -include/movtar.h -lib/libmovtar.a -share/aclocal/movtar.m4 |