Bug 226829 - [NEW PORT] mail/astroid: Graphical mail client
Summary: [NEW PORT] mail/astroid: Graphical mail client
Status: In Progress
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Yuri Victorovich
URL: http://astroidmail.github.io/
Keywords:
Depends on:
Blocks:
 
Reported: 2018-03-21 17:24 UTC by Mylan Connolly
Modified: 2018-03-27 02:14 UTC (History)
2 users (show)

See Also:


Attachments
Diff for the port (3.90 KB, patch)
2018-03-21 17:24 UTC, Mylan Connolly
no flags Details | Diff
Updated diff, including fix for gmime (3.90 KB, patch)
2018-03-21 22:10 UTC, Mylan Connolly
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Mylan Connolly 2018-03-21 17:24:33 UTC
Created attachment 191712 [details]
Diff for the port

I wrote a port for astroid, (homepage: http://astroidmail.github.io/).

This is my first attempt at porting, so I'd appreciate any feedback that can be provided. I attempted to follow the handbook as closely as I can.

Program seems to compile fine and I believe I caught all of the dependencies / ran through all of the testing steps shown in the handbook.

Thanks!
Comment 1 Yuri Victorovich freebsd_committer 2018-03-21 21:41:32 UTC
The build fails for me:

===>  Building for astroid-0.11.1
[1/4] cd /usr/ports/mail/astroid/work/astroid-0.11.1 && /usr/local/bin/g-ir-scanner --warn-all --namespace=Astroid --nsversion=0.1 --add-include-path=/usr/ports/mail/astroid/work/astroid-0.11.1 --output /usr/ports/mail/astroid/work/astroid-0.11.1/Astroid-0.1.gir --no-libtool --program=/usr/ports/mail/astroid/work/astroid-0.11.1/gir_main --include=GObject-2.0 --include=GMime-2.6 /usr/ports/mail/astroid/work/astroid-0.11.1/src/plugin/astroid_activatable.c /usr/ports/mail/astroid/work/astroid-0.11.1/src/plugin/thread_view_activatable.c /usr/ports/mail/astroid/work/astroid-0.11.1/src/plugin/thread_index_activatable.c /usr/ports/mail/astroid/work/astroid-0.11.1/src/plugin/astroid_activatable.h /usr/ports/mail/astroid/work/astroid-0.11.1/src/plugin/thread_view_activatable.h /usr/ports/mail/astroid/work/astroid-0.11.1/src/plugin/thread_index_activatable.h /usr/ports/mail/astroid/work/astroid-0.11.1/src/plugin/gir_main.c
FAILED: Astroid-0.1.gir 
cd /usr/ports/mail/astroid/work/astroid-0.11.1 && /usr/local/bin/g-ir-scanner --warn-all --namespace=Astroid --nsversion=0.1 --add-include-path=/usr/ports/mail/astroid/work/astroid-0.11.1 --output /usr/ports/mail/astroid/work/astroid-0.11.1/Astroid-0.1.gir --no-libtool --program=/usr/ports/mail/astroid/work/astroid-0.11.1/gir_main --include=GObject-2.0 --include=GMime-2.6 /usr/ports/mail/astroid/work/astroid-0.11.1/src/plugin/astroid_activatable.c /usr/ports/mail/astroid/work/astroid-0.11.1/src/plugin/thread_view_activatable.c /usr/ports/mail/astroid/work/astroid-0.11.1/src/plugin/thread_index_activatable.c /usr/ports/mail/astroid/work/astroid-0.11.1/src/plugin/astroid_activatable.h /usr/ports/mail/astroid/work/astroid-0.11.1/src/plugin/thread_view_activatable.h /usr/ports/mail/astroid/work/astroid-0.11.1/src/plugin/thread_index_activatable.h /usr/ports/mail/astroid/work/astroid-0.11.1/src/plugin/gir_main.c
Couldn't find include 'GMime-2.6.gir' (search path: '['/usr/ports/mail/astroid/work/astroid-0.11.1', u'/usr/local/share/gir-1.0', u'/usr/share/gir-1.0', u'/usr/local/share/gir-1.0', u'/usr/share/gir-1.0', u'/usr/local/share/gir-1.0']')
ninja: build stopped: subcommand failed.
Comment 2 Mylan Connolly 2018-03-21 22:10:48 UTC
Created attachment 191723 [details]
Updated diff, including fix for gmime

Thanks for the feedback, I noticed a typo in the Makefile (referenced the wrong version of gmime; my machine already had the correct version of gmime installed, so I did not notice the problem).

Attached an updated diff that should resolve this issue.
Comment 3 Yuri Victorovich freebsd_committer 2018-03-21 22:24:19 UTC
No, changing the dependency can't fix it. It still fails.
Comment 4 Mylan Connolly 2018-03-22 13:18:19 UTC
Hmm, okay I will probably have to look at this more, then. It is still successfully building on my machine. I'll do some more research and see what can be done.

Thanks.
Comment 5 Yuri Victorovich freebsd_committer 2018-03-22 17:36:08 UTC
(In reply to Mylan Connolly from comment #4)

You should build in poudriere. It fails there too.
You local computer build isn't enough to know it isn't broken.
Comment 6 Yuri Victorovich freebsd_committer 2018-03-23 22:46:13 UTC
This looks like an upstream bug: https://github.com/astroidmail/astroid/issues/485
Comment 7 w.schwarzenfeld freebsd_triage 2018-03-27 02:12:49 UTC
I don't know if this is right or relevant, but it builds with
CMAKE_ARGS+=    -DDISABLE_PLUGINS:BOOL=true
Comment 8 Yuri Victorovich freebsd_committer 2018-03-27 02:14:58 UTC
(In reply to w.schwarzenfeld from comment #7)

Yes, thanks, that's what upstream also suggested. This disables some gtk introspection code that breaks, which is in plugins.