pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/net/owncloudclient owncloudclient: Update to 2.7.6.326...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/159f934f5f66
branches:  trunk
changeset: 448466:159f934f5f66
user:      nia <nia%pkgsrc.org@localhost>
date:      Mon Mar 08 13:17:53 2021 +0000

description:
owncloudclient: Update to 2.7.6.3261. Builds again.

diffstat:

 net/owncloudclient/Makefile                     |  46 +++++--------
 net/owncloudclient/PLIST                        |  78 +++---------------------
 net/owncloudclient/distinfo                     |  11 +-
 net/owncloudclient/patches/patch-CMakeLists.txt |  15 ++++
 4 files changed, 50 insertions(+), 100 deletions(-)

diffs (204 lines):

diff -r 90a7215b6b21 -r 159f934f5f66 net/owncloudclient/Makefile
--- a/net/owncloudclient/Makefile       Mon Mar 08 13:07:38 2021 +0000
+++ b/net/owncloudclient/Makefile       Mon Mar 08 13:17:53 2021 +0000
@@ -1,9 +1,9 @@
-# $NetBSD: Makefile,v 1.29 2020/11/05 09:08:55 ryoon Exp $
+# $NetBSD: Makefile,v 1.30 2021/03/08 13:17:53 nia Exp $
 
-DISTNAME=      owncloudclient-2.2.3
-PKGREVISION=   16
+DISTNAME=      ownCloud-2.7.6.3261
+PKGNAME=       ${DISTNAME:S/ownCloud/owncloudclient/1}
 CATEGORIES=    net
-MASTER_SITES=  https://download.owncloud.com/desktop/stable/
+MASTER_SITES=  https://download.owncloud.com/desktop/ownCloud/stable/${PKGVERSION_NOREV}/source/
 EXTRACT_SUFX=  .tar.xz
 
 MAINTAINER=    ryoon%NetBSD.org@localhost
@@ -11,36 +11,26 @@
 COMMENT=       Synchronization program for ownCloud
 LICENSE=       gnu-gpl-v2
 
-BROKEN=                "Fails to build with OpenSSL 1.1"
-
-# Do not use libocsync.so from net/ocsync.
-CONFLICTS=     ocsync-[0-9]*
-CONFLICTS=     mirall-[0-9]*
-
 USE_CMAKE=     yes
 USE_LANGUAGES= c c++
 
-# I have no idea about CMake...
-LDFLAGS+=      ${COMPILER_RPATH_FLAG}${PREFIX}/lib/owncloud
+CMAKE_ARGS+=   -DSYSCONF_INSTALL_DIR=${PKG_SYSCONFDIR}
+CMAKE_ARGS+=   -DBUILD_SHELL_INTEGRATION=OFF
+CMAKE_ARGS+=   -DBUILD_TESTING=OFF
 
-ETCDIR=                        etc/ownCloud
-MAKE_DIRS+=            ${ETCDIR}
-EGDIR=                 ${PREFIX}/share/examples/owncloud
-INSTALLATION_DIRS=     ${ETCDIR} share/examples/owncloud
-CONF_FILES+=           ${EGDIR}/sync-exclude.lst \
-                       ${PKG_SYSCONFDIR}/ownCloud/sync-exclude.lst
+EGDIR=         ${PREFIX}/share/examples/owncloudclient
+CONF_FILES=    ${EGDIR}/sync-exclude.lst \
+               ${PKG_SYSCONFDIR}/ownCloud/sync-exclude.lst
 
-post-install:
-       mv ${DESTDIR}${PKG_SYSCONFDIR}/ownCloud/sync-exclude.lst \
-               ${DESTDIR}${EGDIR}/sync-exclude.lst
-
-.include "../../mk/dlopen.buildlink3.mk"
+.include "../../mk/bsd.prefs.mk"
+BUILDLINK_API_DEPENDS.sqlite3+=        sqlite3>=3.9.0
 .include "../../databases/sqlite3/buildlink3.mk"
-.include "../../devel/libinotify/buildlink3.mk"
+.if ${OPSYS} != "Linux"
+.  include "../../devel/libinotify/buildlink3.mk"
+.endif
+.include "../../devel/zlib/buildlink3.mk"
 .include "../../graphics/hicolor-icon-theme/buildlink3.mk"
-.include "../../security/qt4-qtkeychain/buildlink3.mk"
+.include "../../security/qt5-qtkeychain/buildlink3.mk"
 .include "../../sysutils/desktop-file-utils/desktopdb.mk"
-.include "../../www/neon/buildlink3.mk"
-.include "../../x11/qt4-qdbus/buildlink3.mk"
-.include "../../x11/qt4-tools/buildlink3.mk"
+.include "../../x11/qt5-qtbase/buildlink3.mk"
 .include "../../mk/bsd.pkg.mk"
diff -r 90a7215b6b21 -r 159f934f5f66 net/owncloudclient/PLIST
--- a/net/owncloudclient/PLIST  Mon Mar 08 13:07:38 2021 +0000
+++ b/net/owncloudclient/PLIST  Mon Mar 08 13:17:53 2021 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.5 2016/03/21 11:36:13 ryoon Exp $
+@comment $NetBSD: PLIST,v 1.6 2021/03/08 13:17:53 nia Exp $
 bin/owncloud
 bin/owncloudcmd
 include/owncloudsync/creds/abstractcredentials.h
@@ -9,81 +9,25 @@
 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/libowncloud_csync.so
+lib/libowncloud_csync.so.0
+lib/libowncloud_csync.so.2.7.6
 lib/libowncloudsync.so
 lib/libowncloudsync.so.0
-lib/libowncloudsync.so.${PKGVERSION}
-lib/owncloud/libocsync.so
-lib/owncloud/libocsync.so.0
-lib/owncloud/libocsync.so.${PKGVERSION}
+lib/libowncloudsync.so.2.7.6
+lib/plugins/owncloudsync_vfs_suffix.so
 share/applications/owncloud.desktop
-share/examples/owncloud/sync-exclude.lst
-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
-share/icons/hicolor/128x128/apps/ownCloud_ok_shared.png
-share/icons/hicolor/128x128/apps/ownCloud_sync.png
-share/icons/hicolor/128x128/apps/ownCloud_sync_shared.png
-share/icons/hicolor/128x128/apps/ownCloud_warn.png
-share/icons/hicolor/128x128/apps/ownCloud_warn_shared.png
+share/examples/owncloudclient/sync-exclude.lst
+share/icons/hicolor/1024x1024/apps/owncloud.png
 share/icons/hicolor/128x128/apps/owncloud.png
-share/icons/hicolor/16x16/apps/ownCloud_error.png
-share/icons/hicolor/16x16/apps/ownCloud_error_shared.png
-share/icons/hicolor/16x16/apps/ownCloud_ok.png
-share/icons/hicolor/16x16/apps/ownCloud_ok_shared.png
-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/22x22/apps/owncloud.png
-share/icons/hicolor/256x256/apps/ownCloud_error.png
-share/icons/hicolor/256x256/apps/ownCloud_error_shared.png
-share/icons/hicolor/256x256/apps/ownCloud_ok.png
-share/icons/hicolor/256x256/apps/ownCloud_ok_shared.png
-share/icons/hicolor/256x256/apps/ownCloud_sync.png
-share/icons/hicolor/256x256/apps/ownCloud_sync_shared.png
-share/icons/hicolor/256x256/apps/ownCloud_warn.png
-share/icons/hicolor/256x256/apps/ownCloud_warn_shared.png
+share/icons/hicolor/16x16/apps/owncloud.png
+share/icons/hicolor/24x24/apps/owncloud.png
 share/icons/hicolor/256x256/apps/owncloud.png
-share/icons/hicolor/32x32/apps/ownCloud_error.png
-share/icons/hicolor/32x32/apps/ownCloud_error_shared.png
-share/icons/hicolor/32x32/apps/ownCloud_ok.png
-share/icons/hicolor/32x32/apps/ownCloud_ok_shared.png
-share/icons/hicolor/32x32/apps/ownCloud_sync.png
-share/icons/hicolor/32x32/apps/ownCloud_sync_shared.png
-share/icons/hicolor/32x32/apps/ownCloud_warn.png
-share/icons/hicolor/32x32/apps/ownCloud_warn_shared.png
 share/icons/hicolor/32x32/apps/owncloud.png
-share/icons/hicolor/48x48/apps/ownCloud_error.png
-share/icons/hicolor/48x48/apps/ownCloud_error_shared.png
-share/icons/hicolor/48x48/apps/ownCloud_ok.png
-share/icons/hicolor/48x48/apps/ownCloud_ok_shared.png
-share/icons/hicolor/48x48/apps/ownCloud_sync.png
-share/icons/hicolor/48x48/apps/ownCloud_sync_shared.png
-share/icons/hicolor/48x48/apps/ownCloud_warn.png
-share/icons/hicolor/48x48/apps/ownCloud_warn_shared.png
 share/icons/hicolor/48x48/apps/owncloud.png
-share/icons/hicolor/512x512/apps/owncloud.png
-share/icons/hicolor/64x64/apps/ownCloud_error.png
-share/icons/hicolor/64x64/apps/ownCloud_error_shared.png
-share/icons/hicolor/64x64/apps/ownCloud_ok.png
-share/icons/hicolor/64x64/apps/ownCloud_ok_shared.png
-share/icons/hicolor/64x64/apps/ownCloud_sync.png
-share/icons/hicolor/64x64/apps/ownCloud_sync_shared.png
-share/icons/hicolor/64x64/apps/ownCloud_warn.png
-share/icons/hicolor/64x64/apps/ownCloud_warn_shared.png
 share/icons/hicolor/64x64/apps/owncloud.png
-share/icons/hicolor/72x72/apps/ownCloud_error.png
-share/icons/hicolor/72x72/apps/ownCloud_error_shared.png
-share/icons/hicolor/72x72/apps/ownCloud_ok.png
-share/icons/hicolor/72x72/apps/ownCloud_ok_shared.png
-share/icons/hicolor/72x72/apps/ownCloud_sync.png
-share/icons/hicolor/72x72/apps/ownCloud_sync_shared.png
-share/icons/hicolor/72x72/apps/ownCloud_warn.png
-share/icons/hicolor/72x72/apps/ownCloud_warn_shared.png
-share/nautilus-python/extensions/syncstate.py
-share/nemo-python/extensions/syncstate.py
+share/mime/packages/owncloud.xml
 share/owncloud/i18n/client_TW.qm
 share/owncloud/i18n/client_ca.qm
 share/owncloud/i18n/client_cs.qm
diff -r 90a7215b6b21 -r 159f934f5f66 net/owncloudclient/distinfo
--- a/net/owncloudclient/distinfo       Mon Mar 08 13:07:38 2021 +0000
+++ b/net/owncloudclient/distinfo       Mon Mar 08 13:17:53 2021 +0000
@@ -1,6 +1,7 @@
-$NetBSD: distinfo,v 1.7 2016/09/25 13:19:46 ryoon Exp $
+$NetBSD: distinfo,v 1.8 2021/03/08 13:17:53 nia Exp $
 
-SHA1 (owncloudclient-2.2.3.tar.xz) = b1434b445dc656ca7b90f6452994efdb59781d01
-RMD160 (owncloudclient-2.2.3.tar.xz) = ac18451135f15e5747f0308c733a07a48f2f6777
-SHA512 (owncloudclient-2.2.3.tar.xz) = 71be325e5d6177a767dc61b043bd6126b5b7a492a2a777c0179c2dbb77bf6104e26fce92734a6d4bfcc7b9c451026e86a2f44d39869e9451f21b0e534c26e189
-Size (owncloudclient-2.2.3.tar.xz) = 12215320 bytes
+SHA1 (ownCloud-2.7.6.3261.tar.xz) = 4fe5ea364f43a09d0b491a3028779cd70813a39d
+RMD160 (ownCloud-2.7.6.3261.tar.xz) = 93db5c13f49f1b53ff198779ab6cf3fb7bc89f22
+SHA512 (ownCloud-2.7.6.3261.tar.xz) = 1f647dd0b33472e31719651fa22b5864867d98fa1e2f11f9eadb6ce15382f5f97ac49d726af079716b6fac573367485a6f11a5b2e5e5c95d4d063f6caab51dcd
+Size (ownCloud-2.7.6.3261.tar.xz) = 14237692 bytes
+SHA1 (patch-CMakeLists.txt) = 771e7f10d8841a5700ded762ff17cfd75d72120f
diff -r 90a7215b6b21 -r 159f934f5f66 net/owncloudclient/patches/patch-CMakeLists.txt
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/owncloudclient/patches/patch-CMakeLists.txt   Mon Mar 08 13:17:53 2021 +0000
@@ -0,0 +1,15 @@
+$NetBSD: patch-CMakeLists.txt,v 1.1 2021/03/08 13:17:53 nia Exp $
+
+Install config files to example, per pkgsrc norms.
+
+--- CMakeLists.txt.orig        2021-03-08 13:01:22.353460638 +0000
++++ CMakeLists.txt
+@@ -193,7 +193,7 @@ elseif(BUILD_CLIENT)
+     if(WIN32)
+         install(FILES sync-exclude.lst DESTINATION bin)
+     else()
+-        install(FILES sync-exclude.lst DESTINATION ${SYSCONFDIR}/${APPLICATION_SHORTNAME})
++        install(FILES sync-exclude.lst DESTINATION ${CMAKE_INSTALL_PREFIX}/share/examples/owncloudclient)
+     endif()
+ endif()
+ 



Home | Main Index | Thread Index | Old Index