- Add it as an optional dependency for linux builds,
controlled by WITH_LIBCLOUDPROVIDERS, which is enabled automatically
if the dependencies are available. Note that >=0.3.0 is required.
- Add code to export sync folders through the library and to add a
minimal "Settings..." menu action.
- Set up cloud provider registration by installing a file into a
path like /usr/share/cloud-providers/.
- DBus name and path are derived from APPLICATION_REV_DOMAIN by default
and may be overridden with APPLICATION_CLOUDPROVIDERS_DBUS_NAME and
APPLICATION_CLOUDPROVIDERS_DBUS_PATH if necessary.
Installing to lib/${APPLICATION_EXECUTABLE} has caused a bunch of
irritations in the past and subtle annoying to fix bugs. To avoid name
clashes with branded clients ${APPLICATION_EXECUTABLE} becomes now
part of the filename instead of the subfolder.
The concrete motivation to change this now is that on Windows there
is no RPATH and it's not possible to run owncloud directly from the
Craft Root folder, which is nice when you're developing on Windows.
It would have been possible to change this just for Windows but as
written earlier this has caused lots of issues and thus I think it's
a good idea to just stay consistent accross platforms when touching it.
The option -Wno-discarded-qualifiers only exists with GCC, clang warns that
it has no effects.
Also it warns when some virtual fuction are marked with override but not
all of them.
cmake/modules/ECMAddAppIcon.cmake is heavily patched to support sidebar icons, OUTFILE_BASE parameter and to not include 64 and 64@2x icons on macOS which are not supported. All changes are made in a way that we can upstream this.
All our crypto code is handled by qt nodaways.
No need to carry this dependency.
Especially since it causes warnings on system where there are
twp openssl version installed:
/usr/bin/ld: warning: libcrypto.so.1.0.0, needed by /usr/lib/libQt5Network.so.5.9.0, may conflict with libcrypto.so.1.1