diff options
Diffstat (limited to 'community/lastfm-client')
-rw-r--r-- | community/lastfm-client/PKGBUILD | 50 | ||||
-rw-r--r-- | community/lastfm-client/build-fixes.diff | 12 | ||||
-rw-r--r-- | community/lastfm-client/lastfm.desktop | 14 | ||||
-rw-r--r-- | community/lastfm-client/makefile-qt45.patch | 12 | ||||
-rw-r--r-- | community/lastfm-client/qt46.diff | 57 | ||||
-rw-r--r-- | community/lastfm-client/set-firstrun-status.diff | 11 | ||||
-rw-r--r-- | community/lastfm-client/set-locale.diff | 20 |
7 files changed, 0 insertions, 176 deletions
diff --git a/community/lastfm-client/PKGBUILD b/community/lastfm-client/PKGBUILD deleted file mode 100644 index d5fde5d7d..000000000 --- a/community/lastfm-client/PKGBUILD +++ /dev/null @@ -1,50 +0,0 @@ -# $Id: PKGBUILD 34579 2010-12-09 22:20:48Z mherych $ -# Maintainer: Mateusz Herych <heniekk@gmail.com> - -pkgname=lastfm-client -pkgver=1.5.4.26862 -pkgrel=4 -pkgdesc="The Last.fm client" -arch=('i686' 'x86_64' 'mips64el') -url="http://www.last.fm/tools/downloads/" -license=('GPL') -depends=('libpng' 'libjpeg' 'libxinerama' 'libxi' 'fontconfig' 'alsa-lib' 'libxcursor' 'libsm' 'libxrandr' 'qt' 'fftw' 'libsamplerate' 'libmad') -optdepends=('libgpod: iPod support') -source=(http://ftp.de.debian.org/debian/pool/main/l/lastfm/lastfm_$pkgver+dfsg.orig.tar.gz - lastfm.desktop - build-fixes.diff - set-firstrun-status.diff - set-locale.diff - makefile-qt45.patch - qt46.diff) -md5sums=('c7991fd2636ca25e68ff476578b506a6' - '9c5e444704d49cff7b1dc916f290bad0' - 'ae0e4a94af0d9e38172f064642a32e20' - '494d7c336b09c7d579dad3cc7d7bc627' - '1aeec4db77dc7cbc8e4660f127485599' - 'bea1168abcacef30832bb1e88a25b5f3' - '8f9af912aa7eb84ef8d941bccdf6ee66') - -build() { - cd "$srcdir/lastfm-$pkgver+dfsg" - patch -Np1 -i ../build-fixes.diff - patch -Np1 -i ../set-locale.diff - patch -Np1 -i ../set-firstrun-status.diff - patch -Np1 -i ../qt46.diff - ./configure - MAKEFLAGS=-j1 make src/Makefile - patch -Np1 -i ../makefile-qt45.patch - MAKEFLAGS=-j1 make - ( make || (mv build/fplib/libfplib_debug.a build/fplib/libfplib.a && make ) ) -} - -package() { - cd "$srcdir/lastfm-$pkgver+dfsg" - mkdir -p $pkgdir/opt $pkgdir/usr/bin - cp -rp bin/ $pkgdir/opt/last.fm - mkdir -p $pkgdir/opt $pkgdir/usr/bin - cp -rp bin/ $pkgdir/opt/last.fm - printf "#!/bin/sh\nexec /opt/last.fm/last.fm.sh\n" > $pkgdir/usr/bin/lastfm - chmod +x $pkgdir/usr/bin/lastfm - install -D -m 644 $srcdir/lastfm.desktop $pkgdir/usr/share/applications/lastfm.desktop -} diff --git a/community/lastfm-client/build-fixes.diff b/community/lastfm-client/build-fixes.diff deleted file mode 100644 index 5e7553434..000000000 --- a/community/lastfm-client/build-fixes.diff +++ /dev/null @@ -1,12 +0,0 @@ ---- a/LastFM.pro -+++ b/LastFM.pro -@@ -41,8 +41,7 @@ - SUBDIRS -= src/Twiddly \ - src/Bootstrapper/ITunesDevice - -- SUBDIRS += src/output/alsa-playback \ -- src/output/portAudio -+ SUBDIRS += src/output/alsa-playback - } - - diff --git a/community/lastfm-client/lastfm.desktop b/community/lastfm-client/lastfm.desktop deleted file mode 100644 index 1658c5997..000000000 --- a/community/lastfm-client/lastfm.desktop +++ /dev/null @@ -1,14 +0,0 @@ -[Desktop Entry] -Name=Last.fm -Name[de]=Last.fm -GenericName=Client for the Last.fm Network -GenericName[de]=Client für das Last.fm-Netzwerk -GenericName[pl]=Klient sieci Last.fm -Exec=lastfm -Icon=lastfm -Categories=AudioVideo;Player; -Terminal=false -Type=Application -Encoding=UTF-8 -StartupNotify=false -Icon=/opt/last.fm/data/icons/as.png diff --git a/community/lastfm-client/makefile-qt45.patch b/community/lastfm-client/makefile-qt45.patch deleted file mode 100644 index c7db8aca7..000000000 --- a/community/lastfm-client/makefile-qt45.patch +++ /dev/null @@ -1,12 +0,0 @@ -Index: lastfm-1.5.1.31879.dfsg/src/Makefile -=================================================================== ---- lastfm-1.5.1.31879.dfsg.orig/src/Makefile -+++ lastfm-1.5.1.31879.dfsg/src/Makefile -@@ -959,6 +959,7 @@ compiler_uic_clean: - ../build/ui_playcontrols.h: playcontrols.ui \ - volumeslider.h - /usr/bin/uic playcontrols.ui -o ../build/ui_playcontrols.h -+ sed -i "s/phonon\/Phonon::VolumeSlider/volumeslider.h/" ../build/ui_playcontrols.h - - ../build/ui_failedlogindialog.h: failedlogindialog.ui - /usr/bin/uic failedlogindialog.ui -o ../build/ui_failedlogindialog.h diff --git a/community/lastfm-client/qt46.diff b/community/lastfm-client/qt46.diff deleted file mode 100644 index b2370abee..000000000 --- a/community/lastfm-client/qt46.diff +++ /dev/null @@ -1,57 +0,0 @@ -Fix some text/icon display issues with Qt 4.6 ---- a/src/libUnicorn/draglabel.cpp -+++ b/src/libUnicorn/draglabel.cpp -@@ -324,6 +324,11 @@ - { - rect.setHeight( fm.height() ); - } -+ // Qt 4.6 seems to have problems with the width too -+ if ( fm.width( d.m_text ) > rect.width() ) -+ { -+ rect.setWidth( fm.width( d.m_text ) ); -+ } - - // boundingRect sometimes returns negative values so make sure it's at 0, 0 - rect.moveTo( 0, 0 ); ---- a/src/settingsdialog.cpp -+++ b/src/settingsdialog.cpp -@@ -140,29 +140,29 @@ - UnicornUtils::qtLanguageToLfmLangCode( QLocale::Japanese ) ); - - // Add icons to sidebar -- pixmap.load( MooseUtils::dataPath( "/icons/options_account.png" ) ); -+ //pixmap.load( MooseUtils::dataPath( "/icons/options_account.png" ) ); - //pixmap.scaled( 48, 48, Qt::IgnoreAspectRatio, Qt::SmoothTransformation ); -- ui.pageList->item( 0 )->setIcon( pixmap ); -+ ui.pageList->item( 0 )->setIcon( QPixmap( MooseUtils::dataPath( "/icons/options_account.png" ) ) ); - -- pixmap.load( MooseUtils::dataPath( "/icons/options_radio.png" ) ); -+ //pixmap.load( MooseUtils::dataPath( "/icons/options_radio.png" ) ); - //pixmap.scaled( 48, 48, Qt::IgnoreAspectRatio, Qt::SmoothTransformation ); -- ui.pageList->item( 1 )->setIcon( pixmap ); -+ ui.pageList->item( 1 )->setIcon( QPixmap( MooseUtils::dataPath( "/icons/options_radio.png" ) ) ); - - #ifdef HIDE_RADIO - ui.pageList->setItemHidden( ui.pageList->item( 1 ), true ); - #endif // HIDE_RADIO - -- pixmap.load( MooseUtils::dataPath( "/icons/options_scrobbling.png" ) ); -+ //pixmap.load( MooseUtils::dataPath( "/icons/options_scrobbling.png" ) ); - //pixmap.scaled( 48, 48, Qt::IgnoreAspectRatio, Qt::SmoothTransformation ); -- ui.pageList->item( 2 )->setIcon( pixmap ); -+ ui.pageList->item( 2 )->setIcon( QPixmap( MooseUtils::dataPath( "/icons/options_scrobbling.png" ) ) ); - -- pixmap.load( MooseUtils::dataPath( "/icons/options_connection.png" ) ); -+ //pixmap.load( MooseUtils::dataPath( "/icons/options_connection.png" ) ); - //pixmap.scaled( 48, 48, Qt::IgnoreAspectRatio, Qt::SmoothTransformation ); -- ui.pageList->item( 3 )->setIcon( pixmap ); -+ ui.pageList->item( 3 )->setIcon( QPixmap( MooseUtils::dataPath( "/icons/options_connection.png" ) ) ); - -- pixmap.load( MooseUtils::dataPath( "/icons/options_mediadevices.png" ) ); -+ //pixmap.load( MooseUtils::dataPath( "/icons/options_mediadevices.png" ) ); - //pixmap.scaled( 48, 48, Qt::IgnoreAspectRatio, Qt::SmoothTransformation ); -- ui.pageList->item( 4 )->setIcon( pixmap ); -+ ui.pageList->item( 4 )->setIcon( QPixmap( MooseUtils::dataPath( "/icons/options_mediadevices.png" ) ) ); - - #ifdef Q_WS_X11 - ui.pageList->setRowHidden( 4, true ); diff --git a/community/lastfm-client/set-firstrun-status.diff b/community/lastfm-client/set-firstrun-status.diff deleted file mode 100644 index 61457fed2..000000000 --- a/community/lastfm-client/set-firstrun-status.diff +++ /dev/null @@ -1,11 +0,0 @@ ---- a/src/configwizard.cpp -+++ b/src/configwizard.cpp -@@ -750,7 +750,7 @@ - - nextButtonClicked(); - #else -- m_pageOffset += 7; -+ m_pageOffset += 8; - BaseWizard::nextButtonClicked(); - #endif - diff --git a/community/lastfm-client/set-locale.diff b/community/lastfm-client/set-locale.diff deleted file mode 100644 index 3b81e6cbb..000000000 --- a/community/lastfm-client/set-locale.diff +++ /dev/null @@ -1,20 +0,0 @@ ---- a/src/libUnicorn/Settings.h -+++ b/src/libUnicorn/Settings.h -@@ -226,6 +226,17 @@ - QString langCode = customAppLanguage(); - if ( langCode.isEmpty() ) - { -+ #ifdef LINUX -+ // Now check the environment including LC_MESSAGES -+ // This fixes Debian bug #432232 -+ if ( langCode.isEmpty() ) -+ langCode = qgetenv( "LC_ALL" ); -+ if ( langCode.isEmpty() ) -+ langCode = qgetenv( "LC_MESSAGES" ); -+ if ( langCode.isEmpty() ) -+ langCode = qgetenv( "LANG" ); -+ #endif -+ - // If none found, use system locale - #ifdef Q_WS_MAC - QLocale::Language qtLang = UnicornUtils::osxLanguageCode(); |