aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorlioux <lioux@FreeBSD.org>2002-06-05 07:49:35 +0800
committerlioux <lioux@FreeBSD.org>2002-06-05 07:49:35 +0800
commit5579550a66941a27b12c94eabae369bc04941f80 (patch)
tree64961ecc7b92c89adfb188286b4fcda3c8a44f11
parentf881f5589bd212e0ebd0b7945ae1661b7a2b487a (diff)
downloadfreebsd-ports-gnome-5579550a66941a27b12c94eabae369bc04941f80.tar.gz
freebsd-ports-gnome-5579550a66941a27b12c94eabae369bc04941f80.tar.zst
freebsd-ports-gnome-5579550a66941a27b12c94eabae369bc04941f80.zip
o Bump PORTREVISION
o Prefer mplayer internal DVD access routines rather than libdvdread due to problem reports from users. Prefer libdvdread if WITH_LIBDVDREAD o Change iconv interaction since users have been complaining since iconv was updated to 1.7 Submitted by: maintainer
-rw-r--r--graphics/mplayer/Makefile13
-rw-r--r--graphics/mplayer/files/patch-ad34
-rw-r--r--graphics/mplayer/files/patch-mplayer:subreader.c14
-rw-r--r--multimedia/mplayer/Makefile13
-rw-r--r--multimedia/mplayer/files/patch-ad34
-rw-r--r--multimedia/mplayer/files/patch-mplayer:subreader.c14
-rw-r--r--multimedia/mplayerxp/Makefile13
-rw-r--r--multimedia/mplayerxp/files/patch-ad34
-rw-r--r--multimedia/mplayerxp/files/patch-mplayer:subreader.c14
9 files changed, 174 insertions, 9 deletions
diff --git a/graphics/mplayer/Makefile b/graphics/mplayer/Makefile
index 5654124eb6dd..43a68760e998 100644
--- a/graphics/mplayer/Makefile
+++ b/graphics/mplayer/Makefile
@@ -7,6 +7,7 @@
PORTNAME= mplayer
PORTVERSION= 0.90.0.4
+PORTREVISION= 1
CATEGORIES= graphics
MASTER_SITES= http://ftp.mplayerhq.hu/MPlayer/releases/ \
http://www.mplayerhq.hu/MPlayer/releases/ \
@@ -46,7 +47,7 @@ DOCFILES= DVB bugreports.html cd-dvd.html codecs-in.html \
.include <bsd.port.pre.mk>
-.if exists(${LOCALBASE}/lib/libdvdread.so.2)
+.if exists(${LOCALBASE}/lib/libdvdcss.so.2)
WITH_DVD= yes
.endif
@@ -80,8 +81,12 @@ CONFIGURE_ARGS+= --enable-gui
.endif
.if defined(WITH_DVD)
+.if !defined(WITH_LIBDVDREAD)
+LIB_DEPENDS+= dvdcss.2:${PORTSDIR}/graphics/libdvdcss
+.else
LIB_DEPENDS+= dvdread.2:${PORTSDIR}/graphics/libdvdread
.endif
+.endif
.if defined(WITH_SVGALIB)
LIB_DEPENDS+= vga.1:${PORTSDIR}/graphics/svgalib
@@ -156,6 +161,10 @@ pre-everything::
.if !defined(WITH_DVD)
@${ECHO_MSG} "You can enable DVD support by defining WITH_DVD."
.endif
+.if defined(WITH_DVD) && !defined(WITH_LIBDVDREAD)
+ @${ECHO_MSG} "You can replace mplayer internal DVD routines with libdvdread"
+ @${ECHO_MSG} "support by defining WITH_LIBDVDREAD."
+.endif
.if !defined(WITH_SVGALIB)
@${ECHO_MSG} "You can enable SVGALIB support by defining WITH_SVGALIB."
.endif
@@ -195,7 +204,9 @@ pre-everything::
.endif # ARCH == i386
pre-configure:
+.if defined(WITH_LIBDVDREAD)
@${RM} -Rf ${WRKSRC}/libmpdvdkit/
+.endif
post-install:
@${MKDIR} ${DATADIR}
diff --git a/graphics/mplayer/files/patch-ad b/graphics/mplayer/files/patch-ad
index 1c25f3936d5b..074fbc9c7299 100644
--- a/graphics/mplayer/files/patch-ad
+++ b/graphics/mplayer/files/patch-ad
@@ -1,5 +1,5 @@
--- configure.orig Mon May 13 22:52:10 2002
-+++ configure Tue May 21 08:56:42 2002
++++ configure Tue Jun 4 23:08:36 2002
@@ -450,19 +450,10 @@
# Try to find the available options for the current CPU
@@ -67,7 +67,37 @@
echores "yes (using $_ld_pthread)"
-@@ -3570,7 +3531,7 @@
+@@ -3064,11 +3025,7 @@
+
+ echocheck "iconv"
+ if test "$_iconv" = auto ; then
+- if freebsd ; then
+- _iconv_tmp='#include <giconv.h>'
+- else
+ _iconv_tmp='#include <iconv.h>'
+- fi
+ cat > $TMPC << EOF
+ #include <stdio.h>
+ #include <unistd.h>
+@@ -3102,7 +3059,7 @@
+ EOF
+ _iconv=no
+ if freebsd ; then
+- cc_check -lm -lgiconv && _iconv=yes
++ cc_check -lm -liconv && _iconv=yes
+ elif bsdos ; then
+ cc_check -lm -liconv && _iconv=yes
+ else
+@@ -3111,7 +3068,7 @@
+ fi
+ if test "$_iconv" = yes ; then
+ _def_iconv='#define USE_ICONV 1'
+- freebsd && _ld_iconv='-lgiconv'
++ freebsd && _ld_iconv='-liconv'
+ bsdos && _ld_iconv='-liconv'
+ else
+ _def_iconv='#undef USE_ICONV'
+@@ -3570,7 +3527,7 @@
CFLAGS="$CFLAGS -D_REENTRANT"
elif bsd ; then
# FIXME bsd needs this so maybe other OS'es
diff --git a/graphics/mplayer/files/patch-mplayer:subreader.c b/graphics/mplayer/files/patch-mplayer:subreader.c
new file mode 100644
index 000000000000..93af516634a2
--- /dev/null
+++ b/graphics/mplayer/files/patch-mplayer:subreader.c
@@ -0,0 +1,14 @@
+--- subreader.c.orig Mon May 13 22:41:20 2002
++++ subreader.c Tue Jun 4 22:54:33 2002
+@@ -18,11 +18,7 @@
+ #define ERR ((void *) -1)
+
+ #ifdef USE_ICONV
+-#ifdef __FreeBSD__
+-#include <giconv.h>
+-#else
+ #include <iconv.h>
+-#endif
+ char *sub_cp=NULL;
+ #endif
+
diff --git a/multimedia/mplayer/Makefile b/multimedia/mplayer/Makefile
index 5654124eb6dd..43a68760e998 100644
--- a/multimedia/mplayer/Makefile
+++ b/multimedia/mplayer/Makefile
@@ -7,6 +7,7 @@
PORTNAME= mplayer
PORTVERSION= 0.90.0.4
+PORTREVISION= 1
CATEGORIES= graphics
MASTER_SITES= http://ftp.mplayerhq.hu/MPlayer/releases/ \
http://www.mplayerhq.hu/MPlayer/releases/ \
@@ -46,7 +47,7 @@ DOCFILES= DVB bugreports.html cd-dvd.html codecs-in.html \
.include <bsd.port.pre.mk>
-.if exists(${LOCALBASE}/lib/libdvdread.so.2)
+.if exists(${LOCALBASE}/lib/libdvdcss.so.2)
WITH_DVD= yes
.endif
@@ -80,8 +81,12 @@ CONFIGURE_ARGS+= --enable-gui
.endif
.if defined(WITH_DVD)
+.if !defined(WITH_LIBDVDREAD)
+LIB_DEPENDS+= dvdcss.2:${PORTSDIR}/graphics/libdvdcss
+.else
LIB_DEPENDS+= dvdread.2:${PORTSDIR}/graphics/libdvdread
.endif
+.endif
.if defined(WITH_SVGALIB)
LIB_DEPENDS+= vga.1:${PORTSDIR}/graphics/svgalib
@@ -156,6 +161,10 @@ pre-everything::
.if !defined(WITH_DVD)
@${ECHO_MSG} "You can enable DVD support by defining WITH_DVD."
.endif
+.if defined(WITH_DVD) && !defined(WITH_LIBDVDREAD)
+ @${ECHO_MSG} "You can replace mplayer internal DVD routines with libdvdread"
+ @${ECHO_MSG} "support by defining WITH_LIBDVDREAD."
+.endif
.if !defined(WITH_SVGALIB)
@${ECHO_MSG} "You can enable SVGALIB support by defining WITH_SVGALIB."
.endif
@@ -195,7 +204,9 @@ pre-everything::
.endif # ARCH == i386
pre-configure:
+.if defined(WITH_LIBDVDREAD)
@${RM} -Rf ${WRKSRC}/libmpdvdkit/
+.endif
post-install:
@${MKDIR} ${DATADIR}
diff --git a/multimedia/mplayer/files/patch-ad b/multimedia/mplayer/files/patch-ad
index 1c25f3936d5b..074fbc9c7299 100644
--- a/multimedia/mplayer/files/patch-ad
+++ b/multimedia/mplayer/files/patch-ad
@@ -1,5 +1,5 @@
--- configure.orig Mon May 13 22:52:10 2002
-+++ configure Tue May 21 08:56:42 2002
++++ configure Tue Jun 4 23:08:36 2002
@@ -450,19 +450,10 @@
# Try to find the available options for the current CPU
@@ -67,7 +67,37 @@
echores "yes (using $_ld_pthread)"
-@@ -3570,7 +3531,7 @@
+@@ -3064,11 +3025,7 @@
+
+ echocheck "iconv"
+ if test "$_iconv" = auto ; then
+- if freebsd ; then
+- _iconv_tmp='#include <giconv.h>'
+- else
+ _iconv_tmp='#include <iconv.h>'
+- fi
+ cat > $TMPC << EOF
+ #include <stdio.h>
+ #include <unistd.h>
+@@ -3102,7 +3059,7 @@
+ EOF
+ _iconv=no
+ if freebsd ; then
+- cc_check -lm -lgiconv && _iconv=yes
++ cc_check -lm -liconv && _iconv=yes
+ elif bsdos ; then
+ cc_check -lm -liconv && _iconv=yes
+ else
+@@ -3111,7 +3068,7 @@
+ fi
+ if test "$_iconv" = yes ; then
+ _def_iconv='#define USE_ICONV 1'
+- freebsd && _ld_iconv='-lgiconv'
++ freebsd && _ld_iconv='-liconv'
+ bsdos && _ld_iconv='-liconv'
+ else
+ _def_iconv='#undef USE_ICONV'
+@@ -3570,7 +3527,7 @@
CFLAGS="$CFLAGS -D_REENTRANT"
elif bsd ; then
# FIXME bsd needs this so maybe other OS'es
diff --git a/multimedia/mplayer/files/patch-mplayer:subreader.c b/multimedia/mplayer/files/patch-mplayer:subreader.c
new file mode 100644
index 000000000000..93af516634a2
--- /dev/null
+++ b/multimedia/mplayer/files/patch-mplayer:subreader.c
@@ -0,0 +1,14 @@
+--- subreader.c.orig Mon May 13 22:41:20 2002
++++ subreader.c Tue Jun 4 22:54:33 2002
+@@ -18,11 +18,7 @@
+ #define ERR ((void *) -1)
+
+ #ifdef USE_ICONV
+-#ifdef __FreeBSD__
+-#include <giconv.h>
+-#else
+ #include <iconv.h>
+-#endif
+ char *sub_cp=NULL;
+ #endif
+
diff --git a/multimedia/mplayerxp/Makefile b/multimedia/mplayerxp/Makefile
index 5654124eb6dd..43a68760e998 100644
--- a/multimedia/mplayerxp/Makefile
+++ b/multimedia/mplayerxp/Makefile
@@ -7,6 +7,7 @@
PORTNAME= mplayer
PORTVERSION= 0.90.0.4
+PORTREVISION= 1
CATEGORIES= graphics
MASTER_SITES= http://ftp.mplayerhq.hu/MPlayer/releases/ \
http://www.mplayerhq.hu/MPlayer/releases/ \
@@ -46,7 +47,7 @@ DOCFILES= DVB bugreports.html cd-dvd.html codecs-in.html \
.include <bsd.port.pre.mk>
-.if exists(${LOCALBASE}/lib/libdvdread.so.2)
+.if exists(${LOCALBASE}/lib/libdvdcss.so.2)
WITH_DVD= yes
.endif
@@ -80,8 +81,12 @@ CONFIGURE_ARGS+= --enable-gui
.endif
.if defined(WITH_DVD)
+.if !defined(WITH_LIBDVDREAD)
+LIB_DEPENDS+= dvdcss.2:${PORTSDIR}/graphics/libdvdcss
+.else
LIB_DEPENDS+= dvdread.2:${PORTSDIR}/graphics/libdvdread
.endif
+.endif
.if defined(WITH_SVGALIB)
LIB_DEPENDS+= vga.1:${PORTSDIR}/graphics/svgalib
@@ -156,6 +161,10 @@ pre-everything::
.if !defined(WITH_DVD)
@${ECHO_MSG} "You can enable DVD support by defining WITH_DVD."
.endif
+.if defined(WITH_DVD) && !defined(WITH_LIBDVDREAD)
+ @${ECHO_MSG} "You can replace mplayer internal DVD routines with libdvdread"
+ @${ECHO_MSG} "support by defining WITH_LIBDVDREAD."
+.endif
.if !defined(WITH_SVGALIB)
@${ECHO_MSG} "You can enable SVGALIB support by defining WITH_SVGALIB."
.endif
@@ -195,7 +204,9 @@ pre-everything::
.endif # ARCH == i386
pre-configure:
+.if defined(WITH_LIBDVDREAD)
@${RM} -Rf ${WRKSRC}/libmpdvdkit/
+.endif
post-install:
@${MKDIR} ${DATADIR}
diff --git a/multimedia/mplayerxp/files/patch-ad b/multimedia/mplayerxp/files/patch-ad
index 1c25f3936d5b..074fbc9c7299 100644
--- a/multimedia/mplayerxp/files/patch-ad
+++ b/multimedia/mplayerxp/files/patch-ad
@@ -1,5 +1,5 @@
--- configure.orig Mon May 13 22:52:10 2002
-+++ configure Tue May 21 08:56:42 2002
++++ configure Tue Jun 4 23:08:36 2002
@@ -450,19 +450,10 @@
# Try to find the available options for the current CPU
@@ -67,7 +67,37 @@
echores "yes (using $_ld_pthread)"
-@@ -3570,7 +3531,7 @@
+@@ -3064,11 +3025,7 @@
+
+ echocheck "iconv"
+ if test "$_iconv" = auto ; then
+- if freebsd ; then
+- _iconv_tmp='#include <giconv.h>'
+- else
+ _iconv_tmp='#include <iconv.h>'
+- fi
+ cat > $TMPC << EOF
+ #include <stdio.h>
+ #include <unistd.h>
+@@ -3102,7 +3059,7 @@
+ EOF
+ _iconv=no
+ if freebsd ; then
+- cc_check -lm -lgiconv && _iconv=yes
++ cc_check -lm -liconv && _iconv=yes
+ elif bsdos ; then
+ cc_check -lm -liconv && _iconv=yes
+ else
+@@ -3111,7 +3068,7 @@
+ fi
+ if test "$_iconv" = yes ; then
+ _def_iconv='#define USE_ICONV 1'
+- freebsd && _ld_iconv='-lgiconv'
++ freebsd && _ld_iconv='-liconv'
+ bsdos && _ld_iconv='-liconv'
+ else
+ _def_iconv='#undef USE_ICONV'
+@@ -3570,7 +3527,7 @@
CFLAGS="$CFLAGS -D_REENTRANT"
elif bsd ; then
# FIXME bsd needs this so maybe other OS'es
diff --git a/multimedia/mplayerxp/files/patch-mplayer:subreader.c b/multimedia/mplayerxp/files/patch-mplayer:subreader.c
new file mode 100644
index 000000000000..93af516634a2
--- /dev/null
+++ b/multimedia/mplayerxp/files/patch-mplayer:subreader.c
@@ -0,0 +1,14 @@
+--- subreader.c.orig Mon May 13 22:41:20 2002
++++ subreader.c Tue Jun 4 22:54:33 2002
+@@ -18,11 +18,7 @@
+ #define ERR ((void *) -1)
+
+ #ifdef USE_ICONV
+-#ifdef __FreeBSD__
+-#include <giconv.h>
+-#else
+ #include <iconv.h>
+-#endif
+ char *sub_cp=NULL;
+ #endif
+