diff options
author | Alexis Ballier <aballier@gentoo.org> | 2008-10-06 21:38:16 +0000 |
---|---|---|
committer | Alexis Ballier <aballier@gentoo.org> | 2008-10-06 21:38:16 +0000 |
commit | 4fffceed21f0e13ebadd6111df652392bdc1fb4c (patch) | |
tree | 31d0c3defca8ba3e3384bd3131e57d4919284952 /media-video/cxfe | |
parent | amd64/x86 stable, bug #240297 (diff) | |
download | historical-4fffceed21f0e13ebadd6111df652392bdc1fb4c.tar.gz historical-4fffceed21f0e13ebadd6111df652392bdc1fb4c.tar.bz2 historical-4fffceed21f0e13ebadd6111df652392bdc1fb4c.zip |
remove old
Package-Manager: portage-2.2_rc11/cvs/Linux 2.6.26.5 x86_64
Diffstat (limited to 'media-video/cxfe')
-rw-r--r-- | media-video/cxfe/ChangeLog | 10 | ||||
-rw-r--r-- | media-video/cxfe/Manifest | 19 | ||||
-rw-r--r-- | media-video/cxfe/cxfe-0.9.1-r2.ebuild | 46 | ||||
-rw-r--r-- | media-video/cxfe/cxfe-0.9.1.ebuild | 38 | ||||
-rw-r--r-- | media-video/cxfe/files/Makefile-fix.patch | 52 | ||||
-rw-r--r-- | media-video/cxfe/files/black-background.patch | 22 | ||||
-rw-r--r-- | media-video/cxfe/files/cxfe-0.9.1-asneeded.patch | 11 | ||||
-rw-r--r-- | media-video/cxfe/files/disable-dpms.patch | 111 | ||||
-rw-r--r-- | media-video/cxfe/files/gcc-2.95-fix.patch | 23 | ||||
-rw-r--r-- | media-video/cxfe/files/max-osd-fix.patch | 34 | ||||
-rw-r--r-- | media-video/cxfe/files/position-osd.patch | 62 | ||||
-rw-r--r-- | media-video/cxfe/files/xv-default.patch | 20 |
12 files changed, 13 insertions, 435 deletions
diff --git a/media-video/cxfe/ChangeLog b/media-video/cxfe/ChangeLog index ec51c0a8736e..c03facd87dfb 100644 --- a/media-video/cxfe/ChangeLog +++ b/media-video/cxfe/ChangeLog @@ -1,6 +1,14 @@ # ChangeLog for media-video/cxfe # Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-video/cxfe/ChangeLog,v 1.23 2008/10/06 20:33:07 maekke Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-video/cxfe/ChangeLog,v 1.24 2008/10/06 21:38:15 aballier Exp $ + + 06 Oct 2008; Alexis Ballier <aballier@gentoo.org> + -files/cxfe-0.9.1-asneeded.patch, -files/gcc-2.95-fix.patch, + -files/Makefile-fix.patch, -files/black-background.patch, + -files/disable-dpms.patch, -files/max-osd-fix.patch, + -files/position-osd.patch, -files/xv-default.patch, -cxfe-0.9.1.ebuild, + -cxfe-0.9.1-r2.ebuild: + remove old 06 Oct 2008; Markus Meier <maekke@gentoo.org> cxfe-0.9.2.ebuild: amd64/x86 stable, bug #239677 diff --git a/media-video/cxfe/Manifest b/media-video/cxfe/Manifest index 8e65e2305356..e9a3cb1bc642 100644 --- a/media-video/cxfe/Manifest +++ b/media-video/cxfe/Manifest @@ -1,26 +1,15 @@ -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 -AUX Makefile-fix.patch 1509 RMD160 c8ef294052a9a913c93d41a3cc904eefe78dd290 SHA1 481e03f4d8838ac9d957602fa0073209a75ee9ba SHA256 37f580e5d743cbe2cb5900249342c29625378c9cba93976bcff44f6754390a83 -AUX black-background.patch 792 RMD160 0f8eb63394ed7434b3376923ae1fb32b1f96b03c SHA1 4432537f8207a665743c5d1225e5c32975f534ba SHA256 70ea78e9a12c780fc96191ed483c0821e3efb4344aee0fd14e357f280435db68 -AUX cxfe-0.9.1-asneeded.patch 355 RMD160 94908c094e1703f4b1f9e9abfa2423bd8014fa47 SHA1 b1fccb9a62eb74dd51cb8b7412ebab3766ad06d7 SHA256 1f0cfcdc0f00ff1271352ac87d88bdd5755e58c4fc15000ee1fcffdddc9deadc AUX cxfe-0.9.2-asneeded.patch 525 RMD160 b9e6f77dd3036313777df72a1b7ec6d97d232774 SHA1 406f6f4bae498143b3d1558df5a527c6f8e5a88c SHA256 a7fafc48a9b4583f245c52251594b1caa9060e7e98689bce1be0dcf1e9d2f69e -AUX disable-dpms.patch 3277 RMD160 a4e7eed212f7d5702fa3932701b4ac588e7fbae0 SHA1 19b73865ae11f96a0a90cd37847a65132d92f970 SHA256 3d65c021edcff4e61bd7d890f57eff098164262726441551b54d4dfaa2b8bea4 -AUX gcc-2.95-fix.patch 583 RMD160 ce0e035998e415840d96356e7dd2e03f6a872f70 SHA1 f140c96c17d88cd50a0e90f511e4b19dfa1003ef SHA256 7464afafc835fff318daa2e687f123f4de010e27e29d24e1b7b5e1fa178c5deb -AUX max-osd-fix.patch 728 RMD160 d593695a5f433fe068dc28814dbf0854f8c802da SHA1 a89cba2147540e1c53ebaea7f05925b1b4adb25d SHA256 bc22df5fb1cd3dea6887448b863001a6e63b25a2b381ad45ca5ec6a44bb7d404 -AUX position-osd.patch 1784 RMD160 df2cf3b35a39b1067b16f3a894ceaedcdfb4859f SHA1 0065dc6143f61f2d970354fec6f833e2166715cb SHA256 d396ec6054b41c831b1c51407f341641692a6c8f53c739bf3fdffbcbd6fc4ce3 -AUX xv-default.patch 650 RMD160 31c8ae131dc680c51f55df6fe7dbc02f80f23720 SHA1 9b29410d3a912cc54b7e264c3fec7ac0d9d102a8 SHA256 e3368f688d44abd5b1991f31045bb63d5792d39301b7edda3770ff23a81a70e9 -DIST cxfe-0.9.1.tar.gz 91650 RMD160 90a34fde9e78fef3e8c922b9ccbb9edf7f0babb1 SHA1 d2bd8f239d1b63345cea8efa4d2953ae8f1d6eeb SHA256 4ed007d799d1e8728b22a874cc1b104af540e1f58ee1facb01a59b55fa956a07 DIST cxfe-0.9.2.tar.bz2 77475 RMD160 ba0375de4116dd1e7c924de802eaf86dad11689e SHA1 5237c0207756e270e660c5a81509f2815b0e6a9a SHA256 030addcf0ea670b4c3525cb7411e958ac0a527a845c1925ec84830eb38a4f0dc -EBUILD cxfe-0.9.1-r2.ebuild 1145 RMD160 fda6f40394cea544e1896164f305c6fc9ac03dce SHA1 e1fb792e200f038d36450f38dc091106cff5f9b2 SHA256 33775e61fef5283bee869e94d30bbb5d48eb96b25d1999c2522501302f1334cc -EBUILD cxfe-0.9.1.ebuild 863 RMD160 ec54b7279eb6ed6b24a2cc7c4e87917548803c04 SHA1 5b28d611559e2294df5f8349d25679687c0bb892 SHA256 fc422dfa8a040300ac5a4fbb3b06db2a0851ee058c8660ff0900b670ddd57128 EBUILD cxfe-0.9.2.ebuild 769 RMD160 4a75221adcbc17dca5589123e2b7a35fd47de9d3 SHA1 bf0b723c273236817675c38d90da450c1e5bdfee SHA256 2fccc93c89c174fb9e2e8f764f831a2492a439eb0afe26326c305de3f6f29aeb -MISC ChangeLog 3464 RMD160 c2810e558b2bb2a824f8b51e4c4ebe7cbead8c18 SHA1 7d066a2404a73fbc391aac09917aa3916e36432f SHA256 287013d516a0bf9343dcc36a7b711dab461eccafe029adcef42242f879b42897 +MISC ChangeLog 3809 RMD160 003bd46fbfb3249b79354c33dc3dee15f63d4ef1 SHA1 3ef6855706300a78817c275447d5cea114053e56 SHA256 65cfe5962c836c189dd8335c8a831fb931610cb93a40f01bef8ed45d200eede2 MISC metadata.xml 225 RMD160 6e3fccd1ae62f02a0cb28d319aa185af0020822d SHA1 1b8ccc849053361ac907dc9b652796defd1ce906 SHA256 1a7f3e805478b42bc379b2a36944579d34d7e66ba5bf418a651e1cd58ad0a7f5 -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (GNU/Linux) -iEYEARECAAYFAkjqdlcACgkQkKaRLQcq0GIpOACgiwfllZ96QNIt2hzY3e8xIQpq -hGoAn0t0IcPeP92JNPiwo4C7PhvunB5y -=/3kB +iEYEARECAAYFAkjqhU0ACgkQvFcC4BYPU0qJkACgnBcebskslKSJ8PloMbtaGUzh +xLwAnRF95FlzcL4HZj5B2y7NM8nN3UYH +=7GWI -----END PGP SIGNATURE----- diff --git a/media-video/cxfe/cxfe-0.9.1-r2.ebuild b/media-video/cxfe/cxfe-0.9.1-r2.ebuild deleted file mode 100644 index 46c63c260376..000000000000 --- a/media-video/cxfe/cxfe-0.9.1-r2.ebuild +++ /dev/null @@ -1,46 +0,0 @@ -# Copyright 1999-2007 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/media-video/cxfe/cxfe-0.9.1-r2.ebuild,v 1.5 2007/07/22 08:54:59 dberkholz Exp $ - -inherit eutils - -DESCRIPTION="A command line interface for xine." -HOMEPAGE="http://www.rtwnetwork.com/cxfe/" - -SRC_URI="ftp://ftp.rtwnetwork.com/pub/${P}.tar.gz" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~x86 ~amd64 ~ppc" -IUSE="lirc" - -RDEPEND=">=media-libs/xine-lib-1_rc1 - x11-libs/libX11 - x11-libs/libXext - lirc? ( app-misc/lirc ) - sys-libs/ncurses" - -DEPEND="${RDEPEND} - x11-libs/libX11 - x11-libs/libXext" - -src_unpack() { - unpack ${A} - mv cxfe ${P} - cd ${P} - epatch "${FILESDIR}/gcc-2.95-fix.patch" - epatch "${FILESDIR}/max-osd-fix.patch" - epatch "${FILESDIR}/xv-default.patch" - epatch "${FILESDIR}/disable-dpms.patch" - epatch "${FILESDIR}/position-osd.patch" - epatch "${FILESDIR}/black-background.patch" - - # add missing space, see #82684 - sed -i -e 's/\-lXext\@LDFLAGS/\-lXext \@LDFLAGS/' Makefile.in - epatch "${FILESDIR}/${P}-asneeded.patch" -} - -src_install() { - dobin cxfe - dodoc README TODO lircrc-example -} diff --git a/media-video/cxfe/cxfe-0.9.1.ebuild b/media-video/cxfe/cxfe-0.9.1.ebuild deleted file mode 100644 index 28ffa17a3977..000000000000 --- a/media-video/cxfe/cxfe-0.9.1.ebuild +++ /dev/null @@ -1,38 +0,0 @@ -# Copyright 1999-2007 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/media-video/cxfe/cxfe-0.9.1.ebuild,v 1.6 2007/11/27 11:59:57 zzam Exp $ - -inherit eutils - -DESCRIPTION="A command line interface for xine." -HOMEPAGE="http://www.rtwnetwork.com/cxfe/" - -SRC_URI="ftp://ftp.rtwnetwork.com/pub/${P}.tar.gz" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="x86 amd64" -IUSE="lirc" - -RDEPEND=">=media-libs/xine-lib-1_rc1 - x11-libs/libX11 - x11-libs/libXext - lirc? ( app-misc/lirc ) - sys-libs/ncurses" - -DEPEND="${RDEPEND} - x11-libs/libX11 - x11-libs/libXext" -src_unpack() { - unpack ${A} - mv cxfe ${P} - cd ${P} - epatch "${FILESDIR}"/gcc-2.95-fix.patch - epatch "${FILESDIR}"/max-osd-fix.patch - epatch "${FILESDIR}"/xv-default.patch -} - -src_install() { - dobin cxfe - dodoc README TODO lircrc-example -} diff --git a/media-video/cxfe/files/Makefile-fix.patch b/media-video/cxfe/files/Makefile-fix.patch deleted file mode 100644 index a1d97a50ae1a..000000000000 --- a/media-video/cxfe/files/Makefile-fix.patch +++ /dev/null @@ -1,52 +0,0 @@ ---- Makefile.in 2004-08-15 01:11:43.000000000 +0200 -+++ ../cxfe-edited/Makefile.in 2004-09-25 10:56:21.820612240 +0200 -@@ -1,7 +1,7 @@ - SHELL = /bin/sh - VPATH = @srcdir@ - --subdirs = @subdirs@ -+subdirs = . - top_srcdir = @top_srcdir@ - srcdir = @srcdir@ - prefix = @prefix@ -@@ -13,9 +13,9 @@ - - CC = @CC@ -Wall - CPPFLAGS = @CPPFLAGS@ --CFLAGS = $(CPPFLAGS) @CFLAGS@ `xine-config --cflags` -+CFLAGS = $(CPPFLAGS) @CFLAGS@ `xine-config --cflags` -I/usr/X11R6/include - LIBS = @LIBS@ --LDFLAGS = `xine-config --libs` @LDFLAGS@ -lX11 @LIBS@ -+LDFLAGS = `xine-config --libs` -L/usr/X11R6/lib -lX11 -lXext @LDFLAGS@ @LIBS@ - INSTALL = @INSTALL@ - - #CC=gcc -Wall -g -O2 -@@ -29,15 +29,20 @@ - cxfe: cxfe.o termio/getch2.o - - clean: -- rm cxfe.o cxfe termio/*.o -+ @if test -f cxfe.o ; then rm cxfe.o ; fi -+ @if test -f cxfe ; then rm cxfe termio/*.o ; fi -+ @if test -f termio/getch2.o ; then rm cxfe termio/*.o ; fi - - install: -- cp cxfe $(bindir)/cxfe -- chmod 755 $(bindir)/cxfe -- if test ! -d $(prefix)/share/cxfe ; then mkdir -p $(prefix)/share/cxfe ; --fi -- cp lircrc-example $(prefix)/share/cxfe/lircrc -+ @echo "Installing cxfe to:" $(bindir)/cxfe -+ @chmod +x cxfe -+ @cp cxfe $(bindir)/cxfe -+ @if test ! -d $(prefix)/share/cxfe ; \ -+ then mkdir -p $(prefix)/share/cxfe ; \ -+ fi -+ @echo "Installing lirc example to:" $(prefix)/share/cxfe/lircrc -+ @cp lircrc-example $(prefix)/share/cxfe/lircrc - - uninstall: -- rm -f $(bindir)/cxfe -- rm -Rf $(prefix)/share/cxfe -+ @rm -f $(bindir)/cxfe -+ @rm -Rf $(prefix)/share/cxfe diff --git a/media-video/cxfe/files/black-background.patch b/media-video/cxfe/files/black-background.patch deleted file mode 100644 index d44e33a69580..000000000000 --- a/media-video/cxfe/files/black-background.patch +++ /dev/null @@ -1,22 +0,0 @@ ---- cxfe/cxfe.c 2004-11-27 03:07:59.000000000 +0100 -+++ cxfe-mod/cxfe.c 2005-07-26 00:39:31.000000000 +0200 -@@ -1111,11 +1111,16 @@ - - XLockDisplay(display); - window[0] = XCreateSimpleWindow(display, XDefaultRootWindow(display), -- xpos, ypos, width, height, 1, 0, 0); -+ xpos, ypos, width, height, 1, -+ BlackPixel(display,0), -+ BlackPixel(display,0)); - - window[1] = XCreateSimpleWindow(display, XDefaultRootWindow(display), -- 0, 0, (DisplayWidth(display, screen)), -- (DisplayHeight(display, screen)), 0, 0, 0); -+ 0, 0, (DisplayWidth(display, screen)), -+ (DisplayHeight(display, screen)), 0, -+ BlackPixel(display,0), -+ BlackPixel(display,0)); -+ - - XSelectInput(display, window[0], INPUT_MOTION); - diff --git a/media-video/cxfe/files/cxfe-0.9.1-asneeded.patch b/media-video/cxfe/files/cxfe-0.9.1-asneeded.patch deleted file mode 100644 index 3e357dcd3e35..000000000000 --- a/media-video/cxfe/files/cxfe-0.9.1-asneeded.patch +++ /dev/null @@ -1,11 +0,0 @@ ---- Makefile.in.old 2007-01-30 20:14:10.000000000 +0100 -+++ Makefile.in 2007-01-30 20:14:16.000000000 +0100 -@@ -14,7 +14,7 @@ - CC = @CC@ -Wall - CPPFLAGS = @CPPFLAGS@ - CFLAGS = $(CPPFLAGS) @CFLAGS@ `xine-config --cflags` --LIBS = @LIBS@ -+LDLIBS = @LIBS@ - LDFLAGS = `xine-config --libs` -L/usr/X11R6/lib -lXext @LDFLAGS@ @LIBS@ -lX11 - INSTALL = @INSTALL@ - diff --git a/media-video/cxfe/files/disable-dpms.patch b/media-video/cxfe/files/disable-dpms.patch deleted file mode 100644 index e9a8bcde5ef5..000000000000 --- a/media-video/cxfe/files/disable-dpms.patch +++ /dev/null @@ -1,111 +0,0 @@ -Common subdirectories: cxfe/CVS and cxfe-mod/CVS -diff -uN cxfe/cxfe.c cxfe-mod/cxfe.c ---- cxfe/cxfe.c 2004-11-27 03:07:59.000000000 +0100 -+++ cxfe-mod/cxfe.c 2005-01-15 06:40:05.724443072 +0100 -@@ -103,8 +103,57 @@ - uint32_t status; - } MWMHints; - -+static int dpms_disabled=0; -+static int timeout_save=0; - -+void wsScreenSaverOn( Display *mDisplay ) -+{ -+ int nothing; -+ if ( dpms_disabled ) -+ { -+ if ( DPMSQueryExtension( mDisplay,¬hing,¬hing ) ) -+ { -+ if ( !DPMSEnable( mDisplay ) ) printf("DPMS restoring failed.\n"); // restoring power saving settings -+ else -+ { -+ // DPMS does not seem to be enabled unless we call DPMSInfo -+ BOOL onoff; -+ CARD16 state; -+ DPMSInfo( mDisplay,&state,&onoff ); -+ if ( onoff ) printf("Successfully enabled DPMS.\n"); -+ else printf("DPMS not enabled.\n"); -+ } -+ } -+ } -+ if ( timeout_save ) -+ { -+ int dummy, interval, prefer_blank, allow_exp; -+ XGetScreenSaver( mDisplay,&dummy,&interval,&prefer_blank,&allow_exp ); -+ XSetScreenSaver( mDisplay,timeout_save,interval,prefer_blank,allow_exp ); -+ XGetScreenSaver( mDisplay,&timeout_save,&interval,&prefer_blank,&allow_exp ); -+ } -+} - -+void wsScreenSaverOff( Display * mDisplay ) -+{ -+ int interval,prefer_blank,allow_exp,nothing; -+ if ( DPMSQueryExtension( mDisplay,¬hing,¬hing ) ) -+ { -+ BOOL onoff; -+ CARD16 state; -+ DPMSInfo( mDisplay,&state,&onoff ); -+ if ( onoff ) -+ { -+ Status stat; -+ printf("Disabling DPMS.\n"); -+ dpms_disabled=1; -+ stat=DPMSDisable( mDisplay ); // monitor powersave off -+ //mp_dbg( MSGT_GPLAYER,MSGL_DBG2,"stat: %d.\n",stat ); -+ } -+ } -+ XGetScreenSaver( mDisplay,&timeout_save,&interval,&prefer_blank,&allow_exp ); -+ if ( timeout_save ) XSetScreenSaver( mDisplay,0,interval,prefer_blank,allow_exp ); // turning off screensaver -+} - - static void *osd_loop(void *dummy) - { -@@ -755,6 +804,10 @@ - XLockDisplay(display); - XUnmapWindow(display, window[fullscreen]); - fullscreen = !fullscreen; -+ if (fullscreen) -+ wsScreenSaverOff(display); -+ else -+ wsScreenSaverOn(display); - XMapRaised(display, window[fullscreen]); - XSync(display, False); - XTranslateCoordinates(display, window[fullscreen], -@@ -920,6 +973,7 @@ - } - } - } -+ - char* makestring(char *string, int len) - { - int i; -@@ -1134,6 +1188,9 @@ - else - completion_event = -1; - -+ if (fullscreen) -+ wsScreenSaverOff(display); -+ - XMapRaised(display, window[fullscreen]); - - res_h = (DisplayWidth(display, screen) * 1000 / DisplayWidthMM(display, screen)); -@@ -1293,6 +1350,7 @@ - - if (x11) { - XLockDisplay(display); -+ wsScreenSaverOn(display); - XUnmapWindow(display, window[fullscreen]); - XDestroyWindow(display, window[0]); - XDestroyWindow(display, window[1]); -diff -uN cxfe/main.h cxfe-mod/main.h ---- cxfe/main.h 2004-11-27 02:32:28.000000000 +0100 -+++ cxfe-mod/main.h 2005-01-15 06:40:29.770787472 +0100 -@@ -43,6 +43,7 @@ - #include <X11/Xatom.h> - #include <X11/Xutil.h> - #include <X11/extensions/XShm.h> -+#include <X11/extensions/dpms.h> - #include <xine.h> - #include <xine/xineutils.h> - -Common subdirectories: cxfe/termio and cxfe-mod/termio diff --git a/media-video/cxfe/files/gcc-2.95-fix.patch b/media-video/cxfe/files/gcc-2.95-fix.patch deleted file mode 100644 index 4f8b7f934490..000000000000 --- a/media-video/cxfe/files/gcc-2.95-fix.patch +++ /dev/null @@ -1,23 +0,0 @@ ---- cxfe/cxfe.c 2004-11-27 03:07:59.000000000 +0100 -+++ cxfe-0.91/cxfe.c 2004-11-30 11:32:48.230792288 +0100 -@@ -955,6 +955,9 @@ - static pthread_t lirc_thread; - static pthread_t osd_thread; - int err; -+ int dvd_mrl = 0; -+ int vcd_mrl = 0; -+ int cd_mrl = 0; - /* default values */ - fullscreen = 0; - -@@ -1075,10 +1078,6 @@ - xine_init(cxfe.xine); - - // check which mrl types was specified: -- int dvd_mrl = 0; -- int vcd_mrl = 0; -- int cd_mrl = 0; -- - for(i = 0; i < m; i++){ - if (strstr(mrl[i], "dvd:")) - dvd_mrl = 1; diff --git a/media-video/cxfe/files/max-osd-fix.patch b/media-video/cxfe/files/max-osd-fix.patch deleted file mode 100644 index 92847a9a4d09..000000000000 --- a/media-video/cxfe/files/max-osd-fix.patch +++ /dev/null @@ -1,34 +0,0 @@ ---- cxfe.c 2004-11-27 03:07:59.000000000 +0100 -+++ cxfe-max-osd.c 2004-12-11 18:22:29.171711112 +0100 -@@ -125,11 +125,22 @@ - // if(fbxine.osd.enabled) { - va_list args; - char *buf; -- int n, size = 100; -+ int n, size = 47; - - if((buf = xine_xmalloc(size)) == NULL) - return; - -+ va_start(args, info); -+ n = vsnprintf(buf, size, info, args); -+ va_end(args); -+ -+ buf = realloc(buf, size+3); -+ buf[size-1] = '.'; -+ buf[size] = '.'; -+ buf[size+1] = '.'; -+ buf[size+2] = '\0'; -+ -+#if 0 - while(1) { - - va_start(args, info); -@@ -147,6 +158,7 @@ - if((buf = realloc(buf, size)) == NULL) - return; - } -+#endif - - xine_osd_clear(osd); - diff --git a/media-video/cxfe/files/position-osd.patch b/media-video/cxfe/files/position-osd.patch deleted file mode 100644 index 2d04a38c14cd..000000000000 --- a/media-video/cxfe/files/position-osd.patch +++ /dev/null @@ -1,62 +0,0 @@ ---- cxfe/cxfe.c 2004-11-27 03:07:59.000000000 +0100 -+++ cxfe-mod/cxfe.c 2005-03-01 23:37:18.394875952 +0100 -@@ -476,6 +476,28 @@ - percent_done = (ltime/llength)*100; - printf("Time:%d sec Length:%d sec \n",ltime/1000,llength/1000); - } -+static void print_osd_status() -+{ -+ int lpos, ltime, llength; -+ int percent_done; -+ -+ -+ (void)get_pos_length(cxfe.stream, &lpos, <ime, &llength); -+ -+ percent_done = (int)(((double)ltime/(double)llength)*100); -+ -+ int cur_hour = ltime/1000/60/60; -+ int cur_min = (ltime/1000-cur_hour*60*60)/60; -+ int cur_sec= ltime/1000-cur_hour*60*60-cur_min*60; -+ -+ int tot_hour = llength/1000/60/60; -+ int tot_min = (llength/1000-tot_hour*60*60)/60; -+ int tot_sec= llength/1000-tot_hour*60*60-tot_min*60; -+ -+ osd_display_info("%02d:%02d:%02d / %02d:%02d:%02d (%2d%%)", cur_hour, -+ cur_min, cur_sec, tot_hour, tot_min, tot_sec, -+ percent_done); -+} - #ifdef HAVE_LIBLIRC_CLIENT - static void *process_lirc_thread() - { -@@ -518,6 +540,8 @@ - if (!strcmp(c,"Quit")){ - running = 0; - next_mrl = FALSE;} -+ if (!strcmp(c,"STATUS")) -+ print_osd_status(); - if (!strcmp(c,"ASPECT_CHANGE")) - aspect_change(); - if (!strcmp(c,"Menu")) -@@ -679,6 +703,10 @@ - case 'D': - toggle_deinterlace(); - break; -+ case 'o': -+ case 'O': -+ print_osd_status(); -+ break; - case 'l': - case 13: - send_event(XINE_EVENT_INPUT_SELECT); -@@ -864,6 +892,10 @@ - case XK_M: - send_event(XINE_EVENT_INPUT_DOWN); - break; -+ case XK_o: -+ case XK_O: -+ print_osd_status(); -+ break; - case XK_Return: - send_event(XINE_EVENT_INPUT_SELECT); - break; diff --git a/media-video/cxfe/files/xv-default.patch b/media-video/cxfe/files/xv-default.patch deleted file mode 100644 index a42bad2ca66f..000000000000 --- a/media-video/cxfe/files/xv-default.patch +++ /dev/null @@ -1,20 +0,0 @@ ---- ../cxfe/cxfe.c 2004-11-27 03:07:59.000000000 +0100 -+++ cxfe.c 2005-01-13 11:52:28.346389672 +0100 -@@ -938,7 +938,7 @@ - char configfile[2048]; - x11_visual_t vis; - double res_h, res_v; -- char *vo_driver = "auto"; -+ char *vo_driver = "xv"; - char *ao_driver = "auto"; - char *mrl[1000]; - char *cda_param = "input.cdda_device"; -@@ -960,7 +960,7 @@ - - - if(argc <= 1) { -- printf("Please specify at minimum a video driver and an mrl\n"); -+ printf("Please specify a mrl\n"); - printf("For help enter cxfe --help\n"); - return 1; - } |