diff options
author | Gregorio Guidi <greg_g@gentoo.org> | 2005-06-08 13:25:17 +0000 |
---|---|---|
committer | Gregorio Guidi <greg_g@gentoo.org> | 2005-06-08 13:25:17 +0000 |
commit | e2f56508e41fc6b6dbd45f3db32b6e1105bf1fe2 (patch) | |
tree | 700d8ed3f5bd7784204cd97461c8086f5adfd251 /media-sound/amarok | |
parent | version bump (diff) | |
download | gentoo-2-e2f56508e41fc6b6dbd45f3db32b6e1105bf1fe2.tar.gz gentoo-2-e2f56508e41fc6b6dbd45f3db32b6e1105bf1fe2.tar.bz2 gentoo-2-e2f56508e41fc6b6dbd45f3db32b6e1105bf1fe2.zip |
Remove old ebuilds.
(Portage version: 2.0.51.19)
Diffstat (limited to 'media-sound/amarok')
-rw-r--r-- | media-sound/amarok/amarok-1.0.2.ebuild | 43 | ||||
-rw-r--r-- | media-sound/amarok/amarok-1.1.1.ebuild | 62 | ||||
-rw-r--r-- | media-sound/amarok/files/amarok-1.0-cjk-a.diff | 22 | ||||
-rw-r--r-- | media-sound/amarok/files/amarok-1.2.2-contextbrowser-cpu-fix.patch | 137 | ||||
-rw-r--r-- | media-sound/amarok/files/digest-amarok-1.0.2 | 1 | ||||
-rw-r--r-- | media-sound/amarok/files/digest-amarok-1.1.1 | 1 |
6 files changed, 0 insertions, 266 deletions
diff --git a/media-sound/amarok/amarok-1.0.2.ebuild b/media-sound/amarok/amarok-1.0.2.ebuild deleted file mode 100644 index 35705e7fefda..000000000000 --- a/media-sound/amarok/amarok-1.0.2.ebuild +++ /dev/null @@ -1,43 +0,0 @@ -# Copyright 1999-2005 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/media-sound/amarok/amarok-1.0.2.ebuild,v 1.4 2005/01/14 23:53:32 danarmak Exp $ - -inherit kde eutils - -DESCRIPTION="amaroK is a media player for KDE" -HOMEPAGE="http://amarok.sourceforge.net/" -SRC_URI="mirror://sourceforge/amarok/${P}.tar.bz2" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="x86 ~ppc amd64" -IUSE="cjk gstreamer xmms arts opengl xine" - -DEPEND="|| ( kde-base/kdemultimedia-meta >=kde-base/kdemultimedia-3.2 ) - arts? ( >=kde-base/arts-1.2 ) - gstreamer? ( >=media-libs/gst-plugins-0.8.1 ) - opengl? ( virtual/opengl ) - xmms? ( >=media-sound/xmms-1.2 ) - xine? ( >=media-libs/xine-lib-1_rc4 ) - >=dev-util/pkgconfig-0.9.0 - >=media-libs/taglib-0.95" -need-kde 3.2 - -src_unpack() { - if ! use arts && ! use gstreamer && ! use xine - then - die "You must enable either Arts, Gstreamer, or Xine" - fi - - kde_src_unpack - #CJK mp3 tag fix - use cjk && epatch ${FILESDIR}/amarok-1.0-cjk-a.diff -} - -src_compile() { - PREFIX="`kde-config --prefix`" - myconf="`use_with arts` `use_with gstreamer` `use_with opengl` `use_with xine`" - - kde_src_compile myconf configure make || die -} - diff --git a/media-sound/amarok/amarok-1.1.1.ebuild b/media-sound/amarok/amarok-1.1.1.ebuild deleted file mode 100644 index 382eaa5932ca..000000000000 --- a/media-sound/amarok/amarok-1.1.1.ebuild +++ /dev/null @@ -1,62 +0,0 @@ -# Copyright 1999-2005 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/media-sound/amarok/amarok-1.1.1.ebuild,v 1.15 2005/01/30 21:39:05 luckyduck Exp $ - -IUSE="noamazon cjk xmms opengl xine arts gstreamer" - -inherit kde eutils - -MY_P="${P/_beta/-beta}" -S="${WORKDIR}/${MY_P}" - -DESCRIPTION="amaroK is a media player for KDE" -HOMEPAGE="http://amarok.kde.org/" -SRC_URI="mirror://sourceforge/amarok/${MY_P}.tar.bz2" - -LICENSE="GPL-2" -SLOT="0" - -KEYWORDS="~amd64 ~ppc -sparc ~x86" - -DEPEND="=media-libs/libvisual-0.1.6 - || ( kde-base/kdemultimedia-meta >=kde-base/kdemultimedia-3.2 ) - arts? ( >=kde-base/arts-1.2 ) - opengl? ( virtual/opengl ) - xmms? ( >=media-sound/xmms-1.2 ) - xine? ( >=media-libs/xine-lib-1_rc8 ) - >=media-libs/tunepimp-0.3.0 - >=dev-util/pkgconfig-0.9.0 - >=media-libs/taglib-1.3 - >=kde-base/kdelibs-3.2 - media-libs/libsdl - >=x11-libs/qt-3.3 - gstreamer? ( >=media-libs/gst-plugins-0.8.1 - >=media-plugins/gst-plugins-mad-0.8.1 )" - -need-kde 3.2 - -src_unpack() { - if use !xine && use !arts - then - die "You must enable either aRts or Xine" - fi - - kde_src_unpack - #CJK mp3 tag fix - use cjk && epatch ${FILESDIR}/amarok-1.0-cjk-a.diff -} - -src_compile() { - PREFIX="`kde-config --prefix`" - - myconf="`use_with arts` `use_with xine` `use_with gstreamer`" - myconf="${myconf} `use_with opengl` `use_enable !noamazon amazon`" - - kde_src_compile myconf configure make || die -} - -pkg_postinst() { - if use gstreamer; then - ewarn "Gstreamer support in ${P} is known to be unstable (see bug #66902)" - fi -} diff --git a/media-sound/amarok/files/amarok-1.0-cjk-a.diff b/media-sound/amarok/files/amarok-1.0-cjk-a.diff deleted file mode 100644 index f7caab3d6ad5..000000000000 --- a/media-sound/amarok/files/amarok-1.0-cjk-a.diff +++ /dev/null @@ -1,22 +0,0 @@ -diff -Nur amarok-1.0/amarok/src/metabundle.cpp /tmp/amarok-1.0/amarok/src/metabundle.cpp ---- amarok-1.0/amarok/src/metabundle.cpp 2004-06-16 20:53:56.000000000 +0200 -+++ /tmp/amarok-1.0/amarok/src/metabundle.cpp 2004-06-18 23:12:02.959888096 +0200 -@@ -90,12 +90,12 @@ - //Taglib::Tag ctor //TODO DEPRECATE - MetaBundle::MetaBundle( const KURL &url, TagLib::Tag *tag, TagLib::AudioProperties *ap ) - : m_url( url ) -- , m_title( TStringToQString( tag->title() ).stripWhiteSpace() ) -- , m_artist( TStringToQString( tag->artist() ).stripWhiteSpace() ) -- , m_album( TStringToQString( tag->album() ).stripWhiteSpace() ) -- , m_year( tag->year() ? QString::number( tag->year() ) : QString::null ) -- , m_comment( TStringToQString( tag->comment() ).stripWhiteSpace() ) -- , m_genre( TStringToQString( tag->genre() ).stripWhiteSpace() ) -+ , m_title( QString::fromLocal8Bit(TStringToQString( tag->title() ).latin1()).stripWhiteSpace() ) -+ , m_artist( QString::fromLocal8Bit(TStringToQString( tag->artist() ).latin1()).stripWhiteSpace() ) -+ , m_album( QString::fromLocal8Bit(TStringToQString( tag->album() ).latin1()).stripWhiteSpace() ) -+ , m_year( tag->year() ? QString::number( tag->year() ) : QString::null ) -+ , m_comment( QString::fromLocal8Bit(TStringToQString( tag->comment() ).latin1()).stripWhiteSpace() ) -+ , m_genre( QString::fromLocal8Bit(TStringToQString( tag->genre() ).latin1()).stripWhiteSpace() ) - , m_track( tag->track() ? QString::number( tag->track() ) : QString::null ) - { - init( ap ); diff --git a/media-sound/amarok/files/amarok-1.2.2-contextbrowser-cpu-fix.patch b/media-sound/amarok/files/amarok-1.2.2-contextbrowser-cpu-fix.patch deleted file mode 100644 index fd7560924da8..000000000000 --- a/media-sound/amarok/files/amarok-1.2.2-contextbrowser-cpu-fix.patch +++ /dev/null @@ -1,137 +0,0 @@ -Index: amarok/src/contextbrowser.cpp -=================================================================== -RCS file: /home/kde/kdeextragear-1/amarok/src/contextbrowser.cpp,v -retrieving revision 1.416 -diff -u -p -r1.416 contextbrowser.cpp ---- amarok/src/contextbrowser.cpp 15 Mar 2005 13:14:21 -0000 1.416 -+++ amarok/src/contextbrowser.cpp 15 Mar 2005 21:31:39 -0000 -@@ -36,12 +36,12 @@ - #include <kio/job.h> - #include <kio/jobclasses.h> - #include <klocale.h> --#include <kmdcodec.h> // for dataUrlFromImage() - #include <kmessagebox.h> - #include <kpopupmenu.h> - #include <krun.h> - #include <kstandarddirs.h> //locate file - #include <ktabbar.h> -+#include <ktempfile.h> - #include <kurl.h> - - #define escapeHTML(s) QString(s).replace( "&", "&" ).replace( "<", "<" ).replace( ">", ">" ) -@@ -79,6 +79,9 @@ - , m_dirtyCurrentTrackPage( true ) - , m_dirtyLyricsPage( true ) - , m_emptyDB( CollectionDB::instance()->isEmpty() ) -+ , m_bgGradientImage( 0 ) -+ , m_headerGradientImage( 0 ) -+ , m_shadowGradientImage( 0 ) - , m_suggestionsOpen( true ) - , m_favouritesOpen( true ) - { -@@ -141,6 +144,9 @@ - - ContextBrowser::~ContextBrowser() - { -+ delete m_bgGradientImage; -+ delete m_headerGradientImage; -+ delete m_shadowGradientImage; - } - - -@@ -1384,14 +1390,6 @@ - m_lyricsPage->setUserStyleSheet( m_styleSheet ); - } - --static QString dataUrlFromImage( const QImage &img ) --{ -- QByteArray ba; -- QBuffer buffer( ba ); -- buffer.open( IO_WriteOnly ); -- img.save( &buffer, "PNG" ); // writes image into ba in PNG format -- return QString("data:image/png;base64,%1").arg( KCodecs::base64Encode( ba ) ); --} - - void ContextBrowser::setStyleSheet_Default( QString& styleSheet ) - { -@@ -1405,14 +1403,29 @@ - const QColor bgColor = colorGroup().highlight(); - const amaroK::Color gradientColor = bgColor; - -+ delete m_bgGradientImage; -+ delete m_headerGradientImage; -+ delete m_shadowGradientImage; -+ -+ m_bgGradientImage = new KTempFile( locateLocal( "tmp", "gradient" ), ".png", 0600 ); - QImage image = KImageEffect::gradient( QSize( 600, 1 ), gradientColor, gradientColor.light( 130 ), KImageEffect::PipeCrossGradient ); -- QString bgGradientImage = dataUrlFromImage( image ); -+ image.save( m_bgGradientImage->file(), "PNG" ); -+ m_bgGradientImage->close(); - -+ m_headerGradientImage = new KTempFile( locateLocal( "tmp", "gradient_header" ), ".png", 0600 ); - QImage imageH = KImageEffect::unbalancedGradient( QSize( 1, 10 ), bgColor, gradientColor.light( 130 ), KImageEffect::VerticalGradient, 100, -100 ); -- QString headerGradientImage = dataUrlFromImage( imageH ); -+ imageH.copy( 0, 1, 1, 9 ).save( m_headerGradientImage->file(), "PNG" ); -+ m_headerGradientImage->close(); - -+ m_shadowGradientImage = new KTempFile( locateLocal( "tmp", "gradient_shadow" ), ".png", 0600 ); - QImage imageS = KImageEffect::unbalancedGradient( QSize( 1, 10 ), baseColor, Qt::gray, KImageEffect::VerticalGradient, 100, -100 ); -- QString shadowGradientImage = dataUrlFromImage( imageS ); -+ imageS.save( m_shadowGradientImage->file(), "PNG" ); -+ m_shadowGradientImage->close(); -+ -+ //unlink the files for us on deletion -+ m_bgGradientImage->setAutoDelete( true ); -+ m_headerGradientImage->setAutoDelete( true ); -+ m_shadowGradientImage->setAutoDelete( true ); - - //we have to set the color for body due to a KHTML bug - //KHTML sets the base color but not the text color -@@ -1420,7 +1433,7 @@ - .arg( pxSize ) - .arg( text ) - .arg( AmarokConfig::schemeAmarok() ? fg : gradientColor.name() ) -- .arg( bgGradientImage ) -+ .arg( m_bgGradientImage->name() ) - .arg( fontFamily ); - - //text attributes -@@ -1442,11 +1455,11 @@ - .arg( fg ) - .arg( bg ) - .arg( pxSize + 2 ) -- .arg( headerGradientImage ); -+ .arg( m_headerGradientImage->name() ); - - styleSheet += QString( ".box-body { padding: 2px; background-color: %1; background-image: url( %2 ); background-repeat: repeat-x; font-size:%3px; }" ) - .arg( colorGroup().base().name() ) -- .arg( shadowGradientImage ) -+ .arg( m_shadowGradientImage->name() ) - .arg( pxSize ); - - //"Albums by ..." related styles -Index: amarok/src/contextbrowser.h -=================================================================== -RCS file: /home/kde/kdeextragear-1/amarok/src/contextbrowser.h,v -retrieving revision 1.67 -diff -u -p -r1.67 contextbrowser.h ---- amarok/src/contextbrowser.h 14 Mar 2005 19:24:54 -0000 1.67 -+++ amarok/src/contextbrowser.h 15 Mar 2005 21:31:39 -0000@@ -15,6 +15,7 @@ -@@ -15,6 +15,7 @@ - - class KHTMLPart; - class KTabBar; -+class KTempFile; - - namespace KIO { class Job; } - -@@ -82,6 +83,9 @@ - QString m_lyricAddUrl; - QString m_lyricSearchUrl; - QString m_HTMLSource; -+ KTempFile *m_bgGradientImage; -+ KTempFile *m_headerGradientImage; -+ KTempFile *m_shadowGradientImage; - QStringList m_metadataHistory; - KURL m_currentURL; - diff --git a/media-sound/amarok/files/digest-amarok-1.0.2 b/media-sound/amarok/files/digest-amarok-1.0.2 deleted file mode 100644 index 4d8bdd42378e..000000000000 --- a/media-sound/amarok/files/digest-amarok-1.0.2 +++ /dev/null @@ -1 +0,0 @@ -MD5 63f4ede35c93c769061bd18d5f3e979c amarok-1.0.2.tar.bz2 2041506 diff --git a/media-sound/amarok/files/digest-amarok-1.1.1 b/media-sound/amarok/files/digest-amarok-1.1.1 deleted file mode 100644 index 55b1e57293d7..000000000000 --- a/media-sound/amarok/files/digest-amarok-1.1.1 +++ /dev/null @@ -1 +0,0 @@ -MD5 6c0cccd4c8b508a2e0c9b0f187a907cf amarok-1.1.1.tar.bz2 2888815 |