- Update deskutils/owncloudclient to 2.4.0
- Regenerate patches PR: 225583 Submitted by: me Approved by: yonas@fizk.net (maintainer)
This commit is contained in:
parent
590336ccc4
commit
ce230ba21d
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=460921
@ -2,8 +2,7 @@
|
||||
# $FreeBSD$
|
||||
|
||||
PORTNAME= owncloudclient
|
||||
PORTVERSION= 2.3.4
|
||||
PORTREVISION= 1
|
||||
PORTVERSION= 2.4.0
|
||||
DISTVERSIONPREFIX= v
|
||||
CATEGORIES= deskutils
|
||||
|
||||
@ -39,11 +38,17 @@ DEBUG_CMAKE_ON= -DCMAKE_BUILD_TYPE:STRING=Debug
|
||||
|
||||
PLIST_SUB= VERSION=${PORTVERSION}
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
post-patch:
|
||||
@${REINPLACE_CMD} -e \
|
||||
's|.lst |.lst.sample |' ${WRKSRC}/CMakeLists.txt
|
||||
.if ${OSVERSION} < 1100101
|
||||
@${REINPLACE_CMD} -e 's/ -fstack-protector-strong//' \
|
||||
${WRKSRC}/src/CMakeLists.txt
|
||||
.endif
|
||||
|
||||
pre-configure:
|
||||
@(cd ${WRKSRC} && ${CP} -f sync-exclude.lst sync-exclude.lst.sample)
|
||||
|
||||
.include <bsd.port.mk>
|
||||
.include <bsd.port.post.mk>
|
||||
|
@ -1,3 +1,3 @@
|
||||
TIMESTAMP = 1512670982
|
||||
SHA256 (owncloud-client-v2.3.4_GH0.tar.gz) = 17dd5bb7afb996ee155b8fe68a4fd4b75a8d46563226da470c4e598d6f990bc6
|
||||
SIZE (owncloud-client-v2.3.4_GH0.tar.gz) = 14482919
|
||||
TIMESTAMP = 1517213252
|
||||
SHA256 (owncloud-client-v2.4.0_GH0.tar.gz) = e4abdd33f24e21f15df53f2e8de90d123f974c519259a8c9d86d22c8e4103b86
|
||||
SIZE (owncloud-client-v2.4.0_GH0.tar.gz) = 14732065
|
||||
|
@ -1,11 +1,11 @@
|
||||
--- doc/CMakeLists.txt.orig 2015-03-16 14:28:58 UTC
|
||||
--- doc/CMakeLists.txt.orig 2017-12-20 15:03:02 UTC
|
||||
+++ doc/CMakeLists.txt
|
||||
@@ -12,6 +12,8 @@ if(SPHINX_FOUND)
|
||||
@@ -11,7 +11,7 @@ if(SPHINX_FOUND)
|
||||
# assets
|
||||
set(LATEX_LOGO "${CMAKE_CURRENT_SOURCE_DIR}/logo-blue.pdf")
|
||||
|
||||
+ set(CMAKE_INSTALL_DOCDIR "${CMAKE_INSTALL_DATAROOTDIR}/doc/owncloudclient")
|
||||
+
|
||||
install(DIRECTORY ${SPHINX_HTML_DIR} DESTINATION ${CMAKE_INSTALL_DOCDIR} OPTIONAL)
|
||||
install(DIRECTORY ${SPHINX_MAN_DIR} DESTINATION ${CMAKE_INSTALL_MANDIR} OPTIONAL)
|
||||
install(DIRECTORY ${SPHINX_PDF_DIR} DESTINATION ${CMAKE_INSTALL_DOCDIR} OPTIONAL)
|
||||
- set(APPLICATION_DOC_DIR "${CMAKE_INSTALL_DOCDIR}/${PACKAGE}")
|
||||
+ set(APPLICATION_DOC_DIR "${CMAKE_INSTALL_DATAROOTDIR}/doc/owncloudclient")
|
||||
install(DIRECTORY ${SPHINX_HTML_DIR} DESTINATION ${APPLICATION_DOC_DIR} OPTIONAL)
|
||||
install(DIRECTORY ${SPHINX_PDF_DIR} DESTINATION ${APPLICATION_DOC_DIR} OPTIONAL)
|
||||
install(DIRECTORY ${SPHINX_QCH_DIR} DESTINATION ${APPLICATION_DOC_DIR} OPTIONAL)
|
||||
|
15
deskutils/owncloudclient/files/patch-man_CMakeLists.txt
Normal file
15
deskutils/owncloudclient/files/patch-man_CMakeLists.txt
Normal file
@ -0,0 +1,15 @@
|
||||
--- man/CMakeLists.txt.orig 2017-12-20 15:03:02 UTC
|
||||
+++ man/CMakeLists.txt
|
||||
@@ -3,6 +3,12 @@ if(SPHINX_FOUND)
|
||||
# Sphinx cache with pickled ReST documents
|
||||
set(SPHINX_CACHE_DIR "${CMAKE_CURRENT_BINARY_DIR}/_doctrees")
|
||||
|
||||
+ if(WITH_DOC)
|
||||
+ add_custom_target(man ALL DEPENDS doc-man COMMENT "Building manual pages...")
|
||||
+ else(WITH_DOC)
|
||||
+ add_custom_target(man DEPENDS doc-maan COMMENT "Building manual pages...")
|
||||
+ endif(WITH_DOC)
|
||||
+
|
||||
# HTML output directory
|
||||
set(SPHINX_MAN_DIR "${CMAKE_CURRENT_BINARY_DIR}/man1")
|
||||
install(DIRECTORY ${SPHINX_MAN_DIR} DESTINATION ${CMAKE_INSTALL_MANDIR} OPTIONAL)
|
@ -1,12 +1,12 @@
|
||||
--- src/gui/accountsettings.cpp.orig 2016-05-12 07:59:12 UTC
|
||||
--- src/gui/accountsettings.cpp.orig 2017-12-20 15:03:02 UTC
|
||||
+++ src/gui/accountsettings.cpp
|
||||
@@ -31,7 +31,8 @@
|
||||
#include "creds/abstractcredentials.h"
|
||||
@@ -34,7 +34,8 @@
|
||||
#include "tooltipupdater.h"
|
||||
#include "filesystem.h"
|
||||
|
||||
-#include <math.h>
|
||||
+#include <climits>
|
||||
+#include <cmath>
|
||||
|
||||
#include <QDebug>
|
||||
#include <QDesktopServices>
|
||||
#include <QDir>
|
||||
|
@ -1,14 +1,14 @@
|
||||
--- src/gui/generalsettings.cpp.orig 2016-05-12 07:59:12 UTC
|
||||
--- src/gui/generalsettings.cpp.orig 2017-12-20 15:03:02 UTC
|
||||
+++ src/gui/generalsettings.cpp
|
||||
@@ -124,6 +124,7 @@
|
||||
@@ -117,6 +117,7 @@ void GeneralSettings::loadMiscSettings()
|
||||
|
||||
void GeneralSettings::slotUpdateInfo()
|
||||
{
|
||||
+#if 0
|
||||
// Note: the sparkle-updater is not an OCUpdater
|
||||
OCUpdater *updater = qobject_cast<OCUpdater*>(Updater::instance());
|
||||
OCUpdater *updater = qobject_cast<OCUpdater *>(Updater::instance());
|
||||
if (ConfigFile().skipUpdateCheck()) {
|
||||
@@ -140,6 +141,7 @@
|
||||
@@ -133,6 +134,7 @@ void GeneralSettings::slotUpdateInfo()
|
||||
// can't have those infos from sparkle currently
|
||||
_ui->updatesGroupBox->setVisible(false);
|
||||
}
|
||||
|
@ -1,7 +1,7 @@
|
||||
--- src/gui/owncloudgui.cpp.orig 2016-05-12 07:59:12 UTC
|
||||
--- src/gui/owncloudgui.cpp.orig 2017-12-20 15:03:02 UTC
|
||||
+++ src/gui/owncloudgui.cpp
|
||||
@@ -34,6 +34,8 @@
|
||||
#include "accountmanager.h"
|
||||
@@ -35,6 +35,8 @@
|
||||
#include "common/syncjournalfilerecord.h"
|
||||
#include "creds/abstractcredentials.h"
|
||||
|
||||
+#include <climits>
|
||||
|
@ -1,8 +1,8 @@
|
||||
--- src/libsync/configfile.cpp.orig 2016-05-12 07:59:12 UTC
|
||||
--- src/libsync/configfile.cpp.orig 2017-12-20 15:03:02 UTC
|
||||
+++ src/libsync/configfile.cpp
|
||||
@@ -415,11 +415,22 @@ bool ConfigFile::skipUpdateCheck( const
|
||||
QString con( connection );
|
||||
if( connection.isEmpty() ) con = defaultConnection();
|
||||
@@ -448,11 +448,22 @@ bool ConfigFile::skipUpdateCheck(const QString &connec
|
||||
if (connection.isEmpty())
|
||||
con = defaultConnection();
|
||||
|
||||
+#if 0
|
||||
QVariant fallback = getValue(QLatin1String(skipUpdateCheckC), con, false);
|
||||
@ -22,4 +22,4 @@
|
||||
+#endif
|
||||
}
|
||||
|
||||
void ConfigFile::setSkipUpdateCheck( bool skip, const QString& connection )
|
||||
void ConfigFile::setSkipUpdateCheck(bool skip, const QString &connection)
|
||||
|
@ -1,11 +0,0 @@
|
||||
--- src/libsync/syncjournaldb.h.orig 2015-03-16 14:28:58 UTC
|
||||
+++ src/libsync/syncjournaldb.h
|
||||
@@ -19,6 +19,8 @@
|
||||
#include <QDateTime>
|
||||
#include <QHash>
|
||||
|
||||
+#include <ctime>
|
||||
+
|
||||
#include "utility.h"
|
||||
#include "ownsql.h"
|
||||
|
@ -1,10 +0,0 @@
|
||||
--- src/libsync/syncjournalfilerecord.h.orig 2015-03-16 14:28:58 UTC
|
||||
+++ src/libsync/syncjournalfilerecord.h
|
||||
@@ -14,6 +14,7 @@
|
||||
#ifndef SYNCJOURNALFILERECORD_H
|
||||
#define SYNCJOURNALFILERECORD_H
|
||||
|
||||
+#include <time.h>
|
||||
#include <QString>
|
||||
#include <QDateTime>
|
||||
|
@ -9,7 +9,6 @@ include/owncloudsync/mirall/networkjobs.h
|
||||
include/owncloudsync/mirall/progressdispatcher.h
|
||||
include/owncloudsync/mirall/syncengine.h
|
||||
include/owncloudsync/mirall/syncfileitem.h
|
||||
include/owncloudsync/mirall/syncjournaldb.h
|
||||
include/owncloudsync/mirall/syncresult.h
|
||||
lib/libowncloudsync.so
|
||||
lib/libowncloudsync.so.0
|
||||
@ -29,6 +28,7 @@ share/caja-python/extensions/syncstate-ownCloud.py
|
||||
%%PORTDOCS%%%%DOCSDIR%%/html/unthemed/_images/client-7.png
|
||||
%%PORTDOCS%%%%DOCSDIR%%/html/unthemed/_images/client-8.png
|
||||
%%PORTDOCS%%%%DOCSDIR%%/html/unthemed/_images/client-9.png
|
||||
%%PORTDOCS%%%%DOCSDIR%%/html/unthemed/_images/client-activity.png
|
||||
%%PORTDOCS%%%%DOCSDIR%%/html/unthemed/_images/client12.png
|
||||
%%PORTDOCS%%%%DOCSDIR%%/html/unthemed/_images/client6.png
|
||||
%%PORTDOCS%%%%DOCSDIR%%/html/unthemed/_images/folderwizard_local.png
|
||||
@ -43,6 +43,9 @@ share/caja-python/extensions/syncstate-ownCloud.py
|
||||
%%PORTDOCS%%%%DOCSDIR%%/html/unthemed/_images/log_output_window.png
|
||||
%%PORTDOCS%%%%DOCSDIR%%/html/unthemed/_images/mac-share.png
|
||||
%%PORTDOCS%%%%DOCSDIR%%/html/unthemed/_images/menu.png
|
||||
%%PORTDOCS%%%%DOCSDIR%%/html/unthemed/_images/ownCloud-remove_existing_connection.png
|
||||
%%PORTDOCS%%%%DOCSDIR%%/html/unthemed/_images/ownCloud-remove_existing_connection_confirmation_dialog.png
|
||||
%%PORTDOCS%%%%DOCSDIR%%/html/unthemed/_images/ownCloud-replacement_connection_wizard.png
|
||||
%%PORTDOCS%%%%DOCSDIR%%/html/unthemed/_images/save_log_file.png
|
||||
%%PORTDOCS%%%%DOCSDIR%%/html/unthemed/_images/settings_account.png
|
||||
%%PORTDOCS%%%%DOCSDIR%%/html/unthemed/_images/settings_activity.png
|
||||
@ -50,11 +53,13 @@ share/caja-python/extensions/syncstate-ownCloud.py
|
||||
%%PORTDOCS%%%%DOCSDIR%%/html/unthemed/_images/settings_network.png
|
||||
%%PORTDOCS%%%%DOCSDIR%%/html/unthemed/_images/share-1.png
|
||||
%%PORTDOCS%%%%DOCSDIR%%/html/unthemed/_images/share-2.png
|
||||
%%PORTDOCS%%%%DOCSDIR%%/html/unthemed/_images/testing-checksums.png
|
||||
%%PORTDOCS%%%%DOCSDIR%%/html/unthemed/_sources/advancedusage.rst.txt
|
||||
%%PORTDOCS%%%%DOCSDIR%%/html/unthemed/_sources/architecture.rst.txt
|
||||
%%PORTDOCS%%%%DOCSDIR%%/html/unthemed/_sources/autoupdate.rst.txt
|
||||
%%PORTDOCS%%%%DOCSDIR%%/html/unthemed/_sources/building.rst.txt
|
||||
%%PORTDOCS%%%%DOCSDIR%%/html/unthemed/_sources/conffile.rst.txt
|
||||
%%PORTDOCS%%%%DOCSDIR%%/html/unthemed/_sources/envvars.rst.txt
|
||||
%%PORTDOCS%%%%DOCSDIR%%/html/unthemed/_sources/faq.rst.txt
|
||||
%%PORTDOCS%%%%DOCSDIR%%/html/unthemed/_sources/glossary.rst.txt
|
||||
%%PORTDOCS%%%%DOCSDIR%%/html/unthemed/_sources/index.rst.txt
|
||||
@ -63,8 +68,6 @@ share/caja-python/extensions/syncstate-ownCloud.py
|
||||
%%PORTDOCS%%%%DOCSDIR%%/html/unthemed/_sources/lowdiskspace.rst.txt
|
||||
%%PORTDOCS%%%%DOCSDIR%%/html/unthemed/_sources/navigating.rst.txt
|
||||
%%PORTDOCS%%%%DOCSDIR%%/html/unthemed/_sources/options.rst.txt
|
||||
%%PORTDOCS%%%%DOCSDIR%%/html/unthemed/_sources/owncloud.1.rst.txt
|
||||
%%PORTDOCS%%%%DOCSDIR%%/html/unthemed/_sources/owncloudcmd.1.rst.txt
|
||||
%%PORTDOCS%%%%DOCSDIR%%/html/unthemed/_sources/owncloudcmd.rst.txt
|
||||
%%PORTDOCS%%%%DOCSDIR%%/html/unthemed/_sources/troubleshooting.rst.txt
|
||||
%%PORTDOCS%%%%DOCSDIR%%/html/unthemed/_sources/visualtour.rst.txt
|
||||
@ -96,6 +99,7 @@ share/caja-python/extensions/syncstate-ownCloud.py
|
||||
%%PORTDOCS%%%%DOCSDIR%%/html/unthemed/autoupdate.html
|
||||
%%PORTDOCS%%%%DOCSDIR%%/html/unthemed/building.html
|
||||
%%PORTDOCS%%%%DOCSDIR%%/html/unthemed/conffile.html
|
||||
%%PORTDOCS%%%%DOCSDIR%%/html/unthemed/envvars.html
|
||||
%%PORTDOCS%%%%DOCSDIR%%/html/unthemed/faq.html
|
||||
%%PORTDOCS%%%%DOCSDIR%%/html/unthemed/genindex.html
|
||||
%%PORTDOCS%%%%DOCSDIR%%/html/unthemed/glossary.html
|
||||
@ -106,8 +110,6 @@ share/caja-python/extensions/syncstate-ownCloud.py
|
||||
%%PORTDOCS%%%%DOCSDIR%%/html/unthemed/navigating.html
|
||||
%%PORTDOCS%%%%DOCSDIR%%/html/unthemed/objects.inv
|
||||
%%PORTDOCS%%%%DOCSDIR%%/html/unthemed/options.html
|
||||
%%PORTDOCS%%%%DOCSDIR%%/html/unthemed/owncloud.1.html
|
||||
%%PORTDOCS%%%%DOCSDIR%%/html/unthemed/owncloudcmd.1.html
|
||||
%%PORTDOCS%%%%DOCSDIR%%/html/unthemed/owncloudcmd.html
|
||||
%%PORTDOCS%%%%DOCSDIR%%/html/unthemed/search.html
|
||||
%%PORTDOCS%%%%DOCSDIR%%/html/unthemed/searchindex.js
|
||||
@ -121,8 +123,10 @@ share/caja-python/extensions/syncstate-ownCloud.py
|
||||
%%PORTDOCS%%%%DOCSDIR%%/latex/client-7.png
|
||||
%%PORTDOCS%%%%DOCSDIR%%/latex/client-8.png
|
||||
%%PORTDOCS%%%%DOCSDIR%%/latex/client-9.png
|
||||
%%PORTDOCS%%%%DOCSDIR%%/latex/client-activity.png
|
||||
%%PORTDOCS%%%%DOCSDIR%%/latex/client12.png
|
||||
%%PORTDOCS%%%%DOCSDIR%%/latex/client6.png
|
||||
%%PORTDOCS%%%%DOCSDIR%%/latex/footnotehyper-sphinx.sty
|
||||
%%PORTDOCS%%%%DOCSDIR%%/latex/icon-error.png
|
||||
%%PORTDOCS%%%%DOCSDIR%%/latex/icon-information.png
|
||||
%%PORTDOCS%%%%DOCSDIR%%/latex/icon-offline.png
|
||||
@ -130,18 +134,18 @@ share/caja-python/extensions/syncstate-ownCloud.py
|
||||
%%PORTDOCS%%%%DOCSDIR%%/latex/icon-syncing.png
|
||||
%%PORTDOCS%%%%DOCSDIR%%/latex/icon.png
|
||||
%%PORTDOCS%%%%DOCSDIR%%/latex/ignored_files_editor.png
|
||||
%%PORTDOCS%%%%DOCSDIR%%/latex/latexmkjarc
|
||||
%%PORTDOCS%%%%DOCSDIR%%/latex/latexmkrc
|
||||
%%PORTDOCS%%%%DOCSDIR%%/latex/log_output_window.png
|
||||
%%PORTDOCS%%%%DOCSDIR%%/latex/logo-blue.pdf
|
||||
%%PORTDOCS%%%%DOCSDIR%%/latex/mac-share.png
|
||||
%%PORTDOCS%%%%DOCSDIR%%/latex/menu.png
|
||||
%%PORTDOCS%%%%DOCSDIR%%/latex/footnotehyper-sphinx.sty
|
||||
%%PORTDOCS%%%%DOCSDIR%%/latex/latexmkjarc
|
||||
%%PORTDOCS%%%%DOCSDIR%%/latex/latexmkrc
|
||||
%%PORTDOCS%%%%DOCSDIR%%/latex/ownCloud-remove_existing_connection.png
|
||||
%%PORTDOCS%%%%DOCSDIR%%/latex/ownCloud-remove_existing_connection_confirmation_dialog.png
|
||||
%%PORTDOCS%%%%DOCSDIR%%/latex/ownCloud-replacement_connection_wizard.png
|
||||
%%PORTDOCS%%%%DOCSDIR%%/latex/ownCloudClientManual.aux
|
||||
%%PORTDOCS%%%%DOCSDIR%%/latex/ownCloudClientManual.fdb_latexmk
|
||||
%%PORTDOCS%%%%DOCSDIR%%/latex/ownCloudClientManual.fls
|
||||
%%PORTDOCS%%%%DOCSDIR%%/latex/sphinxhighlight.sty
|
||||
%%PORTDOCS%%%%DOCSDIR%%/latex/sphinxmulticell.sty
|
||||
%%PORTDOCS%%%%DOCSDIR%%/latex/ownCloudClientManual.aux
|
||||
%%PORTDOCS%%%%DOCSDIR%%/latex/ownCloudClientManual.idx
|
||||
%%PORTDOCS%%%%DOCSDIR%%/latex/ownCloudClientManual.ilg
|
||||
%%PORTDOCS%%%%DOCSDIR%%/latex/ownCloudClientManual.ind
|
||||
@ -156,8 +160,12 @@ share/caja-python/extensions/syncstate-ownCloud.py
|
||||
%%PORTDOCS%%%%DOCSDIR%%/latex/share-1.png
|
||||
%%PORTDOCS%%%%DOCSDIR%%/latex/share-2.png
|
||||
%%PORTDOCS%%%%DOCSDIR%%/latex/sphinx.sty
|
||||
%%PORTDOCS%%%%DOCSDIR%%/latex/sphinxhighlight.sty
|
||||
%%PORTDOCS%%%%DOCSDIR%%/latex/sphinxhowto.cls
|
||||
%%PORTDOCS%%%%DOCSDIR%%/latex/sphinxmanual.cls
|
||||
%%PORTDOCS%%%%DOCSDIR%%/latex/sphinxmulticell.sty
|
||||
%%PORTDOCS%%%%DOCSDIR%%/latex/testing-checksums.png
|
||||
share/icons/hicolor/1024x1024/apps/owncloud.png
|
||||
share/icons/hicolor/128x128/apps/ownCloud_error.png
|
||||
share/icons/hicolor/128x128/apps/ownCloud_error_shared.png
|
||||
share/icons/hicolor/128x128/apps/ownCloud_ok.png
|
||||
@ -175,6 +183,7 @@ share/icons/hicolor/16x16/apps/ownCloud_sync.png
|
||||
share/icons/hicolor/16x16/apps/ownCloud_sync_shared.png
|
||||
share/icons/hicolor/16x16/apps/ownCloud_warn.png
|
||||
share/icons/hicolor/16x16/apps/ownCloud_warn_shared.png
|
||||
share/icons/hicolor/16x16/apps/owncloud.png
|
||||
share/icons/hicolor/22x22/apps/owncloud.png
|
||||
share/icons/hicolor/256x256/apps/ownCloud_error.png
|
||||
share/icons/hicolor/256x256/apps/ownCloud_error_shared.png
|
||||
|
Loading…
Reference in New Issue
Block a user