1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-27 05:10:36 +00:00

New port libmovtar version 0.1.2: Supports reading/writing of MJPEG

video in YUV 4:2:2 JPEG
This commit is contained in:
Mario Sergio Fujikawa Ferreira 2001-11-16 03:39:39 +00:00
parent 57eb3d104b
commit 2f79220caf
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=50107
21 changed files with 273 additions and 0 deletions

View File

@ -152,6 +152,7 @@
SUBDIR += liblug
SUBDIR += libmng
SUBDIR += libmorph
SUBDIR += libmovtar
SUBDIR += libmpeg2
SUBDIR += librsvg
SUBDIR += libungif

View File

@ -0,0 +1,31 @@
# New ports collection makefile for: libmovtar
# Date created: Mon Oct 15 23:35:04 BRST 2001
# Whom: Mario Sergio Fujikawa Ferreira <lioux@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= libmovtar
PORTVERSION= 0.1.2
CATEGORIES= graphics
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= mjpeg
MAINTAINER= lioux@FreeBSD.org
LIB_DEPENDS= SDL-1.1.3:${PORTSDIR}/devel/sdl12 \
jpeg.9:${PORTSDIR}/graphics/jpeg
USE_GTK= yes
USE_AUTOCONF= yes
USE_GMAKE= yes
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --with-m4data-prefix=${PREFIX}/share
CONFIGURE_ENV= SDL_CONFIG="${SDL_CONFIG}" \
LOCALBASE="${LOCALBASE}"
MAKE_ENV= PTHREAD_CFLAGS="${PTHREAD_CFLAGS}" \
PTHREAD_LIBS=${PTHREAD_LIBS}
SDL_CONFIG?= ${LOCALBASE}/bin/sdl11-config
.include <bsd.port.mk>

View File

@ -0,0 +1,2 @@
MD5 (libmovtar-0.1.2.tar.gz) = 852566413e625bb2b089db72a5fabce9
MD5 (jpeg-mmx-1.1.2.tar.gz) = 63d871b28cb1524b4cf088155688778d

View File

@ -0,0 +1,15 @@
--- Makefile.in.orig Fri Nov 16 01:35:11 2001
+++ Makefile.in Fri Nov 16 01:35:38 2001
@@ -79,10 +79,10 @@
bin_SCRIPTS = movtar-config
lib_LIBRARIES = libmovtar.a
libmovtar_a_SOURCES = movtar.c tar.c
-INCLUDES = @GLIB_CFLAGS@ @JPEG_INCLUDE@
+INCLUDES = @GLIB_CFLAGS@ @JPEG_INCLUDE@ -I${LOCALBASE}/include `${SDL_CONFIG} --cflags` ${PTHREAD_CFLAGS}
include_HEADERS = movtar.h
-movtar_play_LDFLAGS = -lSDL -lpthread -ljpeg
+movtar_play_LDFLAGS = `${SDL_CONFIG} --libs` ${PTHREAD_LIBS} -ljpeg
movtar_unify_LDFLAGS = -ljpeg
movtar_yuv422_LDFLAGS = -ljpeg
LDFLAGS = @GLIB_LIBS@

View File

@ -0,0 +1,24 @@
--- configure.in.orig Wed Feb 7 09:25:06 2001
+++ configure.in Tue Oct 16 02:23:14 2001
@@ -56,7 +56,7 @@
JPEGDIR="$DEFAULT_JPEGDIR")
OLDLIBS="$LIBS"
-LIBS="-L $JPEGDIR $LIBS"
+LIBS="-L $JPEGDIR $LIBS -L$LOCALBASE/lib"
AC_SUBST(JPEG_INCLUDE)
AC_CHECK_LIB( jpeg-mmx, jpeg_start_compress,
@@ -75,10 +75,11 @@
dnl If that can't be found fall back to the system jpeg lib...
if test ${have_jpeg} = "no"
then
+LIBS="$LIBS -L$LOCALBASE/lib"
AC_CHECK_LIB( jpeg, jpeg_start_compress,
[
have_jpeg="yes"
- LIBS="$LIBS -ljpeg"
+ LIBS="$LIBS -L$LOCALBASE/lib -ljpeg"
],
[
have_jpeg="no"

View File

@ -0,0 +1,10 @@
--- movtar.c.orig Tue Oct 16 00:02:46 2001
+++ movtar.c Tue Oct 16 00:03:25 2001
@@ -40,7 +40,6 @@
#include <tar.h>
#include <glib.h>
#include <sys/types.h>
-#include <linux/types.h>
#include "movtar.h"

View File

@ -0,0 +1,13 @@
--- movtar_play.c.orig Tue Oct 16 00:22:46 2001
+++ movtar_play.c Tue Oct 16 00:25:12 2001
@@ -9,8 +9,8 @@
#include <signal.h>
#include <string.h>
-#include <SDL/SDL.h>
-#include <SDL/SDL_timer.h>
+#include <SDL11/SDL.h>
+#include <SDL11/SDL_timer.h>
#define JPEG_INTERNALS
#include <jinclude.h>

View File

@ -0,0 +1,10 @@
--- tar.c.orig Tue Oct 16 00:03:05 2001
+++ tar.c Tue Oct 16 00:03:09 2001
@@ -16,7 +16,6 @@
#include <glib.h>
#include <sys/types.h>
-#include <linux/types.h>
#include "movtar.h"

View File

@ -0,0 +1 @@
Supports reading/writing of MJPEG video in YUV 4:2:2 JPEG

View File

@ -0,0 +1,19 @@
[ 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/

View File

@ -0,0 +1,11 @@
bin/movtar-config
bin/movtar_index
bin/movtar_play
bin/movtar_setinfo
bin/movtar_split
bin/movtar_unify
bin/movtar_yuv422
include/movtar.h
lib/libmovtar.a
share/aclocal/movtar.m4
@unexec rmdir %D/share/aclocal 2>/dev/null || true

View File

@ -0,0 +1,31 @@
# New ports collection makefile for: libmovtar
# Date created: Mon Oct 15 23:35:04 BRST 2001
# Whom: Mario Sergio Fujikawa Ferreira <lioux@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= libmovtar
PORTVERSION= 0.1.2
CATEGORIES= graphics
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= mjpeg
MAINTAINER= lioux@FreeBSD.org
LIB_DEPENDS= SDL-1.1.3:${PORTSDIR}/devel/sdl12 \
jpeg.9:${PORTSDIR}/graphics/jpeg
USE_GTK= yes
USE_AUTOCONF= yes
USE_GMAKE= yes
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --with-m4data-prefix=${PREFIX}/share
CONFIGURE_ENV= SDL_CONFIG="${SDL_CONFIG}" \
LOCALBASE="${LOCALBASE}"
MAKE_ENV= PTHREAD_CFLAGS="${PTHREAD_CFLAGS}" \
PTHREAD_LIBS=${PTHREAD_LIBS}
SDL_CONFIG?= ${LOCALBASE}/bin/sdl11-config
.include <bsd.port.mk>

View File

@ -0,0 +1,2 @@
MD5 (libmovtar-0.1.2.tar.gz) = 852566413e625bb2b089db72a5fabce9
MD5 (jpeg-mmx-1.1.2.tar.gz) = 63d871b28cb1524b4cf088155688778d

View File

@ -0,0 +1,15 @@
--- Makefile.in.orig Fri Nov 16 01:35:11 2001
+++ Makefile.in Fri Nov 16 01:35:38 2001
@@ -79,10 +79,10 @@
bin_SCRIPTS = movtar-config
lib_LIBRARIES = libmovtar.a
libmovtar_a_SOURCES = movtar.c tar.c
-INCLUDES = @GLIB_CFLAGS@ @JPEG_INCLUDE@
+INCLUDES = @GLIB_CFLAGS@ @JPEG_INCLUDE@ -I${LOCALBASE}/include `${SDL_CONFIG} --cflags` ${PTHREAD_CFLAGS}
include_HEADERS = movtar.h
-movtar_play_LDFLAGS = -lSDL -lpthread -ljpeg
+movtar_play_LDFLAGS = `${SDL_CONFIG} --libs` ${PTHREAD_LIBS} -ljpeg
movtar_unify_LDFLAGS = -ljpeg
movtar_yuv422_LDFLAGS = -ljpeg
LDFLAGS = @GLIB_LIBS@

View File

@ -0,0 +1,24 @@
--- configure.in.orig Wed Feb 7 09:25:06 2001
+++ configure.in Tue Oct 16 02:23:14 2001
@@ -56,7 +56,7 @@
JPEGDIR="$DEFAULT_JPEGDIR")
OLDLIBS="$LIBS"
-LIBS="-L $JPEGDIR $LIBS"
+LIBS="-L $JPEGDIR $LIBS -L$LOCALBASE/lib"
AC_SUBST(JPEG_INCLUDE)
AC_CHECK_LIB( jpeg-mmx, jpeg_start_compress,
@@ -75,10 +75,11 @@
dnl If that can't be found fall back to the system jpeg lib...
if test ${have_jpeg} = "no"
then
+LIBS="$LIBS -L$LOCALBASE/lib"
AC_CHECK_LIB( jpeg, jpeg_start_compress,
[
have_jpeg="yes"
- LIBS="$LIBS -ljpeg"
+ LIBS="$LIBS -L$LOCALBASE/lib -ljpeg"
],
[
have_jpeg="no"

View File

@ -0,0 +1,10 @@
--- movtar.c.orig Tue Oct 16 00:02:46 2001
+++ movtar.c Tue Oct 16 00:03:25 2001
@@ -40,7 +40,6 @@
#include <tar.h>
#include <glib.h>
#include <sys/types.h>
-#include <linux/types.h>
#include "movtar.h"

View File

@ -0,0 +1,13 @@
--- movtar_play.c.orig Tue Oct 16 00:22:46 2001
+++ movtar_play.c Tue Oct 16 00:25:12 2001
@@ -9,8 +9,8 @@
#include <signal.h>
#include <string.h>
-#include <SDL/SDL.h>
-#include <SDL/SDL_timer.h>
+#include <SDL11/SDL.h>
+#include <SDL11/SDL_timer.h>
#define JPEG_INTERNALS
#include <jinclude.h>

View File

@ -0,0 +1,10 @@
--- tar.c.orig Tue Oct 16 00:03:05 2001
+++ tar.c Tue Oct 16 00:03:09 2001
@@ -16,7 +16,6 @@
#include <glib.h>
#include <sys/types.h>
-#include <linux/types.h>
#include "movtar.h"

View File

@ -0,0 +1 @@
Supports reading/writing of MJPEG video in YUV 4:2:2 JPEG

View File

@ -0,0 +1,19 @@
[ 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/

View File

@ -0,0 +1,11 @@
bin/movtar-config
bin/movtar_index
bin/movtar_play
bin/movtar_setinfo
bin/movtar_split
bin/movtar_unify
bin/movtar_yuv422
include/movtar.h
lib/libmovtar.a
share/aclocal/movtar.m4
@unexec rmdir %D/share/aclocal 2>/dev/null || true