Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 30 Sep 2004 12:21:51 -0400 (EDT)
From:      Michael Johnson <ahze@ahze.net>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/72204: [NEW PORT] multimedia/mpeg4ip-libmp4v2: Mpeg-4 library and tools from mpeg4ip [1 of 4]
Message-ID:  <200409301621.i8UGLpsJ071757@blueheron.ahze.net>
Resent-Message-ID: <200409301630.i8UGUOKl081695@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         72204
>Category:       ports
>Synopsis:       [NEW PORT] multimedia/mpeg4ip-libmp4v2: Mpeg-4 library and tools from mpeg4ip [1 of 4]
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Thu Sep 30 16:30:24 GMT 2004
>Closed-Date:
>Last-Modified:
>Originator:     Michael Johnson
>Release:        FreeBSD 5.3-BETA3 i386
>Organization:
>Environment:
System: FreeBSD blueheron.ahze.net 5.3-BETA3 FreeBSD 5.3-BETA3 #66: Tue Sep  7 12:56:04 EDT
>Description:
Mpeg4 library and tools from mpeg4ip

WWW: http://mpeg4ip.sourceforge.net/

This is the 1 of 4 patches that will upgrade mpeg4ip and fix
the conflits hell from mpeg4ip and faad. To do this I have made a 
separate package (this one) that is just the mp4v2 library and tools
which ports like faad (and in the future faac), gtkpod and a few others 
will only need this and not the full mpeg4ip package.

I have tested this on
5.3-BETA3 (gcc3.4.2)
5.2-STABLE (gcc3.3.3)
4.10-STABLE (gcc3.4.2)

I used USE_INC_LIBTOOL_VER instead of USE_LIBTOOL_VER because I was 
unable to use libtool 1.5.8 on a 4.9 box

Also I put myself as MAINTAINER but this port came from mpeg4ip which is
lioux's port so if he wishes to maintain this plese change it.


Generated with FreeBSD Port Tools 0.63
>How-To-Repeat:
>Fix:

--- mpeg4ip-libmp4v2-1.1.shar begins here ---
# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	mpeg4ip-libmp4v2
#	mpeg4ip-libmp4v2/files
#	mpeg4ip-libmp4v2/files/patch-include::mpeg4ip_getopt.h
#	mpeg4ip-libmp4v2/files/patch-mpeg4ip_config.h.in
#	mpeg4ip-libmp4v2/files/patch-include::mpeg4ip.h
#	mpeg4ip-libmp4v2/files/patch-ltmain.sh
#	mpeg4ip-libmp4v2/pkg-plist
#	mpeg4ip-libmp4v2/pkg-descr
#	mpeg4ip-libmp4v2/Makefile
#	mpeg4ip-libmp4v2/distinfo
#
echo c - mpeg4ip-libmp4v2
mkdir -p mpeg4ip-libmp4v2 > /dev/null 2>&1
echo c - mpeg4ip-libmp4v2/files
mkdir -p mpeg4ip-libmp4v2/files > /dev/null 2>&1
echo x - mpeg4ip-libmp4v2/files/patch-include::mpeg4ip_getopt.h
sed 's/^X//' >mpeg4ip-libmp4v2/files/patch-include::mpeg4ip_getopt.h << 'END-of-mpeg4ip-libmp4v2/files/patch-include::mpeg4ip_getopt.h'
X--- include/mpeg4ip_getopt.h.orig	Tue Oct 15 13:12:27 2002
X+++ include/mpeg4ip_getopt.h	Mon Feb 24 05:23:50 2003
X@@ -11,6 +11,9 @@
X #endif
X 
X #ifdef HAVE_GETOPT_H
X+#ifdef __FreeBSD__
X+#define __GNU_LIBRARY__
X+#endif
X #include <getopt.h>
X #endif
X 
END-of-mpeg4ip-libmp4v2/files/patch-include::mpeg4ip_getopt.h
echo x - mpeg4ip-libmp4v2/files/patch-mpeg4ip_config.h.in
sed 's/^X//' >mpeg4ip-libmp4v2/files/patch-mpeg4ip_config.h.in << 'END-of-mpeg4ip-libmp4v2/files/patch-mpeg4ip_config.h.in'
X--- mpeg4ip_config.h.in.orig	Tue May 18 13:31:06 2004
X+++ mpeg4ip_config.h.in	Wed Sep 29 14:40:59 2004
X@@ -25,16 +25,12 @@
X #undef HAVE_FPOS_T___POS
X 
X /* Define to 1 if you have the `getopt' function. */
X-#undef HAVE_GETOPT
X 
X /* Define to 1 if you have the <getopt.h> header file. */
X-#undef HAVE_GETOPT_H
X 
X /* Define to 1 if you have the `getopt_long' function. */
X-#undef HAVE_GETOPT_LONG
X 
X /* Define to 1 if you have the `getopt_long_only' function. */
X-#undef HAVE_GETOPT_LONG_ONLY
X 
X /* Define to 1 if you have the `getrusage' function. */
X #undef HAVE_GETRUSAGE
X@@ -67,7 +63,6 @@
X #undef HAVE_IPv6
X 
X /* Define to 1 if you have the `gnugetopt' library (-lgnugetopt). */
X-#undef HAVE_LIBGNUGETOPT
X 
X /* have libmpeg2 decoder library */
X #undef HAVE_LIBMPEG2
END-of-mpeg4ip-libmp4v2/files/patch-mpeg4ip_config.h.in
echo x - mpeg4ip-libmp4v2/files/patch-include::mpeg4ip.h
sed 's/^X//' >mpeg4ip-libmp4v2/files/patch-include::mpeg4ip.h << 'END-of-mpeg4ip-libmp4v2/files/patch-include::mpeg4ip.h'
X--- include/mpeg4ip.h.orig	Wed Sep 29 14:43:52 2004
X+++ include/mpeg4ip.h	Wed Sep 29 14:44:10 2004
X@@ -160,14 +160,14 @@
X #include <errno.h>
X #include <stdlib.h>
X 
X-#ifdef HAVE_INTTYPES_H
X #include <inttypes.h>
X-#endif
X #ifdef HAVE_STDINT_H
X #include <stdint.h>
X #endif
X+#if 0
X #if !defined(HAVE_INTTYPES_H) || !defined(HAVE_STDINT_H)
X #error "Don't have stdint.h or inttypes.h - no way to get uint8_t"
X+#endif
X #endif
X 
X #include <unistd.h>
END-of-mpeg4ip-libmp4v2/files/patch-include::mpeg4ip.h
echo x - mpeg4ip-libmp4v2/files/patch-ltmain.sh
sed 's/^X//' >mpeg4ip-libmp4v2/files/patch-ltmain.sh << 'END-of-mpeg4ip-libmp4v2/files/patch-ltmain.sh'
X--- ltmain.sh.orig	Thu Sep 30 04:09:46 2004
X+++ ltmain.sh	Thu Sep 30 04:11:06 2004
X@@ -5425,10 +5425,12 @@
X 	fi
X 
X 	# Install the pseudo-library for information purposes.
X+	if /usr/bin/false; then
X 	name=`$echo "X$file" | $Xsed -e 's%^.*/%%'`
X 	instname="$dir/$name"i
X 	$show "$install_prog $instname $destdir/$name"
X 	$run eval "$install_prog $instname $destdir/$name" || exit $?
X+	fi
X 
X 	# Maybe install the static library, too.
X 	test -n "$old_library" && staticlibs="$staticlibs $dir/$old_library"
END-of-mpeg4ip-libmp4v2/files/patch-ltmain.sh
echo x - mpeg4ip-libmp4v2/pkg-plist
sed 's/^X//' >mpeg4ip-libmp4v2/pkg-plist << 'END-of-mpeg4ip-libmp4v2/pkg-plist'
Xbin/mp4dump
Xbin/mp4extract
Xbin/mp4info
Xbin/mp4tags
Xbin/mp4trackdump
Xinclude/mp4.h
Xlib/libmp4v2.a
Xlib/libmp4v2.so
Xlib/libmp4v2.so.0
END-of-mpeg4ip-libmp4v2/pkg-plist
echo x - mpeg4ip-libmp4v2/pkg-descr
sed 's/^X//' >mpeg4ip-libmp4v2/pkg-descr << 'END-of-mpeg4ip-libmp4v2/pkg-descr'
XMpeg4 library and tools from mpeg4ip
X
XWWW: http://mpeg4ip.sourceforge.net/
END-of-mpeg4ip-libmp4v2/pkg-descr
echo x - mpeg4ip-libmp4v2/Makefile
sed 's/^X//' >mpeg4ip-libmp4v2/Makefile << 'END-of-mpeg4ip-libmp4v2/Makefile'
X# New ports collection makefile for:	mpeg4ip-libmp4v2
X# Date created:		28 Sep 2004
X# Whom:			Michael Johnson <ahze@ahze.net>
X#
X# $FreeBSD$
X#
X
XPORTNAME=	mpeg4ip
XPORTVERSION=	1.1
XCATEGORIES=	multimedia
XMASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
XMASTER_SITE_SUBDIR=	${PORTNAME}
XPKGNAMESUFFIX=	-libmp4v2
X
XMAINTAINER=	ahze@ahze.net
XCOMMENT=	Mpeg-4 library and tools from mpeg4ip
X
XBUILD_DIR=	${WRKSRC}/lib/mp4v2
X
XUSE_GMAKE=	yes
XUSE_GNOME=	gnometarget
XUSE_INC_LIBTOOL_VER=15
XUSE_REINPLACE=	yes
XCONFIGURE_ENV=	CPPFLAGS="${CPPFLAGS} -I${LOCALBASE}/include -I${X11BASE}/include ${PTHREAD_CFLAGS}" \
X		LDFLAGS="${LDFLAGS} -L${LOCALBASE}/lib -L${X11BASE}/lib ${PTHREAD_LIBS}"
XINSTALLS_SHLIB=	yes
X
X.include <bsd.port.pre.mk>
X
X.if ${OSVERSION} < 502110
XUSE_GCC=	3.4
X.endif
X
Xpost-patch:
X	@${REINPLACE_CMD} -e 's|>&/|>/|; \
X		s|-Wmissing-declarations||; s|-Wmissing-prototypes||' \
X			${WRKSRC}/configure
Xdo-build:
X	@cd ${WRKSRC}/lib/gnu && ${MAKE}
X	@cd ${BUILD_DIR} && ${MAKE}
X
Xdo-install:
X	@cd ${BUILD_DIR} && ${MAKE} ${INSTALL_TARGET}
X
X.include <bsd.port.post.mk>
END-of-mpeg4ip-libmp4v2/Makefile
echo x - mpeg4ip-libmp4v2/distinfo
sed 's/^X//' >mpeg4ip-libmp4v2/distinfo << 'END-of-mpeg4ip-libmp4v2/distinfo'
XMD5 (mpeg4ip-1.1.tar.gz) = fef0224a45485653a8db87bdd5c9e745
XSIZE (mpeg4ip-1.1.tar.gz) = 4351378
END-of-mpeg4ip-libmp4v2/distinfo
exit
--- mpeg4ip-libmp4v2-1.1.shar ends here ---

>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200409301621.i8UGLpsJ071757>