Bug 193312

Summary: [NEW PORT] net-mgmt/seafile-gui: Seafile desktop client
Product: Ports & Packages Reporter: Jingfeng Yan <yan_jingfeng>
Component: Individual Port(s)Assignee: John Marino <marino>
Status: Closed FIXED    
Severity: Affects Some People CC: marino, yan_jingfeng
Priority: ---    
Version: Latest   
Hardware: Any   
OS: Any   
URL: https://github.com/haiwen/seafile-client
Bug Depends on: 193132, 193133, 193134    
Bug Blocks:    
Attachments:
Description Flags
new port shar file
none
test port log
none
updated shar file
none
portlint -AC output
none
diff from last shar to updated shar
none
updated shar filee
none
portlint -AC output
none
diff from last shar to updated shar
none
updated shar file
none
test port log none

Description Jingfeng Yan 2014-09-04 15:27:29 UTC
Created attachment 146790 [details]
new port shar file

This is Desktop client to enable connection and sync to Seafile server, which could run on Linux, FreeBSD, and Windows.  The client provide simple GUI interface to user to get file, and upload file.
Comment 1 Jingfeng Yan 2014-09-04 15:30:34 UTC
Created attachment 146791 [details]
test port log
Comment 2 Kubilay Kocak freebsd_committer freebsd_triage 2014-09-06 03:03:50 UTC
See review items from bug 193132, bug 193133, bug 193134, and update patch to suite.

Additionally,

 * Multiple USES lines, combine them
Comment 3 Jingfeng Yan 2014-09-06 14:27:21 UTC
Created attachment 146934 [details]
updated shar file
Comment 4 Jingfeng Yan 2014-09-06 14:28:08 UTC
Created attachment 146935 [details]
portlint -AC output
Comment 5 Jingfeng Yan 2014-09-06 14:29:28 UTC
Created attachment 146936 [details]
diff from last shar to updated shar
Comment 6 Jingfeng Yan 2014-09-08 14:45:21 UTC
Created attachment 147067 [details]
updated shar filee

clean out .svn files.
Comment 7 John Marino freebsd_committer freebsd_triage 2014-11-03 07:56:13 UTC
on these lines:
XLIB_DEPENDS+=	libglib-2.0.so:${PORTSDIR}/devel/glib20 \
X		libsearpc.so:${PORTSDIR}/www/libsearpc \
X		libseafile.so:${PORTSDIR}/www/seafile \
X		libsqlite3.so:${PORTSDIR}/databases/sqlite3 \
X		libccnet.so:${PORTSDIR}/www/ccnet \
X		libjansson.so:${PORTSDIR}/devel/jansson

libsearpc and ccnet categories need updating.


for this:
XCATEGORIES=	www

This is probably "net mgmt" category too.
I am getting the idea you just set "WWW" for all these ports as a placeholder and never updated it.
Comment 8 John Marino freebsd_committer freebsd_triage 2014-11-03 08:01:32 UTC
for lines like these:

X+ELSEIF (${CMAKE_SYSTEM_NAME} MATCHES "Linux|FreeBSD")
X     INCLUDE_DIRECTORIES(${QT_QTDBUS_INCLUDE_DIR})
X     LINK_DIRECTORIES(${QT_QTDBUS_LIBRARIES})
X     SET(EXTRA_LIBS ${EXTRA_LIBS} ${QT_QTDBUS_LIBRARIES})
X@@ -42,7 +42,7 @@
X ####################
X ###### BEGIN: QT configuration
X ####################
X-IF (${CMAKE_SYSTEM_NAME} MATCHES "Linux")
X+IF (${CMAKE_SYSTEM_NAME} MATCHES "Linux|FreeBSD")
X   SET(QtDBus "QtDBus")
X ENDIF()
X 
X@@ -380,7 +380,7 @@
X   ${EXTRA_LIBS}
X )
X 
X-IF (${CMAKE_SYSTEM_NAME} MATCHES "Linux")
X+IF (${CMAKE_SYSTEM_NAME} MATCHES "Linux|FreeBSD")
X   TARGET_LINK_LIBRARIES(seafile-applet


please change them to 
X+IF (${CMAKE_SYSTEM_NAME} MATCHES "Linux|FreeBSD|DragonFly")
Comment 9 Jingfeng Yan 2014-11-06 05:26:40 UTC
Created attachment 149119 [details]
portlint -AC output
Comment 10 Jingfeng Yan 2014-11-06 05:28:02 UTC
Created attachment 149120 [details]
diff from last shar to updated shar
Comment 11 John Marino freebsd_committer freebsd_triage 2014-11-06 10:16:45 UTC
you uploaded the diff, but not the shar itself.  The last shar is from 8 September.
Comment 12 Jingfeng Yan 2014-11-06 12:58:04 UTC
Created attachment 149126 [details]
updated shar file
Comment 13 Jingfeng Yan 2014-11-06 12:58:36 UTC
Created attachment 149127 [details]
test port log
Comment 14 Jingfeng Yan 2014-11-06 13:00:08 UTC
(In reply to John Marino from comment #11)
> you uploaded the diff, but not the shar itself.  The last shar is from 8
> September.

Just uploaded.  The test build tooks about 3 hrs. :(
Comment 15 commit-hook freebsd_committer freebsd_triage 2014-11-06 19:20:06 UTC
A commit references this bug:

Author: marino
Date: Thu Nov  6 19:19:33 UTC 2014
New revision: 372230
URL: https://svnweb.freebsd.org/changeset/ports/372230

Log:
  Add new port net-mgmt/seafile-gui

  PR:		193312
  Submitted by:	Jingfeng Yan

  Seafile is a next-generation open source cloud storage system with
  advanced support for file syncing, privacy protection and teamwork.
  Collections of files are called libraries, and each library can be synced
  separately. A library can be encrypted with a user chosen password. This
  password is not stored on the server, so even the server admin cannot
  view a file's contents.

  Seafile allows users to create groups with file syncing, wiki, and
  discussion to enable easy collaboration around documents within a team.
  This is the desktop client for Seafile.

Changes:
  head/net-mgmt/Makefile
  head/net-mgmt/seafile-gui/
  head/net-mgmt/seafile-gui/Makefile
  head/net-mgmt/seafile-gui/distinfo
  head/net-mgmt/seafile-gui/files/
  head/net-mgmt/seafile-gui/files/patch-CMakeLists.txt
  head/net-mgmt/seafile-gui/pkg-descr
  head/net-mgmt/seafile-gui/pkg-plist
Comment 16 John Marino freebsd_committer freebsd_triage 2014-11-06 19:22:20 UTC
It built fine for me too (much less than 3 hours).

All I did was re-arrange the order of some lines for aesthetic reasons (mostly)
Comment 17 Jingfeng Yan 2014-11-07 02:17:05 UTC
(In reply to John Marino from comment #16)
> It built fine for me too (much less than 3 hours).
> 
> All I did was re-arrange the order of some lines for aesthetic reasons
> (mostly)

Thank you. It seems that you are so productive.  I am so sorry for not having time to rely in time today (since it is another hard day for some bug in my normal work).