Signed-off-by: Quentin Retornaz <gentoo@retornaz.com>master
@ -1 +0,0 @@ | |||
DIST seafile-client-8.0.5.tar.gz 11701650 BLAKE2B c9c436f53cf7effa6c2e1cdbb09f5cffd53f7ef8fa6f6b12bb92c0d3c2e54b38858c95a3ab4c511d16774a973c8c2a7e66842825e9535d1332e8589dc201d22a SHA512 1f3eb643dce980a1aa0ff71e0ecca83b3db0848f9983bf7782adae6d181ddc28454a6cd75ebfcf439c17eb2008a5e0d4a684e5cee60fe7b83297e9fce1fcfec9 |
@ -1,37 +0,0 @@ | |||
https://github.com/haiwen/seafile-client/pull/1297 | |||
From 86ebea086c6b78738b3140c922c909331d2b9a94 Mon Sep 17 00:00:00 2001 | |||
From: Joffrey <j-off@live.fr> | |||
Date: Fri, 29 May 2020 15:59:11 +0000 | |||
Subject: [PATCH] Fix build with Qt5 v5.15.0 | |||
--- | |||
src/ui/events-list-view.cpp | 1 + | |||
src/ui/private-share-dialog.cpp | 1 + | |||
2 files changed, 2 insertions(+) | |||
diff --git a/src/ui/events-list-view.cpp b/src/ui/events-list-view.cpp | |||
index b1d04abb..09536b9e 100644 | |||
--- a/src/ui/events-list-view.cpp | |||
+++ b/src/ui/events-list-view.cpp | |||
@@ -1,4 +1,5 @@ | |||
#include <QPainter> | |||
+#include <QPainterPath> | |||
#include <QApplication> | |||
#include <QPixmap> | |||
#include <QToolTip> | |||
diff --git a/src/ui/private-share-dialog.cpp b/src/ui/private-share-dialog.cpp | |||
index 511d476b..284cc043 100644 | |||
--- a/src/ui/private-share-dialog.cpp | |||
+++ b/src/ui/private-share-dialog.cpp | |||
@@ -2,6 +2,7 @@ | |||
#include <QCompleter> | |||
#include <QLineEdit> | |||
#include <QPainter> | |||
+#include <QPainterPath> | |||
#include <QResizeEvent> | |||
#include <QStringList> | |||
#include <QStringListModel> | |||
-- | |||
2.26.2 | |||
@ -1,18 +0,0 @@ | |||
diff --git a/CMakeLists.txt b/CMakeLists.txt | |||
index 4261fba..24fbbda 100644 | |||
--- a/CMakeLists.txt | |||
+++ b/CMakeLists.txt | |||
@@ -158,11 +158,8 @@ SET(QT_VERSION_MAJOR 5) | |||
# have to keep using QtWebKit on windows because QtWebEngine can't be | |||
# compiled in msys2/mingw (QtWebEnigne is based on chrome, which has to be | |||
# compiled with MSVC.) | |||
-FIND_PROGRAM(qmake_executable NAMES qmake qmake.exe) | |||
-EXECUTE_PROCESS(COMMAND | |||
- bash -c "${qmake_executable} --version | grep -iE '^using qt version [0-9.]+' | awk '{print $4}'" | |||
- OUTPUT_VARIABLE DETECTED_QT_VERSION | |||
- OUTPUT_STRIP_TRAILING_WHITESPACE) | |||
+FIND_PACKAGE(Qt5Core) | |||
+SET(DETECTED_QT_VERSION ${Qt5Core_VERSION}) | |||
MESSAGE("qt5 version: ${DETECTED_QT_VERSION}") | |||
IF(WIN32 OR DETECTED_QT_VERSION VERSION_LESS 5.6.0) | |||
ADD_DEFINITIONS(-DSEAFILE_USE_WEBKIT) |
@ -1,18 +0,0 @@ | |||
<?xml version="1.0" encoding="UTF-8"?> | |||
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> | |||
<pkgmetadata> | |||
<maintainer type="person" proxied="yes"> | |||
<email>gentoo@retornaz.com</email> | |||
<name>Quentin Retornaz</name> | |||
</maintainer> | |||
<maintainer type="project" proxied="proxy"> | |||
<email>proxy-maint@gentoo.org</email> | |||
<name>Proxy Maintainers</name> | |||
</maintainer> | |||
<use> | |||
<flag name="shibboleth">Build support for Shibboleth single sign-on</flag> | |||
</use> | |||
<upstream> | |||
<remote-id type="github">haiwen/seafile-client</remote-id> | |||
</upstream> | |||
</pkgmetadata> |
@ -1,51 +0,0 @@ | |||
# Copyright 1999-2021 Gentoo Authors | |||
# Distributed under the terms of the GNU General Public License v2 | |||
EAPI=7 | |||
RELEASE_COMMIT="484d80075f9dbcf49d80036e84ed67d47b8cedd4" | |||
inherit xdg cmake | |||
DESCRIPTION="Seafile desktop client" | |||
HOMEPAGE="https://www.seafile.com/ https://github.com/haiwen/seafile-client/" | |||
SRC_URI="https://github.com/haiwen/${PN}/archive/${RELEASE_COMMIT}.tar.gz -> ${P}.tar.gz" | |||
LICENSE="Apache-2.0" | |||
SLOT="0" | |||
KEYWORDS="~amd64 ~x86" | |||
IUSE="shibboleth test" | |||
RESTRICT="!test? ( test )" | |||
RDEPEND="dev-db/sqlite:3 | |||
dev-libs/glib:2 | |||
dev-libs/jansson:= | |||
dev-libs/libevent:= | |||
dev-libs/openssl:= | |||
dev-qt/qtcore:5 | |||
dev-qt/qtdbus:5 | |||
dev-qt/qtgui:5 | |||
dev-qt/qtnetwork:5 | |||
dev-qt/qtwidgets:5 | |||
net-libs/libsearpc | |||
~net-misc/seafile-${PV} | |||
shibboleth? ( dev-qt/qtwebengine:5[widgets] ) | |||
sys-libs/zlib" | |||
DEPEND="${RDEPEND} | |||
test? ( dev-qt/qttest:5 )" | |||
BDEPEND="dev-qt/linguist-tools:5" | |||
PATCHES=( | |||
"${FILESDIR}/${PN}-select-qt5.patch" | |||
"${FILESDIR}/${PN}-7.0.9-qt-5.15.patch" | |||
) | |||
S="${WORKDIR}/${PN}-${RELEASE_COMMIT}" | |||
src_configure() { | |||
local mycmakeargs=( | |||
-DBUILD_SHIBBOLETH_SUPPORT="$(usex shibboleth)" | |||
-DBUILD_TESTING="$(usex test)" | |||
) | |||
cmake_src_configure | |||
} |
@ -1 +0,0 @@ | |||
DIST seafile-8.0.5.tar.gz 738268 BLAKE2B a142acd9613b4a4aba62640486ee3e79de13274f068e8db69693d93092123f73150e579a38e2aaffc0144cb03a88c56cdac20ca33c0c9a5d09bb8684f184e193 SHA512 712a5d445f586beb9cbd425298734181f2eef302dc2f1f7634c4182bd113a7818c948475e9981ce32af218fcc635254e4d5fea28d514ad6eafe169c4a41eb6f9 |
@ -1,15 +0,0 @@ | |||
<?xml version="1.0" encoding="UTF-8"?> | |||
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> | |||
<pkgmetadata> | |||
<maintainer type="person" proxied="yes"> | |||
<email>gentoo@retornaz.com</email> | |||
<name>Quentin Retornaz</name> | |||
</maintainer> | |||
<maintainer type="project" proxied="proxy"> | |||
<email>proxy-maint@gentoo.org</email> | |||
<name>Proxy Maintainers</name> | |||
</maintainer> | |||
<upstream> | |||
<remote-id type="github">haiwen/seafile</remote-id> | |||
</upstream> | |||
</pkgmetadata> |
@ -1,57 +0,0 @@ | |||
# Copyright 1999-2021 Gentoo Authors | |||
# Distributed under the terms of the GNU General Public License v2 | |||
EAPI=7 | |||
PYTHON_COMPAT=( python3_{8..9} ) | |||
RELEASE_COMMIT="28ede40ebeca4f046c1d6625ac69fd4949e66042" | |||
inherit autotools python-single-r1 vala | |||
DESCRIPTION="File syncing and sharing software with file encryption and group sharing" | |||
HOMEPAGE="https://www.seafile.com/ https://github.com/haiwen/seafile/" | |||
SRC_URI="https://github.com/haiwen/${PN}/archive/${RELEASE_COMMIT}.tar.gz -> ${P}.tar.gz" | |||
LICENSE="GPL-2+-with-openssl-exception" | |||
SLOT="0" | |||
KEYWORDS="~amd64 ~x86" | |||
REQUIRED_USE="${PYTHON_REQUIRED_USE}" | |||
RDEPEND="${PYTHON_DEPS} | |||
$(python_gen_cond_dep ' | |||
dev-python/future[${PYTHON_USEDEP}] | |||
') | |||
dev-libs/openssl:= | |||
dev-db/sqlite:3 | |||
dev-libs/glib:2 | |||
dev-libs/jansson:= | |||
dev-libs/libevent:= | |||
net-libs/libsearpc[${PYTHON_SINGLE_USEDEP}] | |||
net-misc/curl | |||
sys-libs/zlib" | |||
DEPEND="${RDEPEND}" | |||
BDEPEND="${PYTHON_DEPS} | |||
$(vala_depend)" | |||
S="${WORKDIR}/${PN}-${RELEASE_COMMIT}" | |||
src_prepare() { | |||
default | |||
eautoreconf | |||
vala_src_prepare | |||
} | |||
src_configure() { | |||
local myeconfargs=( | |||
--disable-static | |||
) | |||
econf "${myeconfargs[@]}" | |||
} | |||
src_install() { | |||
default | |||
# Remove unnecessary .la files | |||
find "${ED}" -name '*.la' -delete || die | |||
python_fix_shebang "${ED}"/usr/bin/seaf-cli | |||
} |