Hello community, here is the log from the commit of package clementine for openSUSE:Factory checked in at 2016-04-28 16:55:14 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/clementine (Old) and /work/SRC/openSUSE:Factory/.clementine.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "clementine" Changes: -------- --- /work/SRC/openSUSE:Factory/clementine/clementine.changes 2016-03-07 13:29:49.000000000 +0100 +++ /work/SRC/openSUSE:Factory/.clementine.new/clementine.changes 2016-04-28 16:58:31.000000000 +0200 @@ -1,0 +2,206 @@ +Wed Apr 20 10:37:39 UTC 2016 - sor.alexei@meowr.ru + +- Update to version 1.3.1: + * Fix ratings being deleted when upgrading from older versions. + +------------------------------------------------------------------- +Sun Apr 17 21:43:20 UTC 2016 - olaf@aepfle.de + +- Remove unused ffmpeg-devel + +------------------------------------------------------------------- +Sun Apr 17 13:34:42 UTC 2016 - sor.alexei@meowr.ru + +- Add clementine-fix-sqlite.patch (fix startup with default + SQLite 3.12+) from + https://github.com/clementine-player/Clementine/issues/5297#issuecomment-196... +- Add -fno-strict-aliasing to CXXFLAGS (strict-aliasing-punning). + +------------------------------------------------------------------- +Sat Apr 16 12:08:32 UTC 2016 - sor.alexei@meowr.ru + +- Update to version 1.3.0: + * VK.com support. + * Seafile support (server >= 4.4.1). + * Add Ampache compatibility (through Subsonic service). + * Add new analyser "Rainbow Dash". + * Answer to the ultimate question of life, the universe and + everything. + * Add "Psychedelic Colour" mode to all analysers. + * Add left click to fullsize cover on playing widget. + * Add m4b support for non-drm files. + * Ignore English articles for library sorting. + * Improve the organise dialog. + * Add an option to warn before closing a playlist tab. + * Add an option to disable the pause notification. + * Add options to hide some internet services. + * Add an option to disable inline song metadata editing. + * Add "details below" and "no details" now playing widget + options. + * Add "no song details" now playing widget option. + * Add icons to the extras menu. + * Add a source icon for CD tracks. + * Allow user to remove directories in the Files tab. + * Add ability to remove unavailable items from playlist. + * Add a button to the transcode dialog to add all files in a + directory. + * Make it impossible to collapse either side of the MainWindow + splitter. + * Add menu items for updating and doing a full rescan of + Google Drive. + * Increase Soundcloud cover image size. + * Add the ability to pause Spotify tracks. + * Add the ability to add or remove a Spotify track to a Spotify + playlist through context menu. + * Add Spotify tracks to Spotify playlists by drag and drop. + * Add ability to get a link to share Spotify playlists and songs. + * Improve handling of Spotify Top Tracks and compilations. + * Add playlist actions to Spotify songs. + * Add ability to automatically set podcast as listened after + successfully sending it to a device. + * Add ability to order podcasts by age. + * Allow user to download multiple podcasts at the same time. + * Add ability to cancel podcast downloads in progress. + * Allow user to hide listened podcast episodes. + * Huge improvement of the speed at startup. + * Improve performance of mass rating changes. + * Improve ripping performance. + * Persistent cache for pixmaps. Huge improvement of the + performance when scrolling the library for example. + * Add AppData file for Clementine (for GNOME and KDE Software + Centres). + * Add iPod-like behaviour to previous button. + * Add HipHop and Kuduro equalisers. + * Remember current playlist between restarts. + * IDv3 tag lyrics support. + * Scroll to last played track when switching playlists. + * Add stop after each song repeat mode. + * Sort discs numerically when using Group by disc. + * Add ability for sort by group and performer in the library view. + * Parse the year of a disc from musicbrainz. + * Add track intro mode. + * Add ability to add a search term with tab and space in the + smart playlist window. + * Add love/ban (Last.fm) global shortcuts. + * Add support for "original year" tags. + * Send album artist to Last.fm with liblastfm >= 1.0.0. + * Add sample rate selection. + * Add option to change the time step when seeking using the + keyboard. + * Playlist sort by album considers disc and track numbers. + * Add options for double clicking song in the playlist. + * Volume slider handles glow effect using system theme. + * Library view sort line themable. + * Show track durations in the CD ripper dialog. + * Add ability to read REM DISC tag from Cue sheet. + * Add ability to lock/unlock rating edit status. + * Add the support of trackNum elements in XSPF. + * Add "Smart Playlists" for Subsonic. + * Add lyrics from AZLyrics. + * Add lyrics from bollywoodlyrics.com. + * Add lyrics from hindilyrics.net. + * Add lyrics from lololyrics.com. + * Add lyrics from Musixmatch. + * Add lyrics from Tekstowo.pl. + * Fix crash when click on a SoundCloud entry in internet tab. + * Fix crash when marking podcast as listened. + * Fix crash after pressing OK in the device properties window. + * Fix stop after track which doesn't remove now playing. + * Fix play bleeding into next track after auto stop. + * Fix analyser framerate when mouseover play scrubber. + * Fix issues with buffers sent to analyser. + * Fix block analyser framerate. + * Fix divide-by-zero possibility with small buffers at end of + track. + * Fix divide-by-zero possibility in moodbar. + * Fix oversized album cover art. + * Clean cover art from /tmp. + * Fix the rendering of the little numbers in the boxes on queued + items in the playlist. + * Fix parsing of MusicBrainz data for discid. + * Fix random artifacting on nyanalyser on startup. + * Fix podcasts length issues (which caused issues with seeking + for example). + * Fix too small equaliser window size. + * Fix labels which don't inherit system text colours in the edit + tag dialog. + * Fix the mess of the queue manager after playlist re-sort. + * Fix for queue ordering issue in the playlist view when using + Ctrl+D to dequeue a track. + * Fix detection of parent-relative paths in playlist saving. + * Fix path seperators issue when reading playlists. + * Fix m3u parser issue when an artist's name has a hyphen. + * Fix bug with percents when fetch the Jamendo catalogue. + * Fix a little dropout when transition to next track. + * Fix broken RockRadio.com for premium users. + * Fix Subsonic login with + characters in the password. + * Fix accents issue in when save playlist in xspf format. + * Fix issues with some songs length thanks to Taglib. People with + Taglib installed on their system will have to wait a new + release of Taglib. + * Fix moodbars not generating correctly. + * Fix socket leak in moodbar. + * Fix memory leak in tagreader. + * Fix crash when trying to fingerprint but missing a plugin. + * Fix infinite scan with Subsonic when the library is empty. + * Fix performer tag for mpeg. + * Fix parsing issues with "innovative" datetime formats. + * Fix playback breaks in Spotify. + * Fix memory leaks. + * Fix crash when stopping song that is fading after pausing. + * Fix crash when trying to download a track but there is no + current one playing. + * Fix default spinner gif image which shows white pixels around + the image. + * Fix setting album artist tag for FLAC files if it already + exists. + * Fix crash when Clementine lists the albums on Ampache. + * Fix Last.fm scrobbling after seek. + * Fix metadata not processed properly for some streams (Akamai). + * Fix save state when the song was paused. + * Fix some issues in Boom and Turbine analysers. + * Fix song continuously rewinding when seeking using keyboard + arrow keys. + * Fix OSD re-posistioning which doesn't work on multiple monitors. + * Fix Sonogram state while paused. + * Fix crash when changing 'group by' while album covers are still + loading. + * Fix loss of valid data from an mp3 file when using the metadata + editor. + * Fix track slider twitching. + * Fix Di.fm stations stuck when try to play them without Internet. + * Make mood files hidden in NTFS. + * Fix time labels blinking when playing streams without known + duration. + * Fix tag fetcher which applies incorrect tags for songs without + any results. + * Fix Clementine getting stuck when transitioning from a local + track to a Spotify track with crossfade disabled. + * Fix previous track when playing a dynamic random mix. + * Fix fullscreen album covers for monitors in portrait mode. + * Don't scale down star icons by 1 pixel. + * Remove Ubuntu One support. + * Remove Discogs support. + * Remove GrooveShark support. + * Remove Radio GFM support. + * Update to GStreamer 1.x. + * Don't compile vreen with link-time optimisations. + * Use the system's sha2 library if it's available. + * Remove libindicate-qt. + * Remove internal copy of libechonest and add it as dependency. + * Use libcrypto++ instead of QCA. + * Update TagLib to 1.10.0. + * Follow freedesktop.org specifications for icons. + * Add a 128x128 version of the Clementine icon. + * Remove internal copy of chromaprint and add it as + dependency. + * Don't depend on libplist or usbmuxd. ++++ 9 more lines (skipped) ++++ between /work/SRC/openSUSE:Factory/clementine/clementine.changes ++++ and /work/SRC/openSUSE:Factory/.clementine.new/clementine.changes Old: ---- 1.2.3.tar.gz clementine-1.2.2-dont-use-hacks-but-proper-sintax-for-non-wrapping-in-namespace.patch New: ---- clementine-1.3.1.tar.xz clementine-fix-sqlite.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ clementine.spec ++++++ --- /var/tmp/diff_new_pack.q8VNKa/_old 2016-04-28 16:58:34.000000000 +0200 +++ /var/tmp/diff_new_pack.q8VNKa/_new 2016-04-28 16:58:34.000000000 +0200 @@ -17,19 +17,19 @@ Name: clementine -Version: 1.2.3 +Version: 1.3.1 Release: 0 -Summary: A cross-platform Music Player based on Amarok 1 +Summary: A cross-platform Music Player derived from Amarok 1.4 License: GPL-3.0+ Group: Productivity/Multimedia/Sound/Players -Url: http://www.clementine-player.org/ -Source: https://github.com/clementine-player/Clementine/archive/%{version}.tar.gz - -Patch0: clementine-1.2.2-dont-use-hacks-but-proper-sintax-for-non-wrapping-in-namespace.patch +Url: https://clementine-player.org/ +Source: https://github.com/clementine-player/Clementine/releases/download/%{version}/%{name}-%{version}.tar.xz +# PATCH-FIX-OPENSUSE clementine-fix-sqlite.patch -- Fix startup with default SQLite 3.12+. +Patch0: clementine-fix-sqlite.patch BuildRequires: boost-devel BuildRequires: cmake BuildRequires: fdupes -BuildRequires: ffmpeg-devel +# pkgconfig(freeglut) isn't available in openSUSE Leap 42.1 and older. BuildRequires: freeglut-devel BuildRequires: gcc-c++ BuildRequires: gettext-tools @@ -43,12 +43,16 @@ BuildRequires: pkgconfig(QtGui) BuildRequires: pkgconfig(QtSql) BuildRequires: pkgconfig(QtWebKit) +BuildRequires: pkgconfig(cryptopp) BuildRequires: pkgconfig(fftw3) BuildRequires: pkgconfig(gio-2.0) BuildRequires: pkgconfig(glew) BuildRequires: pkgconfig(glib-2.0) -BuildRequires: pkgconfig(gstreamer-0.10) -BuildRequires: pkgconfig(gstreamer-plugins-base-0.10) +BuildRequires: pkgconfig(gstreamer-1.0) +BuildRequires: pkgconfig(gstreamer-app-1.0) +BuildRequires: pkgconfig(gstreamer-audio-1.0) +BuildRequires: pkgconfig(gstreamer-base-1.0) +BuildRequires: pkgconfig(gstreamer-tag-1.0) BuildRequires: pkgconfig(libcdio) BuildRequires: pkgconfig(libchromaprint) BuildRequires: pkgconfig(libechonest) @@ -56,97 +60,66 @@ BuildRequires: pkgconfig(libmtp) BuildRequires: pkgconfig(libnotify) BuildRequires: pkgconfig(libprojectM) +BuildRequires: pkgconfig(libpulse) +BuildRequires: pkgconfig(libsparsehash) BuildRequires: pkgconfig(libxml-2.0) BuildRequires: pkgconfig(protobuf) -BuildRequires: pkgconfig(qca2) BuildRequires: pkgconfig(sqlite3) BuildRequires: pkgconfig(taglib) >= 1.8 Requires: libtag1 >= 1.8 -# plasma_runner dropped in clementine 1.1.0 +Recommends: gstreamer-fluendo-mp3 +Recommends: sni-qt +# clementine-kde was last used in openSUSE 12.2. +# plasma_runner was dropped in Clementine 1.1.0. Provides: %{name}-kde = %{version} Obsoletes: %{name}-kde < %{version} -Recommends: gstreamer-0_10-plugins-fluendo_mp3 -# gnome indicator - while we don't have it in OSS we don't build it -# BuildRequires: libindicator-devel -BuildRoot: %{_tmppath}/%{name}-%{version}-build -%if 0%{?suse_version} >= 1310 -BuildRequires: pkgconfig(libmygpo-qt) >= 1.0.7 -%endif -%if 0%{?suse_version} >= 1230 -BuildRequires: pkgconfig(libsparsehash) -%endif %description -Clementine is a modern music player and library organiser. Clementine is a -port of Amarok 1.4, with some features rewritten to take advantage of Qt4. +Clementine is a modern music player and library organiser. -Features: +Clementine is a fork of Amarok 1.4, with some features rewritten to +take advantage of Qt4. -* Search and play your local music library -* Listen to internet radio from Last.fm and SomaFM -* Edit tags on MP3 and OGG files, organise your music -* Cross-platform - works on Windows, Mac OS X and Linux -* Native desktop notifications on Linux (libnotify) and Mac OS X (Growl) +Features: + * Search and play your local music library. + * Listen to internet radio from Last.FM and SomaFM. + * Edit tags on MP3 and OGG files, organise your music. + * Cross-platform - works on GNU/Linux, Windows, and OS X. + * Native desktop notifications. %prep -%setup -q -n Clementine-%{version} +%setup -q %patch0 -p1 - -### NOTE built against system version of libraries -rm -rvf 3rdparty/chromaprint -rm -rvf 3rdparty/libechonest +# NOTE: Build using system versions of libraries. rm -rvf 3rdparty/taglib -%if 0%{?suse_version} >= 1310 -rm -rvf 3rdparty/libmygpo-qt -%endif +#rm -rvf 3rdparty/libmygpo-qt +#rm -rvf 3rdparty/sha2 %build - -%if 0%{?suse_version} == 1230 -cmake \ +export CFLAGS="%{optflags} -fno-strict-aliasing" +export CXXFLAGS="$CFLAGS" +%cmake \ -DBUILD_WERROR=OFF \ - -DCMAKE_INSTALL_PREFIX=%{_prefix} \ - -DUSE_SYSTEM_PROJECTM=ON \ - -DBUNDLE_PROJECTM_PRESETS=OFF \ -DUSE_SYSTEM_QXT=ON \ -DUSE_BUILTIN_TAGLIB=OFF \ - -DENABLE_GOOGLE_DRIVE=ON \ - -DENABLE_MOODBAR=ON \ - -DENABLE_DBUS=ON -make %{?_smp_mflags} - -%install -%make_install - -%else -%cmake \ - -DBUILD_WERROR=OFF \ -DUSE_SYSTEM_PROJECTM=ON \ -DBUNDLE_PROJECTM_PRESETS=OFF \ - -DUSE_SYSTEM_QXT=ON \ - -DUSE_BUILTIN_TAGLIB=OFF \ -%if 0%{?suse_version} >= 1230 - -DENABLE_GOOGLE_DRIVE=ON \ -%endif -DENABLE_MOODBAR=ON \ -DENABLE_DBUS=ON make %{?_smp_mflags} %install %cmake_install -%endif - -%suse_update_desktop_file clementine Qt KDE AudioVideo Audio Player -# Generate man page with help2man -mkdir -p %{buildroot}%{_mandir}/man1 -pushd %{buildroot}%{_mandir}/man1 -cp -v %{buildroot}%{_bindir}/%{name} ./ +# Generate a man page with help2man. +mkdir -p %{buildroot}%{_mandir}/man1/ +pushd %{buildroot}%{_mandir}/man1/ +cp -f %{buildroot}%{_bindir}/%{name} ./ help2man --version-string="%{version}" -N -o %{name}.1 ./%{name} -rm %{name} +rm -f %{name} popd -%fdupes -s %{buildroot} +%suse_update_desktop_file clementine Qt AudioVideo Audio Player %post %desktop_database_post @@ -158,18 +131,15 @@ %files %defattr(-,root,root) -%doc Changelog COPYING -%{_bindir}/clementine -%{_bindir}/clementine-tagreader +%doc Changelog COPYING README.md +%{_bindir}/clementine* %{_datadir}/applications/clementine.desktop -%{_datadir}/icons/hicolor/64x64/apps/application-x-clementine.png -%{_datadir}/icons/hicolor/scalable/apps/application-x-clementine.svg +%{_datadir}/icons/hicolor/*/apps/clementine.* +%dir %{_datadir}/appdata/ +%{_datadir}/appdata/clementine.appdata.xml +%{_mandir}/man1/%{name}.1%{?ext_man} %dir %{_datadir}/kde4/ %dir %{_datadir}/kde4/services/ -%{_datadir}/kde4/services/clementine-feed.protocol -%{_datadir}/kde4/services/clementine-itms.protocol -%{_datadir}/kde4/services/clementine-itpc.protocol -%{_datadir}/kde4/services/clementine-zune.protocol -%{_mandir}/man1/%{name}.1.gz +%{_datadir}/kde4/services/clementine-*.protocol %changelog ++++++ clementine-fix-sqlite.patch ++++++ --- a/src/core/database.cpp +++ b/src/core/database.cpp @@ -265,6 +265,17 @@ QSqlDatabase Database::Connect() { StaticInit(); { + +#ifdef SQLITE_DBCONFIG_ENABLE_FTS3_TOKENIZER + QVariant v = db.driver()->handle(); + if (v.isValid() && qstrcmp(v.typeName(), "sqlite3*") == 0) { + sqlite3* handle = *static_cast<sqlite3**>(v.data()); + if (handle) { + sqlite3_db_config(handle, SQLITE_DBCONFIG_ENABLE_FTS3_TOKENIZER, 1, NULL); + } + } +#endif + QSqlQuery set_fts_tokenizer("SELECT fts3_tokenizer(:name, :pointer)", db); set_fts_tokenizer.bindValue(":name", "unicode"); set_fts_tokenizer.bindValue(