diff options
author | Jason E. Hale <jhale@FreeBSD.org> | 2018-04-17 23:27:21 +0000 |
---|---|---|
committer | Jason E. Hale <jhale@FreeBSD.org> | 2018-04-17 23:27:21 +0000 |
commit | 46c18b875a3191494ea55b33d2c4719e977040ec (patch) | |
tree | 30427bd5747da5c638a96582b32d3d5228e8987d /audio/liblastfm/files/patch-src_UrlBuilder.h | |
parent | Upgrade from 1.13.12 to 1.14.0. (diff) |
- Update audio/liblastfm to 1.0.9-5-g4433165 [1]
- Add audio/liblastfm-qt5 slave port which provides a Qt 5 interface [1]
- Explicitly mark UrlBuilder::mobilize() as deprecated
- Allow Qt4 and Qt5 versions to be installed concurrently
- Make sure liblastfm creates the directories it uses instead of relying
on client apps to do so
PR: 226530 [1]
Submitted by: Greg V <greg@unrelenting.technology> [1]
Notes
Notes:
svn path=/head/; revision=467663
Diffstat (limited to 'audio/liblastfm/files/patch-src_UrlBuilder.h')
-rw-r--r-- | audio/liblastfm/files/patch-src_UrlBuilder.h | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/audio/liblastfm/files/patch-src_UrlBuilder.h b/audio/liblastfm/files/patch-src_UrlBuilder.h index 88626358b253..06ed8a3b666e 100644 --- a/audio/liblastfm/files/patch-src_UrlBuilder.h +++ b/audio/liblastfm/files/patch-src_UrlBuilder.h @@ -1,9 +1,9 @@ Add prototype for localePath() and adjust comments to reflect current website layout ---- src/UrlBuilder.h.orig 2014-10-02 14:05:46 UTC +--- src/UrlBuilder.h.orig 2015-02-06 16:49:40 UTC +++ src/UrlBuilder.h -@@ -44,9 +44,11 @@ namespace lastfm +@@ -44,10 +44,12 @@ namespace lastfm QUrl url() const; @@ -11,12 +11,14 @@ website layout + /** www.last.fm becomes the local version, e.g. www.last.fm/de */ static QUrl localize( QUrl ); - /** www.last.fm becomes m.last.fm, localisation is preserved */ +- static QUrl mobilize( QUrl ); + + /** DEPRECATED: Returns url as-is since the mobile website redirects + * to the main website */ - static QUrl mobilize( QUrl ); ++ Q_DECL_DEPRECATED static QUrl mobilize( QUrl ); /** Use this to URL encode any database item (artist, track, album). It + * internally calls UrlEncodeSpecialChars to double encode some special @@ -60,7 +62,10 @@ namespace lastfm */ static QByteArray encode( QString ); |