Bug 226829 - [NEW PORT] mail/astroid: Graphical mail client
Summary: [NEW PORT] mail/astroid: Graphical mail client
Status: Closed FIXED
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/
Depends on:
Reported: 2018-03-21 17:24 UTC by Mylan Connolly
Modified: 2019-08-08 07:59 UTC (History)
2 users (show)

See Also:

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.

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.

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 Walter Schwarzenfeld freebsd_triage 2018-03-27 02:12:49 UTC
I don't know if this is right or relevant, but it builds with
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.
Comment 9 Walter Schwarzenfeld freebsd_triage 2019-08-08 05:43:59 UTC
Comment 10 commit-hook freebsd_committer 2019-08-08 07:59:18 UTC
A commit references this bug:

Author: yuri
Date: Thu Aug  8 07:59:04 UTC 2019
New revision: 508365
URL: https://svnweb.freebsd.org/changeset/ports/508365

  New port: mail/astroid: Graphical email client for notmuch, inspired by sup and others

  PR:		226829
  Submitted by:	Mylan Connolly <mylan.connolly@gmail.com>

Comment 11 Yuri Victorovich freebsd_committer 2019-08-08 07:59:22 UTC
Thank you for your contribution!