summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris White <chriswhite@gentoo.org>2004-07-24 05:25:28 +0000
committerChris White <chriswhite@gentoo.org>2004-07-24 05:25:28 +0000
commitc6080852130ec41764166540b53de2cac47ab136 (patch)
tree8c4befbb950d53b867534316ed30459313e28911 /media-video/mplayer/files
parentversion bump (finally). now supports 2.6 kernel (#38312) (Manifest recommit) (diff)
downloadgentoo-2-c6080852130ec41764166540b53de2cac47ab136.tar.gz
gentoo-2-c6080852130ec41764166540b53de2cac47ab136.tar.bz2
gentoo-2-c6080852130ec41764166540b53de2cac47ab136.zip
Moved x11 support/xv driver to X USE flag. Fixed gif needing deps on X11. Fixed small typo in the cachefill patch. Address issues mentioned in Bug #58086. Added locale support suggested in Bug #58082.
Diffstat (limited to 'media-video/mplayer/files')
-rw-r--r--media-video/mplayer/files/cachefill.patch4
-rw-r--r--media-video/mplayer/files/mplayer-1.0_pre5-r1-conf_locale.patch22
2 files changed, 24 insertions, 2 deletions
diff --git a/media-video/mplayer/files/cachefill.patch b/media-video/mplayer/files/cachefill.patch
index 0dfc2c0dc63b..ec6e6c351b30 100644
--- a/media-video/mplayer/files/cachefill.patch
+++ b/media-video/mplayer/files/cachefill.patch
@@ -8,8 +8,8 @@ diff -Naur MPlayer-1.0pre4.orig/cfg-common.h MPlayer-1.0pre4/cfg-common.h
- {"cache", &stream_cache_size, CONF_TYPE_INT, CONF_RANGE, 4, 65536, NULL},
+ {"cache", &stream_cache_size, CONF_TYPE_INT, CONF_RANGE, 32, 262144, NULL},
{"nocache", &stream_cache_size, CONF_TYPE_FLAG, 0, 1, 0, NULL},
-+ {"cache-min", &stream_cache_min_percent, CONF_TYPE_FLOAT, CONF_RANGE, 0, 99, NULL},
-+ {"cache-prefill", &stream_cache_prefill_percent, CONF_TYPE_FLOAT, CONF_RANGE, 0, 99, NULL},
++ {"cache_min", &stream_cache_min_percent, CONF_TYPE_FLOAT, CONF_RANGE, 0, 99, NULL},
++ {"cache_prefill", &stream_cache_prefill_percent, CONF_TYPE_FLOAT, CONF_RANGE, 0, 99, NULL},
#else
{"cache", "MPlayer was compiled WITHOUT cache2 support\n", CONF_TYPE_PRINT, CONF_NOCFG, 0, 0, NULL},
#endif
diff --git a/media-video/mplayer/files/mplayer-1.0_pre5-r1-conf_locale.patch b/media-video/mplayer/files/mplayer-1.0_pre5-r1-conf_locale.patch
new file mode 100644
index 000000000000..8c035f958d24
--- /dev/null
+++ b/media-video/mplayer/files/mplayer-1.0_pre5-r1-conf_locale.patch
@@ -0,0 +1,22 @@
+diff -r -u MPlayer-1.0pre5_orig/configure MPlayer-1.0pre5/configure
+--- MPlayer-1.0pre5_orig/configure 2004-07-23 18:06:56.422863704 +0200
++++ MPlayer-1.0pre5/configure 2004-07-23 18:08:05.252400024 +0200
+@@ -2079,15 +2079,15 @@
+ break
+ else
+ echo -n "$i not found, "
+- _language=`echo $_language | sed "s/$i *//g"`
++ _language=`echo $_language | sed "s/\<$i\> *//g"`
+ fi
+ done
+ test -z "$_language" && _language=en
+ for i in $LANGUAGES ; do
+ if test -f "DOCS/man/$i/mplayer.1" ; then
+- LANGUAGES=`echo $LANGUAGES | sed "s/$i *//2" | sed 's/ *$//'`
++ LANGUAGES=`echo $LANGUAGES | sed "s/\<$i\> *//2" | sed 's/ *$//'`
+ else
+- LANGUAGES=`echo $LANGUAGES | sed "s/$i *//g" | sed 's/ *$//'`
++ LANGUAGES=`echo $LANGUAGES | sed "s/\<$i\> *//g" | sed 's/ *$//'`
+ fi
+ done
+ echores "using $_language (man pages: $LANGUAGES)"