Created attachment 153430 [details]
test result is on the way to post.
I encountered two issues, need some feedbacks:
(1) fetch http://codeload.github.com/haiwen/seafile-client/legacy.tar.gz/v4.1.0?dummy=/seafile-gui-4.1.0.tar.gz failed. When I worked on 3.x version, the fetch does not bring me any problem. What I found is (I have not digged deeply).
- the portsnap is one-day old. (2015/02/23)
- When I change the PORTNAME= seafile-client (originally it is seafile-gui), it is fine to pull the dist. I don't really like seafile-client naming in the Github because it is very confusing. Haiwen/Seafile carries seafile client and server. "What is another client", it is GUI or desktop version (even not mobile version).
!! This brings me AN IMPORTANT PROBLEM !! Shall I have to rename the directory name (net-mgmt/seafile-gui). How I can do it? Thanks.
(2) net-mgmt/seafile-gui needs 118 ports to build, graphics/cairo and gtk-update-icon-cache-2.24.25 need to be built. In order to built gtk-update-icon-cache-2.24.25, I have to set option for graphics/cairo to disable XCB (unchecked the option having XCB). Otherwise, gtk-update-icon-cache-2.24.25 configuration will fail because
cairo need x11 enabled
This is somehow misleading too. X11 has been enabled, but XCB has to be disabled. I don't hit this problem before.
Overall, the building and running 4.10 for the GUI have no problem.
Created attachment 153449 [details]
Created attachment 153450 [details]
(In reply to Jingfeng Yan from comment #2)
MOVING the directory name for this port will not affect the others. No other ports depends on it. But net-mgmt level Makefile should be changed. I don't know I should provide which level diff for this case. Or current diff is fine, and someone like you will take care of the rest.
We should not have to rename the port in order to make GH pulls happy. I'm not going to do that, I'll try to figure out the problem.
on the cairo thing, both are on by default:
X11=on: X11 (graphics) support
XCB=on: Enable XCB (X C-language Binding) Support
So we are okay in the default case. Maybe I'll added a message at the end of the configure target to give a hint in case it fails there.
A commit references this bug:
Date: Sun Mar 1 18:56:57 UTC 2015
New revision: 380223
net-mgmt/seafile-gui: Upgrade version 3.1.5 => 4.1.0
Submitted by: maintainer (Jingfeng Yan)
The fix for GH pull was simple, all you needed to do was define DISTNAME. There was no relocation of the port.
I added a comment about cairo build requirements and misleading configure error in the Makefile as well.
I think all of the new versions are in ports now.