openbsd-ports/audio/last.fm/patches/patch-src_lastfmapplication_h
dcoppa e3e04c6dcc The Unix (linux) client does not do fingerprinting, so don't build
it: this reduces package dependencies (dropped audio/libsamplerate
and math/fftw3).

iPods were identified by a directory timestamp, but it changed each
time the ipod was mounted. Instead identify a device by its
FirewireGuid.
2011-09-19 12:50:57 +00:00

30 lines
1.0 KiB
Plaintext

$OpenBSD: patch-src_lastfmapplication_h,v 1.3 2011/09/19 12:50:57 dcoppa Exp $
--- src/lastfmapplication.h.orig Mon Sep 19 11:46:56 2011
+++ src/lastfmapplication.h Mon Sep 19 11:59:36 2011
@@ -24,6 +24,8 @@
#ifndef LAST_FM_APPLICATION_H
#define LAST_FM_APPLICATION_H
+#include <unistd.h>
+
#include "RadioEnums.h"
#include "metadata.h"
#include "StationUrl.h"
@@ -181,7 +183,6 @@ private slots:
void onAppEvent( int event, const QVariant& );
void onRequestReturned( class Request* request );
void onScrobblerStatusUpdate( int, const QVariant& );
- void onFingerprintQueryDone( TrackInfo, bool fullFpRequested );
void onNormanRequestDone( Request* r );
void onPlaybackEndedTimerTimeout();
@@ -207,8 +208,6 @@ private slots:
class QTcpServer* m_control;
class ScrobblerManager* m_scrobbler;
class Radio* m_radio;
- class FingerprintCollector* m_fpCollector;
- class FingerprintQueryer* m_fpQueryer;
class FrikkinNormanRequest* m_activeNorman;
QPointer<class ArtistMetaDataRequest> m_activeArtistReq;