Index: head/deskutils/nextcloudclient/Makefile =================================================================== --- head/deskutils/nextcloudclient/Makefile (nonexistent) +++ head/deskutils/nextcloudclient/Makefile (revision 465464) @@ -0,0 +1,58 @@ +# Created by: Mathieu Arnold +# $FreeBSD$ + +PORTNAME= nextcloudclient +PORTVERSION= 0.0.0.20180323 +#DISTVERSIONPREFIX= v +#PORTREVISION= 1 +CATEGORIES= deskutils + +MAINTAINER= mr@freebsd.org +COMMENT= NextCloud Desktop Syncing Client + +LICENSE= GPLv2 + +LIB_DEPENDS= libinotify.so:devel/libinotify \ + libqt5keychain.so:security/qtkeychain@qt5 + +USES= cmake:outsource,noninja compiler:c++11-lib gmake iconv \ + localbase:ldflags pkgconfig sqlite ssl +USE_QT5= buildtools_build concurrent core dbus gui linguist_build network \ + qmake_build sql webkit widgets xml +CMAKE_ARGS= -DBUILD_WITH_QT4:BOOL=OFF \ + -DCMAKE_INSTALL_MANDIR:STRING=man \ + -DWITH_STACK_PROTECTOR:BOOL=OFF +USE_LDCONFIG= yes +INSTALLS_ICONS= yes + +USE_GITHUB= yes +GH_ACCOUNT= nextcloud +GH_PROJECT= client +GH_TAGNAME= 4c40789dcafe5b193e125620b63dcc95e08ffba5 + +#OPTIONS_DEFINE= DEBUG DOCS +OPTIONS_DEFINE= DEBUG # DOCS doesn't build currently + +#DOCS_BUILD_DEPENDS= sphinx-build:textproc/py-sphinx \ +# doxygen:devel/doxygen +#DOCS_USE= tex=dvipsk:build,latex:build +#DOCS_CMAKE_ON= -DWITH_DOC:BOOL=ON + +DEBUG_CMAKE_ON= -DCMAKE_BUILD_TYPE:STRING=Debug + +PLIST_SUB= VERSION=${PORTVERSION} + +.include + +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 Property changes on: head/deskutils/nextcloudclient/Makefile ___________________________________________________________________ Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:keywords ## -0,0 +1 ## +FreeBSD=%H \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: head/deskutils/nextcloudclient/distinfo =================================================================== --- head/deskutils/nextcloudclient/distinfo (nonexistent) +++ head/deskutils/nextcloudclient/distinfo (revision 465464) @@ -0,0 +1,3 @@ +TIMESTAMP = 1521915864 +SHA256 (nextcloud-client-0.0.0.20180323-4c40789dcafe5b193e125620b63dcc95e08ffba5_GH0.tar.gz) = 311028a8dadc9137699255f9b1d619c45f5ce820f2942697285339bfc6c0e836 +SIZE (nextcloud-client-0.0.0.20180323-4c40789dcafe5b193e125620b63dcc95e08ffba5_GH0.tar.gz) = 18378272 Property changes on: head/deskutils/nextcloudclient/distinfo ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: head/deskutils/nextcloudclient/pkg-descr =================================================================== --- head/deskutils/nextcloudclient/pkg-descr (nonexistent) +++ head/deskutils/nextcloudclient/pkg-descr (revision 465464) @@ -0,0 +1,4 @@ +The NextCloud Desktop Client is a tool to synchronize files +from ownCloud Server with your computer. + +WWW: https://github.com/nextcloud/client Property changes on: head/deskutils/nextcloudclient/pkg-descr ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: head/deskutils/nextcloudclient/pkg-plist =================================================================== --- head/deskutils/nextcloudclient/pkg-plist (nonexistent) +++ head/deskutils/nextcloudclient/pkg-plist (revision 465464) @@ -0,0 +1,119 @@ +bin/nextcloud +bin/nextcloudcmd +etc/Nextcloud/sync-exclude.lst.sample +include/nextcloudsync/creds/abstractcredentials.h +include/nextcloudsync/creds/httpcredentials.h +include/nextcloudsync/mirall/account.h +include/nextcloudsync/mirall/configfile.h +include/nextcloudsync/mirall/networkjobs.h +include/nextcloudsync/mirall/progressdispatcher.h +include/nextcloudsync/mirall/syncengine.h +include/nextcloudsync/mirall/syncfileitem.h +include/nextcloudsync/mirall/syncresult.h +lib/libnextcloudsync.so +lib/libnextcloudsync.so.0 +lib/libnextcloudsync.so.2.5.0 +lib/nextcloud/libocsync.so +lib/nextcloud/libocsync.so.0 +lib/nextcloud/libocsync.so.2.5.0 +share/applications/nextcloud.desktop +share/caja-python/extensions/syncstate-Nextcloud.py +share/icons/hicolor/1024x1024/apps/Nextcloud.png +share/icons/hicolor/128x128/apps/Nextcloud.png +share/icons/hicolor/128x128/apps/Nextcloud_error.png +share/icons/hicolor/128x128/apps/Nextcloud_error_shared.png +share/icons/hicolor/128x128/apps/Nextcloud_ok.png +share/icons/hicolor/128x128/apps/Nextcloud_ok_shared.png +share/icons/hicolor/128x128/apps/Nextcloud_sync.png +share/icons/hicolor/128x128/apps/Nextcloud_sync_shared.png +share/icons/hicolor/128x128/apps/Nextcloud_warn.png +share/icons/hicolor/128x128/apps/Nextcloud_warn_shared.png +share/icons/hicolor/16x16/apps/Nextcloud.png +share/icons/hicolor/16x16/apps/Nextcloud_error.png +share/icons/hicolor/16x16/apps/Nextcloud_error_shared.png +share/icons/hicolor/16x16/apps/Nextcloud_ok.png +share/icons/hicolor/16x16/apps/Nextcloud_ok_shared.png +share/icons/hicolor/16x16/apps/Nextcloud_sync.png +share/icons/hicolor/16x16/apps/Nextcloud_sync_shared.png +share/icons/hicolor/16x16/apps/Nextcloud_warn.png +share/icons/hicolor/16x16/apps/Nextcloud_warn_shared.png +share/icons/hicolor/22x22/apps/Nextcloud.png +share/icons/hicolor/256x256/apps/Nextcloud.png +share/icons/hicolor/256x256/apps/Nextcloud_error.png +share/icons/hicolor/256x256/apps/Nextcloud_error_shared.png +share/icons/hicolor/256x256/apps/Nextcloud_ok.png +share/icons/hicolor/256x256/apps/Nextcloud_ok_shared.png +share/icons/hicolor/256x256/apps/Nextcloud_sync.png +share/icons/hicolor/256x256/apps/Nextcloud_sync_shared.png +share/icons/hicolor/256x256/apps/Nextcloud_warn.png +share/icons/hicolor/256x256/apps/Nextcloud_warn_shared.png +share/icons/hicolor/32x32/apps/Nextcloud.png +share/icons/hicolor/32x32/apps/Nextcloud_error.png +share/icons/hicolor/32x32/apps/Nextcloud_error_shared.png +share/icons/hicolor/32x32/apps/Nextcloud_ok.png +share/icons/hicolor/32x32/apps/Nextcloud_ok_shared.png +share/icons/hicolor/32x32/apps/Nextcloud_sync.png +share/icons/hicolor/32x32/apps/Nextcloud_sync_shared.png +share/icons/hicolor/32x32/apps/Nextcloud_warn.png +share/icons/hicolor/32x32/apps/Nextcloud_warn_shared.png +share/icons/hicolor/48x48/apps/Nextcloud.png +share/icons/hicolor/48x48/apps/Nextcloud_error.png +share/icons/hicolor/48x48/apps/Nextcloud_error_shared.png +share/icons/hicolor/48x48/apps/Nextcloud_ok.png +share/icons/hicolor/48x48/apps/Nextcloud_ok_shared.png +share/icons/hicolor/48x48/apps/Nextcloud_sync.png +share/icons/hicolor/48x48/apps/Nextcloud_sync_shared.png +share/icons/hicolor/48x48/apps/Nextcloud_warn.png +share/icons/hicolor/48x48/apps/Nextcloud_warn_shared.png +share/icons/hicolor/512x512/apps/Nextcloud.png +share/icons/hicolor/64x64/apps/Nextcloud.png +share/icons/hicolor/64x64/apps/Nextcloud_error.png +share/icons/hicolor/64x64/apps/Nextcloud_error_shared.png +share/icons/hicolor/64x64/apps/Nextcloud_ok.png +share/icons/hicolor/64x64/apps/Nextcloud_ok_shared.png +share/icons/hicolor/64x64/apps/Nextcloud_sync.png +share/icons/hicolor/64x64/apps/Nextcloud_sync_shared.png +share/icons/hicolor/64x64/apps/Nextcloud_warn.png +share/icons/hicolor/64x64/apps/Nextcloud_warn_shared.png +share/icons/hicolor/72x72/apps/Nextcloud_error.png +share/icons/hicolor/72x72/apps/Nextcloud_error_shared.png +share/icons/hicolor/72x72/apps/Nextcloud_ok.png +share/icons/hicolor/72x72/apps/Nextcloud_ok_shared.png +share/icons/hicolor/72x72/apps/Nextcloud_sync.png +share/icons/hicolor/72x72/apps/Nextcloud_sync_shared.png +share/icons/hicolor/72x72/apps/Nextcloud_warn.png +share/icons/hicolor/72x72/apps/Nextcloud_warn_shared.png +share/nautilus-python/extensions/syncstate-Nextcloud.py +share/nemo-python/extensions/syncstate-Nextcloud.py +share/nextcloud/i18n/client_TW.qm +share/nextcloud/i18n/client_ca.qm +share/nextcloud/i18n/client_cs.qm +share/nextcloud/i18n/client_de.qm +share/nextcloud/i18n/client_el.qm +share/nextcloud/i18n/client_en.qm +share/nextcloud/i18n/client_es.qm +share/nextcloud/i18n/client_es_AR.qm +share/nextcloud/i18n/client_et.qm +share/nextcloud/i18n/client_eu.qm +share/nextcloud/i18n/client_fa.qm +share/nextcloud/i18n/client_fi.qm +share/nextcloud/i18n/client_fr.qm +share/nextcloud/i18n/client_gl.qm +share/nextcloud/i18n/client_hu.qm +share/nextcloud/i18n/client_it.qm +share/nextcloud/i18n/client_ja.qm +share/nextcloud/i18n/client_nb_NO.qm +share/nextcloud/i18n/client_nl.qm +share/nextcloud/i18n/client_pl.qm +share/nextcloud/i18n/client_pt.qm +share/nextcloud/i18n/client_pt_BR.qm +share/nextcloud/i18n/client_ru.qm +share/nextcloud/i18n/client_sk.qm +share/nextcloud/i18n/client_sl.qm +share/nextcloud/i18n/client_sr.qm +share/nextcloud/i18n/client_sv.qm +share/nextcloud/i18n/client_th.qm +share/nextcloud/i18n/client_tr.qm +share/nextcloud/i18n/client_uk.qm +share/nextcloud/i18n/client_zh_CN.qm +share/nextcloud/i18n/client_zh_TW.qm Property changes on: head/deskutils/nextcloudclient/pkg-plist ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: head/deskutils/nextcloudclient/files/patch-doc_CMakeLists.txt =================================================================== --- head/deskutils/nextcloudclient/files/patch-doc_CMakeLists.txt (nonexistent) +++ head/deskutils/nextcloudclient/files/patch-doc_CMakeLists.txt (revision 465464) @@ -0,0 +1,11 @@ +--- doc/CMakeLists.txt.orig 2017-12-20 15:03:02 UTC ++++ doc/CMakeLists.txt +@@ -11,7 +11,7 @@ if(SPHINX_FOUND) + # assets + set(LATEX_LOGO "${CMAKE_CURRENT_SOURCE_DIR}/logo-blue.pdf") + +- 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) Property changes on: head/deskutils/nextcloudclient/files/patch-doc_CMakeLists.txt ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: head/deskutils/nextcloudclient/files/patch-man_CMakeLists.txt =================================================================== --- head/deskutils/nextcloudclient/files/patch-man_CMakeLists.txt (nonexistent) +++ head/deskutils/nextcloudclient/files/patch-man_CMakeLists.txt (revision 465464) @@ -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) Property changes on: head/deskutils/nextcloudclient/files/patch-man_CMakeLists.txt ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: head/deskutils/nextcloudclient/files/patch-src_gui_accountsettings.cpp =================================================================== --- head/deskutils/nextcloudclient/files/patch-src_gui_accountsettings.cpp (nonexistent) +++ head/deskutils/nextcloudclient/files/patch-src_gui_accountsettings.cpp (revision 465464) @@ -0,0 +1,12 @@ +--- src/gui/accountsettings.cpp.orig 2017-12-20 15:03:02 UTC ++++ src/gui/accountsettings.cpp +@@ -34,7 +34,8 @@ + #include "tooltipupdater.h" + #include "filesystem.h" + +-#include ++#include ++#include + + #include + #include Property changes on: head/deskutils/nextcloudclient/files/patch-src_gui_accountsettings.cpp ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: head/deskutils/nextcloudclient/files/patch-src_gui_generalsettings.cpp =================================================================== --- head/deskutils/nextcloudclient/files/patch-src_gui_generalsettings.cpp (nonexistent) +++ head/deskutils/nextcloudclient/files/patch-src_gui_generalsettings.cpp (revision 465464) @@ -0,0 +1,18 @@ +--- src/gui/generalsettings.cpp.orig 2017-12-20 15:03:02 UTC ++++ src/gui/generalsettings.cpp +@@ -117,6 +117,7 @@ void GeneralSettings::loadMiscSettings() + + void GeneralSettings::slotUpdateInfo() + { ++#if 0 + // Note: the sparkle-updater is not an OCUpdater + OCUpdater *updater = qobject_cast(Updater::instance()); + if (ConfigFile().skipUpdateCheck()) { +@@ -133,6 +134,7 @@ void GeneralSettings::slotUpdateInfo() + // can't have those infos from sparkle currently + _ui->updatesGroupBox->setVisible(false); + } ++#endif + } + + void GeneralSettings::saveMiscSettings() Property changes on: head/deskutils/nextcloudclient/files/patch-src_gui_generalsettings.cpp ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: head/deskutils/nextcloudclient/files/patch-src_gui_owncloudgui.cpp =================================================================== --- head/deskutils/nextcloudclient/files/patch-src_gui_owncloudgui.cpp (nonexistent) +++ head/deskutils/nextcloudclient/files/patch-src_gui_owncloudgui.cpp (revision 465464) @@ -0,0 +1,11 @@ +--- src/gui/owncloudgui.cpp.orig 2017-12-20 15:03:02 UTC ++++ src/gui/owncloudgui.cpp +@@ -35,6 +35,8 @@ + #include "common/syncjournalfilerecord.h" + #include "creds/abstractcredentials.h" + ++#include ++ + #include + #include + #include Property changes on: head/deskutils/nextcloudclient/files/patch-src_gui_owncloudgui.cpp ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: head/deskutils/nextcloudclient/files/patch-src_libsync_configfile.cpp =================================================================== --- head/deskutils/nextcloudclient/files/patch-src_libsync_configfile.cpp (nonexistent) +++ head/deskutils/nextcloudclient/files/patch-src_libsync_configfile.cpp (revision 465464) @@ -0,0 +1,25 @@ +--- src/libsync/configfile.cpp.orig 2017-12-20 15:03:02 UTC ++++ src/libsync/configfile.cpp +@@ -448,11 +448,22 @@ bool ConfigFile::skipUpdateCheck(const QString &connec + if (connection.isEmpty()) + con = defaultConnection(); + ++#if 0 + QVariant fallback = getValue(QLatin1String(skipUpdateCheckC), con, false); ++#else ++ QVariant fallback = getValue(QLatin1String(skipUpdateCheckC), con, true); ++#endif + fallback = getValue(QLatin1String(skipUpdateCheckC), QString(), fallback); + + QVariant value = getPolicySetting(QLatin1String(skipUpdateCheckC), fallback); ++#if 0 + return value.toBool(); ++#else ++ if ( !value.toBool() ) ++ qDebug() << "FreeBSD package disabled the UpdateCheck mechanism."; ++ ++ return true; ++#endif + } + + void ConfigFile::setSkipUpdateCheck(bool skip, const QString &connection) Property changes on: head/deskutils/nextcloudclient/files/patch-src_libsync_configfile.cpp ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property