summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIoannis Aslanidis <deathwing00@gentoo.org>2006-08-29 11:43:53 +0000
committerIoannis Aslanidis <deathwing00@gentoo.org>2006-08-29 11:43:53 +0000
commit91ad69c3629138f0495e1e66ff6da0324e22830b (patch)
tree3f9d75ddba80451eb80a0186cb4b48fe0cd1ac0b /media-video/kmplayer
parentfix for multilib-strict adherence; bug 145370 (diff)
downloadhistorical-91ad69c3629138f0495e1e66ff6da0324e22830b.tar.gz
historical-91ad69c3629138f0495e1e66ff6da0324e22830b.tar.bz2
historical-91ad69c3629138f0495e1e66ff6da0324e22830b.zip
Added new patch that allows to use MPLAYER_BIN on amd64 for version 0.9.3_pre2. Fixes bug #145344.
Package-Manager: portage-2.1-r2
Diffstat (limited to 'media-video/kmplayer')
-rw-r--r--media-video/kmplayer/ChangeLog7
-rw-r--r--media-video/kmplayer/Manifest20
-rw-r--r--media-video/kmplayer/files/kmplayer-0.9.3_pre2-use32bitbin.diff203
-rw-r--r--media-video/kmplayer/kmplayer-0.9.3_pre2.ebuild3
4 files changed, 223 insertions, 10 deletions
diff --git a/media-video/kmplayer/ChangeLog b/media-video/kmplayer/ChangeLog
index 292ef48507d7..35965ca40dd5 100644
--- a/media-video/kmplayer/ChangeLog
+++ b/media-video/kmplayer/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for media-video/kmplayer
# Copyright 2002-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-video/kmplayer/ChangeLog,v 1.70 2006/08/25 21:13:32 deathwing00 Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-video/kmplayer/ChangeLog,v 1.71 2006/08/29 11:43:53 deathwing00 Exp $
+
+ 29 Aug 2006; Ioannis Aslanidis <deathwing00@gentoo.org>
+ +files/kmplayer-0.9.3_pre2-use32bitbin.diff, kmplayer-0.9.3_pre2.ebuild:
+ Added new patch that allows to use MPLAYER_BIN on amd64 for version
+ 0.9.3_pre2. Fixes bug #145344.
*kmplayer-0.9.3_pre2 (25 Aug 2006)
diff --git a/media-video/kmplayer/Manifest b/media-video/kmplayer/Manifest
index 387b214fb4f8..21869cce5771 100644
--- a/media-video/kmplayer/Manifest
+++ b/media-video/kmplayer/Manifest
@@ -2,6 +2,10 @@ AUX kmplayer-0.9.2a-use32bitbin.diff 9311 RMD160 ff28f8574e6c52fdac47a123b708e5d
MD5 cc0ab460a6945037328e7ef52c04d64b files/kmplayer-0.9.2a-use32bitbin.diff 9311
RMD160 ff28f8574e6c52fdac47a123b708e5d9084f6b47 files/kmplayer-0.9.2a-use32bitbin.diff 9311
SHA256 1e7450978f30d6296c73c10737035827f6547460799caa6898488e5d84553af3 files/kmplayer-0.9.2a-use32bitbin.diff 9311
+AUX kmplayer-0.9.3_pre2-use32bitbin.diff 10284 RMD160 d43468e04218dda33ce55e00ca662668fb02dd64 SHA1 33907c5847f8dfbc73e284ab7a8c540a51b1d538 SHA256 d9d5d53d63b21b032219824329f5e8144cd57d4eaf023e0c31d368d5087a0a30
+MD5 5d18761b3a8a70b67db1356cac037f59 files/kmplayer-0.9.3_pre2-use32bitbin.diff 10284
+RMD160 d43468e04218dda33ce55e00ca662668fb02dd64 files/kmplayer-0.9.3_pre2-use32bitbin.diff 10284
+SHA256 d9d5d53d63b21b032219824329f5e8144cd57d4eaf023e0c31d368d5087a0a30 files/kmplayer-0.9.3_pre2-use32bitbin.diff 10284
DIST kmplayer-0.9.1c.tar.bz2 874267 RMD160 5a682c72068437ae846c533ef459813cce3c1612 SHA1 b1d6a30ac17296214c21608deb56164f2b7d997b SHA256 3a0d7744f43f8baf74a017cc06fdacd6185e520b6f4ceaf4baa952ab20fd7183
DIST kmplayer-0.9.2a.tar.bz2 902210 RMD160 56eec6b64da0c0da6738896dcc215d1d565bf3ca SHA1 729a6f9a5d8033aa9beba239b66c03b07456dd5c SHA256 ddd5f2afffc1a5458456f5a88e81691a106deee4f8a4ba5ac8edb3b3600dd51f
DIST kmplayer-0.9.3-pre2.tar.bz2 742253 RMD160 a1cf78e75a0113b0c0b0eab87b67b0214c4932bd SHA1 98f59937319e3f74afc3af44fc8a22914417d5cc SHA256 1ec37714de43cf4c46e952fed95af6307fda53c1256551550569ea43e0b51d1c
@@ -17,14 +21,14 @@ EBUILD kmplayer-0.9.2a.ebuild 1373 RMD160 9f29e08485d1c9c55c47dfe178203d45b91c6f
MD5 ab8949c1b5200df6c268cee8f2b795dd kmplayer-0.9.2a.ebuild 1373
RMD160 9f29e08485d1c9c55c47dfe178203d45b91c6f11 kmplayer-0.9.2a.ebuild 1373
SHA256 76923049c8ba26f9d6dd0ff77a2275a79bec42d9eca34678ad8120eae0c95d17 kmplayer-0.9.2a.ebuild 1373
-EBUILD kmplayer-0.9.3_pre2.ebuild 1528 RMD160 6705c8eccbaa1a77d78c08f48dcfe05c487f5286 SHA1 a8b6b771e7b7da9c4ed4c77631da4117882992d8 SHA256 cf27f7772a416562af3da243c48939ceacfeb6b01611e78eb99e70a54b2f048f
-MD5 65263d9cbe7c468965551213422c11d8 kmplayer-0.9.3_pre2.ebuild 1528
-RMD160 6705c8eccbaa1a77d78c08f48dcfe05c487f5286 kmplayer-0.9.3_pre2.ebuild 1528
-SHA256 cf27f7772a416562af3da243c48939ceacfeb6b01611e78eb99e70a54b2f048f kmplayer-0.9.3_pre2.ebuild 1528
-MISC ChangeLog 9852 RMD160 a8867e4b858df7b936b1a274c4a12ff89d75f512 SHA1 cbd4ff2dc336031c7bfa98bcb1b66ca2c76dac47 SHA256 8a75d38edc22e1067b9a5ef4aa605e251a8a8b9c2108ea6d742d2f472a5fa4a7
-MD5 cdf305a62bfcea9c536fae89bbd34d47 ChangeLog 9852
-RMD160 a8867e4b858df7b936b1a274c4a12ff89d75f512 ChangeLog 9852
-SHA256 8a75d38edc22e1067b9a5ef4aa605e251a8a8b9c2108ea6d742d2f472a5fa4a7 ChangeLog 9852
+EBUILD kmplayer-0.9.3_pre2.ebuild 1529 RMD160 8efae590664850d3e12bd45b56e552e855f3f4fc SHA1 9e996b0fe5b8bce68f2f27ba9284fc69837b12d6 SHA256 c4f57a078d41ed4ab931469c955aa700db5326e38a78d8a4fee0bf8f59189548
+MD5 425b5f9363b29d72b4eef3f7aca6d591 kmplayer-0.9.3_pre2.ebuild 1529
+RMD160 8efae590664850d3e12bd45b56e552e855f3f4fc kmplayer-0.9.3_pre2.ebuild 1529
+SHA256 c4f57a078d41ed4ab931469c955aa700db5326e38a78d8a4fee0bf8f59189548 kmplayer-0.9.3_pre2.ebuild 1529
+MISC ChangeLog 10089 RMD160 4e97773b6299d45524e5f8b06c0b942b209c1adf SHA1 ab81176ab03e35965a075697f10aaede0ff5a040 SHA256 48ce89376fa5b49c11453edb9d2d599a15daa48e0683e87a96ed8a0fd5739de9
+MD5 f2510ba4f5f7fde0d824c69ecd016c24 ChangeLog 10089
+RMD160 4e97773b6299d45524e5f8b06c0b942b209c1adf ChangeLog 10089
+SHA256 48ce89376fa5b49c11453edb9d2d599a15daa48e0683e87a96ed8a0fd5739de9 ChangeLog 10089
MISC metadata.xml 156 RMD160 ecce3b981f150c45ae1e84e2d208e678d6124259 SHA1 b64f7c0b4e5db816d82ad19848f72118af129d35 SHA256 2f4da28506b9d4185f320f67a6191d30c7a921217ed4447ed46ea0bc4aefc79a
MD5 acc03a4b12bb0433a57e95bd253b9501 metadata.xml 156
RMD160 ecce3b981f150c45ae1e84e2d208e678d6124259 metadata.xml 156
diff --git a/media-video/kmplayer/files/kmplayer-0.9.3_pre2-use32bitbin.diff b/media-video/kmplayer/files/kmplayer-0.9.3_pre2-use32bitbin.diff
new file mode 100644
index 000000000000..8ce075c7f9c9
--- /dev/null
+++ b/media-video/kmplayer/files/kmplayer-0.9.3_pre2-use32bitbin.diff
@@ -0,0 +1,203 @@
+diff -U 4 -H -b -w -B -E -d -i -r kmplayer-0.9.3-pre2-orig/src/kmplayerapp.cpp kmplayer-0.9.3-pre2/src/kmplayerapp.cpp
+--- kmplayer-0.9.3-pre2-orig/src/kmplayerapp.cpp 2006-08-29 13:19:55.000000000 +0200
++++ kmplayer-0.9.3-pre2/src/kmplayerapp.cpp 2006-08-29 13:24:58.000000000 +0200
+@@ -410,9 +410,9 @@
+ connect (m_broadcastconfig, SIGNAL (broadcastStopped()), this, SLOT (broadcastStopped()));
+ initStatusBar();
+ m_player->init (actionCollection ());
+ m_player->players () ["xvideo"] = new XVideo(m_player,m_player->settings());
+- m_player->setProcess ("mplayer");
++ m_player->setProcess (MPLAYER_BIN);
+ m_player->setRecorder ("mencoder");
+ ListsSource * lstsrc = new ListsSource (m_player);
+ m_player->sources () ["listssource"] = lstsrc;
+ m_player->sources () ["dvdsource"] = new ::KMPlayerDVDSource(this, m_dvdmenu);
+@@ -1630,9 +1630,9 @@
+ return true;
+ if (m_identified)
+ return false;
+ //kdDebug () << "scanning " << cstr << endl;
+- QRegExp * patterns = static_cast <KMPlayer::MPlayer *> (m_player->players () ["mplayer"])->configPage ()->m_patterns;
++ QRegExp * patterns = static_cast <KMPlayer::MPlayer *> (m_player->players () [MPLAYER_BIN])->configPage ()->m_patterns;
+ QRegExp & langRegExp = patterns[KMPlayer::MPlayerPreferencesPage::pat_dvdlang];
+ QRegExp & subtitleRegExp = patterns[KMPlayer::MPlayerPreferencesPage::pat_dvdsub];
+ QRegExp & titleRegExp = patterns[KMPlayer::MPlayerPreferencesPage::pat_dvdtitle];
+ QRegExp & chapterRegExp = patterns[KMPlayer::MPlayerPreferencesPage::pat_dvdchapter];
+@@ -1933,9 +1933,9 @@
+ return true;
+ if (m_identified)
+ return false;
+ //kdDebug () << "scanning " << cstr << endl;
+- QRegExp * patterns = static_cast<KMPlayer::MPlayer *> (m_player->players () ["mplayer"])->configPage ()->m_patterns;
++ QRegExp * patterns = static_cast<KMPlayer::MPlayer *> (m_player->players () [MPLAYER_BIN])->configPage ()->m_patterns;
+ QRegExp & trackRegExp = patterns [KMPlayer::MPlayerPreferencesPage::pat_vcdtrack];
+ if (trackRegExp.search (str) > -1) {
+ if (m_document->state != KMPlayer::Element::state_deferred)
+ m_document->defer ();
+@@ -2032,9 +2032,9 @@
+ return true;
+ if (m_identified)
+ return false;
+ //kdDebug () << "scanning " << str << endl;
+- QRegExp * patterns = static_cast<KMPlayer::MPlayer *> (m_player->players () ["mplayer"])->configPage ()->m_patterns;
++ QRegExp * patterns = static_cast<KMPlayer::MPlayer *> (m_player->players () [MPLAYER_BIN])->configPage ()->m_patterns;
+ QRegExp & trackRegExp = patterns [KMPlayer::MPlayerPreferencesPage::pat_cdromtracks];
+ if (trackRegExp.search (str) > -1) {
+ //if (m_document->state != KMPlayer::Element::state_deferred)
+ // m_document->defer ();
+Only in kmplayer-0.9.3-pre2/src: kmplayerapp.cpp~
+diff -U 4 -H -b -w -B -E -d -i -r kmplayer-0.9.3-pre2-orig/src/kmplayerconfig.cpp kmplayer-0.9.3-pre2/src/kmplayerconfig.cpp
+--- kmplayer-0.9.3-pre2-orig/src/kmplayerconfig.cpp 2006-08-29 13:19:55.000000000 +0200
++++ kmplayer-0.9.3-pre2/src/kmplayerconfig.cpp 2006-08-29 13:28:13.000000000 +0200
+@@ -119,9 +119,9 @@
+ // configdialog should be destroyed when the view is destroyed
+ //delete configdialog;
+ }
+
+-KDE_EXPORT const char * strMPlayerGroup = "MPlayer";
++KDE_EXPORT const char * strMPlayerGroup = MPLAYER_BIN;
+ const char * strGeneralGroup = "General Options";
+ static const char * strKeepSizeRatio = "Keep Size Ratio";
+ static const char * strRememberSize = "Remember Size";
+ static const char * strAutoResize = "Auto Resize";
+Only in kmplayer-0.9.3-pre2/src: kmplayerconfig.cpp~
+diff -U 4 -H -b -w -B -E -d -i -r kmplayer-0.9.3-pre2-orig/src/kmplayer_def.h kmplayer-0.9.3-pre2/src/kmplayer_def.h
+--- kmplayer-0.9.3-pre2-orig/src/kmplayer_def.h 2006-08-29 13:19:55.000000000 +0200
++++ kmplayer-0.9.3-pre2/src/kmplayer_def.h 2006-08-29 13:34:47.000000000 +0200
+@@ -55,6 +55,6 @@
+ #define KMPLAYER_EXPORT
+ #define KMPLAYER_NO_EXPORT
+ #endif
+
+-
++#define MPLAYER_BIN "mplayer-bin"
+ #endif //_KMPLAYER_DEF_H_
+Only in kmplayer-0.9.3-pre2/src: kmplayer_def.h~
+diff -U 4 -H -b -w -B -E -d -i -r kmplayer-0.9.3-pre2-orig/src/kmplayerpartbase.cpp kmplayer-0.9.3-pre2/src/kmplayerpartbase.cpp
+--- kmplayer-0.9.3-pre2-orig/src/kmplayerpartbase.cpp 2006-08-29 13:19:55.000000000 +0200
++++ kmplayer-0.9.3-pre2/src/kmplayerpartbase.cpp 2006-08-29 13:28:33.000000000 +0200
+@@ -121,9 +121,9 @@
+ m_auto_controls (true),
+ m_bPosSliderPressed (false),
+ m_in_update_tree (false)
+ {
+- m_players ["mplayer"] = new MPlayer (this, m_settings);
++ m_players [MPLAYER_BIN] = new MPlayer (this, m_settings);
+ Xine * xine = new Xine (this, m_settings);
+ m_players ["xine"] = xine;
+ m_players ["gstreamer"] = new GStreamer (this, m_settings);
+ m_recorders ["mencoder"] = new MEncoder (this, m_settings);
+Only in kmplayer-0.9.3-pre2/src: kmplayerpartbase.cpp~
+diff -U 4 -H -b -w -B -E -d -i -r kmplayer-0.9.3-pre2-orig/src/kmplayer_part.cpp kmplayer-0.9.3-pre2/src/kmplayer_part.cpp
+--- kmplayer-0.9.3-pre2-orig/src/kmplayer_part.cpp 2006-08-29 13:19:55.000000000 +0200
++++ kmplayer-0.9.3-pre2/src/kmplayer_part.cpp 2006-08-29 13:29:43.000000000 +0200
+@@ -317,9 +317,9 @@
+ }
+ bool group_member = !m_group.isEmpty () && m_group != QString::fromLatin1("_unique") && m_features != Feat_Unknown;
+ if (!group_member || m_features & Feat_Viewer) {
+ // not part of a group or we're the viewer
+- setProcess ("mplayer");
++ setProcess (MPLAYER_BIN);
+ setRecorder ("mencoder");
+ connectPanel (m_view->controlPanel ());
+ if (m_features & Feat_StatusBar) {
+ last_time_left = 0;
+@@ -337,9 +337,9 @@
+ i = std::find_if (++i, e, pred)) {
+ // found viewer and control part, exchange players now
+ KMPlayerPart * vp = (m_features & Feat_Viewer) ? this : *i;
+ KMPlayerPart * cp = (m_features & Feat_Viewer) ? *i : this;
+- setProcess ("mplayer");
++ setProcess (MPLAYER_BIN);
+ cp->connectToPart (vp);
+ }
+ } else
+ m_group.truncate (0);
+@@ -1074,9 +1074,9 @@
+ QTimer::singleShot (0, this, SLOT (finished ()));
+ return;
+ }
+ init ();
+- m_player->setProcess ("mplayer");
++ m_player->setProcess (MPLAYER_BIN);
+ if (m_player->process ()->grabPicture (m_url, 0))
+ connect (m_player->process (), SIGNAL (grabReady (const QString &)),
+ this, SLOT (grabReady (const QString &)));
+ else {
+Only in kmplayer-0.9.3-pre2/src: kmplayer_part.cpp~
+diff -U 4 -H -b -w -B -E -d -i -r kmplayer-0.9.3-pre2-orig/src/kmplayerprocess.cpp kmplayer-0.9.3-pre2/src/kmplayerprocess.cpp
+--- kmplayer-0.9.3-pre2-orig/src/kmplayerprocess.cpp 2006-08-29 13:19:55.000000000 +0200
++++ kmplayer-0.9.3-pre2/src/kmplayerprocess.cpp 2006-08-29 13:36:27.000000000 +0200
+@@ -346,9 +346,9 @@
+ "dvdsource", "exitsource", "hrefsource", "introsource", "pipesource", "tvscanner", "tvsource", "urlsource", "vcdsource", "audiocdsource", 0L
+ };
+
+ KDE_NO_CDTOR_EXPORT MPlayer::MPlayer (QObject * parent, Settings * settings)
+- : MPlayerBase (parent, settings, "mplayer"),
++ : MPlayerBase (parent, settings, MPLAYER_BIN),
+ m_widget (0L),
+ m_configpage (new MPlayerPreferencesPage (this)),
+ aid (-1), sid (-1),
+ m_needs_restarted (false) {
+@@ -515,10 +515,10 @@
+ if (!m_use_slave) {
+ fprintf (stderr, "%s | ", pipe);
+ *m_process << pipe << " | ";
+ }
+- fprintf (stderr, "mplayer -wid %lu ", (unsigned long) widget ());
+- *m_process << "mplayer -wid " << QString::number (widget ());
++ fprintf (stderr, "mplayer-bin -wid %lu ", (unsigned long) widget ());
++ *m_process << "mplayer-bin -wid " << QString::number (widget ());
+
+ if (m_use_slave) {
+ fprintf (stderr, "-slave ");
+ *m_process << "-slave ";
+@@ -603,9 +603,9 @@
+ QString outdir = locateLocal ("data", "kmplayer/");
+ m_grabfile = outdir + QString ("00000001.jpg");
+ unlink (m_grabfile.ascii ());
+ QString myurl (url.isLocalFile () ? getPath (url) : url.url ());
+- QString args ("mplayer ");
++ QString args ("mplayer-bin ");
+ if (m_settings->mplayerpost090)
+ args += "-vo jpeg:outdir=";
+ else
+ args += "-vo jpeg -jpeg outdir=";
+@@ -927,9 +927,9 @@
+
+ KDE_NO_EXPORT void MPlayerPreferencesPage::prefLocation (QString & item, QString & icon, QString & tab) {
+ item = i18n ("General Options");
+ icon = QString ("kmplayer");
+- tab = i18n ("MPlayer");
++ tab = i18n (MPLAYER_BIN);
+ }
+
+ KDE_NO_EXPORT QFrame * MPlayerPreferencesPage::prefPage (QWidget * parent) {
+ m_configframe = new MPlayerPreferencesFrame (parent);
+@@ -1027,9 +1027,9 @@
+ QString args;
+ m_use_slave = m_source->pipeCmd ().isEmpty ();
+ if (!m_use_slave)
+ args = m_source->pipeCmd () + QString (" | ");
+- args += QString ("mplayer ") + m_source->recordCmd ();
++ args += QString ("mplayer-bin ") + m_source->recordCmd ();
+ // FIXME if (m_player->source () == source) // ugly
+ // m_player->stop ();
+ QString myurl = url.isLocalFile () ? getPath (url) : url.url ();
+ bool post090 = m_settings->mplayerpost090;
+Only in kmplayer-0.9.3-pre2/src: kmplayerprocess.cpp~
+diff -U 4 -H -b -w -B -E -d -i -r kmplayer-0.9.3-pre2-orig/src/kmplayertvsource.cpp kmplayer-0.9.3-pre2/src/kmplayertvsource.cpp
+--- kmplayer-0.9.3-pre2-orig/src/kmplayertvsource.cpp 2006-08-29 13:19:55.000000000 +0200
++++ kmplayer-0.9.3-pre2/src/kmplayertvsource.cpp 2006-08-29 13:30:39.000000000 +0200
+@@ -697,9 +697,9 @@
+ QString args;
+ args.sprintf ("tv:// -tv driver=%s:device=%s -identify -frames 0", m_driver.ascii (), m_tvdevice->src.ascii ());
+ m_tvsource->player ()->stop ();
+ m_tvsource->player ()->process ()->initProcess (m_player->settings ()->defaultView ()->viewer ());
+- KMPlayer::Process *proc = m_tvsource->player ()->players () ["mplayer"];
++ KMPlayer::Process *proc = m_tvsource->player ()->players () [MPLAYER_BIN];
+ proc->setSource (this);
+ if (!static_cast <KMPlayer::MPlayer *> (proc)->run (args.ascii()))
+ deactivate ();
+ }
+Only in kmplayer-0.9.3-pre2/src: kmplayertvsource.cpp~
diff --git a/media-video/kmplayer/kmplayer-0.9.3_pre2.ebuild b/media-video/kmplayer/kmplayer-0.9.3_pre2.ebuild
index 665391a5a3e5..c9fe07d07315 100644
--- a/media-video/kmplayer/kmplayer-0.9.3_pre2.ebuild
+++ b/media-video/kmplayer/kmplayer-0.9.3_pre2.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-video/kmplayer/kmplayer-0.9.3_pre2.ebuild,v 1.1 2006/08/25 21:13:32 deathwing00 Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-video/kmplayer/kmplayer-0.9.3_pre2.ebuild,v 1.2 2006/08/29 11:43:53 deathwing00 Exp $
inherit kde eutils
@@ -41,6 +41,7 @@ src_unpack() {
fi
}
+
src_compile(){
local myconf="$(use_with gstreamer) $(use_with xine)"
kde_src_compile