diff options
-rw-r--r-- | audio/last.fm/README | 4 | ||||
-rw-r--r-- | audio/last.fm/doinst.sh | 10 | ||||
-rw-r--r-- | audio/last.fm/last.fm.1 | 76 | ||||
-rw-r--r-- | audio/last.fm/last.fm.SlackBuild | 88 | ||||
-rw-r--r-- | audio/last.fm/last.fm.desktop | 9 | ||||
-rw-r--r-- | audio/last.fm/last.fm.info | 10 | ||||
-rw-r--r-- | audio/last.fm/last.fm.script | 3 | ||||
-rw-r--r-- | audio/last.fm/patches/no-fingerprint-lib.diff | 289 | ||||
-rw-r--r-- | audio/last.fm/patches/reduce-linkage.diff | 251 | ||||
-rw-r--r-- | audio/last.fm/patches/volumeslider_h-qt45.patch | 19 | ||||
-rw-r--r-- | audio/last.fm/slack-desc | 19 |
11 files changed, 0 insertions, 778 deletions
diff --git a/audio/last.fm/README b/audio/last.fm/README deleted file mode 100644 index 2c9e892c71..0000000000 --- a/audio/last.fm/README +++ /dev/null @@ -1,4 +0,0 @@ -With Last.fm on your computer you can scrobble your tracks, -share your music tastes, listen to personalised radio streams, -and discover new music and people. -Last.fm is open source software and contains no spyware or adware. diff --git a/audio/last.fm/doinst.sh b/audio/last.fm/doinst.sh deleted file mode 100644 index 1f8ff67ded..0000000000 --- a/audio/last.fm/doinst.sh +++ /dev/null @@ -1,10 +0,0 @@ -if [ -x /usr/bin/update-desktop-database ]; then - /usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1 -fi - -if [ -e usr/share/icons/hicolor/icon-theme.cache ]; then - if [ -x /usr/bin/gtk-update-icon-cache ]; then - /usr/bin/gtk-update-icon-cache usr/share/icons/hicolor >/dev/null 2>&1 - fi -fi - diff --git a/audio/last.fm/last.fm.1 b/audio/last.fm/last.fm.1 deleted file mode 100644 index a7c62a0ff9..0000000000 --- a/audio/last.fm/last.fm.1 +++ /dev/null @@ -1,76 +0,0 @@ -.\" Hey, EMACS: -*- nroff -*- -.\" First parameter, NAME, should be all caps -.\" Second parameter, SECTION, should be 1-8, maybe w/ subsection -.\" other parameters are allowed: see man(7), man(1) -.TH LASTFM 1 "2007-12-06" -.\" Please adjust this date whenever revising the manpage. -.\" -.\" Some roff macros, for reference: -.\" .nh disable hyphenation -.\" .hy enable hyphenation -.\" .ad l left justify -.\" .ad b justify to both left and right margins -.\" .nf disable filling -.\" .fi enable filling -.\" .br insert line break -.\" .sp <n> insert n+1 empty lines -.\" for manpage-specific macros, see man(7) -.SH NAME -lastfm - Audio player for last.fm streams -.SH SYNOPSIS -.B /usr/bin/last.fm [options] [URL] -.SH DESCRIPTION -This manual page documents briefly the -.B lastfm -command. -.PP -.\" TeX users may be more comfortable with the \fB<whatever>\fP and -.\" \fI<whatever>\fP escape sequences to invode bold face and italics, -.\" respectively. -.B LASTFM -is the flagship product from the team that designed the Audioscrobbler -system, a music engine based on a massive collection of Music Profiles. -Each music profile belongs to one person, and describes their taste in music. -Last.fm uses these music profiles to make personalized recommendations, match -you up with people who like similar music, and generate custom radio -stations for each person. - -This program will allow you to play your personalized radio station streams -from the last.fm website. - -.SH OPTIONS -.SS Arguments: -.TP -URL -A station url beginning with -.I lastfm:// -.SS Options: -.TP -.B \-\-sanity -Show the number of listeners instead of the number of plays scrobbled. -.TP -.B \-tray -Start the program minimized as a tray icon. -.SH FILES -.TP -.I ~/.config/Last.fm/Last.fm.conf -Application config file. -.TP -.I ~/.local/share/Last.fm/cache/* -Cache files for album artwork and artist descriptions. -.TP -.I ~/.local/share/Last.fm/IpodDevice.db -SQLite database of songs played on the iPod. -.TP -.I ~/.local/share/Last.fm/Last.fm.log -Application log file. -.TP -.I ~/.local/share/Last.fm/*_mediadevice.xml -Submission cache of songs played on the iPod. -.TP -.I ~/.local/share/Last.fm/*_submissions.xml -Submission cache of songs played with the client. -.SH AUTHOR -This manual page was written by Paul Telford <pxt@debian.org>, -for the Debian project (but may be used by others). It has been updated by -John Stamp <jstamp@users.sourceforge.net>. diff --git a/audio/last.fm/last.fm.SlackBuild b/audio/last.fm/last.fm.SlackBuild deleted file mode 100644 index 994a33a120..0000000000 --- a/audio/last.fm/last.fm.SlackBuild +++ /dev/null @@ -1,88 +0,0 @@ -#!/bin/sh - -# Slackware build script for last.fm -# Written by <youngmug@animeneko.net> -# Updated by Larry Hajali <larryhaja[at]gmail[dot]com> -# Modified by the SlackBuilds.org project - -PRGNAM=last.fm -VERSION=1.5.1.31879 -BUILD=${BUILD:-1} -TAG=${TAG:-_SBo} - -# Automatically determine the architecture we're building on: -if [ -z "$ARCH" ]; then - case "$( uname -m )" in - i?86) ARCH=i486 ;; - arm*) ARCH=arm ;; - # Unless $ARCH is already set, use uname -m for all other archs: - *) ARCH=$( uname -m ) ;; - esac -fi - -CWD=$(pwd) -TMP=${TMP:-/tmp/SBo} -PKG=$TMP/package-$PRGNAM -OUTPUT=${OUTPUT:-/tmp} - -if [ "$ARCH" = "i486" ]; then - SLKCFLAGS="-O2 -march=i486 -mtune=i686" - LIBDIRSUFFIX="" -elif [ "$ARCH" = "i686" ]; then - SLKCFLAGS="-O2 -march=i686 -mtune=i686" - LIBDIRSUFFIX="" -elif [ "$ARCH" = "x86_64" ]; then - SLKCFLAGS="-O2 -fPIC" - LIBDIRSUFFIX="64" -else - SLKCFLAGS="-O2" - LIBDIRSUFFIX="" -fi - -set -e # Exit on most errors - -rm -rf $PKG -mkdir -p $TMP $PKG $OUTPUT -cd $TMP -rm -rf $PRGNAM-$VERSION -tar xvf $CWD/$PRGNAM-$VERSION.tar.?z* -cd $PRGNAM-$VERSION -chown -R root:root . -chmod -R u+w,go+r-w,a-s . - -# Patches needed for compiling. -patch -p1 < $CWD/patches/no-fingerprint-lib.diff -patch -p1 < $CWD/patches/reduce-linkage.diff -patch -p1 < $CWD/patches/volumeslider_h-qt45.patch - -lrelease i18n/*.ts - -qmake -config release INCLUDEPATH="/usr/lib${LIBDIRSUFFIX}/glib-2.0/include " - -make - -#Last.fm doesn't have a nice installer, so we need to package it manually. -mkdir -p $PKG/usr/lib${LIBDIRSUFFIX}/$PRGNAM/i18n $PKG/usr/bin $PKG/usr/man/man1 \ - $PKG/usr/share/applications $PKG/usr/share/pixmaps -cp -R bin/* $PKG/usr/lib${LIBDIRSUFFIX}/$PRGNAM -sed -e "s/@LIBDIR@/lib${LIBDIRSUFFIX}/" $CWD/$PRGNAM.script > $PKG/usr/bin/$PRGNAM -chmod +x $PKG/usr/bin/$PRGNAM -install -m 644 i18n/*.qm $PKG/usr/lib${LIBDIRSUFFIX}/$PRGNAM/i18n -gzip -9c $CWD/$PRGNAM.1 > $PKG/usr/man/man1/$PRGNAM.1.gz - -cat $CWD/$PRGNAM.desktop > $PKG/usr/share/applications/$PRGNAM.desktop -( cd $PKG/usr/share/pixmaps ; ln -s ../../lib${LIBDIRSUFFIX}/last.fm/data/app_55.png lastfm.png ) - -find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \ - | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true - -mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cp -a COPYING README ChangeLog $PKG/usr/doc/$PRGNAM-$VERSION -cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild - -mkdir -p $PKG/install -cat $CWD/slack-desc > $PKG/install/slack-desc -cat $CWD/doinst.sh > $PKG/install/doinst.sh - -cd $PKG -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz} diff --git a/audio/last.fm/last.fm.desktop b/audio/last.fm/last.fm.desktop deleted file mode 100644 index 56a9f456dd..0000000000 --- a/audio/last.fm/last.fm.desktop +++ /dev/null @@ -1,9 +0,0 @@ -[Desktop Entry] -Name=last.fm -GenericName=last.fm Player -Comment=Listen to last.fm streams -Exec=last.fm -Icon=lastfm -Categories=Qt;AudioVideo;Player; -Terminal=false -Type=Application diff --git a/audio/last.fm/last.fm.info b/audio/last.fm/last.fm.info deleted file mode 100644 index fb1fce767a..0000000000 --- a/audio/last.fm/last.fm.info +++ /dev/null @@ -1,10 +0,0 @@ -PRGNAM="last.fm" -VERSION="1.5.1.31879" -HOMEPAGE="http://last.fm/" -DOWNLOAD="http://static.last.fm/client/src/last.fm-1.5.1.31879.tar.bz2" -MD5SUM="21358960da6a68337c8afad79d268b5b" -DOWNLOAD_x86_64="" -MD5SUM_x86_64="" -REQUIRES="" -MAINTAINER="Michael Johnson" -EMAIL="youngmug@animeneko.net" diff --git a/audio/last.fm/last.fm.script b/audio/last.fm/last.fm.script deleted file mode 100644 index ffe2b44829..0000000000 --- a/audio/last.fm/last.fm.script +++ /dev/null @@ -1,3 +0,0 @@ -#!/bin/sh -cd /usr/@LIBDIR@/last.fm -sh last.fm.sh "$@" diff --git a/audio/last.fm/patches/no-fingerprint-lib.diff b/audio/last.fm/patches/no-fingerprint-lib.diff deleted file mode 100644 index 9b0d710ab6..0000000000 --- a/audio/last.fm/patches/no-fingerprint-lib.diff +++ /dev/null @@ -1,289 +0,0 @@ -diff -Naur last.fm-1.5.1.31879.orig/LastFM.pro last.fm-1.5.1.31879/LastFM.pro ---- last.fm-1.5.1.31879.orig/LastFM.pro 2008-06-18 11:46:57.000000000 +0000 -+++ last.fm-1.5.1.31879/LastFM.pro 2009-03-27 19:50:51.000000000 +0000 -@@ -39,6 +39,8 @@ - - linux* { - SUBDIRS -= src/Twiddly \ -+ src/libFingerprint/fplib/pro_qmake/fplib.pro \ -+ src/libFingerprint/ \ - src/Bootstrapper/ITunesDevice - - SUBDIRS += src/output/alsa-playback \ -diff -Naur last.fm-1.5.1.31879.orig/src/DiagnosticsDialog.cpp last.fm-1.5.1.31879/src/DiagnosticsDialog.cpp ---- last.fm-1.5.1.31879.orig/src/DiagnosticsDialog.cpp 2008-06-18 11:46:55.000000000 +0000 -+++ last.fm-1.5.1.31879/src/DiagnosticsDialog.cpp 2009-03-27 19:50:51.000000000 +0000 -@@ -27,7 +27,10 @@ - #include "container.h" - #include "lastfmapplication.h" - #include "libMoose/LastFmSettings.h" -+ -+#ifndef LINUX - #include "libFingerprint/FingerprintCollector.h" -+#endif - - #include <QProcess> - #include <QClipboard> -@@ -106,6 +109,7 @@ - connect( ui.scrobbleIpodButton, SIGNAL( clicked() ), SLOT( onScrobbleIpodClicked() ) ); - - // Fingerprint collector -+#ifndef LINUX - ui.fpQueueSizeLabel->setText( "0" ); - connect( The::app().m_fpCollector, SIGNAL( trackFingerprintingStarted( TrackInfo ) ), - this, SLOT( onTrackFingerprintingStarted( TrackInfo ) ), -@@ -116,6 +120,9 @@ - connect( The::app().m_fpCollector, SIGNAL( cantFingerprintTrack( TrackInfo, QString ) ), - this, SLOT( onCantFingerprintTrack( TrackInfo, QString ) ), - Qt::QueuedConnection ); -+#else -+ ui.tabWidget->removeTab( 2 ); -+#endif - - m_logTimer = new QTimer( this ); - connect( m_logTimer, SIGNAL( timeout() ), -@@ -336,6 +343,7 @@ - } - - -+#ifndef LINUX - void - DiagnosticsDialog::onTrackFingerprintingStarted( TrackInfo track ) - { -@@ -360,7 +368,7 @@ - ui.fpCurrentTrackLabel->setText( "" ); - ui.fpQueueSizeLabel->setText( QString::number( The::app().m_fpCollector->queueSize() ) ); - } -- -+#endif - - void - DiagnosticsDialog::onLogPoll() -diff -Naur last.fm-1.5.1.31879.orig/src/DiagnosticsDialog.h last.fm-1.5.1.31879/src/DiagnosticsDialog.h ---- last.fm-1.5.1.31879.orig/src/DiagnosticsDialog.h 2008-06-18 11:46:55.000000000 +0000 -+++ last.fm-1.5.1.31879/src/DiagnosticsDialog.h 2009-03-27 19:50:51.000000000 +0000 -@@ -63,9 +63,11 @@ - void onRefresh(); - void onCopyToClipboard(); - -+ #ifndef LINUX - void onTrackFingerprintingStarted( TrackInfo ); - void onTrackFingerprinted( TrackInfo ); - void onCantFingerprintTrack( TrackInfo track, QString reason ); -+ #endif - - void onScrobbleIpodClicked(); - void onLogPoll(); -diff -Naur last.fm-1.5.1.31879.orig/src/Radio.cpp last.fm-1.5.1.31879/src/Radio.cpp ---- last.fm-1.5.1.31879.orig/src/Radio.cpp 2008-06-18 11:46:55.000000000 +0000 -+++ last.fm-1.5.1.31879/src/Radio.cpp 2009-03-27 19:50:51.000000000 +0000 -@@ -129,7 +129,9 @@ - m_session = handshake->session(); - m_basePath = handshake->basePath(); - -+ #ifndef LINUX - The::settings().setFingerprintUploadUrl( handshake->fingerprintUploadUrl() ); -+ #endif - - setState( State_Handshaken ); - -diff -Naur last.fm-1.5.1.31879.orig/src/configwizard.cpp last.fm-1.5.1.31879/src/configwizard.cpp ---- last.fm-1.5.1.31879.orig/src/configwizard.cpp 2008-06-18 11:46:55.000000000 +0000 -+++ last.fm-1.5.1.31879/src/configwizard.cpp 2009-03-27 19:51:39.000000000 +0000 -@@ -750,7 +750,7 @@ - - nextButtonClicked(); - #else -- m_pageOffset += 7; -+ m_pageOffset += 8; - BaseWizard::nextButtonClicked(); - #endif - -diff -Naur last.fm-1.5.1.31879.orig/src/lastfmapplication.cpp last.fm-1.5.1.31879/src/lastfmapplication.cpp ---- last.fm-1.5.1.31879.orig/src/lastfmapplication.cpp 2008-06-18 11:46:55.000000000 +0000 -+++ last.fm-1.5.1.31879/src/lastfmapplication.cpp 2009-03-27 19:50:51.000000000 +0000 -@@ -26,8 +26,10 @@ - #include "confirmdialog.h" - #include "container.h" - #include "LastMessageBox.h" -+#ifndef LINUX - #include "libFingerprint/FingerprintCollector.h" - #include "libFingerprint/FingerprintQueryer.h" -+#endif - #include "logger.h" - #include "loginwidget.h" - #include "MediaDeviceScrobbler.h" -@@ -167,10 +169,12 @@ - new ITunesScript( this, m_listener ); - #endif - -+ #ifndef LINUX - m_fpCollector = new FingerprintCollector( 1 /*number of threads*/, this ); - m_fpQueryer = new FingerprintQueryer( this ); - connect( m_fpQueryer, SIGNAL( trackFingerprinted( TrackInfo, bool ) ), - SLOT( onFingerprintQueryDone( TrackInfo, bool ) ) ); -+ #endif - - m_radio = new Radio( this ); - connect( m_radio, SIGNAL( stateChanged( RadioState ) ), SLOT( onRadioStateChanged( RadioState ) ) ); -@@ -365,8 +369,10 @@ - sendPostedEvents( m_scrobbler, 0 /*all event types*/ ); - //TODO send events to individual scrobblers in the manager too? - -+ #ifndef LINUX - delete m_fpQueryer; - delete m_fpCollector; -+ #endif - - #ifdef Q_WS_MAC - if ( !m_pidFile.remove() ) -@@ -534,6 +540,7 @@ - QString password = m_user->settings().password(); - QString version = The::settings().version(); - -+ #ifndef LINUX - // as you can see we are initialising the fingerprinter, I like this comment - m_fpCollector->setUsername( username ); - m_fpCollector->setPasswordMd5( password ); -@@ -542,6 +549,7 @@ - m_fpQueryer->setPasswordMd5( password ); - m_fpQueryer->setPasswordMd5Lower( password ); // FIXME: surely they can't be the same! - m_fpQueryer->setVersion( The::settings().version() ); -+ #endif - - // init radio YTIO - m_radio->init( username, password, version ); -@@ -849,12 +857,14 @@ - if ( m_container->isVisible() ) - fetchMetaData(); - -+ #ifndef LINUX - if ( QFile::exists( m_currentTrack.path() ) && - The::settings().currentUser().fingerprintingEnabled() ) - { - m_activeNorman = 0; - m_fpQueryer->fingerprint( m_currentTrack ); - } -+ #endif - } - } - break; -@@ -1167,6 +1177,7 @@ - } - - -+#ifndef LINUX - void - LastFmApplication::onFingerprintQueryDone( TrackInfo track, bool fullFpRequested ) - { -@@ -1199,6 +1210,7 @@ - } - } - } -+#endif - - - void -diff -Naur last.fm-1.5.1.31879.orig/src/lastfmapplication.h last.fm-1.5.1.31879/src/lastfmapplication.h ---- last.fm-1.5.1.31879.orig/src/lastfmapplication.h 2008-06-18 11:46:55.000000000 +0000 -+++ last.fm-1.5.1.31879/src/lastfmapplication.h 2009-03-27 19:50:51.000000000 +0000 -@@ -181,7 +181,9 @@ - void onAppEvent( int event, const QVariant& ); - void onRequestReturned( class Request* request ); - void onScrobblerStatusUpdate( int, const QVariant& ); -+#ifndef LINUX - void onFingerprintQueryDone( TrackInfo, bool fullFpRequested ); -+#endif - void onNormanRequestDone( Request* r ); - void onPlaybackEndedTimerTimeout(); - -@@ -208,8 +210,10 @@ - class QTcpServer* m_control; - class ScrobblerManager* m_scrobbler; - class Radio* m_radio; -+#ifndef LINUX - class FingerprintCollector* m_fpCollector; - class FingerprintQueryer* m_fpQueryer; -+#endif - class FrikkinNormanRequest* m_activeNorman; - - QPointer<class ArtistMetaDataRequest> m_activeArtistReq; -diff -Naur last.fm-1.5.1.31879.orig/src/settingsdialog.cpp last.fm-1.5.1.31879/src/settingsdialog.cpp ---- last.fm-1.5.1.31879.orig/src/settingsdialog.cpp 2008-06-18 11:46:55.000000000 +0000 -+++ last.fm-1.5.1.31879/src/settingsdialog.cpp 2009-03-27 19:57:29.000000000 +0000 -@@ -92,6 +92,8 @@ - ui_mediadevices.setupUi( mediadeviceWidget ); - ui_mediadevices.deviceWidget->header()->setResizeMode( QHeaderView::ResizeToContents ); - ui.pageStack->addWidget( mediadeviceWidget ); -+#else -+ ui_scrobbling.groupBox->hide(); - #endif - - // Add icons to user icon dropdown -@@ -210,7 +212,11 @@ - connect( ui_scrobbling.dirTree, SIGNAL( dataChanged() ), this, SLOT( configChanged() ) ); - connect( ui_scrobbling.scrobblePointSlider, SIGNAL( valueChanged( int ) ), this, SLOT( configChanged() ) ); - connect( ui_scrobbling.launchWithMediaPlayerCheck, SIGNAL( toggled( bool ) ), this, SLOT( configChanged() ) ); -+#ifndef LINUX - connect( ui_scrobbling.fingerprintCheckBox, SIGNAL( stateChanged( int ) ), this, SLOT( configChanged() ) ); -+#else -+ ui_scrobbling.fingerprintCheckBox->hide(); -+#endif - connect( ui_connection.proxyBox, SIGNAL( toggled( bool ) ), this, SLOT( configChanged() ) ); - connect( ui_connection.proxyHostEdit, SIGNAL( textChanged( QString ) ), this, SLOT( configChanged() ) ); - connect( ui_connection.proxyPortEdit, SIGNAL( textChanged( QString ) ), this, SLOT( configChanged() ) ); -@@ -379,7 +385,9 @@ - ui_scrobbling.scrobblePointSlider->setValue( user.scrobblePoint() ); - ui_scrobbling.scrobblePointLabel->setText( QString::number( user.scrobblePoint() ) ); - ui_scrobbling.launchWithMediaPlayerCheck->setChecked( The::settings().launchWithMediaPlayer() ); -+#ifndef LINUX - ui_scrobbling.fingerprintCheckBox->setChecked( user.fingerprintingEnabled() ); -+#endif - ui_scrobbling.dirTree->setExclusions( user.excludedDirs() ); - } - -@@ -567,7 +575,9 @@ - user.setScrobblePoint( ui_scrobbling.scrobblePointSlider->value() ); - user.setExcludedDirs( ui_scrobbling.dirTree->getExclusions() ); - The::settings().setLaunchWithMediaPlayer( ui_scrobbling.launchWithMediaPlayerCheck->isChecked() ); -+#ifndef LINUX - user.setFingerprintingEnabled( ui_scrobbling.fingerprintCheckBox->checkState() == Qt::Checked ? true : false ); -+#endif - - pageSaved( 2 ); - } -diff -Naur last.fm-1.5.1.31879.orig/src/settingsdialog_scrobbling.ui last.fm-1.5.1.31879/src/settingsdialog_scrobbling.ui ---- last.fm-1.5.1.31879.orig/src/settingsdialog_scrobbling.ui 2008-06-18 11:46:56.000000000 +0000 -+++ last.fm-1.5.1.31879/src/settingsdialog_scrobbling.ui 2009-03-27 19:57:29.000000000 +0000 -@@ -175,6 +175,19 @@ - </layout> - </widget> - </item> -+ <item> -+ <spacer> -+ <property name="orientation" > -+ <enum>Qt::Vertical</enum> -+ </property> -+ <property name="sizeHint" > -+ <size> -+ <width>20</width> -+ <height>0</height> -+ </size> -+ </property> -+ </spacer> -+ </item> - </layout> - </widget> - <customwidgets> -diff -Naur last.fm-1.5.1.31879.orig/src/src.pro last.fm-1.5.1.31879/src/src.pro ---- last.fm-1.5.1.31879.orig/src/src.pro 2008-06-18 11:46:55.000000000 +0000 -+++ last.fm-1.5.1.31879/src/src.pro 2009-03-27 19:50:51.000000000 +0000 -@@ -217,6 +217,8 @@ - - SOURCES -= Bootstrapper/iTunesBootstrapper.cpp \ - Bootstrapper/PluginBootstrapper.cpp -+ -+ LIBS -= -lLastFmFingerprint$$EXT - } - - diff --git a/audio/last.fm/patches/reduce-linkage.diff b/audio/last.fm/patches/reduce-linkage.diff deleted file mode 100644 index 91f362a48e..0000000000 --- a/audio/last.fm/patches/reduce-linkage.diff +++ /dev/null @@ -1,251 +0,0 @@ ---- a/definitions.pro.inc -+++ b/definitions.pro.inc -@@ -41,8 +41,6 @@ - UNICORNPATH = $$ROOT_DIR/src/libUnicorn - include( src/libUnicorn/unicorn.pro.inc ) - --LIBS += -lMoose$$EXT -- - # TODO: not sure if this is right now, should probably be determined on a per-plugin basis - plugin:LIBS += -lLastFmTools$$EXT - contains( TEMPLATE, app ):LIBS += -lLastFmTools$$EXT ---- a/src/libFingerprint/libFingerprint.pro -+++ b/src/libFingerprint/libFingerprint.pro -@@ -2,7 +2,7 @@ - VERSION = 1.0.0 - CONFIG += dll - TARGET = LastFmFingerprint --QT += xml network sql -+QT -= gui - - include( ../../definitions.pro.inc ) - ---- a/src/libUnicorn/CachedHttp.h -+++ b/src/libUnicorn/CachedHttp.h -@@ -26,7 +26,7 @@ - #include "UnicornDllExportMacro.h" - - #include <QDebug> --#include <QHttp> -+#include <QtNetwork/QHttp> - #include <QHash> - #include <QStack> - #include <QString> ---- a/src/libUnicorn/RedirectHttp.h -+++ b/src/libUnicorn/RedirectHttp.h -@@ -26,7 +26,7 @@ - #include "UnicornDllExportMacro.h" - - #include <QDebug> --#include <QHttp> -+#include <QtNetwork/QHttp> - #include <QString> - #include <QHash> - ---- a/src/libFingerprint/FingerprintCollector.cpp -+++ b/src/libFingerprint/FingerprintCollector.cpp -@@ -25,8 +25,6 @@ - #include "logger.h" - #include "FingerprintExtractor.h" - --#include <QApplication> -- - - FingerprintCollector::FingerprintCollector( int numberOfThreads, QObject* parent ) - : QObject( parent ) ---- a/src/libUnicorn/WebService/Request.h -+++ b/src/libUnicorn/WebService/Request.h -@@ -31,7 +31,7 @@ - #include "WeightedStringList.h" - - #include <QTimer> --#include <QHttpHeader> -+#include <QtNetwork/QHttpHeader> - - //TODO mxcl check error handling, since that was the point of all this - //TODO escape query paramaeters in paths in get function ---- a/src/libUnicorn/Collection.h -+++ b/src/libUnicorn/Collection.h -@@ -31,7 +31,7 @@ - - #include <QObject> - #include <QMutex> --#include <QSqlDatabase> -+#include <QtSql/QSqlDatabase> - - - /** @author: <chris@last.fm> */ ---- a/src/libFingerprint/FingerprintQueryer.cpp -+++ b/src/libFingerprint/FingerprintQueryer.cpp -@@ -26,8 +26,6 @@ - #include "logger.h" - #include "FingerprintExtractor.h" - --#include <QApplication> -- - - FingerprintQueryer::FingerprintQueryer( QObject* parent ) : - QObject( parent ), ---- a/src/src.pro -+++ b/src/src.pro -@@ -1,12 +1,14 @@ - TEMPLATE = app - TARGET = Last.fm --QT += gui network xml sql -+QT += gui network xml - - INCLUDEPATH += lib libFingerprint/recommendation-commons - - PRECOMPILED_HEADER = precompiled.h - CONFIG += precompile_header - -+LIBS += -lMoose$$EXT -+ - unix { - # precompiled headers breaks icecream builds for some reason :( - system( test `ps aux | grep iceccd | wc -l` -gt 1 ): CONFIG -= precompile_header -@@ -27,12 +29,9 @@ - - include( ../definitions.pro.inc ) - --# TODO remove --INCLUDEPATH += $$ROOT_DIR/res/mad --INCLUDEPATH += $$ROOT_DIR/src/libFingerprint/libs/fftw -- - breakpad { - LIBS += -lbreakpad$$EXT -+ LIBS += -lmad -lfftw3f - } - - LIBS += -L$$BIN_DIR -lLastFmFingerprint$$EXT -@@ -210,8 +209,6 @@ - SOURCES += simplewizard_mac.cpp \ - winstyleoverrides.cpp - -- LIBS += -lmad -lfftw3f -- - HEADERS -= Bootstrapper/iTunesBootstrapper.h \ - Bootstrapper/PluginBootstrapper.h - ---- a/src/mediadevices/ipod/IpodDevice.h -+++ b/src/mediadevices/ipod/IpodDevice.h -@@ -22,7 +22,7 @@ - #define IPOD_DEVICE_H - - #include "TrackInfo.h" --#include <QSqlDatabase> -+#include <QtSql/QSqlDatabase> - - typedef struct _Itdb_iTunesDB Itdb_iTunesDB; - typedef struct _Itdb_Track Itdb_Track; ---- a/src/httpinput/httpinput.cpp -+++ b/src/httpinput/httpinput.cpp -@@ -21,8 +21,6 @@ - - #include "httpinput.h" - #include "logger.h" --#include "WebService.h" --#include "WebService/Request.h" - #include "RadioEnums.h" - - #include "MooseCommon.h" ---- a/src/httpinput/httpinput.pro -+++ b/src/httpinput/httpinput.pro -@@ -1,7 +1,8 @@ - TEMPLATE = lib - CONFIG += service - TARGET = httpinput --QT += network gui xml -+QT += network -+QT -= gui - - include( ../../definitions.pro.inc ) - ---- a/src/mediadevices/ipod/IpodDevice.cpp -+++ b/src/mediadevices/ipod/IpodDevice.cpp -@@ -24,12 +24,11 @@ - - #include "logger.h" - --#include <QApplication> - #include <QDateTime> -+#include <QFileInfo> - #include <QSqlError> - #include <QSqlQuery> - #include <QtPlugin> --#include <QFileDialog> - #include <QSettings> - - extern "C" ---- a/src/mediadevices/ipod/ipod.pro -+++ b/src/mediadevices/ipod/ipod.pro -@@ -2,6 +2,7 @@ - CONFIG += service - TARGET = Ipod_device - QT += sql -+QT -= gui - - include( ../../../definitions.pro.inc ) - ---- a/src/transcode/mad/mad.pro -+++ b/src/transcode/mad/mad.pro -@@ -1,7 +1,7 @@ - TEMPLATE = lib - CONFIG += service - TARGET = madtranscode --QT += gui xml network -+QT -= gui - - include( ../../../definitions.pro.inc ) - ---- a/src/output/alsa-playback/alsa-playback.pro -+++ b/src/output/alsa-playback/alsa-playback.pro -@@ -1,7 +1,7 @@ - TEMPLATE = lib - TARGET = output_alsa - CONFIG += service --QT += gui xml network -+QT -= gui - - LIBS += -lasound - QMAKE_CFLAGS_WARN_OFF = -w -@@ -9,5 +9,6 @@ - - include( ../../../definitions.pro.inc ) - -+LIBS -= -lLastFmTools$$EXT - HEADERS = alsaplayback.h alsaaudio.h xconvert.h - SOURCES = alsaplayback.cpp alsaaudio.cpp xconvert.c ---- a/src/libMoose/libMoose.pro -+++ b/src/libMoose/libMoose.pro -@@ -2,7 +2,7 @@ - VERSION = 1.0.0 - CONFIG += dll - TARGET = Moose --QT += xml network gui -+QT += network gui - - include( ../../definitions.pro.inc ) - ---- a/src/output/RtAudio/RtAudio.pro -+++ b/src/output/RtAudio/RtAudio.pro -@@ -1,7 +1,7 @@ - TEMPLATE = lib - CONFIG += service - TARGET = rtaudioplayback --QT += gui xml network -+QT -= gui - - include( ../../../definitions.pro.inc ) - ---- a/src/output/RtAudio/rtaudioplayback.cpp -+++ b/src/output/RtAudio/rtaudioplayback.cpp -@@ -19,7 +19,7 @@ - * 51 Franklin Steet, Fifth Floor, Boston, MA 02110-1301, USA. * - ***************************************************************************/ - --#include <QtGui> -+#include <qplugin.h> - - #include "rtaudioplayback.h" - #include "logger.h" diff --git a/audio/last.fm/patches/volumeslider_h-qt45.patch b/audio/last.fm/patches/volumeslider_h-qt45.patch deleted file mode 100644 index 91374423b6..0000000000 --- a/audio/last.fm/patches/volumeslider_h-qt45.patch +++ /dev/null @@ -1,19 +0,0 @@ -Index: lastfm-1.5.1.31879/src/myvolumeslider.h -=================================================================== ---- /dev/null -+++ lastfm-1.5.1.31879/src/myvolumeslider.h -@@ -0,0 +1 @@ -+#include "volumeslider.h" -Index: lastfm-1.5.1.31879/src/playcontrols.ui -=================================================================== ---- lastfm-1.5.1.31879.orig/src/playcontrols.ui -+++ lastfm-1.5.1.31879/src/playcontrols.ui -@@ -146,7 +146,7 @@ - <customwidget> - <class>VolumeSlider</class> - <extends>QFrame</extends> -- <header>volumeslider.h</header> -+ <header>myvolumeslider.h</header> - <container>1</container> - </customwidget> - </customwidgets> diff --git a/audio/last.fm/slack-desc b/audio/last.fm/slack-desc deleted file mode 100644 index 10125c099e..0000000000 --- a/audio/last.fm/slack-desc +++ /dev/null @@ -1,19 +0,0 @@ -# HOW TO EDIT THIS FILE: -# The "handy ruler" below makes it easier to edit a package description. Line -# up the first '|' above the ':' following the base package name, and the '|' -# on the right side marks the last column you can put a character in. You must -# make exactly 11 lines for the formatting to be correct. It's also -# customary to leave one space after the ':'. - - |-----handy-ruler------------------------------------------------------| -last.fm: last.fm (Standalone Player for last.fm) -last.fm: -last.fm: With Last.fm on your computer you can scrobble your tracks, -last.fm: share your music tastes, listen to personalized radio streams, -last.fm: and discover new music and people. -last.fm: -last.fm: Last.fm is open source software and contains no spyware or adware. -last.fm: -last.fm: Homepage: http://last.fm/ -last.fm: -last.fm: |