upgrade clementine to 1.4.0rc2 which brings a whole year worth of updates

(Apr 21-May 22).

input and OK sthen@
This commit is contained in:
mestre 2023-01-27 11:47:31 +00:00
parent 420d50b7c2
commit c9f5d4d13d
8 changed files with 20 additions and 40 deletions

View File

@ -2,9 +2,9 @@ COMMENT = music player
GH_ACCOUNT = clementine-player
GH_PROJECT = Clementine
GH_TAGNAME = 1.4.0rc1-550-g72c1f91c0
REVISION = 2
PKGNAME = clementine-${GH_TAGNAME:C/-550.*/pl550/}
GH_TAGNAME = 1.4.0rc2
EPOCH = 0
PKGNAME = clementine-${GH_TAGNAME}
CATEGORIES = audio x11

View File

@ -1,2 +1,2 @@
SHA256 (Clementine-1.4.0rc1-550-g72c1f91c0.tar.gz) = isjv0Q7XfhsmQS5sGSceIDM45f5WwFQCBYjl1qBLjGM=
SIZE (Clementine-1.4.0rc1-550-g72c1f91c0.tar.gz) = 9040909
SHA256 (Clementine-1.4.0rc2.tar.gz) = I5Xv3vATqmXsi4Uh1Um/dtveT5M4Z745U/MVUxAerWM=
SIZE (Clementine-1.4.0rc2.tar.gz) = 9073685

View File

@ -13,7 +13,7 @@ Index: ext/libclementine-common/CMakeLists.txt
set(SOURCES
core/closure.cpp
@@ -39,3 +39,11 @@ target_link_libraries(libclementine-common
@@ -39,6 +39,14 @@ target_link_libraries(libclementine-common
${TAGLIB_LIBRARIES}
${CMAKE_THREAD_LIBS_INIT}
)
@ -25,3 +25,6 @@ Index: ext/libclementine-common/CMakeLists.txt
+ include_directories(${Backtrace_INCLUDE_DIRS})
+ target_link_libraries(libclementine-common ${Backtrace_LIBRARIES})
+endif(Backtrace_FOUND)
find_package(Backtrace)
configure_file(core/conf_backtrace.h.in conf_backtrace.h)

View File

@ -2,31 +2,7 @@ Use shiny CMake FindBacktrace module.
Index: ext/libclementine-common/core/logging.cpp
--- ext/libclementine-common/core/logging.cpp.orig
+++ ext/libclementine-common/core/logging.cpp
@@ -18,12 +18,11 @@
// it is used by the Spotify blob which links against libspotify and is not GPL
// compatible.
+#include <config.h>
+
#include <cxxabi.h>
#include <QtGlobal>
-#ifdef Q_OS_UNIX
-#include <execinfo.h>
-#endif
#include <glib.h>
@@ -315,7 +314,7 @@ QString DemangleSymbol(const QString& symbol) {
}
void DumpStackTrace() {
-#ifdef Q_OS_UNIX
+#if Backtrace_FOUND
void* callstack[128];
int callstack_size =
backtrace(reinterpret_cast<void**>(&callstack), sizeof(callstack));
@@ -328,7 +327,7 @@ void DumpStackTrace() {
@@ -336,7 +336,7 @@ void DumpStackTrace() {
}
free(symbols);
#else

View File

@ -3,7 +3,7 @@
Index: src/core/utilities.cpp
--- src/core/utilities.cpp.orig
+++ src/core/utilities.cpp
@@ -67,6 +67,14 @@
@@ -71,6 +71,14 @@
#ifdef Q_OS_DARWIN
#include <sys/resource.h>
#endif
@ -18,7 +18,7 @@ Index: src/core/utilities.cpp
#ifdef Q_OS_DARWIN
#include <QProcess>
@@ -697,9 +705,25 @@ bool IsLaptop() {
@@ -705,9 +713,25 @@ bool IsLaptop() {
}
}
return false;

View File

@ -1,7 +1,7 @@
Index: src/ripper/ripper.h
--- src/ripper/ripper.h.orig
+++ src/ripper/ripper.h
@@ -18,10 +18,10 @@
@@ -18,11 +18,11 @@
#ifndef SRC_RIPPER_RIPPER_H_
#define SRC_RIPPER_RIPPER_H_
@ -9,6 +9,7 @@ Index: src/ripper/ripper.h
-
#include <QMutex>
#include <QObject>
#include <QTimer>
+
+#include <cdio/cdio.h>

View File

@ -4,7 +4,7 @@ Index: tests/CMakeLists.txt
--- tests/CMakeLists.txt.orig
+++ tests/CMakeLists.txt
@@ -1,6 +1,6 @@
cmake_minimum_required(VERSION 2.8.11)
cmake_minimum_required(VERSION 3.0.0)
-set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fpermissive -Wno-c++11-narrowing")
+set(CMAKE_CXX_FLAGS "-fpermissive -Wno-c++11-narrowing -${CMAKE_CXX_FLAGS}")

View File

@ -1,6 +1,6 @@
@bin bin/clementine
@bin bin/clementine-tagreader
share/applications/clementine.desktop
share/applications/org.clementine_player.Clementine.desktop
share/clementine/
share/clementine/projectm-presets/
share/clementine/projectm-presets/Aderrasi - Agitator.milk
@ -574,15 +574,15 @@ share/clementine/projectm-presets/nil - Vortex of Vortices.milk
share/clementine/projectm-presets/project.tga
share/clementine/projectm-presets/shifter - escape the worm - Eo.S. + Phat - Before_It_Eats_Your_Brain_Mix_v2.milk
share/clementine/projectm-presets/shifter - escape the worm - Eo.S. + Phat 5362.milk
share/icons/hicolor/128x128/apps/clementine.png
share/icons/hicolor/64x64/apps/clementine.png
share/icons/hicolor/scalable/apps/clementine.svg
share/icons/hicolor/128x128/apps/org.clementine_player.Clementine.png
share/icons/hicolor/64x64/apps/org.clementine_player.Clementine.png
share/icons/hicolor/scalable/apps/org.clementine_player.Clementine.svg
share/kservices5/
share/kservices5/clementine-feed.protocol
share/kservices5/clementine-itms.protocol
share/kservices5/clementine-itpc.protocol
share/kservices5/clementine-zune.protocol
share/metainfo/
share/metainfo/clementine.appdata.xml
share/metainfo/org.clementine_player.Clementine.appdata.xml
@tag update-desktop-database
@tag gtk-update-icon-cache %D/share/icons/hicolor